WebResponse

Describes the response to an HTTP request.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@SerializedName(value = "body")
@Expose
open var body: ArtifactContent
Represents the contents of an artifact.
Link copied to clipboard
@SerializedName(value = "headers")
@Expose
open var headers: Headers__1
The response headers.
Link copied to clipboard
@SerializedName(value = "index")
@Expose
open var index: Integer
The index within the run.webResponses array of the response object associated with this result.
Link copied to clipboard
@SerializedName(value = "noResponseReceived")
@Expose
open var noResponseReceived: Boolean
Specifies whether a response was received from the server.
Link copied to clipboard
@SerializedName(value = "properties")
@Expose
open var properties: PropertyBag
Key/value pairs that provide additional information about the object.
Link copied to clipboard
@SerializedName(value = "protocol")
@Expose
open var protocol: String
The response protocol.
Link copied to clipboard
@SerializedName(value = "reasonPhrase")
@Expose
open var reasonPhrase: String
The response reason.
Link copied to clipboard
@SerializedName(value = "statusCode")
@Expose
open var statusCode: Integer
The response status code.
Link copied to clipboard
@SerializedName(value = "version")
@Expose
open var version: String
The response version.

Functions

Link copied to clipboard
open fun equals(other: Any): Boolean
Link copied to clipboard
abstract fun getProperties(): PropertyBag
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
abstract fun setProperties(<set-?>: PropertyBag)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun updateProperties(mutator: (in PropertyBag) -> Unit)
Link copied to clipboard
Link copied to clipboard
open fun withHeaders(headers: Headers__1): WebResponse
Link copied to clipboard
open fun withIndex(index: Integer): WebResponse
Link copied to clipboard
open fun withNoResponseReceived(noResponseReceived: Boolean): WebResponse
Link copied to clipboard
open fun withProperties(properties: PropertyBag): WebResponse
Link copied to clipboard
open fun withProtocol(protocol: String): WebResponse
Link copied to clipboard
open fun withReasonPhrase(reasonPhrase: String): WebResponse
Link copied to clipboard
open fun withStatusCode(statusCode: Integer): WebResponse
Link copied to clipboard
open fun withVersion(version: String): WebResponse