Package com.datadog.api.client.v1.model
Class QueryValueWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.QueryValueWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class QueryValueWidgetDefinition
extends Object
Query values display the current value of a given metric, APM, or log query.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionQueryValueWidgetDefinition(List<QueryValueWidgetRequest> requests, QueryValueWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddCustomLinksItem(WidgetCustomLink customLinksItem) addRequestsItem(QueryValueWidgetRequest requestsItem) customLinks(List<WidgetCustomLink> customLinks) customUnit(String customUnit) description(String description) booleanReturn true if this QueryValueWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether to use auto-scaling or not.List of custom links.Display a unit of your choice on the widget.The description of the widget.Number of decimals to show.Widget definition.How to align the text on the widget.getTime()Time setting for the widget.Set a timeseries on the widget background.getTitle()Title of your widget.How to align the text on the widget.Size of the title.getType()Type of the query value widget.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requests(List<QueryValueWidgetRequest> requests) voidsetAutoscale(Boolean autoscale) voidsetCustomLinks(List<WidgetCustomLink> customLinks) voidsetCustomUnit(String customUnit) voidsetDescription(String description) voidsetPrecision(Long precision) voidsetRequests(List<QueryValueWidgetRequest> requests) voidsetTextAlign(WidgetTextAlign textAlign) voidsetTime(WidgetTime time) voidsetTimeseriesBackground(TimeseriesBackground timeseriesBackground) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidtextAlign(WidgetTextAlign textAlign) time(WidgetTime time) timeseriesBackground(TimeseriesBackground timeseriesBackground) titleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTOSCALE
- See Also:
-
JSON_PROPERTY_CUSTOM_LINKS
- See Also:
-
JSON_PROPERTY_CUSTOM_UNIT
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_PRECISION
- See Also:
-
JSON_PROPERTY_REQUESTS
- See Also:
-
JSON_PROPERTY_TEXT_ALIGN
- See Also:
-
JSON_PROPERTY_TIME
- See Also:
-
JSON_PROPERTY_TIMESERIES_BACKGROUND
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TITLE_ALIGN
- See Also:
-
JSON_PROPERTY_TITLE_SIZE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
QueryValueWidgetDefinition
public QueryValueWidgetDefinition() -
QueryValueWidgetDefinition
public QueryValueWidgetDefinition(List<QueryValueWidgetRequest> requests, QueryValueWidgetDefinitionType type)
-
-
Method Details
-
autoscale
-
getAutoscale
Whether to use auto-scaling or not.- Returns:
- autoscale
-
setAutoscale
-
customLinks
-
addCustomLinksItem
-
getCustomLinks
List of custom links.- Returns:
- customLinks
-
setCustomLinks
-
customUnit
-
getCustomUnit
Display a unit of your choice on the widget.- Returns:
- customUnit
-
setCustomUnit
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
precision
-
getPrecision
Number of decimals to show. If not defined, the widget uses the raw value.- Returns:
- precision
-
setPrecision
-
requests
-
addRequestsItem
-
getRequests
Widget definition.- Returns:
- requests
-
setRequests
-
textAlign
-
getTextAlign
How to align the text on the widget.- Returns:
- textAlign
-
setTextAlign
-
time
-
getTime
Time setting for the widget.- Returns:
- time
-
setTime
-
timeseriesBackground
-
getTimeseriesBackground
Set a timeseries on the widget background.- Returns:
- timeseriesBackground
-
setTimeseriesBackground
-
title
-
getTitle
Title of your widget.- Returns:
- title
-
setTitle
-
titleAlign
-
getTitleAlign
How to align the text on the widget.- Returns:
- titleAlign
-
setTitleAlign
-
titleSize
-
getTitleSize
Size of the title.- Returns:
- titleSize
-
setTitleSize
-
type
-
getType
Type of the query value widget.- Returns:
- type
-
setType
-
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:
- QueryValueWidgetDefinition
-
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 QueryValueWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-