Class DeviceManagementSettingComparison
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementSettingComparison
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementSettingComparison extends Object implements com.github.davidmoten.odata.client.ODataType
“Entity representing setting comparison result”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementSettingComparison.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DeviceManagementComparisonResultcomparisonResultprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringcurrentValueJsonprotected StringdefinitionIdprotected StringdisplayNameprotected Stringidprotected StringnewValueJsonprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementSettingComparison()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementSettingComparison.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementSettingComparisonwithComparisonResult(DeviceManagementComparisonResult comparisonResult)Returns an immutable copy ofthiswith just thecomparisonResultfield changed.DeviceManagementSettingComparisonwithCurrentValueJson(String currentValueJson)Returns an immutable copy ofthiswith just thecurrentValueJsonfield changed.DeviceManagementSettingComparisonwithDefinitionId(String definitionId)Returns an immutable copy ofthiswith just thedefinitionIdfield changed.DeviceManagementSettingComparisonwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceManagementSettingComparisonwithId(String id)Returns an immutable copy ofthiswith just theidfield changed .DeviceManagementSettingComparisonwithNewValueJson(String newValueJson)Returns an immutable copy ofthiswith just thenewValueJsonfield changed.DeviceManagementSettingComparisonwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
comparisonResult
protected DeviceManagementComparisonResult comparisonResult
-
currentValueJson
protected String currentValueJson
-
definitionId
protected String definitionId
-
displayName
protected String displayName
-
id
protected String id
-
newValueJson
protected String newValueJson
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getComparisonResult
public Optional<DeviceManagementComparisonResult> getComparisonResult()
“Setting comparison result”- Returns:
- property comparisonResult
-
withComparisonResult
public DeviceManagementSettingComparison withComparisonResult(DeviceManagementComparisonResult comparisonResult)
Returns an immutable copy ofthiswith just thecomparisonResultfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Setting comparison result”
- Parameters:
comparisonResult- new value ofcomparisonResultfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomparisonResultfield changed
-
getCurrentValueJson
public Optional<String> getCurrentValueJson()
“JSON representation of current intent (or) template setting's value”- Returns:
- property currentValueJson
-
withCurrentValueJson
public DeviceManagementSettingComparison withCurrentValueJson(String currentValueJson)
Returns an immutable copy ofthiswith just thecurrentValueJsonfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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”
- Parameters:
currentValueJson- new value ofcurrentValueJsonfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecurrentValueJsonfield changed
-
getDefinitionId
public Optional<String> getDefinitionId()
“The ID of the setting definition for this instance”- Returns:
- property definitionId
-
withDefinitionId
public DeviceManagementSettingComparison withDefinitionId(String definitionId)
Returns an immutable copy ofthiswith just thedefinitionIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The ID of the setting definition for this instance”
- Parameters:
definitionId- new value ofdefinitionIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefinitionIdfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The setting's display name”- Returns:
- property displayName
-
withDisplayName
public DeviceManagementSettingComparison withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The setting's display name”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
withId
public DeviceManagementSettingComparison withId(String id)
Returns an immutable copy ofthiswith just theidfield changed . Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The setting ID”
- Parameters:
id- new value ofidfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidfield changed
-
getNewValueJson
public Optional<String> getNewValueJson()
“JSON representation of new template setting's value”- Returns:
- property newValueJson
-
withNewValueJson
public DeviceManagementSettingComparison withNewValueJson(String newValueJson)
Returns an immutable copy ofthiswith just thenewValueJsonfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“JSON representation of new template setting's value”
- Parameters:
newValueJson- new value ofnewValueJsonfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenewValueJsonfield changed
-
withUnmappedField
public DeviceManagementSettingComparison withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeviceManagementSettingComparison.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-