Package com.microsoft.graph.models
Class SharedPCConfiguration
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceConfiguration
com.microsoft.graph.models.SharedPCConfiguration
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class SharedPCConfiguration
extends DeviceConfiguration
implements com.microsoft.kiota.serialization.Parsable
This topic provides descriptions of the declared methods, properties and relationships exposed by the sharedPCConfiguration resource.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SharedPCConfigurationcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the accountManagerPolicy property value.Gets the allowedAccounts property value.Gets the allowLocalStorage property value.Gets the disableAccountManager property value.Gets the disableEduPolicies property value.Gets the disablePowerPolicies property value.Gets the disableSignInOnResume property value.Gets the enabled property value.The deserialization information for the current modelGets the idleTimeBeforeSleepInSeconds property value.Gets the kioskAppDisplayName property value.Gets the kioskAppUserModelId property value.Gets the maintenanceStartTime property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the accountManagerPolicy property value.voidSets the allowedAccounts property value.voidsetAllowLocalStorage(Boolean value) Sets the allowLocalStorage property value.voidsetDisableAccountManager(Boolean value) Sets the disableAccountManager property value.voidsetDisableEduPolicies(Boolean value) Sets the disableEduPolicies property value.voidsetDisablePowerPolicies(Boolean value) Sets the disablePowerPolicies property value.voidsetDisableSignInOnResume(Boolean value) Sets the disableSignInOnResume property value.voidsetEnabled(Boolean value) Sets the enabled property value.voidSets the idleTimeBeforeSleepInSeconds property value.voidsetKioskAppDisplayName(String value) Sets the kioskAppDisplayName property value.voidsetKioskAppUserModelId(String value) Sets the kioskAppUserModelId property value.voidsetMaintenanceStartTime(LocalTime value) Sets the maintenanceStartTime property value.Methods inherited from class com.microsoft.graph.models.DeviceConfiguration
getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getUserStatuses, getUserStatusOverview, getVersion, setAssignments, setCreatedDateTime, setDescription, setDeviceSettingStateSummaries, setDeviceStatuses, setDeviceStatusOverview, setDisplayName, setLastModifiedDateTime, setUserStatuses, setUserStatusOverview, setVersionMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
SharedPCConfiguration
public SharedPCConfiguration()Instantiates a newSharedPCConfigurationand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static SharedPCConfiguration createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
SharedPCConfiguration
-
getAccountManagerPolicy
Gets the accountManagerPolicy property value. Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false.- Returns:
- a
SharedPCAccountManagerPolicy
-
getAllowedAccounts
Gets the allowedAccounts property value. Type of accounts that are allowed to share the PC.- Returns:
- a
EnumSet<SharedPCAllowedAccountType>
-
getAllowLocalStorage
Gets the allowLocalStorage property value. Specifies whether local storage is allowed on a shared PC.- Returns:
- a
Boolean
-
getDisableAccountManager
Gets the disableAccountManager property value. Disables the account manager for shared PC mode.- Returns:
- a
Boolean
-
getDisableEduPolicies
Gets the disableEduPolicies property value. 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.- Returns:
- a
Boolean
-
getDisablePowerPolicies
Gets the disablePowerPolicies property value. Specifies whether the default shared PC power policies should be disabled.- Returns:
- a
Boolean
-
getDisableSignInOnResume
Gets the disableSignInOnResume property value. Disables the requirement to sign in whenever the device wakes up from sleep mode.- Returns:
- a
Boolean
-
getEnabled
Gets the enabled property value. Enables shared PC mode and applies the shared pc policies.- Returns:
- a
Boolean
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classDeviceConfiguration- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIdleTimeBeforeSleepInSeconds
Gets the idleTimeBeforeSleepInSeconds property value. 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.- Returns:
- a
Integer
-
getKioskAppDisplayName
Gets the kioskAppDisplayName property value. 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.- Returns:
- a
String
-
getKioskAppUserModelId
Gets the kioskAppUserModelId property value. Specifies the application user model ID of the app to use with assigned access.- Returns:
- a
String
-
getMaintenanceStartTime
Gets the maintenanceStartTime property value. Specifies the daily start time of maintenance hour.- Returns:
- a
LocalTime
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classDeviceConfiguration- Parameters:
writer- Serialization writer to use to serialize this model
-
setAllowedAccounts
Sets the allowedAccounts property value. Type of accounts that are allowed to share the PC.- Parameters:
value- Value to set for the allowedAccounts property.
-
setAllowLocalStorage
Sets the allowLocalStorage property value. Specifies whether local storage is allowed on a shared PC.- Parameters:
value- Value to set for the allowLocalStorage property.
-
setDisableAccountManager
Sets the disableAccountManager property value. Disables the account manager for shared PC mode.- Parameters:
value- Value to set for the disableAccountManager property.
-
setDisableEduPolicies
Sets the disableEduPolicies property value. 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.- Parameters:
value- Value to set for the disableEduPolicies property.
-
setDisablePowerPolicies
Sets the disablePowerPolicies property value. Specifies whether the default shared PC power policies should be disabled.- Parameters:
value- Value to set for the disablePowerPolicies property.
-
setDisableSignInOnResume
Sets the disableSignInOnResume property value. Disables the requirement to sign in whenever the device wakes up from sleep mode.- Parameters:
value- Value to set for the disableSignInOnResume property.
-
setEnabled
Sets the enabled property value. Enables shared PC mode and applies the shared pc policies.- Parameters:
value- Value to set for the enabled property.
-
setIdleTimeBeforeSleepInSeconds
Sets the idleTimeBeforeSleepInSeconds property value. 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.- Parameters:
value- Value to set for the idleTimeBeforeSleepInSeconds property.
-
setKioskAppDisplayName
Sets the kioskAppDisplayName property value. 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.- Parameters:
value- Value to set for the kioskAppDisplayName property.
-
setKioskAppUserModelId
Sets the kioskAppUserModelId property value. Specifies the application user model ID of the app to use with assigned access.- Parameters:
value- Value to set for the kioskAppUserModelId property.
-
setMaintenanceStartTime
Sets the maintenanceStartTime property value. Specifies the daily start time of maintenance hour.- Parameters:
value- Value to set for the maintenanceStartTime property.
-