public class ItemCategory extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = true
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = true
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = true
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemCategory.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected String |
displayName |
protected OffsetDateTime |
lastModifiedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ItemCategory() |
| Modifier and Type | Method and Description |
|---|---|
static ItemCategory.Builder |
builderItemCategory()
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> |
getCode() |
Optional<String> |
getDisplayName() |
Optional<OffsetDateTime> |
getLastModifiedDateTime() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ItemCategory |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ItemCategory |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ItemCategory |
withCode(String code) |
ItemCategory |
withDisplayName(String displayName) |
ItemCategory |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) |
protected String code
protected String displayName
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ItemCategory.Builder builderItemCategory()
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 ItemCategory withCode(String code)
public ItemCategory withDisplayName(String displayName)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public ItemCategory withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ItemCategory patch()
this with changed fields reset.public ItemCategory put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.