Class MicrosoftGraphPlannerTask

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPlannerTask

public final class MicrosoftGraphPlannerTask extends MicrosoftGraphEntity
plannerTask.
  • 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.
    • 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.
    • appliedCategories

      public Map<String,Object> appliedCategories()
      Get the appliedCategories property: plannerAppliedCategories.
      Returns:
      the appliedCategories value.
    • withAppliedCategories

      public MicrosoftGraphPlannerTask withAppliedCategories(Map<String,Object> appliedCategories)
      Set the appliedCategories property: plannerAppliedCategories.
      Parameters:
      appliedCategories - the appliedCategories value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • 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.
    • 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.
    • assignments

      public Map<String,Object> assignments()
      Get the assignments property: plannerAssignments.
      Returns:
      the assignments value.
    • withAssignments

      public MicrosoftGraphPlannerTask withAssignments(Map<String,Object> assignments)
      Set the assignments property: plannerAssignments.
      Parameters:
      assignments - the assignments value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • 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.
    • 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.
    • checklistItemCount

      public Integer checklistItemCount()
      Get the checklistItemCount property: Number of checklist items that are present on the task.
      Returns:
      the checklistItemCount value.
    • 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.
    • completedBy

      public MicrosoftGraphIdentitySet completedBy()
      Get the completedBy property: identitySet.
      Returns:
      the completedBy value.
    • withCompletedBy

      public MicrosoftGraphPlannerTask withCompletedBy(MicrosoftGraphIdentitySet completedBy)
      Set the completedBy property: identitySet.
      Parameters:
      completedBy - the completedBy value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • 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.
    • 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.
    • 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.
    • 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.
    • createdBy

      public MicrosoftGraphIdentitySet createdBy()
      Get the createdBy property: identitySet.
      Returns:
      the createdBy value.
    • withCreatedBy

      public MicrosoftGraphPlannerTask withCreatedBy(MicrosoftGraphIdentitySet createdBy)
      Set the createdBy property: identitySet.
      Parameters:
      createdBy - the createdBy value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • planId

      public String planId()
      Get the planId property: Plan ID to which the task belongs.
      Returns:
      the planId value.
    • 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.
    • previewType

      public MicrosoftGraphPlannerPreviewType previewType()
      Get the previewType property: plannerPreviewType.
      Returns:
      the previewType value.
    • withPreviewType

      public MicrosoftGraphPlannerTask withPreviewType(MicrosoftGraphPlannerPreviewType previewType)
      Set the previewType property: plannerPreviewType.
      Parameters:
      previewType - the previewType value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • referenceCount

      public Integer referenceCount()
      Get the referenceCount property: Number of external references that exist on the task.
      Returns:
      the referenceCount value.
    • 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.
    • 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.
    • 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.
    • title

      public String title()
      Get the title property: Title of the task.
      Returns:
      the title value.
    • 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.
    • assignedToTaskBoardFormat

      public MicrosoftGraphPlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat()
      Get the assignedToTaskBoardFormat property: plannerAssignedToTaskBoardTaskFormat.
      Returns:
      the assignedToTaskBoardFormat value.
    • withAssignedToTaskBoardFormat

      public MicrosoftGraphPlannerTask withAssignedToTaskBoardFormat(MicrosoftGraphPlannerAssignedToTaskBoardTaskFormat assignedToTaskBoardFormat)
      Set the assignedToTaskBoardFormat property: plannerAssignedToTaskBoardTaskFormat.
      Parameters:
      assignedToTaskBoardFormat - the assignedToTaskBoardFormat value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • bucketTaskBoardFormat

      public MicrosoftGraphPlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat()
      Get the bucketTaskBoardFormat property: plannerBucketTaskBoardTaskFormat.
      Returns:
      the bucketTaskBoardFormat value.
    • withBucketTaskBoardFormat

      public MicrosoftGraphPlannerTask withBucketTaskBoardFormat(MicrosoftGraphPlannerBucketTaskBoardTaskFormat bucketTaskBoardFormat)
      Set the bucketTaskBoardFormat property: plannerBucketTaskBoardTaskFormat.
      Parameters:
      bucketTaskBoardFormat - the bucketTaskBoardFormat value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • details

      Get the details property: plannerTaskDetails.
      Returns:
      the details value.
    • withDetails

      Set the details property: plannerTaskDetails.
      Parameters:
      details - the details value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • progressTaskBoardFormat

      public MicrosoftGraphPlannerProgressTaskBoardTaskFormat progressTaskBoardFormat()
      Get the progressTaskBoardFormat property: plannerProgressTaskBoardTaskFormat.
      Returns:
      the progressTaskBoardFormat value.
    • withProgressTaskBoardFormat

      public MicrosoftGraphPlannerTask withProgressTaskBoardFormat(MicrosoftGraphPlannerProgressTaskBoardTaskFormat progressTaskBoardFormat)
      Set the progressTaskBoardFormat property: plannerProgressTaskBoardTaskFormat.
      Parameters:
      progressTaskBoardFormat - the progressTaskBoardFormat value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: plannerTask.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphPlannerTask withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: plannerTask.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphPlannerTask object itself.
    • withId

      public MicrosoftGraphPlannerTask withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.