public class Contract extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Contract.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
contractType |
protected String |
customerId |
protected String |
defaultDomainName |
protected String |
displayName |
deletedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Contract() |
| Modifier and Type | Method and Description |
|---|---|
static Contract.Builder |
builderContract()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getContractType() |
Optional<String> |
getCustomerId() |
Optional<String> |
getDefaultDomainName() |
Optional<String> |
getDisplayName() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Contract |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Contract |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Contract |
withContractType(String contractType) |
Contract |
withCustomerId(String customerId) |
Contract |
withDefaultDomainName(String defaultDomainName) |
Contract |
withDisplayName(String displayName) |
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTimeprotected String contractType
protected String customerId
protected String defaultDomainName
protected String displayName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DirectoryObjectpublic static Contract.Builder builderContract()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DirectoryObjectpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DirectoryObjectpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DirectoryObjectpublic Contract patch()
this with changed fields reset.patch in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Contract put()
this
with changed fields reset (they were ignored anyway).put in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DirectoryObjectCopyright © 2018–2020. All rights reserved.