Package com.microsoft.graph.models
Class StandardWebPart
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WebPart
com.microsoft.graph.models.StandardWebPart
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class StandardWebPart
extends WebPart
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 StandardWebPartcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the containerTextWebPartId property value.getData()Gets the data property value.The deserialization information for the current modelGets the webPartType property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetContainerTextWebPartId(String value) Sets the containerTextWebPartId property value.voidsetData(WebPartData value) Sets the data property value.voidsetWebPartType(String value) Sets the webPartType property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
StandardWebPart
public StandardWebPart()Instantiates a newStandardWebPartand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static StandardWebPart 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
StandardWebPart
-
getContainerTextWebPartId
Gets the containerTextWebPartId property value. The instance identifier of the container text webPart. It only works for inline standard webPart in rich text webParts.- Returns:
- a
String
-
getData
Gets the data property value. Data of the webPart.- Returns:
- a
WebPartData
-
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 classWebPart- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getWebPartType
Gets the webPartType property value. A Guid that indicates the webPart type.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setContainerTextWebPartId
Sets the containerTextWebPartId property value. The instance identifier of the container text webPart. It only works for inline standard webPart in rich text webParts.- Parameters:
value- Value to set for the containerTextWebPartId property.
-
setData
Sets the data property value. Data of the webPart.- Parameters:
value- Value to set for the data property.
-
setWebPartType
Sets the webPartType property value. A Guid that indicates the webPart type.- Parameters:
value- Value to set for the webPartType property.
-