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 classEventData.BuilderBuilder. -
Method Summary
Modifier and Type Method Description DateclientTimestamp()Gets the clientTimestamp.StringcollectionId()Gets the collectionId.LongdisplayRank()Gets the displayRank.StringdocumentId()Gets the documentId.StringenvironmentId()Gets the environmentId.EventData.BuildernewBuilder()New builder.StringqueryId()Gets the queryId.StringsessionToken()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
-