Package odata.msgraph.client.entity
Class OnenoteEntityHierarchyModel
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.OnenoteEntityBaseModel
-
- odata.msgraph.client.entity.OnenoteEntitySchemaObjectModel
-
- odata.msgraph.client.entity.OnenoteEntityHierarchyModel
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
Notebook,OnenoteSection,SectionGroup
public class OnenoteEntityHierarchyModel extends OnenoteEntitySchemaObjectModel implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
Fields Modifier and Type Field Description protected IdentitySetcreatedByprotected StringdisplayNameprotected IdentitySetlastModifiedByprotected OffsetDateTimelastModifiedDateTime-
Fields inherited from class odata.msgraph.client.entity.OnenoteEntitySchemaObjectModel
createdDateTime
-
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 protectedOnenoteEntityHierarchyModel()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.entity.OnenoteEntitySchemaObjectModel
getCreatedDateTime, withCreatedDateTime
-
Methods inherited from class odata.msgraph.client.entity.OnenoteEntityBaseModel
getSelf, withSelf
-
-
-
-
Field Detail
-
createdBy
protected IdentitySet createdBy
-
displayName
protected String displayName
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOnenoteEntitySchemaObjectModel
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classOnenoteEntitySchemaObjectModel
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classOnenoteEntitySchemaObjectModel
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public OnenoteEntityHierarchyModel withCreatedBy(IdentitySet createdBy)
-
withDisplayName
public OnenoteEntityHierarchyModel withDisplayName(String displayName)
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
-
withLastModifiedBy
public OnenoteEntityHierarchyModel withLastModifiedBy(IdentitySet lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public OnenoteEntityHierarchyModel withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withUnmappedField
public OnenoteEntityHierarchyModel withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classOnenoteEntitySchemaObjectModel
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classOnenoteEntitySchemaObjectModel
-
patch
public OnenoteEntityHierarchyModel patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classOnenoteEntitySchemaObjectModel- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public OnenoteEntityHierarchyModel put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classOnenoteEntitySchemaObjectModel- 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 classOnenoteEntitySchemaObjectModel
-
-