Package com.microsoft.graph.models
Class IosCompliancePolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceCompliancePolicy
com.microsoft.graph.models.IosCompliancePolicy
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class IosCompliancePolicy
extends DeviceCompliancePolicy
implements com.microsoft.kiota.serialization.Parsable
This class contains compliance settings for IOS.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IosCompliancePolicycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the deviceThreatProtectionEnabled property value.Gets the deviceThreatProtectionRequiredSecurityLevel property value.The deserialization information for the current modelGets the managedEmailProfileRequired property value.Gets the osMaximumVersion property value.Gets the osMinimumVersion property value.Gets the passcodeBlockSimple property value.Gets the passcodeExpirationDays property value.Gets the passcodeMinimumCharacterSetCount property value.Gets the passcodeMinimumLength property value.Gets the passcodeMinutesOfInactivityBeforeLock property value.Gets the passcodePreviousPasscodeBlockCount property value.Gets the passcodeRequired property value.Gets the passcodeRequiredType property value.Gets the securityBlockJailbrokenDevices property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the deviceThreatProtectionEnabled property value.voidSets the deviceThreatProtectionRequiredSecurityLevel property value.voidSets the managedEmailProfileRequired property value.voidsetOsMaximumVersion(String value) Sets the osMaximumVersion property value.voidsetOsMinimumVersion(String value) Sets the osMinimumVersion property value.voidsetPasscodeBlockSimple(Boolean value) Sets the passcodeBlockSimple property value.voidsetPasscodeExpirationDays(Integer value) Sets the passcodeExpirationDays property value.voidSets the passcodeMinimumCharacterSetCount property value.voidsetPasscodeMinimumLength(Integer value) Sets the passcodeMinimumLength property value.voidSets the passcodeMinutesOfInactivityBeforeLock property value.voidSets the passcodePreviousPasscodeBlockCount property value.voidsetPasscodeRequired(Boolean value) Sets the passcodeRequired property value.voidSets the passcodeRequiredType property value.voidSets the securityBlockJailbrokenDevices 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
-
IosCompliancePolicy
public IosCompliancePolicy()Instantiates a newIosCompliancePolicyand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static IosCompliancePolicy 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
IosCompliancePolicy
-
getDeviceThreatProtectionEnabled
Gets the deviceThreatProtectionEnabled property value. Require that devices have enabled device threat protection .- Returns:
- a
Boolean
-
getDeviceThreatProtectionRequiredSecurityLevel
Gets the deviceThreatProtectionRequiredSecurityLevel property value. Device threat protection levels for the Device Threat Protection API.- Returns:
- a
DeviceThreatProtectionLevel
-
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>>
-
getManagedEmailProfileRequired
Gets the managedEmailProfileRequired property value. Indicates whether or not to require a managed email profile.- Returns:
- a
Boolean
-
getOsMaximumVersion
Gets the osMaximumVersion property value. Maximum IOS version.- Returns:
- a
String
-
getOsMinimumVersion
Gets the osMinimumVersion property value. Minimum IOS version.- Returns:
- a
String
-
getPasscodeBlockSimple
Gets the passcodeBlockSimple property value. Indicates whether or not to block simple passcodes.- Returns:
- a
Boolean
-
getPasscodeExpirationDays
Gets the passcodeExpirationDays property value. Number of days before the passcode expires. Valid values 1 to 65535- Returns:
- a
Integer
-
getPasscodeMinimumCharacterSetCount
Gets the passcodeMinimumCharacterSetCount property value. The number of character sets required in the password.- Returns:
- a
Integer
-
getPasscodeMinimumLength
Gets the passcodeMinimumLength property value. Minimum length of passcode. Valid values 4 to 14- Returns:
- a
Integer
-
getPasscodeMinutesOfInactivityBeforeLock
Gets the passcodeMinutesOfInactivityBeforeLock property value. Minutes of inactivity before a passcode is required.- Returns:
- a
Integer
-
getPasscodePreviousPasscodeBlockCount
Gets the passcodePreviousPasscodeBlockCount property value. Number of previous passcodes to block. Valid values 1 to 24- Returns:
- a
Integer
-
getPasscodeRequired
Gets the passcodeRequired property value. Indicates whether or not to require a passcode.- Returns:
- a
Boolean
-
getPasscodeRequiredType
Gets the passcodeRequiredType property value. Possible values of required passwords.- Returns:
- a
RequiredPasswordType
-
getSecurityBlockJailbrokenDevices
Gets the securityBlockJailbrokenDevices property value. Indicates the device should not be jailbroken. When TRUE, if the device is detected as jailbroken it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device jailbroken state. Default is FALSE.- 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
-
setDeviceThreatProtectionEnabled
Sets the deviceThreatProtectionEnabled property value. Require that devices have enabled device threat protection .- Parameters:
value- Value to set for the deviceThreatProtectionEnabled property.
-
setDeviceThreatProtectionRequiredSecurityLevel
public void setDeviceThreatProtectionRequiredSecurityLevel(@Nullable DeviceThreatProtectionLevel value) Sets the deviceThreatProtectionRequiredSecurityLevel property value. Device threat protection levels for the Device Threat Protection API.- Parameters:
value- Value to set for the deviceThreatProtectionRequiredSecurityLevel property.
-
setManagedEmailProfileRequired
Sets the managedEmailProfileRequired property value. Indicates whether or not to require a managed email profile.- Parameters:
value- Value to set for the managedEmailProfileRequired property.
-
setOsMaximumVersion
Sets the osMaximumVersion property value. Maximum IOS version.- Parameters:
value- Value to set for the osMaximumVersion property.
-
setOsMinimumVersion
Sets the osMinimumVersion property value. Minimum IOS version.- Parameters:
value- Value to set for the osMinimumVersion property.
-
setPasscodeBlockSimple
Sets the passcodeBlockSimple property value. Indicates whether or not to block simple passcodes.- Parameters:
value- Value to set for the passcodeBlockSimple property.
-
setPasscodeExpirationDays
Sets the passcodeExpirationDays property value. Number of days before the passcode expires. Valid values 1 to 65535- Parameters:
value- Value to set for the passcodeExpirationDays property.
-
setPasscodeMinimumCharacterSetCount
Sets the passcodeMinimumCharacterSetCount property value. The number of character sets required in the password.- Parameters:
value- Value to set for the passcodeMinimumCharacterSetCount property.
-
setPasscodeMinimumLength
Sets the passcodeMinimumLength property value. Minimum length of passcode. Valid values 4 to 14- Parameters:
value- Value to set for the passcodeMinimumLength property.
-
setPasscodeMinutesOfInactivityBeforeLock
Sets the passcodeMinutesOfInactivityBeforeLock property value. Minutes of inactivity before a passcode is required.- Parameters:
value- Value to set for the passcodeMinutesOfInactivityBeforeLock property.
-
setPasscodePreviousPasscodeBlockCount
Sets the passcodePreviousPasscodeBlockCount property value. Number of previous passcodes to block. Valid values 1 to 24- Parameters:
value- Value to set for the passcodePreviousPasscodeBlockCount property.
-
setPasscodeRequired
Sets the passcodeRequired property value. Indicates whether or not to require a passcode.- Parameters:
value- Value to set for the passcodeRequired property.
-
setPasscodeRequiredType
Sets the passcodeRequiredType property value. Possible values of required passwords.- Parameters:
value- Value to set for the passcodeRequiredType property.
-
setSecurityBlockJailbrokenDevices
Sets the securityBlockJailbrokenDevices property value. Indicates the device should not be jailbroken. When TRUE, if the device is detected as jailbroken it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device jailbroken state. Default is FALSE.- Parameters:
value- Value to set for the securityBlockJailbrokenDevices property.
-