/* Options: Date: 2024-12-23 12:02:32 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: ProfileUpdateHomeLocationRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/profile/update-home", "PUT") public class ProfileUpdateHomeLocationRequest : IReturn, IPut, Codable { public typealias Return = ProfileUpdateHomeLocationResponse public var home:HomeLocation required public init(){} } public class ProfileUpdateHomeLocationResponse : Codable { public var homeLocation:HomeLocation required public init(){} } public class HomeLocation : Codable { public var address:UserAddress public var latitude:Float public var longitude:Float required public init(){} } public class UserAddress : Codable { public var streetName:String public var streetNumber:String public var postalCode:String public var region:String public var countryCode:String required public init(){} }