Class WorkbookRangeFont

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookRangeFont
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

    • WorkbookRangeFont

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

    • createFromDiscriminatorValue

      @Nonnull public static WorkbookRangeFont 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 WorkbookRangeFont
    • getBold

      @Nullable public Boolean getBold()
      Gets the bold property value. Inidicates whether the font is bold.
      Returns:
      a Boolean
    • getColor

      @Nullable public String getColor()
      Gets the color property value. The HTML color code representation of the text color. For example, #FF0000 represents the color red.
      Returns:
      a String
    • 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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getItalic

      @Nullable public Boolean getItalic()
      Gets the italic property value. Inidicates whether the font is italic.
      Returns:
      a Boolean
    • getName

      @Nullable public String getName()
      Gets the name property value. The font name. For example, 'Calibri'.
      Returns:
      a String
    • getSize

      @Nullable public Double getSize()
      Gets the size property value. The font size.
      Returns:
      a Double
    • getUnderline

      @Nullable public String getUnderline()
      Gets the underline property value. The type of underlining applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant.
      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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setBold

      public void setBold(@Nullable Boolean value)
      Sets the bold property value. Inidicates whether the font is bold.
      Parameters:
      value - Value to set for the bold property.
    • setColor

      public void setColor(@Nullable String value)
      Sets the color property value. The HTML color code representation of the text color. For example, #FF0000 represents the color red.
      Parameters:
      value - Value to set for the color property.
    • setItalic

      public void setItalic(@Nullable Boolean value)
      Sets the italic property value. Inidicates whether the font is italic.
      Parameters:
      value - Value to set for the italic property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. The font name. For example, 'Calibri'.
      Parameters:
      value - Value to set for the name property.
    • setSize

      public void setSize(@Nullable Double value)
      Sets the size property value. The font size.
      Parameters:
      value - Value to set for the size property.
    • setUnderline

      public void setUnderline(@Nullable String value)
      Sets the underline property value. The type of underlining applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant.
      Parameters:
      value - Value to set for the underline property.