-
Notifications
You must be signed in to change notification settings - Fork 3
/
model_search_emails_options.go
33 lines (32 loc) · 1.8 KB
/
model_search_emails_options.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
/*
* 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
import (
"time"
)
// SearchEmailsOptions struct for SearchEmailsOptions
type SearchEmailsOptions struct {
// Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.
InboxIds []string `json:"inboxIds,omitempty"`
// Optional page index in email list pagination
PageIndex int32 `json:"pageIndex,omitempty"`
// Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results
PageSize int32 `json:"pageSize,omitempty"`
// Optional createdAt sort direction ASC or DESC
SortDirection string `json:"sortDirection,omitempty"`
// Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly
UnreadOnly bool `json:"unreadOnly,omitempty"`
// Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body
SearchFilter string `json:"searchFilter,omitempty"`
// Optional filter emails received after given date time
Since time.Time `json:"since,omitempty"`
// Optional filter emails received before given date time
Before time.Time `json:"before,omitempty"`
}