Class MicrosoftGraphOnenote
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnenote
-
public final class MicrosoftGraphOnenote extends MicrosoftGraphEntity
onenote.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOnenote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
notebooks
public List<MicrosoftGraphNotebook> 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
public MicrosoftGraphOnenote withNotebooks(List<MicrosoftGraphNotebook> 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.
-
operations
public List<MicrosoftGraphOnenoteOperation> 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
public MicrosoftGraphOnenote withOperations(List<MicrosoftGraphOnenoteOperation> 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.
-
pages
public List<MicrosoftGraphOnenotePage> 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
public MicrosoftGraphOnenote withPages(List<MicrosoftGraphOnenotePage> 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.
-
resources
public List<MicrosoftGraphOnenoteResource> 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
public MicrosoftGraphOnenote withResources(List<MicrosoftGraphOnenoteResource> 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.
-
sectionGroups
public List<MicrosoftGraphSectionGroup> 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
public MicrosoftGraphOnenote withSectionGroups(List<MicrosoftGraphSectionGroup> 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.
-
sections
public List<MicrosoftGraphOnenoteSection> 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
public MicrosoftGraphOnenote withSections(List<MicrosoftGraphOnenoteSection> 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.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: onenote.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnenote withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onenote.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-