@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GraphSnapshot extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_GRAPH_DEF |
static String |
JSON_PROPERTY_METRIC_QUERY |
static String |
JSON_PROPERTY_SNAPSHOT_URL |
boolean |
unparsed |
Constructor and Description |
---|
GraphSnapshot() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Return true if this GraphSnapshot object is equal to o.
|
String |
getGraphDef()
A JSON document defining the graph.
|
String |
getMetricQuery()
The metric query.
|
String |
getSnapshotUrl()
URL of your graph snapshot.
|
GraphSnapshot |
graphDef(String graphDef) |
int |
hashCode() |
GraphSnapshot |
metricQuery(String metricQuery) |
void |
setGraphDef(String graphDef) |
void |
setMetricQuery(String metricQuery) |
void |
setSnapshotUrl(String snapshotUrl) |
GraphSnapshot |
snapshotUrl(String snapshotUrl) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_GRAPH_DEF
public static final String JSON_PROPERTY_METRIC_QUERY
public static final String JSON_PROPERTY_SNAPSHOT_URL
public GraphSnapshot graphDef(String graphDef)
@Nullable public String getGraphDef()
graph_def
can be used instead of
metric_query
. The JSON document uses the grammar defined here and
should be formatted to a single line then URL encoded.public void setGraphDef(String graphDef)
public GraphSnapshot metricQuery(String metricQuery)
@Nullable public String getMetricQuery()
metric_query
or graph_def
is required.public void setMetricQuery(String metricQuery)
public GraphSnapshot snapshotUrl(String snapshotUrl)
@Nullable public String getSnapshotUrl()
public void setSnapshotUrl(String snapshotUrl)
public boolean equals(Object o)
Copyright © 2022. All rights reserved.