public class IosCompliancePolicy extends DeviceCompliancePolicy implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
IosCompliancePolicy.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
deviceThreatProtectionEnabled |
protected DeviceThreatProtectionLevel |
deviceThreatProtectionRequiredSecurityLevel |
protected Boolean |
managedEmailProfileRequired |
protected String |
osMaximumBuildVersion |
protected String |
osMaximumVersion |
protected String |
osMinimumBuildVersion |
protected String |
osMinimumVersion |
protected Boolean |
passcodeBlockSimple |
protected Integer |
passcodeExpirationDays |
protected Integer |
passcodeMinimumCharacterSetCount |
protected Integer |
passcodeMinimumLength |
protected Integer |
passcodeMinutesOfInactivityBeforeLock |
protected Integer |
passcodeMinutesOfInactivityBeforeScreenTimeout |
protected Integer |
passcodePreviousPasscodeBlockCount |
protected Boolean |
passcodeRequired |
protected RequiredPasswordType |
passcodeRequiredType |
protected List<AppListItem> |
restrictedApps |
protected String |
restrictedAppsNextLink |
protected Boolean |
securityBlockJailbrokenDevices |
createdDateTime, description, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
IosCompliancePolicy() |
| Modifier and Type | Method and Description |
|---|---|
static IosCompliancePolicy.Builder |
builderIosCompliancePolicy()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getDeviceThreatProtectionEnabled()
“Require that devices have enabled device threat protection .”
|
Optional<DeviceThreatProtectionLevel> |
getDeviceThreatProtectionRequiredSecurityLevel()
“Require Mobile Threat Protection minimum risk level to report noncompliance.”
|
Optional<Boolean> |
getManagedEmailProfileRequired()
“Indicates whether or not to require a managed email profile.”
|
Optional<String> |
getOsMaximumBuildVersion()
“Maximum IOS build version.”
|
Optional<String> |
getOsMaximumVersion()
“Maximum IOS version.”
|
Optional<String> |
getOsMinimumBuildVersion()
“Minimum IOS build version.”
|
Optional<String> |
getOsMinimumVersion()
“Minimum IOS version.”
|
Optional<Boolean> |
getPasscodeBlockSimple()
“Indicates whether or not to block simple passcodes.”
|
Optional<Integer> |
getPasscodeExpirationDays()
“Number of days before the passcode expires.
|
Optional<Integer> |
getPasscodeMinimumCharacterSetCount()
“The number of character sets required in the password.”
|
Optional<Integer> |
getPasscodeMinimumLength()
“Minimum length of passcode.
|
Optional<Integer> |
getPasscodeMinutesOfInactivityBeforeLock()
“Minutes of inactivity before a passcode is required.”
|
Optional<Integer> |
getPasscodeMinutesOfInactivityBeforeScreenTimeout()
“Minutes of inactivity before the screen times out.”
|
Optional<Integer> |
getPasscodePreviousPasscodeBlockCount()
“Number of previous passcodes to block.
|
Optional<Boolean> |
getPasscodeRequired()
“Indicates whether or not to require a passcode.”
|
Optional<RequiredPasswordType> |
getPasscodeRequiredType()
“The required passcode type.”
|
com.github.davidmoten.odata.client.CollectionPage<AppListItem> |
getRestrictedApps()
“Require the device to not have the specified apps installed.
|
Optional<Boolean> |
getSecurityBlockJailbrokenDevices()
“Devices must not be jailbroken or rooted.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
IosCompliancePolicy |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
IosCompliancePolicy |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
IosCompliancePolicy |
withDeviceThreatProtectionEnabled(Boolean deviceThreatProtectionEnabled)
Returns an immutable copy of
this with just the deviceThreatProtectionEnabled field changed. |
IosCompliancePolicy |
withDeviceThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel)
Returns an immutable copy of
this with just the deviceThreatProtectionRequiredSecurityLevel field changed. |
IosCompliancePolicy |
withManagedEmailProfileRequired(Boolean managedEmailProfileRequired)
Returns an immutable copy of
this with just the managedEmailProfileRequired field changed. |
IosCompliancePolicy |
withOsMaximumBuildVersion(String osMaximumBuildVersion)
Returns an immutable copy of
this with just the osMaximumBuildVersion field changed. |
IosCompliancePolicy |
withOsMaximumVersion(String osMaximumVersion)
Returns an immutable copy of
this with just the osMaximumVersion
field changed. |
IosCompliancePolicy |
withOsMinimumBuildVersion(String osMinimumBuildVersion)
Returns an immutable copy of
this with just the osMinimumBuildVersion field changed. |
IosCompliancePolicy |
withOsMinimumVersion(String osMinimumVersion)
Returns an immutable copy of
this with just the osMinimumVersion
field changed. |
IosCompliancePolicy |
withPasscodeBlockSimple(Boolean passcodeBlockSimple)
Returns an immutable copy of
this with just the passcodeBlockSimple field changed. |
IosCompliancePolicy |
withPasscodeExpirationDays(Integer passcodeExpirationDays)
Returns an immutable copy of
this with just the passcodeExpirationDays field changed. |
IosCompliancePolicy |
withPasscodeMinimumCharacterSetCount(Integer passcodeMinimumCharacterSetCount)
Returns an immutable copy of
this with just the passcodeMinimumCharacterSetCount field changed. |
IosCompliancePolicy |
withPasscodeMinimumLength(Integer passcodeMinimumLength)
Returns an immutable copy of
this with just the passcodeMinimumLength field changed. |
IosCompliancePolicy |
withPasscodeMinutesOfInactivityBeforeLock(Integer passcodeMinutesOfInactivityBeforeLock)
Returns an immutable copy of
this with just the passcodeMinutesOfInactivityBeforeLock field changed. |
IosCompliancePolicy |
withPasscodeMinutesOfInactivityBeforeScreenTimeout(Integer passcodeMinutesOfInactivityBeforeScreenTimeout)
Returns an immutable copy of
this with just the passcodeMinutesOfInactivityBeforeScreenTimeout field changed. |
IosCompliancePolicy |
withPasscodePreviousPasscodeBlockCount(Integer passcodePreviousPasscodeBlockCount)
Returns an immutable copy of
this with just the passcodePreviousPasscodeBlockCount field changed. |
IosCompliancePolicy |
withPasscodeRequired(Boolean passcodeRequired)
Returns an immutable copy of
this with just the passcodeRequired
field changed. |
IosCompliancePolicy |
withPasscodeRequiredType(RequiredPasswordType passcodeRequiredType)
Returns an immutable copy of
this with just the passcodeRequiredType field changed. |
IosCompliancePolicy |
withSecurityBlockJailbrokenDevices(Boolean securityBlockJailbrokenDevices)
Returns an immutable copy of
this with just the securityBlockJailbrokenDevices field changed. |
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getRoleScopeTagIds, getScheduledActionsForRule, getUserStatuses, getUserStatusOverview, getVersion, scheduleActionsForRules, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersionprotected Boolean passcodeBlockSimple
protected Integer passcodeExpirationDays
protected Integer passcodeMinimumLength
protected Integer passcodeMinutesOfInactivityBeforeLock
protected Integer passcodeMinutesOfInactivityBeforeScreenTimeout
protected Integer passcodePreviousPasscodeBlockCount
protected Integer passcodeMinimumCharacterSetCount
protected RequiredPasswordType passcodeRequiredType
protected Boolean passcodeRequired
protected String osMinimumVersion
protected String osMaximumVersion
protected String osMinimumBuildVersion
protected String osMaximumBuildVersion
protected Boolean securityBlockJailbrokenDevices
protected Boolean deviceThreatProtectionEnabled
protected DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel
protected Boolean managedEmailProfileRequired
protected List<AppListItem> restrictedApps
protected String restrictedAppsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceCompliancePolicypublic static IosCompliancePolicy.Builder builderIosCompliancePolicy()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceCompliancePolicypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceCompliancePolicypublic Optional<Boolean> getPasscodeBlockSimple()
public IosCompliancePolicy withPasscodeBlockSimple(Boolean passcodeBlockSimple)
this with just the passcodeBlockSimple 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.
“Indicates whether or not to block simple passcodes.”
passcodeBlockSimple - new value of passcodeBlockSimple field (as defined in service metadata)this with just the passcodeBlockSimple field changedpublic Optional<Integer> getPasscodeExpirationDays()
public IosCompliancePolicy withPasscodeExpirationDays(Integer passcodeExpirationDays)
this with just the passcodeExpirationDays 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.
“Number of days before the passcode expires. Valid values 1 to 65535”
passcodeExpirationDays - new value of passcodeExpirationDays field (as defined in service metadata)this with just the passcodeExpirationDays field changedpublic Optional<Integer> getPasscodeMinimumLength()
public IosCompliancePolicy withPasscodeMinimumLength(Integer passcodeMinimumLength)
this with just the passcodeMinimumLength 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.
“Minimum length of passcode. Valid values 4 to 14”
passcodeMinimumLength - new value of passcodeMinimumLength field (as defined in service metadata)this with just the passcodeMinimumLength field changedpublic Optional<Integer> getPasscodeMinutesOfInactivityBeforeLock()
public IosCompliancePolicy withPasscodeMinutesOfInactivityBeforeLock(Integer passcodeMinutesOfInactivityBeforeLock)
this with just the passcodeMinutesOfInactivityBeforeLock 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.
“Minutes of inactivity before a passcode is required.”
passcodeMinutesOfInactivityBeforeLock - new value of passcodeMinutesOfInactivityBeforeLock field (as defined in service metadata)this with just the passcodeMinutesOfInactivityBeforeLock field changedpublic Optional<Integer> getPasscodeMinutesOfInactivityBeforeScreenTimeout()
public IosCompliancePolicy withPasscodeMinutesOfInactivityBeforeScreenTimeout(Integer passcodeMinutesOfInactivityBeforeScreenTimeout)
this with just the passcodeMinutesOfInactivityBeforeScreenTimeout 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.
“Minutes of inactivity before the screen times out.”
passcodeMinutesOfInactivityBeforeScreenTimeout - new value of passcodeMinutesOfInactivityBeforeScreenTimeout field (as defined in service metadata)this with just the passcodeMinutesOfInactivityBeforeScreenTimeout field changedpublic Optional<Integer> getPasscodePreviousPasscodeBlockCount()
public IosCompliancePolicy withPasscodePreviousPasscodeBlockCount(Integer passcodePreviousPasscodeBlockCount)
this with just the passcodePreviousPasscodeBlockCount 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.
“Number of previous passcodes to block. Valid values 1 to 24”
passcodePreviousPasscodeBlockCount - new value of passcodePreviousPasscodeBlockCount field (as defined in service metadata)this with just the passcodePreviousPasscodeBlockCount field changedpublic Optional<Integer> getPasscodeMinimumCharacterSetCount()
public IosCompliancePolicy withPasscodeMinimumCharacterSetCount(Integer passcodeMinimumCharacterSetCount)
this with just the passcodeMinimumCharacterSetCount 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 character sets required in the password.”
passcodeMinimumCharacterSetCount - new value of passcodeMinimumCharacterSetCount field (as defined in service metadata)this with just the passcodeMinimumCharacterSetCount field changedpublic Optional<RequiredPasswordType> getPasscodeRequiredType()
public IosCompliancePolicy withPasscodeRequiredType(RequiredPasswordType passcodeRequiredType)
this with just the passcodeRequiredType 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 required passcode type.”
passcodeRequiredType - new value of passcodeRequiredType field (as defined in service metadata)this with just the passcodeRequiredType field changedpublic Optional<Boolean> getPasscodeRequired()
public IosCompliancePolicy withPasscodeRequired(Boolean passcodeRequired)
this with just the passcodeRequired
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.
“Indicates whether or not to require a passcode.”
passcodeRequired - new value of passcodeRequired field (as defined in service metadata)this with just the passcodeRequired field changedpublic Optional<String> getOsMinimumVersion()
public IosCompliancePolicy withOsMinimumVersion(String osMinimumVersion)
this with just the osMinimumVersion
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.
“Minimum IOS version.”
osMinimumVersion - new value of osMinimumVersion field (as defined in service metadata)this with just the osMinimumVersion field changedpublic Optional<String> getOsMaximumVersion()
public IosCompliancePolicy withOsMaximumVersion(String osMaximumVersion)
this with just the osMaximumVersion
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.
“Maximum IOS version.”
osMaximumVersion - new value of osMaximumVersion field (as defined in service metadata)this with just the osMaximumVersion field changedpublic Optional<String> getOsMinimumBuildVersion()
public IosCompliancePolicy withOsMinimumBuildVersion(String osMinimumBuildVersion)
this with just the osMinimumBuildVersion 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.
“Minimum IOS build version.”
osMinimumBuildVersion - new value of osMinimumBuildVersion field (as defined in service metadata)this with just the osMinimumBuildVersion field changedpublic Optional<String> getOsMaximumBuildVersion()
public IosCompliancePolicy withOsMaximumBuildVersion(String osMaximumBuildVersion)
this with just the osMaximumBuildVersion 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.
“Maximum IOS build version.”
osMaximumBuildVersion - new value of osMaximumBuildVersion field (as defined in service metadata)this with just the osMaximumBuildVersion field changedpublic Optional<Boolean> getSecurityBlockJailbrokenDevices()
public IosCompliancePolicy withSecurityBlockJailbrokenDevices(Boolean securityBlockJailbrokenDevices)
this with just the securityBlockJailbrokenDevices 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.
“Devices must not be jailbroken or rooted.”
securityBlockJailbrokenDevices - new value of securityBlockJailbrokenDevices field (as defined in service metadata)this with just the securityBlockJailbrokenDevices field changedpublic Optional<Boolean> getDeviceThreatProtectionEnabled()
public IosCompliancePolicy withDeviceThreatProtectionEnabled(Boolean deviceThreatProtectionEnabled)
this with just the deviceThreatProtectionEnabled 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.
“Require that devices have enabled device threat protection .”
deviceThreatProtectionEnabled - new value of deviceThreatProtectionEnabled field (as defined in service metadata)this with just the deviceThreatProtectionEnabled field changedpublic Optional<DeviceThreatProtectionLevel> getDeviceThreatProtectionRequiredSecurityLevel()
public IosCompliancePolicy withDeviceThreatProtectionRequiredSecurityLevel(DeviceThreatProtectionLevel deviceThreatProtectionRequiredSecurityLevel)
this with just the deviceThreatProtectionRequiredSecurityLevel 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.
“Require Mobile Threat Protection minimum risk level to report noncompliance.”
deviceThreatProtectionRequiredSecurityLevel - new value of deviceThreatProtectionRequiredSecurityLevel field (as defined in service metadata)this with just the deviceThreatProtectionRequiredSecurityLevel field changedpublic Optional<Boolean> getManagedEmailProfileRequired()
public IosCompliancePolicy withManagedEmailProfileRequired(Boolean managedEmailProfileRequired)
this with just the managedEmailProfileRequired 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.
“Indicates whether or not to require a managed email profile.”
managedEmailProfileRequired - new value of managedEmailProfileRequired field (as defined in service metadata)this with just the managedEmailProfileRequired field changedpublic com.github.davidmoten.odata.client.CollectionPage<AppListItem> getRestrictedApps()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceCompliancePolicypublic IosCompliancePolicy patch()
this with changed fields reset.patch in class DeviceCompliancePolicythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic IosCompliancePolicy put()
this
with changed fields reset (they were ignored anyway).put in class DeviceCompliancePolicythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceCompliancePolicyCopyright © 2018–2020. All rights reserved.