MicrosoftGraphOnenoteSection Class

public final class MicrosoftGraphOnenoteSection
extends MicrosoftGraphOnenoteEntityHierarchyModel

onenoteSection.

Constructor Summary

Constructor Description
MicrosoftGraphOnenoteSection()

Creates an instance of MicrosoftGraphOnenoteSection class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: onenoteSection.

Boolean isDefault()

Get the isDefault property: Indicates whether this is the user's default section.

MicrosoftGraphSectionLinks links()

Get the links property: sectionLinks.

List<MicrosoftGraphOnenotePage> pages()

Get the pages property: The collection of pages in the section.

String pagesUrl()

Get the pagesUrl property: The pages endpoint where you can get details for all the pages in the section.

MicrosoftGraphNotebook parentNotebook()

Get the parentNotebook property: notebook.

MicrosoftGraphSectionGroup parentSectionGroup()

Get the parentSectionGroup property: sectionGroup.

void validate()

Validates the instance.

MicrosoftGraphOnenoteSection withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: onenoteSection.

MicrosoftGraphOnenoteSection withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

MicrosoftGraphOnenoteSection withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The date and time when the page was created.

MicrosoftGraphOnenoteSection withDisplayName(String displayName)

Set the displayName property: The name of the notebook.

MicrosoftGraphOnenoteSection withId(String id)

Set the id property: Read-only.

MicrosoftGraphOnenoteSection withIsDefault(Boolean isDefault)

Set the isDefault property: Indicates whether this is the user's default section.

MicrosoftGraphOnenoteSection withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphOnenoteSection withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The date and time when the notebook was last modified.

MicrosoftGraphOnenoteSection withLinks(MicrosoftGraphSectionLinks links)

Set the links property: sectionLinks.

MicrosoftGraphOnenoteSection withPages(List<MicrosoftGraphOnenotePage> pages)

Set the pages property: The collection of pages in the section.

MicrosoftGraphOnenoteSection withPagesUrl(String pagesUrl)

Set the pagesUrl property: The pages endpoint where you can get details for all the pages in the section.

MicrosoftGraphOnenoteSection withParentNotebook(MicrosoftGraphNotebook parentNotebook)

Set the parentNotebook property: notebook.

MicrosoftGraphOnenoteSection withParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup)

Set the parentSectionGroup property: sectionGroup.

MicrosoftGraphOnenoteSection withSelf(String self)

Set the self property: The endpoint where you can get details about the page.

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from MicrosoftGraphOnenoteEntityBaseModel

Methods inherited from MicrosoftGraphOnenoteEntityHierarchyModel

Methods inherited from MicrosoftGraphOnenoteEntitySchemaObjectModel

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOnenoteSection

public MicrosoftGraphOnenoteSection()

Creates an instance of MicrosoftGraphOnenoteSection class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: onenoteSection.

Overrides:

MicrosoftGraphOnenoteSection.additionalProperties()

Returns:

the additionalProperties value.

isDefault

public Boolean isDefault()

Get the isDefault property: Indicates whether this is the user's default section. Read-only.

Returns:

the isDefault value.

links

public MicrosoftGraphSectionLinks links()

Get the links property: sectionLinks.

Returns:

the links value.

pages

public List pages()

Get the pages property: The collection of pages in the section. Read-only. Nullable.

Returns:

the pages value.

pagesUrl

public String pagesUrl()

Get the pagesUrl property: The pages endpoint where you can get details for all the pages in the section. Read-only.

Returns:

the pagesUrl value.

parentNotebook

public MicrosoftGraphNotebook parentNotebook()

Get the parentNotebook property: notebook.

Returns:

the parentNotebook value.

parentSectionGroup

public MicrosoftGraphSectionGroup parentSectionGroup()

Get the parentSectionGroup property: sectionGroup.

Returns:

the parentSectionGroup value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOnenoteSection.validate()

withAdditionalProperties

public MicrosoftGraphOnenoteSection withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: onenoteSection.

Overrides:

MicrosoftGraphOnenoteSection.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOnenoteSection object itself.

withCreatedBy

public MicrosoftGraphOnenoteSection withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

Overrides:

MicrosoftGraphOnenoteSection.withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Parameters:

createdBy

withCreatedDateTime

public MicrosoftGraphOnenoteSection withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.

Overrides:

MicrosoftGraphOnenoteSection.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withDisplayName

public MicrosoftGraphOnenoteSection withDisplayName(String displayName)

Set the displayName property: The name of the notebook.

Overrides:

MicrosoftGraphOnenoteSection.withDisplayName(String displayName)

Parameters:

displayName

withId

public MicrosoftGraphOnenoteSection withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOnenoteSection.withId(String id)

Parameters:

id

withIsDefault

public MicrosoftGraphOnenoteSection withIsDefault(Boolean isDefault)

Set the isDefault property: Indicates whether this is the user's default section. Read-only.

Parameters:

isDefault - the isDefault value to set.

Returns:

the MicrosoftGraphOnenoteSection object itself.

withLastModifiedBy

public MicrosoftGraphOnenoteSection withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Overrides:

MicrosoftGraphOnenoteSection.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Parameters:

lastModifiedBy

withLastModifiedDateTime

public MicrosoftGraphOnenoteSection withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.

Overrides:

MicrosoftGraphOnenoteSection.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withLinks

public MicrosoftGraphOnenoteSection withLinks(MicrosoftGraphSectionLinks links)

Set the links property: sectionLinks.

Parameters:

links - the links value to set.

Returns:

the MicrosoftGraphOnenoteSection object itself.

withPages

public MicrosoftGraphOnenoteSection withPages(List pages)

Set the pages property: The collection of pages in the section. Read-only. Nullable.

Parameters:

pages - the pages value to set.

Returns:

the MicrosoftGraphOnenoteSection object itself.

withPagesUrl

public MicrosoftGraphOnenoteSection withPagesUrl(String pagesUrl)

Set the pagesUrl property: The pages endpoint where you can get details for all the pages in the section. Read-only.

Parameters:

pagesUrl - the pagesUrl value to set.

Returns:

the MicrosoftGraphOnenoteSection object itself.

withParentNotebook

public MicrosoftGraphOnenoteSection withParentNotebook(MicrosoftGraphNotebook parentNotebook)

Set the parentNotebook property: notebook.

Parameters:

parentNotebook - the parentNotebook value to set.

Returns:

the MicrosoftGraphOnenoteSection object itself.

withParentSectionGroup

public MicrosoftGraphOnenoteSection withParentSectionGroup(MicrosoftGraphSectionGroup parentSectionGroup)

Set the parentSectionGroup property: sectionGroup.

Parameters:

parentSectionGroup - the parentSectionGroup value to set.

Returns:

the MicrosoftGraphOnenoteSection object itself.

withSelf

public MicrosoftGraphOnenoteSection withSelf(String self)

Set the self property: The endpoint where you can get details about the page. Read-only.

Overrides:

MicrosoftGraphOnenoteSection.withSelf(String self)

Parameters:

self

Applies to