/* Options: Date: 2025-12-16 00:58:24 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://prod-api-auth-mb-dhc.rapp-customers.co.uk //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LoginRequest.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/v1/login", Verbs="POST") open class LoginRequest : IReturn, IPost { /** * GAS AuthCode */ @ApiMember(Description="GAS AuthCode") open var AuthCode:String? = null /** * GAS ErrorCode */ @ApiMember(Description="GAS ErrorCode") open var ErrorCode:String? = null /** * Client Id */ @ApiMember(Description="Client Id") open var ClientId:String? = null /** * Secret */ @ApiMember(Description="Secret") open var Secret:String? = null /** * Callback Url */ @ApiMember(Description="Callback Url") open var CallbackUrl:String? = null /** * Redirect Url */ @ApiMember(Description="Redirect Url") open var RedirectUrl:String? = null companion object { private val responseType = LoginResponse::class.java } override fun getResponseType(): Any? = LoginRequest.responseType } open class LoginResponse { open var RedirectUrl:String? = null open var IsAuthenticated:Boolean? = null open var UserToken:String? = null open var UserId:String? = null open var UserRoleId:ArrayList? = null open var DefaultRetailer:String? = null open var LoginStatus:LoginStatus? = null open var UserRoleRedirect:String? = null open var DefaultVehicleType:String? = null open var EntitlementGroup:ArrayList? = null } enum class LoginStatus { Authenticated, NotAuthenticated, Error, }