MicrosoftGraphWorkbookChartLineFormat Class

public final class MicrosoftGraphWorkbookChartLineFormat
extends MicrosoftGraphEntity

workbookChartLineFormat.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookChartLineFormat()

Creates an instance of MicrosoftGraphWorkbookChartLineFormat class.

Method Summary

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

Get the additionalProperties property: workbookChartLineFormat.

String color()

Get the color property: HTML color code representing the color of lines in the chart.

static MicrosoftGraphWorkbookChartLineFormat fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartLineFormat from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWorkbookChartLineFormat withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookChartLineFormat.

MicrosoftGraphWorkbookChartLineFormat withColor(String color)

Set the color property: HTML color code representing the color of lines in the chart.

MicrosoftGraphWorkbookChartLineFormat withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookChartLineFormat

public MicrosoftGraphWorkbookChartLineFormat()

Creates an instance of MicrosoftGraphWorkbookChartLineFormat class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookChartLineFormat.

Overrides:

MicrosoftGraphWorkbookChartLineFormat.additionalProperties()

Returns:

the additionalProperties value.

color

public String color()

Get the color property: HTML color code representing the color of lines in the chart.

Returns:

the color value.

fromJson

public static MicrosoftGraphWorkbookChartLineFormat fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartLineFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookChartLineFormat.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookChartLineFormat.validate()

withAdditionalProperties

public MicrosoftGraphWorkbookChartLineFormat withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookChartLineFormat.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookChartLineFormat object itself.

withColor

public MicrosoftGraphWorkbookChartLineFormat withColor(String color)

Set the color property: HTML color code representing the color of lines in the chart.

Parameters:

color - the color value to set.

Returns:

the MicrosoftGraphWorkbookChartLineFormat object itself.

withId

public MicrosoftGraphWorkbookChartLineFormat withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookChartLineFormat.withId(String id)

Parameters:

id

Applies to