All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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");
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy