com.svix.kotlin.models.SinkInOneOf1.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.squareup.moshi.Json
/**
*
* @param accessKey
* @param queueDsn
* @param region
* @param secretKey
* @param type
*/
data class SinkInOneOf1 (
@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 = "type")
val type: SinkInOneOf1.Type
) {
/**
*
* Values: sqs
*/
enum class Type(val value: kotlin.String) {
@Json(name = "sqs") sqs("sqs");
}
}