Response

public final class Response<T extends Object>

Constructors

Link copied to clipboard
public Response<T> Response<T extends Any>(T result, StatusData errorStatus)

Types

Link copied to clipboard
public final class Builder<T extends Object>

Properties

Link copied to clipboard
private StatusData errorStatus
Link copied to clipboard
private final T result

Functions

Link copied to clipboard
public final StatusData getErrorStatus()
Link copied to clipboard
public final T getResult()
Link copied to clipboard
public final Unit setErrorStatus(StatusData errorStatus)