Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PlannerPlan
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the buckets property value.Gets the container property value.Gets the createdBy property value.Gets the createdDateTime property value.Gets the details property value.The deserialization information for the current modelgetOwner()
Gets the owner property value.getTasks()
Gets the tasks property value.getTitle()
Gets the title property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setBuckets
(List<PlannerBucket> value) Sets the buckets property value.void
setContainer
(PlannerPlanContainer value) Sets the container property value.void
setCreatedBy
(IdentitySet value) Sets the createdBy property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDetails
(PlannerPlanDetails value) Sets the details property value.void
Sets the owner property value.void
setTasks
(List<PlannerTask> value) Sets the tasks property value.void
Sets the title property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PlannerPlan
public PlannerPlan()Instantiates a newPlannerPlan
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
Gets the buckets property value. Read-only. Nullable. Collection of buckets in the plan.- Returns:
- a
List<PlannerBucket>
-
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
Gets the createdBy property value. Read-only. The user who created the plan.- Returns:
- a
IdentitySet
-
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the tasks property value. Read-only. Nullable. Collection of tasks in the plan.- Returns:
- a
List<PlannerTask>
-
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 -
setBuckets
Sets the buckets property value. Read-only. Nullable. Collection of buckets in the plan.- Parameters:
value
- Value to set for the buckets property.
-
setContainer
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
Sets the createdBy property value. Read-only. The user who created the plan.- Parameters:
value
- Value to set for the createdBy property.
-
setCreatedDateTime
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
Sets the details property value. Read-only. Nullable. Extra details about the plan.- Parameters:
value
- Value to set for the details property.
-
setOwner
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
Sets the tasks property value. Read-only. Nullable. Collection of tasks in the plan.- Parameters:
value
- Value to set for the tasks property.
-
setTitle
Sets the title property value. Required. Title of the plan.- Parameters:
value
- Value to set for the title property.
-