你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphPlannerPlan Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPlannerPlan
- com.
- com.
public final class MicrosoftGraphPlannerPlan
extends MicrosoftGraphEntity
plannerPlan.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPlannerPlan() |
Creates an instance of Microsoft |
Method Summary
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPlannerPlan
public MicrosoftGraphPlannerPlan()
Creates an instance of MicrosoftGraphPlannerPlan class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: plannerPlan.
Overrides:
MicrosoftGraphPlannerPlan.additionalProperties()Returns:
buckets
public List
Get the buckets property: Read-only. Nullable. Collection of buckets in the plan.
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 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:
details
public MicrosoftGraphPlannerPlanDetails details()
Get the details property: plannerPlanDetails.
Returns:
fromJson
public static MicrosoftGraphPlannerPlan fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPlannerPlan from the JsonReader.
Parameters:
Returns:
Throws:
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\u2019t be updated.
Returns:
tasks
public List
Get the tasks property: Read-only. Nullable. Collection of tasks in the plan.
Returns:
title
public String title()
Get the title property: Required. Title of the plan.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphPlannerPlan.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphPlannerPlan.validate()withAdditionalProperties
public MicrosoftGraphPlannerPlan withAdditionalProperties(Map
Set the additionalProperties property: plannerPlan.
Overrides:
MicrosoftGraphPlannerPlan.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withBuckets
public MicrosoftGraphPlannerPlan withBuckets(List
Set the buckets property: Read-only. Nullable. Collection of buckets in the plan.
Parameters:
Returns:
withCreatedBy
public MicrosoftGraphPlannerPlan withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.
Parameters:
Returns:
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:
Returns:
withDetails
public MicrosoftGraphPlannerPlan withDetails(MicrosoftGraphPlannerPlanDetails details)
Set the details property: plannerPlanDetails.
Parameters:
Returns:
withId
public MicrosoftGraphPlannerPlan withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphPlannerPlan.withId(String id)Parameters:
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\u2019t be updated.
Parameters:
Returns:
withTasks
public MicrosoftGraphPlannerPlan withTasks(List
Set the tasks property: Read-only. Nullable. Collection of tasks in the plan.
Parameters:
Returns:
withTitle
public MicrosoftGraphPlannerPlan withTitle(String title)
Set the title property: Required. Title of the plan.
Parameters:
Returns: