Response

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

Deprecated

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

Replace with

ResponseInfo

The response data class that included in EventData

Constructors

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

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

"error" property

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

"etag" property

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

"expires" property

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

"modified" property

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

"must-revalidate" property

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

"no-content" property

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

"not-modified" property

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

"size" property

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

"source" property