Package com.microsoft.graph.models
Class BaseSitePage
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BaseItem
com.microsoft.graph.models.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseSitePagecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the pageLayout property value.Gets the publishingState property value.getTitle()Gets the title property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetPageLayout(PageLayoutType value) Sets the pageLayout property value.voidSets the publishingState property value.voidSets the title property value.Methods inherited from class com.microsoft.graph.models.BaseItem
getCreatedBy, getCreatedByUser, getCreatedDateTime, getDescription, getETag, getLastModifiedBy, getLastModifiedByUser, getLastModifiedDateTime, getName, getParentReference, getWebUrl, setCreatedBy, setCreatedByUser, setCreatedDateTime, setDescription, setETag, setLastModifiedBy, setLastModifiedByUser, setLastModifiedDateTime, setName, setParentReference, setWebUrlMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
BaseSitePage
public BaseSitePage()Instantiates a newBaseSitePageand 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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classBaseItem- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the publishingState property value. The publishing status and the MM.mm version of the page.- Returns:
- a
PublicationFacet
-
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 -
setPageLayout
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
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
Sets the title property value. Title of the sitePage.- Parameters:
value- Value to set for the title property.
-