Package com.mypurecloud.sdk.v2.model
Class AppEventResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.AppEventResponse
- All Implemented Interfaces:
Serializable
AppEventResponse
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapp(JourneyApp app) Application that the customer is interacting with.attributes(Map<String, CustomEventAttribute> attributes) User-defined attributes associated with a particular event.createdDate(Date createdDate) UTC timestamp indicating when the event actually took place.customerId(String customerId) Identifier of the customer in the source of the event.customerIdType(String customerIdType) Type of identifier for the customer ID (cookie, email etc.).Customer's device.booleanRepresents the action the customer performed.externalId(String externalId) An external identifier for the customer.geolocation(JourneyGeolocation geolocation) Customer's geolocation.getApp()getId()inthashCode()System-generated UUID for the event.ipOrganization(String ipOrganization) Customer's IP-based organization or ISP name.mktCampaign(JourneyCampaign mktCampaign) Marketing / traffic source information.networkConnectivity(NetworkConnectivity networkConnectivity) Information relating to the device's network connectivity.screenName(String screenName) The name of the screen in the app that the event took place.sdkLibrary(SdkLibrary sdkLibrary) SDK library used to generate the event.searchQuery(String searchQuery) Represents the keywords in a customer search query.session(AppEventResponseSession session) The app session the event belongs to.voidsetApp(JourneyApp app) voidsetAttributes(Map<String, CustomEventAttribute> attributes) voidsetCreatedDate(Date createdDate) voidsetCustomerId(String customerId) voidsetCustomerIdType(String customerIdType) voidvoidsetEventName(String eventName) voidsetExternalId(String externalId) voidsetGeolocation(JourneyGeolocation geolocation) voidvoidsetIpOrganization(String ipOrganization) voidsetMktCampaign(JourneyCampaign mktCampaign) voidsetNetworkConnectivity(NetworkConnectivity networkConnectivity) voidsetScreenName(String screenName) voidsetSdkLibrary(SdkLibrary sdkLibrary) voidsetSearchQuery(String searchQuery) voidsetSession(AppEventResponseSession session) voidsetTraits(Map<String, CustomEventAttribute> traits) toString()traits(Map<String, CustomEventAttribute> traits) Traits are attributes intrinsic to the customer that may be sent in selected events (e.g. email, givenName, cellPhone).
-
Constructor Details
-
AppEventResponse
public AppEventResponse() -
AppEventResponse
-
-
Method Details
-
id
System-generated UUID for the event. -
getId
-
setId
-
customerId
Identifier of the customer in the source of the event. -
getCustomerId
-
setCustomerId
-
customerIdType
Type of identifier for the customer ID (cookie, email etc.). -
getCustomerIdType
-
setCustomerIdType
-
eventName
Represents the action the customer performed. A good event name is typically an object followed by the action performed in past tense (e.g. screen_viewed, order_completed, user_registered). -
getEventName
-
setEventName
-
screenName
The name of the screen in the app that the event took place. -
getScreenName
-
setScreenName
-
app
Application that the customer is interacting with. -
getApp
-
setApp
-
device
Customer's device. -
getDevice
-
setDevice
-
ipOrganization
Customer's IP-based organization or ISP name. -
getIpOrganization
-
setIpOrganization
-
geolocation
Customer's geolocation. -
getGeolocation
-
setGeolocation
-
sdkLibrary
SDK library used to generate the event. -
getSdkLibrary
-
setSdkLibrary
-
networkConnectivity
Information relating to the device's network connectivity. -
getNetworkConnectivity
-
setNetworkConnectivity
-
mktCampaign
Marketing / traffic source information. -
getMktCampaign
-
setMktCampaign
-
session
The app session the event belongs to. -
getSession
-
setSession
-
searchQuery
Represents the keywords in a customer search query. -
getSearchQuery
-
setSearchQuery
-
attributes
User-defined attributes associated with a particular event. -
getAttributes
-
setAttributes
-
traits
Traits are attributes intrinsic to the customer that may be sent in selected events (e.g. email, givenName, cellPhone). -
getTraits
-
setTraits
-
externalId
An external identifier for the customer. -
getExternalId
-
setExternalId
-
createdDate
UTC timestamp indicating when the event actually took place. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getCreatedDate
-
setCreatedDate
-
equals
-
hashCode
public int hashCode() -
toString
-