/* Options: Date: 2024-12-23 11:32:26 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UserCreateRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/signup/create_user", Verbs="POST") open class UserCreateRequest : IReturn, IPost { var token:String? = null var firstName:String? = null var lastName:String? = null var sex:Sex? = null var dateOfBirth:DateOfBirth? = null var email:String? = null var password:String? = null var passwordConfirmation:String? = null var home:HomeLocation? = null var acceptTermsOfService:Boolean? = null var referFriendToken:String? = null companion object { private val responseType = UserCreateResponse::class.java } override fun getResponseType(): Any? = UserCreateRequest.responseType } open class UserCreateResponse { var sentVerificationEmailWithRequestId:String? = null var passwordScore:Int? = null var userGuid:UUID? = null var referFriendAwarded:Boolean? = null } open class DateOfBirth { var year:Int? = null var month:Int? = null var dayOfMonth:Int? = null } enum class Sex { Male, Female, } open class HomeLocation { var address:UserAddress? = null var latitude:Float? = null var longitude:Float? = null } open class UserAddress { var streetName:String? = null var streetNumber:String? = null var postalCode:String? = null var region:String? = null var countryCode:String? = null }