Class MicrosoftGraphWorkbookChartFont

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookChartFont

public final class MicrosoftGraphWorkbookChartFont extends MicrosoftGraphEntity
workbookChartFont.
  • Constructor Details

    • MicrosoftGraphWorkbookChartFont

      public MicrosoftGraphWorkbookChartFont()
      Creates an instance of MicrosoftGraphWorkbookChartFont class.
  • Method Details

    • bold

      public Boolean bold()
      Get the bold property: Represents the bold status of font.
      Returns:
      the bold value.
    • withBold

      public MicrosoftGraphWorkbookChartFont withBold(Boolean bold)
      Set the bold property: Represents the bold status of font.
      Parameters:
      bold - the bold value to set.
      Returns:
      the MicrosoftGraphWorkbookChartFont object itself.
    • color

      public String color()
      Get the color property: HTML color code representation of the text color. E.g. #FF0000 represents Red.
      Returns:
      the color value.
    • withColor

      public MicrosoftGraphWorkbookChartFont withColor(String color)
      Set the color property: HTML color code representation of the text color. E.g. #FF0000 represents Red.
      Parameters:
      color - the color value to set.
      Returns:
      the MicrosoftGraphWorkbookChartFont object itself.
    • italic

      public Boolean italic()
      Get the italic property: Represents the italic status of the font.
      Returns:
      the italic value.
    • withItalic

      public MicrosoftGraphWorkbookChartFont withItalic(Boolean italic)
      Set the italic property: Represents the italic status of the font.
      Parameters:
      italic - the italic value to set.
      Returns:
      the MicrosoftGraphWorkbookChartFont object itself.
    • name

      public String name()
      Get the name property: Font name (e.g. 'Calibri').
      Returns:
      the name value.
    • withName

      public MicrosoftGraphWorkbookChartFont withName(String name)
      Set the name property: Font name (e.g. 'Calibri').
      Parameters:
      name - the name value to set.
      Returns:
      the MicrosoftGraphWorkbookChartFont object itself.
    • size

      public Double size()
      Get the size property: Size of the font (e.g. 11).
      Returns:
      the size value.
    • withSize

      public MicrosoftGraphWorkbookChartFont withSize(Double size)
      Set the size property: Size of the font (e.g. 11).
      Parameters:
      size - the size value to set.
      Returns:
      the MicrosoftGraphWorkbookChartFont object itself.
    • underline

      public String underline()
      Get the underline property: Type of underline applied to the font. The possible values are: None, Single.
      Returns:
      the underline value.
    • withUnderline

      public MicrosoftGraphWorkbookChartFont withUnderline(String underline)
      Set the underline property: Type of underline applied to the font. The possible values are: None, Single.
      Parameters:
      underline - the underline value to set.
      Returns:
      the MicrosoftGraphWorkbookChartFont object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: workbookChartFont.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphWorkbookChartFont withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: workbookChartFont.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphWorkbookChartFont object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.