/* Options: Date: 2024-11-21 12:12:35 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateUserEmail.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/users/confirmemail", Verbs="POST") @ApiResponse(Description="Returned if there is a validation error on the input parameters", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) open class UpdateUserEmail : IReturn { @ApiMember(IsRequired=true) var Token:String? = null /** * The user realm for identity server. BookMore = 1, BookMoreAdmin = 2 */ @ApiMember(Description="The user realm for identity server. BookMore = 1, BookMoreAdmin = 2 ", IsRequired=true) var Realm:KeyCloakRealm? = null companion object { private val responseType = UpdateUserEmailResponse::class.java } override fun getResponseType(): Any? = UpdateUserEmail.responseType } open class UpdateUserEmailResponse { var ResponseStatus:Object? = null var UserId:UUID? = null var Email:String? = null } enum class KeyCloakRealm(val value:Int) { BookMore(1), BookMoreAdmin(2), SuperAdmin(3), }