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