MicrosoftGraphOnenote Class

public final class MicrosoftGraphOnenote
extends MicrosoftGraphEntity

onenote.

Constructor Summary

Constructor Description
MicrosoftGraphOnenote()

Creates an instance of MicrosoftGraphOnenote class.

Method Summary

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

Get the additionalProperties property: onenote.

List<MicrosoftGraphNotebook> notebooks()

Get the notebooks property: The collection of OneNote notebooks that are owned by the user or group.

List<MicrosoftGraphOnenoteOperation> operations()

Get the operations property: The status of OneNote operations.

List<MicrosoftGraphOnenotePage> pages()

Get the pages property: The pages in all OneNote notebooks that are owned by the user or group.

List<MicrosoftGraphOnenoteResource> resources()

Get the resources property: The image and other file resources in OneNote pages.

List<MicrosoftGraphSectionGroup> sectionGroups()

Get the sectionGroups property: The section groups in all OneNote notebooks that are owned by the user or group.

List<MicrosoftGraphOnenoteSection> sections()

Get the sections property: The sections in all OneNote notebooks that are owned by the user or group.

void validate()

Validates the instance.

MicrosoftGraphOnenote withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: onenote.

MicrosoftGraphOnenote withId(String id)

Set the id property: Read-only.

MicrosoftGraphOnenote withNotebooks(List<MicrosoftGraphNotebook> notebooks)

Set the notebooks property: The collection of OneNote notebooks that are owned by the user or group.

MicrosoftGraphOnenote withOperations(List<MicrosoftGraphOnenoteOperation> operations)

Set the operations property: The status of OneNote operations.

MicrosoftGraphOnenote withPages(List<MicrosoftGraphOnenotePage> pages)

Set the pages property: The pages in all OneNote notebooks that are owned by the user or group.

MicrosoftGraphOnenote withResources(List<MicrosoftGraphOnenoteResource> resources)

Set the resources property: The image and other file resources in OneNote pages.

MicrosoftGraphOnenote withSectionGroups(List<MicrosoftGraphSectionGroup> sectionGroups)

Set the sectionGroups property: The section groups in all OneNote notebooks that are owned by the user or group.

MicrosoftGraphOnenote withSections(List<MicrosoftGraphOnenoteSection> sections)

Set the sections property: The sections in all OneNote notebooks that are owned by the user or group.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOnenote

public MicrosoftGraphOnenote()

Creates an instance of MicrosoftGraphOnenote class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: onenote.

Overrides:

MicrosoftGraphOnenote.additionalProperties()

Returns:

the additionalProperties value.

notebooks

public List notebooks()

Get the notebooks property: The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable.

Returns:

the notebooks value.

operations

public List operations()

Get the operations property: The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable.

Returns:

the operations value.

pages

public List pages()

Get the pages property: The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.

Returns:

the pages value.

resources

public List resources()

Get the resources property: The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable.

Returns:

the resources value.

sectionGroups

public List sectionGroups()

Get the sectionGroups property: The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.

Returns:

the sectionGroups value.

sections

public List sections()

Get the sections property: The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.

Returns:

the sections value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOnenote.validate()

withAdditionalProperties

public MicrosoftGraphOnenote withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: onenote.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOnenote object itself.

withId

public MicrosoftGraphOnenote withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOnenote.withId(String id)

Parameters:

id

withNotebooks

public MicrosoftGraphOnenote withNotebooks(List notebooks)

Set the notebooks property: The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable.

Parameters:

notebooks - the notebooks value to set.

Returns:

the MicrosoftGraphOnenote object itself.

withOperations

public MicrosoftGraphOnenote withOperations(List operations)

Set the operations property: The status of OneNote operations. Getting an operations collection is not supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable.

Parameters:

operations - the operations value to set.

Returns:

the MicrosoftGraphOnenote object itself.

withPages

public MicrosoftGraphOnenote withPages(List pages)

Set the pages property: The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.

Parameters:

pages - the pages value to set.

Returns:

the MicrosoftGraphOnenote object itself.

withResources

public MicrosoftGraphOnenote withResources(List resources)

Set the resources property: The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable.

Parameters:

resources - the resources value to set.

Returns:

the MicrosoftGraphOnenote object itself.

withSectionGroups

public MicrosoftGraphOnenote withSectionGroups(List sectionGroups)

Set the sectionGroups property: The section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.

Parameters:

sectionGroups - the sectionGroups value to set.

Returns:

the MicrosoftGraphOnenote object itself.

withSections

public MicrosoftGraphOnenote withSections(List sections)

Set the sections property: The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.

Parameters:

sections - the sections value to set.

Returns:

the MicrosoftGraphOnenote object itself.

Applies to