-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmodel_attachment_meta_data.go
24 lines (23 loc) · 1.26 KB
/
model_attachment_meta_data.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
/*
* 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://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository
*
* API version: 6.5.2
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package MailSlurpClient
// AttachmentMetaData Meta data associated with an attachment. Attachments are stored as byte blobs so the meta data is stored separately.
type AttachmentMetaData struct {
// Name of attachment if given
Name string `json:"name"`
// Content type of attachment such as `image/png`
ContentType string `json:"contentType"`
// Size of attachment in bytes
ContentLength int64 `json:"contentLength"`
// ID of attachment. Can be used to with attachment controller endpoints to download attachment or with sending methods to attach to an email.
Id string `json:"id"`
// CID of attachment
ContentId *string `json:"contentId,omitempty"`
}