Class PlannerPlan

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

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

    • PlannerPlan

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

    • createFromDiscriminatorValue

      @Nonnull public static PlannerPlan 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 PlannerPlan
    • getBuckets

      @Nullable public List<PlannerBucket> getBuckets()
      Gets the buckets property value. Read-only. Nullable. Collection of buckets in the plan.
      Returns:
      a List<PlannerBucket>
    • getContainer

      @Nullable public PlannerPlanContainer getContainer()
      Gets the container property value. Identifies the container of the plan. Specify only the url, the containerId and type, or all properties. After it's set, this property cant be updated. Required.
      Returns:
      a PlannerPlanContainer
    • getCreatedBy

      @Nullable public IdentitySet getCreatedBy()
      Gets the createdBy property value. Read-only. The user who created the plan.
      Returns:
      a IdentitySet
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. Read-only. Date and time at which the plan is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
      Returns:
      a OffsetDateTime
    • getDetails

      @Nullable public PlannerPlanDetails getDetails()
      Gets the details property value. Read-only. Nullable. Extra details about the plan.
      Returns:
      a PlannerPlanDetails
    • 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>>
    • getOwner

      @Nullable public String getOwner()
      Gets the owner property value. Use the container property instead. ID of the group that owns the plan. After it's set, this property cant be updated. This property won't return a valid group ID if the container of the plan isn't a group.
      Returns:
      a String
    • getTasks

      @Nullable public List<PlannerTask> getTasks()
      Gets the tasks property value. Read-only. Nullable. Collection of tasks in the plan.
      Returns:
      a List<PlannerTask>
    • getTitle

      @Nullable public String getTitle()
      Gets the title property value. Required. Title of the plan.
      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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setBuckets

      public void setBuckets(@Nullable List<PlannerBucket> value)
      Sets the buckets property value. Read-only. Nullable. Collection of buckets in the plan.
      Parameters:
      value - Value to set for the buckets property.
    • setContainer

      public void setContainer(@Nullable PlannerPlanContainer value)
      Sets the container property value. Identifies the container of the plan. Specify only the url, the containerId and type, or all properties. After it's set, this property cant be updated. Required.
      Parameters:
      value - Value to set for the container property.
    • setCreatedBy

      public void setCreatedBy(@Nullable IdentitySet value)
      Sets the createdBy property value. Read-only. The user who created the plan.
      Parameters:
      value - Value to set for the createdBy property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. Read-only. Date and time at which the plan is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDetails

      public void setDetails(@Nullable PlannerPlanDetails value)
      Sets the details property value. Read-only. Nullable. Extra details about the plan.
      Parameters:
      value - Value to set for the details property.
    • setOwner

      public void setOwner(@Nullable String value)
      Sets the owner property value. Use the container property instead. ID of the group that owns the plan. After it's set, this property cant be updated. This property won't return a valid group ID if the container of the plan isn't a group.
      Parameters:
      value - Value to set for the owner property.
    • setTasks

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

      public void setTitle(@Nullable String value)
      Sets the title property value. Required. Title of the plan.
      Parameters:
      value - Value to set for the title property.