@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricsTimeseriesQuery extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DATA_SOURCE |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_QUERY |
boolean |
unparsed |
| Constructor and Description |
|---|
MetricsTimeseriesQuery() |
MetricsTimeseriesQuery(MetricsDataSource dataSource,
String query) |
| Modifier and Type | Method and Description |
|---|---|
MetricsTimeseriesQuery |
dataSource(MetricsDataSource dataSource) |
boolean |
equals(Object o)
Return true if this MetricsTimeseriesQuery object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
MetricsDataSource |
getDataSource()
A data source that is powered by the Metrics platform.
|
String |
getName()
The variable name for use in formulas.
|
String |
getQuery()
A classic metrics query string.
|
int |
hashCode() |
MetricsTimeseriesQuery |
name(String name) |
MetricsTimeseriesQuery |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
MetricsTimeseriesQuery |
query(String query) |
void |
setDataSource(MetricsDataSource dataSource) |
void |
setName(String name) |
void |
setQuery(String query) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DATA_SOURCE
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_QUERY
public MetricsTimeseriesQuery()
public MetricsTimeseriesQuery(MetricsDataSource dataSource, String query)
public MetricsTimeseriesQuery dataSource(MetricsDataSource dataSource)
public MetricsDataSource getDataSource()
public void setDataSource(MetricsDataSource dataSource)
public MetricsTimeseriesQuery name(String name)
@Nullable public String getName()
public void setName(String name)
public MetricsTimeseriesQuery query(String query)
public String getQuery()
public void setQuery(String query)
public MetricsTimeseriesQuery putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.