Class MicrosoftGraphPlannerPlan

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

public final class MicrosoftGraphPlannerPlan extends MicrosoftGraphEntity
plannerPlan.
  • Constructor Details

    • MicrosoftGraphPlannerPlan

      public MicrosoftGraphPlannerPlan()
      Creates an instance of MicrosoftGraphPlannerPlan class.
  • Method Details

    • createdBy

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

      public MicrosoftGraphPlannerPlan withCreatedBy(MicrosoftGraphIdentitySet createdBy)
      Set the createdBy property: identitySet.
      Parameters:
      createdBy - the createdBy value to set.
      Returns:
      the MicrosoftGraphPlannerPlan object itself.
    • createdDateTime

      public OffsetDateTime createdDateTime()
      Get the createdDateTime property: Read-only. Date and time at which the plan 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 MicrosoftGraphPlannerPlan withCreatedDateTime(OffsetDateTime createdDateTime)
      Set the createdDateTime property: Read-only. Date and time at which the plan 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 MicrosoftGraphPlannerPlan object itself.
    • owner

      public String owner()
      Get the owner property: ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated.
      Returns:
      the owner value.
    • withOwner

      public MicrosoftGraphPlannerPlan withOwner(String owner)
      Set the owner property: ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated.
      Parameters:
      owner - the owner value to set.
      Returns:
      the MicrosoftGraphPlannerPlan object itself.
    • title

      public String title()
      Get the title property: Required. Title of the plan.
      Returns:
      the title value.
    • withTitle

      public MicrosoftGraphPlannerPlan withTitle(String title)
      Set the title property: Required. Title of the plan.
      Parameters:
      title - the title value to set.
      Returns:
      the MicrosoftGraphPlannerPlan object itself.
    • buckets

      public List<MicrosoftGraphPlannerBucket> buckets()
      Get the buckets property: Read-only. Nullable. Collection of buckets in the plan.
      Returns:
      the buckets value.
    • withBuckets

      Set the buckets property: Read-only. Nullable. Collection of buckets in the plan.
      Parameters:
      buckets - the buckets value to set.
      Returns:
      the MicrosoftGraphPlannerPlan object itself.
    • details

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

      Set the details property: plannerPlanDetails.
      Parameters:
      details - the details value to set.
      Returns:
      the MicrosoftGraphPlannerPlan object itself.
    • tasks

      Get the tasks property: Read-only. Nullable. Collection of tasks in the plan.
      Returns:
      the tasks value.
    • withTasks

      Set the tasks property: Read-only. Nullable. Collection of tasks in the plan.
      Parameters:
      tasks - the tasks value to set.
      Returns:
      the MicrosoftGraphPlannerPlan object itself.
    • additionalProperties

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

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

      public MicrosoftGraphPlannerPlan 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.