com.svix.kotlin.models.SinkOut.kt Maven / Gradle / Ivy
/**
* Svix API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.1.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.svix.kotlin.models
import com.svix.kotlin.models.KafkaSecurityProtocolType
import com.svix.kotlin.models.SinkInOneOf
import com.svix.kotlin.models.SinkInOneOf1
import com.svix.kotlin.models.SinkInOneOf2
import com.svix.kotlin.models.SinkInOneOf3
import com.squareup.moshi.Json
/**
*
* @param routingKey
* @param type
* @param uri
* @param accessKey
* @param queueDsn
* @param region
* @param secretKey
* @param brokers
* @param securityProtocol
* @param topic
* @param url
* @param saslPassword Password for SASL, if `security_protocol` is `sasl-ssl`.
* @param saslUsername Username for SASL, if `security_protocol` is `sasl-ssl`.
*/
data class SinkOut (
@Json(name = "routingKey")
val routingKey: kotlin.String,
@Json(name = "type")
val type: SinkOut.Type,
@Json(name = "uri")
val uri: kotlin.String,
@Json(name = "accessKey")
val accessKey: kotlin.String,
@Json(name = "queueDsn")
val queueDsn: java.net.URI,
@Json(name = "region")
val region: kotlin.String,
@Json(name = "secretKey")
val secretKey: kotlin.String,
@Json(name = "brokers")
val brokers: kotlin.String,
@Json(name = "securityProtocol")
val securityProtocol: KafkaSecurityProtocolType,
@Json(name = "topic")
val topic: kotlin.String,
@Json(name = "url")
val url: java.net.URI,
/* Password for SASL, if `security_protocol` is `sasl-ssl`. */
@Json(name = "saslPassword")
val saslPassword: kotlin.String? = null,
/* Username for SASL, if `security_protocol` is `sasl-ssl`. */
@Json(name = "saslUsername")
val saslUsername: kotlin.String? = null
) {
/**
*
* Values: http
*/
enum class Type(val value: kotlin.String) {
@Json(name = "http") http("http");
}
}