Package com.datadog.api.client.v1.model
Class GraphSnapshot
java.lang.Object
com.datadog.api.client.v1.model.GraphSnapshot
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GraphSnapshot
extends Object
Object representing a graph snapshot.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this GraphSnapshot object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A JSON document defining the graph.The metric query.URL of your graph snapshot.inthashCode()metricQuery(String metricQuery) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetGraphDef(String graphDef) voidsetMetricQuery(String metricQuery) voidsetSnapshotUrl(String snapshotUrl) snapshotUrl(String snapshotUrl) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_GRAPH_DEF
- See Also:
-
JSON_PROPERTY_METRIC_QUERY
- See Also:
-
JSON_PROPERTY_SNAPSHOT_URL
- See Also:
-
-
Constructor Details
-
GraphSnapshot
public GraphSnapshot()
-
-
Method Details
-
graphDef
-
getGraphDef
A JSON document defining the graph.graph_defcan be used instead ofmetric_query. The JSON document uses the grammar defined here and should be formatted to a single line then URL encoded.- Returns:
- graphDef
-
setGraphDef
-
metricQuery
-
getMetricQuery
The metric query. One ofmetric_queryorgraph_defis required.- Returns:
- metricQuery
-
setMetricQuery
-
snapshotUrl
-
getSnapshotUrl
URL of your graph snapshot.- Returns:
- snapshotUrl
-
setSnapshotUrl
-
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:
- GraphSnapshot
-
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 GraphSnapshot object is equal to o. -
hashCode
public int hashCode() -
toString
-