public class Account extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
| Modifier and Type | Class and Description |
|---|---|
static class |
Account.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
blocked |
protected String |
category |
protected String |
displayName |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
number |
protected String |
subCategory |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Account() |
| Modifier and Type | Method and Description |
|---|---|
static Account.Builder |
builderAccount()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getBlocked() |
Optional<String> |
getCategory() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDisplayName() |
Optional<OffsetDateTime> |
getLastModifiedDateTime() |
Optional<String> |
getNumber() |
Optional<String> |
getSubCategory() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Account |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Account |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Account |
withBlocked(Boolean blocked) |
Account |
withCategory(String category) |
Account |
withDisplayName(String displayName) |
Account |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) |
Account |
withNumber(String number) |
Account |
withSubCategory(String subCategory) |
protected String number
protected String displayName
protected String category
protected String subCategory
protected Boolean blocked
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Account.Builder builderAccount()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getLastModifiedDateTime()
public Account withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Account patch()
this with changed fields reset.public Account put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.