@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FreeTextWidgetDefinition extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_COLOR |
static String |
JSON_PROPERTY_FONT_SIZE |
static String |
JSON_PROPERTY_TEXT |
static String |
JSON_PROPERTY_TEXT_ALIGN |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
FreeTextWidgetDefinition() |
FreeTextWidgetDefinition(String text,
FreeTextWidgetDefinitionType type) |
| Modifier and Type | Method and Description |
|---|---|
FreeTextWidgetDefinition |
color(String color) |
boolean |
equals(Object o)
Return true if this FreeTextWidgetDefinition object is equal to o.
|
FreeTextWidgetDefinition |
fontSize(String fontSize) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getColor()
Color of the text.
|
String |
getFontSize()
Size of the text.
|
String |
getText()
Text to display.
|
WidgetTextAlign |
getTextAlign()
How to align the text on the widget.
|
FreeTextWidgetDefinitionType |
getType()
Type of the free text widget.
|
int |
hashCode() |
FreeTextWidgetDefinition |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setColor(String color) |
void |
setFontSize(String fontSize) |
void |
setText(String text) |
void |
setTextAlign(WidgetTextAlign textAlign) |
void |
setType(FreeTextWidgetDefinitionType type) |
FreeTextWidgetDefinition |
text(String text) |
FreeTextWidgetDefinition |
textAlign(WidgetTextAlign textAlign) |
String |
toString() |
FreeTextWidgetDefinition |
type(FreeTextWidgetDefinitionType type) |
public boolean unparsed
public static final String JSON_PROPERTY_COLOR
public static final String JSON_PROPERTY_FONT_SIZE
public static final String JSON_PROPERTY_TEXT
public static final String JSON_PROPERTY_TEXT_ALIGN
public static final String JSON_PROPERTY_TYPE
public FreeTextWidgetDefinition()
public FreeTextWidgetDefinition(String text, FreeTextWidgetDefinitionType type)
public FreeTextWidgetDefinition color(String color)
@Nullable public String getColor()
public void setColor(String color)
public FreeTextWidgetDefinition fontSize(String fontSize)
@Nullable public String getFontSize()
public void setFontSize(String fontSize)
public FreeTextWidgetDefinition text(String text)
public String getText()
public void setText(String text)
public FreeTextWidgetDefinition textAlign(WidgetTextAlign textAlign)
@Nullable public WidgetTextAlign getTextAlign()
public void setTextAlign(WidgetTextAlign textAlign)
public FreeTextWidgetDefinition type(FreeTextWidgetDefinitionType type)
public FreeTextWidgetDefinitionType getType()
public void setType(FreeTextWidgetDefinitionType type)
public FreeTextWidgetDefinition putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.