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

com.svix.kotlin.models.MessageAttemptFailingEvent.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.MessageAttemptFailingEventData

import com.squareup.moshi.Json

/**
 * Sent after a message has been failing for a few times. It's sent on the fourth failure. It complements `message.attempt.exhausted` which is sent after the last failure.
 * @param data 
 * @param type 
 */

data class MessageAttemptFailingEvent (
    @Json(name = "data")
    val data: MessageAttemptFailingEventData,
    @Json(name = "type")
    val type: MessageAttemptFailingEvent.Type
) {

    /**
     * 
     * Values: messagePeriodAttemptPeriodFailing
     */
    enum class Type(val value: kotlin.String) {
        @Json(name = "message.attempt.failing") messagePeriodAttemptPeriodFailing("message.attempt.failing");
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy