Class DeviceManagementCollectionSettingDefinition

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class DeviceManagementCollectionSettingDefinition
    extends DeviceManagementSettingDefinition
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Entity representing the defintion for a collection setting”
    • Field Detail

      • elementDefinitionId

        protected String elementDefinitionId
    • Constructor Detail

      • DeviceManagementCollectionSettingDefinition

        protected DeviceManagementCollectionSettingDefinition()
    • Method Detail

      • builderDeviceManagementCollectionSettingDefinition

        public static DeviceManagementCollectionSettingDefinition.Builder builderDeviceManagementCollectionSettingDefinition()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceManagementSettingDefinition
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DeviceManagementSettingDefinition
      • getElementDefinitionId

        public Optional<String> getElementDefinitionId()
        “The Setting Definition ID that describes what each element of the collection looks like”
        Returns:
        property elementDefinitionId
      • withElementDefinitionId

        public DeviceManagementCollectionSettingDefinition withElementDefinitionId​(String elementDefinitionId)
        Returns an immutable copy of this with just the elementDefinitionId 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 Definition ID that describes what each element of the collection looks like”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceManagementSettingDefinition