Class EventData
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.EventData
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class EventData
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Query event data object.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventData.Builder
Builder. -
Method Summary
Modifier and Type Method Description Date
clientTimestamp()
Gets the clientTimestamp.String
collectionId()
Gets the collectionId.Long
displayRank()
Gets the displayRank.String
documentId()
Gets the documentId.String
environmentId()
Gets the environmentId.EventData.Builder
newBuilder()
New builder.String
queryId()
Gets the queryId.String
sessionToken()
Gets the sessionToken.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a EventData builder
-
environmentId
Gets the environmentId.The **environment_id** associated with the query that the event is associated with.
- Returns:
- the environmentId
-
sessionToken
Gets the sessionToken.The session token that was returned as part of the query results that this event is associated with.
- Returns:
- the sessionToken
-
clientTimestamp
Gets the clientTimestamp.The optional timestamp for the event that was created. If not provided, the time that the event was created in the log was used.
- Returns:
- the clientTimestamp
-
displayRank
Gets the displayRank.The rank of the result item which the event is associated with.
- Returns:
- the displayRank
-
collectionId
Gets the collectionId.The **collection_id** of the document that this event is associated with.
- Returns:
- the collectionId
-
documentId
Gets the documentId.The **document_id** of the document that this event is associated with.
- Returns:
- the documentId
-
queryId
Gets the queryId.The query identifier stored in the log. The query and any events associated with that query are stored with the same **query_id**.
- Returns:
- the queryId
-