Package com.datadog.api.client.v1.model
Class FreeTextWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.FreeTextWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FreeTextWidgetDefinition
extends Object
Free text is a widget that allows you to add headings to your dashboard. Commonly used to state
the overall purpose of the dashboard.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor(String backgroundColor) booleanReturn true if this FreeTextWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Background color of the widget.getColor()Color of the text.Size of the text.getText()Text to display.How to align the text on the widget.getType()Type of the free text widget.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBackgroundColor(String backgroundColor) voidvoidsetFontSize(String fontSize) voidvoidsetTextAlign(WidgetTextAlign textAlign) voidtextAlign(WidgetTextAlign textAlign) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BACKGROUND_COLOR
- See Also:
-
JSON_PROPERTY_COLOR
- See Also:
-
JSON_PROPERTY_FONT_SIZE
- See Also:
-
JSON_PROPERTY_TEXT
- See Also:
-
JSON_PROPERTY_TEXT_ALIGN
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
FreeTextWidgetDefinition
public FreeTextWidgetDefinition() -
FreeTextWidgetDefinition
-
-
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
-
color
-
getColor
Color of the text.- Returns:
- color
-
setColor
-
fontSize
-
getFontSize
Size of the text.- Returns:
- fontSize
-
setFontSize
-
text
-
getText
Text to display.- Returns:
- text
-
setText
-
textAlign
-
getTextAlign
How to align the text on the widget.- Returns:
- textAlign
-
setTextAlign
-
type
-
getType
Type of the free text 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:
- FreeTextWidgetDefinition
-
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 FreeTextWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-