@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.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
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) |
GraphSnapshot |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
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 GraphSnapshot 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.