Class NotebookCell
- java.lang.Object
-
- io.datahubproject.openapi.generated.NotebookCell
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-05-10T05:58:32.374063Z[Etc/UTC]") public class NotebookCell extends java.lang.Object
A record of all supported cells for a Notebook. Only one type of cell will be non-null.
-
-
Constructor Summary
Constructors Constructor Description NotebookCell()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotebookCell
chartCell(ChartCell chartCell)
boolean
equals(java.lang.Object o)
@Valid ChartCell
getChartCell()
Get chartCell@Valid QueryCell
getQueryCell()
Get queryCell@Valid TextCell
getTextCell()
Get textCell@NotNull @Valid NotebookCellType
getType()
Get typeint
hashCode()
NotebookCell
queryCell(QueryCell queryCell)
void
setChartCell(ChartCell chartCell)
void
setQueryCell(QueryCell queryCell)
void
setTextCell(TextCell textCell)
void
setType(NotebookCellType type)
NotebookCell
textCell(TextCell textCell)
java.lang.String
toString()
NotebookCell
type(NotebookCellType type)
-
-
-
Method Detail
-
textCell
public NotebookCell textCell(TextCell textCell)
-
getTextCell
@Valid public @Valid TextCell getTextCell()
Get textCell- Returns:
- textCell
-
setTextCell
public void setTextCell(TextCell textCell)
-
queryCell
public NotebookCell queryCell(QueryCell queryCell)
-
getQueryCell
@Valid public @Valid QueryCell getQueryCell()
Get queryCell- Returns:
- queryCell
-
setQueryCell
public void setQueryCell(QueryCell queryCell)
-
chartCell
public NotebookCell chartCell(ChartCell chartCell)
-
getChartCell
@Valid public @Valid ChartCell getChartCell()
Get chartCell- Returns:
- chartCell
-
setChartCell
public void setChartCell(ChartCell chartCell)
-
type
public NotebookCell type(NotebookCellType type)
-
getType
@NotNull @Valid public @NotNull @Valid NotebookCellType getType()
Get type- Returns:
- type
-
setType
public void setType(NotebookCellType type)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-