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 Details

    • MicrosoftGraphWorkbookNamedItem

      public MicrosoftGraphWorkbookNamedItem()
      Creates an instance of MicrosoftGraphWorkbookNamedItem class.
  • Method Details

    • 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.
    • value

      public Map<String,Object> value()
      Get the value property: Json.
      Returns:
      the value value.
    • 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

      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 class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphWorkbookNamedItem withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: workbookNamedItem.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphWorkbookNamedItem object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.