/* Options: Date: 2025-04-03 07:25:22 SwiftVersion: 6.0 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://northwind.netcore.io //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: CachedGetAllCustomers.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/cached/customers") public class CachedGetAllCustomers : IReturn, IGet, Codable { public typealias Return = CustomersResponse required public init(){} } // @DataContract public class CustomersResponse : Codable { // @DataMember public var results:[Customer] = [] // @DataMember public var responseStatus:ResponseStatus? required public init(){} } // @DataContract public class Customer : Codable { // @DataMember public var id:String? // @DataMember public var companyName:String? // @DataMember public var contactName:String? // @DataMember public var contactTitle:String? // @DataMember public var address:String? // @DataMember public var city:String? // @DataMember public var region:String? // @DataMember public var postalCode:String? // @DataMember public var country:String? // @DataMember public var phone:String? // @DataMember public var fax:String? required public init(){} }