/* Options: Date: 2024-04-25 23:49:00 SwiftVersion: 5.0 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://grpc.servicestack.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: Protoc.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/protoc/{Lang}") public class Protoc : IReturn, Codable { public typealias Return = ProtocResponse public var lang:ProtocLang public var files:[String:String] = [:] public var protoUrl:String required public init(){} } public class ProtocResponse : Codable { public var lang:ProtocLang public var generatedFiles:[String:String] = [:] public var archiveUrl:String public var responseStatus:ResponseStatus required public init(){} } // @DataContract public enum ProtocLang : String, Codable { case Cpp case CSharp case Dart case Java case JavaLite case ObjectiveC case Php case Python case Ruby case Go case JavaScriptClosure case JavaScriptCommonJs case JavaScriptNodeJs case Swift case TypeScript case TypeScriptBinary }