-
Notifications
You must be signed in to change notification settings - Fork 3
/
model_download_attachment_dto.go
20 lines (19 loc) · 1.21 KB
/
model_download_attachment_dto.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
* 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: contact@mailslurp.dev
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package MailSlurpClient
// DownloadAttachmentDto Content of attachment
type DownloadAttachmentDto struct {
// Base64 encoded string of attachment bytes. Decode the base64 encoded string to get the raw contents. If the file has a content type such as `text/html` you can read the contents directly by converting it to string using `utf-8` encoding.
Base64FileContents string `json:"base64FileContents"`
// Content type of attachment. Examples are `image/png`, `application/msword`, `text/csv` etc.
ContentType string `json:"contentType"`
// Size in bytes of attachment content
SizeBytes int64 `json:"sizeBytes"`
}