@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Query extends Object
Query object.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_EVENTS |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_PROPERTIES |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
Query() |
Query(String id,
String name,
QueryType type) |
| Modifier and Type | Method and Description |
|---|---|
Query |
addEventsItem(AppBuilderEvent eventsItem) |
boolean |
equals(Object o)
Return true if this Query object is equal to o.
|
Query |
events(List<AppBuilderEvent> events) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<AppBuilderEvent> |
getEvents()
The
Query events. |
String |
getId()
The
Query id. |
String |
getName()
The
Query name. |
Object |
getProperties()
The
Query properties. |
QueryType |
getType()
The definition of
QueryType object. |
int |
hashCode() |
Query |
id(String id) |
Query |
name(String name) |
Query |
properties(Object properties) |
Query |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setEvents(List<AppBuilderEvent> events) |
void |
setId(String id) |
void |
setName(String name) |
void |
setProperties(Object properties) |
void |
setType(QueryType type) |
String |
toString() |
Query |
type(QueryType type) |
public boolean unparsed
public static final String JSON_PROPERTY_EVENTS
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_PROPERTIES
public static final String JSON_PROPERTY_TYPE
public Query events(List<AppBuilderEvent> events)
public Query addEventsItem(AppBuilderEvent eventsItem)
@Nullable public List<AppBuilderEvent> getEvents()
Query events.public void setEvents(List<AppBuilderEvent> events)
public String getId()
Query id.public void setId(String id)
public String getName()
Query name.public void setName(String name)
@Nullable public Object getProperties()
Query properties.public void setProperties(Object properties)
public QueryType getType()
QueryType object.public void setType(QueryType type)
public Query 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.