MicrosoftGraphWorkbookChartLegendFormat Class

public final class MicrosoftGraphWorkbookChartLegendFormat
extends MicrosoftGraphEntity

workbookChartLegendFormat.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookChartLegendFormat()

Creates an instance of MicrosoftGraphWorkbookChartLegendFormat class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: workbookChartLegendFormat.

MicrosoftGraphWorkbookChartFill fill()

Get the fill property: workbookChartFill.

MicrosoftGraphWorkbookChartFont font()

Get the font property: workbookChartFont.

static MicrosoftGraphWorkbookChartLegendFormat fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartLegendFormat from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWorkbookChartLegendFormat withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookChartLegendFormat.

MicrosoftGraphWorkbookChartLegendFormat withFill(MicrosoftGraphWorkbookChartFill fill)

Set the fill property: workbookChartFill.

MicrosoftGraphWorkbookChartLegendFormat withFont(MicrosoftGraphWorkbookChartFont font)

Set the font property: workbookChartFont.

MicrosoftGraphWorkbookChartLegendFormat withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookChartLegendFormat

public MicrosoftGraphWorkbookChartLegendFormat()

Creates an instance of MicrosoftGraphWorkbookChartLegendFormat class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookChartLegendFormat.

Overrides:

MicrosoftGraphWorkbookChartLegendFormat.additionalProperties()

Returns:

the additionalProperties value.

fill

public MicrosoftGraphWorkbookChartFill fill()

Get the fill property: workbookChartFill.

Returns:

the fill value.

font

public MicrosoftGraphWorkbookChartFont font()

Get the font property: workbookChartFont.

Returns:

the font value.

fromJson

public static MicrosoftGraphWorkbookChartLegendFormat fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartLegendFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookChartLegendFormat 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 MicrosoftGraphWorkbookChartLegendFormat.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookChartLegendFormat.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookChartLegendFormat.validate()

withAdditionalProperties

public MicrosoftGraphWorkbookChartLegendFormat withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookChartLegendFormat.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookChartLegendFormat object itself.

withFill

public MicrosoftGraphWorkbookChartLegendFormat withFill(MicrosoftGraphWorkbookChartFill fill)

Set the fill property: workbookChartFill.

Parameters:

fill - the fill value to set.

Returns:

the MicrosoftGraphWorkbookChartLegendFormat object itself.

withFont

public MicrosoftGraphWorkbookChartLegendFormat withFont(MicrosoftGraphWorkbookChartFont font)

Set the font property: workbookChartFont.

Parameters:

font - the font value to set.

Returns:

the MicrosoftGraphWorkbookChartLegendFormat object itself.

withId

public MicrosoftGraphWorkbookChartLegendFormat withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookChartLegendFormat.withId(String id)

Parameters:

id

Applies to