com.svix.kotlin.models.EndpointDisabledEvent.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.EndpointDisabledEventData
import com.squareup.moshi.Json
/**
* Sent when an endpoint has been automatically disabled after continuous failures.
* @param data
* @param type
*/
data class EndpointDisabledEvent (
@Json(name = "data")
val data: EndpointDisabledEventData,
@Json(name = "type")
val type: EndpointDisabledEvent.Type
) {
/**
*
* Values: endpointPeriodDisabled
*/
enum class Type(val value: kotlin.String) {
@Json(name = "endpoint.disabled") endpointPeriodDisabled("endpoint.disabled");
}
}