Class WorkbookNamedItem

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookNamedItem
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class WorkbookNamedItem extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • WorkbookNamedItem

      public WorkbookNamedItem()
      Instantiates a new WorkbookNamedItem and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static WorkbookNamedItem createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a WorkbookNamedItem
    • getComment

      @Nullable public String getComment()
      Gets the comment property value. The comment associated with this name.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getName

      @Nullable public String getName()
      Gets the name property value. The name of the object. Read-only.
      Returns:
      a String
    • getScope

      @Nullable public String getScope()
      Gets the scope property value. Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only.
      Returns:
      a String
    • getType

      @Nullable public String getType()
      Gets the type property value. The type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only.
      Returns:
      a String
    • getValue

      @Nullable public com.microsoft.kiota.serialization.UntypedNode getValue()
      Gets the value property value. The formula that the name is defined to refer to. For example, =Sheet14!$B$2:$H$12 and =4.75. Read-only.
      Returns:
      a UntypedNode
    • getVisible

      @Nullable public Boolean getVisible()
      Gets the visible property value. Indicates whether the object is visible.
      Returns:
      a Boolean
    • getWorksheet

      @Nullable public WorkbookWorksheet getWorksheet()
      Gets the worksheet property value. Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only.
      Returns:
      a WorkbookWorksheet
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setComment

      public void setComment(@Nullable String value)
      Sets the comment property value. The comment associated with this name.
      Parameters:
      value - Value to set for the comment property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. The name of the object. Read-only.
      Parameters:
      value - Value to set for the name property.
    • setScope

      public void setScope(@Nullable String value)
      Sets the scope property value. Indicates whether the name is scoped to the workbook or to a specific worksheet. Read-only.
      Parameters:
      value - Value to set for the scope property.
    • setType

      public void setType(@Nullable String value)
      Sets the type property value. The type of reference is associated with the name. Possible values are: String, Integer, Double, Boolean, Range. Read-only.
      Parameters:
      value - Value to set for the type property.
    • setValue

      public void setValue(@Nullable com.microsoft.kiota.serialization.UntypedNode value)
      Sets the value property value. The formula that the name is defined to refer to. For example, =Sheet14!$B$2:$H$12 and =4.75. Read-only.
      Parameters:
      value - Value to set for the value property.
    • setVisible

      public void setVisible(@Nullable Boolean value)
      Sets the visible property value. Indicates whether the object is visible.
      Parameters:
      value - Value to set for the visible property.
    • setWorksheet

      public void setWorksheet(@Nullable WorkbookWorksheet value)
      Sets the worksheet property value. Returns the worksheet to which the named item is scoped. Available only if the item is scoped to the worksheet. Read-only.
      Parameters:
      value - Value to set for the worksheet property.