Share via


MicrosoftGraphWorkbookChartTitle Class

public final class MicrosoftGraphWorkbookChartTitle
extends MicrosoftGraphEntity

Represents a workbook chart title.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookChartTitle()

Creates an instance of MicrosoftGraphWorkbookChartTitle class.

Method Summary

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

Get the additionalProperties property: workbookChartTitle.

MicrosoftGraphWorkbookChartTitleFormat format()

Get the format property: workbookChartTitleFormat.

static MicrosoftGraphWorkbookChartTitle fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartTitle from the JsonReader.

Boolean overlay()

Get the overlay property: Boolean value representing if the chart title will overlay the chart or not.

String text()

Get the text property: Represents the title text of a chart.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Boolean visible()

Get the visible property: A boolean value the represents the visibility of a chart title object.

MicrosoftGraphWorkbookChartTitle withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookChartTitle.

MicrosoftGraphWorkbookChartTitle withFormat(MicrosoftGraphWorkbookChartTitleFormat format)

Set the format property: workbookChartTitleFormat.

MicrosoftGraphWorkbookChartTitle withId(String id)

Set the id property: Read-only.

MicrosoftGraphWorkbookChartTitle withOverlay(Boolean overlay)

Set the overlay property: Boolean value representing if the chart title will overlay the chart or not.

MicrosoftGraphWorkbookChartTitle withText(String text)

Set the text property: Represents the title text of a chart.

MicrosoftGraphWorkbookChartTitle withVisible(Boolean visible)

Set the visible property: A boolean value the represents the visibility of a chart title object.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookChartTitle

public MicrosoftGraphWorkbookChartTitle()

Creates an instance of MicrosoftGraphWorkbookChartTitle class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: workbookChartTitle.

Overrides:

MicrosoftGraphWorkbookChartTitle.additionalProperties()

Returns:

the additionalProperties value.

format

public MicrosoftGraphWorkbookChartTitleFormat format()

Get the format property: workbookChartTitleFormat.

Returns:

the format value.

fromJson

public static MicrosoftGraphWorkbookChartTitle fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartTitle from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

overlay

public Boolean overlay()

Get the overlay property: Boolean value representing if the chart title will overlay the chart or not.

Returns:

the overlay value.

text

public String text()

Get the text property: Represents the title text of a chart.

Returns:

the text value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookChartTitle.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookChartTitle.validate()

visible

public Boolean visible()

Get the visible property: A boolean value the represents the visibility of a chart title object.

Returns:

the visible value.

withAdditionalProperties

public MicrosoftGraphWorkbookChartTitle withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookChartTitle.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookChartTitle object itself.

withFormat

public MicrosoftGraphWorkbookChartTitle withFormat(MicrosoftGraphWorkbookChartTitleFormat format)

Set the format property: workbookChartTitleFormat.

Parameters:

format - the format value to set.

Returns:

the MicrosoftGraphWorkbookChartTitle object itself.

withId

public MicrosoftGraphWorkbookChartTitle withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookChartTitle.withId(String id)

Parameters:

id

withOverlay

public MicrosoftGraphWorkbookChartTitle withOverlay(Boolean overlay)

Set the overlay property: Boolean value representing if the chart title will overlay the chart or not.

Parameters:

overlay - the overlay value to set.

Returns:

the MicrosoftGraphWorkbookChartTitle object itself.

withText

public MicrosoftGraphWorkbookChartTitle withText(String text)

Set the text property: Represents the title text of a chart.

Parameters:

text - the text value to set.

Returns:

the MicrosoftGraphWorkbookChartTitle object itself.

withVisible

public MicrosoftGraphWorkbookChartTitle withVisible(Boolean visible)

Set the visible property: A boolean value the represents the visibility of a chart title object.

Parameters:

visible - the visible value to set.

Returns:

the MicrosoftGraphWorkbookChartTitle object itself.

Applies to