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.Boolean
bold()
Get the bold property: Represents the bold status of font.String
color()
Get the color property: HTML color code representation of the text color.Boolean
italic()
Get the italic property: Represents the italic status of the font.String
name()
Get the name property: Font name (e.g.Double
size()
Get the size property: Size of the font (e.g.String
underline()
Get the underline property: Type of underline applied to the font.void
validate()
Validates the instance.MicrosoftGraphWorkbookChartFont
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookChartFont.MicrosoftGraphWorkbookChartFont
withBold(Boolean bold)
Set the bold property: Represents the bold status of font.MicrosoftGraphWorkbookChartFont
withColor(String color)
Set the color property: HTML color code representation of the text color.MicrosoftGraphWorkbookChartFont
withId(String id)
Set the id property: Read-only.MicrosoftGraphWorkbookChartFont
withItalic(Boolean italic)
Set the italic property: Represents the italic status of the font.MicrosoftGraphWorkbookChartFont
withName(String name)
Set the name property: Font name (e.g.MicrosoftGraphWorkbookChartFont
withSize(Double size)
Set the size property: Size of the font (e.g.MicrosoftGraphWorkbookChartFont
withUnderline(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:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookChartFont withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookChartFont.- Overrides:
withAdditionalProperties
in 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-