/* Options: Date: 2024-12-23 11:19:23 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: UserStatusRequest.* //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/status", Verbs="GET") open class UserStatusRequest : IReturn, IGet { @Validate(Validator="NotNull") var fromPwa:Boolean? = null companion object { private val responseType = UserStatusResponse::class.java } override fun getResponseType(): Any? = UserStatusRequest.responseType } open class UserStatusResponse { var status:UserStatus? = null var suggestPwaInstallation:Boolean? = null var userProfile:UserProfileDto? = null } open class DateOfBirth { var year:Int? = null var month:Int? = null var dayOfMonth:Int? = null } enum class Sex { Male, Female, } enum class DistanceUnit { Kilometer, Mile, } enum class Locale { EnUs, NbNo, } open class HomeLocation { var address:UserAddress? = null var latitude:Float? = null var longitude:Float? = null } open class UserProfileDto { var locale:Locale? = null var userGuid:UUID? = null var firstName:String? = null var lastName:String? = null var profilePhotoUrl:String? = null var mobilePhone:String? = null var mobilePhoneVerified:Boolean? = null var email:String? = null var emailVerified:Boolean? = null var hasPassword:Boolean? = null var dateOfBirth:DateOfBirth? = null var sex:Sex? = null var home:HomeLocation? = null var showDistancesIn:DistanceUnit? = null var managesPlacesInBusinessWeb:Boolean? = null var pointsTotal:Long? = null } enum class UserStatus { LoginOrSignup, CompleteProfile, Ready, } open class UserAddress { var streetName:String? = null var streetNumber:String? = null var postalCode:String? = null var region:String? = null var countryCode:String? = null }