Package odata.msgraph.client.entity
Class TodoTask
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.TodoTask
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class TodoTask extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTodoTask.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ItemBodybodyprotected OffsetDateTimebodyLastModifiedDateTimeprotected List<String>categoriesprotected StringcategoriesNextLinkprotected DateTimeTimeZonecompletedDateTimeprotected OffsetDateTimecreatedDateTimeprotected DateTimeTimeZonedueDateTimeprotected BooleanhasAttachmentsprotected Importanceimportanceprotected BooleanisReminderOnprotected OffsetDateTimelastModifiedDateTimeprotected PatternedRecurrencerecurrenceprotected DateTimeTimeZonereminderDateTimeprotected DateTimeTimeZonestartDateTimeprotected TaskStatusstatusprotected Stringtitle-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTodoTask()
-
Method Summary
-
-
-
Field Detail
-
body
protected ItemBody body
-
bodyLastModifiedDateTime
protected OffsetDateTime bodyLastModifiedDateTime
-
categoriesNextLink
protected String categoriesNextLink
-
completedDateTime
protected DateTimeTimeZone completedDateTime
-
createdDateTime
protected OffsetDateTime createdDateTime
-
dueDateTime
protected DateTimeTimeZone dueDateTime
-
hasAttachments
protected Boolean hasAttachments
-
importance
protected Importance importance
-
isReminderOn
protected Boolean isReminderOn
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
recurrence
protected PatternedRecurrence recurrence
-
reminderDateTime
protected DateTimeTimeZone reminderDateTime
-
startDateTime
protected DateTimeTimeZone startDateTime
-
status
protected TaskStatus status
-
title
protected String title
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTodoTask
public static TodoTask.Builder builderTodoTask()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getBodyLastModifiedDateTime
public Optional<OffsetDateTime> getBodyLastModifiedDateTime()
-
withBodyLastModifiedDateTime
public TodoTask withBodyLastModifiedDateTime(OffsetDateTime bodyLastModifiedDateTime)
-
getCategories
public com.github.davidmoten.odata.client.CollectionPage<String> getCategories()
-
getCategories
public com.github.davidmoten.odata.client.CollectionPage<String> getCategories(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCompletedDateTime
public Optional<DateTimeTimeZone> getCompletedDateTime()
-
withCompletedDateTime
public TodoTask withCompletedDateTime(DateTimeTimeZone completedDateTime)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public TodoTask withCreatedDateTime(OffsetDateTime createdDateTime)
-
getDueDateTime
public Optional<DateTimeTimeZone> getDueDateTime()
-
withDueDateTime
public TodoTask withDueDateTime(DateTimeTimeZone dueDateTime)
-
getImportance
public Optional<Importance> getImportance()
-
withImportance
public TodoTask withImportance(Importance importance)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public TodoTask withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getRecurrence
public Optional<PatternedRecurrence> getRecurrence()
-
withRecurrence
public TodoTask withRecurrence(PatternedRecurrence recurrence)
-
getReminderDateTime
public Optional<DateTimeTimeZone> getReminderDateTime()
-
withReminderDateTime
public TodoTask withReminderDateTime(DateTimeTimeZone reminderDateTime)
-
getStartDateTime
public Optional<DateTimeTimeZone> getStartDateTime()
-
withStartDateTime
public TodoTask withStartDateTime(DateTimeTimeZone startDateTime)
-
getStatus
public Optional<TaskStatus> getStatus()
-
withStatus
public TodoTask withStatus(TaskStatus status)
-
withUnmappedField
public TodoTask withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAttachments
public AttachmentBaseCollectionRequest getAttachments()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property attachments
-
getAttachmentSessions
public AttachmentSessionCollectionRequest getAttachmentSessions()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property attachmentSessions
-
getChecklistItems
public ChecklistItemCollectionRequest getChecklistItems()
-
getExtensions
public ExtensionCollectionRequest getExtensions()
-
getLinkedResources
public LinkedResourceCollectionRequest getLinkedResources()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public TodoTask patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public TodoTask put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-