Package com.datadog.api.client.v1.model
Class AlertGraphWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.AlertGraphWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AlertGraphWidgetDefinition
extends Object
Alert graphs are timeseries graphs showing the current status of any monitor defined on your
system.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAlertGraphWidgetDefinition(String alertId, AlertGraphWidgetDefinitionType type, WidgetVizType vizType) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this AlertGraphWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.ID of the alert to use in the widget.The description of the widget.getTime()Time setting for the widget.getTitle()The title of the widget.How to align the text on the widget.Size of the title.getType()Type of the alert graph widget.Whether to display the Alert Graph as a timeseries or a top list.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAlertId(String alertId) voidsetDescription(String description) voidsetTime(WidgetTime time) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidvoidsetVizType(WidgetVizType vizType) time(WidgetTime time) titleAlign(WidgetTextAlign titleAlign) toString()vizType(WidgetVizType vizType)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALERT_ID
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- 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_VIZ_TYPE
- See Also:
-
-
Constructor Details
-
AlertGraphWidgetDefinition
public AlertGraphWidgetDefinition() -
AlertGraphWidgetDefinition
public AlertGraphWidgetDefinition(String alertId, AlertGraphWidgetDefinitionType type, WidgetVizType vizType)
-
-
Method Details
-
alertId
-
getAlertId
ID of the alert to use in the widget.- Returns:
- alertId
-
setAlertId
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
time
-
getTime
Time setting for the widget.- Returns:
- time
-
setTime
-
title
-
getTitle
The 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 alert graph widget.- Returns:
- type
-
setType
-
vizType
-
getVizType
Whether to display the Alert Graph as a timeseries or a top list.- Returns:
- vizType
-
setVizType
-
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:
- AlertGraphWidgetDefinition
-
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 AlertGraphWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-