你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphPlannerTask Class

public final class MicrosoftGraphPlannerTask
extends MicrosoftGraphEntity

plannerTask.

Constructor Summary

Constructor Description
MicrosoftGraphPlannerTask()

Creates an instance of MicrosoftGraphPlannerTask class.

Method Summary

Modifier and Type Method and Description
Integer activeChecklistItemCount()

Get the activeChecklistItemCount property: Number of checklist items with value set to false, representing incomplete items.

Map<String,Object> additionalProperties()

Get the additionalProperties property: plannerTask.

Map<String,Object> appliedCategories()

Get the appliedCategories property: plannerAppliedCategories.

MicrosoftGraphPlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat()

Get the assignedToTaskBoardFormat property: plannerAssignedToTaskBoardTaskFormat.

String assigneePriority()

Get the assigneePriority property: Hint used to order items of this type in a list view.

Map<String,Object> assignments()

Get the assignments property: plannerAssignments.

String bucketId()

Get the bucketId property: Bucket ID to which the task belongs.

MicrosoftGraphPlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat()

Get the bucketTaskBoardFormat property: plannerBucketTaskBoardTaskFormat.

Integer checklistItemCount()

Get the checklistItemCount property: Number of checklist items that are present on the task.

MicrosoftGraphIdentitySet completedBy()

Get the completedBy property: identitySet.

OffsetDateTime completedDateTime()

Get the completedDateTime property: Read-only.

String conversationThreadId()

Get the conversationThreadId property: Thread ID of the conversation on the task.

MicrosoftGraphIdentitySet createdBy()

Get the createdBy property: identitySet.

OffsetDateTime createdDateTime()

Get the createdDateTime property: Read-only.

MicrosoftGraphPlannerTaskDetails details()

Get the details property: plannerTaskDetails.

OffsetDateTime dueDateTime()

Get the dueDateTime property: Date and time at which the task is due.

static MicrosoftGraphPlannerTask fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerTask from the JsonReader.

Boolean hasDescription()

Get the hasDescription property: Read-only.

String orderHint()

Get the orderHint property: Hint used to order items of this type in a list view.

Integer percentComplete()

Get the percentComplete property: Percentage of task completion.

String planId()

Get the planId property: Plan ID to which the task belongs.

MicrosoftGraphPlannerPreviewType previewType()

Get the previewType property: plannerPreviewType.

MicrosoftGraphPlannerProgressTaskBoardTaskFormat progressTaskBoardFormat()

Get the progressTaskBoardFormat property: plannerProgressTaskBoardTaskFormat.

Integer referenceCount()

Get the referenceCount property: Number of external references that exist on the task.

OffsetDateTime startDateTime()

Get the startDateTime property: Date and time at which the task starts.

String title()

Get the title property: Title of the task.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphPlannerTask withActiveChecklistItemCount(Integer activeChecklistItemCount)

Set the activeChecklistItemCount property: Number of checklist items with value set to false, representing incomplete items.

MicrosoftGraphPlannerTask withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: plannerTask.

MicrosoftGraphPlannerTask withAppliedCategories(Map<String,Object> appliedCategories)

Set the appliedCategories property: plannerAppliedCategories.

MicrosoftGraphPlannerTask withAssignedToTaskBoardFormat(MicrosoftGraphPlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat)

Set the assignedToTaskBoardFormat property: plannerAssignedToTaskBoardTaskFormat.

MicrosoftGraphPlannerTask withAssigneePriority(String assigneePriority)

Set the assigneePriority property: Hint used to order items of this type in a list view.

MicrosoftGraphPlannerTask withAssignments(Map<String,Object> assignments)

Set the assignments property: plannerAssignments.

MicrosoftGraphPlannerTask withBucketId(String bucketId)

Set the bucketId property: Bucket ID to which the task belongs.

MicrosoftGraphPlannerTask withBucketTaskBoardFormat(MicrosoftGraphPlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat)

Set the bucketTaskBoardFormat property: plannerBucketTaskBoardTaskFormat.

MicrosoftGraphPlannerTask withChecklistItemCount(Integer checklistItemCount)

Set the checklistItemCount property: Number of checklist items that are present on the task.

MicrosoftGraphPlannerTask withCompletedBy(MicrosoftGraphIdentitySet completedBy)

Set the completedBy property: identitySet.

MicrosoftGraphPlannerTask withCompletedDateTime(OffsetDateTime completedDateTime)

Set the completedDateTime property: Read-only.

MicrosoftGraphPlannerTask withConversationThreadId(String conversationThreadId)

Set the conversationThreadId property: Thread ID of the conversation on the task.

MicrosoftGraphPlannerTask withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

MicrosoftGraphPlannerTask withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Read-only.

MicrosoftGraphPlannerTask withDetails(MicrosoftGraphPlannerTaskDetails details)

Set the details property: plannerTaskDetails.

MicrosoftGraphPlannerTask withDueDateTime(OffsetDateTime dueDateTime)

Set the dueDateTime property: Date and time at which the task is due.

MicrosoftGraphPlannerTask withHasDescription(Boolean hasDescription)

Set the hasDescription property: Read-only.

MicrosoftGraphPlannerTask withId(String id)

Set the id property: Read-only.

MicrosoftGraphPlannerTask withOrderHint(String orderHint)

Set the orderHint property: Hint used to order items of this type in a list view.

MicrosoftGraphPlannerTask withPercentComplete(Integer percentComplete)

Set the percentComplete property: Percentage of task completion.

MicrosoftGraphPlannerTask withPlanId(String planId)

Set the planId property: Plan ID to which the task belongs.

MicrosoftGraphPlannerTask withPreviewType(MicrosoftGraphPlannerPreviewType previewType)

Set the previewType property: plannerPreviewType.

MicrosoftGraphPlannerTask withProgressTaskBoardFormat(MicrosoftGraphPlannerProgressTaskBoardTaskFormat progressTaskBoardFormat)

Set the progressTaskBoardFormat property: plannerProgressTaskBoardTaskFormat.

MicrosoftGraphPlannerTask withReferenceCount(Integer referenceCount)

Set the referenceCount property: Number of external references that exist on the task.

MicrosoftGraphPlannerTask withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: Date and time at which the task starts.

MicrosoftGraphPlannerTask withTitle(String title)

Set the title property: Title of the task.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPlannerTask

public MicrosoftGraphPlannerTask()

Creates an instance of MicrosoftGraphPlannerTask class.

Method Details

activeChecklistItemCount

public Integer activeChecklistItemCount()

Get the activeChecklistItemCount property: Number of checklist items with value set to false, representing incomplete items.

Returns:

the activeChecklistItemCount value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: plannerTask.

Overrides:

MicrosoftGraphPlannerTask.additionalProperties()

Returns:

the additionalProperties value.

appliedCategories

public Map appliedCategories()

Get the appliedCategories property: plannerAppliedCategories.

Returns:

the appliedCategories value.

assignedToTaskBoardFormat

public MicrosoftGraphPlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat()

Get the assignedToTaskBoardFormat property: plannerAssignedToTaskBoardTaskFormat.

Returns:

the assignedToTaskBoardFormat value.

assigneePriority

public String assigneePriority()

Get the assigneePriority property: Hint used to order items of this type in a list view. The format is defined as outlined here.

Returns:

the assigneePriority value.

assignments

public Map assignments()

Get the assignments property: plannerAssignments.

Returns:

the assignments value.

bucketId

public String bucketId()

Get the bucketId property: Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service.

Returns:

the bucketId value.

bucketTaskBoardFormat

public MicrosoftGraphPlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat()

Get the bucketTaskBoardFormat property: plannerBucketTaskBoardTaskFormat.

Returns:

the bucketTaskBoardFormat value.

checklistItemCount

public Integer checklistItemCount()

Get the checklistItemCount property: Number of checklist items that are present on the task.

Returns:

the checklistItemCount value.

completedBy

public MicrosoftGraphIdentitySet completedBy()

Get the completedBy property: identitySet.

Returns:

the completedBy value.

completedDateTime

public OffsetDateTime completedDateTime()

Get the completedDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.

Returns:

the completedDateTime value.

conversationThreadId

public String conversationThreadId()

Get the conversationThreadId property: Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group.

Returns:

the conversationThreadId value.

createdBy

public MicrosoftGraphIdentitySet createdBy()

Get the createdBy property: identitySet.

Returns:

the createdBy value.

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.

Returns:

the createdDateTime value.

details

public MicrosoftGraphPlannerTaskDetails details()

Get the details property: plannerTaskDetails.

Returns:

the details value.

dueDateTime

public OffsetDateTime dueDateTime()

Get the dueDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.

Returns:

the dueDateTime value.

fromJson

public static MicrosoftGraphPlannerTask fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerTask from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphPlannerTask if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphPlannerTask.

hasDescription

public Boolean hasDescription()

Get the hasDescription property: Read-only. Value is true if the details object of the task has a non-empty description and false otherwise.

Returns:

the hasDescription value.

orderHint

public String orderHint()

Get the orderHint property: Hint used to order items of this type in a list view. The format is defined as outlined here.

Returns:

the orderHint value.

percentComplete

public Integer percentComplete()

Get the percentComplete property: Percentage of task completion. When set to 100, the task is considered completed.

Returns:

the percentComplete value.

planId

public String planId()

Get the planId property: Plan ID to which the task belongs.

Returns:

the planId value.

previewType

public MicrosoftGraphPlannerPreviewType previewType()

Get the previewType property: plannerPreviewType.

Returns:

the previewType value.

progressTaskBoardFormat

public MicrosoftGraphPlannerProgressTaskBoardTaskFormat progressTaskBoardFormat()

Get the progressTaskBoardFormat property: plannerProgressTaskBoardTaskFormat.

Returns:

the progressTaskBoardFormat value.

referenceCount

public Integer referenceCount()

Get the referenceCount property: Number of external references that exist on the task.

Returns:

the referenceCount value.

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.

Returns:

the startDateTime value.

title

public String title()

Get the title property: Title of the task.

Returns:

the title value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphPlannerTask.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphPlannerTask.validate()

withActiveChecklistItemCount

public MicrosoftGraphPlannerTask withActiveChecklistItemCount(Integer activeChecklistItemCount)

Set the activeChecklistItemCount property: Number of checklist items with value set to false, representing incomplete items.

Parameters:

activeChecklistItemCount - the activeChecklistItemCount value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withAdditionalProperties

public MicrosoftGraphPlannerTask withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: plannerTask.

Overrides:

MicrosoftGraphPlannerTask.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withAppliedCategories

public MicrosoftGraphPlannerTask withAppliedCategories(Map appliedCategories)

Set the appliedCategories property: plannerAppliedCategories.

Parameters:

appliedCategories - the appliedCategories value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withAssignedToTaskBoardFormat

public MicrosoftGraphPlannerTask withAssignedToTaskBoardFormat(MicrosoftGraphPlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat)

Set the assignedToTaskBoardFormat property: plannerAssignedToTaskBoardTaskFormat.

Parameters:

assignedToTaskBoardFormat - the assignedToTaskBoardFormat value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withAssigneePriority

public MicrosoftGraphPlannerTask withAssigneePriority(String assigneePriority)

Set the assigneePriority property: Hint used to order items of this type in a list view. The format is defined as outlined here.

Parameters:

assigneePriority - the assigneePriority value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withAssignments

public MicrosoftGraphPlannerTask withAssignments(Map assignments)

Set the assignments property: plannerAssignments.

Parameters:

assignments - the assignments value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withBucketId

public MicrosoftGraphPlannerTask withBucketId(String bucketId)

Set the bucketId property: Bucket ID to which the task belongs. The bucket needs to be in the plan that the task is in. It is 28 characters long and case-sensitive. Format validation is done on the service.

Parameters:

bucketId - the bucketId value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withBucketTaskBoardFormat

public MicrosoftGraphPlannerTask withBucketTaskBoardFormat(MicrosoftGraphPlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat)

Set the bucketTaskBoardFormat property: plannerBucketTaskBoardTaskFormat.

Parameters:

bucketTaskBoardFormat - the bucketTaskBoardFormat value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withChecklistItemCount

public MicrosoftGraphPlannerTask withChecklistItemCount(Integer checklistItemCount)

Set the checklistItemCount property: Number of checklist items that are present on the task.

Parameters:

checklistItemCount - the checklistItemCount value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withCompletedBy

public MicrosoftGraphPlannerTask withCompletedBy(MicrosoftGraphIdentitySet completedBy)

Set the completedBy property: identitySet.

Parameters:

completedBy - the completedBy value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withCompletedDateTime

public MicrosoftGraphPlannerTask withCompletedDateTime(OffsetDateTime completedDateTime)

Set the completedDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.

Parameters:

completedDateTime - the completedDateTime value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withConversationThreadId

public MicrosoftGraphPlannerTask withConversationThreadId(String conversationThreadId)

Set the conversationThreadId property: Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group.

Parameters:

conversationThreadId - the conversationThreadId value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withCreatedBy

public MicrosoftGraphPlannerTask withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

Parameters:

createdBy - the createdBy value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withCreatedDateTime

public MicrosoftGraphPlannerTask withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.

Parameters:

createdDateTime - the createdDateTime value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withDetails

public MicrosoftGraphPlannerTask withDetails(MicrosoftGraphPlannerTaskDetails details)

Set the details property: plannerTaskDetails.

Parameters:

details - the details value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withDueDateTime

public MicrosoftGraphPlannerTask withDueDateTime(OffsetDateTime dueDateTime)

Set the dueDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.

Parameters:

dueDateTime - the dueDateTime value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withHasDescription

public MicrosoftGraphPlannerTask withHasDescription(Boolean hasDescription)

Set the hasDescription property: Read-only. Value is true if the details object of the task has a non-empty description and false otherwise.

Parameters:

hasDescription - the hasDescription value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withId

public MicrosoftGraphPlannerTask withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphPlannerTask.withId(String id)

Parameters:

id

withOrderHint

public MicrosoftGraphPlannerTask withOrderHint(String orderHint)

Set the orderHint property: Hint used to order items of this type in a list view. The format is defined as outlined here.

Parameters:

orderHint - the orderHint value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withPercentComplete

public MicrosoftGraphPlannerTask withPercentComplete(Integer percentComplete)

Set the percentComplete property: Percentage of task completion. When set to 100, the task is considered completed.

Parameters:

percentComplete - the percentComplete value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withPlanId

public MicrosoftGraphPlannerTask withPlanId(String planId)

Set the planId property: Plan ID to which the task belongs.

Parameters:

planId - the planId value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withPreviewType

public MicrosoftGraphPlannerTask withPreviewType(MicrosoftGraphPlannerPreviewType previewType)

Set the previewType property: plannerPreviewType.

Parameters:

previewType - the previewType value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withProgressTaskBoardFormat

public MicrosoftGraphPlannerTask withProgressTaskBoardFormat(MicrosoftGraphPlannerProgressTaskBoardTaskFormat progressTaskBoardFormat)

Set the progressTaskBoardFormat property: plannerProgressTaskBoardTaskFormat.

Parameters:

progressTaskBoardFormat - the progressTaskBoardFormat value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withReferenceCount

public MicrosoftGraphPlannerTask withReferenceCount(Integer referenceCount)

Set the referenceCount property: Number of external references that exist on the task.

Parameters:

referenceCount - the referenceCount value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withStartDateTime

public MicrosoftGraphPlannerTask withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.

Parameters:

startDateTime - the startDateTime value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

withTitle

public MicrosoftGraphPlannerTask withTitle(String title)

Set the title property: Title of the task.

Parameters:

title - the title value to set.

Returns:

the MicrosoftGraphPlannerTask object itself.

Applies to