你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphPlannerTask Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPlannerTask
- com.
- com.
public final class MicrosoftGraphPlannerTask
extends MicrosoftGraphEntity
plannerTask.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPlannerTask() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
activeChecklistItemCount()
Get the active |
Map<String,Object> |
additionalProperties()
Get the additional |
Map<String,Object> |
appliedCategories()
Get the applied |
Microsoft |
assignedToTaskBoardFormat()
Get the assigned |
String |
assigneePriority()
Get the assignee |
Map<String,Object> |
assignments()
Get the assignments property: planner |
String |
bucketId()
Get the bucket |
Microsoft |
bucketTaskBoardFormat()
Get the bucket |
Integer |
checklistItemCount()
Get the checklist |
Microsoft |
completedBy()
Get the completed |
Offset |
completedDateTime()
Get the completed |
String |
conversationThreadId()
Get the conversation |
Microsoft |
createdBy()
Get the created |
Offset |
createdDateTime()
Get the created |
Microsoft |
details()
Get the details property: planner |
Offset |
dueDateTime()
Get the due |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
hasDescription()
Get the has |
String |
orderHint()
Get the order |
Integer |
percentComplete()
Get the percent |
String |
planId()
Get the plan |
Microsoft |
previewType()
Get the preview |
Microsoft |
progressTaskBoardFormat()
Get the progress |
Integer |
referenceCount()
Get the reference |
Offset |
startDateTime()
Get the start |
String |
title()
Get the title property: Title of the task. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withActiveChecklistItemCount(Integer activeChecklistItemCount)
Set the active |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAppliedCategories(Map<String,Object> appliedCategories)
Set the applied |
Microsoft |
withAssignedToTaskBoardFormat(MicrosoftGraphPlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat)
Set the assigned |
Microsoft |
withAssigneePriority(String assigneePriority)
Set the assignee |
Microsoft |
withAssignments(Map<String,Object> assignments)
Set the assignments property: planner |
Microsoft |
withBucketId(String bucketId)
Set the bucket |
Microsoft |
withBucketTaskBoardFormat(MicrosoftGraphPlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat)
Set the bucket |
Microsoft |
withChecklistItemCount(Integer checklistItemCount)
Set the checklist |
Microsoft |
withCompletedBy(MicrosoftGraphIdentitySet completedBy)
Set the completed |
Microsoft |
withCompletedDateTime(OffsetDateTime completedDateTime)
Set the completed |
Microsoft |
withConversationThreadId(String conversationThreadId)
Set the conversation |
Microsoft |
withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the created |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withDetails(MicrosoftGraphPlannerTaskDetails details)
Set the details property: planner |
Microsoft |
withDueDateTime(OffsetDateTime dueDateTime)
Set the due |
Microsoft |
withHasDescription(Boolean hasDescription)
Set the has |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withOrderHint(String orderHint)
Set the order |
Microsoft |
withPercentComplete(Integer percentComplete)
Set the percent |
Microsoft |
withPlanId(String planId)
Set the plan |
Microsoft |
withPreviewType(MicrosoftGraphPlannerPreviewType previewType)
Set the preview |
Microsoft |
withProgressTaskBoardFormat(MicrosoftGraphPlannerProgressTaskBoardTaskFormat progressTaskBoardFormat)
Set the progress |
Microsoft |
withReferenceCount(Integer referenceCount)
Set the reference |
Microsoft |
withStartDateTime(OffsetDateTime startDateTime)
Set the start |
Microsoft |
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:
additionalProperties
public Map
Get the additionalProperties property: plannerTask.
Overrides:
MicrosoftGraphPlannerTask.additionalProperties()Returns:
appliedCategories
public Map
Get the appliedCategories property: plannerAppliedCategories.
Returns:
assignedToTaskBoardFormat
public MicrosoftGraphPlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat()
Get the assignedToTaskBoardFormat property: plannerAssignedToTaskBoardTaskFormat.
Returns:
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:
assignments
public Map
Get the assignments property: plannerAssignments.
Returns:
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:
bucketTaskBoardFormat
public MicrosoftGraphPlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat()
Get the bucketTaskBoardFormat property: plannerBucketTaskBoardTaskFormat.
Returns:
checklistItemCount
public Integer checklistItemCount()
Get the checklistItemCount property: Number of checklist items that are present on the task.
Returns:
completedBy
public MicrosoftGraphIdentitySet completedBy()
Get the completedBy property: identitySet.
Returns:
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:
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:
createdBy
public MicrosoftGraphIdentitySet createdBy()
Get the createdBy property: identitySet.
Returns:
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:
details
public MicrosoftGraphPlannerTaskDetails details()
Get the details property: plannerTaskDetails.
Returns:
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:
fromJson
public static MicrosoftGraphPlannerTask fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPlannerTask from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
percentComplete
public Integer percentComplete()
Get the percentComplete property: Percentage of task completion. When set to 100, the task is considered completed.
Returns:
planId
public String planId()
Get the planId property: Plan ID to which the task belongs.
Returns:
previewType
public MicrosoftGraphPlannerPreviewType previewType()
Get the previewType property: plannerPreviewType.
Returns:
progressTaskBoardFormat
public MicrosoftGraphPlannerProgressTaskBoardTaskFormat progressTaskBoardFormat()
Get the progressTaskBoardFormat property: plannerProgressTaskBoardTaskFormat.
Returns:
referenceCount
public Integer referenceCount()
Get the referenceCount property: Number of external references that exist on the task.
Returns:
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:
title
public String title()
Get the title property: Title of the task.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphPlannerTask.toJson(JsonWriter jsonWriter)Parameters:
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:
Returns:
withAdditionalProperties
public MicrosoftGraphPlannerTask withAdditionalProperties(Map
Set the additionalProperties property: plannerTask.
Overrides:
MicrosoftGraphPlannerTask.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAppliedCategories
public MicrosoftGraphPlannerTask withAppliedCategories(Map
Set the appliedCategories property: plannerAppliedCategories.
Parameters:
Returns:
withAssignedToTaskBoardFormat
public MicrosoftGraphPlannerTask withAssignedToTaskBoardFormat(MicrosoftGraphPlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat)
Set the assignedToTaskBoardFormat property: plannerAssignedToTaskBoardTaskFormat.
Parameters:
Returns:
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:
Returns:
withAssignments
public MicrosoftGraphPlannerTask withAssignments(Map
Set the assignments property: plannerAssignments.
Parameters:
Returns:
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:
Returns:
withBucketTaskBoardFormat
public MicrosoftGraphPlannerTask withBucketTaskBoardFormat(MicrosoftGraphPlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat)
Set the bucketTaskBoardFormat property: plannerBucketTaskBoardTaskFormat.
Parameters:
Returns:
withChecklistItemCount
public MicrosoftGraphPlannerTask withChecklistItemCount(Integer checklistItemCount)
Set the checklistItemCount property: Number of checklist items that are present on the task.
Parameters:
Returns:
withCompletedBy
public MicrosoftGraphPlannerTask withCompletedBy(MicrosoftGraphIdentitySet completedBy)
Set the completedBy property: identitySet.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withCreatedBy
public MicrosoftGraphPlannerTask withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.
Parameters:
Returns:
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:
Returns:
withDetails
public MicrosoftGraphPlannerTask withDetails(MicrosoftGraphPlannerTaskDetails details)
Set the details property: plannerTaskDetails.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withId
public MicrosoftGraphPlannerTask withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphPlannerTask.withId(String id)Parameters:
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:
Returns:
withPercentComplete
public MicrosoftGraphPlannerTask withPercentComplete(Integer percentComplete)
Set the percentComplete property: Percentage of task completion. When set to 100, the task is considered completed.
Parameters:
Returns:
withPlanId
public MicrosoftGraphPlannerTask withPlanId(String planId)
Set the planId property: Plan ID to which the task belongs.
Parameters:
Returns:
withPreviewType
public MicrosoftGraphPlannerTask withPreviewType(MicrosoftGraphPlannerPreviewType previewType)
Set the previewType property: plannerPreviewType.
Parameters:
Returns:
withProgressTaskBoardFormat
public MicrosoftGraphPlannerTask withProgressTaskBoardFormat(MicrosoftGraphPlannerProgressTaskBoardTaskFormat progressTaskBoardFormat)
Set the progressTaskBoardFormat property: plannerProgressTaskBoardTaskFormat.
Parameters:
Returns:
withReferenceCount
public MicrosoftGraphPlannerTask withReferenceCount(Integer referenceCount)
Set the referenceCount property: Number of external references that exist on the task.
Parameters:
Returns:
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:
Returns:
withTitle
public MicrosoftGraphPlannerTask withTitle(String title)
Set the title property: Title of the task.
Parameters:
Returns: