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
  • Constructor Details

    • WorkbookWorksheet

      public WorkbookWorksheet()
      Instantiates a new WorkbookWorksheet 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

      @Nullable public List<WorkbookChart> 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 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 display name of the worksheet.
      Returns:
      a String
    • getNames

      @Nullable public List<WorkbookNamedItem> getNames()
      Gets the names property value. The list of names that are associated with the worksheet. Read-only.
      Returns:
      a List<WorkbookNamedItem>
    • getPivotTables

      @Nullable public List<WorkbookPivotTable> getPivotTables()
      Gets the pivotTables property value. The list of piot tables that are part of the worksheet.
      Returns:
      a List<WorkbookPivotTable>
    • getPosition

      @Nullable public Integer getPosition()
      Gets the position property value. The zero-based position of the worksheet within the workbook.
      Returns:
      a Integer
    • getProtection

      @Nullable public WorkbookWorksheetProtection getProtection()
      Gets the protection property value. The sheet protection object for a worksheet. Read-only.
      Returns:
      a WorkbookWorksheetProtection
    • getTables

      @Nullable public List<WorkbookTable> getTables()
      Gets the tables property value. The list of tables that are part of the worksheet. Read-only.
      Returns:
      a List<WorkbookTable>
    • getVisibility

      @Nullable public String 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
      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
    • setCharts

      public void setCharts(@Nullable List<WorkbookChart> value)
      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

      public void setName(@Nullable String value)
      Sets the name property value. The display name of the worksheet.
      Parameters:
      value - Value to set for the name property.
    • setNames

      public void setNames(@Nullable List<WorkbookNamedItem> value)
      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

      public void setPivotTables(@Nullable List<WorkbookPivotTable> value)
      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

      public void setPosition(@Nullable Integer value)
      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

      public void setProtection(@Nullable WorkbookWorksheetProtection value)
      Sets the protection property value. The sheet protection object for a worksheet. Read-only.
      Parameters:
      value - Value to set for the protection property.
    • setTables

      public void setTables(@Nullable List<WorkbookTable> value)
      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

      public void setVisibility(@Nullable String value)
      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.