/* Options: Date: 2026-01-20 17:59:20 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://galaxymobile.api.client.prod.86degrees.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UserLoginRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/user/login", Verbs="POST") open class UserLoginRequest : ApiServiceRequest(), IReturn { /** * ID Number of the user to log in. */ @ApiMember(Description="ID Number of the user to log in.", IsRequired=true) var IdNumber:String? = null companion object { private val responseType = UserLoginResponse::class.java } override fun getResponseType(): Any? = UserLoginRequest.responseType } open class UserLoginResponse : ApiServiceResponse() { /** * List of products the user has access to. */ @ApiMember(Description="List of products the user has access to.") var UserProductInformation:ArrayList = ArrayList() /** * List of all dependents linked to this user. */ @ApiMember(Description="List of all dependents linked to this user.") var Dependents:ArrayList = ArrayList() } open class ApiServiceRequest : IServiceRequest, IHasApiKey { /** * The API Key required for authentication */ @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) var ApiKey:String? = null } open interface IServiceRequest { } open interface IHasApiKey { var ApiKey:String? } open class DependentData { /** * Dependent's Galaxy Id used for referring to or deleting. */ @ApiMember(Description="Dependent's Galaxy Id used for referring to or deleting.", IsRequired=true) var DependentId:Int? = null /** * Dependent's first name. */ @ApiMember(Description="Dependent's first name.", IsRequired=true) var FirstName:String? = null /** * Dependent's surname. */ @ApiMember(Description="Dependent's surname.", IsRequired=true) var Surname:String? = null /** * Dependent's mobile contact number. */ @ApiMember(Description="Dependent's mobile contact number.", IsRequired=true) var MobileNumber:String? = null /** * Dependent's email address. */ @ApiMember(Description="Dependent's email address.", IsRequired=true) var Email:String? = null /** * Depdendent's ID number. */ @ApiMember(Description="Depdendent's ID number.", IsRequired=true) var IdNumber:String? = null } open class UserProductData { var IntegrationType:IntegrationProviderType? = null var ProductId:Int? = null var Name:String? = null var NameAfrikaans:String? = null var DashImageUrl:String? = null var ActionUrl:String? = null var Attachments:ArrayList = ArrayList() var DescriptionEng:String? = null var SummaryEng:String? = null var DescriptionAfr:String? = null var SummaryAfr:String? = null } enum class IntegrationProviderType(val value:Int) { @SerializedName("0") None(0), @SerializedName("1") Ea(1), @SerializedName("2") IlluminaHubProtectMe(2), @SerializedName("3") MyLegalHand(3), @SerializedName("4") AccidentAngels(4), @SerializedName("5") EmergencyServices(5), @SerializedName("6") MightyMobile(6), @SerializedName("7") Pulsit(7), @SerializedName("8") Bolt(8), } open class UserProductAttachmentData { var FileName:String? = null var MainFileUrl:String? = null var ThumbnailUrl:String? = null var IsVideo:Boolean? = null var IsImage:Boolean? = null var IsPdf:Boolean? = null } open class ApiServiceResponse : IServiceResponse { var Description:String? = null var Heading:String? = null var WasSuccessful:Boolean? = null var ModelState:Object? = null }