Class WindowsPhone81GeneralConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceConfiguration
-
- odata.msgraph.client.entity.WindowsPhone81GeneralConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsPhone81GeneralConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“This topic provides descriptions of the declared methods, properties and relationships exposed by the windowsPhone81GeneralConfiguration resource.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsPhone81GeneralConfiguration.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.DeviceConfiguration
assignments, createdDateTime, description, deviceSettingStateSummaries, deviceStatuses, deviceStatusOverview, displayName, lastModifiedDateTime, userStatuses, userStatusOverview, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsPhone81GeneralConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsPhone81GeneralConfiguration.BuilderbuilderWindowsPhone81GeneralConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getApplyOnlyToWindowsPhone81()“Value indicating whether this policy only applies to Windows Phone 8.1.Optional<Boolean>getAppsBlockCopyPaste()“Indicates whether or not to block copy paste.”Optional<Boolean>getBluetoothBlocked()“Indicates whether or not to block bluetooth.”Optional<Boolean>getCameraBlocked()“Indicates whether or not to block camera.”Optional<Boolean>getCellularBlockWifiTethering()“Indicates whether or not to block Wi-Fi tethering.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<AppListType>getCompliantAppListType()“List that is in the AppComplianceList.”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).Optional<Boolean>getDiagnosticDataBlockSubmission()“Indicates whether or not to block diagnostic data submission.”Optional<Boolean>getEmailBlockAddingAccounts()“Indicates whether or not to block custom email accounts.”Optional<Boolean>getLocationServicesBlocked()“Indicates whether or not to block location services.”Optional<Boolean>getMicrosoftAccountBlocked()“Indicates whether or not to block using a Microsoft Account.”Optional<Boolean>getNfcBlocked()“Indicates whether or not to block Near-Field Communication.”Optional<Boolean>getPasswordBlockSimple()“Indicates whether or not to block syncing the calendar.”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>getPasswordMinutesOfInactivityBeforeScreenTimeout()“Minutes of inactivity before screen timeout.”Optional<Integer>getPasswordPreviousPasswordBlockCount()“Number of previous passwords to block.Optional<Boolean>getPasswordRequired()“Indicates whether or not to require a password.”Optional<RequiredPasswordType>getPasswordRequiredType()“Password type that is required.”Optional<Integer>getPasswordSignInFailureCountBeforeFactoryReset()“Number of sign in failures allowed before factory reset.”Optional<Boolean>getScreenCaptureBlocked()“Indicates whether or not to block screenshots.”Optional<Boolean>getStorageBlockRemovableStorage()“Indicates whether or not to block removable storage.”Optional<Boolean>getStorageRequireEncryption()“Indicates whether or not to require encryption.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getWebBrowserBlocked()“Indicates whether or not to block the web browser.”Optional<Boolean>getWifiBlockAutomaticConnectHotspots()“Indicates whether or not to block automatically connecting to Wi-Fi hotspots.Optional<Boolean>getWifiBlocked()“Indicates whether or not to block Wi-Fi.”Optional<Boolean>getWifiBlockHotspotReporting()“Indicates whether or not to block Wi-Fi hotspot reporting.Optional<Boolean>getWindowsStoreBlocked()“Indicates whether or not to block the Windows Store.”StringodataTypeName()WindowsPhone81GeneralConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsPhone81GeneralConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsPhone81GeneralConfigurationwithApplyOnlyToWindowsPhone81(Boolean applyOnlyToWindowsPhone81)Returns an immutable copy ofthiswith just theapplyOnlyToWindowsPhone81field changed.WindowsPhone81GeneralConfigurationwithAppsBlockCopyPaste(Boolean appsBlockCopyPaste)Returns an immutable copy ofthiswith just theappsBlockCopyPastefield changed.WindowsPhone81GeneralConfigurationwithBluetoothBlocked(Boolean bluetoothBlocked)Returns an immutable copy ofthiswith just thebluetoothBlockedfield changed.WindowsPhone81GeneralConfigurationwithCameraBlocked(Boolean cameraBlocked)Returns an immutable copy ofthiswith just thecameraBlockedfield changed.WindowsPhone81GeneralConfigurationwithCellularBlockWifiTethering(Boolean cellularBlockWifiTethering)Returns an immutable copy ofthiswith just thecellularBlockWifiTetheringfield changed.WindowsPhone81GeneralConfigurationwithCompliantAppListType(AppListType compliantAppListType)Returns an immutable copy ofthiswith just thecompliantAppListTypefield changed.WindowsPhone81GeneralConfigurationwithCompliantAppsList(List<AppListItem> compliantAppsList)Returns an immutable copy ofthiswith just thecompliantAppsListfield changed.WindowsPhone81GeneralConfigurationwithDiagnosticDataBlockSubmission(Boolean diagnosticDataBlockSubmission)Returns an immutable copy ofthiswith just thediagnosticDataBlockSubmissionfield changed.WindowsPhone81GeneralConfigurationwithEmailBlockAddingAccounts(Boolean emailBlockAddingAccounts)Returns an immutable copy ofthiswith just theemailBlockAddingAccountsfield changed.WindowsPhone81GeneralConfigurationwithLocationServicesBlocked(Boolean locationServicesBlocked)Returns an immutable copy ofthiswith just thelocationServicesBlockedfield changed.WindowsPhone81GeneralConfigurationwithMicrosoftAccountBlocked(Boolean microsoftAccountBlocked)Returns an immutable copy ofthiswith just themicrosoftAccountBlockedfield changed.WindowsPhone81GeneralConfigurationwithNfcBlocked(Boolean nfcBlocked)Returns an immutable copy ofthiswith just thenfcBlockedfield changed.WindowsPhone81GeneralConfigurationwithPasswordBlockSimple(Boolean passwordBlockSimple)Returns an immutable copy ofthiswith just thepasswordBlockSimplefield changed.WindowsPhone81GeneralConfigurationwithPasswordExpirationDays(Integer passwordExpirationDays)Returns an immutable copy ofthiswith just thepasswordExpirationDaysfield changed.WindowsPhone81GeneralConfigurationwithPasswordMinimumCharacterSetCount(Integer passwordMinimumCharacterSetCount)Returns an immutable copy ofthiswith just thepasswordMinimumCharacterSetCountfield changed.WindowsPhone81GeneralConfigurationwithPasswordMinimumLength(Integer passwordMinimumLength)Returns an immutable copy ofthiswith just thepasswordMinimumLengthfield changed.WindowsPhone81GeneralConfigurationwithPasswordMinutesOfInactivityBeforeScreenTimeout(Integer passwordMinutesOfInactivityBeforeScreenTimeout)Returns an immutable copy ofthiswith just thepasswordMinutesOfInactivityBeforeScreenTimeoutfield changed.WindowsPhone81GeneralConfigurationwithPasswordPreviousPasswordBlockCount(Integer passwordPreviousPasswordBlockCount)Returns an immutable copy ofthiswith just thepasswordPreviousPasswordBlockCountfield changed.WindowsPhone81GeneralConfigurationwithPasswordRequired(Boolean passwordRequired)Returns an immutable copy ofthiswith just thepasswordRequiredfield changed.WindowsPhone81GeneralConfigurationwithPasswordRequiredType(RequiredPasswordType passwordRequiredType)Returns an immutable copy ofthiswith just thepasswordRequiredTypefield changed.WindowsPhone81GeneralConfigurationwithPasswordSignInFailureCountBeforeFactoryReset(Integer passwordSignInFailureCountBeforeFactoryReset)Returns an immutable copy ofthiswith just thepasswordSignInFailureCountBeforeFactoryResetfield changed.WindowsPhone81GeneralConfigurationwithScreenCaptureBlocked(Boolean screenCaptureBlocked)Returns an immutable copy ofthiswith just thescreenCaptureBlockedfield changed.WindowsPhone81GeneralConfigurationwithStorageBlockRemovableStorage(Boolean storageBlockRemovableStorage)Returns an immutable copy ofthiswith just thestorageBlockRemovableStoragefield changed.WindowsPhone81GeneralConfigurationwithStorageRequireEncryption(Boolean storageRequireEncryption)Returns an immutable copy ofthiswith just thestorageRequireEncryptionfield changed.WindowsPhone81GeneralConfigurationwithUnmappedField(String name, Object value)WindowsPhone81GeneralConfigurationwithWebBrowserBlocked(Boolean webBrowserBlocked)Returns an immutable copy ofthiswith just thewebBrowserBlockedfield changed.WindowsPhone81GeneralConfigurationwithWifiBlockAutomaticConnectHotspots(Boolean wifiBlockAutomaticConnectHotspots)Returns an immutable copy ofthiswith just thewifiBlockAutomaticConnectHotspotsfield changed.WindowsPhone81GeneralConfigurationwithWifiBlocked(Boolean wifiBlocked)Returns an immutable copy ofthiswith just thewifiBlockedfield changed.WindowsPhone81GeneralConfigurationwithWifiBlockHotspotReporting(Boolean wifiBlockHotspotReporting)Returns an immutable copy ofthiswith just thewifiBlockHotspotReportingfield changed.WindowsPhone81GeneralConfigurationwithWindowsStoreBlocked(Boolean windowsStoreBlocked)Returns an immutable copy ofthiswith just thewindowsStoreBlockedfield changed.-
Methods inherited from class odata.msgraph.client.entity.DeviceConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getOmaSettingPlainTextValue, getUserStatuses, getUserStatusOverview, getVersion, withAssignments, withCreatedDateTime, withDescription, withDeviceSettingStateSummaries, withDeviceStatuses, withDeviceStatusOverview, withDisplayName, withLastModifiedDateTime, withUserStatuses, withUserStatusOverview, withVersion
-
-
-
-
Field Detail
-
applyOnlyToWindowsPhone81
protected Boolean applyOnlyToWindowsPhone81
-
appsBlockCopyPaste
protected Boolean appsBlockCopyPaste
-
bluetoothBlocked
protected Boolean bluetoothBlocked
-
cameraBlocked
protected Boolean cameraBlocked
-
cellularBlockWifiTethering
protected Boolean cellularBlockWifiTethering
-
compliantAppListType
protected AppListType compliantAppListType
-
compliantAppsList
protected List<AppListItem> compliantAppsList
-
compliantAppsListNextLink
protected String compliantAppsListNextLink
-
diagnosticDataBlockSubmission
protected Boolean diagnosticDataBlockSubmission
-
emailBlockAddingAccounts
protected Boolean emailBlockAddingAccounts
-
locationServicesBlocked
protected Boolean locationServicesBlocked
-
microsoftAccountBlocked
protected Boolean microsoftAccountBlocked
-
nfcBlocked
protected Boolean nfcBlocked
-
passwordBlockSimple
protected Boolean passwordBlockSimple
-
passwordExpirationDays
protected Integer passwordExpirationDays
-
passwordMinimumCharacterSetCount
protected Integer passwordMinimumCharacterSetCount
-
passwordMinimumLength
protected Integer passwordMinimumLength
-
passwordMinutesOfInactivityBeforeScreenTimeout
protected Integer passwordMinutesOfInactivityBeforeScreenTimeout
-
passwordPreviousPasswordBlockCount
protected Integer passwordPreviousPasswordBlockCount
-
passwordRequired
protected Boolean passwordRequired
-
passwordRequiredType
protected RequiredPasswordType passwordRequiredType
-
passwordSignInFailureCountBeforeFactoryReset
protected Integer passwordSignInFailureCountBeforeFactoryReset
-
screenCaptureBlocked
protected Boolean screenCaptureBlocked
-
storageBlockRemovableStorage
protected Boolean storageBlockRemovableStorage
-
storageRequireEncryption
protected Boolean storageRequireEncryption
-
webBrowserBlocked
protected Boolean webBrowserBlocked
-
wifiBlockAutomaticConnectHotspots
protected Boolean wifiBlockAutomaticConnectHotspots
-
wifiBlocked
protected Boolean wifiBlocked
-
wifiBlockHotspotReporting
protected Boolean wifiBlockHotspotReporting
-
windowsStoreBlocked
protected Boolean windowsStoreBlocked
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderWindowsPhone81GeneralConfiguration
public static WindowsPhone81GeneralConfiguration.Builder builderWindowsPhone81GeneralConfiguration()
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
-
getApplyOnlyToWindowsPhone81
public Optional<Boolean> getApplyOnlyToWindowsPhone81()
“Value indicating whether this policy only applies to Windows Phone 8.1. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property applyOnlyToWindowsPhone81
-
withApplyOnlyToWindowsPhone81
public WindowsPhone81GeneralConfiguration withApplyOnlyToWindowsPhone81(Boolean applyOnlyToWindowsPhone81)
Returns an immutable copy ofthiswith just theapplyOnlyToWindowsPhone81field 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.“Value indicating whether this policy only applies to Windows Phone 8.1. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
applyOnlyToWindowsPhone81- new value ofapplyOnlyToWindowsPhone81field (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplyOnlyToWindowsPhone81field changed
-
getAppsBlockCopyPaste
public Optional<Boolean> getAppsBlockCopyPaste()
“Indicates whether or not to block copy paste.”- Returns:
- property appsBlockCopyPaste
-
withAppsBlockCopyPaste
public WindowsPhone81GeneralConfiguration withAppsBlockCopyPaste(Boolean appsBlockCopyPaste)
Returns an immutable copy ofthiswith just theappsBlockCopyPastefield 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.“Indicates whether or not to block copy paste.”
- Parameters:
appsBlockCopyPaste- new value ofappsBlockCopyPastefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappsBlockCopyPastefield changed
-
getBluetoothBlocked
public Optional<Boolean> getBluetoothBlocked()
“Indicates whether or not to block bluetooth.”- Returns:
- property bluetoothBlocked
-
withBluetoothBlocked
public WindowsPhone81GeneralConfiguration withBluetoothBlocked(Boolean bluetoothBlocked)
Returns an immutable copy ofthiswith just thebluetoothBlockedfield 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.“Indicates whether or not to block bluetooth.”
- Parameters:
bluetoothBlocked- new value ofbluetoothBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebluetoothBlockedfield changed
-
getCameraBlocked
public Optional<Boolean> getCameraBlocked()
“Indicates whether or not to block camera.”- Returns:
- property cameraBlocked
-
withCameraBlocked
public WindowsPhone81GeneralConfiguration withCameraBlocked(Boolean cameraBlocked)
Returns an immutable copy ofthiswith just thecameraBlockedfield 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.“Indicates whether or not to block camera.”
- Parameters:
cameraBlocked- new value ofcameraBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecameraBlockedfield changed
-
getCellularBlockWifiTethering
public Optional<Boolean> getCellularBlockWifiTethering()
“Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked.”- Returns:
- property cellularBlockWifiTethering
-
withCellularBlockWifiTethering
public WindowsPhone81GeneralConfiguration withCellularBlockWifiTethering(Boolean cellularBlockWifiTethering)
Returns an immutable copy ofthiswith just thecellularBlockWifiTetheringfield 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.“Indicates whether or not to block Wi-Fi tethering. Has no impact if Wi-Fi is blocked.”
- Parameters:
cellularBlockWifiTethering- new value ofcellularBlockWifiTetheringfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecellularBlockWifiTetheringfield changed
-
getCompliantAppListType
public Optional<AppListType> getCompliantAppListType()
“List that is in the AppComplianceList.”- Returns:
- property compliantAppListType
-
withCompliantAppListType
public WindowsPhone81GeneralConfiguration 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 AppComplianceList.”
- 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 WindowsPhone81GeneralConfiguration 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
-
getDiagnosticDataBlockSubmission
public Optional<Boolean> getDiagnosticDataBlockSubmission()
“Indicates whether or not to block diagnostic data submission.”- Returns:
- property diagnosticDataBlockSubmission
-
withDiagnosticDataBlockSubmission
public WindowsPhone81GeneralConfiguration withDiagnosticDataBlockSubmission(Boolean diagnosticDataBlockSubmission)
Returns an immutable copy ofthiswith just thediagnosticDataBlockSubmissionfield 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.“Indicates whether or not to block diagnostic data submission.”
- Parameters:
diagnosticDataBlockSubmission- new value ofdiagnosticDataBlockSubmissionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thediagnosticDataBlockSubmissionfield changed
-
getEmailBlockAddingAccounts
public Optional<Boolean> getEmailBlockAddingAccounts()
“Indicates whether or not to block custom email accounts.”- Returns:
- property emailBlockAddingAccounts
-
withEmailBlockAddingAccounts
public WindowsPhone81GeneralConfiguration withEmailBlockAddingAccounts(Boolean emailBlockAddingAccounts)
Returns an immutable copy ofthiswith just theemailBlockAddingAccountsfield 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.“Indicates whether or not to block custom email accounts.”
- Parameters:
emailBlockAddingAccounts- new value ofemailBlockAddingAccountsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theemailBlockAddingAccountsfield changed
-
getLocationServicesBlocked
public Optional<Boolean> getLocationServicesBlocked()
“Indicates whether or not to block location services.”- Returns:
- property locationServicesBlocked
-
withLocationServicesBlocked
public WindowsPhone81GeneralConfiguration withLocationServicesBlocked(Boolean locationServicesBlocked)
Returns an immutable copy ofthiswith just thelocationServicesBlockedfield 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.“Indicates whether or not to block location services.”
- Parameters:
locationServicesBlocked- new value oflocationServicesBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelocationServicesBlockedfield changed
-
getMicrosoftAccountBlocked
public Optional<Boolean> getMicrosoftAccountBlocked()
“Indicates whether or not to block using a Microsoft Account.”- Returns:
- property microsoftAccountBlocked
-
withMicrosoftAccountBlocked
public WindowsPhone81GeneralConfiguration withMicrosoftAccountBlocked(Boolean microsoftAccountBlocked)
Returns an immutable copy ofthiswith just themicrosoftAccountBlockedfield 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.“Indicates whether or not to block using a Microsoft Account.”
- Parameters:
microsoftAccountBlocked- new value ofmicrosoftAccountBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themicrosoftAccountBlockedfield changed
-
getNfcBlocked
public Optional<Boolean> getNfcBlocked()
“Indicates whether or not to block Near-Field Communication.”- Returns:
- property nfcBlocked
-
withNfcBlocked
public WindowsPhone81GeneralConfiguration withNfcBlocked(Boolean nfcBlocked)
Returns an immutable copy ofthiswith just thenfcBlockedfield 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.“Indicates whether or not to block Near-Field Communication.”
- Parameters:
nfcBlocked- new value ofnfcBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenfcBlockedfield changed
-
getPasswordBlockSimple
public Optional<Boolean> getPasswordBlockSimple()
“Indicates whether or not to block syncing the calendar.”- Returns:
- property passwordBlockSimple
-
withPasswordBlockSimple
public WindowsPhone81GeneralConfiguration 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.“Indicates whether or not to block syncing the calendar.”
- 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 WindowsPhone81GeneralConfiguration 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.”- Returns:
- property passwordMinimumCharacterSetCount
-
withPasswordMinimumCharacterSetCount
public WindowsPhone81GeneralConfiguration 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.”
- 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 WindowsPhone81GeneralConfiguration 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
-
getPasswordMinutesOfInactivityBeforeScreenTimeout
public Optional<Integer> getPasswordMinutesOfInactivityBeforeScreenTimeout()
“Minutes of inactivity before screen timeout.”- Returns:
- property passwordMinutesOfInactivityBeforeScreenTimeout
-
withPasswordMinutesOfInactivityBeforeScreenTimeout
public WindowsPhone81GeneralConfiguration 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 before screen timeout.”
- 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. Valid values 0 to 24”- Returns:
- property passwordPreviousPasswordBlockCount
-
withPasswordPreviousPasswordBlockCount
public WindowsPhone81GeneralConfiguration 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. Valid values 0 to 24”
- Parameters:
passwordPreviousPasswordBlockCount- new value ofpasswordPreviousPasswordBlockCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordPreviousPasswordBlockCountfield changed
-
getPasswordRequired
public Optional<Boolean> getPasswordRequired()
“Indicates whether or not to require a password.”- Returns:
- property passwordRequired
-
withPasswordRequired
public WindowsPhone81GeneralConfiguration 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.“Indicates 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()
“Password type that is required.”- Returns:
- property passwordRequiredType
-
withPasswordRequiredType
public WindowsPhone81GeneralConfiguration 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.“Password type that is required.”
- Parameters:
passwordRequiredType- new value ofpasswordRequiredTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordRequiredTypefield changed
-
getPasswordSignInFailureCountBeforeFactoryReset
public Optional<Integer> getPasswordSignInFailureCountBeforeFactoryReset()
“Number of sign in failures allowed before factory reset.”- Returns:
- property passwordSignInFailureCountBeforeFactoryReset
-
withPasswordSignInFailureCountBeforeFactoryReset
public WindowsPhone81GeneralConfiguration withPasswordSignInFailureCountBeforeFactoryReset(Integer passwordSignInFailureCountBeforeFactoryReset)
Returns an immutable copy ofthiswith just thepasswordSignInFailureCountBeforeFactoryResetfield 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 sign in failures allowed before factory reset.”
- Parameters:
passwordSignInFailureCountBeforeFactoryReset- new value ofpasswordSignInFailureCountBeforeFactoryResetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordSignInFailureCountBeforeFactoryResetfield changed
-
getScreenCaptureBlocked
public Optional<Boolean> getScreenCaptureBlocked()
“Indicates whether or not to block screenshots.”- Returns:
- property screenCaptureBlocked
-
withScreenCaptureBlocked
public WindowsPhone81GeneralConfiguration withScreenCaptureBlocked(Boolean screenCaptureBlocked)
Returns an immutable copy ofthiswith just thescreenCaptureBlockedfield 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.“Indicates whether or not to block screenshots.”
- Parameters:
screenCaptureBlocked- new value ofscreenCaptureBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescreenCaptureBlockedfield changed
-
getStorageBlockRemovableStorage
public Optional<Boolean> getStorageBlockRemovableStorage()
“Indicates whether or not to block removable storage.”- Returns:
- property storageBlockRemovableStorage
-
withStorageBlockRemovableStorage
public WindowsPhone81GeneralConfiguration withStorageBlockRemovableStorage(Boolean storageBlockRemovableStorage)
Returns an immutable copy ofthiswith just thestorageBlockRemovableStoragefield 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.“Indicates whether or not to block removable storage.”
- Parameters:
storageBlockRemovableStorage- new value ofstorageBlockRemovableStoragefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestorageBlockRemovableStoragefield changed
-
getStorageRequireEncryption
public Optional<Boolean> getStorageRequireEncryption()
“Indicates whether or not to require encryption.”- Returns:
- property storageRequireEncryption
-
withStorageRequireEncryption
public WindowsPhone81GeneralConfiguration withStorageRequireEncryption(Boolean storageRequireEncryption)
Returns an immutable copy ofthiswith just thestorageRequireEncryptionfield 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.“Indicates whether or not to require encryption.”
- Parameters:
storageRequireEncryption- new value ofstorageRequireEncryptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestorageRequireEncryptionfield changed
-
getWebBrowserBlocked
public Optional<Boolean> getWebBrowserBlocked()
“Indicates whether or not to block the web browser.”- Returns:
- property webBrowserBlocked
-
withWebBrowserBlocked
public WindowsPhone81GeneralConfiguration withWebBrowserBlocked(Boolean webBrowserBlocked)
Returns an immutable copy ofthiswith just thewebBrowserBlockedfield 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.“Indicates whether or not to block the web browser.”
- Parameters:
webBrowserBlocked- new value ofwebBrowserBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewebBrowserBlockedfield changed
-
getWifiBlockAutomaticConnectHotspots
public Optional<Boolean> getWifiBlockAutomaticConnectHotspots()
“Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked.”- Returns:
- property wifiBlockAutomaticConnectHotspots
-
withWifiBlockAutomaticConnectHotspots
public WindowsPhone81GeneralConfiguration withWifiBlockAutomaticConnectHotspots(Boolean wifiBlockAutomaticConnectHotspots)
Returns an immutable copy ofthiswith just thewifiBlockAutomaticConnectHotspotsfield 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.“Indicates whether or not to block automatically connecting to Wi-Fi hotspots. Has no impact if Wi-Fi is blocked.”
- Parameters:
wifiBlockAutomaticConnectHotspots- new value ofwifiBlockAutomaticConnectHotspotsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewifiBlockAutomaticConnectHotspotsfield changed
-
getWifiBlocked
public Optional<Boolean> getWifiBlocked()
“Indicates whether or not to block Wi-Fi.”- Returns:
- property wifiBlocked
-
withWifiBlocked
public WindowsPhone81GeneralConfiguration withWifiBlocked(Boolean wifiBlocked)
Returns an immutable copy ofthiswith just thewifiBlockedfield 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.“Indicates whether or not to block Wi-Fi.”
- Parameters:
wifiBlocked- new value ofwifiBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewifiBlockedfield changed
-
getWifiBlockHotspotReporting
public Optional<Boolean> getWifiBlockHotspotReporting()
“Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi- Fi is blocked.”- Returns:
- property wifiBlockHotspotReporting
-
withWifiBlockHotspotReporting
public WindowsPhone81GeneralConfiguration withWifiBlockHotspotReporting(Boolean wifiBlockHotspotReporting)
Returns an immutable copy ofthiswith just thewifiBlockHotspotReportingfield 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.“Indicates whether or not to block Wi-Fi hotspot reporting. Has no impact if Wi- Fi is blocked.”
- Parameters:
wifiBlockHotspotReporting- new value ofwifiBlockHotspotReportingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewifiBlockHotspotReportingfield changed
-
getWindowsStoreBlocked
public Optional<Boolean> getWindowsStoreBlocked()
“Indicates whether or not to block the Windows Store.”- Returns:
- property windowsStoreBlocked
-
withWindowsStoreBlocked
public WindowsPhone81GeneralConfiguration withWindowsStoreBlocked(Boolean windowsStoreBlocked)
Returns an immutable copy ofthiswith just thewindowsStoreBlockedfield 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.“Indicates whether or not to block the Windows Store.”
- Parameters:
windowsStoreBlocked- new value ofwindowsStoreBlockedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsStoreBlockedfield changed
-
withUnmappedField
public WindowsPhone81GeneralConfiguration withUnmappedField(String name, Object 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 WindowsPhone81GeneralConfiguration 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 WindowsPhone81GeneralConfiguration 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
-
-