Class Workbook

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

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

    • Workbook

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

    • createFromDiscriminatorValue

      @Nonnull public static Workbook 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 Workbook
    • getApplication

      @Nullable public WorkbookApplication getApplication()
      Gets the application property value. The application property
      Returns:
      a WorkbookApplication
    • getComments

      @Nullable public List<WorkbookComment> getComments()
      Gets the comments property value. Represents a collection of comments in a workbook.
      Returns:
      a List<WorkbookComment>
    • 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>>
    • getFunctions

      @Nullable public WorkbookFunctions getFunctions()
      Gets the functions property value. The functions property
      Returns:
      a WorkbookFunctions
    • getNames

      @Nullable public List<WorkbookNamedItem> getNames()
      Gets the names property value. Represents a collection of workbooks scoped named items (named ranges and constants). Read-only.
      Returns:
      a List<WorkbookNamedItem>
    • getOperations

      @Nullable public List<WorkbookOperation> getOperations()
      Gets the operations property value. The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only.
      Returns:
      a List<WorkbookOperation>
    • getTables

      @Nullable public List<WorkbookTable> getTables()
      Gets the tables property value. Represents a collection of tables associated with the workbook. Read-only.
      Returns:
      a List<WorkbookTable>
    • getWorksheets

      @Nullable public List<WorkbookWorksheet> getWorksheets()
      Gets the worksheets property value. Represents a collection of worksheets associated with the workbook. Read-only.
      Returns:
      a List<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
    • setApplication

      public void setApplication(@Nullable WorkbookApplication value)
      Sets the application property value. The application property
      Parameters:
      value - Value to set for the application property.
    • setComments

      public void setComments(@Nullable List<WorkbookComment> value)
      Sets the comments property value. Represents a collection of comments in a workbook.
      Parameters:
      value - Value to set for the comments property.
    • setFunctions

      public void setFunctions(@Nullable WorkbookFunctions value)
      Sets the functions property value. The functions property
      Parameters:
      value - Value to set for the functions property.
    • setNames

      public void setNames(@Nullable List<WorkbookNamedItem> value)
      Sets the names property value. Represents a collection of workbooks scoped named items (named ranges and constants). Read-only.
      Parameters:
      value - Value to set for the names property.
    • setOperations

      public void setOperations(@Nullable List<WorkbookOperation> value)
      Sets the operations property value. The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only.
      Parameters:
      value - Value to set for the operations property.
    • setTables

      public void setTables(@Nullable List<WorkbookTable> value)
      Sets the tables property value. Represents a collection of tables associated with the workbook. Read-only.
      Parameters:
      value - Value to set for the tables property.
    • setWorksheets

      public void setWorksheets(@Nullable List<WorkbookWorksheet> value)
      Sets the worksheets property value. Represents a collection of worksheets associated with the workbook. Read-only.
      Parameters:
      value - Value to set for the worksheets property.