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