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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • TitleArea

      public TitleArea()
      Instantiates a new TitleArea and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getAlternativeText

      @Nullable public String 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:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getEnableGradientEffect

      @Nullable public Boolean 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getImageWebUrl

      @Nullable public String getImageWebUrl()
      Gets the imageWebUrl property value. URL of the image in the title area.
      Returns:
      a String
    • getLayout

      @Nullable public TitleAreaLayoutType 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

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getServerProcessedContent

      @Nullable public ServerProcessedContent 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

      @Nullable public Boolean getShowAuthor()
      Gets the showAuthor property value. Indicates whether the author should be shown in title area.
      Returns:
      a Boolean
    • getShowPublishedDate

      @Nullable public Boolean getShowPublishedDate()
      Gets the showPublishedDate property value. Indicates whether the published date should be shown in title area.
      Returns:
      a Boolean
    • getShowTextBlockAboveTitle

      @Nullable public Boolean getShowTextBlockAboveTitle()
      Gets the showTextBlockAboveTitle property value. Indicates whether the text block above title should be shown in title area.
      Returns:
      a Boolean
    • getTextAboveTitle

      @Nullable public String getTextAboveTitle()
      Gets the textAboveTitle property value. The text above title line.
      Returns:
      a String
    • getTextAlignment

      @Nullable public TitleAreaTextAlignmentType 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setAlternativeText(@Nullable String value)
      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

      public void setEnableGradientEffect(@Nullable Boolean value)
      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

      public void setImageWebUrl(@Nullable String value)
      Sets the imageWebUrl property value. URL of the image in the title area.
      Parameters:
      value - Value to set for the imageWebUrl property.
    • setLayout

      public void setLayout(@Nullable TitleAreaLayoutType value)
      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

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setServerProcessedContent

      public void setServerProcessedContent(@Nullable ServerProcessedContent value)
      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

      public void setShowAuthor(@Nullable Boolean value)
      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

      public void setShowPublishedDate(@Nullable Boolean value)
      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

      public void setShowTextBlockAboveTitle(@Nullable Boolean value)
      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

      public void setTextAboveTitle(@Nullable String value)
      Sets the textAboveTitle property value. The text above title line.
      Parameters:
      value - Value to set for the textAboveTitle property.
    • setTextAlignment

      public void setTextAlignment(@Nullable TitleAreaTextAlignmentType value)
      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.