public class AllowedDataLocation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AllowedDataLocation.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
appId |
protected String |
domain |
protected Boolean |
isDefault |
protected String |
location |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AllowedDataLocation() |
| Modifier and Type | Method and Description |
|---|---|
static AllowedDataLocation.Builder |
builderAllowedDataLocation()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAppId() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDomain() |
Optional<Boolean> |
getIsDefault() |
Optional<String> |
getLocation() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
AllowedDataLocation |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AllowedDataLocation |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AllowedDataLocation |
withAppId(String appId) |
AllowedDataLocation |
withDomain(String domain) |
AllowedDataLocation |
withIsDefault(Boolean isDefault) |
AllowedDataLocation |
withLocation(String location) |
protected String appId
protected String location
protected Boolean isDefault
protected String domain
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static AllowedDataLocation.Builder builderAllowedDataLocation()
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 AllowedDataLocation withAppId(String appId)
public AllowedDataLocation withLocation(String location)
public AllowedDataLocation withIsDefault(Boolean isDefault)
public AllowedDataLocation withDomain(String domain)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic AllowedDataLocation patch()
this with changed fields reset.public AllowedDataLocation put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.