com.svix.kotlin.models.EndpointUpdatedEvent.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.EndpointUpdatedEventData
import com.squareup.moshi.Json
/**
* Sent when an endpoint is updated.
* @param data
* @param type
*/
data class EndpointUpdatedEvent (
@Json(name = "data")
val data: EndpointUpdatedEventData,
@Json(name = "type")
val type: EndpointUpdatedEvent.Type
) {
/**
*
* Values: endpointPeriodUpdated
*/
enum class Type(val value: kotlin.String) {
@Json(name = "endpoint.updated") endpointPeriodUpdated("endpoint.updated");
}
}