Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkbookNamedItem
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the comment property value.The deserialization information for the current modelgetName()
Gets the name property value.getScope()
Gets the scope property value.getType()
Gets the type property value.com.microsoft.kiota.serialization.UntypedNode
getValue()
Gets the value property value.Gets the visible property value.Gets the worksheet property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setComment
(String value) Sets the comment property value.void
Sets the name property value.void
Sets the scope property value.void
Sets the type property value.void
setValue
(com.microsoft.kiota.serialization.UntypedNode value) Sets the value property value.void
setVisible
(Boolean value) Sets the visible property value.void
setWorksheet
(WorkbookWorksheet value) Sets the worksheet property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WorkbookNamedItem
public WorkbookNamedItem()Instantiates a newWorkbookNamedItem
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getName
Gets the name property value. The name of the object. Read-only.- Returns:
- a
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
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
Gets the visible property value. Indicates whether the object is visible.- Returns:
- a
Boolean
-
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 -
setComment
Sets the comment property value. The comment associated with this name.- Parameters:
value
- Value to set for the comment property.
-
setName
Sets the name property value. The name of the object. Read-only.- Parameters:
value
- Value to set for the name property.
-
setScope
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
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
Sets the visible property value. Indicates whether the object is visible.- Parameters:
value
- Value to set for the visible property.
-
setWorksheet
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.
-