Package com.microsoft.graph.models
Class WorkbookWorksheet
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookWorksheet
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class WorkbookWorksheet
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 WorkbookWorksheet
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the charts property value.The deserialization information for the current modelgetName()
Gets the name property value.getNames()
Gets the names property value.Gets the pivotTables property value.Gets the position property value.Gets the protection property value.Gets the tables property value.Gets the visibility property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCharts
(List<WorkbookChart> value) Sets the charts property value.void
Sets the name property value.void
setNames
(List<WorkbookNamedItem> value) Sets the names property value.void
setPivotTables
(List<WorkbookPivotTable> value) Sets the pivotTables property value.void
setPosition
(Integer value) Sets the position property value.void
Sets the protection property value.void
setTables
(List<WorkbookTable> value) Sets the tables property value.void
setVisibility
(String value) Sets the visibility property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WorkbookWorksheet
public WorkbookWorksheet()Instantiates a newWorkbookWorksheet
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WorkbookWorksheet 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
WorkbookWorksheet
-
getCharts
Gets the charts property value. The list of charts that are part of the worksheet. Read-only.- Returns:
- a
List<WorkbookChart>
-
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 display name of the worksheet.- Returns:
- a
String
-
getNames
Gets the names property value. The list of names that are associated with the worksheet. Read-only.- Returns:
- a
List<WorkbookNamedItem>
-
getPivotTables
Gets the pivotTables property value. The list of piot tables that are part of the worksheet.- Returns:
- a
List<WorkbookPivotTable>
-
getPosition
Gets the position property value. The zero-based position of the worksheet within the workbook.- Returns:
- a
Integer
-
getProtection
Gets the protection property value. The sheet protection object for a worksheet. Read-only.- Returns:
- a
WorkbookWorksheetProtection
-
getTables
Gets the tables property value. The list of tables that are part of the worksheet. Read-only.- Returns:
- a
List<WorkbookTable>
-
getVisibility
Gets the visibility property value. The visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCharts
Sets the charts property value. The list of charts that are part of the worksheet. Read-only.- Parameters:
value
- Value to set for the charts property.
-
setName
Sets the name property value. The display name of the worksheet.- Parameters:
value
- Value to set for the name property.
-
setNames
Sets the names property value. The list of names that are associated with the worksheet. Read-only.- Parameters:
value
- Value to set for the names property.
-
setPivotTables
Sets the pivotTables property value. The list of piot tables that are part of the worksheet.- Parameters:
value
- Value to set for the pivotTables property.
-
setPosition
Sets the position property value. The zero-based position of the worksheet within the workbook.- Parameters:
value
- Value to set for the position property.
-
setProtection
Sets the protection property value. The sheet protection object for a worksheet. Read-only.- Parameters:
value
- Value to set for the protection property.
-
setTables
Sets the tables property value. The list of tables that are part of the worksheet. Read-only.- Parameters:
value
- Value to set for the tables property.
-
setVisibility
Sets the visibility property value. The visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden.- Parameters:
value
- Value to set for the visibility property.
-