Package com.datadog.api.client.v1.model
Class TimeseriesWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.TimeseriesWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TimeseriesWidgetDefinition
extends Object
The timeseries visualization allows you to display the evolution of one or more metrics, log
events, or Indexed Spans over time.
-
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 Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionTimeseriesWidgetDefinition(List<TimeseriesWidgetRequest> requests, TimeseriesWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddCustomLinksItem(WidgetCustomLink customLinksItem) addEventsItem(WidgetEvent eventsItem) addLegendColumnsItem(TimeseriesWidgetLegendColumn legendColumnsItem) addMarkersItem(WidgetMarker markersItem) addRequestsItem(TimeseriesWidgetRequest requestsItem) customLinks(List<WidgetCustomLink> customLinks) description(String description) booleanReturn true if this TimeseriesWidgetDefinition object is equal to o.events(List<WidgetEvent> events) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of custom links.The description of the widget.Deprecated.Columns displayed in the legend.Layout of the legend.Available legend sizes for a widget.List of markers.List of timeseries widget requests.Axis controls for the widget.(screenboard only) Show the legend for this widget.getTime()Time setting for the widget.getTitle()Title of your widget.How to align the text on the widget.Size of the title.getType()Type of the timeseries widget.getYaxis()Axis controls for the widget.inthashCode()legendColumns(List<TimeseriesWidgetLegendColumn> legendColumns) legendLayout(TimeseriesWidgetLegendLayout legendLayout) legendSize(String legendSize) markers(List<WidgetMarker> markers) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requests(List<TimeseriesWidgetRequest> requests) rightYaxis(WidgetAxis rightYaxis) voidsetCustomLinks(List<WidgetCustomLink> customLinks) voidsetDescription(String description) voidsetEvents(List<WidgetEvent> events) Deprecated.voidsetLegendColumns(List<TimeseriesWidgetLegendColumn> legendColumns) voidsetLegendLayout(TimeseriesWidgetLegendLayout legendLayout) voidsetLegendSize(String legendSize) voidsetMarkers(List<WidgetMarker> markers) voidsetRequests(List<TimeseriesWidgetRequest> requests) voidsetRightYaxis(WidgetAxis rightYaxis) voidsetShowLegend(Boolean showLegend) voidsetTime(WidgetTime time) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidvoidsetYaxis(WidgetAxis yaxis) showLegend(Boolean showLegend) time(WidgetTime time) titleAlign(WidgetTextAlign titleAlign) toString()yaxis(WidgetAxis yaxis)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_LINKS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_EVENTS
- See Also:
-
JSON_PROPERTY_LEGEND_COLUMNS
- See Also:
-
JSON_PROPERTY_LEGEND_LAYOUT
- See Also:
-
JSON_PROPERTY_LEGEND_SIZE
- See Also:
-
JSON_PROPERTY_MARKERS
- See Also:
-
JSON_PROPERTY_REQUESTS
- See Also:
-
JSON_PROPERTY_RIGHT_YAXIS
- See Also:
-
JSON_PROPERTY_SHOW_LEGEND
- 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:
-
JSON_PROPERTY_YAXIS
- See Also:
-
-
Constructor Details
-
TimeseriesWidgetDefinition
public TimeseriesWidgetDefinition() -
TimeseriesWidgetDefinition
public TimeseriesWidgetDefinition(List<TimeseriesWidgetRequest> requests, TimeseriesWidgetDefinitionType type)
-
-
Method Details
-
customLinks
-
addCustomLinksItem
-
getCustomLinks
List of custom links.- Returns:
- customLinks
-
setCustomLinks
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
events
-
addEventsItem
-
getEvents
Deprecated.List of widget events. Deprecated - Useoverlayrequest type instead.- Returns:
- events
-
setEvents
Deprecated. -
legendColumns
-
addLegendColumnsItem
public TimeseriesWidgetDefinition addLegendColumnsItem(TimeseriesWidgetLegendColumn legendColumnsItem) -
getLegendColumns
Columns displayed in the legend.- Returns:
- legendColumns
-
setLegendColumns
-
legendLayout
-
getLegendLayout
Layout of the legend.- Returns:
- legendLayout
-
setLegendLayout
-
legendSize
-
getLegendSize
Available legend sizes for a widget. Should be one of "0", "2", "4", "8", "16", or "auto".- Returns:
- legendSize
-
setLegendSize
-
markers
-
addMarkersItem
-
getMarkers
List of markers.- Returns:
- markers
-
setMarkers
-
requests
-
addRequestsItem
-
getRequests
List of timeseries widget requests.- Returns:
- requests
-
setRequests
-
rightYaxis
-
getRightYaxis
Axis controls for the widget.- Returns:
- rightYaxis
-
setRightYaxis
-
showLegend
-
getShowLegend
(screenboard only) Show the legend for this widget.- Returns:
- showLegend
-
setShowLegend
-
time
-
getTime
Time setting for the widget.- Returns:
- time
-
setTime
-
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 timeseries widget.- Returns:
- type
-
setType
-
yaxis
-
getYaxis
Axis controls for the widget.- Returns:
- yaxis
-
setYaxis
-
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:
- TimeseriesWidgetDefinition
-
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 TimeseriesWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-