Class BaseSitePage

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
SitePage

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

    • BaseSitePage

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

    • createFromDiscriminatorValue

      @Nonnull public static BaseSitePage 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 BaseSitePage
    • 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 BaseItem
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getPageLayout

      @Nullable public PageLayoutType getPageLayout()
      Gets the pageLayout property value. The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue.
      Returns:
      a PageLayoutType
    • getPublishingState

      @Nullable public PublicationFacet getPublishingState()
      Gets the publishingState property value. The publishing status and the MM.mm version of the page.
      Returns:
      a PublicationFacet
    • getTitle

      @Nullable public String getTitle()
      Gets the title property value. Title of the sitePage.
      Returns:
      a 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 BaseItem
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setPageLayout

      public void setPageLayout(@Nullable PageLayoutType value)
      Sets the pageLayout property value. The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue.
      Parameters:
      value - Value to set for the pageLayout property.
    • setPublishingState

      public void setPublishingState(@Nullable PublicationFacet value)
      Sets the publishingState property value. The publishing status and the MM.mm version of the page.
      Parameters:
      value - Value to set for the publishingState property.
    • setTitle

      public void setTitle(@Nullable String value)
      Sets the title property value. Title of the sitePage.
      Parameters:
      value - Value to set for the title property.