Package com.datadog.api.client.v1.model
Class NoteWidgetDefinition
java.lang.Object
com.datadog.api.client.v1.model.NoteWidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class NoteWidgetDefinition
extends Object
The notes and links widget is similar to free text widget, but allows for more formatting
options.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor(String backgroundColor) booleanReturn true if this NoteWidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Background color of the note.Content of the note.Size of the text.Whether to add padding or not.Whether to show a tick or not.How to align the text on the widget.Define how you want to align the text on the widget.Where to position the tick on an edge.getType()Type of the note widget.Vertical alignment.inthashCode()hasPadding(Boolean hasPadding) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBackgroundColor(String backgroundColor) voidsetContent(String content) voidsetFontSize(String fontSize) voidsetHasPadding(Boolean hasPadding) voidsetShowTick(Boolean showTick) voidsetTextAlign(WidgetTextAlign textAlign) voidsetTickEdge(WidgetTickEdge tickEdge) voidsetTickPos(String tickPos) voidvoidsetVerticalAlign(WidgetVerticalAlign verticalAlign) textAlign(WidgetTextAlign textAlign) tickEdge(WidgetTickEdge tickEdge) toString()type(NoteWidgetDefinitionType type) verticalAlign(WidgetVerticalAlign verticalAlign)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BACKGROUND_COLOR
- See Also:
-
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_FONT_SIZE
- See Also:
-
JSON_PROPERTY_HAS_PADDING
- See Also:
-
JSON_PROPERTY_SHOW_TICK
- See Also:
-
JSON_PROPERTY_TEXT_ALIGN
- See Also:
-
JSON_PROPERTY_TICK_EDGE
- See Also:
-
JSON_PROPERTY_TICK_POS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VERTICAL_ALIGN
- See Also:
-
-
Constructor Details
-
NoteWidgetDefinition
public NoteWidgetDefinition() -
NoteWidgetDefinition
-
-
Method Details
-
backgroundColor
-
getBackgroundColor
Background color of the note.- Returns:
- backgroundColor
-
setBackgroundColor
-
content
-
getContent
Content of the note.- Returns:
- content
-
setContent
-
fontSize
-
getFontSize
Size of the text.- Returns:
- fontSize
-
setFontSize
-
hasPadding
-
getHasPadding
Whether to add padding or not.- Returns:
- hasPadding
-
setHasPadding
-
showTick
-
getShowTick
Whether to show a tick or not.- Returns:
- showTick
-
setShowTick
-
textAlign
-
getTextAlign
How to align the text on the widget.- Returns:
- textAlign
-
setTextAlign
-
tickEdge
-
getTickEdge
Define how you want to align the text on the widget.- Returns:
- tickEdge
-
setTickEdge
-
tickPos
-
getTickPos
Where to position the tick on an edge.- Returns:
- tickPos
-
setTickPos
-
type
-
getType
Type of the note widget.- Returns:
- type
-
setType
-
verticalAlign
-
getVerticalAlign
Vertical alignment.- Returns:
- verticalAlign
-
setVerticalAlign
-
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:
- NoteWidgetDefinition
-
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 NoteWidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-