// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package ozone

// schema: tools.ozone.communication.defs

// CommunicationDefs_TemplateView is a "templateView" in the tools.ozone.communication.defs schema.
type CommunicationDefs_TemplateView struct {
	// contentMarkdown: Subject of the message, used in emails.
	ContentMarkdown string `json:"contentMarkdown" cborgen:"contentMarkdown"`
	CreatedAt       string `json:"createdAt" cborgen:"createdAt"`
	Disabled        bool   `json:"disabled" cborgen:"disabled"`
	Id              string `json:"id" cborgen:"id"`
	// lang: Message language.
	Lang *string `json:"lang,omitempty" cborgen:"lang,omitempty"`
	// lastUpdatedBy: DID of the user who last updated the template.
	LastUpdatedBy string `json:"lastUpdatedBy" cborgen:"lastUpdatedBy"`
	// name: Name of the template.
	Name string `json:"name" cborgen:"name"`
	// subject: Content of the template, can contain markdown and variable placeholders.
	Subject   *string `json:"subject,omitempty" cborgen:"subject,omitempty"`
	UpdatedAt string  `json:"updatedAt" cborgen:"updatedAt"`
}
