public class DeviceManagementIntegerSettingInstance extends DeviceManagementSettingInstance implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementIntegerSettingInstance.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
value |
definitionId, valueJsonchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementIntegerSettingInstance() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementIntegerSettingInstance.Builder |
builderDeviceManagementIntegerSettingInstance()
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() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getValue()
“The integer value”
|
String |
odataTypeName() |
DeviceManagementIntegerSettingInstance |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementIntegerSettingInstance |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementIntegerSettingInstance |
withValue(Integer value)
Returns an immutable copy of
this with just the value field
changed. |
getDefinitionId, getValueJson, withDefinitionId, withValueJsonprotected Integer value
protected DeviceManagementIntegerSettingInstance()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceManagementSettingInstancepublic static DeviceManagementIntegerSettingInstance.Builder builderDeviceManagementIntegerSettingInstance()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceManagementSettingInstancepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceManagementSettingInstancepublic DeviceManagementIntegerSettingInstance withValue(Integer value)
this with just the value 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 integer value”
value - new value of value field (as defined in service metadata)this with just the value field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceManagementSettingInstancepublic DeviceManagementIntegerSettingInstance patch()
this with changed fields reset.patch in class DeviceManagementSettingInstancethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic DeviceManagementIntegerSettingInstance put()
this
with changed fields reset (they were ignored anyway).put in class DeviceManagementSettingInstancethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceManagementSettingInstanceCopyright © 2018–2020. All rights reserved.