/* Options: Date: 2024-05-09 13:16:03 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: EchoComplexTypes.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/echo/complex") public class EchoComplexTypes : IReturn, Codable { public typealias Return = EchoComplexTypes public var subType:SubType public var subTypes:[SubType] = [] public var subTypeMap:[String:SubType] = [:] public var stringMap:[String:String] = [:] public var intStringMap:[Int:String] = [:] required public init(){} } public class SubType : Codable { public var id:Int public var name:String required public init(){} }