Class 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.
  • Constructor Details

    • SharedPCConfiguration

      public SharedPCConfiguration()
      Instantiates a new SharedPCConfiguration and 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

      @Nullable public SharedPCAccountManagerPolicy 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

      @Nullable public EnumSet<SharedPCAllowedAccountType> getAllowedAccounts()
      Gets the allowedAccounts property value. Type of accounts that are allowed to share the PC.
      Returns:
      a EnumSet<SharedPCAllowedAccountType>
    • getAllowLocalStorage

      @Nullable public Boolean getAllowLocalStorage()
      Gets the allowLocalStorage property value. Specifies whether local storage is allowed on a shared PC.
      Returns:
      a Boolean
    • getDisableAccountManager

      @Nullable public Boolean getDisableAccountManager()
      Gets the disableAccountManager property value. Disables the account manager for shared PC mode.
      Returns:
      a Boolean
    • getDisableEduPolicies

      @Nullable public 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

      @Nullable public Boolean getDisablePowerPolicies()
      Gets the disablePowerPolicies property value. Specifies whether the default shared PC power policies should be disabled.
      Returns:
      a Boolean
    • getDisableSignInOnResume

      @Nullable public 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

      @Nullable public 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class DeviceConfiguration
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIdleTimeBeforeSleepInSeconds

      @Nullable public Integer 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

      @Nullable public String 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

      @Nullable public 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

      @Nullable public LocalTime 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class DeviceConfiguration
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAccountManagerPolicy

      public void setAccountManagerPolicy(@Nullable SharedPCAccountManagerPolicy value)
      Sets the accountManagerPolicy property value. Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false.
      Parameters:
      value - Value to set for the accountManagerPolicy property.
    • setAllowedAccounts

      public void setAllowedAccounts(@Nullable EnumSet<SharedPCAllowedAccountType> value)
      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

      public void setAllowLocalStorage(@Nullable Boolean value)
      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

      public void setDisableAccountManager(@Nullable Boolean value)
      Sets the disableAccountManager property value. Disables the account manager for shared PC mode.
      Parameters:
      value - Value to set for the disableAccountManager property.
    • setDisableEduPolicies

      public void setDisableEduPolicies(@Nullable Boolean value)
      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

      public void setDisablePowerPolicies(@Nullable Boolean value)
      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

      public void setDisableSignInOnResume(@Nullable Boolean value)
      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

      public void setEnabled(@Nullable Boolean value)
      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

      public void setIdleTimeBeforeSleepInSeconds(@Nullable Integer value)
      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

      public void setKioskAppDisplayName(@Nullable String value)
      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

      public void setKioskAppUserModelId(@Nullable String value)
      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

      public void setMaintenanceStartTime(@Nullable LocalTime value)
      Sets the maintenanceStartTime property value. Specifies the daily start time of maintenance hour.
      Parameters:
      value - Value to set for the maintenanceStartTime property.