Package com.datadog.api.client.v2.model
Class WidgetAttributes
java.lang.Object
com.datadog.api.client.v2.model.WidgetAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetAttributes
extends Object
Attributes of a widget resource.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWidgetAttributes(String createdAt, WidgetDefinition definition, Boolean isFavorited, String modifiedAt, List<String> tags) -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) definition(WidgetDefinition definition) booleanReturn true if this WidgetAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.ISO 8601 timestamp of when the widget was created.The definition of a widget, including its type and configuration.Whether the current user has favorited this widget.ISO 8601 timestamp of when the widget was last modified.getTags()User-defined tags for organizing widgets.inthashCode()isFavorited(Boolean isFavorited) modifiedAt(String modifiedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(String createdAt) voidsetDefinition(WidgetDefinition definition) voidsetIsFavorited(Boolean isFavorited) voidsetModifiedAt(String modifiedAt) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DEFINITION
- See Also:
-
JSON_PROPERTY_IS_FAVORITED
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
WidgetAttributes
public WidgetAttributes() -
WidgetAttributes
-
-
Method Details
-
createdAt
-
getCreatedAt
ISO 8601 timestamp of when the widget was created.- Returns:
- createdAt
-
setCreatedAt
-
definition
-
getDefinition
The definition of a widget, including its type and configuration.- Returns:
- definition
-
setDefinition
-
isFavorited
-
getIsFavorited
Whether the current user has favorited this widget. Populated on get, batch_get, update, and search responses; create responses always returnfalsebecause a widget can only be favorited after it exists. Favoriting itself is performed through the shared favorites API, not this service.- Returns:
- isFavorited
-
setIsFavorited
-
modifiedAt
-
getModifiedAt
ISO 8601 timestamp of when the widget was last modified.- Returns:
- modifiedAt
-
setModifiedAt
-
tags
-
addTagsItem
-
getTags
User-defined tags for organizing widgets.- Returns:
- tags
-
setTags
-
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:
- WidgetAttributes
-
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 WidgetAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-