// This file is @generated
package com.svix.kotlin.models

import com.svix.kotlin.ToQueryParam
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonPrimitive
import kotlinx.serialization.json.encodeToJsonElement
import kotlinx.serialization.json.jsonPrimitive


@Serializable
enum class {{ type.name | to_upper_camel_case }} : ToQueryParam {
    {% for value in type.values -%}
    @SerialName("{{ value }}")
    {{ value | to_upper_snake_case }} {% if loop.last %};{% else %},{% endif %}
    {% endfor -%}
    override fun toQueryParam() = Json.encodeToJsonElement(this).jsonPrimitive.content
}
