public class DeviceManagementSettingInstance extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected String |
definitionId |
protected String |
valueJson |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementSettingInstance() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDefinitionId()
“The ID of the setting definition for this instance”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getValueJson()
“JSON representation of the value”
|
String |
odataTypeName() |
DeviceManagementSettingInstance |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementSettingInstance |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementSettingInstance |
withDefinitionId(String definitionId)
Returns an immutable copy of
this with just the definitionId
field changed. |
DeviceManagementSettingInstance |
withValueJson(String valueJson)
Returns an immutable copy of
this with just the valueJson field
changed. |
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic 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<String> getDefinitionId()
public DeviceManagementSettingInstance withDefinitionId(String definitionId)
this with just the definitionId
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The ID of the setting definition for this instance”
definitionId - new value of definitionId field (as defined in service metadata)this with just the definitionId field changedpublic Optional<String> getValueJson()
public DeviceManagementSettingInstance withValueJson(String valueJson)
this with just the valueJson field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“JSON representation of the value”
valueJson - new value of valueJson field (as defined in service metadata)this with just the valueJson field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementSettingInstance patch()
this with changed fields reset.public DeviceManagementSettingInstance put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.