/* Options: Date: 2024-11-21 11:34:00 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: CompanyCoordinatesQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/companies/coordinates", "GET") public class CompanyCoordinatesQuery : IReturn, Codable { public typealias Return = CompanyCoordinatesQueryResponse /** * Street address */ // @ApiMember(Description="Street address", IsRequired=true, ParameterType="query") public var street1:String /** * Street adress */ // @ApiMember(Description="Street adress", ParameterType="query") public var street2:String /** * Street zip code */ // @ApiMember(Description="Street zip code", IsRequired=true, ParameterType="query") public var zipCode:String /** * City */ // @ApiMember(Description="City", IsRequired=true, ParameterType="query") public var city:String /** * Country Id (Example SE= Sweden) */ // @ApiMember(Description="Country Id (Example SE= Sweden)", IsRequired=true, ParameterType="query") public var countryId:String required public init(){} } public class CompanyCoordinatesQueryResponse : Codable { public var longitude:Double public var latitude:Double required public init(){} }