Class OnenotePage

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class OnenotePage extends OnenoteEntitySchemaObjectModel implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • OnenotePage

      public OnenotePage()
      Instantiates a new OnenotePage and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static OnenotePage createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a OnenotePage
    • getContent

      @Nullable public byte[] getContent()
      Gets the content property value. The page's HTML content.
      Returns:
      a
      invalid reference
      byte[]
    • getContentUrl

      @Nullable public String getContentUrl()
      Gets the contentUrl property value. The URL for the page's HTML content. Read-only.
      Returns:
      a String
    • getCreatedByAppId

      @Nullable public String getCreatedByAppId()
      Gets the createdByAppId property value. The unique identifier of the application that created the page. Read-only.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class OnenoteEntitySchemaObjectModel
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. 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 is 2014-01-01T00:00:00Z. Read-only.
      Returns:
      a OffsetDateTime
    • getLevel

      @Nullable public Integer getLevel()
      Gets the level property value. The indentation level of the page. Read-only.
      Returns:
      a Integer
    • getLinks

      @Nullable public PageLinks getLinks()
      Gets the links property value. Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only.
      Returns:
      a PageLinks
    • getOrder

      @Nullable public Integer getOrder()
      Gets the order property value. The order of the page within its parent section. Read-only.
      Returns:
      a Integer
    • getParentNotebook

      @Nullable public Notebook getParentNotebook()
      Gets the parentNotebook property value. The notebook that contains the page. Read-only.
      Returns:
      a Notebook
    • getParentSection

      @Nullable public OnenoteSection getParentSection()
      Gets the parentSection property value. The section that contains the page. Read-only.
      Returns:
      a OnenoteSection
    • getTitle

      @Nullable public String getTitle()
      Gets the title property value. The title of the page.
      Returns:
      a String
    • getUserTags

      @Nullable public List<String> getUserTags()
      Gets the userTags property value. The userTags property
      Returns:
      a List<String>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class OnenoteEntitySchemaObjectModel
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setContent

      public void setContent(@Nullable byte[] value)
      Sets the content property value. The page's HTML content.
      Parameters:
      value - Value to set for the content property.
    • setContentUrl

      public void setContentUrl(@Nullable String value)
      Sets the contentUrl property value. The URL for the page's HTML content. Read-only.
      Parameters:
      value - Value to set for the contentUrl property.
    • setCreatedByAppId

      public void setCreatedByAppId(@Nullable String value)
      Sets the createdByAppId property value. The unique identifier of the application that created the page. Read-only.
      Parameters:
      value - Value to set for the createdByAppId property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. 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 is 2014-01-01T00:00:00Z. Read-only.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setLevel

      public void setLevel(@Nullable Integer value)
      Sets the level property value. The indentation level of the page. Read-only.
      Parameters:
      value - Value to set for the level property.
    • setLinks

      public void setLinks(@Nullable PageLinks value)
      Sets the links property value. Links for opening the page. The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. The oneNoteWebUrl link opens the page in OneNote on the web. Read-only.
      Parameters:
      value - Value to set for the links property.
    • setOrder

      public void setOrder(@Nullable Integer value)
      Sets the order property value. The order of the page within its parent section. Read-only.
      Parameters:
      value - Value to set for the order property.
    • setParentNotebook

      public void setParentNotebook(@Nullable Notebook value)
      Sets the parentNotebook property value. The notebook that contains the page. Read-only.
      Parameters:
      value - Value to set for the parentNotebook property.
    • setParentSection

      public void setParentSection(@Nullable OnenoteSection value)
      Sets the parentSection property value. The section that contains the page. Read-only.
      Parameters:
      value - Value to set for the parentSection property.
    • setTitle

      public void setTitle(@Nullable String value)
      Sets the title property value. The title of the page.
      Parameters:
      value - Value to set for the title property.
    • setUserTags

      public void setUserTags(@Nullable List<String> value)
      Sets the userTags property value. The userTags property
      Parameters:
      value - Value to set for the userTags property.