/* Options: Date: 2024-12-23 11:21:06 SwiftVersion: 5.0 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: ProfileUpdatePersonalInformationRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/profile/personal-information", "PUT") public class ProfileUpdatePersonalInformationRequest : IReturn, IPut, Codable { public typealias Return = ProfileUpdatePersonalInformationResponse public var firstName:String public var lastName:String public var dateOfBirth:DateOfBirth public var sex:Sex? public var showDistancesIn:DistanceUnit? required public init(){} } public class ProfileUpdatePersonalInformationResponse : Codable { public var firstName:String public var lastName:String public var dateOfBirth:DateOfBirth public var sex:Sex? public var showDistancesIn:DistanceUnit? required public init(){} } public class DateOfBirth : Codable { public var year:Int public var month:Int public var dayOfMonth:Int required public init(){} } public enum Sex : String, Codable { case Male case Female } public enum DistanceUnit : String, Codable { case Kilometer case Mile }