public class SharedPCConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SharedPCConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected SharedPCAccountManagerPolicy |
accountManagerPolicy |
protected SharedPCAllowedAccountType |
allowedAccounts |
protected Boolean |
allowLocalStorage |
protected Boolean |
disableAccountManager |
protected Boolean |
disableEduPolicies |
protected Boolean |
disablePowerPolicies |
protected Boolean |
disableSignInOnResume |
protected Boolean |
enabled |
protected Enablement |
fastFirstSignIn |
protected Integer |
idleTimeBeforeSleepInSeconds |
protected String |
kioskAppDisplayName |
protected String |
kioskAppUserModelId |
protected Enablement |
localStorage |
protected LocalTime |
maintenanceStartTime |
protected Enablement |
setAccountManager |
protected Enablement |
setEduPolicies |
protected Enablement |
setPowerPolicies |
protected Enablement |
signInOnResume |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SharedPCConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static SharedPCConfiguration.Builder |
builderSharedPCConfiguration()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<SharedPCAccountManagerPolicy> |
getAccountManagerPolicy()
“Specifies how accounts are managed on a shared PC.
|
Optional<SharedPCAllowedAccountType> |
getAllowedAccounts()
“Indicates which type of accounts are allowed to use on a shared PC.”
|
Optional<Boolean> |
getAllowLocalStorage()
“Specifies whether local storage is allowed on a shared PC.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getDisableAccountManager()
“Disables the account manager for shared PC mode.”
|
Optional<Boolean> |
getDisableEduPolicies()
“Specifies whether the default shared PC education environment policies should be
disabled.
|
Optional<Boolean> |
getDisablePowerPolicies()
“Specifies whether the default shared PC power policies should be disabled.”
|
Optional<Boolean> |
getDisableSignInOnResume()
“Disables the requirement to sign in whenever the device wakes up from sleep mode
.”
|
Optional<Boolean> |
getEnabled()
“Enables shared PC mode and applies the shared pc policies.”
|
Optional<Enablement> |
getFastFirstSignIn()
“Specifies whether to auto connect new non-admin Azure AD accounts to pre-
configured candidate local accounts”
|
Optional<Integer> |
getIdleTimeBeforeSleepInSeconds()
“Specifies the time in seconds that a device must sit idle before the PC goes to
sleep.
|
Optional<String> |
getKioskAppDisplayName()
“Specifies the display text for the account shown on the sign-in screen which
launches the app specified by SetKioskAppUserModelId.
|
Optional<String> |
getKioskAppUserModelId()
“Specifies the application user model ID of the app to use with assigned access.”
|
Optional<Enablement> |
getLocalStorage()
“Specifies whether local storage is allowed on a shared PC.”
|
Optional<LocalTime> |
getMaintenanceStartTime()
“Specifies the daily start time of maintenance hour.”
|
Optional<Enablement> |
getSetAccountManager()
“Disables the account manager for shared PC mode.”
|
Optional<Enablement> |
getSetEduPolicies()
“Specifies whether the default shared PC education environment policies should be
enabled/disabled/not configured.
|
Optional<Enablement> |
getSetPowerPolicies()
“Specifies whether the default shared PC power policies should be enabled/
disabled.”
|
Optional<Enablement> |
getSignInOnResume()
“Specifies the requirement to sign in whenever the device wakes up from sleep
mode.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SharedPCConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SharedPCConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SharedPCConfiguration |
withAccountManagerPolicy(SharedPCAccountManagerPolicy accountManagerPolicy)
Returns an immutable copy of
this with just the accountManagerPolicy field changed. |
SharedPCConfiguration |
withAllowedAccounts(SharedPCAllowedAccountType allowedAccounts)
Returns an immutable copy of
this with just the allowedAccounts
field changed. |
SharedPCConfiguration |
withAllowLocalStorage(Boolean allowLocalStorage)
Returns an immutable copy of
this with just the allowLocalStorage
field changed. |
SharedPCConfiguration |
withDisableAccountManager(Boolean disableAccountManager)
Returns an immutable copy of
this with just the disableAccountManager field changed. |
SharedPCConfiguration |
withDisableEduPolicies(Boolean disableEduPolicies)
Returns an immutable copy of
this with just the disableEduPolicies field changed. |
SharedPCConfiguration |
withDisablePowerPolicies(Boolean disablePowerPolicies)
Returns an immutable copy of
this with just the disablePowerPolicies field changed. |
SharedPCConfiguration |
withDisableSignInOnResume(Boolean disableSignInOnResume)
Returns an immutable copy of
this with just the disableSignInOnResume field changed. |
SharedPCConfiguration |
withEnabled(Boolean enabled)
Returns an immutable copy of
this with just the enabled field
changed. |
SharedPCConfiguration |
withFastFirstSignIn(Enablement fastFirstSignIn)
Returns an immutable copy of
this with just the fastFirstSignIn
field changed. |
SharedPCConfiguration |
withIdleTimeBeforeSleepInSeconds(Integer idleTimeBeforeSleepInSeconds)
Returns an immutable copy of
this with just the idleTimeBeforeSleepInSeconds field changed. |
SharedPCConfiguration |
withKioskAppDisplayName(String kioskAppDisplayName)
Returns an immutable copy of
this with just the kioskAppDisplayName field changed. |
SharedPCConfiguration |
withKioskAppUserModelId(String kioskAppUserModelId)
Returns an immutable copy of
this with just the kioskAppUserModelId field changed. |
SharedPCConfiguration |
withLocalStorage(Enablement localStorage)
Returns an immutable copy of
this with just the localStorage
field changed. |
SharedPCConfiguration |
withMaintenanceStartTime(LocalTime maintenanceStartTime)
Returns an immutable copy of
this with just the maintenanceStartTime field changed. |
SharedPCConfiguration |
withSetAccountManager(Enablement setAccountManager)
Returns an immutable copy of
this with just the setAccountManager
field changed. |
SharedPCConfiguration |
withSetEduPolicies(Enablement setEduPolicies)
Returns an immutable copy of
this with just the setEduPolicies
field changed. |
SharedPCConfiguration |
withSetPowerPolicies(Enablement setPowerPolicies)
Returns an immutable copy of
this with just the setPowerPolicies
field changed. |
SharedPCConfiguration |
withSignInOnResume(Enablement signInOnResume)
Returns an immutable copy of
this with just the signInOnResume
field changed. |
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withSupportsScopeTags, withVersionprotected SharedPCAccountManagerPolicy accountManagerPolicy
protected SharedPCAllowedAccountType allowedAccounts
protected Enablement localStorage
protected Boolean allowLocalStorage
protected Enablement setAccountManager
protected Boolean disableAccountManager
protected Enablement setEduPolicies
protected Boolean disableEduPolicies
protected Enablement setPowerPolicies
protected Boolean disablePowerPolicies
protected Enablement signInOnResume
protected Boolean disableSignInOnResume
protected Boolean enabled
protected Integer idleTimeBeforeSleepInSeconds
protected String kioskAppDisplayName
protected String kioskAppUserModelId
protected LocalTime maintenanceStartTime
protected Enablement fastFirstSignIn
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic static SharedPCConfiguration.Builder builderSharedPCConfiguration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceConfigurationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceConfigurationpublic Optional<SharedPCAccountManagerPolicy> getAccountManagerPolicy()
public SharedPCConfiguration withAccountManagerPolicy(SharedPCAccountManagerPolicy accountManagerPolicy)
this with just the accountManagerPolicy field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false.”
accountManagerPolicy - new value of accountManagerPolicy field (as defined in service metadata)this with just the accountManagerPolicy field changedpublic Optional<SharedPCAllowedAccountType> getAllowedAccounts()
public SharedPCConfiguration withAllowedAccounts(SharedPCAllowedAccountType allowedAccounts)
this with just the allowedAccounts
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Indicates which type of accounts are allowed to use on a shared PC.”
allowedAccounts - new value of allowedAccounts field (as defined in service metadata)this with just the allowedAccounts field changedpublic Optional<Enablement> getLocalStorage()
public SharedPCConfiguration withLocalStorage(Enablement localStorage)
this with just the localStorage
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Specifies whether local storage is allowed on a shared PC.”
localStorage - new value of localStorage field (as defined in service metadata)this with just the localStorage field changedpublic Optional<Boolean> getAllowLocalStorage()
public SharedPCConfiguration withAllowLocalStorage(Boolean allowLocalStorage)
this with just the allowLocalStorage
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Specifies whether local storage is allowed on a shared PC.”
allowLocalStorage - new value of allowLocalStorage field (as defined in service metadata)this with just the allowLocalStorage field changedpublic Optional<Enablement> getSetAccountManager()
public SharedPCConfiguration withSetAccountManager(Enablement setAccountManager)
this with just the setAccountManager
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Disables the account manager for shared PC mode.”
setAccountManager - new value of setAccountManager field (as defined in service metadata)this with just the setAccountManager field changedpublic Optional<Boolean> getDisableAccountManager()
public SharedPCConfiguration withDisableAccountManager(Boolean disableAccountManager)
this with just the disableAccountManager field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Disables the account manager for shared PC mode.”
disableAccountManager - new value of disableAccountManager field (as defined in service metadata)this with just the disableAccountManager field changedpublic Optional<Enablement> getSetEduPolicies()
public SharedPCConfiguration withSetEduPolicies(Enablement setEduPolicies)
this with just the setEduPolicies
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Specifies whether the default shared PC education environment policies should be enabled/disabled/not configured. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true.”
setEduPolicies - new value of setEduPolicies field (as defined in service metadata)this with just the setEduPolicies field changedpublic Optional<Boolean> getDisableEduPolicies()
public SharedPCConfiguration withDisableEduPolicies(Boolean disableEduPolicies)
this with just the disableEduPolicies field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true.”
disableEduPolicies - new value of disableEduPolicies field (as defined in service metadata)this with just the disableEduPolicies field changedpublic Optional<Enablement> getSetPowerPolicies()
public SharedPCConfiguration withSetPowerPolicies(Enablement setPowerPolicies)
this with just the setPowerPolicies
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Specifies whether the default shared PC power policies should be enabled/ disabled.”
setPowerPolicies - new value of setPowerPolicies field (as defined in service metadata)this with just the setPowerPolicies field changedpublic Optional<Boolean> getDisablePowerPolicies()
public SharedPCConfiguration withDisablePowerPolicies(Boolean disablePowerPolicies)
this with just the disablePowerPolicies field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Specifies whether the default shared PC power policies should be disabled.”
disablePowerPolicies - new value of disablePowerPolicies field (as defined in service metadata)this with just the disablePowerPolicies field changedpublic Optional<Enablement> getSignInOnResume()
public SharedPCConfiguration withSignInOnResume(Enablement signInOnResume)
this with just the signInOnResume
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Specifies the requirement to sign in whenever the device wakes up from sleep mode.”
signInOnResume - new value of signInOnResume field (as defined in service metadata)this with just the signInOnResume field changedpublic Optional<Boolean> getDisableSignInOnResume()
public SharedPCConfiguration withDisableSignInOnResume(Boolean disableSignInOnResume)
this with just the disableSignInOnResume field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Disables the requirement to sign in whenever the device wakes up from sleep mode .”
disableSignInOnResume - new value of disableSignInOnResume field (as defined in service metadata)this with just the disableSignInOnResume field changedpublic Optional<Boolean> getEnabled()
public SharedPCConfiguration withEnabled(Boolean enabled)
this with just the enabled field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Enables shared PC mode and applies the shared pc policies.”
enabled - new value of enabled field (as defined in service metadata)this with just the enabled field changedpublic Optional<Integer> getIdleTimeBeforeSleepInSeconds()
public SharedPCConfiguration withIdleTimeBeforeSleepInSeconds(Integer idleTimeBeforeSleepInSeconds)
this with just the idleTimeBeforeSleepInSeconds field changed. Field description below. The field
name is also added to an internal map of changed fields in the returned object
so that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring.”
idleTimeBeforeSleepInSeconds - new value of idleTimeBeforeSleepInSeconds field (as defined in service metadata)this with just the idleTimeBeforeSleepInSeconds field changedpublic Optional<String> getKioskAppDisplayName()
public SharedPCConfiguration withKioskAppDisplayName(String kioskAppDisplayName)
this with just the kioskAppDisplayName field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set.”
kioskAppDisplayName - new value of kioskAppDisplayName field (as defined in service metadata)this with just the kioskAppDisplayName field changedpublic Optional<String> getKioskAppUserModelId()
public SharedPCConfiguration withKioskAppUserModelId(String kioskAppUserModelId)
this with just the kioskAppUserModelId field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Specifies the application user model ID of the app to use with assigned access.”
kioskAppUserModelId - new value of kioskAppUserModelId field (as defined in service metadata)this with just the kioskAppUserModelId field changedpublic Optional<LocalTime> getMaintenanceStartTime()
public SharedPCConfiguration withMaintenanceStartTime(LocalTime maintenanceStartTime)
this with just the maintenanceStartTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Specifies the daily start time of maintenance hour.”
maintenanceStartTime - new value of maintenanceStartTime field (as defined in service metadata)this with just the maintenanceStartTime field changedpublic Optional<Enablement> getFastFirstSignIn()
public SharedPCConfiguration withFastFirstSignIn(Enablement fastFirstSignIn)
this with just the fastFirstSignIn
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Specifies whether to auto connect new non-admin Azure AD accounts to pre- configured candidate local accounts”
fastFirstSignIn - new value of fastFirstSignIn field (as defined in service metadata)this with just the fastFirstSignIn field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic SharedPCConfiguration patch()
this with changed fields reset.patch in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic SharedPCConfiguration put()
this
with changed fields reset (they were ignored anyway).put in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceConfigurationCopyright © 2018–2020. All rights reserved.