Class DeviceManagementSettings

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

    public class DeviceManagementSettings
    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
      • deviceComplianceCheckinThresholdDays

        protected Integer deviceComplianceCheckinThresholdDays
      • isScheduledActionEnabled

        protected Boolean isScheduledActionEnabled
      • secureByDefault

        protected Boolean secureByDefault
    • Constructor Detail

      • DeviceManagementSettings

        protected DeviceManagementSettings()
    • Method Detail

      • odataTypeName

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

        public Optional<Integer> getDeviceComplianceCheckinThresholdDays()
        “The number of days a device is allowed to go without checking in to remain compliant.”
        Returns:
        property deviceComplianceCheckinThresholdDays
      • withDeviceComplianceCheckinThresholdDays

        public DeviceManagementSettings withDeviceComplianceCheckinThresholdDays​(Integer deviceComplianceCheckinThresholdDays)
        Returns an immutable copy of this with just the deviceComplianceCheckinThresholdDays 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 number of days a device is allowed to go without checking in to remain compliant.”

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

        public Optional<Boolean> getIsScheduledActionEnabled()
        “Is feature enabled or not for scheduled action for rule.”
        Returns:
        property isScheduledActionEnabled
      • withIsScheduledActionEnabled

        public DeviceManagementSettings withIsScheduledActionEnabled​(Boolean isScheduledActionEnabled)
        Returns an immutable copy of this with just the isScheduledActionEnabled 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.

        “Is feature enabled or not for scheduled action for rule.”

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

        public Optional<Boolean> getSecureByDefault()
        “Device should be noncompliant when there is no compliance policy targeted when this is true”
        Returns:
        property secureByDefault
      • withSecureByDefault

        public DeviceManagementSettings withSecureByDefault​(Boolean secureByDefault)
        Returns an immutable copy of this with just the secureByDefault 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.

        “Device should be noncompliant when there is no compliance policy targeted when this is true”

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