Class MicrosoftGraphWorkbookNamedItem
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookNamedItem
-
public final class MicrosoftGraphWorkbookNamedItem extends MicrosoftGraphEntity
workbookNamedItem.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphWorkbookNamedItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: workbookNamedItem.String
comment()
Get the comment property: Represents the comment associated with this name.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.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 class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
comment
public String comment()
Get the comment property: Represents the comment associated with this name.- Returns:
- the comment value.
-
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.
-
name
public String name()
Get the name property: The name of the object. Read-only.- Returns:
- the name value.
-
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.
-
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.
-
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.
-
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.
-
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<String,Object> value)
Set the value property: Json.- Parameters:
value
- the value value to set.- Returns:
- the MicrosoftGraphWorkbookNamedItem object itself.
-
visible
public Boolean visible()
Get the visible property: Specifies whether the object is visible or not.- Returns:
- the visible value.
-
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.
-
worksheet
public MicrosoftGraphWorkbookWorksheet worksheet()
Get the worksheet property: workbookWorksheet.- Returns:
- the worksheet value.
-
withWorksheet
public MicrosoftGraphWorkbookNamedItem withWorksheet(MicrosoftGraphWorkbookWorksheet worksheet)
Set the worksheet property: workbookWorksheet.- Parameters:
worksheet
- the worksheet value to set.- Returns:
- the MicrosoftGraphWorkbookNamedItem object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: workbookNamedItem.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookNamedItem withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookNamedItem.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkbookNamedItem object itself.
-
withId
public MicrosoftGraphWorkbookNamedItem withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-