Package com.microsoft.graph.models
Class AndroidWorkProfileGeneralDeviceConfiguration
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceConfiguration
com.microsoft.graph.models.AndroidWorkProfileGeneralDeviceConfiguration
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AndroidWorkProfileGeneralDeviceConfiguration
extends DeviceConfiguration
implements com.microsoft.kiota.serialization.Parsable
Android Work Profile general device configuration.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newAndroidWorkProfileGeneralDeviceConfigurationand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the passwordBlockFingerprintUnlock property value.Gets the passwordBlockTrustAgents property value.Gets the passwordExpirationDays property value.Gets the passwordMinimumLength property value.Gets the passwordMinutesOfInactivityBeforeScreenTimeout property value.Gets the passwordPreviousPasswordBlockCount property value.Gets the passwordRequiredType property value.Gets the passwordSignInFailureCountBeforeFactoryReset property value.Gets the securityRequireVerifyApps property value.Gets the workProfileBlockAddingAccounts property value.Gets the workProfileBlockCamera property value.Gets the workProfileBlockCrossProfileCallerId property value.Gets the workProfileBlockCrossProfileContactsSearch property value.Gets the workProfileBlockCrossProfileCopyPaste property value.Gets the workProfileBlockNotificationsWhileDeviceLocked property value.Gets the workProfileBlockScreenCapture property value.Gets the workProfileBluetoothEnableContactSharing property value.Gets the workProfileDataSharingType property value.Gets the workProfileDefaultAppPermissionPolicy property value.Gets the workProfilePasswordBlockFingerprintUnlock property value.Gets the workProfilePasswordBlockTrustAgents property value.Gets the workProfilePasswordExpirationDays property value.Gets the workProfilePasswordMinimumLength property value.Gets the workProfilePasswordMinLetterCharacters property value.Gets the workProfilePasswordMinLowerCaseCharacters property value.Gets the workProfilePasswordMinNonLetterCharacters property value.Gets the workProfilePasswordMinNumericCharacters property value.Gets the workProfilePasswordMinSymbolCharacters property value.Gets the workProfilePasswordMinUpperCaseCharacters property value.Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value.Gets the workProfilePasswordPreviousPasswordBlockCount property value.Gets the workProfilePasswordRequiredType property value.Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value.Gets the workProfileRequirePassword property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the passwordBlockFingerprintUnlock property value.voidSets the passwordBlockTrustAgents property value.voidsetPasswordExpirationDays(Integer value) Sets the passwordExpirationDays property value.voidsetPasswordMinimumLength(Integer value) Sets the passwordMinimumLength property value.voidSets the passwordMinutesOfInactivityBeforeScreenTimeout property value.voidSets the passwordPreviousPasswordBlockCount property value.voidSets the passwordRequiredType property value.voidSets the passwordSignInFailureCountBeforeFactoryReset property value.voidSets the securityRequireVerifyApps property value.voidSets the workProfileBlockAddingAccounts property value.voidsetWorkProfileBlockCamera(Boolean value) Sets the workProfileBlockCamera property value.voidSets the workProfileBlockCrossProfileCallerId property value.voidSets the workProfileBlockCrossProfileContactsSearch property value.voidSets the workProfileBlockCrossProfileCopyPaste property value.voidSets the workProfileBlockNotificationsWhileDeviceLocked property value.voidSets the workProfileBlockScreenCapture property value.voidSets the workProfileBluetoothEnableContactSharing property value.voidSets the workProfileDataSharingType property value.voidSets the workProfileDefaultAppPermissionPolicy property value.voidSets the workProfilePasswordBlockFingerprintUnlock property value.voidSets the workProfilePasswordBlockTrustAgents property value.voidSets the workProfilePasswordExpirationDays property value.voidSets the workProfilePasswordMinimumLength property value.voidSets the workProfilePasswordMinLetterCharacters property value.voidSets the workProfilePasswordMinLowerCaseCharacters property value.voidSets the workProfilePasswordMinNonLetterCharacters property value.voidSets the workProfilePasswordMinNumericCharacters property value.voidSets the workProfilePasswordMinSymbolCharacters property value.voidSets the workProfilePasswordMinUpperCaseCharacters property value.voidSets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value.voidSets the workProfilePasswordPreviousPasswordBlockCount property value.voidSets the workProfilePasswordRequiredType property value.voidSets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value.voidSets the workProfileRequirePassword property value.Methods inherited from class com.microsoft.graph.models.DeviceConfiguration
getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getUserStatuses, getUserStatusOverview, getVersion, setAssignments, setCreatedDateTime, setDescription, setDeviceSettingStateSummaries, setDeviceStatuses, setDeviceStatusOverview, setDisplayName, setLastModifiedDateTime, setUserStatuses, setUserStatusOverview, setVersionMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AndroidWorkProfileGeneralDeviceConfiguration
public AndroidWorkProfileGeneralDeviceConfiguration()Instantiates a newAndroidWorkProfileGeneralDeviceConfigurationand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AndroidWorkProfileGeneralDeviceConfiguration createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
AndroidWorkProfileGeneralDeviceConfiguration
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classDeviceConfiguration- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getPasswordBlockFingerprintUnlock
Gets the passwordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock.- Returns:
- a
Boolean
-
getPasswordBlockTrustAgents
Gets the passwordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents.- Returns:
- a
Boolean
-
getPasswordExpirationDays
Gets the passwordExpirationDays property value. Number of days before the password expires. Valid values 1 to 365- Returns:
- a
Integer
-
getPasswordMinimumLength
Gets the passwordMinimumLength property value. Minimum length of passwords. Valid values 4 to 16- Returns:
- a
Integer
-
getPasswordMinutesOfInactivityBeforeScreenTimeout
Gets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.- Returns:
- a
Integer
-
getPasswordPreviousPasswordBlockCount
Gets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24- Returns:
- a
Integer
-
getPasswordRequiredType
Gets the passwordRequiredType property value. Android Work Profile required password type.- Returns:
- a
AndroidWorkProfileRequiredPasswordType
-
getPasswordSignInFailureCountBeforeFactoryReset
Gets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset. Valid values 1 to 16- Returns:
- a
Integer
-
getSecurityRequireVerifyApps
Gets the securityRequireVerifyApps property value. Require the Android Verify apps feature is turned on.- Returns:
- a
Boolean
-
getWorkProfileBlockAddingAccounts
Gets the workProfileBlockAddingAccounts property value. Block users from adding/removing accounts in work profile.- Returns:
- a
Boolean
-
getWorkProfileBlockCamera
Gets the workProfileBlockCamera property value. Block work profile camera.- Returns:
- a
Boolean
-
getWorkProfileBlockCrossProfileCallerId
Gets the workProfileBlockCrossProfileCallerId property value. Block display work profile caller ID in personal profile.- Returns:
- a
Boolean
-
getWorkProfileBlockCrossProfileContactsSearch
Gets the workProfileBlockCrossProfileContactsSearch property value. Block work profile contacts availability in personal profile.- Returns:
- a
Boolean
-
getWorkProfileBlockCrossProfileCopyPaste
Gets the workProfileBlockCrossProfileCopyPaste property value. Boolean that indicates if the setting disallow cross profile copy/paste is enabled.- Returns:
- a
Boolean
-
getWorkProfileBlockNotificationsWhileDeviceLocked
Gets the workProfileBlockNotificationsWhileDeviceLocked property value. Indicates whether or not to block notifications while device locked.- Returns:
- a
Boolean
-
getWorkProfileBlockScreenCapture
Gets the workProfileBlockScreenCapture property value. Block screen capture in work profile.- Returns:
- a
Boolean
-
getWorkProfileBluetoothEnableContactSharing
Gets the workProfileBluetoothEnableContactSharing property value. Allow bluetooth devices to access enterprise contacts.- Returns:
- a
Boolean
-
getWorkProfileDataSharingType
Gets the workProfileDataSharingType property value. Android Work Profile cross profile data sharing type. -
getWorkProfileDefaultAppPermissionPolicy
@Nullable public AndroidWorkProfileDefaultAppPermissionPolicyType getWorkProfileDefaultAppPermissionPolicy()Gets the workProfileDefaultAppPermissionPolicy property value. Android Work Profile default app permission policy type. -
getWorkProfilePasswordBlockFingerprintUnlock
Gets the workProfilePasswordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock for work profile.- Returns:
- a
Boolean
-
getWorkProfilePasswordBlockTrustAgents
Gets the workProfilePasswordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents for work profile.- Returns:
- a
Boolean
-
getWorkProfilePasswordExpirationDays
Gets the workProfilePasswordExpirationDays property value. Number of days before the work profile password expires. Valid values 1 to 365- Returns:
- a
Integer
-
getWorkProfilePasswordMinimumLength
Gets the workProfilePasswordMinimumLength property value. Minimum length of work profile password. Valid values 4 to 16- Returns:
- a
Integer
-
getWorkProfilePasswordMinLetterCharacters
Gets the workProfilePasswordMinLetterCharacters property value. Minimum # of letter characters required in work profile password. Valid values 1 to 10- Returns:
- a
Integer
-
getWorkProfilePasswordMinLowerCaseCharacters
Gets the workProfilePasswordMinLowerCaseCharacters property value. Minimum # of lower-case characters required in work profile password. Valid values 1 to 10- Returns:
- a
Integer
-
getWorkProfilePasswordMinNonLetterCharacters
Gets the workProfilePasswordMinNonLetterCharacters property value. Minimum # of non-letter characters required in work profile password. Valid values 1 to 10- Returns:
- a
Integer
-
getWorkProfilePasswordMinNumericCharacters
Gets the workProfilePasswordMinNumericCharacters property value. Minimum # of numeric characters required in work profile password. Valid values 1 to 10- Returns:
- a
Integer
-
getWorkProfilePasswordMinSymbolCharacters
Gets the workProfilePasswordMinSymbolCharacters property value. Minimum # of symbols required in work profile password. Valid values 1 to 10- Returns:
- a
Integer
-
getWorkProfilePasswordMinUpperCaseCharacters
Gets the workProfilePasswordMinUpperCaseCharacters property value. Minimum # of upper-case characters required in work profile password. Valid values 1 to 10- Returns:
- a
Integer
-
getWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout
Gets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.- Returns:
- a
Integer
-
getWorkProfilePasswordPreviousPasswordBlockCount
Gets the workProfilePasswordPreviousPasswordBlockCount property value. Number of previous work profile passwords to block. Valid values 0 to 24- Returns:
- a
Integer
-
getWorkProfilePasswordRequiredType
Gets the workProfilePasswordRequiredType property value. Android Work Profile required password type.- Returns:
- a
AndroidWorkProfileRequiredPasswordType
-
getWorkProfilePasswordSignInFailureCountBeforeFactoryReset
Gets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16- Returns:
- a
Integer
-
getWorkProfileRequirePassword
Gets the workProfileRequirePassword property value. Password is required or not for work profile- Returns:
- a
Boolean
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classDeviceConfiguration- Parameters:
writer- Serialization writer to use to serialize this model
-
setPasswordBlockFingerprintUnlock
Sets the passwordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock.- Parameters:
value- Value to set for the passwordBlockFingerprintUnlock property.
-
setPasswordBlockTrustAgents
Sets the passwordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents.- Parameters:
value- Value to set for the passwordBlockTrustAgents property.
-
setPasswordExpirationDays
Sets the passwordExpirationDays property value. Number of days before the password expires. Valid values 1 to 365- Parameters:
value- Value to set for the passwordExpirationDays property.
-
setPasswordMinimumLength
Sets the passwordMinimumLength property value. Minimum length of passwords. Valid values 4 to 16- Parameters:
value- Value to set for the passwordMinimumLength property.
-
setPasswordMinutesOfInactivityBeforeScreenTimeout
Sets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.- Parameters:
value- Value to set for the passwordMinutesOfInactivityBeforeScreenTimeout property.
-
setPasswordPreviousPasswordBlockCount
Sets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block. Valid values 0 to 24- Parameters:
value- Value to set for the passwordPreviousPasswordBlockCount property.
-
setPasswordRequiredType
Sets the passwordRequiredType property value. Android Work Profile required password type.- Parameters:
value- Value to set for the passwordRequiredType property.
-
setPasswordSignInFailureCountBeforeFactoryReset
Sets the passwordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before factory reset. Valid values 1 to 16- Parameters:
value- Value to set for the passwordSignInFailureCountBeforeFactoryReset property.
-
setSecurityRequireVerifyApps
Sets the securityRequireVerifyApps property value. Require the Android Verify apps feature is turned on.- Parameters:
value- Value to set for the securityRequireVerifyApps property.
-
setWorkProfileBlockAddingAccounts
Sets the workProfileBlockAddingAccounts property value. Block users from adding/removing accounts in work profile.- Parameters:
value- Value to set for the workProfileBlockAddingAccounts property.
-
setWorkProfileBlockCamera
Sets the workProfileBlockCamera property value. Block work profile camera.- Parameters:
value- Value to set for the workProfileBlockCamera property.
-
setWorkProfileBlockCrossProfileCallerId
Sets the workProfileBlockCrossProfileCallerId property value. Block display work profile caller ID in personal profile.- Parameters:
value- Value to set for the workProfileBlockCrossProfileCallerId property.
-
setWorkProfileBlockCrossProfileContactsSearch
Sets the workProfileBlockCrossProfileContactsSearch property value. Block work profile contacts availability in personal profile.- Parameters:
value- Value to set for the workProfileBlockCrossProfileContactsSearch property.
-
setWorkProfileBlockCrossProfileCopyPaste
Sets the workProfileBlockCrossProfileCopyPaste property value. Boolean that indicates if the setting disallow cross profile copy/paste is enabled.- Parameters:
value- Value to set for the workProfileBlockCrossProfileCopyPaste property.
-
setWorkProfileBlockNotificationsWhileDeviceLocked
Sets the workProfileBlockNotificationsWhileDeviceLocked property value. Indicates whether or not to block notifications while device locked.- Parameters:
value- Value to set for the workProfileBlockNotificationsWhileDeviceLocked property.
-
setWorkProfileBlockScreenCapture
Sets the workProfileBlockScreenCapture property value. Block screen capture in work profile.- Parameters:
value- Value to set for the workProfileBlockScreenCapture property.
-
setWorkProfileBluetoothEnableContactSharing
Sets the workProfileBluetoothEnableContactSharing property value. Allow bluetooth devices to access enterprise contacts.- Parameters:
value- Value to set for the workProfileBluetoothEnableContactSharing property.
-
setWorkProfileDataSharingType
public void setWorkProfileDataSharingType(@Nullable AndroidWorkProfileCrossProfileDataSharingType value) Sets the workProfileDataSharingType property value. Android Work Profile cross profile data sharing type.- Parameters:
value- Value to set for the workProfileDataSharingType property.
-
setWorkProfileDefaultAppPermissionPolicy
public void setWorkProfileDefaultAppPermissionPolicy(@Nullable AndroidWorkProfileDefaultAppPermissionPolicyType value) Sets the workProfileDefaultAppPermissionPolicy property value. Android Work Profile default app permission policy type.- Parameters:
value- Value to set for the workProfileDefaultAppPermissionPolicy property.
-
setWorkProfilePasswordBlockFingerprintUnlock
Sets the workProfilePasswordBlockFingerprintUnlock property value. Indicates whether or not to block fingerprint unlock for work profile.- Parameters:
value- Value to set for the workProfilePasswordBlockFingerprintUnlock property.
-
setWorkProfilePasswordBlockTrustAgents
Sets the workProfilePasswordBlockTrustAgents property value. Indicates whether or not to block Smart Lock and other trust agents for work profile.- Parameters:
value- Value to set for the workProfilePasswordBlockTrustAgents property.
-
setWorkProfilePasswordExpirationDays
Sets the workProfilePasswordExpirationDays property value. Number of days before the work profile password expires. Valid values 1 to 365- Parameters:
value- Value to set for the workProfilePasswordExpirationDays property.
-
setWorkProfilePasswordMinimumLength
Sets the workProfilePasswordMinimumLength property value. Minimum length of work profile password. Valid values 4 to 16- Parameters:
value- Value to set for the workProfilePasswordMinimumLength property.
-
setWorkProfilePasswordMinLetterCharacters
Sets the workProfilePasswordMinLetterCharacters property value. Minimum # of letter characters required in work profile password. Valid values 1 to 10- Parameters:
value- Value to set for the workProfilePasswordMinLetterCharacters property.
-
setWorkProfilePasswordMinLowerCaseCharacters
Sets the workProfilePasswordMinLowerCaseCharacters property value. Minimum # of lower-case characters required in work profile password. Valid values 1 to 10- Parameters:
value- Value to set for the workProfilePasswordMinLowerCaseCharacters property.
-
setWorkProfilePasswordMinNonLetterCharacters
Sets the workProfilePasswordMinNonLetterCharacters property value. Minimum # of non-letter characters required in work profile password. Valid values 1 to 10- Parameters:
value- Value to set for the workProfilePasswordMinNonLetterCharacters property.
-
setWorkProfilePasswordMinNumericCharacters
Sets the workProfilePasswordMinNumericCharacters property value. Minimum # of numeric characters required in work profile password. Valid values 1 to 10- Parameters:
value- Value to set for the workProfilePasswordMinNumericCharacters property.
-
setWorkProfilePasswordMinSymbolCharacters
Sets the workProfilePasswordMinSymbolCharacters property value. Minimum # of symbols required in work profile password. Valid values 1 to 10- Parameters:
value- Value to set for the workProfilePasswordMinSymbolCharacters property.
-
setWorkProfilePasswordMinUpperCaseCharacters
Sets the workProfilePasswordMinUpperCaseCharacters property value. Minimum # of upper-case characters required in work profile password. Valid values 1 to 10- Parameters:
value- Value to set for the workProfilePasswordMinUpperCaseCharacters property.
-
setWorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout
Sets the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity before the screen times out.- Parameters:
value- Value to set for the workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property.
-
setWorkProfilePasswordPreviousPasswordBlockCount
Sets the workProfilePasswordPreviousPasswordBlockCount property value. Number of previous work profile passwords to block. Valid values 0 to 24- Parameters:
value- Value to set for the workProfilePasswordPreviousPasswordBlockCount property.
-
setWorkProfilePasswordRequiredType
public void setWorkProfilePasswordRequiredType(@Nullable AndroidWorkProfileRequiredPasswordType value) Sets the workProfilePasswordRequiredType property value. Android Work Profile required password type.- Parameters:
value- Value to set for the workProfilePasswordRequiredType property.
-
setWorkProfilePasswordSignInFailureCountBeforeFactoryReset
Sets the workProfilePasswordSignInFailureCountBeforeFactoryReset property value. Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16- Parameters:
value- Value to set for the workProfilePasswordSignInFailureCountBeforeFactoryReset property.
-
setWorkProfileRequirePassword
Sets the workProfileRequirePassword property value. Password is required or not for work profile- Parameters:
value- Value to set for the workProfileRequirePassword property.
-