Package com.datadog.api.client.v2.model
Class ProductAnalyticsServerSideEventItem
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsServerSideEventItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsServerSideEventItem
extends Object
A Product Analytics server-side event.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProductAnalyticsServerSideEventItem(ProductAnalyticsServerSideEventItemApplication application, ProductAnalyticsServerSideEventItemEvent event, ProductAnalyticsServerSideEventItemType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ProductAnalyticsServerSideEventItem object is equal to o.The account linked to your event.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The application in which you want to send your events.getEvent()Fields used for the event.The session linked to your event.getType()The type of Product Analytics event.getUsr()The user linked to your event.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCOUNT
- See Also:
-
JSON_PROPERTY_APPLICATION
- See Also:
-
JSON_PROPERTY_EVENT
- See Also:
-
JSON_PROPERTY_SESSION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_USR
- See Also:
-
-
Constructor Details
-
ProductAnalyticsServerSideEventItem
public ProductAnalyticsServerSideEventItem() -
ProductAnalyticsServerSideEventItem
public ProductAnalyticsServerSideEventItem(ProductAnalyticsServerSideEventItemApplication application, ProductAnalyticsServerSideEventItemEvent event, ProductAnalyticsServerSideEventItemType type)
-
-
Method Details
-
account
public ProductAnalyticsServerSideEventItem account(ProductAnalyticsServerSideEventItemAccount account) -
getAccount
The account linked to your event.- Returns:
- account
-
setAccount
-
application
public ProductAnalyticsServerSideEventItem application(ProductAnalyticsServerSideEventItemApplication application) -
getApplication
The application in which you want to send your events.- Returns:
- application
-
setApplication
-
event
-
getEvent
Fields used for the event.- Returns:
- event
-
setEvent
-
session
public ProductAnalyticsServerSideEventItem session(ProductAnalyticsServerSideEventItemSession session) -
getSession
The session linked to your event.- Returns:
- session
-
setSession
-
type
-
getType
The type of Product Analytics event. Must beserverfor server-side events.- Returns:
- type
-
setType
-
usr
-
getUsr
The user linked to your event.- Returns:
- usr
-
setUsr
-
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:
- ProductAnalyticsServerSideEventItem
-
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 ProductAnalyticsServerSideEventItem object is equal to o. -
hashCode
public int hashCode() -
toString
-