Class CloudPcManagementGroupAssignmentTarget

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

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

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static CloudPcManagementGroupAssignmentTarget 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 CloudPcManagementGroupAssignmentTarget
    • 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 CloudPcManagementAssignmentTarget
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getGroupId

      @Nullable public String getGroupId()
      Gets the groupId property value. The ID of the target group for the assignment.
      Returns:
      a String
    • getServicePlanId

      @Nullable public String getServicePlanId()
      Gets the servicePlanId property value. The unique identifier for the service plan that indicates which size of the Cloud PC to provision for the user. Use a null value, when the provisioningType is dedicated.
      Returns:
      a String
    • 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 CloudPcManagementAssignmentTarget
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setGroupId

      public void setGroupId(@Nullable String value)
      Sets the groupId property value. The ID of the target group for the assignment.
      Parameters:
      value - Value to set for the groupId property.
    • setServicePlanId

      public void setServicePlanId(@Nullable String value)
      Sets the servicePlanId property value. The unique identifier for the service plan that indicates which size of the Cloud PC to provision for the user. Use a null value, when the provisioningType is dedicated.
      Parameters:
      value - Value to set for the servicePlanId property.