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

com.svix.kotlin.models.MessageOut.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.squareup.moshi.Json

/**
 * 
 * @param eventType The event type's name
 * @param id The msg's ID
 * @param payload 
 * @param timestamp 
 * @param channels List of free-form identifiers that endpoints can filter by
 * @param eventId Optional unique identifier for the message
 * @param tags 
 */

data class MessageOut (
    /* 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 = "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 = "tags")
    val tags: kotlin.collections.Set? = null
)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy