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

com.svix.kotlin.models.MessageAttemptEndpointOut.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.MessageAttemptTriggerType
import com.svix.kotlin.models.MessageOut
import com.svix.kotlin.models.MessageStatus

import com.squareup.moshi.Json

/**
 * 
 * @param endpointId The ep's ID
 * @param id The attempt's ID
 * @param msgId The msg's ID
 * @param response 
 * @param responseDurationMs Response duration in milliseconds.
 * @param responseStatusCode 
 * @param status 
 * @param timestamp 
 * @param triggerType 
 * @param url 
 * @param msg 
 */

data class MessageAttemptEndpointOut (
    /* The ep's ID */
    @Json(name = "endpointId")
    val endpointId: kotlin.String,
    /* The attempt's ID */
    @Json(name = "id")
    val id: kotlin.String,
    /* The msg's ID */
    @Json(name = "msgId")
    val msgId: kotlin.String,
    @Json(name = "response")
    val response: kotlin.String,
    /* Response duration in milliseconds. */
    @Json(name = "responseDurationMs")
    val responseDurationMs: kotlin.Long,
    @Json(name = "responseStatusCode")
    val responseStatusCode: kotlin.Int,
    @Json(name = "status")
    val status: MessageStatus,
    @Json(name = "timestamp")
    val timestamp: java.time.OffsetDateTime,
    @Json(name = "triggerType")
    val triggerType: MessageAttemptTriggerType,
    @Json(name = "url")
    val url: java.net.URI,
    @Json(name = "msg")
    val msg: MessageOut? = null
)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy