@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WidgetAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_DEFINITION |
static String |
JSON_PROPERTY_IS_FAVORITED |
static String |
JSON_PROPERTY_MODIFIED_AT |
static String |
JSON_PROPERTY_TAGS |
boolean |
unparsed |
| Constructor and Description |
|---|
WidgetAttributes() |
WidgetAttributes(String createdAt,
WidgetDefinition definition,
Boolean isFavorited,
String modifiedAt,
List<String> tags) |
| Modifier and Type | Method and Description |
|---|---|
WidgetAttributes |
addTagsItem(String tagsItem) |
WidgetAttributes |
createdAt(String createdAt) |
WidgetAttributes |
definition(WidgetDefinition definition) |
boolean |
equals(Object o)
Return true if this WidgetAttributes 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 |
getCreatedAt()
ISO 8601 timestamp of when the widget was created.
|
WidgetDefinition |
getDefinition()
The definition of a widget, including its type and configuration.
|
Boolean |
getIsFavorited()
Whether the current user has favorited this widget.
|
String |
getModifiedAt()
ISO 8601 timestamp of when the widget was last modified.
|
List<String> |
getTags()
User-defined tags for organizing widgets.
|
int |
hashCode() |
WidgetAttributes |
isFavorited(Boolean isFavorited) |
WidgetAttributes |
modifiedAt(String modifiedAt) |
WidgetAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCreatedAt(String createdAt) |
void |
setDefinition(WidgetDefinition definition) |
void |
setIsFavorited(Boolean isFavorited) |
void |
setModifiedAt(String modifiedAt) |
void |
setTags(List<String> tags) |
WidgetAttributes |
tags(List<String> tags) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_DEFINITION
public static final String JSON_PROPERTY_IS_FAVORITED
public static final String JSON_PROPERTY_MODIFIED_AT
public static final String JSON_PROPERTY_TAGS
public WidgetAttributes createdAt(String createdAt)
public String getCreatedAt()
public void setCreatedAt(String createdAt)
public WidgetAttributes definition(WidgetDefinition definition)
public WidgetDefinition getDefinition()
public void setDefinition(WidgetDefinition definition)
public WidgetAttributes isFavorited(Boolean isFavorited)
public Boolean getIsFavorited()
false because a widget can only
be favorited after it exists. Favoriting itself is performed through the shared favorites API,
not this service.public void setIsFavorited(Boolean isFavorited)
public WidgetAttributes modifiedAt(String modifiedAt)
public String getModifiedAt()
public void setModifiedAt(String modifiedAt)
public WidgetAttributes tags(List<String> tags)
public WidgetAttributes addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public WidgetAttributes 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.