ResourceEventData

The data class for event data in Observer

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

Constructors

ResourceEventData
Link copied to clipboard
fun ResourceEventData(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): ResourceEventData
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