Package com.microsoft.graph.models
Class Windows10MobileCompliancePolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceCompliancePolicy
com.microsoft.graph.models.Windows10MobileCompliancePolicy
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Windows10MobileCompliancePolicy
extends DeviceCompliancePolicy
implements com.microsoft.kiota.serialization.Parsable
This class contains compliance settings for Windows 10 Mobile.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newWindows10MobileCompliancePolicyand 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 valueGets the bitLockerEnabled property value.Gets the codeIntegrityEnabled property value.Gets the earlyLaunchAntiMalwareDriverEnabled property value.The deserialization information for the current modelGets the osMaximumVersion property value.Gets the osMinimumVersion property value.Gets the passwordBlockSimple property value.Gets the passwordExpirationDays property value.Gets the passwordMinimumCharacterSetCount property value.Gets the passwordMinimumLength property value.Gets the passwordMinutesOfInactivityBeforeLock property value.Gets the passwordPreviousPasswordBlockCount property value.Gets the passwordRequired property value.Gets the passwordRequiredType property value.Gets the passwordRequireToUnlockFromIdle property value.Gets the secureBootEnabled property value.Gets the storageRequireEncryption property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetBitLockerEnabled(Boolean value) Sets the bitLockerEnabled property value.voidsetCodeIntegrityEnabled(Boolean value) Sets the codeIntegrityEnabled property value.voidSets the earlyLaunchAntiMalwareDriverEnabled property value.voidsetOsMaximumVersion(String value) Sets the osMaximumVersion property value.voidsetOsMinimumVersion(String value) Sets the osMinimumVersion property value.voidsetPasswordBlockSimple(Boolean value) Sets the passwordBlockSimple property value.voidsetPasswordExpirationDays(Integer value) Sets the passwordExpirationDays property value.voidSets the passwordMinimumCharacterSetCount property value.voidsetPasswordMinimumLength(Integer value) Sets the passwordMinimumLength property value.voidSets the passwordMinutesOfInactivityBeforeLock property value.voidSets the passwordPreviousPasswordBlockCount property value.voidsetPasswordRequired(Boolean value) Sets the passwordRequired property value.voidSets the passwordRequiredType property value.voidSets the passwordRequireToUnlockFromIdle property value.voidsetSecureBootEnabled(Boolean value) Sets the secureBootEnabled property value.voidSets the storageRequireEncryption property value.Methods inherited from class com.microsoft.graph.models.DeviceCompliancePolicy
getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getScheduledActionsForRule, getUserStatuses, getUserStatusOverview, getVersion, setAssignments, setCreatedDateTime, setDescription, setDeviceSettingStateSummaries, setDeviceStatuses, setDeviceStatusOverview, setDisplayName, setLastModifiedDateTime, setScheduledActionsForRule, setUserStatuses, setUserStatusOverview, setVersionMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Windows10MobileCompliancePolicy
public Windows10MobileCompliancePolicy()Instantiates a newWindows10MobileCompliancePolicyand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Windows10MobileCompliancePolicy 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
Windows10MobileCompliancePolicy
-
getBitLockerEnabled
Gets the bitLockerEnabled property value. Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled- Returns:
- a
Boolean
-
getCodeIntegrityEnabled
Gets the codeIntegrityEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation.- Returns:
- a
Boolean
-
getEarlyLaunchAntiMalwareDriverEnabled
Gets the earlyLaunchAntiMalwareDriverEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled.- Returns:
- a
Boolean
-
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 classDeviceCompliancePolicy- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getOsMaximumVersion
Gets the osMaximumVersion property value. Maximum Windows Phone version.- Returns:
- a
String
-
getOsMinimumVersion
Gets the osMinimumVersion property value. Minimum Windows Phone version.- Returns:
- a
String
-
getPasswordBlockSimple
Gets the passwordBlockSimple property value. Whether or not to block syncing the calendar.- Returns:
- a
Boolean
-
getPasswordExpirationDays
Gets the passwordExpirationDays property value. Number of days before password expiration. Valid values 1 to 255- Returns:
- a
Integer
-
getPasswordMinimumCharacterSetCount
Gets the passwordMinimumCharacterSetCount property value. The number of character sets required in the password.- Returns:
- a
Integer
-
getPasswordMinimumLength
Gets the passwordMinimumLength property value. Minimum password length. Valid values 4 to 16- Returns:
- a
Integer
-
getPasswordMinutesOfInactivityBeforeLock
Gets the passwordMinutesOfInactivityBeforeLock property value. Minutes of inactivity before a password is required.- Returns:
- a
Integer
-
getPasswordPreviousPasswordBlockCount
Gets the passwordPreviousPasswordBlockCount property value. The number of previous passwords to prevent re-use of.- Returns:
- a
Integer
-
getPasswordRequired
Gets the passwordRequired property value. Require a password to unlock Windows Phone device.- Returns:
- a
Boolean
-
getPasswordRequiredType
Gets the passwordRequiredType property value. Possible values of required passwords.- Returns:
- a
RequiredPasswordType
-
getPasswordRequireToUnlockFromIdle
Gets the passwordRequireToUnlockFromIdle property value. Require a password to unlock an idle device.- Returns:
- a
Boolean
-
getSecureBootEnabled
Gets the secureBootEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled.- Returns:
- a
Boolean
-
getStorageRequireEncryption
Gets the storageRequireEncryption property value. Require encryption on windows devices.- 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 classDeviceCompliancePolicy- Parameters:
writer- Serialization writer to use to serialize this model
-
setBitLockerEnabled
Sets the bitLockerEnabled property value. Require devices to be reported healthy by Windows Device Health Attestation - bit locker is enabled- Parameters:
value- Value to set for the bitLockerEnabled property.
-
setCodeIntegrityEnabled
Sets the codeIntegrityEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation.- Parameters:
value- Value to set for the codeIntegrityEnabled property.
-
setEarlyLaunchAntiMalwareDriverEnabled
Sets the earlyLaunchAntiMalwareDriverEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation - early launch antimalware driver is enabled.- Parameters:
value- Value to set for the earlyLaunchAntiMalwareDriverEnabled property.
-
setOsMaximumVersion
Sets the osMaximumVersion property value. Maximum Windows Phone version.- Parameters:
value- Value to set for the osMaximumVersion property.
-
setOsMinimumVersion
Sets the osMinimumVersion property value. Minimum Windows Phone version.- Parameters:
value- Value to set for the osMinimumVersion property.
-
setPasswordBlockSimple
Sets the passwordBlockSimple property value. Whether or not to block syncing the calendar.- Parameters:
value- Value to set for the passwordBlockSimple property.
-
setPasswordExpirationDays
Sets the passwordExpirationDays property value. Number of days before password expiration. Valid values 1 to 255- Parameters:
value- Value to set for the passwordExpirationDays property.
-
setPasswordMinimumCharacterSetCount
Sets the passwordMinimumCharacterSetCount property value. The number of character sets required in the password.- Parameters:
value- Value to set for the passwordMinimumCharacterSetCount property.
-
setPasswordMinimumLength
Sets the passwordMinimumLength property value. Minimum password length. Valid values 4 to 16- Parameters:
value- Value to set for the passwordMinimumLength property.
-
setPasswordMinutesOfInactivityBeforeLock
Sets the passwordMinutesOfInactivityBeforeLock property value. Minutes of inactivity before a password is required.- Parameters:
value- Value to set for the passwordMinutesOfInactivityBeforeLock property.
-
setPasswordPreviousPasswordBlockCount
Sets the passwordPreviousPasswordBlockCount property value. The number of previous passwords to prevent re-use of.- Parameters:
value- Value to set for the passwordPreviousPasswordBlockCount property.
-
setPasswordRequired
Sets the passwordRequired property value. Require a password to unlock Windows Phone device.- Parameters:
value- Value to set for the passwordRequired property.
-
setPasswordRequiredType
Sets the passwordRequiredType property value. Possible values of required passwords.- Parameters:
value- Value to set for the passwordRequiredType property.
-
setPasswordRequireToUnlockFromIdle
Sets the passwordRequireToUnlockFromIdle property value. Require a password to unlock an idle device.- Parameters:
value- Value to set for the passwordRequireToUnlockFromIdle property.
-
setSecureBootEnabled
Sets the secureBootEnabled property value. Require devices to be reported as healthy by Windows Device Health Attestation - secure boot is enabled.- Parameters:
value- Value to set for the secureBootEnabled property.
-
setStorageRequireEncryption
Sets the storageRequireEncryption property value. Require encryption on windows devices.- Parameters:
value- Value to set for the storageRequireEncryption property.
-