Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Workbook
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the application property value.Gets the comments property value.The deserialization information for the current modelGets the functions property value.getNames()
Gets the names property value.Gets the operations property value.Gets the tables property value.Gets the worksheets property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the application property value.void
setComments
(List<WorkbookComment> value) Sets the comments property value.void
setFunctions
(WorkbookFunctions value) Sets the functions property value.void
setNames
(List<WorkbookNamedItem> value) Sets the names property value.void
setOperations
(List<WorkbookOperation> value) Sets the operations property value.void
setTables
(List<WorkbookTable> value) Sets the tables property value.void
setWorksheets
(List<WorkbookWorksheet> value) Sets the worksheets property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Workbook
public Workbook()Instantiates a newWorkbook
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
Gets the application property value. The application property- Returns:
- a
WorkbookApplication
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFunctions
Gets the functions property value. The functions property- Returns:
- a
WorkbookFunctions
-
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
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
Gets the tables property value. Represents a collection of tables associated with the workbook. Read-only.- Returns:
- a
List<WorkbookTable>
-
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 -
setApplication
Sets the application property value. The application property- Parameters:
value
- Value to set for the application property.
-
setComments
Sets the comments property value. Represents a collection of comments in a workbook.- Parameters:
value
- Value to set for the comments property.
-
setFunctions
Sets the functions property value. The functions property- Parameters:
value
- Value to set for the functions property.
-
setNames
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
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
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
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.
-