Class CloudPcUserSetting

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.CloudPcUserSetting
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class CloudPcUserSetting extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • CloudPcUserSetting

      public CloudPcUserSetting()
      Instantiates a new CloudPcUserSetting and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static CloudPcUserSetting 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 CloudPcUserSetting
    • getAssignments

      @Nullable public List<CloudPcUserSettingAssignment> getAssignments()
      Gets the assignments property value. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSetting.
      Returns:
      a List<CloudPcUserSettingAssignment>
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time when the setting was created. The timestamp type represents the date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The setting name displayed in the user interface.
      Returns:
      a String
    • 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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The date and time when the setting was last modified. The timestamp type represents the date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getLocalAdminEnabled

      @Nullable public Boolean getLocalAdminEnabled()
      Gets the localAdminEnabled property value. Indicates whether the local admin option is enabled. The default value is false. To enable the local admin option, change the setting to true. If the local admin option is enabled, the end user can be an admin of the Cloud PC device.
      Returns:
      a Boolean
    • getResetEnabled

      @Nullable public Boolean getResetEnabled()
      Gets the resetEnabled property value. Indicates whether an end user is allowed to reset their Cloud PC. When true, the user is allowed to reset their Cloud PC. When false, end-user initiated reset is not allowed. The default value is false.
      Returns:
      a Boolean
    • getRestorePointSetting

      @Nullable public CloudPcRestorePointSetting getRestorePointSetting()
      Gets the restorePointSetting property value. Defines how frequently a restore point is created that is, a snapshot is taken) for users' provisioned Cloud PCs (default is 12 hours), and whether the user is allowed to restore their own Cloud PCs to a backup made at a specific point in time.
      Returns:
      a CloudPcRestorePointSetting
    • 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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAssignments

      public void setAssignments(@Nullable List<CloudPcUserSettingAssignment> value)
      Sets the assignments property value. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSetting.
      Parameters:
      value - Value to set for the assignments property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time when the setting was created. The timestamp type represents the date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The setting name displayed in the user interface.
      Parameters:
      value - Value to set for the displayName property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The date and time when the setting was last modified. The timestamp type represents the date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setLocalAdminEnabled

      public void setLocalAdminEnabled(@Nullable Boolean value)
      Sets the localAdminEnabled property value. Indicates whether the local admin option is enabled. The default value is false. To enable the local admin option, change the setting to true. If the local admin option is enabled, the end user can be an admin of the Cloud PC device.
      Parameters:
      value - Value to set for the localAdminEnabled property.
    • setResetEnabled

      public void setResetEnabled(@Nullable Boolean value)
      Sets the resetEnabled property value. Indicates whether an end user is allowed to reset their Cloud PC. When true, the user is allowed to reset their Cloud PC. When false, end-user initiated reset is not allowed. The default value is false.
      Parameters:
      value - Value to set for the resetEnabled property.
    • setRestorePointSetting

      public void setRestorePointSetting(@Nullable CloudPcRestorePointSetting value)
      Sets the restorePointSetting property value. Defines how frequently a restore point is created that is, a snapshot is taken) for users' provisioned Cloud PCs (default is 12 hours), and whether the user is allowed to restore their own Cloud PCs to a backup made at a specific point in time.
      Parameters:
      value - Value to set for the restorePointSetting property.