你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphWorkbookChartFont Class

public final class MicrosoftGraphWorkbookChartFont
extends MicrosoftGraphEntity

workbookChartFont.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookChartFont()

Creates an instance of MicrosoftGraphWorkbookChartFont class.

Method Summary

Modifier and Type Method and 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.

static MicrosoftGraphWorkbookChartFont fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartFont from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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 MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookChartFont

public MicrosoftGraphWorkbookChartFont()

Creates an instance of MicrosoftGraphWorkbookChartFont class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookChartFont.

Overrides:

MicrosoftGraphWorkbookChartFont.additionalProperties()

Returns:

the additionalProperties value.

bold

public Boolean bold()

Get the bold property: Represents the bold status of font.

Returns:

the bold value.

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.

fromJson

public static MicrosoftGraphWorkbookChartFont fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartFont from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookChartFont if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphWorkbookChartFont.

italic

public Boolean italic()

Get the italic property: Represents the italic status of the font.

Returns:

the italic value.

name

public String name()

Get the name property: Font name (e.g. 'Calibri').

Returns:

the name value.

size

public Double size()

Get the size property: Size of the font (e.g. 11).

Returns:

the size value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookChartFont.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookChartFont.validate()

withAdditionalProperties

public MicrosoftGraphWorkbookChartFont withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookChartFont.

Overrides:

MicrosoftGraphWorkbookChartFont.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookChartFont object itself.

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.

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.

withId

public MicrosoftGraphWorkbookChartFont withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookChartFont.withId(String id)

Parameters:

id

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.

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.

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.

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.

Applies to