Partilhar via


MicrosoftGraphWorkbookNamedItem Class

public final class MicrosoftGraphWorkbookNamedItem
extends MicrosoftGraphEntity

workbookNamedItem.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookNamedItem()

Creates an instance of MicrosoftGraphWorkbookNamedItem class.

Method Summary

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

Get the additionalProperties property: workbookNamedItem.

String comment()

Get the comment property: Represents the comment associated with this name.

static MicrosoftGraphWorkbookNamedItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookNamedItem from the JsonReader.

String name()

Get the name property: The name of the object.

String scope()

Get the scope property: Indicates whether the name is scoped to the workbook or to a specific worksheet.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Indicates what type of reference is associated with the name.

void validate()

Validates the instance.

Map<String,Object> value()

Get the value property: Json.

Boolean visible()

Get the visible property: Specifies whether the object is visible or not.

MicrosoftGraphWorkbookNamedItem withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookNamedItem.

MicrosoftGraphWorkbookNamedItem withComment(String comment)

Set the comment property: Represents the comment associated with this name.

MicrosoftGraphWorkbookNamedItem withId(String id)

Set the id property: Read-only.

MicrosoftGraphWorkbookNamedItem withName(String name)

Set the name property: The name of the object.

MicrosoftGraphWorkbookNamedItem withScope(String scope)

Set the scope property: Indicates whether the name is scoped to the workbook or to a specific worksheet.

MicrosoftGraphWorkbookNamedItem withType(String type)

Set the type property: Indicates what type of reference is associated with the name.

MicrosoftGraphWorkbookNamedItem withValue(Map<String,Object> value)

Set the value property: Json.

MicrosoftGraphWorkbookNamedItem withVisible(Boolean visible)

Set the visible property: Specifies whether the object is visible or not.

MicrosoftGraphWorkbookNamedItem withWorksheet(MicrosoftGraphWorkbookWorksheet worksheet)

Set the worksheet property: workbookWorksheet.

MicrosoftGraphWorkbookWorksheet worksheet()

Get the worksheet property: workbookWorksheet.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookNamedItem

public MicrosoftGraphWorkbookNamedItem()

Creates an instance of MicrosoftGraphWorkbookNamedItem class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookNamedItem.

Overrides:

MicrosoftGraphWorkbookNamedItem.additionalProperties()

Returns:

the additionalProperties value.

comment

public String comment()

Get the comment property: Represents the comment associated with this name.

Returns:

the comment value.

fromJson

public static MicrosoftGraphWorkbookNamedItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookNamedItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the object. Read-only.

Returns:

the name value.

scope

public String scope()

Get the scope property: Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only.

Returns:

the scope value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookNamedItem.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Indicates what type of reference is associated with the name. The possible values are: String, Integer, Double, Boolean, Range. Read-only.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookNamedItem.validate()

value

public Map value()

Get the value property: Json.

Returns:

the value value.

visible

public Boolean visible()

Get the visible property: Specifies whether the object is visible or not.

Returns:

the visible value.

withAdditionalProperties

public MicrosoftGraphWorkbookNamedItem withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookNamedItem.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookNamedItem object itself.

withComment

public MicrosoftGraphWorkbookNamedItem withComment(String comment)

Set the comment property: Represents the comment associated with this name.

Parameters:

comment - the comment value to set.

Returns:

the MicrosoftGraphWorkbookNamedItem object itself.

withId

public MicrosoftGraphWorkbookNamedItem withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookNamedItem.withId(String id)

Parameters:

id

withName

public MicrosoftGraphWorkbookNamedItem withName(String name)

Set the name property: The name of the object. Read-only.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphWorkbookNamedItem object itself.

withScope

public MicrosoftGraphWorkbookNamedItem withScope(String scope)

Set the scope property: Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only.

Parameters:

scope - the scope value to set.

Returns:

the MicrosoftGraphWorkbookNamedItem object itself.

withType

public MicrosoftGraphWorkbookNamedItem withType(String type)

Set the type property: Indicates what type of reference is associated with the name. The possible values are: String, Integer, Double, Boolean, Range. Read-only.

Parameters:

type - the type value to set.

Returns:

the MicrosoftGraphWorkbookNamedItem object itself.

withValue

public MicrosoftGraphWorkbookNamedItem withValue(Map value)

Set the value property: Json.

Parameters:

value - the value value to set.

Returns:

the MicrosoftGraphWorkbookNamedItem object itself.

withVisible

public MicrosoftGraphWorkbookNamedItem withVisible(Boolean visible)

Set the visible property: Specifies whether the object is visible or not.

Parameters:

visible - the visible value to set.

Returns:

the MicrosoftGraphWorkbookNamedItem object itself.

withWorksheet

public MicrosoftGraphWorkbookNamedItem withWorksheet(MicrosoftGraphWorkbookWorksheet worksheet)

Set the worksheet property: workbookWorksheet.

Parameters:

worksheet - the worksheet value to set.

Returns:

the MicrosoftGraphWorkbookNamedItem object itself.

worksheet

public MicrosoftGraphWorkbookWorksheet worksheet()

Get the worksheet property: workbookWorksheet.

Returns:

the worksheet value.

Applies to