Class NotebookCell
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.NotebookCell
-
public final class NotebookCell extends Object
Notebook cell.
-
-
Constructor Summary
Constructors Constructor Description NotebookCell()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
Get the additionalProperties property: Notebook cell.Object
getAttachments()
Get the attachments property: Attachments associated with the cell.String
getCellType()
Get the cellType property: String identifying the type of cell.Object
getMetadata()
Get the metadata property: Cell-level metadata.List<NotebookCellOutputItem>
getOutputs()
Get the outputs property: Cell-level output items.List<String>
getSource()
Get the source property: Contents of the cell, represented as an array of lines.NotebookCell
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Notebook cell.NotebookCell
setAttachments(Object attachments)
Set the attachments property: Attachments associated with the cell.NotebookCell
setCellType(String cellType)
Set the cellType property: String identifying the type of cell.NotebookCell
setMetadata(Object metadata)
Set the metadata property: Cell-level metadata.NotebookCell
setOutputs(List<NotebookCellOutputItem> outputs)
Set the outputs property: Cell-level output items.NotebookCell
setSource(List<String> source)
Set the source property: Contents of the cell, represented as an array of lines.
-
-
-
Method Detail
-
getCellType
public String getCellType()
Get the cellType property: String identifying the type of cell.- Returns:
- the cellType value.
-
setCellType
public NotebookCell setCellType(String cellType)
Set the cellType property: String identifying the type of cell.- Parameters:
cellType
- the cellType value to set.- Returns:
- the NotebookCell object itself.
-
getMetadata
public Object getMetadata()
Get the metadata property: Cell-level metadata.- Returns:
- the metadata value.
-
setMetadata
public NotebookCell setMetadata(Object metadata)
Set the metadata property: Cell-level metadata.- Parameters:
metadata
- the metadata value to set.- Returns:
- the NotebookCell object itself.
-
getSource
public List<String> getSource()
Get the source property: Contents of the cell, represented as an array of lines.- Returns:
- the source value.
-
setSource
public NotebookCell setSource(List<String> source)
Set the source property: Contents of the cell, represented as an array of lines.- Parameters:
source
- the source value to set.- Returns:
- the NotebookCell object itself.
-
getAttachments
public Object getAttachments()
Get the attachments property: Attachments associated with the cell.- Returns:
- the attachments value.
-
setAttachments
public NotebookCell setAttachments(Object attachments)
Set the attachments property: Attachments associated with the cell.- Parameters:
attachments
- the attachments value to set.- Returns:
- the NotebookCell object itself.
-
getOutputs
public List<NotebookCellOutputItem> getOutputs()
Get the outputs property: Cell-level output items.- Returns:
- the outputs value.
-
setOutputs
public NotebookCell setOutputs(List<NotebookCellOutputItem> outputs)
Set the outputs property: Cell-level output items.- Parameters:
outputs
- the outputs value to set.- Returns:
- the NotebookCell object itself.
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: Notebook cell.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
public NotebookCell setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Notebook cell.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the NotebookCell object itself.
-
-