Class 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”
    • 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
      • currentValueJson

        protected String currentValueJson
      • definitionId

        protected String definitionId
      • displayName

        protected String displayName
      • newValueJson

        protected String newValueJson
    • Constructor Detail

      • DeviceManagementSettingComparison

        protected DeviceManagementSettingComparison()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • withComparisonResult

        public DeviceManagementSettingComparison withComparisonResult​(DeviceManagementComparisonResult comparisonResult)
        Returns an immutable copy of 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”

        Parameters:
        comparisonResult - new value of comparisonResult field (as defined in service metadata)
        Returns:
        immutable copy of this with just the comparisonResult field 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 of 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”

        Parameters:
        currentValueJson - new value of currentValueJson field (as defined in service metadata)
        Returns:
        immutable copy of this with just the currentValueJson field 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 of 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”

        Parameters:
        definitionId - new value of definitionId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the definitionId field changed
      • getDisplayName

        public Optional<String> getDisplayName()
        “The setting's display name”
        Returns:
        property displayName
      • withDisplayName

        public DeviceManagementSettingComparison withDisplayName​(String displayName)
        Returns an immutable copy of 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”

        Parameters:
        displayName - new value of displayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the displayName field changed
      • getId

        public Optional<String> getId()
        “The setting ID”
        Returns:
        property id
      • withId

        public DeviceManagementSettingComparison withId​(String id)
        Returns an immutable copy of 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”

        Parameters:
        id - new value of id field (as defined in service metadata)
        Returns:
        immutable copy of this with just the id field 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 of 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”

        Parameters:
        newValueJson - new value of newValueJson field (as defined in service metadata)
        Returns:
        immutable copy of this with just the newValueJson field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.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