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

com.svix.kotlin.models.MessageBroadcastIn.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 payload 
 * @param channels List of free-form identifiers that endpoints can filter by
 * @param eventId Optional unique identifier for the message
 * @param payloadRetentionHours Optional number of hours to retain the message payload. Note that this is mutually exclusive with `payloadRetentionPeriod`.
 * @param payloadRetentionPeriod Optional number of days to retain the message payload. Defaults to 90. Note that this is mutually exclusive with `payloadRetentionHours`.
 */

data class MessageBroadcastIn (
    /* The event type's name */
    @Json(name = "eventType")
    val eventType: kotlin.String,
    @Json(name = "payload")
    val payload: kotlin.Any,
    /* 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,
    /* Optional number of hours to retain the message payload. Note that this is mutually exclusive with `payloadRetentionPeriod`. */
    @Json(name = "payloadRetentionHours")
    val payloadRetentionHours: kotlin.Long? = null,
    /* Optional number of days to retain the message payload. Defaults to 90. Note that this is mutually exclusive with `payloadRetentionHours`. */
    @Json(name = "payloadRetentionPeriod")
    val payloadRetentionPeriod: kotlin.Long? = null
)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy