/* Options: Date: 2024-11-21 11:32:36 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://grpc.servicestack.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: Protoc.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route("/protoc/{Lang}") open class Protoc : IReturn { var lang:ProtocLang? = null var files:HashMap = HashMap() var protoUrl:String? = null companion object { private val responseType = ProtocResponse::class.java } override fun getResponseType(): Any? = Protoc.responseType } open class ProtocResponse { var lang:ProtocLang? = null var generatedFiles:HashMap = HashMap() var archiveUrl:String? = null var responseStatus:ResponseStatus? = null } @DataContract enum class ProtocLang { Cpp, CSharp, Dart, Java, JavaLite, ObjectiveC, Php, Python, Ruby, Go, JavaScriptClosure, JavaScriptCommonJs, JavaScriptNodeJs, Swift, TypeScript, TypeScriptBinary, }