OutcomeResponse

data class OutcomeResponse(val failureDetail: FailureDetailResponse, val inconclusiveDetail: InconclusiveDetailResponse, val skippedDetail: SkippedDetailResponse, val successDetail: SuccessDetailResponse, val summary: String)

Interprets a result so that humans and machines can act on it.

Constructors

Link copied to clipboard
fun OutcomeResponse(failureDetail: FailureDetailResponse, inconclusiveDetail: InconclusiveDetailResponse, skippedDetail: SkippedDetailResponse, successDetail: SuccessDetailResponse, summary: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional

Link copied to clipboard

More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional

Link copied to clipboard

More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional

Link copied to clipboard

More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional

Link copied to clipboard

The simplest way to interpret a result. Required