@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Query extends AbstractOpenApiSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
Query.QueryDeserializer |
static class |
Query.QuerySerializer |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,jakarta.ws.rs.core.GenericType> |
schemas |
boolean |
unparsed |
| Constructor and Description |
|---|
Query() |
Query(ActionQuery o) |
Query(DataTransform o) |
Query(StateVariable o) |
| Modifier and Type | Method and Description |
|---|---|
ActionQuery |
getActionQuery()
Get the actual instance of `ActionQuery`.
|
Object |
getActualInstance()
Get the actual instance, which can be the following: ActionQuery, DataTransform, StateVariable
|
DataTransform |
getDataTransform()
Get the actual instance of `DataTransform`.
|
Map<String,jakarta.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
StateVariable |
getStateVariable()
Get the actual instance of `StateVariable`.
|
void |
setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid
against the oneOf child schemas: ActionQuery, DataTransform, StateVariable
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toStringpublic Query()
public Query(ActionQuery o)
public Query(DataTransform o)
public Query(StateVariable 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 ActionQuery getActionQuery() throws ClassCastException
ClassCastException - if the instance is not `ActionQuery`public DataTransform getDataTransform() throws ClassCastException
ClassCastException - if the instance is not `DataTransform`public StateVariable getStateVariable() throws ClassCastException
ClassCastException - if the instance is not `StateVariable`Copyright © 2026. All rights reserved.