Package com.mypurecloud.sdk.v2.model
Class Session
java.lang.Object
com.mypurecloud.sdk.v2.model.Session
- All Implemented Interfaces:
Serializable
Session
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe status of this case.static enumLast ACD outcome for the conversation.static enumDisconnect reason for the last user connected to the conversation.static enumThe original direction of the conversation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapp(JourneyApp app) Application that the customer is interacting with (for app sessions).attributeLists(Map<String, CustomEventAttributeList> attributeLists) List-type attributes projected from the session's event stream.attributes(Map<String, CustomEventAttribute> attributes) Attributes projected from the session's event stream.authenticated(Boolean authenticated) Indicates whether or not the session is authenticated.Timestamp indicating when the visitor should be considered as away.Customer's browser.caseAssociations(List<JourneyCaseAssociation> caseAssociations) Cases associated with the session - conversation only.caseEntity(AddressableEntityRef caseEntity) The case this session refers to.caseReference(String caseReference) The reference for this case.caseStatus(Session.CaseStatusEnum caseStatus) The status of this case.conversation(AddressableEntityRef conversation) The conversation for this session.conversationChannels(List<ConversationChannel> conversationChannels) Represents the channels used for this conversation.conversationSubject(String conversationSubject) The subject for the conversation, for example an email subject.createdDate(Date createdDate) Timestamp indicating when the session was created.customerId(String customerId) Primary identifier of the customer in the source where the events for the session originate from.customerIdType(String customerIdType) Type of source customer identifier (e.g. cookie, email, phone).Customer's device.divisionIds(List<String> divisionIds) List of division IDs associated with the session.durationInSeconds(Integer durationInSeconds) Indicates how long the session has been active (valid for an individual device).Timestamp indicating when the session was ended.booleaneventCount(Integer eventCount) The count of all events performed during the session.externalContact(AddressableEntityRef externalContact) The external contact associated with this session.externalId(String externalId) Unique identifier in the external system where the events for the session originate from.externalUrl(String externalUrl) A URL that identifies an external system-of-record resource that may have more detailed information on the session.geolocation(JourneyGeolocation geolocation) Customer's geolocation.getApp()getId()getType()inthashCode()The ID of the session.Timestamp indicating when the visitor should be considered as idle.Customer's IP address.ipOrganization(String ipOrganization) Customer's IP-based organization or ISP name.lastAcdOutcome(Session.LastAcdOutcomeEnum lastAcdOutcome) Last ACD outcome for the conversation.lastConnectedQueue(ConnectedQueue lastConnectedQueue) The last queue connected to this session.lastConnectedUser(ConnectedUser lastConnectedUser) The last user connected to this session.lastEvent(SessionLastEvent lastEvent) Information about the most recent event in this session.lastPage(JourneyPage lastPage) The webpage where the customer's last web interaction occurred.lastScreen(String lastScreen) The app screen name where the customer's last app interaction occurred.lastUserDisconnectType(Session.LastUserDisconnectTypeEnum lastUserDisconnectType) Disconnect reason for the last user connected to the conversation.lastUserDisposition(ConversationUserDisposition lastUserDisposition) The last user disposition connected to this session.mktCampaign(JourneyCampaign mktCampaign) Marketing / traffic source information.networkConnectivity(NetworkConnectivity networkConnectivity) Information relating to the device's network connectivity (for app sessions).originatingDirection(Session.OriginatingDirectionEnum originatingDirection) The original direction of the conversation.outcomeAchievements(List<OutcomeAchievement> outcomeAchievements) Deprecated.pageviewCount(Integer pageviewCount) The count of all pageviews performed during the session.Identifies the page URL that originally generated the request for the current page being viewed.screenviewCount(Integer screenviewCount) The count of all screenviews performed during the session.sdkLibrary(SdkLibrary sdkLibrary) SDK library used to generate the events for the session (for app and web sessions).searchTerms(List<String> searchTerms) Search terms associated with the session.segmentAssignments(List<SessionSegmentAssignment> segmentAssignments) List of the segment assignments to the customer in this session.voidsetApp(JourneyApp app) voidsetAttributeLists(Map<String, CustomEventAttributeList> attributeLists) voidsetAttributes(Map<String, CustomEventAttribute> attributes) voidsetAuthenticated(Boolean authenticated) voidsetAwayDate(Date awayDate) voidsetBrowser(Browser browser) voidsetCaseAssociations(List<JourneyCaseAssociation> caseAssociations) voidsetCaseEntity(AddressableEntityRef caseEntity) voidsetCaseReference(String caseReference) voidsetCaseStatus(Session.CaseStatusEnum caseStatus) voidsetConversation(AddressableEntityRef conversation) voidsetConversationChannels(List<ConversationChannel> conversationChannels) voidsetConversationSubject(String conversationSubject) voidsetCreatedDate(Date createdDate) voidsetCustomerId(String customerId) voidsetCustomerIdType(String customerIdType) voidvoidsetDivisionIds(List<String> divisionIds) voidsetDurationInSeconds(Integer durationInSeconds) voidsetEndedDate(Date endedDate) voidsetEventCount(Integer eventCount) voidsetExternalContact(AddressableEntityRef externalContact) voidsetExternalId(String externalId) voidsetExternalUrl(String externalUrl) voidsetGeolocation(JourneyGeolocation geolocation) voidvoidsetIdleDate(Date idleDate) voidsetIpAddress(String ipAddress) voidsetIpOrganization(String ipOrganization) voidsetLastAcdOutcome(Session.LastAcdOutcomeEnum lastAcdOutcome) voidsetLastConnectedQueue(ConnectedQueue lastConnectedQueue) voidsetLastConnectedUser(ConnectedUser lastConnectedUser) voidsetLastEvent(SessionLastEvent lastEvent) voidsetLastPage(JourneyPage lastPage) voidsetLastScreen(String lastScreen) voidsetLastUserDisconnectType(Session.LastUserDisconnectTypeEnum lastUserDisconnectType) voidsetLastUserDisposition(ConversationUserDisposition lastUserDisposition) voidsetMktCampaign(JourneyCampaign mktCampaign) voidsetNetworkConnectivity(NetworkConnectivity networkConnectivity) voidsetOriginatingDirection(Session.OriginatingDirectionEnum originatingDirection) voidsetOutcomeAchievements(List<OutcomeAchievement> outcomeAchievements) voidsetPageviewCount(Integer pageviewCount) voidsetReferrer(Referrer referrer) voidsetScreenviewCount(Integer screenviewCount) voidsetSdkLibrary(SdkLibrary sdkLibrary) voidsetSearchTerms(List<String> searchTerms) voidsetSegmentAssignments(List<SessionSegmentAssignment> segmentAssignments) voidsetShortId(String shortId) voidvoidsetUserAgentString(String userAgentString) Shortened numeric identifier of 4-6 digits.toString()Session types indicate the type or category of sessions (e.g. web, app).userAgentString(String userAgentString) String identifying the user agent.
-
Constructor Details
-
Session
public Session() -
Session
-
-
Method Details
-
id
The ID of the session. -
getId
-
setId
-
externalContact
The external contact associated with this session. -
getExternalContact
-
setExternalContact
-
customerId
Primary identifier of the customer in the source where the events for the session originate from. -
getCustomerId
-
setCustomerId
-
customerIdType
Type of source customer identifier (e.g. cookie, email, phone). -
getCustomerIdType
-
setCustomerIdType
-
type
Session types indicate the type or category of sessions (e.g. web, app). -
getType
-
setType
-
externalId
Unique identifier in the external system where the events for the session originate from. -
getExternalId
-
setExternalId
-
externalUrl
A URL that identifies an external system-of-record resource that may have more detailed information on the session. -
getExternalUrl
-
setExternalUrl
-
shortId
Shortened numeric identifier of 4-6 digits. -
getShortId
-
setShortId
-
outcomeAchievements
Deprecated. List of the outcome achievements by the customer in this session. Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/ -
getOutcomeAchievements
-
setOutcomeAchievements
-
segmentAssignments
List of the segment assignments to the customer in this session. -
getSegmentAssignments
-
setSegmentAssignments
-
attributes
Attributes projected from the session's event stream. -
getAttributes
-
setAttributes
-
attributeLists
List-type attributes projected from the session's event stream. -
getAttributeLists
-
setAttributeLists
-
browser
Customer's browser. -
getBrowser
-
setBrowser
-
device
Customer's device. -
getDevice
-
setDevice
-
geolocation
Customer's geolocation. -
getGeolocation
-
setGeolocation
-
ipAddress
Customer's IP address. -
getIpAddress
-
setIpAddress
-
ipOrganization
Customer's IP-based organization or ISP name. -
getIpOrganization
-
setIpOrganization
-
lastPage
The webpage where the customer's last web interaction occurred. -
getLastPage
-
setLastPage
-
mktCampaign
Marketing / traffic source information. -
getMktCampaign
-
setMktCampaign
-
referrer
Identifies the page URL that originally generated the request for the current page being viewed. -
getReferrer
-
setReferrer
-
app
Application that the customer is interacting with (for app sessions). -
getApp
-
setApp
-
sdkLibrary
SDK library used to generate the events for the session (for app and web sessions). -
getSdkLibrary
-
setSdkLibrary
-
networkConnectivity
Information relating to the device's network connectivity (for app sessions). -
getNetworkConnectivity
-
setNetworkConnectivity
-
searchTerms
Search terms associated with the session. -
getSearchTerms
-
setSearchTerms
-
userAgentString
String identifying the user agent. -
getUserAgentString
-
setUserAgentString
-
durationInSeconds
Indicates how long the session has been active (valid for an individual device). -
getDurationInSeconds
-
setDurationInSeconds
-
eventCount
The count of all events performed during the session. -
getEventCount
-
setEventCount
-
pageviewCount
The count of all pageviews performed during the session. -
getPageviewCount
-
setPageviewCount
-
screenviewCount
The count of all screenviews performed during the session. -
getScreenviewCount
-
setScreenviewCount
-
lastEvent
Information about the most recent event in this session. -
getLastEvent
-
setLastEvent
-
conversation
The conversation for this session. -
getConversation
-
setConversation
-
lastConnectedQueue
The last queue connected to this session. -
getLastConnectedQueue
-
setLastConnectedQueue
-
lastConnectedUser
The last user connected to this session. -
getLastConnectedUser
-
setLastConnectedUser
-
lastUserDisposition
The last user disposition connected to this session. -
getLastUserDisposition
-
setLastUserDisposition
-
conversationChannels
Represents the channels used for this conversation. -
getConversationChannels
-
setConversationChannels
-
originatingDirection
The original direction of the conversation. -
getOriginatingDirection
-
setOriginatingDirection
-
conversationSubject
The subject for the conversation, for example an email subject. -
getConversationSubject
-
setConversationSubject
-
lastUserDisconnectType
Disconnect reason for the last user connected to the conversation. -
getLastUserDisconnectType
-
setLastUserDisconnectType
-
lastAcdOutcome
Last ACD outcome for the conversation. -
getLastAcdOutcome
-
setLastAcdOutcome
-
authenticated
Indicates whether or not the session is authenticated. -
getAuthenticated
-
setAuthenticated
-
divisionIds
List of division IDs associated with the session. -
getDivisionIds
-
setDivisionIds
-
lastScreen
The app screen name where the customer's last app interaction occurred. -
getLastScreen
-
setLastScreen
-
caseAssociations
Cases associated with the session - conversation only. -
getCaseAssociations
-
setCaseAssociations
-
caseEntity
The case this session refers to. -
getCaseEntity
-
setCaseEntity
-
caseReference
The reference for this case. -
getCaseReference
-
setCaseReference
-
caseStatus
The status of this case. -
getCaseStatus
-
setCaseStatus
-
getSelfUri
-
createdDate
Timestamp indicating when the session was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getCreatedDate
-
setCreatedDate
-
endedDate
Timestamp indicating when the session was ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getEndedDate
-
setEndedDate
-
awayDate
Timestamp indicating when the visitor should be considered as away. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getAwayDate
-
setAwayDate
-
idleDate
Timestamp indicating when the visitor should be considered as idle. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getIdleDate
-
setIdleDate
-
equals
-
hashCode
public int hashCode() -
toString
-