com.svix.kotlin.models.EndpointMessageOut.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.MessageStatus
import com.squareup.moshi.Json
/**
* A model containing information on a given message plus additional fields on the last attempt for that message.
* @param eventType The event type's name
* @param id The msg's ID
* @param payload
* @param status
* @param timestamp
* @param channels List of free-form identifiers that endpoints can filter by
* @param eventId Optional unique identifier for the message
* @param nextAttempt
* @param tags
*/
data class EndpointMessageOut (
/* The event type's name */
@Json(name = "eventType")
val eventType: kotlin.String,
/* The msg's ID */
@Json(name = "id")
val id: kotlin.String,
@Json(name = "payload")
val payload: kotlin.Any,
@Json(name = "status")
val status: MessageStatus,
@Json(name = "timestamp")
val timestamp: java.time.OffsetDateTime,
/* List of free-form identifiers that endpoints can filter by */
@Json(name = "channels")
val channels: kotlin.collections.Set? = null,
/* Optional unique identifier for the message */
@Json(name = "eventId")
val eventId: kotlin.String? = null,
@Json(name = "nextAttempt")
val nextAttempt: java.time.OffsetDateTime? = null,
@Json(name = "tags")
val tags: kotlin.collections.Set? = null
)