SetPassportDataErrorsRequest

data class SetPassportDataErrorsRequest(userId: Int, errors: List<PassportElementError>)

Request body for setPassportDataErrors

Parameters

userId

User identifier

errors

A JSON-serialized array describing the errors

Constructors

SetPassportDataErrorsRequest
Link copied to clipboard
common
fun SetPassportDataErrorsRequest(userId: Int, errors: List<PassportElementError> = emptyList())
User identifier

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int
component2
Link copied to clipboard
common
operator fun component2(): List<PassportElementError>
copy
Link copied to clipboard
common
fun copy(userId: Int, errors: List<PassportElementError> = emptyList()): SetPassportDataErrorsRequest
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

errors
Link copied to clipboard
common
val errors: List<PassportElementError>
A JSON-serialized array describing the errors
userId
Link copied to clipboard
common
val userId: Int
User identifier