WebRequest

Describes 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
The request headers.
Link copied to clipboard
@SerializedName(value = "index")
@Expose
open var index: Integer
The index within the run.webRequests array of the request object associated with this result.
Link copied to clipboard
@SerializedName(value = "method")
@Expose
open var method: String
The HTTP method.
Link copied to clipboard
@SerializedName(value = "parameters")
@Expose
open var parameters: Parameters
The request parameters.
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 request protocol.
Link copied to clipboard
@SerializedName(value = "target")
@Expose
open var target: String
The target of the request.
Link copied to clipboard
@SerializedName(value = "version")
@Expose
open var version: String
The request 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): WebRequest
Link copied to clipboard
open fun withIndex(index: Integer): WebRequest
Link copied to clipboard
open fun withMethod(method: String): WebRequest
Link copied to clipboard
open fun withParameters(parameters: Parameters): WebRequest
Link copied to clipboard
open fun withProperties(properties: PropertyBag): WebRequest
Link copied to clipboard
open fun withProtocol(protocol: String): WebRequest
Link copied to clipboard
open fun withTarget(target: String): WebRequest
Link copied to clipboard
open fun withVersion(version: String): WebRequest