ResourceEventData

data class ResourceEventData(val begin: Long, val end: Long?, val dataSource: DataSourceType, val request: Request, val response: Response?, val cancelled: Boolean)

Deprecated

This data class is deprecated, and will be removed in next major release.

Replace with

ResourceRequest

The data class for event data in Observer

Constructors

Link copied to clipboard
fun ResourceEventData(begin: Long, end: Long?, dataSource: DataSourceType, request: Request, response: Response?, cancelled: Boolean)

Properties

Link copied to clipboard
@SerializedName(value = "begin")
val begin: Long

Representing timestamp taken at the time of an event creation, in microseconds, since the epoch.

Link copied to clipboard
@SerializedName(value = "cancelled")
val cancelled: Boolean

"cancelled" property

Link copied to clipboard
@SerializedName(value = "data-source")
val dataSource: DataSourceType

"data-source" property

Link copied to clipboard
@SerializedName(value = "end")
val end: Long?

For an interval events, an optional end property will be present that represents timestamp taken at the time of an event completion.

Link copied to clipboard
@SerializedName(value = "request")
val request: Request

"request" property

Link copied to clipboard
@SerializedName(value = "response")
val response: Response?

"response" property