Package com.datadog.api.client.v1.model
Class ChangeWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.ChangeWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ChangeWidgetDefinition
extends Object
The Change graph shows you the change in a value over the time period chosen.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChangeWidgetDefinition(List<ChangeWidgetRequest> requests, ChangeWidgetDefinitionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddCustomLinksItem(WidgetCustomLink customLinksItem) addRequestsItem(ChangeWidgetRequest requestsItem) customLinks(List<WidgetCustomLink> customLinks) description(String description) booleanReturn true if this ChangeWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of custom links.The description of the widget.Array of one request object to display in the widget.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 change widget.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requests(List<ChangeWidgetRequest> requests) voidsetCustomLinks(List<WidgetCustomLink> customLinks) voidsetDescription(String description) voidsetRequests(List<ChangeWidgetRequest> requests) voidsetTime(WidgetTime time) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidsetTitleSize(String titleSize) voidtime(WidgetTime time) titleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_LINKS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_REQUESTS
- 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
-
ChangeWidgetDefinition
public ChangeWidgetDefinition() -
ChangeWidgetDefinition
-
-
Method Details
-
customLinks
-
addCustomLinksItem
-
getCustomLinks
List of custom links.- Returns:
- customLinks
-
setCustomLinks
-
description
-
getDescription
The description of the widget.- Returns:
- description
-
setDescription
-
requests
-
addRequestsItem
-
getRequests
Array of one request object to display in the widget.See the dedicated Request JSON schema documentation to learn how to build the
REQUEST_SCHEMA.- Returns:
- requests
-
setRequests
-
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 change 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:
- ChangeWidgetDefinition
-
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 ChangeWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-