Package com.microsoft.graph.models
Class TitleArea
java.lang.Object
com.microsoft.graph.models.TitleArea
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class TitleArea
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TitleAreacreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the alternativeText property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the enableGradientEffect property value.The deserialization information for the current modelGets the imageWebUrl property value.Gets the layout property value.Gets the @odata.type property value.Gets the serverProcessedContent property value.Gets the showAuthor property value.Gets the showPublishedDate property value.Gets the showTextBlockAboveTitle property value.Gets the textAboveTitle property value.Gets the textAlignment property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetAlternativeText(String value) Sets the alternativeText property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetEnableGradientEffect(Boolean value) Sets the enableGradientEffect property value.voidsetImageWebUrl(String value) Sets the imageWebUrl property value.voidsetLayout(TitleAreaLayoutType value) Sets the layout property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the serverProcessedContent property value.voidsetShowAuthor(Boolean value) Sets the showAuthor property value.voidsetShowPublishedDate(Boolean value) Sets the showPublishedDate property value.voidSets the showTextBlockAboveTitle property value.voidsetTextAboveTitle(String value) Sets the textAboveTitle property value.voidSets the textAlignment property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
TitleArea
public TitleArea()Instantiates a newTitleAreaand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TitleArea 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
TitleArea
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAlternativeText
Gets the alternativeText property value. Alternative text on the title area.- Returns:
- a
String
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getEnableGradientEffect
Gets the enableGradientEffect property value. Indicates whether the title area has a gradient effect enabled.- Returns:
- a
Boolean
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getImageWebUrl
Gets the imageWebUrl property value. URL of the image in the title area.- Returns:
- a
String
-
getLayout
Gets the layout property value. Enumeration value that indicates the layout of the title area. The possible values are: imageAndTitle, plain, colorBlock, overlap, unknownFutureValue.- Returns:
- a
TitleAreaLayoutType
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getServerProcessedContent
Gets the serverProcessedContent property value. Contains collections of data that can be processed by server side services like search index and link fixup.- Returns:
- a
ServerProcessedContent
-
getShowAuthor
Gets the showAuthor property value. Indicates whether the author should be shown in title area.- Returns:
- a
Boolean
-
getShowPublishedDate
Gets the showPublishedDate property value. Indicates whether the published date should be shown in title area.- Returns:
- a
Boolean
-
getShowTextBlockAboveTitle
Gets the showTextBlockAboveTitle property value. Indicates whether the text block above title should be shown in title area.- Returns:
- a
Boolean
-
getTextAboveTitle
Gets the textAboveTitle property value. The text above title line.- Returns:
- a
String
-
getTextAlignment
Gets the textAlignment property value. Enumeration value that indicates the text alignment of the title area. The possible values are: left, center, unknownFutureValue.- Returns:
- a
TitleAreaTextAlignmentType
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setAlternativeText
Sets the alternativeText property value. Alternative text on the title area.- Parameters:
value- Value to set for the alternativeText property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setEnableGradientEffect
Sets the enableGradientEffect property value. Indicates whether the title area has a gradient effect enabled.- Parameters:
value- Value to set for the enableGradientEffect property.
-
setImageWebUrl
Sets the imageWebUrl property value. URL of the image in the title area.- Parameters:
value- Value to set for the imageWebUrl property.
-
setLayout
Sets the layout property value. Enumeration value that indicates the layout of the title area. The possible values are: imageAndTitle, plain, colorBlock, overlap, unknownFutureValue.- Parameters:
value- Value to set for the layout property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setServerProcessedContent
Sets the serverProcessedContent property value. Contains collections of data that can be processed by server side services like search index and link fixup.- Parameters:
value- Value to set for the serverProcessedContent property.
-
setShowAuthor
Sets the showAuthor property value. Indicates whether the author should be shown in title area.- Parameters:
value- Value to set for the showAuthor property.
-
setShowPublishedDate
Sets the showPublishedDate property value. Indicates whether the published date should be shown in title area.- Parameters:
value- Value to set for the showPublishedDate property.
-
setShowTextBlockAboveTitle
Sets the showTextBlockAboveTitle property value. Indicates whether the text block above title should be shown in title area.- Parameters:
value- Value to set for the showTextBlockAboveTitle property.
-
setTextAboveTitle
Sets the textAboveTitle property value. The text above title line.- Parameters:
value- Value to set for the textAboveTitle property.
-
setTextAlignment
Sets the textAlignment property value. Enumeration value that indicates the text alignment of the title area. The possible values are: left, center, unknownFutureValue.- Parameters:
value- Value to set for the textAlignment property.
-