ProfileRequest

@Serializable
data class ProfileRequest(val profile: String, val statusString: String, val status: ProfileStatusModel? = statusString.getEnum<ProfileStatusModel>(), val stage: String?, val statusReason: String?)

Profile request model.

Constructors

Link copied to clipboard
constructor(profile: String, statusString: String, status: ProfileStatusModel? = statusString.getEnum<ProfileStatusModel>(), stage: String?, statusReason: String?)

Properties

Link copied to clipboard
@SerialName(value = "profile")
val profile: String

Name of the profile.

Link copied to clipboard
@SerialName(value = "stage")
val stage: String?

The current stage in the verification process.

Link copied to clipboard
@Transient
val status: ProfileStatusModel?

Status of the application for the Account to attain the requested profile. Check statusString if null

Link copied to clipboard
@SerialName(value = "status_reason")
val statusReason: String?

The reason why the profile verification is in a particular status.

Link copied to clipboard
@SerialName(value = "status")
val statusString: String

Status of the application for the Account to attain the requested profile.