Package com.datadog.api.client.v1.model
Class MetricsListResponse
java.lang.Object
com.datadog.api.client.v1.model.MetricsListResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricsListResponse
extends Object
Object listing all metric names stored by Datadog since a given time.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMetricsItem(String metricsItem) booleanReturn true if this MetricsListResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getFrom()Time when the metrics were active, seconds since the Unix epoch.List of metric names.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetMetrics(List<String> metrics) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_METRICS
- See Also:
-
-
Constructor Details
-
MetricsListResponse
public MetricsListResponse()
-
-
Method Details
-
from
-
getFrom
Time when the metrics were active, seconds since the Unix epoch.- Returns:
- from
-
setFrom
-
metrics
-
addMetricsItem
-
getMetrics
List of metric names.- Returns:
- metrics
-
setMetrics
-
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:
- MetricsListResponse
-
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 MetricsListResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-