public class DeviceManagementBooleanSettingInstance extends DeviceManagementSettingInstance implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementBooleanSettingInstance.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
value |
definitionId, valueJsonchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementBooleanSettingInstance() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementBooleanSettingInstance.Builder |
builderDeviceManagementBooleanSettingInstance()
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<Boolean> |
getValue()
“The boolean value”
|
String |
odataTypeName() |
DeviceManagementBooleanSettingInstance |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementBooleanSettingInstance |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementBooleanSettingInstance |
withValue(Boolean value)
Returns an immutable copy of
this with just the value field
changed. |
getDefinitionId, getValueJson, withDefinitionId, withValueJsonprotected Boolean value
protected DeviceManagementBooleanSettingInstance()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceManagementSettingInstancepublic static DeviceManagementBooleanSettingInstance.Builder builderDeviceManagementBooleanSettingInstance()
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 DeviceManagementBooleanSettingInstance withValue(Boolean 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 boolean 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 DeviceManagementBooleanSettingInstance 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 DeviceManagementBooleanSettingInstance 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.