EventData

The data class for event data in Observer

data class EventData(dataSource: String, request: Request, response: Response, cancelled: Boolean)

Constructors

EventData
Link copied to clipboard
fun EventData(dataSource: String, request: Request, response: Response, cancelled: Boolean)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): Request
component3
Link copied to clipboard
operator fun component3(): Response
component4
Link copied to clipboard
operator fun component4(): Boolean
copy
Link copied to clipboard
fun copy(dataSource: String, request: Request, response: Response, cancelled: Boolean): EventData
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

cancelled
Link copied to clipboard

"cancelled" property

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

"data-source" property

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

"request" property

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

"response" property

@SerializedName(value = "response")
val response: Response