你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphTodoTask Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphTodoTask
- com.
- com.
public final class MicrosoftGraphTodoTask
extends MicrosoftGraphEntity
todoTask.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphTodoTask() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Microsoft |
body()
Get the body property: item |
Offset |
bodyLastModifiedDateTime()
Get the body |
Microsoft |
completedDateTime()
Get the completed |
Offset |
createdDateTime()
Get the created |
Microsoft |
dueDateTime()
Get the due |
List<Microsoft |
extensions()
Get the extensions property: The collection of open extensions defined for the task. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Microsoft |
importance()
Get the importance property: importance. |
Boolean |
isReminderOn()
Get the is |
Offset |
lastModifiedDateTime()
Get the last |
List<Microsoft |
linkedResources()
Get the linked |
Microsoft |
recurrence()
Get the recurrence property: patterned |
Microsoft |
reminderDateTime()
Get the reminder |
Microsoft |
status()
Get the status property: task |
String |
title()
Get the title property: A brief description of the task. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withBody(MicrosoftGraphItemBody body)
Set the body property: item |
Microsoft |
withBodyLastModifiedDateTime(OffsetDateTime bodyLastModifiedDateTime)
Set the body |
Microsoft |
withCompletedDateTime(MicrosoftGraphDateTimeZone completedDateTime)
Set the completed |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withDueDateTime(MicrosoftGraphDateTimeZone dueDateTime)
Set the due |
Microsoft |
withExtensions(List<MicrosoftGraphExtension> extensions)
Set the extensions property: The collection of open extensions defined for the task. |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withImportance(MicrosoftGraphImportance importance)
Set the importance property: importance. |
Microsoft |
withIsReminderOn(Boolean isReminderOn)
Set the is |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withLinkedResources(List<MicrosoftGraphLinkedResource> linkedResources)
Set the linked |
Microsoft |
withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
Set the recurrence property: patterned |
Microsoft |
withReminderDateTime(MicrosoftGraphDateTimeZone reminderDateTime)
Set the reminder |
Microsoft |
withStatus(MicrosoftGraphTaskStatus status)
Set the status property: task |
Microsoft |
withTitle(String title)
Set the title property: A brief description of the task. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphTodoTask
public MicrosoftGraphTodoTask()
Creates an instance of MicrosoftGraphTodoTask class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: todoTask.
Overrides:
MicrosoftGraphTodoTask.additionalProperties()Returns:
body
public MicrosoftGraphItemBody body()
Get the body property: itemBody.
Returns:
bodyLastModifiedDateTime
public OffsetDateTime bodyLastModifiedDateTime()
Get the bodyLastModifiedDateTime property: The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
Returns:
completedDateTime
public MicrosoftGraphDateTimeZone completedDateTime()
Get the completedDateTime property: dateTimeTimeZone.
Returns:
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
Returns:
dueDateTime
public MicrosoftGraphDateTimeZone dueDateTime()
Get the dueDateTime property: dateTimeTimeZone.
Returns:
extensions
public List
Get the extensions property: The collection of open extensions defined for the task. Nullable.
Returns:
fromJson
public static MicrosoftGraphTodoTask fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphTodoTask from the JsonReader.
Parameters:
Returns:
Throws:
importance
public MicrosoftGraphImportance importance()
Get the importance property: importance.
Returns:
isReminderOn
public Boolean isReminderOn()
Get the isReminderOn property: Set to true if an alert is set to remind the user of the task.
Returns:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
Returns:
linkedResources
public List
Get the linkedResources property: A collection of resources linked to the task.
Returns:
recurrence
public MicrosoftGraphPatternedRecurrence recurrence()
Get the recurrence property: patternedRecurrence.
Returns:
reminderDateTime
public MicrosoftGraphDateTimeZone reminderDateTime()
Get the reminderDateTime property: dateTimeTimeZone.
Returns:
status
public MicrosoftGraphTaskStatus status()
Get the status property: taskStatus.
Returns:
title
public String title()
Get the title property: A brief description of the task.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphTodoTask.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphTodoTask.validate()withAdditionalProperties
public MicrosoftGraphTodoTask withAdditionalProperties(Map
Set the additionalProperties property: todoTask.
Overrides:
MicrosoftGraphTodoTask.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withBody
public MicrosoftGraphTodoTask withBody(MicrosoftGraphItemBody body)
Set the body property: itemBody.
Parameters:
Returns:
withBodyLastModifiedDateTime
public MicrosoftGraphTodoTask withBodyLastModifiedDateTime(OffsetDateTime bodyLastModifiedDateTime)
Set the bodyLastModifiedDateTime property: The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
Parameters:
Returns:
withCompletedDateTime
public MicrosoftGraphTodoTask withCompletedDateTime(MicrosoftGraphDateTimeZone completedDateTime)
Set the completedDateTime property: dateTimeTimeZone.
Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphTodoTask withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
Parameters:
Returns:
withDueDateTime
public MicrosoftGraphTodoTask withDueDateTime(MicrosoftGraphDateTimeZone dueDateTime)
Set the dueDateTime property: dateTimeTimeZone.
Parameters:
Returns:
withExtensions
public MicrosoftGraphTodoTask withExtensions(List
Set the extensions property: The collection of open extensions defined for the task. Nullable.
Parameters:
Returns:
withId
public MicrosoftGraphTodoTask withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphTodoTask.withId(String id)Parameters:
withImportance
public MicrosoftGraphTodoTask withImportance(MicrosoftGraphImportance importance)
Set the importance property: importance.
Parameters:
Returns:
withIsReminderOn
public MicrosoftGraphTodoTask withIsReminderOn(Boolean isReminderOn)
Set the isReminderOn property: Set to true if an alert is set to remind the user of the task.
Parameters:
Returns:
withLastModifiedDateTime
public MicrosoftGraphTodoTask withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
Parameters:
Returns:
withLinkedResources
public MicrosoftGraphTodoTask withLinkedResources(List
Set the linkedResources property: A collection of resources linked to the task.
Parameters:
Returns:
withRecurrence
public MicrosoftGraphTodoTask withRecurrence(MicrosoftGraphPatternedRecurrence recurrence)
Set the recurrence property: patternedRecurrence.
Parameters:
Returns:
withReminderDateTime
public MicrosoftGraphTodoTask withReminderDateTime(MicrosoftGraphDateTimeZone reminderDateTime)
Set the reminderDateTime property: dateTimeTimeZone.
Parameters:
Returns:
withStatus
public MicrosoftGraphTodoTask withStatus(MicrosoftGraphTaskStatus status)
Set the status property: taskStatus.
Parameters:
Returns:
withTitle
public MicrosoftGraphTodoTask withTitle(String title)
Set the title property: A brief description of the task.
Parameters:
Returns: