Package com.datadog.api.client.v2.model
Class MetricsTimeseriesQuery
java.lang.Object
com.datadog.api.client.v2.model.MetricsTimeseriesQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricsTimeseriesQuery
extends Object
A query against Datadog custom metrics or Cloud Cost data sources.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCrossOrgUuidsItem(String crossOrgUuidsItem) crossOrgUuids(List<String> crossOrgUuids) dataSource(MetricsDataSource dataSource) booleanReturn true if this MetricsTimeseriesQuery object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Organization UUIDs to query when using cross-organization visibility.A data source that is powered by the Metrics platform.getName()The variable name for use in formulas.getQuery()A classic metrics query string.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCrossOrgUuids(List<String> crossOrgUuids) voidsetDataSource(MetricsDataSource dataSource) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CROSS_ORG_UUIDS
- See Also:
-
JSON_PROPERTY_DATA_SOURCE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
-
Constructor Details
-
MetricsTimeseriesQuery
public MetricsTimeseriesQuery() -
MetricsTimeseriesQuery
-
-
Method Details
-
crossOrgUuids
-
addCrossOrgUuidsItem
-
getCrossOrgUuids
Organization UUIDs to query when using cross-organization visibility. Limited to one organization UUID.- Returns:
- crossOrgUuids
-
setCrossOrgUuids
-
dataSource
-
getDataSource
A data source that is powered by the Metrics platform.- Returns:
- dataSource
-
setDataSource
-
name
-
getName
The variable name for use in formulas.- Returns:
- name
-
setName
-
query
-
getQuery
A classic metrics query string.- Returns:
- query
-
setQuery
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- MetricsTimeseriesQuery
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this MetricsTimeseriesQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-