/* Options: Date: 2025-07-17 23:41:32 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://hcbtas-q-albamfs-api.azurewebsites.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ValidateNemIdRequestModel.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/nemidvalidatelogin", Verbs="GET") open class ValidateNemIdRequestModel : IReturn { companion object { private val responseType = NemIDFlowResult::class.java } override fun getResponseType(): Any? = ValidateNemIdRequestModel.responseType } open class NemIDFlowResult : FlowResult() { var authenticationInfo:AuthenticationInfo? = null } open class AuthenticationInfo { var pid:String? = null var dn:String? = null var commonName:String? = null var rid:String? = null var cpr:String? = null var cvr:String? = null var company:String? = null var email:String? = null var signedXml:String? = null var issuerDn:String? = null var isYouthCert:Boolean? = null var certificateType:CertificateType? = null var subjectSerialNumber:String? = null var signProperties:IList? = null var rememberUserIdToken:String? = null var logonType:LogonType? = null var certificateSerialNumber:String? = null var clientCertificate:ByteArray? = null var authorizedToRepresent:String? = null } enum class ClientFlow { NemID, NemIDSignature, NemIDKeyFile, NemIDKeyFileSignature, NL3Signature, Invalid, LoadTest, } enum class FlowStatus { Ok, UserCancel, ClientFlowError, FlowError, ValidationError, } open class FlowResult : FlowMessage() { var clientFlow:ClientFlow? = null var status:FlowStatus? = null var isSuccess:Boolean? = null var message:String? = null var userMessage:String? = null var flowErrorCode:String? = null } enum class CertificateType { Poces, Moces, Voces, Foces, } open class SignProperty { var name:String? = null var value:String? = null } enum class LogonType { Otp, KeyFile, Unknown, } open class FlowMessage : Body() { var timestamp:String? = null var transactionIdentifier:String? = null } open class Body { }