Package odata.msgraph.client.entity
Class MacOSGeneralDeviceConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceConfiguration
-
- odata.msgraph.client.entity.MacOSGeneralDeviceConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MacOSGeneralDeviceConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“This topic provides descriptions of the declared methods, properties and relationships exposed by the macOSGeneralDeviceConfiguration resource.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSGeneralDeviceConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected AppListTypecompliantAppListTypeprotected List<AppListItem>compliantAppsListprotected StringcompliantAppsListNextLinkprotected List<String>emailInDomainSuffixesprotected StringemailInDomainSuffixesNextLinkprotected BooleanpasswordBlockSimpleprotected IntegerpasswordExpirationDaysprotected IntegerpasswordMinimumCharacterSetCountprotected IntegerpasswordMinimumLengthprotected IntegerpasswordMinutesOfInactivityBeforeLockprotected IntegerpasswordMinutesOfInactivityBeforeScreenTimeoutprotected IntegerpasswordPreviousPasswordBlockCountprotected BooleanpasswordRequiredprotected RequiredPasswordTypepasswordRequiredType-
Fields inherited from class odata.msgraph.client.entity.DeviceConfiguration
createdDateTime, description, displayName, lastModifiedDateTime, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMacOSGeneralDeviceConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSGeneralDeviceConfiguration.BuilderbuilderMacOSGeneralDeviceConfiguration()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.ChangedFieldsgetChangedFields()Optional<AppListType>getCompliantAppListType()“List that is in the CompliantAppsList.”com.github.davidmoten.odata.client.CollectionPage<AppListItem>getCompliantAppsList()“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType).com.github.davidmoten.odata.client.CollectionPage<AppListItem>getCompliantAppsList(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType).com.github.davidmoten.odata.client.CollectionPage<String>getEmailInDomainSuffixes()“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”com.github.davidmoten.odata.client.CollectionPage<String>getEmailInDomainSuffixes(com.github.davidmoten.odata.client.HttpRequestOptions options)“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”Optional<Boolean>getPasswordBlockSimple()“Block simple passwords.”Optional<Integer>getPasswordExpirationDays()“Number of days before the password expires.”Optional<Integer>getPasswordMinimumCharacterSetCount()“Number of character sets a password must contain.Optional<Integer>getPasswordMinimumLength()“Minimum length of passwords.”Optional<Integer>getPasswordMinutesOfInactivityBeforeLock()“Minutes of inactivity required before a password is required.”Optional<Integer>getPasswordMinutesOfInactivityBeforeScreenTimeout()“Minutes of inactivity required before the screen times out.”Optional<Integer>getPasswordPreviousPasswordBlockCount()“Number of previous passwords to block.”Optional<Boolean>getPasswordRequired()“Whether or not to require a password.”Optional<RequiredPasswordType>getPasswordRequiredType()“Type of password that is required.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MacOSGeneralDeviceConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MacOSGeneralDeviceConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MacOSGeneralDeviceConfigurationwithCompliantAppListType(AppListType compliantAppListType)Returns an immutable copy ofthiswith just thecompliantAppListTypefield changed.MacOSGeneralDeviceConfigurationwithCompliantAppsList(List<AppListItem> compliantAppsList)Returns an immutable copy ofthiswith just thecompliantAppsListfield changed.MacOSGeneralDeviceConfigurationwithEmailInDomainSuffixes(List<String> emailInDomainSuffixes)Returns an immutable copy ofthiswith just theemailInDomainSuffixesfield changed.MacOSGeneralDeviceConfigurationwithPasswordBlockSimple(Boolean passwordBlockSimple)Returns an immutable copy ofthiswith just thepasswordBlockSimplefield changed.MacOSGeneralDeviceConfigurationwithPasswordExpirationDays(Integer passwordExpirationDays)Returns an immutable copy ofthiswith just thepasswordExpirationDaysfield changed.MacOSGeneralDeviceConfigurationwithPasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)Returns an immutable copy ofthiswith just thepasswordMinimumCharacterSetCountfield changed.MacOSGeneralDeviceConfigurationwithPasswordMinimumLength(Integer passwordMinimumLength)Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed.MacOSGeneralDeviceConfigurationwithPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeLockfield changed.MacOSGeneralDeviceConfigurationwithPasswordMinutesOfInactivityBeforeScreenTimeout(Integer passwordMinutesOfInactivityBeforeScreenTimeout)Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeScreenTimeoutfield changed.MacOSGeneralDeviceConfigurationwithPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)Returns an immutable copy ofthiswith just thepasswordPreviousPasswordBlockCountfield changed.MacOSGeneralDeviceConfigurationwithPasswordRequired(Boolean passwordRequired)Returns an immutable copy ofthiswith just thepasswordRequiredfield changed.MacOSGeneralDeviceConfigurationwithPasswordRequiredType(RequiredPasswordType passwordRequiredType)Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed.MacOSGeneralDeviceConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.entity.DeviceConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getOmaSettingPlainTextValue, getUserStatuses, getUserStatusOverview, getVersion, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersion
-
-
-
-
Field Detail
-
compliantAppListType
protected AppListType compliantAppListType
-
compliantAppsList
protected List<AppListItem> compliantAppsList
-
compliantAppsListNextLink
protected String compliantAppsListNextLink
-
emailInDomainSuffixesNextLink
protected String emailInDomainSuffixesNextLink
-
passwordBlockSimple
protected Boolean passwordBlockSimple
-
passwordExpirationDays
protected Integer passwordExpirationDays
-
passwordMinimumCharacterSetCount
protected Integer passwordMinimumCharacterSetCount
-
passwordMinimumLength
protected Integer passwordMinimumLength
-
passwordMinutesOfInactivityBeforeLock
protected Integer passwordMinutesOfInactivityBeforeLock
-
passwordMinutesOfInactivityBeforeScreenTimeout
protected Integer passwordMinutesOfInactivityBeforeScreenTimeout
-
passwordPreviousPasswordBlockCount
protected Integer passwordPreviousPasswordBlockCount
-
passwordRequired
protected Boolean passwordRequired
-
passwordRequiredType
protected RequiredPasswordType passwordRequiredType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderMacOSGeneralDeviceConfiguration
public static MacOSGeneralDeviceConfiguration.Builder builderMacOSGeneralDeviceConfiguration()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getCompliantAppListType
public Optional<AppListType> getCompliantAppListType()
“List that is in the CompliantAppsList.”- Returns:
- property compliantAppListType
-
withCompliantAppListType
public MacOSGeneralDeviceConfiguration withCompliantAppListType(AppListType compliantAppListType)
Returns an immutable copy ofthiswith just thecompliantAppListTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“List that is in the CompliantAppsList.”
- Parameters:
compliantAppListType- new value ofcompliantAppListTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantAppListTypefield changed
-
getCompliantAppsList
public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getCompliantAppsList()
“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”- Returns:
- property compliantAppsList
-
withCompliantAppsList
public MacOSGeneralDeviceConfiguration withCompliantAppsList(List<AppListItem> compliantAppsList)
Returns an immutable copy ofthiswith just thecompliantAppsListfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”
- Parameters:
compliantAppsList- new value ofcompliantAppsListfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompliantAppsListfield changed
-
getCompliantAppsList
public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getCompliantAppsList(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property compliantAppsList
-
getEmailInDomainSuffixes
public com.github.davidmoten.odata.client.CollectionPage<String> getEmailInDomainSuffixes()
“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”- Returns:
- property emailInDomainSuffixes
-
withEmailInDomainSuffixes
public MacOSGeneralDeviceConfiguration withEmailInDomainSuffixes(List<String> emailInDomainSuffixes)
Returns an immutable copy ofthiswith just theemailInDomainSuffixesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”
- Parameters:
emailInDomainSuffixes- new value ofemailInDomainSuffixesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theemailInDomainSuffixesfield changed
-
getEmailInDomainSuffixes
public com.github.davidmoten.odata.client.CollectionPage<String> getEmailInDomainSuffixes(com.github.davidmoten.odata.client.HttpRequestOptions options)
“An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”- Parameters:
options- specify connect and read timeouts- Returns:
- property emailInDomainSuffixes
-
getPasswordBlockSimple
public Optional<Boolean> getPasswordBlockSimple()
“Block simple passwords.”- Returns:
- property passwordBlockSimple
-
withPasswordBlockSimple
public MacOSGeneralDeviceConfiguration withPasswordBlockSimple(Boolean passwordBlockSimple)
Returns an immutable copy ofthiswith just thepasswordBlockSimplefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Block simple passwords.”
- Parameters:
passwordBlockSimple- new value ofpasswordBlockSimplefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordBlockSimplefield changed
-
getPasswordExpirationDays
public Optional<Integer> getPasswordExpirationDays()
“Number of days before the password expires.”- Returns:
- property passwordExpirationDays
-
withPasswordExpirationDays
public MacOSGeneralDeviceConfiguration withPasswordExpirationDays(Integer passwordExpirationDays)
Returns an immutable copy ofthiswith just thepasswordExpirationDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of days before the password expires.”
- Parameters:
passwordExpirationDays- new value ofpasswordExpirationDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordExpirationDaysfield changed
-
getPasswordMinimumCharacterSetCount
public Optional<Integer> getPasswordMinimumCharacterSetCount()
“Number of character sets a password must contain. Valid values 0 to 4”- Returns:
- property passwordMinimumCharacterSetCount
-
withPasswordMinimumCharacterSetCount
public MacOSGeneralDeviceConfiguration withPasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)
Returns an immutable copy ofthiswith just thepasswordMinimumCharacterSetCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of character sets a password must contain. Valid values 0 to 4”
- Parameters:
passwordMinimumCharacterSetCount- new value ofpasswordMinimumCharacterSetCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumCharacterSetCountfield changed
-
getPasswordMinimumLength
public Optional<Integer> getPasswordMinimumLength()
“Minimum length of passwords.”- Returns:
- property passwordMinimumLength
-
withPasswordMinimumLength
public MacOSGeneralDeviceConfiguration withPasswordMinimumLength(Integer passwordMinimumLength)
Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minimum length of passwords.”
- Parameters:
passwordMinimumLength- new value ofpasswordMinimumLengthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinimumLengthfield changed
-
getPasswordMinutesOfInactivityBeforeLock
public Optional<Integer> getPasswordMinutesOfInactivityBeforeLock()
“Minutes of inactivity required before a password is required.”- Returns:
- property passwordMinutesOfInactivityBeforeLock
-
withPasswordMinutesOfInactivityBeforeLock
public MacOSGeneralDeviceConfiguration withPasswordMinutesOfInactivityBeforeLock(Integer passwordMinutesOfInactivityBeforeLock)
Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeLockfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minutes of inactivity required before a password is required.”
- Parameters:
passwordMinutesOfInactivityBeforeLock- new value ofpasswordMinutesOfInactivityBeforeLockfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinutesOfInactivityBeforeLockfield changed
-
getPasswordMinutesOfInactivityBeforeScreenTimeout
public Optional<Integer> getPasswordMinutesOfInactivityBeforeScreenTimeout()
“Minutes of inactivity required before the screen times out.”- Returns:
- property passwordMinutesOfInactivityBeforeScreenTimeout
-
withPasswordMinutesOfInactivityBeforeScreenTimeout
public MacOSGeneralDeviceConfiguration withPasswordMinutesOfInactivityBeforeScreenTimeout(Integer passwordMinutesOfInactivityBeforeScreenTimeout)
Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeScreenTimeoutfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Minutes of inactivity required before the screen times out.”
- Parameters:
passwordMinutesOfInactivityBeforeScreenTimeout- new value ofpasswordMinutesOfInactivityBeforeScreenTimeoutfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMinutesOfInactivityBeforeScreenTimeoutfield changed
-
getPasswordPreviousPasswordBlockCount
public Optional<Integer> getPasswordPreviousPasswordBlockCount()
“Number of previous passwords to block.”- Returns:
- property passwordPreviousPasswordBlockCount
-
withPasswordPreviousPasswordBlockCount
public MacOSGeneralDeviceConfiguration withPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)
Returns an immutable copy ofthiswith just thepasswordPreviousPasswordBlockCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of previous passwords to block.”
- Parameters:
passwordPreviousPasswordBlockCount- new value ofpasswordPreviousPasswordBlockCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordPreviousPasswordBlockCountfield changed
-
getPasswordRequired
public Optional<Boolean> getPasswordRequired()
“Whether or not to require a password.”- Returns:
- property passwordRequired
-
withPasswordRequired
public MacOSGeneralDeviceConfiguration withPasswordRequired(Boolean passwordRequired)
Returns an immutable copy ofthiswith just thepasswordRequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Whether or not to require a password.”
- Parameters:
passwordRequired- new value ofpasswordRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredfield changed
-
getPasswordRequiredType
public Optional<RequiredPasswordType> getPasswordRequiredType()
“Type of password that is required.”- Returns:
- property passwordRequiredType
-
withPasswordRequiredType
public MacOSGeneralDeviceConfiguration withPasswordRequiredType(RequiredPasswordType passwordRequiredType)
Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Type of password that is required.”
- Parameters:
passwordRequiredType- new value ofpasswordRequiredTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredTypefield changed
-
withUnmappedField
public MacOSGeneralDeviceConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public MacOSGeneralDeviceConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public MacOSGeneralDeviceConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceConfiguration
-
-