Package com.datadog.api.client.v1.model
Class WildcardWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.WildcardWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WildcardWidgetDefinition
extends Object
Custom visualization widget using Vega or Vega-Lite specifications. Combines standard Datadog
data requests with a Vega or Vega-Lite JSON specification for flexible, custom visualizations.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWildcardWidgetDefinition(List<WildcardWidgetRequest> requests, WildcardWidgetSpecification specification, WildcardWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddCustomLinksItem(WidgetCustomLink customLinksItem) addRequestsItem(WildcardWidgetRequest requestsItem) customLinks(List<WidgetCustomLink> customLinks) booleanReturn true if this WildcardWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of custom links.List of data requests for the wildcard widget.Vega or Vega-Lite specification for custom visualization rendering.getTime()Time setting for the widget.getTitle()Title of the widget.How to align the text on the widget.Size of the title.getType()Type of the wildcard widget.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requests(List<WildcardWidgetRequest> requests) voidsetCustomLinks(List<WidgetCustomLink> customLinks) voidsetRequests(List<WildcardWidgetRequest> requests) voidsetSpecification(WildcardWidgetSpecification specification) voidsetTime(WidgetTime time) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidspecification(WildcardWidgetSpecification specification) time(WidgetTime time) titleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_LINKS
- See Also:
-
JSON_PROPERTY_REQUESTS
- See Also:
-
JSON_PROPERTY_SPECIFICATION
- See Also:
-
JSON_PROPERTY_TIME
- 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
-
WildcardWidgetDefinition
public WildcardWidgetDefinition() -
WildcardWidgetDefinition
public WildcardWidgetDefinition(List<WildcardWidgetRequest> requests, WildcardWidgetSpecification specification, WildcardWidgetDefinitionType type)
-
-
Method Details
-
customLinks
-
addCustomLinksItem
-
getCustomLinks
List of custom links.- Returns:
- customLinks
-
setCustomLinks
-
requests
-
addRequestsItem
-
getRequests
List of data requests for the wildcard widget.- Returns:
- requests
-
setRequests
-
specification
-
getSpecification
Vega or Vega-Lite specification for custom visualization rendering. See https://vega.github.io/vega-lite/ for the full grammar reference.- Returns:
- specification
-
setSpecification
-
time
-
getTime
Time setting for the widget.- Returns:
- time
-
setTime
-
title
-
getTitle
Title of the 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 wildcard 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:
- WildcardWidgetDefinition
-
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 WildcardWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-