Package odata.msgraph.client.beta.entity
Class OutlookTask
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.OutlookItem
-
- odata.msgraph.client.beta.entity.OutlookTask
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OutlookTask extends OutlookItem implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOutlookTask.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringassignedToprotected ItemBodybodyprotected DateTimeTimeZonecompletedDateTimeprotected DateTimeTimeZonedueDateTimeprotected BooleanhasAttachmentsprotected Importanceimportanceprotected BooleanisReminderOnprotected Stringownerprotected StringparentFolderIdprotected PatternedRecurrencerecurrenceprotected DateTimeTimeZonereminderDateTimeprotected Sensitivitysensitivityprotected DateTimeTimeZonestartDateTimeprotected TaskStatusstatusprotected Stringsubject-
Fields inherited from class odata.msgraph.client.beta.entity.OutlookItem
categories, categoriesNextLink, changeKey, createdDateTime, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOutlookTask()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.OutlookItem
getCategories, getCategories, getChangeKey, getCreatedDateTime, getLastModifiedDateTime, withCategories, withChangeKey, withCreatedDateTime, withLastModifiedDateTime
-
-
-
-
Field Detail
-
assignedTo
protected String assignedTo
-
body
protected ItemBody body
-
completedDateTime
protected DateTimeTimeZone completedDateTime
-
dueDateTime
protected DateTimeTimeZone dueDateTime
-
hasAttachments
protected Boolean hasAttachments
-
importance
protected Importance importance
-
isReminderOn
protected Boolean isReminderOn
-
owner
protected String owner
-
parentFolderId
protected String parentFolderId
-
recurrence
protected PatternedRecurrence recurrence
-
reminderDateTime
protected DateTimeTimeZone reminderDateTime
-
sensitivity
protected Sensitivity sensitivity
-
startDateTime
protected DateTimeTimeZone startDateTime
-
status
protected TaskStatus status
-
subject
protected String subject
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOutlookItem
-
builderOutlookTask
public static OutlookTask.Builder builderOutlookTask()
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 classOutlookItem
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classOutlookItem
-
withAssignedTo
public OutlookTask withAssignedTo(String assignedTo)
-
withBody
public OutlookTask withBody(ItemBody body)
-
getCompletedDateTime
public Optional<DateTimeTimeZone> getCompletedDateTime()
-
withCompletedDateTime
public OutlookTask withCompletedDateTime(DateTimeTimeZone completedDateTime)
-
getDueDateTime
public Optional<DateTimeTimeZone> getDueDateTime()
-
withDueDateTime
public OutlookTask withDueDateTime(DateTimeTimeZone dueDateTime)
-
withHasAttachments
public OutlookTask withHasAttachments(Boolean hasAttachments)
-
getImportance
public Optional<Importance> getImportance()
-
withImportance
public OutlookTask withImportance(Importance importance)
-
withIsReminderOn
public OutlookTask withIsReminderOn(Boolean isReminderOn)
-
withOwner
public OutlookTask withOwner(String owner)
-
withParentFolderId
public OutlookTask withParentFolderId(String parentFolderId)
-
getRecurrence
public Optional<PatternedRecurrence> getRecurrence()
-
withRecurrence
public OutlookTask withRecurrence(PatternedRecurrence recurrence)
-
getReminderDateTime
public Optional<DateTimeTimeZone> getReminderDateTime()
-
withReminderDateTime
public OutlookTask withReminderDateTime(DateTimeTimeZone reminderDateTime)
-
getSensitivity
public Optional<Sensitivity> getSensitivity()
-
withSensitivity
public OutlookTask withSensitivity(Sensitivity sensitivity)
-
getStartDateTime
public Optional<DateTimeTimeZone> getStartDateTime()
-
withStartDateTime
public OutlookTask withStartDateTime(DateTimeTimeZone startDateTime)
-
getStatus
public Optional<TaskStatus> getStatus()
-
withStatus
public OutlookTask withStatus(TaskStatus status)
-
withSubject
public OutlookTask withSubject(String subject)
-
withUnmappedField
public OutlookTask withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classOutlookItem
-
getAttachments
public AttachmentCollectionRequest getAttachments()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property attachments
-
getMultiValueExtendedProperties
public MultiValueLegacyExtendedPropertyCollectionRequest getMultiValueExtendedProperties()
-
getSingleValueExtendedProperties
public SingleValueLegacyExtendedPropertyCollectionRequest getSingleValueExtendedProperties()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classOutlookItem
-
patch
public OutlookTask patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classOutlookItem- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public OutlookTask put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classOutlookItem- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
complete
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<OutlookTask> complete()
-
toString
public String toString()
- Overrides:
toStringin classOutlookItem
-
-