odata.msgraph.client.entity.Windows10CompliancePolicy Maven / Gradle / Ivy
Show all versions of odata-client-msgraph Show documentation
package odata.msgraph.client.entity;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.github.davidmoten.odata.client.ClientException;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.ODataEntityType;
import com.github.davidmoten.odata.client.RequestOptions;
import com.github.davidmoten.odata.client.UnmappedFields;
import com.github.davidmoten.odata.client.Util;
import com.github.davidmoten.odata.client.annotation.Property;
import com.github.davidmoten.odata.client.internal.ChangedFields;
import com.github.davidmoten.odata.client.internal.RequestHelper;
import com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.time.OffsetDateTime;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import odata.msgraph.client.enums.RequiredPasswordType;
/**
* “This class contains compliance settings for Windows 10.”
*/@JsonPropertyOrder({
"@odata.type",
"bitLockerEnabled",
"codeIntegrityEnabled",
"earlyLaunchAntiMalwareDriverEnabled",
"mobileOsMaximumVersion",
"mobileOsMinimumVersion",
"osMaximumVersion",
"osMinimumVersion",
"passwordBlockSimple",
"passwordExpirationDays",
"passwordMinimumCharacterSetCount",
"passwordMinimumLength",
"passwordMinutesOfInactivityBeforeLock",
"passwordPreviousPasswordBlockCount",
"passwordRequired",
"passwordRequiredToUnlockFromIdle",
"passwordRequiredType",
"requireHealthyDeviceReport",
"secureBootEnabled",
"storageRequireEncryption"})
@JsonInclude(Include.NON_NULL)
public class Windows10CompliancePolicy extends DeviceCompliancePolicy implements ODataEntityType {
@Override
public String odataTypeName() {
return "microsoft.graph.windows10CompliancePolicy";
}
@JsonProperty("bitLockerEnabled")
protected Boolean bitLockerEnabled;
@JsonProperty("codeIntegrityEnabled")
protected Boolean codeIntegrityEnabled;
@JsonProperty("earlyLaunchAntiMalwareDriverEnabled")
protected Boolean earlyLaunchAntiMalwareDriverEnabled;
@JsonProperty("mobileOsMaximumVersion")
protected String mobileOsMaximumVersion;
@JsonProperty("mobileOsMinimumVersion")
protected String mobileOsMinimumVersion;
@JsonProperty("osMaximumVersion")
protected String osMaximumVersion;
@JsonProperty("osMinimumVersion")
protected String osMinimumVersion;
@JsonProperty("passwordBlockSimple")
protected Boolean passwordBlockSimple;
@JsonProperty("passwordExpirationDays")
protected Integer passwordExpirationDays;
@JsonProperty("passwordMinimumCharacterSetCount")
protected Integer passwordMinimumCharacterSetCount;
@JsonProperty("passwordMinimumLength")
protected Integer passwordMinimumLength;
@JsonProperty("passwordMinutesOfInactivityBeforeLock")
protected Integer passwordMinutesOfInactivityBeforeLock;
@JsonProperty("passwordPreviousPasswordBlockCount")
protected Integer passwordPreviousPasswordBlockCount;
@JsonProperty("passwordRequired")
protected Boolean passwordRequired;
@JsonProperty("passwordRequiredToUnlockFromIdle")
protected Boolean passwordRequiredToUnlockFromIdle;
@JsonProperty("passwordRequiredType")
protected RequiredPasswordType passwordRequiredType;
@JsonProperty("requireHealthyDeviceReport")
protected Boolean requireHealthyDeviceReport;
@JsonProperty("secureBootEnabled")
protected Boolean secureBootEnabled;
@JsonProperty("storageRequireEncryption")
protected Boolean storageRequireEncryption;
protected Windows10CompliancePolicy() {
super();
}
/**
* Returns a builder which is used to create a new
* instance of this class (given that this class is immutable).
*
* @return a new Builder for this class
*/
// Suffix used on builder factory method to differentiate the method
// from static builder methods on superclasses
public static Builder builderWindows10CompliancePolicy() {
return new Builder();
}
public static final class Builder {
private String id;
private OffsetDateTime createdDateTime;
private String description;
private String displayName;
private OffsetDateTime lastModifiedDateTime;
private Integer version;
private List assignments;
private List deviceSettingStateSummaries;
private List deviceStatuses;
private DeviceComplianceDeviceOverview deviceStatusOverview;
private List scheduledActionsForRule;
private List userStatuses;
private DeviceComplianceUserOverview userStatusOverview;
private Boolean bitLockerEnabled;
private Boolean codeIntegrityEnabled;
private Boolean earlyLaunchAntiMalwareDriverEnabled;
private String mobileOsMaximumVersion;
private String mobileOsMinimumVersion;
private String osMaximumVersion;
private String osMinimumVersion;
private Boolean passwordBlockSimple;
private Integer passwordExpirationDays;
private Integer passwordMinimumCharacterSetCount;
private Integer passwordMinimumLength;
private Integer passwordMinutesOfInactivityBeforeLock;
private Integer passwordPreviousPasswordBlockCount;
private Boolean passwordRequired;
private Boolean passwordRequiredToUnlockFromIdle;
private RequiredPasswordType passwordRequiredType;
private Boolean requireHealthyDeviceReport;
private Boolean secureBootEnabled;
private Boolean storageRequireEncryption;
private ChangedFields changedFields = ChangedFields.EMPTY;
Builder() {
// prevent instantiation
}
public Builder id(String id) {
this.id = id;
this.changedFields = changedFields.add("id");
return this;
}
public Builder createdDateTime(OffsetDateTime createdDateTime) {
this.createdDateTime = createdDateTime;
this.changedFields = changedFields.add("createdDateTime");
return this;
}
public Builder description(String description) {
this.description = description;
this.changedFields = changedFields.add("description");
return this;
}
public Builder displayName(String displayName) {
this.displayName = displayName;
this.changedFields = changedFields.add("displayName");
return this;
}
public Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime) {
this.lastModifiedDateTime = lastModifiedDateTime;
this.changedFields = changedFields.add("lastModifiedDateTime");
return this;
}
public Builder version(Integer version) {
this.version = version;
this.changedFields = changedFields.add("version");
return this;
}
public Builder assignments(List assignments) {
this.assignments = assignments;
this.changedFields = changedFields.add("assignments");
return this;
}
public Builder assignments(DeviceCompliancePolicyAssignment... assignments) {
return assignments(Arrays.asList(assignments));
}
public Builder deviceSettingStateSummaries(List deviceSettingStateSummaries) {
this.deviceSettingStateSummaries = deviceSettingStateSummaries;
this.changedFields = changedFields.add("deviceSettingStateSummaries");
return this;
}
public Builder deviceSettingStateSummaries(SettingStateDeviceSummary... deviceSettingStateSummaries) {
return deviceSettingStateSummaries(Arrays.asList(deviceSettingStateSummaries));
}
public Builder deviceStatuses(List deviceStatuses) {
this.deviceStatuses = deviceStatuses;
this.changedFields = changedFields.add("deviceStatuses");
return this;
}
public Builder deviceStatuses(DeviceComplianceDeviceStatus... deviceStatuses) {
return deviceStatuses(Arrays.asList(deviceStatuses));
}
public Builder deviceStatusOverview(DeviceComplianceDeviceOverview deviceStatusOverview) {
this.deviceStatusOverview = deviceStatusOverview;
this.changedFields = changedFields.add("deviceStatusOverview");
return this;
}
public Builder scheduledActionsForRule(List scheduledActionsForRule) {
this.scheduledActionsForRule = scheduledActionsForRule;
this.changedFields = changedFields.add("scheduledActionsForRule");
return this;
}
public Builder scheduledActionsForRule(DeviceComplianceScheduledActionForRule... scheduledActionsForRule) {
return scheduledActionsForRule(Arrays.asList(scheduledActionsForRule));
}
public Builder userStatuses(List userStatuses) {
this.userStatuses = userStatuses;
this.changedFields = changedFields.add("userStatuses");
return this;
}
public Builder userStatuses(DeviceComplianceUserStatus... userStatuses) {
return userStatuses(Arrays.asList(userStatuses));
}
public Builder userStatusOverview(DeviceComplianceUserOverview userStatusOverview) {
this.userStatusOverview = userStatusOverview;
this.changedFields = changedFields.add("userStatusOverview");
return this;
}
/**
* “Require devices to be reported healthy by Windows Device Health Attestation -
* bit locker is enabled”
*
* @param bitLockerEnabled
* value of {@code bitLockerEnabled} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder bitLockerEnabled(Boolean bitLockerEnabled) {
this.bitLockerEnabled = bitLockerEnabled;
this.changedFields = changedFields.add("bitLockerEnabled");
return this;
}
/**
* “Require devices to be reported as healthy by Windows Device Health Attestation.”
*
* @param codeIntegrityEnabled
* value of {@code codeIntegrityEnabled} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder codeIntegrityEnabled(Boolean codeIntegrityEnabled) {
this.codeIntegrityEnabled = codeIntegrityEnabled;
this.changedFields = changedFields.add("codeIntegrityEnabled");
return this;
}
/**
* “Require devices to be reported as healthy by Windows Device Health Attestation -
* early launch antimalware driver is enabled.”
*
* @param earlyLaunchAntiMalwareDriverEnabled
* value of {@code earlyLaunchAntiMalwareDriverEnabled} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder earlyLaunchAntiMalwareDriverEnabled(Boolean earlyLaunchAntiMalwareDriverEnabled) {
this.earlyLaunchAntiMalwareDriverEnabled = earlyLaunchAntiMalwareDriverEnabled;
this.changedFields = changedFields.add("earlyLaunchAntiMalwareDriverEnabled");
return this;
}
/**
* “Maximum Windows Phone version.”
*
* @param mobileOsMaximumVersion
* value of {@code mobileOsMaximumVersion} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder mobileOsMaximumVersion(String mobileOsMaximumVersion) {
this.mobileOsMaximumVersion = mobileOsMaximumVersion;
this.changedFields = changedFields.add("mobileOsMaximumVersion");
return this;
}
/**
* “Minimum Windows Phone version.”
*
* @param mobileOsMinimumVersion
* value of {@code mobileOsMinimumVersion} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder mobileOsMinimumVersion(String mobileOsMinimumVersion) {
this.mobileOsMinimumVersion = mobileOsMinimumVersion;
this.changedFields = changedFields.add("mobileOsMinimumVersion");
return this;
}
/**
* “Maximum Windows 10 version.”
*
* @param osMaximumVersion
* value of {@code osMaximumVersion} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder osMaximumVersion(String osMaximumVersion) {
this.osMaximumVersion = osMaximumVersion;
this.changedFields = changedFields.add("osMaximumVersion");
return this;
}
/**
* “Minimum Windows 10 version.”
*
* @param osMinimumVersion
* value of {@code osMinimumVersion} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder osMinimumVersion(String osMinimumVersion) {
this.osMinimumVersion = osMinimumVersion;
this.changedFields = changedFields.add("osMinimumVersion");
return this;
}
/**
* “Indicates whether or not to block simple password.”
*
* @param passwordBlockSimple
* value of {@code passwordBlockSimple} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder passwordBlockSimple(Boolean passwordBlockSimple) {
this.passwordBlockSimple = passwordBlockSimple;
this.changedFields = changedFields.add("passwordBlockSimple");
return this;
}
/**
* “The password expiration in days.”
*
* @param passwordExpirationDays
* value of {@code passwordExpirationDays} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder passwordExpirationDays(Integer passwordExpirationDays) {
this.passwordExpirationDays = passwordExpirationDays;
this.changedFields = changedFields.add("passwordExpirationDays");
return this;
}
/**
* “The number of character sets required in the password.”
*
* @param passwordMinimumCharacterSetCount
* value of {@code passwordMinimumCharacterSetCount} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder passwordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount) {
this.passwordMinimumCharacterSetCount = passwordMinimumCharacterSetCount;
this.changedFields = changedFields.add("passwordMinimumCharacterSetCount");
return this;
}
/**
* “The minimum password length.”
*
* @param passwordMinimumLength
* value of {@code passwordMinimumLength} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder passwordMinimumLength(Integer passwordMinimumLength) {
this.passwordMinimumLength = passwordMinimumLength;
this.changedFields = changedFields.add("passwordMinimumLength");
return this;
}
/**
* “Minutes of inactivity before a password is required.”
*
* @param passwordMinutesOfInactivityBeforeLock
* value of {@code passwordMinutesOfInactivityBeforeLock} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder passwordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock) {
this.passwordMinutesOfInactivityBeforeLock = passwordMinutesOfInactivityBeforeLock;
this.changedFields = changedFields.add("passwordMinutesOfInactivityBeforeLock");
return this;
}
/**
* “The number of previous passwords to prevent re-use of.”
*
* @param passwordPreviousPasswordBlockCount
* value of {@code passwordPreviousPasswordBlockCount} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder passwordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount) {
this.passwordPreviousPasswordBlockCount = passwordPreviousPasswordBlockCount;
this.changedFields = changedFields.add("passwordPreviousPasswordBlockCount");
return this;
}
/**
* “Require a password to unlock Windows device.”
*
* @param passwordRequired
* value of {@code passwordRequired} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder passwordRequired(Boolean passwordRequired) {
this.passwordRequired = passwordRequired;
this.changedFields = changedFields.add("passwordRequired");
return this;
}
/**
* “Require a password to unlock an idle device.”
*
* @param passwordRequiredToUnlockFromIdle
* value of {@code passwordRequiredToUnlockFromIdle} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder passwordRequiredToUnlockFromIdle(Boolean passwordRequiredToUnlockFromIdle) {
this.passwordRequiredToUnlockFromIdle = passwordRequiredToUnlockFromIdle;
this.changedFields = changedFields.add("passwordRequiredToUnlockFromIdle");
return this;
}
/**
* “The required password type.”
*
* @param passwordRequiredType
* value of {@code passwordRequiredType} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder passwordRequiredType(RequiredPasswordType passwordRequiredType) {
this.passwordRequiredType = passwordRequiredType;
this.changedFields = changedFields.add("passwordRequiredType");
return this;
}
/**
* “Require devices to be reported as healthy by Windows Device Health Attestation.”
*
* @param requireHealthyDeviceReport
* value of {@code requireHealthyDeviceReport} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder requireHealthyDeviceReport(Boolean requireHealthyDeviceReport) {
this.requireHealthyDeviceReport = requireHealthyDeviceReport;
this.changedFields = changedFields.add("requireHealthyDeviceReport");
return this;
}
/**
* “Require devices to be reported as healthy by Windows Device Health Attestation -
* secure boot is enabled.”
*
* @param secureBootEnabled
* value of {@code secureBootEnabled} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder secureBootEnabled(Boolean secureBootEnabled) {
this.secureBootEnabled = secureBootEnabled;
this.changedFields = changedFields.add("secureBootEnabled");
return this;
}
/**
* “Require encryption on windows devices.”
*
* @param storageRequireEncryption
* value of {@code storageRequireEncryption} property (as defined in service metadata)
* @return {@code this} (for method chaining)
*/
public Builder storageRequireEncryption(Boolean storageRequireEncryption) {
this.storageRequireEncryption = storageRequireEncryption;
this.changedFields = changedFields.add("storageRequireEncryption");
return this;
}
public Windows10CompliancePolicy build() {
Windows10CompliancePolicy _x = new Windows10CompliancePolicy();
_x.contextPath = null;
_x.changedFields = changedFields;
_x.unmappedFields = new UnmappedFieldsImpl();
_x.odataType = "microsoft.graph.windows10CompliancePolicy";
_x.id = id;
_x.createdDateTime = createdDateTime;
_x.description = description;
_x.displayName = displayName;
_x.lastModifiedDateTime = lastModifiedDateTime;
_x.version = version;
_x.assignments = assignments;
_x.deviceSettingStateSummaries = deviceSettingStateSummaries;
_x.deviceStatuses = deviceStatuses;
_x.deviceStatusOverview = deviceStatusOverview;
_x.scheduledActionsForRule = scheduledActionsForRule;
_x.userStatuses = userStatuses;
_x.userStatusOverview = userStatusOverview;
_x.bitLockerEnabled = bitLockerEnabled;
_x.codeIntegrityEnabled = codeIntegrityEnabled;
_x.earlyLaunchAntiMalwareDriverEnabled = earlyLaunchAntiMalwareDriverEnabled;
_x.mobileOsMaximumVersion = mobileOsMaximumVersion;
_x.mobileOsMinimumVersion = mobileOsMinimumVersion;
_x.osMaximumVersion = osMaximumVersion;
_x.osMinimumVersion = osMinimumVersion;
_x.passwordBlockSimple = passwordBlockSimple;
_x.passwordExpirationDays = passwordExpirationDays;
_x.passwordMinimumCharacterSetCount = passwordMinimumCharacterSetCount;
_x.passwordMinimumLength = passwordMinimumLength;
_x.passwordMinutesOfInactivityBeforeLock = passwordMinutesOfInactivityBeforeLock;
_x.passwordPreviousPasswordBlockCount = passwordPreviousPasswordBlockCount;
_x.passwordRequired = passwordRequired;
_x.passwordRequiredToUnlockFromIdle = passwordRequiredToUnlockFromIdle;
_x.passwordRequiredType = passwordRequiredType;
_x.requireHealthyDeviceReport = requireHealthyDeviceReport;
_x.secureBootEnabled = secureBootEnabled;
_x.storageRequireEncryption = storageRequireEncryption;
return _x;
}
}
@Override
@JsonIgnore
public ChangedFields getChangedFields() {
return changedFields;
}
@Override
public void postInject(boolean addKeysToContextPath) {
if (addKeysToContextPath && id != null) {
contextPath = contextPath.clearQueries().addKeys(new NameValue(id, String.class));
}
}
/**
* “Require devices to be reported healthy by Windows Device Health Attestation -
* bit locker is enabled”
*
* @return property bitLockerEnabled
*/
@Property(name="bitLockerEnabled")
@JsonIgnore
public Optional getBitLockerEnabled() {
return Optional.ofNullable(bitLockerEnabled);
}
/**
* Returns an immutable copy of {@code this} with just the {@code bitLockerEnabled}
* 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 {@code this.
* patch()} is called (if available)on the returned object only the changed fields
* are submitted.
*
* “Require devices to be reported healthy by Windows Device Health Attestation -
* bit locker is enabled”
*
* @param bitLockerEnabled
* new value of {@code bitLockerEnabled} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code bitLockerEnabled} field changed
*/
public Windows10CompliancePolicy withBitLockerEnabled(Boolean bitLockerEnabled) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("bitLockerEnabled");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.bitLockerEnabled = bitLockerEnabled;
return _x;
}
/**
* “Require devices to be reported as healthy by Windows Device Health Attestation.”
*
* @return property codeIntegrityEnabled
*/
@Property(name="codeIntegrityEnabled")
@JsonIgnore
public Optional getCodeIntegrityEnabled() {
return Optional.ofNullable(codeIntegrityEnabled);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* codeIntegrityEnabled} 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 {@code this.patch()} is called (if available)on the returned object only
* the changed fields are submitted.
*
* “Require devices to be reported as healthy by Windows Device Health Attestation.”
*
* @param codeIntegrityEnabled
* new value of {@code codeIntegrityEnabled} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code codeIntegrityEnabled} field changed
*/
public Windows10CompliancePolicy withCodeIntegrityEnabled(Boolean codeIntegrityEnabled) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("codeIntegrityEnabled");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.codeIntegrityEnabled = codeIntegrityEnabled;
return _x;
}
/**
* “Require devices to be reported as healthy by Windows Device Health Attestation -
* early launch antimalware driver is enabled.”
*
* @return property earlyLaunchAntiMalwareDriverEnabled
*/
@Property(name="earlyLaunchAntiMalwareDriverEnabled")
@JsonIgnore
public Optional getEarlyLaunchAntiMalwareDriverEnabled() {
return Optional.ofNullable(earlyLaunchAntiMalwareDriverEnabled);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* earlyLaunchAntiMalwareDriverEnabled} 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 {@code this.patch()} is called (if available)on the returned
* object only the changed fields are submitted.
*
* “Require devices to be reported as healthy by Windows Device Health Attestation -
* early launch antimalware driver is enabled.”
*
* @param earlyLaunchAntiMalwareDriverEnabled
* new value of {@code earlyLaunchAntiMalwareDriverEnabled} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code earlyLaunchAntiMalwareDriverEnabled} field changed
*/
public Windows10CompliancePolicy withEarlyLaunchAntiMalwareDriverEnabled(Boolean earlyLaunchAntiMalwareDriverEnabled) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("earlyLaunchAntiMalwareDriverEnabled");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.earlyLaunchAntiMalwareDriverEnabled = earlyLaunchAntiMalwareDriverEnabled;
return _x;
}
/**
* “Maximum Windows Phone version.”
*
* @return property mobileOsMaximumVersion
*/
@Property(name="mobileOsMaximumVersion")
@JsonIgnore
public Optional getMobileOsMaximumVersion() {
return Optional.ofNullable(mobileOsMaximumVersion);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* mobileOsMaximumVersion} 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 {@code this.patch()} is called (if available)on the returned object
* only the changed fields are submitted.
*
* “Maximum Windows Phone version.”
*
* @param mobileOsMaximumVersion
* new value of {@code mobileOsMaximumVersion} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code mobileOsMaximumVersion} field changed
*/
public Windows10CompliancePolicy withMobileOsMaximumVersion(String mobileOsMaximumVersion) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("mobileOsMaximumVersion");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.mobileOsMaximumVersion = mobileOsMaximumVersion;
return _x;
}
/**
* “Minimum Windows Phone version.”
*
* @return property mobileOsMinimumVersion
*/
@Property(name="mobileOsMinimumVersion")
@JsonIgnore
public Optional getMobileOsMinimumVersion() {
return Optional.ofNullable(mobileOsMinimumVersion);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* mobileOsMinimumVersion} 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 {@code this.patch()} is called (if available)on the returned object
* only the changed fields are submitted.
*
* “Minimum Windows Phone version.”
*
* @param mobileOsMinimumVersion
* new value of {@code mobileOsMinimumVersion} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code mobileOsMinimumVersion} field changed
*/
public Windows10CompliancePolicy withMobileOsMinimumVersion(String mobileOsMinimumVersion) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("mobileOsMinimumVersion");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.mobileOsMinimumVersion = mobileOsMinimumVersion;
return _x;
}
/**
* “Maximum Windows 10 version.”
*
* @return property osMaximumVersion
*/
@Property(name="osMaximumVersion")
@JsonIgnore
public Optional getOsMaximumVersion() {
return Optional.ofNullable(osMaximumVersion);
}
/**
* Returns an immutable copy of {@code this} with just the {@code 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 {@code this.
* patch()} is called (if available)on the returned object only the changed fields
* are submitted.
*
* “Maximum Windows 10 version.”
*
* @param osMaximumVersion
* new value of {@code osMaximumVersion} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code osMaximumVersion} field changed
*/
public Windows10CompliancePolicy withOsMaximumVersion(String osMaximumVersion) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("osMaximumVersion");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.osMaximumVersion = osMaximumVersion;
return _x;
}
/**
* “Minimum Windows 10 version.”
*
* @return property osMinimumVersion
*/
@Property(name="osMinimumVersion")
@JsonIgnore
public Optional getOsMinimumVersion() {
return Optional.ofNullable(osMinimumVersion);
}
/**
* Returns an immutable copy of {@code this} with just the {@code 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 {@code this.
* patch()} is called (if available)on the returned object only the changed fields
* are submitted.
*
* “Minimum Windows 10 version.”
*
* @param osMinimumVersion
* new value of {@code osMinimumVersion} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code osMinimumVersion} field changed
*/
public Windows10CompliancePolicy withOsMinimumVersion(String osMinimumVersion) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("osMinimumVersion");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.osMinimumVersion = osMinimumVersion;
return _x;
}
/**
* “Indicates whether or not to block simple password.”
*
* @return property passwordBlockSimple
*/
@Property(name="passwordBlockSimple")
@JsonIgnore
public Optional getPasswordBlockSimple() {
return Optional.ofNullable(passwordBlockSimple);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* passwordBlockSimple} 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 {@code this.patch()} is called (if available)on the returned object only
* the changed fields are submitted.
*
* “Indicates whether or not to block simple password.”
*
* @param passwordBlockSimple
* new value of {@code passwordBlockSimple} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code passwordBlockSimple} field changed
*/
public Windows10CompliancePolicy withPasswordBlockSimple(Boolean passwordBlockSimple) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("passwordBlockSimple");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.passwordBlockSimple = passwordBlockSimple;
return _x;
}
/**
* “The password expiration in days.”
*
* @return property passwordExpirationDays
*/
@Property(name="passwordExpirationDays")
@JsonIgnore
public Optional getPasswordExpirationDays() {
return Optional.ofNullable(passwordExpirationDays);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* passwordExpirationDays} 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 {@code this.patch()} is called (if available)on the returned object
* only the changed fields are submitted.
*
* “The password expiration in days.”
*
* @param passwordExpirationDays
* new value of {@code passwordExpirationDays} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code passwordExpirationDays} field changed
*/
public Windows10CompliancePolicy withPasswordExpirationDays(Integer passwordExpirationDays) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("passwordExpirationDays");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.passwordExpirationDays = passwordExpirationDays;
return _x;
}
/**
* “The number of character sets required in the password.”
*
* @return property passwordMinimumCharacterSetCount
*/
@Property(name="passwordMinimumCharacterSetCount")
@JsonIgnore
public Optional getPasswordMinimumCharacterSetCount() {
return Optional.ofNullable(passwordMinimumCharacterSetCount);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* passwordMinimumCharacterSetCount} 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 {@code 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.”
*
* @param passwordMinimumCharacterSetCount
* new value of {@code passwordMinimumCharacterSetCount} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code passwordMinimumCharacterSetCount} field changed
*/
public Windows10CompliancePolicy withPasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("passwordMinimumCharacterSetCount");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.passwordMinimumCharacterSetCount = passwordMinimumCharacterSetCount;
return _x;
}
/**
* “The minimum password length.”
*
* @return property passwordMinimumLength
*/
@Property(name="passwordMinimumLength")
@JsonIgnore
public Optional getPasswordMinimumLength() {
return Optional.ofNullable(passwordMinimumLength);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* passwordMinimumLength} 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 {@code this.patch()} is called (if available)on the returned object only
* the changed fields are submitted.
*
* “The minimum password length.”
*
* @param passwordMinimumLength
* new value of {@code passwordMinimumLength} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code passwordMinimumLength} field changed
*/
public Windows10CompliancePolicy withPasswordMinimumLength(Integer passwordMinimumLength) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("passwordMinimumLength");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.passwordMinimumLength = passwordMinimumLength;
return _x;
}
/**
* “Minutes of inactivity before a password is required.”
*
* @return property passwordMinutesOfInactivityBeforeLock
*/
@Property(name="passwordMinutesOfInactivityBeforeLock")
@JsonIgnore
public Optional getPasswordMinutesOfInactivityBeforeLock() {
return Optional.ofNullable(passwordMinutesOfInactivityBeforeLock);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* passwordMinutesOfInactivityBeforeLock} 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 {@code this.patch()} is called (if available)on the
* returned object only the changed fields are submitted.
*
* “Minutes of inactivity before a password is required.”
*
* @param passwordMinutesOfInactivityBeforeLock
* new value of {@code passwordMinutesOfInactivityBeforeLock} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code passwordMinutesOfInactivityBeforeLock} field changed
*/
public Windows10CompliancePolicy withPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("passwordMinutesOfInactivityBeforeLock");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.passwordMinutesOfInactivityBeforeLock = passwordMinutesOfInactivityBeforeLock;
return _x;
}
/**
* “The number of previous passwords to prevent re-use of.”
*
* @return property passwordPreviousPasswordBlockCount
*/
@Property(name="passwordPreviousPasswordBlockCount")
@JsonIgnore
public Optional getPasswordPreviousPasswordBlockCount() {
return Optional.ofNullable(passwordPreviousPasswordBlockCount);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* passwordPreviousPasswordBlockCount} 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 {@code this.patch()} is called (if available)on the returned
* object only the changed fields are submitted.
*
* “The number of previous passwords to prevent re-use of.”
*
* @param passwordPreviousPasswordBlockCount
* new value of {@code passwordPreviousPasswordBlockCount} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code passwordPreviousPasswordBlockCount} field changed
*/
public Windows10CompliancePolicy withPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("passwordPreviousPasswordBlockCount");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.passwordPreviousPasswordBlockCount = passwordPreviousPasswordBlockCount;
return _x;
}
/**
* “Require a password to unlock Windows device.”
*
* @return property passwordRequired
*/
@Property(name="passwordRequired")
@JsonIgnore
public Optional getPasswordRequired() {
return Optional.ofNullable(passwordRequired);
}
/**
* Returns an immutable copy of {@code this} with just the {@code passwordRequired}
* 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 {@code this.
* patch()} is called (if available)on the returned object only the changed fields
* are submitted.
*
* “Require a password to unlock Windows device.”
*
* @param passwordRequired
* new value of {@code passwordRequired} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code passwordRequired} field changed
*/
public Windows10CompliancePolicy withPasswordRequired(Boolean passwordRequired) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("passwordRequired");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.passwordRequired = passwordRequired;
return _x;
}
/**
* “Require a password to unlock an idle device.”
*
* @return property passwordRequiredToUnlockFromIdle
*/
@Property(name="passwordRequiredToUnlockFromIdle")
@JsonIgnore
public Optional getPasswordRequiredToUnlockFromIdle() {
return Optional.ofNullable(passwordRequiredToUnlockFromIdle);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* passwordRequiredToUnlockFromIdle} 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 {@code this.patch()} is called (if available)on the returned
* object only the changed fields are submitted.
*
* “Require a password to unlock an idle device.”
*
* @param passwordRequiredToUnlockFromIdle
* new value of {@code passwordRequiredToUnlockFromIdle} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code passwordRequiredToUnlockFromIdle} field changed
*/
public Windows10CompliancePolicy withPasswordRequiredToUnlockFromIdle(Boolean passwordRequiredToUnlockFromIdle) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("passwordRequiredToUnlockFromIdle");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.passwordRequiredToUnlockFromIdle = passwordRequiredToUnlockFromIdle;
return _x;
}
/**
* “The required password type.”
*
* @return property passwordRequiredType
*/
@Property(name="passwordRequiredType")
@JsonIgnore
public Optional getPasswordRequiredType() {
return Optional.ofNullable(passwordRequiredType);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* passwordRequiredType} 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 {@code this.patch()} is called (if available)on the returned object only
* the changed fields are submitted.
*
* “The required password type.”
*
* @param passwordRequiredType
* new value of {@code passwordRequiredType} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code passwordRequiredType} field changed
*/
public Windows10CompliancePolicy withPasswordRequiredType(RequiredPasswordType passwordRequiredType) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("passwordRequiredType");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.passwordRequiredType = passwordRequiredType;
return _x;
}
/**
* “Require devices to be reported as healthy by Windows Device Health Attestation.”
*
* @return property requireHealthyDeviceReport
*/
@Property(name="requireHealthyDeviceReport")
@JsonIgnore
public Optional getRequireHealthyDeviceReport() {
return Optional.ofNullable(requireHealthyDeviceReport);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* requireHealthyDeviceReport} 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 {@code this.patch()} is called (if available)on the returned object
* only the changed fields are submitted.
*
* “Require devices to be reported as healthy by Windows Device Health Attestation.”
*
* @param requireHealthyDeviceReport
* new value of {@code requireHealthyDeviceReport} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code requireHealthyDeviceReport} field changed
*/
public Windows10CompliancePolicy withRequireHealthyDeviceReport(Boolean requireHealthyDeviceReport) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("requireHealthyDeviceReport");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.requireHealthyDeviceReport = requireHealthyDeviceReport;
return _x;
}
/**
* “Require devices to be reported as healthy by Windows Device Health Attestation -
* secure boot is enabled.”
*
* @return property secureBootEnabled
*/
@Property(name="secureBootEnabled")
@JsonIgnore
public Optional getSecureBootEnabled() {
return Optional.ofNullable(secureBootEnabled);
}
/**
* Returns an immutable copy of {@code this} with just the {@code secureBootEnabled
* } 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 {@code this.
* patch()} is called (if available)on the returned object only the changed fields
* are submitted.
*
* “Require devices to be reported as healthy by Windows Device Health Attestation -
* secure boot is enabled.”
*
* @param secureBootEnabled
* new value of {@code secureBootEnabled} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code secureBootEnabled} field changed
*/
public Windows10CompliancePolicy withSecureBootEnabled(Boolean secureBootEnabled) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("secureBootEnabled");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.secureBootEnabled = secureBootEnabled;
return _x;
}
/**
* “Require encryption on windows devices.”
*
* @return property storageRequireEncryption
*/
@Property(name="storageRequireEncryption")
@JsonIgnore
public Optional getStorageRequireEncryption() {
return Optional.ofNullable(storageRequireEncryption);
}
/**
* Returns an immutable copy of {@code this} with just the {@code
* storageRequireEncryption} 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 {@code this.patch()} is called (if available)on the returned object
* only the changed fields are submitted.
*
* “Require encryption on windows devices.”
*
* @param storageRequireEncryption
* new value of {@code storageRequireEncryption} field (as defined in service metadata)
* @return immutable copy of {@code this} with just the {@code storageRequireEncryption} field changed
*/
public Windows10CompliancePolicy withStorageRequireEncryption(Boolean storageRequireEncryption) {
Windows10CompliancePolicy _x = _copy();
_x.changedFields = changedFields.add("storageRequireEncryption");
_x.odataType = Util.nvl(odataType, "microsoft.graph.windows10CompliancePolicy");
_x.storageRequireEncryption = storageRequireEncryption;
return _x;
}
public Windows10CompliancePolicy withUnmappedField(String name, Object value) {
Windows10CompliancePolicy _x = _copy();
_x.setUnmappedField(name, value);
return _x;
}
@JsonAnySetter
private void setUnmappedField(String name, Object value) {
if (unmappedFields == null) {
unmappedFields = new UnmappedFieldsImpl();
}
unmappedFields.put(name, value);
}
@JsonAnyGetter
private UnmappedFieldsImpl unmappedFields() {
return unmappedFields == null ? UnmappedFieldsImpl.EMPTY : unmappedFields;
}
@Override
public UnmappedFields getUnmappedFields() {
return unmappedFields();
}
/**
* Submits only changed fields for update and returns an
* immutable copy of {@code this} with changed fields reset.
*
* @return a copy of {@code this} with changed fields reset
* @throws ClientException if HTTP response is not as expected
*/
public Windows10CompliancePolicy patch() {
RequestHelper.patch(this, contextPath, RequestOptions.EMPTY);
Windows10CompliancePolicy _x = _copy();
_x.changedFields = null;
return _x;
}
/**
* Submits all fields for update and returns an immutable copy of {@code this}
* with changed fields reset (they were ignored anyway).
*
* @return a copy of {@code this} with changed fields reset
* @throws ClientException if HTTP response is not as expected
*/
public Windows10CompliancePolicy put() {
RequestHelper.put(this, contextPath, RequestOptions.EMPTY);
Windows10CompliancePolicy _x = _copy();
_x.changedFields = null;
return _x;
}
private Windows10CompliancePolicy _copy() {
Windows10CompliancePolicy _x = new Windows10CompliancePolicy();
_x.contextPath = contextPath;
_x.changedFields = changedFields;
_x.unmappedFields = unmappedFields.copy();
_x.odataType = odataType;
_x.id = id;
_x.createdDateTime = createdDateTime;
_x.description = description;
_x.displayName = displayName;
_x.lastModifiedDateTime = lastModifiedDateTime;
_x.version = version;
_x.assignments = assignments;
_x.deviceSettingStateSummaries = deviceSettingStateSummaries;
_x.deviceStatuses = deviceStatuses;
_x.deviceStatusOverview = deviceStatusOverview;
_x.scheduledActionsForRule = scheduledActionsForRule;
_x.userStatuses = userStatuses;
_x.userStatusOverview = userStatusOverview;
_x.bitLockerEnabled = bitLockerEnabled;
_x.codeIntegrityEnabled = codeIntegrityEnabled;
_x.earlyLaunchAntiMalwareDriverEnabled = earlyLaunchAntiMalwareDriverEnabled;
_x.mobileOsMaximumVersion = mobileOsMaximumVersion;
_x.mobileOsMinimumVersion = mobileOsMinimumVersion;
_x.osMaximumVersion = osMaximumVersion;
_x.osMinimumVersion = osMinimumVersion;
_x.passwordBlockSimple = passwordBlockSimple;
_x.passwordExpirationDays = passwordExpirationDays;
_x.passwordMinimumCharacterSetCount = passwordMinimumCharacterSetCount;
_x.passwordMinimumLength = passwordMinimumLength;
_x.passwordMinutesOfInactivityBeforeLock = passwordMinutesOfInactivityBeforeLock;
_x.passwordPreviousPasswordBlockCount = passwordPreviousPasswordBlockCount;
_x.passwordRequired = passwordRequired;
_x.passwordRequiredToUnlockFromIdle = passwordRequiredToUnlockFromIdle;
_x.passwordRequiredType = passwordRequiredType;
_x.requireHealthyDeviceReport = requireHealthyDeviceReport;
_x.secureBootEnabled = secureBootEnabled;
_x.storageRequireEncryption = storageRequireEncryption;
return _x;
}
@Override
public String toString() {
StringBuilder b = new StringBuilder();
b.append("Windows10CompliancePolicy[");
b.append("id=");
b.append(this.id);
b.append(", ");
b.append("createdDateTime=");
b.append(this.createdDateTime);
b.append(", ");
b.append("description=");
b.append(this.description);
b.append(", ");
b.append("displayName=");
b.append(this.displayName);
b.append(", ");
b.append("lastModifiedDateTime=");
b.append(this.lastModifiedDateTime);
b.append(", ");
b.append("version=");
b.append(this.version);
b.append(", ");
b.append("assignments=");
b.append(this.assignments);
b.append(", ");
b.append("deviceSettingStateSummaries=");
b.append(this.deviceSettingStateSummaries);
b.append(", ");
b.append("deviceStatuses=");
b.append(this.deviceStatuses);
b.append(", ");
b.append("deviceStatusOverview=");
b.append(this.deviceStatusOverview);
b.append(", ");
b.append("scheduledActionsForRule=");
b.append(this.scheduledActionsForRule);
b.append(", ");
b.append("userStatuses=");
b.append(this.userStatuses);
b.append(", ");
b.append("userStatusOverview=");
b.append(this.userStatusOverview);
b.append(", ");
b.append("bitLockerEnabled=");
b.append(this.bitLockerEnabled);
b.append(", ");
b.append("codeIntegrityEnabled=");
b.append(this.codeIntegrityEnabled);
b.append(", ");
b.append("earlyLaunchAntiMalwareDriverEnabled=");
b.append(this.earlyLaunchAntiMalwareDriverEnabled);
b.append(", ");
b.append("mobileOsMaximumVersion=");
b.append(this.mobileOsMaximumVersion);
b.append(", ");
b.append("mobileOsMinimumVersion=");
b.append(this.mobileOsMinimumVersion);
b.append(", ");
b.append("osMaximumVersion=");
b.append(this.osMaximumVersion);
b.append(", ");
b.append("osMinimumVersion=");
b.append(this.osMinimumVersion);
b.append(", ");
b.append("passwordBlockSimple=");
b.append(this.passwordBlockSimple);
b.append(", ");
b.append("passwordExpirationDays=");
b.append(this.passwordExpirationDays);
b.append(", ");
b.append("passwordMinimumCharacterSetCount=");
b.append(this.passwordMinimumCharacterSetCount);
b.append(", ");
b.append("passwordMinimumLength=");
b.append(this.passwordMinimumLength);
b.append(", ");
b.append("passwordMinutesOfInactivityBeforeLock=");
b.append(this.passwordMinutesOfInactivityBeforeLock);
b.append(", ");
b.append("passwordPreviousPasswordBlockCount=");
b.append(this.passwordPreviousPasswordBlockCount);
b.append(", ");
b.append("passwordRequired=");
b.append(this.passwordRequired);
b.append(", ");
b.append("passwordRequiredToUnlockFromIdle=");
b.append(this.passwordRequiredToUnlockFromIdle);
b.append(", ");
b.append("passwordRequiredType=");
b.append(this.passwordRequiredType);
b.append(", ");
b.append("requireHealthyDeviceReport=");
b.append(this.requireHealthyDeviceReport);
b.append(", ");
b.append("secureBootEnabled=");
b.append(this.secureBootEnabled);
b.append(", ");
b.append("storageRequireEncryption=");
b.append(this.storageRequireEncryption);
b.append("]");
b.append(",unmappedFields=");
b.append(unmappedFields);
b.append(",odataType=");
b.append(odataType);
return b.toString();
}
}