com.svix.kotlin.models.CreateMessageTokenIn.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 name The name of the token.
* @param expiry How long the token will be valid for, in seconds.
*/
data class CreateMessageTokenIn (
/* The name of the token. */
@Json(name = "name")
val name: kotlin.String,
/* How long the token will be valid for, in seconds. */
@Json(name = "expiry")
val expiry: kotlin.Int? = null
)