/* Options: Date: 2024-11-28 09:40:30 SwiftVersion: 5.0 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: GetTranslations.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack public class GetTranslations : IReturn, Codable { public typealias Return = GetTranslationsResponse public var translateKeys:[String] = [] required public init(){} } // @DataContract public class GetTranslationsResponse : Codable { // @DataMember public var translations:[Translation] = [] // @DataMember public var preferredLanguage:String? // @DataMember public var preferredLanguageShort:String? required public init(){} } // @DataContract public class Translation : ITranslation, Codable { // @DataMember public var key:String? // @DataMember public var nl:String? // @DataMember public var en:String? // @DataMember public var de:String? // @DataMember public var fr:String? // @DataMember public var c1:String? // @DataMember public var c2:String? // @DataMember public var c3:String? // @DataMember public var c4:String? // @DataMember public var c5:String? // @DataMember public var c6:String? required public init(){} } public protocol ITranslation { // @DataMember var key:String? { get set } // @DataMember var nl:String? { get set } // @DataMember var en:String? { get set } // @DataMember var de:String? { get set } // @DataMember var fr:String? { get set } // @DataMember var c1:String? { get set } // @DataMember var c2:String? { get set } // @DataMember var c3:String? { get set } // @DataMember var c4:String? { get set } // @DataMember var c5:String? { get set } // @DataMember var c6:String? { get set } }