/* Options: Date: 2024-12-23 12:12:25 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: GetRecentLocationRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/location/GetRecentLocation", "GET") public class GetRecentLocationRequest : IReturn, IGet, Codable { public typealias Return = GetRecentLocationResponse required public init(){} } public class GetRecentLocationResponse : Codable { public var recentLocations:[RecentLocationDto] = [] required public init(){} } public enum RecentLocationType : String, Codable { case Home case Current case Pin case Named } public class RecentLocationDto : Codable { public var name:String public var Description:String public var latitude:Float public var longitude:Float public var locationType:RecentLocationType public var googleAddressComponents:[String] = [] required public init(){} }