// This file is @generated
{% set ty_name = type.name | to_upper_camel_case -%}
package com.svix.models;

import com.fasterxml.jackson.annotation.JsonValue;
import com.svix.Utils.ToQueryParam;

public enum {{ ty_name }} implements ToQueryParam {
    {% for value in type.values -%}
    {{ value | to_upper_snake_case }}("{{ value }}") {% if loop.last %};{% else %},{% endif %}
    {% endfor -%}
    private final String value;

    {{ ty_name }}(String value) {
        this.value = value;
    }

    @JsonValue
    public String getValue() {
        return this.value;
    }

    @Override
    public String toQueryParam() {
        return this.value;
    }
}
