commonMain.tools.ozone.communication.TemplateView.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluesky Show documentation
Show all versions of bluesky Show documentation
Bluesky Social API bindings for Kotlin.
The newest version!
@file:Suppress("DEPRECATION")
package tools.ozone.communication
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Did
import sh.christian.ozone.api.Language
import sh.christian.ozone.api.model.Timestamp
/**
* @param name Name of the template.
* @param subject Content of the template, can contain markdown and variable placeholders.
* @param contentMarkdown Subject of the message, used in emails.
* @param lang Message language.
* @param lastUpdatedBy DID of the user who last updated the template.
*/
@Serializable
public data class TemplateView(
public val id: String,
/**
* Name of the template.
*/
public val name: String,
/**
* Content of the template, can contain markdown and variable placeholders.
*/
public val subject: String? = null,
/**
* Subject of the message, used in emails.
*/
public val contentMarkdown: String,
public val disabled: Boolean,
/**
* Message language.
*/
public val lang: Language? = null,
/**
* DID of the user who last updated the template.
*/
public val lastUpdatedBy: Did,
public val createdAt: Timestamp,
public val updatedAt: Timestamp,
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy