public class PlannerPlan extends PlannerDelta implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PlannerPlan.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected PlannerPlanContextCollection |
contexts |
protected IdentitySet |
createdBy |
protected OffsetDateTime |
createdDateTime |
protected String |
owner |
protected String |
title |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PlannerPlan() |
| Modifier and Type | Method and Description |
|---|---|
static PlannerPlan.Builder |
builderPlannerPlan()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
PlannerBucketCollectionRequest |
getBuckets() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<PlannerPlanContextCollection> |
getContexts() |
Optional<IdentitySet> |
getCreatedBy() |
Optional<OffsetDateTime> |
getCreatedDateTime() |
PlannerPlanDetailsRequest |
getDetails() |
Optional<String> |
getOwner() |
PlannerTaskCollectionRequest |
getTasks() |
Optional<String> |
getTitle() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PlannerPlan |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PlannerPlan |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PlannerPlan |
withContexts(PlannerPlanContextCollection contexts) |
PlannerPlan |
withCreatedBy(IdentitySet createdBy) |
PlannerPlan |
withCreatedDateTime(OffsetDateTime createdDateTime) |
PlannerPlan |
withOwner(String owner) |
PlannerPlan |
withTitle(String title) |
builderPlannerDeltaprotected IdentitySet createdBy
protected OffsetDateTime createdDateTime
protected String owner
protected String title
protected PlannerPlanContextCollection contexts
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class PlannerDeltapublic static PlannerPlan.Builder builderPlannerPlan()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class PlannerDeltapublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class PlannerDeltapublic Optional<IdentitySet> getCreatedBy()
public PlannerPlan withCreatedBy(IdentitySet createdBy)
public Optional<OffsetDateTime> getCreatedDateTime()
public PlannerPlan withCreatedDateTime(OffsetDateTime createdDateTime)
public PlannerPlan withOwner(String owner)
public PlannerPlan withTitle(String title)
public Optional<PlannerPlanContextCollection> getContexts()
public PlannerPlan withContexts(PlannerPlanContextCollection contexts)
public PlannerTaskCollectionRequest getTasks()
public PlannerBucketCollectionRequest getBuckets()
public PlannerPlanDetailsRequest getDetails()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class PlannerDeltapublic PlannerPlan patch()
this with changed fields reset.patch in class PlannerDeltathis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic PlannerPlan put()
this
with changed fields reset (they were ignored anyway).put in class PlannerDeltathis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class PlannerDeltaCopyright © 2018–2020. All rights reserved.