Class PlannerBucket

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

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

    • PlannerBucket

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

    • createFromDiscriminatorValue

      @Nonnull public static PlannerBucket 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 PlannerBucket
    • 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>>
    • getName

      @Nullable public String getName()
      Gets the name property value. Name of the bucket.
      Returns:
      a String
    • getOrderHint

      @Nullable public String getOrderHint()
      Gets the orderHint property value. Hint used to order items of this type in a list view. For details about the supported format, see Using order hints in Planner.
      Returns:
      a String
    • getPlanId

      @Nullable public String getPlanId()
      Gets the planId property value. Plan ID to which the bucket belongs.
      Returns:
      a String
    • getTasks

      @Nullable public List<PlannerTask> getTasks()
      Gets the tasks property value. Read-only. Nullable. The collection of tasks in the bucket.
      Returns:
      a List<PlannerTask>
    • 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
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. Name of the bucket.
      Parameters:
      value - Value to set for the name property.
    • setOrderHint

      public void setOrderHint(@Nullable String value)
      Sets the orderHint property value. Hint used to order items of this type in a list view. For details about the supported format, see Using order hints in Planner.
      Parameters:
      value - Value to set for the orderHint property.
    • setPlanId

      public void setPlanId(@Nullable String value)
      Sets the planId property value. Plan ID to which the bucket belongs.
      Parameters:
      value - Value to set for the planId property.
    • setTasks

      public void setTasks(@Nullable List<PlannerTask> value)
      Sets the tasks property value. Read-only. Nullable. The collection of tasks in the bucket.
      Parameters:
      value - Value to set for the tasks property.