public class CountryRegion 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 |
CountryRegion.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
addressFormat |
protected String |
code |
protected String |
displayName |
protected OffsetDateTime |
lastModifiedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
CountryRegion() |
| Modifier and Type | Method and Description |
|---|---|
static CountryRegion.Builder |
builderCountryRegion()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAddressFormat() |
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() |
CountryRegion |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
CountryRegion |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
CountryRegion |
withAddressFormat(String addressFormat) |
CountryRegion |
withCode(String code) |
CountryRegion |
withDisplayName(String displayName) |
CountryRegion |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) |
protected String code
protected String displayName
protected String addressFormat
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static CountryRegion.Builder builderCountryRegion()
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 CountryRegion withCode(String code)
public CountryRegion withDisplayName(String displayName)
public CountryRegion withAddressFormat(String addressFormat)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public CountryRegion withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic CountryRegion patch()
this with changed fields reset.public CountryRegion put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.