public class DeviceManagementSettingComparison extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementSettingComparison.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceManagementComparisonResult |
comparisonResult |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
currentValueJson |
protected String |
definitionId |
protected String |
displayName |
protected String |
id |
protected String |
newValueJson |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementSettingComparison() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementSettingComparison.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<DeviceManagementComparisonResult> |
getComparisonResult()
“Setting comparison result”
|
Optional<String> |
getCurrentValueJson()
“JSON representation of current intent (or) template setting's value”
|
Optional<String> |
getDefinitionId()
“The ID of the setting definition for this instance”
|
Optional<String> |
getDisplayName()
“The setting's display name”
|
Optional<String> |
getId()
“The setting ID”
|
Optional<String> |
getNewValueJson()
“JSON representation of new template setting's value”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceManagementSettingComparison |
withComparisonResult(DeviceManagementComparisonResult comparisonResult)
Returns an immutable copy of
this with just the comparisonResult
field changed. |
DeviceManagementSettingComparison |
withCurrentValueJson(String currentValueJson)
Returns an immutable copy of
this with just the currentValueJson
field changed. |
DeviceManagementSettingComparison |
withDefinitionId(String definitionId)
Returns an immutable copy of
this with just the definitionId
field changed. |
DeviceManagementSettingComparison |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceManagementSettingComparison |
withId(String id)
Returns an immutable copy of
this with just the id field changed
. |
DeviceManagementSettingComparison |
withNewValueJson(String newValueJson)
Returns an immutable copy of
this with just the newValueJson
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String id
protected String displayName
protected String definitionId
protected String currentValueJson
protected String newValueJson
protected DeviceManagementComparisonResult comparisonResult
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic DeviceManagementSettingComparison withId(String id)
this with just the id 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 setting ID”
id - new value of id field (as defined in service metadata)this with just the id field changedpublic Optional<String> getDisplayName()
public DeviceManagementSettingComparison withDisplayName(String displayName)
this with just the displayName
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 setting's display name”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDefinitionId()
public DeviceManagementSettingComparison 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> getCurrentValueJson()
public DeviceManagementSettingComparison withCurrentValueJson(String currentValueJson)
this with just the currentValueJson
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 current intent (or) template setting's value”
currentValueJson - new value of currentValueJson field (as defined in service metadata)this with just the currentValueJson field changedpublic Optional<String> getNewValueJson()
public DeviceManagementSettingComparison withNewValueJson(String newValueJson)
this with just the newValueJson
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 new template setting's value”
newValueJson - new value of newValueJson field (as defined in service metadata)this with just the newValueJson field changedpublic Optional<DeviceManagementComparisonResult> getComparisonResult()
public DeviceManagementSettingComparison withComparisonResult(DeviceManagementComparisonResult comparisonResult)
this with just the comparisonResult
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.
“Setting comparison result”
comparisonResult - new value of comparisonResult field (as defined in service metadata)this with just the comparisonResult field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static DeviceManagementSettingComparison.Builder builder()
Copyright © 2018–2020. All rights reserved.