Package odata.msgraph.client.beta.entity
Class PlannerTask
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.PlannerDelta
-
- odata.msgraph.client.beta.entity.PlannerTask
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class PlannerTask extends PlannerDelta implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlannerTask.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegeractiveChecklistItemCountprotected PlannerAppliedCategoriesappliedCategoriesprotected StringassigneePriorityprotected PlannerAssignmentsassignmentsprotected StringbucketIdprotected IntegerchecklistItemCountprotected IdentitySetcompletedByprotected OffsetDateTimecompletedDateTimeprotected StringconversationThreadIdprotected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected PlannerTaskCreationcreationSourceprotected OffsetDateTimedueDateTimeprotected BooleanhasDescriptionprotected StringorderHintprotected IntegerpercentCompleteprotected StringplanIdprotected PlannerPreviewTypepreviewTypeprotected Integerpriorityprotected IntegerreferenceCountprotected OffsetDateTimestartDateTimeprotected Stringtitle-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPlannerTask()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.PlannerDelta
builderPlannerDelta
-
-
-
-
Field Detail
-
activeChecklistItemCount
protected Integer activeChecklistItemCount
-
appliedCategories
protected PlannerAppliedCategories appliedCategories
-
assigneePriority
protected String assigneePriority
-
assignments
protected PlannerAssignments assignments
-
bucketId
protected String bucketId
-
checklistItemCount
protected Integer checklistItemCount
-
completedBy
protected IdentitySet completedBy
-
completedDateTime
protected OffsetDateTime completedDateTime
-
conversationThreadId
protected String conversationThreadId
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
creationSource
protected PlannerTaskCreation creationSource
-
dueDateTime
protected OffsetDateTime dueDateTime
-
hasDescription
protected Boolean hasDescription
-
orderHint
protected String orderHint
-
percentComplete
protected Integer percentComplete
-
planId
protected String planId
-
previewType
protected PlannerPreviewType previewType
-
priority
protected Integer priority
-
referenceCount
protected Integer referenceCount
-
startDateTime
protected OffsetDateTime startDateTime
-
title
protected String title
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classPlannerDelta
-
builderPlannerTask
public static PlannerTask.Builder builderPlannerTask()
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 classPlannerDelta
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classPlannerDelta
-
withActiveChecklistItemCount
public PlannerTask withActiveChecklistItemCount(Integer activeChecklistItemCount)
-
getAppliedCategories
public Optional<PlannerAppliedCategories> getAppliedCategories()
-
withAppliedCategories
public PlannerTask withAppliedCategories(PlannerAppliedCategories appliedCategories)
-
withAssigneePriority
public PlannerTask withAssigneePriority(String assigneePriority)
-
getAssignments
public Optional<PlannerAssignments> getAssignments()
-
withAssignments
public PlannerTask withAssignments(PlannerAssignments assignments)
-
withBucketId
public PlannerTask withBucketId(String bucketId)
-
withChecklistItemCount
public PlannerTask withChecklistItemCount(Integer checklistItemCount)
-
getCompletedBy
public Optional<IdentitySet> getCompletedBy()
-
withCompletedBy
public PlannerTask withCompletedBy(IdentitySet completedBy)
-
getCompletedDateTime
public Optional<OffsetDateTime> getCompletedDateTime()
-
withCompletedDateTime
public PlannerTask withCompletedDateTime(OffsetDateTime completedDateTime)
-
withConversationThreadId
public PlannerTask withConversationThreadId(String conversationThreadId)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public PlannerTask withCreatedBy(IdentitySet createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public PlannerTask withCreatedDateTime(OffsetDateTime createdDateTime)
-
getCreationSource
public Optional<PlannerTaskCreation> getCreationSource()
-
withCreationSource
public PlannerTask withCreationSource(PlannerTaskCreation creationSource)
-
getDueDateTime
public Optional<OffsetDateTime> getDueDateTime()
-
withDueDateTime
public PlannerTask withDueDateTime(OffsetDateTime dueDateTime)
-
withHasDescription
public PlannerTask withHasDescription(Boolean hasDescription)
-
withOrderHint
public PlannerTask withOrderHint(String orderHint)
-
withPercentComplete
public PlannerTask withPercentComplete(Integer percentComplete)
-
withPlanId
public PlannerTask withPlanId(String planId)
-
getPreviewType
public Optional<PlannerPreviewType> getPreviewType()
-
withPreviewType
public PlannerTask withPreviewType(PlannerPreviewType previewType)
-
withPriority
public PlannerTask withPriority(Integer priority)
-
withReferenceCount
public PlannerTask withReferenceCount(Integer referenceCount)
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
-
withStartDateTime
public PlannerTask withStartDateTime(OffsetDateTime startDateTime)
-
withTitle
public PlannerTask withTitle(String title)
-
withUnmappedField
public PlannerTask withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classPlannerDelta
-
getAssignedToTaskBoardFormat
public PlannerAssignedToTaskBoardTaskFormatRequest getAssignedToTaskBoardFormat()
-
getBucketTaskBoardFormat
public PlannerBucketTaskBoardTaskFormatRequest getBucketTaskBoardFormat()
-
getDetails
public PlannerTaskDetailsRequest getDetails()
-
getProgressTaskBoardFormat
public PlannerProgressTaskBoardTaskFormatRequest getProgressTaskBoardFormat()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classPlannerDelta
-
patch
public PlannerTask patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classPlannerDelta- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public PlannerTask put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classPlannerDelta- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classPlannerDelta
-
-