forked from mailslurp/mailslurp-client-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_email_preview.go
32 lines (31 loc) · 1.63 KB
/
model_email_preview.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* MailSlurp API
*
* MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
*
* API version: d1659dc1567a5b62f65d0612107a50aace03e085
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package mailslurp
import (
"time"
)
// EmailPreview Preview of an email message. For full message (including body and attachments) call the `getEmail` or other email endpoints with the provided email ID.
type EmailPreview struct {
// List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.
Attachments []string `json:"attachments,omitempty"`
// List of `BCC` recipients email was addressed to
Bcc []string `json:"bcc,omitempty"`
// List of `CC` recipients email was addressed to
Cc []string `json:"cc,omitempty"`
// When was the email received by MailSlurp
CreatedAt time.Time `json:"createdAt,omitempty"`
// ID of the email
Id string `json:"id,omitempty"`
// Has the email been viewed ever
Read bool `json:"read,omitempty"`
// The subject line of the email message
Subject string `json:"subject,omitempty"`
// List of `To` recipients email was addressed to
To []string `json:"to,omitempty"`
}