-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmodel_attachment_entity_dto.go
37 lines (36 loc) · 1.69 KB
/
model_attachment_entity_dto.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
33
34
35
36
37
/*
* MailSlurp API
*
* MailSlurp is an API for sending and receiving emails and SMS from dynamically allocated email addresses and phone numbers. 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
import (
"time"
)
// AttachmentEntityDto DTO representation of an attachment.
type AttachmentEntityDto struct {
// The unique identifier for this attachment.
Id string `json:"id"`
// The identifier of the attachment file
AttachmentId string `json:"attachmentId"`
// The user identifier associated with this attachment.
UserId string `json:"userId"`
// The content type of the attachment.
ContentType *string `json:"contentType,omitempty"`
// The content length of the attachment in bytes.
ContentLength *int64 `json:"contentLength,omitempty"`
// The content identifier, which is a unique ID for the content part of the email.
ContentId *string `json:"contentId,omitempty"`
// The name of the attachment file.
Name *string `json:"name,omitempty"`
// The inbox identifier associated with this attachment.
InboxId *string `json:"inboxId,omitempty"`
// The timestamp when this attachment was created.
CreatedAt time.Time `json:"createdAt"`
// The timestamp when this attachment was last updated.
UpdatedAt time.Time `json:"updatedAt"`
}