public class EventData
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
EventData.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
clientTimestamp |
protected java.lang.String |
collectionId |
protected java.lang.Long |
displayRank |
protected java.lang.String |
documentId |
protected java.lang.String |
environmentId |
protected java.lang.String |
queryId |
protected java.lang.String |
sessionToken |
Modifier | Constructor and Description |
---|---|
protected |
EventData(EventData.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
clientTimestamp()
Gets the clientTimestamp.
|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.lang.Long |
displayRank()
Gets the displayRank.
|
java.lang.String |
documentId()
Gets the documentId.
|
java.lang.String |
environmentId()
Gets the environmentId.
|
EventData.Builder |
newBuilder()
New builder.
|
java.lang.String |
queryId()
Gets the queryId.
|
java.lang.String |
sessionToken()
Gets the sessionToken.
|
@SerializedName(value="environment_id") protected java.lang.String environmentId
@SerializedName(value="session_token") protected java.lang.String sessionToken
@SerializedName(value="client_timestamp") protected java.util.Date clientTimestamp
@SerializedName(value="display_rank") protected java.lang.Long displayRank
@SerializedName(value="collection_id") protected java.lang.String collectionId
@SerializedName(value="document_id") protected java.lang.String documentId
@SerializedName(value="query_id") protected java.lang.String queryId
protected EventData(EventData.Builder builder)
public EventData.Builder newBuilder()
public java.lang.String environmentId()
The **environment_id** associated with the query that the event is associated with.
public java.lang.String sessionToken()
The session token that was returned as part of the query results that this event is associated with.
public java.util.Date 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.
public java.lang.Long displayRank()
The rank of the result item which the event is associated with.
public java.lang.String collectionId()
The **collection_id** of the document that this event is associated with.
public java.lang.String documentId()
The **document_id** of the document that this event is associated with.
public java.lang.String queryId()
The query identifier stored in the log. The query and any events associated with that query are stored with the same **query_id**.