/* Options: Date: 2024-12-22 21:09:42 SwiftVersion: 6.0 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: HelloAllTypes.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack public class HelloAllTypes : IReturn, Codable { public typealias Return = HelloAllTypesResponse public var name:String? public var allTypes:AllTypes? public var allCollectionTypes:AllCollectionTypes? required public init(){} } public class HelloAllTypesResponse : Codable { public var result:String? public var allTypes:AllTypes? public var allCollectionTypes:AllCollectionTypes? required public init(){} } public class AllTypes : IGet, Codable { public var id:Int? public var nullableId:Int? public var byte:UInt8? public var short:Int16? public var int:Int? public var long:Int? public var uShort:UInt16? public var uInt:UInt32? public var uLong:UInt64? public var float:Float? public var double:Double? public var decimal:Double? public var string:String? public var dateTime:Date? @TimeSpan public var timeSpan:TimeInterval? public var dateTimeOffset:Date? public var guid:String? public var char:String? public var keyValuePair:KeyValuePair? public var nullableDateTime:Date? @TimeSpan public var nullableTimeSpan:TimeInterval? public var stringList:[String] = [] public var stringArray:[String] = [] public var stringMap:[String:String] = [:] public var intStringMap:[Int:String] = [:] public var subType:SubType? public var point:String? // @DataMember(Name="aliasedName") public var aliasedName:String? required public init(){} } public class AllCollectionTypes : Codable { public var intArray:[Int] = [] public var intList:[Int] = [] public var stringArray:[String] = [] public var stringList:[String] = [] public var pocoArray:[Poco] = [] public var pocoList:[Poco] = [] public var nullableByteArray:[UInt8?] = [] public var nullableByteList:[UInt8?] = [] public var nullableDateTimeArray:[Date?] = [] public var nullableDateTimeList:[Date?] = [] public var pocoLookup:[String:[Poco]] = [:] public var pocoLookupMap:[String:[[String:Poco]]] = [:] required public init(){} } public class KeyValuePair : Codable { public var key:TKey? public var value:TValue? required public init(){} } public class SubType : Codable { public var id:Int? public var name:String? required public init(){} } public class Poco : Codable { public var name:String? required public init(){} }