Package com.datadog.api.client.v2.model
Class V2EventAttributes
java.lang.Object
com.datadog.api.client.v2.model.V2EventAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class V2EventAttributes
extends Object
Event attributes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) attributes(V2EventAttributesAttributes attributes) booleanReturn true if this V2EventAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.JSON object for category-specific attributes.Free-form text associated with the event.getTags()A list of tags associated with the event.Timestamp when the event occurred.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(V2EventAttributesAttributes attributes) voidsetMessage(String message) voidvoidsetTimestamp(String timestamp) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
-
Constructor Details
-
V2EventAttributes
public V2EventAttributes()
-
-
Method Details
-
attributes
-
getAttributes
JSON object for category-specific attributes.- Returns:
- attributes
-
setAttributes
-
message
-
getMessage
Free-form text associated with the event.- Returns:
- message
-
setMessage
-
tags
-
addTagsItem
-
getTags
A list of tags associated with the event.- Returns:
- tags
-
setTags
-
timestamp
-
getTimestamp
Timestamp when the event occurred.- Returns:
- timestamp
-
setTimestamp
-
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:
- V2EventAttributes
-
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 V2EventAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-