Package com.datadog.api.client.v2.model
Class RUMEventAttributes
java.lang.Object
com.datadog.api.client.v2.model.RUMEventAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RUMEventAttributes
extends Object
JSON object containing all event attributes and their associated values.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) attributes(Map<String, Object> attributes) booleanReturn true if this RUMEventAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.JSON object of attributes from RUM events.The name of the application or service generating RUM events.getTags()Array of tags associated with your event.Timestamp of your event.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putAttributesItem(String key, Object attributesItem) voidsetAttributes(Map<String, Object> attributes) voidsetService(String service) voidvoidsetTimestamp(OffsetDateTime timestamp) timestamp(OffsetDateTime timestamp) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
-
Constructor Details
-
RUMEventAttributes
public RUMEventAttributes()
-
-
Method Details
-
attributes
-
putAttributesItem
-
getAttributes
JSON object of attributes from RUM events.- Returns:
- attributes
-
setAttributes
-
service
-
getService
The name of the application or service generating RUM events. It is used to switch from RUM to APM, so make sure you define the same value when you use both products.- Returns:
- service
-
setService
-
tags
-
addTagsItem
-
getTags
Array of tags associated with your event.- Returns:
- tags
-
setTags
-
timestamp
-
getTimestamp
Timestamp of your event.- 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:
- RUMEventAttributes
-
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 RUMEventAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-