Refusal

data class Refusal(val type: Refusal.Type, val refusal: String)(source)

A refusal from the model.

Parameters

type

The type of the refusal. Always refusal.

refusal

The refusal explanationfrom the model.

Constructors

Link copied to clipboard
constructor(type: Refusal.Type, refusal: String)

Types

Link copied to clipboard

The type of the refusal. Always refusal.

Properties

Link copied to clipboard
@SerialName(value = "refusal")
val refusal: String
Link copied to clipboard
@SerialName(value = "type")
val type: Refusal.Type