Success

A successful response from the API was received

data class Success<T : Any>(value: T) : ApiResult<T>

Parameters

T

The type of response data

Constructors

Success
Link copied to clipboard

fun <T : Any> Success(value: T)

Functions

component1
Link copied to clipboard
operator fun component1(): T
copy
Link copied to clipboard
fun copy(value: T): ApiResult.Success<T>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

value
Link copied to clipboard

The data parsed from the API response

val value: T