Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PlannerBucket
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelgetName()
Gets the name property value.Gets the orderHint property value.Gets the planId property value.getTasks()
Gets the tasks property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the name property value.void
setOrderHint
(String value) Sets the orderHint property value.void
Sets the planId property value.void
setTasks
(List<PlannerTask> value) Sets the tasks property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PlannerBucket
public PlannerBucket()Instantiates a newPlannerBucket
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getName
Gets the name property value. Name of the bucket.- Returns:
- a
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
Gets the planId property value. Plan ID to which the bucket belongs.- Returns:
- a
String
-
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 -
setName
Sets the name property value. Name of the bucket.- Parameters:
value
- Value to set for the name property.
-
setOrderHint
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
Sets the planId property value. Plan ID to which the bucket belongs.- Parameters:
value
- Value to set for the planId property.
-
setTasks
Sets the tasks property value. Read-only. Nullable. The collection of tasks in the bucket.- Parameters:
value
- Value to set for the tasks property.
-