/* Options: Date: 2024-12-23 12:12:01 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: AddRecentLocationRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/location/AddRecentLocation", "POST") public class AddRecentLocationRequest : IReturn, IPost, Codable { public typealias Return = AddRecentLocationResponse 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(){} } public class AddRecentLocationResponse : Codable { public var success:Bool required public init(){} } public enum RecentLocationType : String, Codable { case Home case Current case Pin case Named }