com.svix.kotlin.models.MessageAttemptExhaustedEvent.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.MessageAttemptExhaustedEventData
import com.squareup.moshi.Json
/**
* Sent when a message delivery has failed (all of the retry attempts have been exhausted).
* @param data
* @param type
*/
data class MessageAttemptExhaustedEvent (
@Json(name = "data")
val data: MessageAttemptExhaustedEventData,
@Json(name = "type")
val type: MessageAttemptExhaustedEvent.Type
) {
/**
*
* Values: messagePeriodAttemptPeriodExhausted
*/
enum class Type(val value: kotlin.String) {
@Json(name = "message.attempt.exhausted") messagePeriodAttemptPeriodExhausted("message.attempt.exhausted");
}
}