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 Summary
Constructors Constructor Description MicrosoftGraphWorkbookChartFont()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: workbookChartFont.Booleanbold()Get the bold property: Represents the bold status of font.Stringcolor()Get the color property: HTML color code representation of the text color.Booleanitalic()Get the italic property: Represents the italic status of the font.Stringname()Get the name property: Font name (e.g.Doublesize()Get the size property: Size of the font (e.g.Stringunderline()Get the underline property: Type of underline applied to the font.voidvalidate()Validates the instance.MicrosoftGraphWorkbookChartFontwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: workbookChartFont.MicrosoftGraphWorkbookChartFontwithBold(Boolean bold)Set the bold property: Represents the bold status of font.MicrosoftGraphWorkbookChartFontwithColor(String color)Set the color property: HTML color code representation of the text color.MicrosoftGraphWorkbookChartFontwithId(String id)Set the id property: Read-only.MicrosoftGraphWorkbookChartFontwithItalic(Boolean italic)Set the italic property: Represents the italic status of the font.MicrosoftGraphWorkbookChartFontwithName(String name)Set the name property: Font name (e.g.MicrosoftGraphWorkbookChartFontwithSize(Double size)Set the size property: Size of the font (e.g.MicrosoftGraphWorkbookChartFontwithUnderline(String underline)Set the underline property: Type of underline applied to the font.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookChartFont withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookChartFont.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkbookChartFont object itself.
-
withId
public MicrosoftGraphWorkbookChartFont withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-