Class DeviceManagementSettings
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementSettings extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanandroidDeviceAdministratorEnrollmentEnabledprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected DerivedCredentialProviderTypederivedCredentialProviderprotected StringderivedCredentialUrlprotected IntegerdeviceComplianceCheckinThresholdDaysprotected IntegerdeviceInactivityBeforeRetirementInDayprotected BooleanenableLogCollectionprotected BooleanenhancedJailBreakprotected BooleanignoreDevicesForUnsupportedSettingsEnabledprotected BooleanisScheduledActionEnabledprotected StringodataTypeprotected BooleansecureByDefaultprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementSettings.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAndroidDeviceAdministratorEnrollmentEnabled()“The property to determine if Android device administrator enrollment is enabled for this account.”Optional<DerivedCredentialProviderType>getDerivedCredentialProvider()“The Derived Credential Provider to use for this account.”Optional<String>getDerivedCredentialUrl()“The Derived Credential Provider self-service URI.”Optional<Integer>getDeviceComplianceCheckinThresholdDays()“The number of days a device is allowed to go without checking in to remain compliant.”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.Optional<Boolean>getEnableLogCollection()“Determines whether the log collection feature should be available for use.”Optional<Boolean>getEnhancedJailBreak()“Is feature enabled or not for enhanced jailbreak detection.”Optional<Boolean>getIgnoreDevicesForUnsupportedSettingsEnabled()“The property to determine whether to ignore unsupported compliance settings on certian models of devices.”Optional<Boolean>getIsScheduledActionEnabled()“Is feature enabled or not for scheduled action for rule.”Optional<Boolean>getSecureByDefault()“Device should be noncompliant when there is no compliance policy targeted when this is true”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementSettingswithAndroidDeviceAdministratorEnrollmentEnabled(Boolean androidDeviceAdministratorEnrollmentEnabled)Returns an immutable copy ofthiswith just theandroidDeviceAdministratorEnrollmentEnabledfield changed.DeviceManagementSettingswithDerivedCredentialProvider(DerivedCredentialProviderType derivedCredentialProvider)Returns an immutable copy ofthiswith just thederivedCredentialProviderfield changed.DeviceManagementSettingswithDerivedCredentialUrl(String derivedCredentialUrl)Returns an immutable copy ofthiswith just thederivedCredentialUrlfield changed.DeviceManagementSettingswithDeviceComplianceCheckinThresholdDays(Integer deviceComplianceCheckinThresholdDays)Returns an immutable copy ofthiswith just thedeviceComplianceCheckinThresholdDaysfield changed.DeviceManagementSettingswithDeviceInactivityBeforeRetirementInDay(Integer deviceInactivityBeforeRetirementInDay)Returns an immutable copy ofthiswith just thedeviceInactivityBeforeRetirementInDayfield changed.DeviceManagementSettingswithEnableLogCollection(Boolean enableLogCollection)Returns an immutable copy ofthiswith just theenableLogCollectionfield changed.DeviceManagementSettingswithEnhancedJailBreak(Boolean enhancedJailBreak)Returns an immutable copy ofthiswith just theenhancedJailBreakfield changed.DeviceManagementSettingswithIgnoreDevicesForUnsupportedSettingsEnabled(Boolean ignoreDevicesForUnsupportedSettingsEnabled)Returns an immutable copy ofthiswith just theignoreDevicesForUnsupportedSettingsEnabledfield changed.DeviceManagementSettingswithIsScheduledActionEnabled(Boolean isScheduledActionEnabled)Returns an immutable copy ofthiswith just theisScheduledActionEnabledfield changed.DeviceManagementSettingswithSecureByDefault(Boolean secureByDefault)Returns an immutable copy ofthiswith just thesecureByDefaultfield changed.DeviceManagementSettingswithUnmappedField(String name, String value)
-
-
-
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
-
derivedCredentialProvider
protected DerivedCredentialProviderType derivedCredentialProvider
-
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
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.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 ofthiswith just theandroidDeviceAdministratorEnrollmentEnabledfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofandroidDeviceAdministratorEnrollmentEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theandroidDeviceAdministratorEnrollmentEnabledfield 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 ofthiswith just thederivedCredentialProviderfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofderivedCredentialProviderfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thederivedCredentialProviderfield 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 ofthiswith just thederivedCredentialUrlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofderivedCredentialUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thederivedCredentialUrlfield 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 ofthiswith just thedeviceComplianceCheckinThresholdDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeviceComplianceCheckinThresholdDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceComplianceCheckinThresholdDaysfield 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 ofthiswith just thedeviceInactivityBeforeRetirementInDayfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeviceInactivityBeforeRetirementInDayfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceInactivityBeforeRetirementInDayfield 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 ofthiswith just theenableLogCollectionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofenableLogCollectionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableLogCollectionfield 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 ofthiswith just theenhancedJailBreakfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofenhancedJailBreakfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenhancedJailBreakfield 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 ofthiswith just theignoreDevicesForUnsupportedSettingsEnabledfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofignoreDevicesForUnsupportedSettingsEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theignoreDevicesForUnsupportedSettingsEnabledfield 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 ofthiswith just theisScheduledActionEnabledfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofisScheduledActionEnabledfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisScheduledActionEnabledfield 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 ofthiswith just thesecureByDefaultfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofsecureByDefaultfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesecureByDefaultfield changed
-
withUnmappedField
public DeviceManagementSettings withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.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
-
-