Class DeviceManagementConfigurationSettingOccurrence

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

    public class DeviceManagementConfigurationSettingOccurrence
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    • 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
      • maxDeviceOccurrence

        protected Integer maxDeviceOccurrence
      • minDeviceOccurrence

        protected Integer minDeviceOccurrence
    • Constructor Detail

      • DeviceManagementConfigurationSettingOccurrence

        protected DeviceManagementConfigurationSettingOccurrence()
    • Method Detail

      • odataTypeName

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

        public Optional<Integer> getMaxDeviceOccurrence()
        “Maximum times setting can be set on device.”
        Returns:
        property maxDeviceOccurrence
      • withMaxDeviceOccurrence

        public DeviceManagementConfigurationSettingOccurrence withMaxDeviceOccurrence​(Integer maxDeviceOccurrence)
        Returns an immutable copy of this with just the maxDeviceOccurrence 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.

        “Maximum times setting can be set on device.”

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

        public Optional<Integer> getMinDeviceOccurrence()
        “Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional”
        Returns:
        property minDeviceOccurrence
      • withMinDeviceOccurrence

        public DeviceManagementConfigurationSettingOccurrence withMinDeviceOccurrence​(Integer minDeviceOccurrence)
        Returns an immutable copy of this with just the minDeviceOccurrence 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.

        “Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional”

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