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
      • androidDeviceAdministratorEnrollmentEnabled

        protected Boolean androidDeviceAdministratorEnrollmentEnabled
      • derivedCredentialUrl

        protected String derivedCredentialUrl
      • deviceComplianceCheckinThresholdDays

        protected Integer deviceComplianceCheckinThresholdDays
      • deviceInactivityBeforeRetirementInDay

        protected Integer deviceInactivityBeforeRetirementInDay
      • enableLogCollection

        protected Boolean enableLogCollection
      • enhancedJailBreak

        protected Boolean enhancedJailBreak
      • ignoreDevicesForUnsupportedSettingsEnabled

        protected Boolean ignoreDevicesForUnsupportedSettingsEnabled
      • 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
      • getAndroidDeviceAdministratorEnrollmentEnabled

        public Optional<Boolean> getAndroidDeviceAdministratorEnrollmentEnabled()
        “The property to determine if Android device administrator enrollment is enabled for this account.”
        Returns:
        property androidDeviceAdministratorEnrollmentEnabled
      • withAndroidDeviceAdministratorEnrollmentEnabled

        public DeviceManagementSettings withAndroidDeviceAdministratorEnrollmentEnabled​(Boolean androidDeviceAdministratorEnrollmentEnabled)
        Returns an immutable copy of this with just the androidDeviceAdministratorEnrollmentEnabled 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 property to determine if Android device administrator enrollment is enabled for this account.”

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

        public Optional<DerivedCredentialProviderType> getDerivedCredentialProvider()
        “The Derived Credential Provider to use for this account.”
        Returns:
        property derivedCredentialProvider
      • withDerivedCredentialProvider

        public DeviceManagementSettings withDerivedCredentialProvider​(DerivedCredentialProviderType derivedCredentialProvider)
        Returns an immutable copy of this with just the derivedCredentialProvider 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 Derived Credential Provider to use for this account.”

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

        public Optional<String> getDerivedCredentialUrl()
        “The Derived Credential Provider self-service URI.”
        Returns:
        property derivedCredentialUrl
      • withDerivedCredentialUrl

        public DeviceManagementSettings withDerivedCredentialUrl​(String derivedCredentialUrl)
        Returns an immutable copy of this with just the derivedCredentialUrl 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 Derived Credential Provider self-service URI.”

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

        public Optional<Integer> getDeviceInactivityBeforeRetirementInDay()
        “When the device does not check in for specified number of days, the company data might be removed and the device will not be under management. Valid values 30 to 270”
        Returns:
        property deviceInactivityBeforeRetirementInDay
      • withDeviceInactivityBeforeRetirementInDay

        public DeviceManagementSettings withDeviceInactivityBeforeRetirementInDay​(Integer deviceInactivityBeforeRetirementInDay)
        Returns an immutable copy of this with just the deviceInactivityBeforeRetirementInDay 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.

        “When the device does not check in for specified number of days, the company data might be removed and the device will not be under management. Valid values 30 to 270”

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

        public Optional<Boolean> getEnableLogCollection()
        “Determines whether the log collection feature should be available for use.”
        Returns:
        property enableLogCollection
      • withEnableLogCollection

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

        “Determines whether the log collection feature should be available for use.”

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

        public Optional<Boolean> getEnhancedJailBreak()
        “Is feature enabled or not for enhanced jailbreak detection.”
        Returns:
        property enhancedJailBreak
      • withEnhancedJailBreak

        public DeviceManagementSettings withEnhancedJailBreak​(Boolean enhancedJailBreak)
        Returns an immutable copy of this with just the enhancedJailBreak 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 enhanced jailbreak detection.”

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

        public Optional<Boolean> getIgnoreDevicesForUnsupportedSettingsEnabled()
        “The property to determine whether to ignore unsupported compliance settings on certian models of devices.”
        Returns:
        property ignoreDevicesForUnsupportedSettingsEnabled
      • withIgnoreDevicesForUnsupportedSettingsEnabled

        public DeviceManagementSettings withIgnoreDevicesForUnsupportedSettingsEnabled​(Boolean ignoreDevicesForUnsupportedSettingsEnabled)
        Returns an immutable copy of this with just the ignoreDevicesForUnsupportedSettingsEnabled 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 property to determine whether to ignore unsupported compliance settings on certian models of devices.”

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