Class MicrosoftGraphOnenotePage


public final class MicrosoftGraphOnenotePage extends MicrosoftGraphOnenoteEntitySchemaObjectModel
onenotePage.
  • Constructor Details

    • MicrosoftGraphOnenotePage

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

    • content

      public byte[] content()
      Get the content property: The page's HTML content.
      Returns:
      the content value.
    • withContent

      public MicrosoftGraphOnenotePage withContent(byte[] content)
      Set the content property: The page's HTML content.
      Parameters:
      content - the content value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • contentUrl

      public String contentUrl()
      Get the contentUrl property: The URL for the page's HTML content. Read-only.
      Returns:
      the contentUrl value.
    • withContentUrl

      public MicrosoftGraphOnenotePage withContentUrl(String contentUrl)
      Set the contentUrl property: The URL for the page's HTML content. Read-only.
      Parameters:
      contentUrl - the contentUrl value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • createdByAppId

      public String createdByAppId()
      Get the createdByAppId property: The unique identifier of the application that created the page. Read-only.
      Returns:
      the createdByAppId value.
    • withCreatedByAppId

      public MicrosoftGraphOnenotePage withCreatedByAppId(String createdByAppId)
      Set the createdByAppId property: The unique identifier of the application that created the page. Read-only.
      Parameters:
      createdByAppId - the createdByAppId value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • lastModifiedDateTime

      public OffsetDateTime lastModifiedDateTime()
      Get the lastModifiedDateTime property: The date and time when the page 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.
      Returns:
      the lastModifiedDateTime value.
    • withLastModifiedDateTime

      public MicrosoftGraphOnenotePage withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
      Set the lastModifiedDateTime property: The date and time when the page 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.
      Parameters:
      lastModifiedDateTime - the lastModifiedDateTime value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • level

      public Integer level()
      Get the level property: The indentation level of the page. Read-only.
      Returns:
      the level value.
    • withLevel

      public MicrosoftGraphOnenotePage withLevel(Integer level)
      Set the level property: The indentation level of the page. Read-only.
      Parameters:
      level - the level value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • links

      public MicrosoftGraphPageLinks links()
      Get the links property: pageLinks.
      Returns:
      the links value.
    • withLinks

      Set the links property: pageLinks.
      Parameters:
      links - the links value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • order

      public Integer order()
      Get the order property: The order of the page within its parent section. Read-only.
      Returns:
      the order value.
    • withOrder

      public MicrosoftGraphOnenotePage withOrder(Integer order)
      Set the order property: The order of the page within its parent section. Read-only.
      Parameters:
      order - the order value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • title

      public String title()
      Get the title property: The title of the page.
      Returns:
      the title value.
    • withTitle

      public MicrosoftGraphOnenotePage withTitle(String title)
      Set the title property: The title of the page.
      Parameters:
      title - the title value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • userTags

      public List<String> userTags()
      Get the userTags property: The userTags property.
      Returns:
      the userTags value.
    • withUserTags

      public MicrosoftGraphOnenotePage withUserTags(List<String> userTags)
      Set the userTags property: The userTags property.
      Parameters:
      userTags - the userTags value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • parentNotebook

      public MicrosoftGraphNotebook parentNotebook()
      Get the parentNotebook property: notebook.
      Returns:
      the parentNotebook value.
    • withParentNotebook

      public MicrosoftGraphOnenotePage withParentNotebook(MicrosoftGraphNotebook parentNotebook)
      Set the parentNotebook property: notebook.
      Parameters:
      parentNotebook - the parentNotebook value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • parentSection

      public MicrosoftGraphOnenoteSection parentSection()
      Get the parentSection property: onenoteSection.
      Returns:
      the parentSection value.
    • withParentSection

      public MicrosoftGraphOnenotePage withParentSection(MicrosoftGraphOnenoteSection parentSection)
      Set the parentSection property: onenoteSection.
      Parameters:
      parentSection - the parentSection value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: onenotePage.
      Overrides:
      additionalProperties in class MicrosoftGraphOnenoteEntitySchemaObjectModel
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphOnenotePage withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: onenotePage.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphOnenoteEntitySchemaObjectModel
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphOnenotePage object itself.
    • withCreatedDateTime

      public MicrosoftGraphOnenotePage 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:
      withCreatedDateTime in class MicrosoftGraphOnenoteEntitySchemaObjectModel
      Parameters:
      createdDateTime - the createdDateTime value to set.
      Returns:
      the MicrosoftGraphOnenoteEntitySchemaObjectModel object itself.
    • withSelf

      public MicrosoftGraphOnenotePage withSelf(String self)
      Set the self property: The endpoint where you can get details about the page. Read-only.
      Overrides:
      withSelf in class MicrosoftGraphOnenoteEntitySchemaObjectModel
      Parameters:
      self - the self value to set.
      Returns:
      the MicrosoftGraphOnenoteEntityBaseModel object itself.
    • withId

      public MicrosoftGraphOnenotePage withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphOnenoteEntitySchemaObjectModel
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

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