Class MicrosoftGraphOnenote
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenote
onenote.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: onenote.Get the notebooks property: The collection of OneNote notebooks that are owned by the user or group.Get the operations property: The status of OneNote operations.pages()Get the pages property: The pages in all OneNote notebooks that are owned by the user or group.Get the resources property: The image and other file resources in OneNote pages.Get the sectionGroups property: The section groups in all OneNote notebooks that are owned by the user or group.sections()Get the sections property: The sections in all OneNote notebooks that are owned by the user or group.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onenote.Set the id property: Read-only.withNotebooks(List<MicrosoftGraphNotebook> notebooks) Set the notebooks property: The collection of OneNote notebooks that are owned by the user or group.withOperations(List<MicrosoftGraphOnenoteOperation> operations) Set the operations property: The status of OneNote operations.withPages(List<MicrosoftGraphOnenotePage> pages) Set the pages property: The pages in all OneNote notebooks that are owned by the user or group.withResources(List<MicrosoftGraphOnenoteResource> resources) Set the resources property: The image and other file resources in OneNote pages.withSectionGroups(List<MicrosoftGraphSectionGroup> sectionGroups) Set the sectionGroups property: The section groups in all OneNote notebooks that are owned by the user or group.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 class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphOnenote
public MicrosoftGraphOnenote()Creates an instance of MicrosoftGraphOnenote class.
-
-
Method Details
-
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.
-
withNotebooks
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.
-
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.
-
withOperations
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.
-
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.
-
withPages
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.
-
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.
-
withResources
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.
-
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.
-
withSectionGroups
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.
-
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.
-
withSections
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.
-
additionalProperties
Get the additionalProperties property: onenote.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: onenote.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnenote object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-