Package com.microsoft.graph.models
Class PlannerTask
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PlannerTask
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class PlannerTask
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 PlannerTaskcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the activeChecklistItemCount property value.Gets the appliedCategories property value.Gets the assignedToTaskBoardFormat property value.Gets the assigneePriority property value.Gets the assignments property value.Gets the bucketId property value.Gets the bucketTaskBoardFormat property value.Gets the checklistItemCount property value.Gets the completedBy property value.Gets the completedDateTime property value.Gets the conversationThreadId property value.Gets the createdBy property value.Gets the createdDateTime property value.Gets the details property value.Gets the dueDateTime property value.The deserialization information for the current modelGets the hasDescription property value.Gets the orderHint property value.Gets the percentComplete property value.Gets the planId property value.Gets the previewType property value.Gets the priority property value.Gets the progressTaskBoardFormat property value.Gets the referenceCount property value.Gets the startDateTime property value.getTitle()Gets the title property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the activeChecklistItemCount property value.voidSets the appliedCategories property value.voidSets the assignedToTaskBoardFormat property value.voidsetAssigneePriority(String value) Sets the assigneePriority property value.voidsetAssignments(PlannerAssignments value) Sets the assignments property value.voidsetBucketId(String value) Sets the bucketId property value.voidSets the bucketTaskBoardFormat property value.voidsetChecklistItemCount(Integer value) Sets the checklistItemCount property value.voidsetCompletedBy(IdentitySet value) Sets the completedBy property value.voidSets the completedDateTime property value.voidsetConversationThreadId(String value) Sets the conversationThreadId property value.voidsetCreatedBy(IdentitySet value) Sets the createdBy property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetDetails(PlannerTaskDetails value) Sets the details property value.voidsetDueDateTime(OffsetDateTime value) Sets the dueDateTime property value.voidsetHasDescription(Boolean value) Sets the hasDescription property value.voidsetOrderHint(String value) Sets the orderHint property value.voidsetPercentComplete(Integer value) Sets the percentComplete property value.voidSets the planId property value.voidsetPreviewType(PlannerPreviewType value) Sets the previewType property value.voidsetPriority(Integer value) Sets the priority property value.voidSets the progressTaskBoardFormat property value.voidsetReferenceCount(Integer value) Sets the referenceCount property value.voidsetStartDateTime(OffsetDateTime value) Sets the startDateTime property value.voidSets the title property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PlannerTask
public PlannerTask()Instantiates a newPlannerTaskand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PlannerTask 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
PlannerTask
-
getActiveChecklistItemCount
Gets the activeChecklistItemCount property value. Number of checklist items with value set to false, representing incomplete items.- Returns:
- a
Integer
-
getAppliedCategories
Gets the appliedCategories property value. The categories to which the task has been applied. See applied Categories for possible values.- Returns:
- a
PlannerAppliedCategories
-
getAssignedToTaskBoardFormat
Gets the assignedToTaskBoardFormat property value. Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo.- Returns:
- a
PlannerAssignedToTaskBoardTaskFormat
-
getAssigneePriority
Gets the assigneePriority property value. Hint used to order items of this type in a list view. The format is defined as outlined here.- Returns:
- a
String
-
getAssignments
Gets the assignments property value. The set of assignees the task is assigned to.- Returns:
- a
PlannerAssignments
-
getBucketId
Gets the bucketId property value. Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It's 28 characters long and case-sensitive. Format validation is done on the service.- Returns:
- a
String
-
getBucketTaskBoardFormat
Gets the bucketTaskBoardFormat property value. Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket.- Returns:
- a
PlannerBucketTaskBoardTaskFormat
-
getChecklistItemCount
Gets the checklistItemCount property value. Number of checklist items that are present on the task.- Returns:
- a
Integer
-
getCompletedBy
Gets the completedBy property value. Identity of the user that completed the task.- Returns:
- a
IdentitySet
-
getCompletedDateTime
Gets the completedDateTime property value. Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. 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
-
getConversationThreadId
Gets the conversationThreadId property value. Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group.- Returns:
- a
String
-
getCreatedBy
Gets the createdBy property value. Identity of the user that created the task.- Returns:
- a
IdentitySet
-
getCreatedDateTime
Gets the createdDateTime property value. Read-only. Date and time at which the task 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. More details about the task.- Returns:
- a
PlannerTaskDetails
-
getDueDateTime
Gets the dueDateTime property value. Date and time at which the task is due. 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
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHasDescription
Gets the hasDescription property value. Read-only. Value is true if the details object of the task has a nonempty description and false otherwise.- Returns:
- a
Boolean
-
getOrderHint
Gets the orderHint property value. Hint used to order items of this type in a list view. The format is defined as outlined here.- Returns:
- a
String
-
getPercentComplete
Gets the percentComplete property value. Percentage of task completion. When set to 100, the task is considered completed.- Returns:
- a
Integer
-
getPlanId
Gets the planId property value. Plan ID to which the task belongs.- Returns:
- a
String
-
getPreviewType
Gets the previewType property value. This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference.- Returns:
- a
PlannerPreviewType
-
getPriority
Gets the priority property value. Priority of the task. The valid range of values is between 0 and 10, with the increasing value being lower priority (0 has the highest priority and 10 has the lowest priority). Currently, Planner interprets values 0 and 1 as 'urgent', 2, 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'. Additionally, Planner sets the value 1 for 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'.- Returns:
- a
Integer
-
getProgressTaskBoardFormat
Gets the progressTaskBoardFormat property value. Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress.- Returns:
- a
PlannerProgressTaskBoardTaskFormat
-
getReferenceCount
Gets the referenceCount property value. Number of external references that exist on the task.- Returns:
- a
Integer
-
getStartDateTime
Gets the startDateTime property value. Date and time at which the task starts. 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
-
getTitle
Gets the title property value. Title of the task.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setActiveChecklistItemCount
Sets the activeChecklistItemCount property value. Number of checklist items with value set to false, representing incomplete items.- Parameters:
value- Value to set for the activeChecklistItemCount property.
-
setAppliedCategories
Sets the appliedCategories property value. The categories to which the task has been applied. See applied Categories for possible values.- Parameters:
value- Value to set for the appliedCategories property.
-
setAssignedToTaskBoardFormat
Sets the assignedToTaskBoardFormat property value. Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo.- Parameters:
value- Value to set for the assignedToTaskBoardFormat property.
-
setAssigneePriority
Sets the assigneePriority property value. Hint used to order items of this type in a list view. The format is defined as outlined here.- Parameters:
value- Value to set for the assigneePriority property.
-
setAssignments
Sets the assignments property value. The set of assignees the task is assigned to.- Parameters:
value- Value to set for the assignments property.
-
setBucketId
Sets the bucketId property value. Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It's 28 characters long and case-sensitive. Format validation is done on the service.- Parameters:
value- Value to set for the bucketId property.
-
setBucketTaskBoardFormat
Sets the bucketTaskBoardFormat property value. Read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket.- Parameters:
value- Value to set for the bucketTaskBoardFormat property.
-
setChecklistItemCount
Sets the checklistItemCount property value. Number of checklist items that are present on the task.- Parameters:
value- Value to set for the checklistItemCount property.
-
setCompletedBy
Sets the completedBy property value. Identity of the user that completed the task.- Parameters:
value- Value to set for the completedBy property.
-
setCompletedDateTime
Sets the completedDateTime property value. Read-only. Date and time at which the 'percentComplete' of the task is set to '100'. 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 completedDateTime property.
-
setConversationThreadId
Sets the conversationThreadId property value. Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group.- Parameters:
value- Value to set for the conversationThreadId property.
-
setCreatedBy
Sets the createdBy property value. Identity of the user that created the task.- Parameters:
value- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. Read-only. Date and time at which the task 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. More details about the task.- Parameters:
value- Value to set for the details property.
-
setDueDateTime
Sets the dueDateTime property value. Date and time at which the task is due. 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 dueDateTime property.
-
setHasDescription
Sets the hasDescription property value. Read-only. Value is true if the details object of the task has a nonempty description and false otherwise.- Parameters:
value- Value to set for the hasDescription property.
-
setOrderHint
Sets the orderHint property value. Hint used to order items of this type in a list view. The format is defined as outlined here.- Parameters:
value- Value to set for the orderHint property.
-
setPercentComplete
Sets the percentComplete property value. Percentage of task completion. When set to 100, the task is considered completed.- Parameters:
value- Value to set for the percentComplete property.
-
setPlanId
Sets the planId property value. Plan ID to which the task belongs.- Parameters:
value- Value to set for the planId property.
-
setPreviewType
Sets the previewType property value. This sets the type of preview that shows up on the task. The possible values are: automatic, noPreview, checklist, description, reference.- Parameters:
value- Value to set for the previewType property.
-
setPriority
Sets the priority property value. Priority of the task. The valid range of values is between 0 and 10, with the increasing value being lower priority (0 has the highest priority and 10 has the lowest priority). Currently, Planner interprets values 0 and 1 as 'urgent', 2, 3 and 4 as 'important', 5, 6, and 7 as 'medium', and 8, 9, and 10 as 'low'. Additionally, Planner sets the value 1 for 'urgent', 3 for 'important', 5 for 'medium', and 9 for 'low'.- Parameters:
value- Value to set for the priority property.
-
setProgressTaskBoardFormat
Sets the progressTaskBoardFormat property value. Read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress.- Parameters:
value- Value to set for the progressTaskBoardFormat property.
-
setReferenceCount
Sets the referenceCount property value. Number of external references that exist on the task.- Parameters:
value- Value to set for the referenceCount property.
-
setStartDateTime
Sets the startDateTime property value. Date and time at which the task starts. 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 startDateTime property.
-
setTitle
Sets the title property value. Title of the task.- Parameters:
value- Value to set for the title property.
-