Response

data class Response(eTag: String?, mustRevalidate: Boolean, noContent: Boolean, modified: String?, source: ResponseSourceType, notModified: Boolean, expires: String?, size: Int, error: Error?)

The response data class that included in EventData

Constructors

Response
Link copied to clipboard
fun Response(eTag: String?, mustRevalidate: Boolean, noContent: Boolean, modified: String?, source: ResponseSourceType, notModified: Boolean, expires: String?, size: Int, error: Error?)

Properties

error
Link copied to clipboard
@SerializedName(value = "error")
val error: Error?

"error" property

eTag
Link copied to clipboard
@SerializedName(value = "etag")
val eTag: String?

"etag" property

expires
Link copied to clipboard
@SerializedName(value = "expires")
val expires: String?

"expires" property

modified
Link copied to clipboard
@SerializedName(value = "modified")
val modified: String?

"modified" property

mustRevalidate
Link copied to clipboard
@SerializedName(value = "must-revalidate")
val mustRevalidate: Boolean

"must-revalidate" property

noContent
Link copied to clipboard
@SerializedName(value = "no-content")
val noContent: Boolean

"no-content" property

notModified
Link copied to clipboard
@SerializedName(value = "not-modified")
val notModified: Boolean

"not-modified" property

size
Link copied to clipboard
@SerializedName(value = "size")
val size: Int

"size" property

source
Link copied to clipboard
@SerializedName(value = "source")
val source: ResponseSourceType

"source" property