Package odata.msgraph.client.beta.entity
Class OnenoteSection
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OnenoteSection extends OnenoteEntityHierarchyModel implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOnenoteSection.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanisDefaultprotected SectionLinkslinksprotected StringpagesUrl-
Fields inherited from class odata.msgraph.client.beta.entity.OnenoteEntityHierarchyModel
createdBy, displayName, lastModifiedBy, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.OnenoteEntitySchemaObjectModel
createdDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.OnenoteEntityBaseModel
self
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOnenoteSection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OnenoteSection.BuilderbuilderOnenoteSection()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<OnenoteOperation>copyToNotebook(String id, String groupId, String renameAs, String siteCollectionId, String siteId)com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<OnenoteOperation>copyToSectionGroup(String id, String groupId, String renameAs, String siteCollectionId, String siteId)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getIsDefault()Optional<SectionLinks>getLinks()OnenotePageCollectionRequestgetPages()Optional<String>getPagesUrl()NotebookRequestgetParentNotebook()SectionGroupRequestgetParentSectionGroup()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()OnenoteSectionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)OnenoteSectionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()OnenoteSectionwithIsDefault(Boolean isDefault)OnenoteSectionwithLinks(SectionLinks links)OnenoteSectionwithPagesUrl(String pagesUrl)OnenoteSectionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.OnenoteEntityHierarchyModel
getCreatedBy, getDisplayName, getLastModifiedBy, getLastModifiedDateTime, withCreatedBy, withDisplayName, withLastModifiedBy, withLastModifiedDateTime
-
Methods inherited from class odata.msgraph.client.beta.entity.OnenoteEntitySchemaObjectModel
getCreatedDateTime, withCreatedDateTime
-
Methods inherited from class odata.msgraph.client.beta.entity.OnenoteEntityBaseModel
getSelf, withSelf
-
-
-
-
Field Detail
-
isDefault
protected Boolean isDefault
-
links
protected SectionLinks links
-
pagesUrl
protected String pagesUrl
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOnenoteEntityHierarchyModel
-
builderOnenoteSection
public static OnenoteSection.Builder builderOnenoteSection()
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 classOnenoteEntityHierarchyModel
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classOnenoteEntityHierarchyModel
-
withIsDefault
public OnenoteSection withIsDefault(Boolean isDefault)
-
getLinks
public Optional<SectionLinks> getLinks()
-
withLinks
public OnenoteSection withLinks(SectionLinks links)
-
withPagesUrl
public OnenoteSection withPagesUrl(String pagesUrl)
-
withUnmappedField
public OnenoteSection withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classOnenoteEntityHierarchyModel
-
getPages
public OnenotePageCollectionRequest getPages()
-
getParentNotebook
public NotebookRequest getParentNotebook()
-
getParentSectionGroup
public SectionGroupRequest getParentSectionGroup()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classOnenoteEntityHierarchyModel
-
patch
public OnenoteSection patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classOnenoteEntityHierarchyModel- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public OnenoteSection put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classOnenoteEntityHierarchyModel- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
copyToNotebook
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<OnenoteOperation> copyToNotebook(String id, String groupId, String renameAs, String siteCollectionId, String siteId)
-
copyToSectionGroup
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<OnenoteOperation> copyToSectionGroup(String id, String groupId, String renameAs, String siteCollectionId, String siteId)
-
toString
public String toString()
- Overrides:
toStringin classOnenoteEntityHierarchyModel
-
-