Package odata.msgraph.client.entity
Class PlannerPlan
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.PlannerPlan
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class PlannerPlan extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlannerPlan.Builder
-
Field Summary
Fields Modifier and Type Field Description protected PlannerPlanContainercontainerprotected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected PlannerPlanDetailsdetailsprotected Stringownerprotected Stringtitle-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPlannerPlan()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlannerPlan.BuilderbuilderPlannerPlan()Returns a builder which is used to create a new instance of this class (given that this class is immutable).PlannerBucketCollectionRequestgetBuckets()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<PlannerPlanContainer>getContainer()Optional<IdentitySet>getCreatedBy()Optional<OffsetDateTime>getCreatedDateTime()PlannerPlanDetailsRequestgetDetails()Optional<String>getOwner()Org.OData.Core.V1.RevisionsPlannerTaskCollectionRequestgetTasks()Optional<String>getTitle()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()PlannerPlanpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)PlannerPlanput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()PlannerPlanwithContainer(PlannerPlanContainer container)PlannerPlanwithCreatedBy(IdentitySet createdBy)PlannerPlanwithCreatedDateTime(OffsetDateTime createdDateTime)PlannerPlanwithDetails(PlannerPlanDetails details)PlannerPlanwithOwner(String owner)Returns an immutable copy ofthiswith just theownerfield changed.PlannerPlanwithTitle(String title)PlannerPlanwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
container
protected PlannerPlanContainer container
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
owner
protected String owner
-
title
protected String title
-
details
protected PlannerPlanDetails details
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderPlannerPlan
public static PlannerPlan.Builder builderPlannerPlan()
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
-
getContainer
public Optional<PlannerPlanContainer> getContainer()
-
withContainer
public PlannerPlan withContainer(PlannerPlanContainer container)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public PlannerPlan withCreatedBy(IdentitySet createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public PlannerPlan withCreatedDateTime(OffsetDateTime createdDateTime)
-
withOwner
public PlannerPlan withOwner(String owner)
Returns an immutable copy ofthiswith just theownerfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Revisions
- Parameters:
owner- new value ofownerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theownerfield changed
-
withTitle
public PlannerPlan withTitle(String title)
-
withUnmappedField
public PlannerPlan withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getBuckets
public PlannerBucketCollectionRequest getBuckets()
-
getDetails
public PlannerPlanDetailsRequest getDetails()
-
getTasks
public PlannerTaskCollectionRequest getTasks()
-
withDetails
public PlannerPlan withDetails(PlannerPlanDetails details)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public PlannerPlan patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public PlannerPlan put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-