@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WidgetDefinition extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_TITLE |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
WidgetDefinition() |
WidgetDefinition(String title,
WidgetType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this WidgetDefinition object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getTitle()
The display title of the widget.
|
WidgetType |
getType()
Widget types that are allowed to be stored as individual records.
|
int |
hashCode() |
WidgetDefinition |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setTitle(String title) |
void |
setType(WidgetType type) |
WidgetDefinition |
title(String title) |
String |
toString() |
WidgetDefinition |
type(WidgetType type) |
public boolean unparsed
public static final String JSON_PROPERTY_TITLE
public static final String JSON_PROPERTY_TYPE
public WidgetDefinition()
public WidgetDefinition(String title, WidgetType type)
public WidgetDefinition title(String title)
public String getTitle()
public void setTitle(String title)
public WidgetDefinition type(WidgetType type)
public WidgetType getType()
public void setType(WidgetType type)
public WidgetDefinition 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 © 2026. All rights reserved.