Package odata.msgraph.client.entity
Class OnenoteEntitySchemaObjectModel
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.OnenoteEntityBaseModel
-
- odata.msgraph.client.entity.OnenoteEntitySchemaObjectModel
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
OnenoteEntityHierarchyModel,OnenotePage
public class OnenoteEntitySchemaObjectModel extends OnenoteEntityBaseModel implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTime-
Fields inherited from class odata.msgraph.client.entity.OnenoteEntityBaseModel
self
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOnenoteEntitySchemaObjectModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()OnenoteEntitySchemaObjectModelpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)OnenoteEntitySchemaObjectModelput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()OnenoteEntitySchemaObjectModelwithCreatedDateTime(OffsetDateTime createdDateTime)OnenoteEntitySchemaObjectModelwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.entity.OnenoteEntityBaseModel
getSelf, withSelf
-
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOnenoteEntityBaseModel
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classOnenoteEntityBaseModel
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classOnenoteEntityBaseModel
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public OnenoteEntitySchemaObjectModel withCreatedDateTime(OffsetDateTime createdDateTime)
-
withUnmappedField
public OnenoteEntitySchemaObjectModel withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classOnenoteEntityBaseModel
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classOnenoteEntityBaseModel
-
patch
public OnenoteEntitySchemaObjectModel patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classOnenoteEntityBaseModel- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public OnenoteEntitySchemaObjectModel put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classOnenoteEntityBaseModel- 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 classOnenoteEntityBaseModel
-
-