model

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EmailTypeInbox represents an inbox email
	EmailTypeInbox = "inbox"
	// EmailTypeInbox represents a sent email
	EmailTypeSent = "sent"
	// EmailTypeInbox represents a draft email
	EmailTypeDraft = "draft"

	// TODO: refactor
	// EmailTypeThread represents a thread, which is a group of emails
	EmailTypeThread = "thread"
)

The constants representing email types

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	ContentID         string            `json:"contentID"`
	ContentType       string            `json:"contentType"`
	ContentTypeParams map[string]string `json:"contentTypeParams"`
	Filename          string            `json:"filename"`
}

func (File) ToAttributeValue

func (f File) ToAttributeValue() dynamodbTypes.AttributeValue

type Files

type Files []File

func (Files) ToAttributeValue

func (fs Files) ToAttributeValue() dynamodbTypes.AttributeValue

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL