@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class NotebookCellCreateRequestAttributes extends AbstractOpenApiSchema
Modifier and Type | Class and Description |
---|---|
static class |
NotebookCellCreateRequestAttributes.NotebookCellCreateRequestAttributesDeserializer |
static class |
NotebookCellCreateRequestAttributes.NotebookCellCreateRequestAttributesSerializer |
Modifier and Type | Field and Description |
---|---|
static Map<String,jakarta.ws.rs.core.GenericType> |
schemas |
boolean |
unparsed |
Modifier and Type | Method and Description |
---|---|
Object |
getActualInstance()
Get the actual instance, which can be the following: NotebookMarkdownCellAttributes,
NotebookTimeseriesCellAttributes, NotebookToplistCellAttributes, NotebookHeatMapCellAttributes,
NotebookDistributionCellAttributes, NotebookLogStreamCellAttributes
|
NotebookDistributionCellAttributes |
getNotebookDistributionCellAttributes()
Get the actual instance of `NotebookDistributionCellAttributes`.
|
NotebookHeatMapCellAttributes |
getNotebookHeatMapCellAttributes()
Get the actual instance of `NotebookHeatMapCellAttributes`.
|
NotebookLogStreamCellAttributes |
getNotebookLogStreamCellAttributes()
Get the actual instance of `NotebookLogStreamCellAttributes`.
|
NotebookMarkdownCellAttributes |
getNotebookMarkdownCellAttributes()
Get the actual instance of `NotebookMarkdownCellAttributes`.
|
NotebookTimeseriesCellAttributes |
getNotebookTimeseriesCellAttributes()
Get the actual instance of `NotebookTimeseriesCellAttributes`.
|
NotebookToplistCellAttributes |
getNotebookToplistCellAttributes()
Get the actual instance of `NotebookToplistCellAttributes`.
|
Map<String,jakarta.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
void |
setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid
against the oneOf child schemas: NotebookMarkdownCellAttributes,
NotebookTimeseriesCellAttributes, NotebookToplistCellAttributes, NotebookHeatMapCellAttributes,
NotebookDistributionCellAttributes, NotebookLogStreamCellAttributes
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
public NotebookCellCreateRequestAttributes()
public NotebookCellCreateRequestAttributes(NotebookMarkdownCellAttributes o)
public NotebookCellCreateRequestAttributes(NotebookTimeseriesCellAttributes o)
public NotebookCellCreateRequestAttributes(NotebookToplistCellAttributes o)
public NotebookCellCreateRequestAttributes(NotebookHeatMapCellAttributes o)
public NotebookCellCreateRequestAttributes(NotebookDistributionCellAttributes o)
public NotebookCellCreateRequestAttributes(NotebookLogStreamCellAttributes o)
public Map<String,jakarta.ws.rs.core.GenericType> getSchemas()
AbstractOpenApiSchema
getSchemas
in class AbstractOpenApiSchema
public void setActualInstance(Object instance)
It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).
setActualInstance
in class AbstractOpenApiSchema
instance
- the actual instance of the schema/objectpublic Object getActualInstance()
getActualInstance
in class AbstractOpenApiSchema
public NotebookMarkdownCellAttributes getNotebookMarkdownCellAttributes() throws ClassCastException
ClassCastException
- if the instance is not `NotebookMarkdownCellAttributes`public NotebookTimeseriesCellAttributes getNotebookTimeseriesCellAttributes() throws ClassCastException
ClassCastException
- if the instance is not `NotebookTimeseriesCellAttributes`public NotebookToplistCellAttributes getNotebookToplistCellAttributes() throws ClassCastException
ClassCastException
- if the instance is not `NotebookToplistCellAttributes`public NotebookHeatMapCellAttributes getNotebookHeatMapCellAttributes() throws ClassCastException
ClassCastException
- if the instance is not `NotebookHeatMapCellAttributes`public NotebookDistributionCellAttributes getNotebookDistributionCellAttributes() throws ClassCastException
ClassCastException
- if the instance is not `NotebookDistributionCellAttributes`public NotebookLogStreamCellAttributes getNotebookLogStreamCellAttributes() throws ClassCastException
ClassCastException
- if the instance is not `NotebookLogStreamCellAttributes`Copyright © 2023. All rights reserved.