@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScalarQuery extends AbstractOpenApiSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
ScalarQuery.ScalarQueryDeserializer |
static class |
ScalarQuery.ScalarQuerySerializer |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,jakarta.ws.rs.core.GenericType> |
schemas |
boolean |
unparsed |
| Constructor and Description |
|---|
ScalarQuery() |
ScalarQuery(ApmDependencyStatsQuery o) |
ScalarQuery(ApmMetricsQuery o) |
ScalarQuery(ApmResourceStatsQuery o) |
ScalarQuery(ContainerScalarQuery o) |
ScalarQuery(EventsScalarQuery o) |
ScalarQuery(MetricsScalarQuery o) |
ScalarQuery(ProcessScalarQuery o) |
ScalarQuery(SloQuery o) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getActualInstance()
Get the actual instance, which can be the following: MetricsScalarQuery, EventsScalarQuery,
ApmResourceStatsQuery, ApmMetricsQuery, ApmDependencyStatsQuery, SloQuery, ProcessScalarQuery,
ContainerScalarQuery
|
ApmDependencyStatsQuery |
getApmDependencyStatsQuery()
Get the actual instance of `ApmDependencyStatsQuery`.
|
ApmMetricsQuery |
getApmMetricsQuery()
Get the actual instance of `ApmMetricsQuery`.
|
ApmResourceStatsQuery |
getApmResourceStatsQuery()
Get the actual instance of `ApmResourceStatsQuery`.
|
ContainerScalarQuery |
getContainerScalarQuery()
Get the actual instance of `ContainerScalarQuery`.
|
EventsScalarQuery |
getEventsScalarQuery()
Get the actual instance of `EventsScalarQuery`.
|
MetricsScalarQuery |
getMetricsScalarQuery()
Get the actual instance of `MetricsScalarQuery`.
|
ProcessScalarQuery |
getProcessScalarQuery()
Get the actual instance of `ProcessScalarQuery`.
|
Map<String,jakarta.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
SloQuery |
getSloQuery()
Get the actual instance of `SloQuery`.
|
void |
setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid
against the oneOf child schemas: MetricsScalarQuery, EventsScalarQuery, ApmResourceStatsQuery,
ApmMetricsQuery, ApmDependencyStatsQuery, SloQuery, ProcessScalarQuery, ContainerScalarQuery
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toStringpublic ScalarQuery()
public ScalarQuery(MetricsScalarQuery o)
public ScalarQuery(EventsScalarQuery o)
public ScalarQuery(ApmResourceStatsQuery o)
public ScalarQuery(ApmMetricsQuery o)
public ScalarQuery(ApmDependencyStatsQuery o)
public ScalarQuery(SloQuery o)
public ScalarQuery(ProcessScalarQuery o)
public ScalarQuery(ContainerScalarQuery o)
public Map<String,jakarta.ws.rs.core.GenericType> getSchemas()
AbstractOpenApiSchemagetSchemas in class AbstractOpenApiSchemapublic 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 AbstractOpenApiSchemainstance - the actual instance of the schema/objectpublic Object getActualInstance()
getActualInstance in class AbstractOpenApiSchemapublic MetricsScalarQuery getMetricsScalarQuery() throws ClassCastException
ClassCastException - if the instance is not `MetricsScalarQuery`public EventsScalarQuery getEventsScalarQuery() throws ClassCastException
ClassCastException - if the instance is not `EventsScalarQuery`public ApmResourceStatsQuery getApmResourceStatsQuery() throws ClassCastException
ClassCastException - if the instance is not `ApmResourceStatsQuery`public ApmMetricsQuery getApmMetricsQuery() throws ClassCastException
ClassCastException - if the instance is not `ApmMetricsQuery`public ApmDependencyStatsQuery getApmDependencyStatsQuery() throws ClassCastException
ClassCastException - if the instance is not `ApmDependencyStatsQuery`public SloQuery getSloQuery() throws ClassCastException
ClassCastException - if the instance is not `SloQuery`public ProcessScalarQuery getProcessScalarQuery() throws ClassCastException
ClassCastException - if the instance is not `ProcessScalarQuery`public ContainerScalarQuery getContainerScalarQuery() throws ClassCastException
ClassCastException - if the instance is not `ContainerScalarQuery`Copyright © 2026. All rights reserved.