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 Details

    • MicrosoftGraphOnenote

      public MicrosoftGraphOnenote()
      Creates an instance of MicrosoftGraphOnenote class.
  • Method Details

    • 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

      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

      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 class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphOnenote withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: onenote.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      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 class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.