Package com.datadog.api.client.v1.model
Class GroupWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.GroupWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GroupWidgetDefinition
extends Object
The group widget allows you to keep similar graphs together on your dashboard. Each group has a
custom header, can hold one to many graphs, and is collapsible.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGroupWidgetDefinition(WidgetLayoutType layoutType, GroupWidgetDefinitionType type, List<Widget> widgets) -
Method Summary
Modifier and TypeMethodDescriptionaddWidgetsItem(Widget widgetsItem) backgroundColor(String backgroundColor) booleanReturn true if this GroupWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Background color of the widget.URL of image to display as a banner for the group.Layout type of the group.Whether to show the title or not.getTitle()Title of the widget.How to align the text on the widget.getType()Type of the group widget.List of widget groups.inthashCode()layoutType(WidgetLayoutType layoutType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBackgroundColor(String backgroundColor) voidsetBannerImg(String bannerImg) voidsetLayoutType(WidgetLayoutType layoutType) voidsetShowTitle(Boolean showTitle) voidvoidsetTitleAlign(WidgetTextAlign titleAlign) voidvoidsetWidgets(List<Widget> widgets) titleAlign(WidgetTextAlign titleAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BACKGROUND_COLOR
- See Also:
-
JSON_PROPERTY_BANNER_IMG
- See Also:
-
JSON_PROPERTY_LAYOUT_TYPE
- See Also:
-
JSON_PROPERTY_SHOW_TITLE
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TITLE_ALIGN
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_WIDGETS
- See Also:
-
-
Constructor Details
-
GroupWidgetDefinition
public GroupWidgetDefinition() -
GroupWidgetDefinition
public GroupWidgetDefinition(WidgetLayoutType layoutType, GroupWidgetDefinitionType type, List<Widget> widgets)
-
-
Method Details
-
backgroundColor
-
getBackgroundColor
Background color of the widget. Supported values arewhite,blue,purple,pink,orange,yellow,green,gray,vivid_blue,vivid_purple,vivid_pink,vivid_orange,vivid_yellow,vivid_green, andtransparent.- Returns:
- backgroundColor
-
setBackgroundColor
-
bannerImg
-
getBannerImg
URL of image to display as a banner for the group.- Returns:
- bannerImg
-
setBannerImg
-
layoutType
-
getLayoutType
Layout type of the group.- Returns:
- layoutType
-
setLayoutType
-
showTitle
-
getShowTitle
Whether to show the title or not.- Returns:
- showTitle
-
setShowTitle
-
title
-
getTitle
Title of the widget.- Returns:
- title
-
setTitle
-
titleAlign
-
getTitleAlign
How to align the text on the widget.- Returns:
- titleAlign
-
setTitleAlign
-
type
-
getType
Type of the group widget.- Returns:
- type
-
setType
-
widgets
-
addWidgetsItem
-
getWidgets
List of widget groups.- Returns:
- widgets
-
setWidgets
-
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:
- GroupWidgetDefinition
-
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 GroupWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-