NotebookCell Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. NotebookCell
- com.
Implements
public final class NotebookCell
implements JsonSerializable<NotebookCell>
Notebook cell.
Constructor Summary
| Constructor | Description |
|---|---|
| NotebookCell() |
Creates an instance of Notebook |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Notebook |
fromJson(JsonReader jsonReader)
Reads an instance of Notebook |
| Map<String,Object> |
getAdditionalProperties()
Get the additional |
| Object |
getAttachments()
Get the attachments property: Attachments associated with the cell. |
| String |
getCellType()
Get the cell |
| Object |
getMetadata()
Get the metadata property: Cell-level metadata. |
|
List<Notebook |
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. |
|
Notebook |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Notebook |
setAttachments(Object attachments)
Set the attachments property: Attachments associated with the cell. |
|
Notebook |
setCellType(String cellType)
Set the cell |
|
Notebook |
setMetadata(Object metadata)
Set the metadata property: Cell-level metadata. |
|
Notebook |
setOutputs(List<NotebookCellOutputItem> outputs)
Set the outputs property: Cell-level output items. |
|
Notebook |
setSource(List<String> source)
Set the source property: Contents of the cell, represented as an array of lines. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
NotebookCell
public NotebookCell()
Creates an instance of NotebookCell class.
Method Details
fromJson
public static NotebookCell fromJson(JsonReader jsonReader)
Reads an instance of NotebookCell from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Get the additionalProperties property: Notebook cell.
Returns:
getAttachments
public Object getAttachments()
Get the attachments property: Attachments associated with the cell.
Returns:
getCellType
public String getCellType()
Get the cellType property: String identifying the type of cell.
Returns:
getMetadata
public Object getMetadata()
Get the metadata property: Cell-level metadata.
Returns:
getOutputs
public List<NotebookCellOutputItem> getOutputs()
Get the outputs property: Cell-level output items.
Returns:
getSource
public List<String> getSource()
Get the source property: Contents of the cell, represented as an array of lines.
Returns:
setAdditionalProperties
public NotebookCell setAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Notebook cell.
Parameters:
Returns:
setAttachments
public NotebookCell setAttachments(Object attachments)
Set the attachments property: Attachments associated with the cell.
Parameters:
Returns:
setCellType
public NotebookCell setCellType(String cellType)
Set the cellType property: String identifying the type of cell.
Parameters:
Returns:
setMetadata
public NotebookCell setMetadata(Object metadata)
Set the metadata property: Cell-level metadata.
Parameters:
Returns:
setOutputs
public NotebookCell setOutputs(List<NotebookCellOutputItem> outputs)
Set the outputs property: Cell-level output items.
Parameters:
Returns:
setSource
public NotebookCell setSource(List<String> source)
Set the source property: Contents of the cell, represented as an array of lines.
Parameters:
Returns: