mail_1_0

package
v1.6.84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) CreateMailFolder added in v1.6.72

func (client *Client) CreateMailFolder(email *string, request *CreateMailFolderRequest) (_result *CreateMailFolderResponse, _err error)

Summary:

创建邮件文件夹

@param request - CreateMailFolderRequest

@return CreateMailFolderResponse

func (*Client) CreateMailFolderWithOptions added in v1.6.72

func (client *Client) CreateMailFolderWithOptions(email *string, request *CreateMailFolderRequest, headers *CreateMailFolderHeaders, runtime *util.RuntimeOptions) (_result *CreateMailFolderResponse, _err error)

Summary:

创建邮件文件夹

@param request - CreateMailFolderRequest

@param headers - CreateMailFolderHeaders

@param runtime - runtime options for this request RuntimeOptions

@return CreateMailFolderResponse

func (*Client) CreateMessage added in v1.6.72

func (client *Client) CreateMessage(email *string, request *CreateMessageRequest) (_result *CreateMessageResponse, _err error)

Summary:

创建草稿

@param request - CreateMessageRequest

@return CreateMessageResponse

func (*Client) CreateMessageWithOptions added in v1.6.72

func (client *Client) CreateMessageWithOptions(email *string, request *CreateMessageRequest, headers *CreateMessageHeaders, runtime *util.RuntimeOptions) (_result *CreateMessageResponse, _err error)

Summary:

创建草稿

@param request - CreateMessageRequest

@param headers - CreateMessageHeaders

@param runtime - runtime options for this request RuntimeOptions

@return CreateMessageResponse

func (*Client) CreateUser

func (client *Client) CreateUser(request *CreateUserRequest) (_result *CreateUserResponse, _err error)

Summary:

创建企业邮箱用户

@param request - CreateUserRequest

@return CreateUserResponse

func (*Client) CreateUserWithOptions

func (client *Client) CreateUserWithOptions(request *CreateUserRequest, headers *CreateUserHeaders, runtime *util.RuntimeOptions) (_result *CreateUserResponse, _err error)

Summary:

创建企业邮箱用户

@param request - CreateUserRequest

@param headers - CreateUserHeaders

@param runtime - runtime options for this request RuntimeOptions

@return CreateUserResponse

func (*Client) DeleteMailFolder added in v1.6.72

func (client *Client) DeleteMailFolder(email *string, id *string) (_result *DeleteMailFolderResponse, _err error)

Summary:

删除文件夹

@return DeleteMailFolderResponse

func (*Client) DeleteMailFolderWithOptions added in v1.6.72

func (client *Client) DeleteMailFolderWithOptions(email *string, id *string, headers *DeleteMailFolderHeaders, runtime *util.RuntimeOptions) (_result *DeleteMailFolderResponse, _err error)

Summary:

删除文件夹

@param headers - DeleteMailFolderHeaders

@param runtime - runtime options for this request RuntimeOptions

@return DeleteMailFolderResponse

func (*Client) DeleteMessages added in v1.6.72

func (client *Client) DeleteMessages(email *string, request *DeleteMessagesRequest) (_result *DeleteMessagesResponse, _err error)

Summary:

批量删除邮件

@param request - DeleteMessagesRequest

@return DeleteMessagesResponse

func (*Client) DeleteMessagesWithOptions added in v1.6.72

func (client *Client) DeleteMessagesWithOptions(email *string, request *DeleteMessagesRequest, headers *DeleteMessagesHeaders, runtime *util.RuntimeOptions) (_result *DeleteMessagesResponse, _err error)

Summary:

批量删除邮件

@param request - DeleteMessagesRequest

@param headers - DeleteMessagesHeaders

@param runtime - runtime options for this request RuntimeOptions

@return DeleteMessagesResponse

func (*Client) GetMessage added in v1.6.72

func (client *Client) GetMessage(email *string, id *string, request *GetMessageRequest) (_result *GetMessageResponse, _err error)

Summary:

获取邮件元数据

@param request - GetMessageRequest

@return GetMessageResponse

func (*Client) GetMessageWithOptions added in v1.6.72

func (client *Client) GetMessageWithOptions(email *string, id *string, request *GetMessageRequest, headers *GetMessageHeaders, runtime *util.RuntimeOptions) (_result *GetMessageResponse, _err error)

Summary:

获取邮件元数据

@param request - GetMessageRequest

@param headers - GetMessageHeaders

@param runtime - runtime options for this request RuntimeOptions

@return GetMessageResponse

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListMailFolders added in v1.6.72

func (client *Client) ListMailFolders(email *string, request *ListMailFoldersRequest) (_result *ListMailFoldersResponse, _err error)

Summary:

获取指定文件夹的子文件夹列表

@param request - ListMailFoldersRequest

@return ListMailFoldersResponse

func (*Client) ListMailFoldersWithOptions added in v1.6.72

func (client *Client) ListMailFoldersWithOptions(email *string, request *ListMailFoldersRequest, headers *ListMailFoldersHeaders, runtime *util.RuntimeOptions) (_result *ListMailFoldersResponse, _err error)

Summary:

获取指定文件夹的子文件夹列表

@param request - ListMailFoldersRequest

@param headers - ListMailFoldersHeaders

@param runtime - runtime options for this request RuntimeOptions

@return ListMailFoldersResponse

func (*Client) ListMessages added in v1.6.72

func (client *Client) ListMessages(email *string, folderId *string, request *ListMessagesRequest) (_result *ListMessagesResponse, _err error)

Summary:

获取邮件列表

@param request - ListMessagesRequest

@return ListMessagesResponse

func (*Client) ListMessagesWithOptions added in v1.6.72

func (client *Client) ListMessagesWithOptions(email *string, folderId *string, request *ListMessagesRequest, headers *ListMessagesHeaders, runtime *util.RuntimeOptions) (_result *ListMessagesResponse, _err error)

Summary:

获取邮件列表

@param request - ListMessagesRequest

@param headers - ListMessagesHeaders

@param runtime - runtime options for this request RuntimeOptions

@return ListMessagesResponse

func (*Client) MoveMailFolder added in v1.6.72

func (client *Client) MoveMailFolder(email *string, id *string, request *MoveMailFolderRequest) (_result *MoveMailFolderResponse, _err error)

Summary:

移动文件夹

@param request - MoveMailFolderRequest

@return MoveMailFolderResponse

func (*Client) MoveMailFolderWithOptions added in v1.6.72

func (client *Client) MoveMailFolderWithOptions(email *string, id *string, request *MoveMailFolderRequest, headers *MoveMailFolderHeaders, runtime *util.RuntimeOptions) (_result *MoveMailFolderResponse, _err error)

Summary:

移动文件夹

@param request - MoveMailFolderRequest

@param headers - MoveMailFolderHeaders

@param runtime - runtime options for this request RuntimeOptions

@return MoveMailFolderResponse

func (*Client) SendMessage added in v1.6.72

func (client *Client) SendMessage(email *string, id *string, request *SendMessageRequest) (_result *SendMessageResponse, _err error)

Summary:

发送邮件

@param request - SendMessageRequest

@return SendMessageResponse

func (*Client) SendMessageWithOptions added in v1.6.72

func (client *Client) SendMessageWithOptions(email *string, id *string, request *SendMessageRequest, headers *SendMessageHeaders, runtime *util.RuntimeOptions) (_result *SendMessageResponse, _err error)

Summary:

发送邮件

@param request - SendMessageRequest

@param headers - SendMessageHeaders

@param runtime - runtime options for this request RuntimeOptions

@return SendMessageResponse

func (*Client) UpdateMailFolder added in v1.6.72

func (client *Client) UpdateMailFolder(email *string, id *string, request *UpdateMailFolderRequest) (_result *UpdateMailFolderResponse, _err error)

Summary:

修改文件夹信息

@param request - UpdateMailFolderRequest

@return UpdateMailFolderResponse

func (*Client) UpdateMailFolderWithOptions added in v1.6.72

func (client *Client) UpdateMailFolderWithOptions(email *string, id *string, request *UpdateMailFolderRequest, headers *UpdateMailFolderHeaders, runtime *util.RuntimeOptions) (_result *UpdateMailFolderResponse, _err error)

Summary:

修改文件夹信息

@param request - UpdateMailFolderRequest

@param headers - UpdateMailFolderHeaders

@param runtime - runtime options for this request RuntimeOptions

@return UpdateMailFolderResponse

func (*Client) UpdateMessage added in v1.6.72

func (client *Client) UpdateMessage(email *string, id *string, request *UpdateMessageRequest) (_result *UpdateMessageResponse, _err error)

Summary:

修改草稿

@param request - UpdateMessageRequest

@return UpdateMessageResponse

func (*Client) UpdateMessageWithOptions added in v1.6.72

func (client *Client) UpdateMessageWithOptions(email *string, id *string, request *UpdateMessageRequest, headers *UpdateMessageHeaders, runtime *util.RuntimeOptions) (_result *UpdateMessageResponse, _err error)

Summary:

修改草稿

@param request - UpdateMessageRequest

@param headers - UpdateMessageHeaders

@param runtime - runtime options for this request RuntimeOptions

@return UpdateMessageResponse

type CreateMailFolderHeaders added in v1.6.72

type CreateMailFolderHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (CreateMailFolderHeaders) GoString added in v1.6.72

func (s CreateMailFolderHeaders) GoString() string

func (*CreateMailFolderHeaders) SetCommonHeaders added in v1.6.72

func (s *CreateMailFolderHeaders) SetCommonHeaders(v map[string]*string) *CreateMailFolderHeaders

func (*CreateMailFolderHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *CreateMailFolderHeaders) SetXAcsDingtalkAccessToken(v string) *CreateMailFolderHeaders

func (CreateMailFolderHeaders) String added in v1.6.72

func (s CreateMailFolderHeaders) String() string

type CreateMailFolderRequest added in v1.6.72

type CreateMailFolderRequest struct {
	// This parameter is required.
	DisplayName *string                `json:"displayName,omitempty" xml:"displayName,omitempty"`
	Extensions  map[string]interface{} `json:"extensions,omitempty" xml:"extensions,omitempty"`
	FolerId     *string                `json:"folerId,omitempty" xml:"folerId,omitempty"`
}

func (CreateMailFolderRequest) GoString added in v1.6.72

func (s CreateMailFolderRequest) GoString() string

func (*CreateMailFolderRequest) SetDisplayName added in v1.6.72

func (*CreateMailFolderRequest) SetExtensions added in v1.6.72

func (s *CreateMailFolderRequest) SetExtensions(v map[string]interface{}) *CreateMailFolderRequest

func (*CreateMailFolderRequest) SetFolerId added in v1.6.72

func (CreateMailFolderRequest) String added in v1.6.72

func (s CreateMailFolderRequest) String() string

type CreateMailFolderResponse added in v1.6.72

type CreateMailFolderResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateMailFolderResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateMailFolderResponse) GoString added in v1.6.72

func (s CreateMailFolderResponse) GoString() string

func (*CreateMailFolderResponse) SetBody added in v1.6.72

func (*CreateMailFolderResponse) SetHeaders added in v1.6.72

func (*CreateMailFolderResponse) SetStatusCode added in v1.6.72

func (CreateMailFolderResponse) String added in v1.6.72

func (s CreateMailFolderResponse) String() string

type CreateMailFolderResponseBody added in v1.6.72

type CreateMailFolderResponseBody struct {
	Folder    *CreateMailFolderResponseBodyFolder `json:"folder,omitempty" xml:"folder,omitempty" type:"Struct"`
	RequestId *string                             `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (CreateMailFolderResponseBody) GoString added in v1.6.72

func (s CreateMailFolderResponseBody) GoString() string

func (*CreateMailFolderResponseBody) SetFolder added in v1.6.72

func (*CreateMailFolderResponseBody) SetRequestId added in v1.6.72

func (CreateMailFolderResponseBody) String added in v1.6.72

type CreateMailFolderResponseBodyFolder added in v1.6.72

type CreateMailFolderResponseBodyFolder struct {
	ChildFolderCount *int32                 `json:"childFolderCount,omitempty" xml:"childFolderCount,omitempty"`
	DisplayName      *string                `json:"displayName,omitempty" xml:"displayName,omitempty"`
	Extensions       map[string]interface{} `json:"extensions,omitempty" xml:"extensions,omitempty"`
	Id               *string                `json:"id,omitempty" xml:"id,omitempty"`
	ParentFolderId   *string                `json:"parentFolderId,omitempty" xml:"parentFolderId,omitempty"`
	TotalItemCount   *int32                 `json:"totalItemCount,omitempty" xml:"totalItemCount,omitempty"`
	UnreadItemCount  *int32                 `json:"unreadItemCount,omitempty" xml:"unreadItemCount,omitempty"`
}

func (CreateMailFolderResponseBodyFolder) GoString added in v1.6.72

func (*CreateMailFolderResponseBodyFolder) SetChildFolderCount added in v1.6.72

func (*CreateMailFolderResponseBodyFolder) SetDisplayName added in v1.6.72

func (*CreateMailFolderResponseBodyFolder) SetExtensions added in v1.6.72

func (*CreateMailFolderResponseBodyFolder) SetId added in v1.6.72

func (*CreateMailFolderResponseBodyFolder) SetParentFolderId added in v1.6.72

func (*CreateMailFolderResponseBodyFolder) SetTotalItemCount added in v1.6.72

func (*CreateMailFolderResponseBodyFolder) SetUnreadItemCount added in v1.6.72

func (CreateMailFolderResponseBodyFolder) String added in v1.6.72

type CreateMessageHeaders added in v1.6.72

type CreateMessageHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (CreateMessageHeaders) GoString added in v1.6.72

func (s CreateMessageHeaders) GoString() string

func (*CreateMessageHeaders) SetCommonHeaders added in v1.6.72

func (s *CreateMessageHeaders) SetCommonHeaders(v map[string]*string) *CreateMessageHeaders

func (*CreateMessageHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *CreateMessageHeaders) SetXAcsDingtalkAccessToken(v string) *CreateMessageHeaders

func (CreateMessageHeaders) String added in v1.6.72

func (s CreateMessageHeaders) String() string

type CreateMessageRequest added in v1.6.72

type CreateMessageRequest struct {
	Message *DraftMessage `json:"message,omitempty" xml:"message,omitempty"`
}

func (CreateMessageRequest) GoString added in v1.6.72

func (s CreateMessageRequest) GoString() string

func (*CreateMessageRequest) SetMessage added in v1.6.72

func (CreateMessageRequest) String added in v1.6.72

func (s CreateMessageRequest) String() string

type CreateMessageResponse added in v1.6.72

type CreateMessageResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateMessageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateMessageResponse) GoString added in v1.6.72

func (s CreateMessageResponse) GoString() string

func (*CreateMessageResponse) SetBody added in v1.6.72

func (*CreateMessageResponse) SetHeaders added in v1.6.72

func (*CreateMessageResponse) SetStatusCode added in v1.6.72

func (s *CreateMessageResponse) SetStatusCode(v int32) *CreateMessageResponse

func (CreateMessageResponse) String added in v1.6.72

func (s CreateMessageResponse) String() string

type CreateMessageResponseBody added in v1.6.72

type CreateMessageResponseBody struct {
	Message   *Message `json:"message,omitempty" xml:"message,omitempty"`
	RequestId *string  `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (CreateMessageResponseBody) GoString added in v1.6.72

func (s CreateMessageResponseBody) GoString() string

func (*CreateMessageResponseBody) SetMessage added in v1.6.72

func (*CreateMessageResponseBody) SetRequestId added in v1.6.72

func (CreateMessageResponseBody) String added in v1.6.72

func (s CreateMessageResponseBody) String() string

type CreateUserHeaders

type CreateUserHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (CreateUserHeaders) GoString

func (s CreateUserHeaders) GoString() string

func (*CreateUserHeaders) SetCommonHeaders

func (s *CreateUserHeaders) SetCommonHeaders(v map[string]*string) *CreateUserHeaders

func (*CreateUserHeaders) SetXAcsDingtalkAccessToken

func (s *CreateUserHeaders) SetXAcsDingtalkAccessToken(v string) *CreateUserHeaders

func (CreateUserHeaders) String

func (s CreateUserHeaders) String() string

type CreateUserRequest

type CreateUserRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// user@yourcompany.org
	Email *string `json:"email,omitempty" xml:"email,omitempty"`
	// This parameter is required.
	EmployeeType *string `json:"employeeType,omitempty" xml:"employeeType,omitempty"`
	// This parameter is required.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// password
	Password *string `json:"password,omitempty" xml:"password,omitempty"`
}

func (CreateUserRequest) GoString

func (s CreateUserRequest) GoString() string

func (*CreateUserRequest) SetEmail

func (s *CreateUserRequest) SetEmail(v string) *CreateUserRequest

func (*CreateUserRequest) SetEmployeeType

func (s *CreateUserRequest) SetEmployeeType(v string) *CreateUserRequest

func (*CreateUserRequest) SetName

func (*CreateUserRequest) SetPassword

func (s *CreateUserRequest) SetPassword(v string) *CreateUserRequest

func (CreateUserRequest) String

func (s CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateUserResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateUserResponse) GoString

func (s CreateUserResponse) GoString() string

func (*CreateUserResponse) SetBody

func (*CreateUserResponse) SetHeaders

func (s *CreateUserResponse) SetHeaders(v map[string]*string) *CreateUserResponse

func (*CreateUserResponse) SetStatusCode

func (s *CreateUserResponse) SetStatusCode(v int32) *CreateUserResponse

func (CreateUserResponse) String

func (s CreateUserResponse) String() string

type CreateUserResponseBody

type CreateUserResponseBody struct {
	Email *string `json:"email,omitempty" xml:"email,omitempty"`
}

func (CreateUserResponseBody) GoString

func (s CreateUserResponseBody) GoString() string

func (*CreateUserResponseBody) SetEmail

func (CreateUserResponseBody) String

func (s CreateUserResponseBody) String() string

type DeleteMailFolderHeaders added in v1.6.72

type DeleteMailFolderHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (DeleteMailFolderHeaders) GoString added in v1.6.72

func (s DeleteMailFolderHeaders) GoString() string

func (*DeleteMailFolderHeaders) SetCommonHeaders added in v1.6.72

func (s *DeleteMailFolderHeaders) SetCommonHeaders(v map[string]*string) *DeleteMailFolderHeaders

func (*DeleteMailFolderHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *DeleteMailFolderHeaders) SetXAcsDingtalkAccessToken(v string) *DeleteMailFolderHeaders

func (DeleteMailFolderHeaders) String added in v1.6.72

func (s DeleteMailFolderHeaders) String() string

type DeleteMailFolderResponse added in v1.6.72

type DeleteMailFolderResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteMailFolderResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteMailFolderResponse) GoString added in v1.6.72

func (s DeleteMailFolderResponse) GoString() string

func (*DeleteMailFolderResponse) SetBody added in v1.6.72

func (*DeleteMailFolderResponse) SetHeaders added in v1.6.72

func (*DeleteMailFolderResponse) SetStatusCode added in v1.6.72

func (DeleteMailFolderResponse) String added in v1.6.72

func (s DeleteMailFolderResponse) String() string

type DeleteMailFolderResponseBody added in v1.6.72

type DeleteMailFolderResponseBody struct {
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (DeleteMailFolderResponseBody) GoString added in v1.6.72

func (s DeleteMailFolderResponseBody) GoString() string

func (*DeleteMailFolderResponseBody) SetRequestId added in v1.6.72

func (DeleteMailFolderResponseBody) String added in v1.6.72

type DeleteMessagesHeaders added in v1.6.72

type DeleteMessagesHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (DeleteMessagesHeaders) GoString added in v1.6.72

func (s DeleteMessagesHeaders) GoString() string

func (*DeleteMessagesHeaders) SetCommonHeaders added in v1.6.72

func (s *DeleteMessagesHeaders) SetCommonHeaders(v map[string]*string) *DeleteMessagesHeaders

func (*DeleteMessagesHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *DeleteMessagesHeaders) SetXAcsDingtalkAccessToken(v string) *DeleteMessagesHeaders

func (DeleteMessagesHeaders) String added in v1.6.72

func (s DeleteMessagesHeaders) String() string

type DeleteMessagesRequest added in v1.6.72

type DeleteMessagesRequest struct {
	DeleteType *string `json:"deleteType,omitempty" xml:"deleteType,omitempty"`
	// This parameter is required.
	Ids []*string `json:"ids,omitempty" xml:"ids,omitempty" type:"Repeated"`
}

func (DeleteMessagesRequest) GoString added in v1.6.72

func (s DeleteMessagesRequest) GoString() string

func (*DeleteMessagesRequest) SetDeleteType added in v1.6.72

func (s *DeleteMessagesRequest) SetDeleteType(v string) *DeleteMessagesRequest

func (*DeleteMessagesRequest) SetIds added in v1.6.72

func (DeleteMessagesRequest) String added in v1.6.72

func (s DeleteMessagesRequest) String() string

type DeleteMessagesResponse added in v1.6.72

type DeleteMessagesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteMessagesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteMessagesResponse) GoString added in v1.6.72

func (s DeleteMessagesResponse) GoString() string

func (*DeleteMessagesResponse) SetBody added in v1.6.72

func (*DeleteMessagesResponse) SetHeaders added in v1.6.72

func (*DeleteMessagesResponse) SetStatusCode added in v1.6.72

func (DeleteMessagesResponse) String added in v1.6.72

func (s DeleteMessagesResponse) String() string

type DeleteMessagesResponseBody added in v1.6.72

type DeleteMessagesResponseBody struct {
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (DeleteMessagesResponseBody) GoString added in v1.6.72

func (s DeleteMessagesResponseBody) GoString() string

func (*DeleteMessagesResponseBody) SetRequestId added in v1.6.72

func (DeleteMessagesResponseBody) String added in v1.6.72

type DraftMessage added in v1.6.72

type DraftMessage struct {
	// This parameter is required.
	BccRecipients []*Recipient `json:"bccRecipients,omitempty" xml:"bccRecipients,omitempty" type:"Repeated"`
	// This parameter is required.
	Body *DraftMessageBody `json:"body,omitempty" xml:"body,omitempty" type:"Struct"`
	// This parameter is required.
	CcRecipients []*Recipient `json:"ccRecipients,omitempty" xml:"ccRecipients,omitempty" type:"Repeated"`
	// This parameter is required.
	From *Recipient `json:"from,omitempty" xml:"from,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 由RFC5322定义的邮件头集合
	InternetMessageHeaders map[string]interface{} `json:"internetMessageHeaders,omitempty" xml:"internetMessageHeaders,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// uniqid@dingtalk.com
	InternetMessageId io.Reader `json:"internetMessageId,omitempty" xml:"internetMessageId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// false
	IsReadReceiptRequested *bool `json:"isReadReceiptRequested,omitempty" xml:"isReadReceiptRequested,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// PRY_NORMAL
	Priority io.Reader `json:"priority,omitempty" xml:"priority,omitempty"`
	// This parameter is required.
	ReplyTo *Recipient `json:"replyTo,omitempty" xml:"replyTo,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 主题
	Subject io.Reader `json:"subject,omitempty" xml:"subject,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 一般取邮件正文的前一段
	Summary io.Reader `json:"summary,omitempty" xml:"summary,omitempty"`
	// This parameter is required.
	Tags []io.Reader `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// This parameter is required.
	ToRecipients []*Recipient `json:"toRecipients,omitempty" xml:"toRecipients,omitempty" type:"Repeated"`
}

func (DraftMessage) GoString added in v1.6.72

func (s DraftMessage) GoString() string

func (*DraftMessage) SetBccRecipients added in v1.6.72

func (s *DraftMessage) SetBccRecipients(v []*Recipient) *DraftMessage

func (*DraftMessage) SetBody added in v1.6.72

func (s *DraftMessage) SetBody(v *DraftMessageBody) *DraftMessage

func (*DraftMessage) SetCcRecipients added in v1.6.72

func (s *DraftMessage) SetCcRecipients(v []*Recipient) *DraftMessage

func (*DraftMessage) SetFrom added in v1.6.72

func (s *DraftMessage) SetFrom(v *Recipient) *DraftMessage

func (*DraftMessage) SetInternetMessageHeaders added in v1.6.72

func (s *DraftMessage) SetInternetMessageHeaders(v map[string]interface{}) *DraftMessage

func (*DraftMessage) SetInternetMessageId added in v1.6.72

func (s *DraftMessage) SetInternetMessageId(v io.Reader) *DraftMessage

func (*DraftMessage) SetIsReadReceiptRequested added in v1.6.72

func (s *DraftMessage) SetIsReadReceiptRequested(v bool) *DraftMessage

func (*DraftMessage) SetPriority added in v1.6.72

func (s *DraftMessage) SetPriority(v io.Reader) *DraftMessage

func (*DraftMessage) SetReplyTo added in v1.6.72

func (s *DraftMessage) SetReplyTo(v *Recipient) *DraftMessage

func (*DraftMessage) SetSubject added in v1.6.72

func (s *DraftMessage) SetSubject(v io.Reader) *DraftMessage

func (*DraftMessage) SetSummary added in v1.6.72

func (s *DraftMessage) SetSummary(v io.Reader) *DraftMessage

func (*DraftMessage) SetTags added in v1.6.72

func (s *DraftMessage) SetTags(v []io.Reader) *DraftMessage

func (*DraftMessage) SetToRecipients added in v1.6.72

func (s *DraftMessage) SetToRecipients(v []*Recipient) *DraftMessage

func (DraftMessage) String added in v1.6.72

func (s DraftMessage) String() string

type DraftMessageBody added in v1.6.72

type DraftMessageBody struct {
	// This parameter is required.
	BodyHtml io.Reader `json:"bodyHtml,omitempty" xml:"bodyHtml,omitempty"`
	// This parameter is required.
	BodyText io.Reader `json:"bodyText,omitempty" xml:"bodyText,omitempty"`
}

func (DraftMessageBody) GoString added in v1.6.72

func (s DraftMessageBody) GoString() string

func (*DraftMessageBody) SetBodyHtml added in v1.6.72

func (s *DraftMessageBody) SetBodyHtml(v io.Reader) *DraftMessageBody

func (*DraftMessageBody) SetBodyText added in v1.6.72

func (s *DraftMessageBody) SetBodyText(v io.Reader) *DraftMessageBody

func (DraftMessageBody) String added in v1.6.72

func (s DraftMessageBody) String() string

type GetMessageHeaders added in v1.6.72

type GetMessageHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetMessageHeaders) GoString added in v1.6.72

func (s GetMessageHeaders) GoString() string

func (*GetMessageHeaders) SetCommonHeaders added in v1.6.72

func (s *GetMessageHeaders) SetCommonHeaders(v map[string]*string) *GetMessageHeaders

func (*GetMessageHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *GetMessageHeaders) SetXAcsDingtalkAccessToken(v string) *GetMessageHeaders

func (GetMessageHeaders) String added in v1.6.72

func (s GetMessageHeaders) String() string

type GetMessageRequest added in v1.6.72

type GetMessageRequest struct {
	SelectFields *string `json:"selectFields,omitempty" xml:"selectFields,omitempty"`
}

func (GetMessageRequest) GoString added in v1.6.72

func (s GetMessageRequest) GoString() string

func (*GetMessageRequest) SetSelectFields added in v1.6.72

func (s *GetMessageRequest) SetSelectFields(v string) *GetMessageRequest

func (GetMessageRequest) String added in v1.6.72

func (s GetMessageRequest) String() string

type GetMessageResponse added in v1.6.72

type GetMessageResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetMessageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetMessageResponse) GoString added in v1.6.72

func (s GetMessageResponse) GoString() string

func (*GetMessageResponse) SetBody added in v1.6.72

func (*GetMessageResponse) SetHeaders added in v1.6.72

func (s *GetMessageResponse) SetHeaders(v map[string]*string) *GetMessageResponse

func (*GetMessageResponse) SetStatusCode added in v1.6.72

func (s *GetMessageResponse) SetStatusCode(v int32) *GetMessageResponse

func (GetMessageResponse) String added in v1.6.72

func (s GetMessageResponse) String() string

type GetMessageResponseBody added in v1.6.72

type GetMessageResponseBody struct {
	Message   *Message `json:"message,omitempty" xml:"message,omitempty"`
	RequestId *string  `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (GetMessageResponseBody) GoString added in v1.6.72

func (s GetMessageResponseBody) GoString() string

func (*GetMessageResponseBody) SetMessage added in v1.6.72

func (*GetMessageResponseBody) SetRequestId added in v1.6.72

func (GetMessageResponseBody) String added in v1.6.72

func (s GetMessageResponseBody) String() string

type ListMailFoldersHeaders added in v1.6.72

type ListMailFoldersHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListMailFoldersHeaders) GoString added in v1.6.72

func (s ListMailFoldersHeaders) GoString() string

func (*ListMailFoldersHeaders) SetCommonHeaders added in v1.6.72

func (s *ListMailFoldersHeaders) SetCommonHeaders(v map[string]*string) *ListMailFoldersHeaders

func (*ListMailFoldersHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *ListMailFoldersHeaders) SetXAcsDingtalkAccessToken(v string) *ListMailFoldersHeaders

func (ListMailFoldersHeaders) String added in v1.6.72

func (s ListMailFoldersHeaders) String() string

type ListMailFoldersRequest added in v1.6.72

type ListMailFoldersRequest struct {
	FolderId *string `json:"folderId,omitempty" xml:"folderId,omitempty"`
}

func (ListMailFoldersRequest) GoString added in v1.6.72

func (s ListMailFoldersRequest) GoString() string

func (*ListMailFoldersRequest) SetFolderId added in v1.6.72

func (ListMailFoldersRequest) String added in v1.6.72

func (s ListMailFoldersRequest) String() string

type ListMailFoldersResponse added in v1.6.72

type ListMailFoldersResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListMailFoldersResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListMailFoldersResponse) GoString added in v1.6.72

func (s ListMailFoldersResponse) GoString() string

func (*ListMailFoldersResponse) SetBody added in v1.6.72

func (*ListMailFoldersResponse) SetHeaders added in v1.6.72

func (*ListMailFoldersResponse) SetStatusCode added in v1.6.72

func (ListMailFoldersResponse) String added in v1.6.72

func (s ListMailFoldersResponse) String() string

type ListMailFoldersResponseBody added in v1.6.72

type ListMailFoldersResponseBody struct {
	Folders []*ListMailFoldersResponseBodyFolders `json:"folders,omitempty" xml:"folders,omitempty" type:"Repeated"`
}

func (ListMailFoldersResponseBody) GoString added in v1.6.72

func (s ListMailFoldersResponseBody) GoString() string

func (*ListMailFoldersResponseBody) SetFolders added in v1.6.72

func (ListMailFoldersResponseBody) String added in v1.6.72

type ListMailFoldersResponseBodyFolders added in v1.6.72

type ListMailFoldersResponseBodyFolders struct {
	// This parameter is required.
	ChildFolderCount *int32 `json:"childFolderCount,omitempty" xml:"childFolderCount,omitempty"`
	// This parameter is required.
	DisplayName *string            `json:"displayName,omitempty" xml:"displayName,omitempty"`
	Extensions  map[string]*string `json:"extensions,omitempty" xml:"extensions,omitempty"`
	// This parameter is required.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	ParentFolderId *string `json:"parentFolderId,omitempty" xml:"parentFolderId,omitempty"`
	// This parameter is required.
	TotalItemCount *int32 `json:"totalItemCount,omitempty" xml:"totalItemCount,omitempty"`
	// This parameter is required.
	UnreadItemCount *int32 `json:"unreadItemCount,omitempty" xml:"unreadItemCount,omitempty"`
}

func (ListMailFoldersResponseBodyFolders) GoString added in v1.6.72

func (*ListMailFoldersResponseBodyFolders) SetChildFolderCount added in v1.6.72

func (*ListMailFoldersResponseBodyFolders) SetDisplayName added in v1.6.72

func (*ListMailFoldersResponseBodyFolders) SetExtensions added in v1.6.72

func (*ListMailFoldersResponseBodyFolders) SetId added in v1.6.72

func (*ListMailFoldersResponseBodyFolders) SetParentFolderId added in v1.6.72

func (*ListMailFoldersResponseBodyFolders) SetTotalItemCount added in v1.6.72

func (*ListMailFoldersResponseBodyFolders) SetUnreadItemCount added in v1.6.72

func (ListMailFoldersResponseBodyFolders) String added in v1.6.72

type ListMessagesHeaders added in v1.6.72

type ListMessagesHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListMessagesHeaders) GoString added in v1.6.72

func (s ListMessagesHeaders) GoString() string

func (*ListMessagesHeaders) SetCommonHeaders added in v1.6.72

func (s *ListMessagesHeaders) SetCommonHeaders(v map[string]*string) *ListMessagesHeaders

func (*ListMessagesHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *ListMessagesHeaders) SetXAcsDingtalkAccessToken(v string) *ListMessagesHeaders

func (ListMessagesHeaders) String added in v1.6.72

func (s ListMessagesHeaders) String() string

type ListMessagesRequest added in v1.6.72

type ListMessagesRequest struct {
	// This parameter is required.
	MaxResults   *int32  `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	NextToken    *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	SelectFields *string `json:"selectFields,omitempty" xml:"selectFields,omitempty"`
}

func (ListMessagesRequest) GoString added in v1.6.72

func (s ListMessagesRequest) GoString() string

func (*ListMessagesRequest) SetMaxResults added in v1.6.72

func (s *ListMessagesRequest) SetMaxResults(v int32) *ListMessagesRequest

func (*ListMessagesRequest) SetNextToken added in v1.6.72

func (s *ListMessagesRequest) SetNextToken(v string) *ListMessagesRequest

func (*ListMessagesRequest) SetSelectFields added in v1.6.72

func (s *ListMessagesRequest) SetSelectFields(v string) *ListMessagesRequest

func (ListMessagesRequest) String added in v1.6.72

func (s ListMessagesRequest) String() string

type ListMessagesResponse added in v1.6.72

type ListMessagesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListMessagesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListMessagesResponse) GoString added in v1.6.72

func (s ListMessagesResponse) GoString() string

func (*ListMessagesResponse) SetBody added in v1.6.72

func (*ListMessagesResponse) SetHeaders added in v1.6.72

func (s *ListMessagesResponse) SetHeaders(v map[string]*string) *ListMessagesResponse

func (*ListMessagesResponse) SetStatusCode added in v1.6.72

func (s *ListMessagesResponse) SetStatusCode(v int32) *ListMessagesResponse

func (ListMessagesResponse) String added in v1.6.72

func (s ListMessagesResponse) String() string

type ListMessagesResponseBody added in v1.6.72

type ListMessagesResponseBody struct {
	HasMore   *bool      `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	Messages  []*Message `json:"messages,omitempty" xml:"messages,omitempty" type:"Repeated"`
	NextToken *string    `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	RequestId *string    `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (ListMessagesResponseBody) GoString added in v1.6.72

func (s ListMessagesResponseBody) GoString() string

func (*ListMessagesResponseBody) SetHasMore added in v1.6.72

func (*ListMessagesResponseBody) SetMessages added in v1.6.72

func (*ListMessagesResponseBody) SetNextToken added in v1.6.72

func (*ListMessagesResponseBody) SetRequestId added in v1.6.72

func (ListMessagesResponseBody) String added in v1.6.72

func (s ListMessagesResponseBody) String() string

type Message added in v1.6.72

type Message struct {
	// This parameter is required.
	BccRecipients []*Recipient `json:"bccRecipients,omitempty" xml:"bccRecipients,omitempty" type:"Repeated"`
	// This parameter is required.
	CcRecipients []*Recipient `json:"ccRecipients,omitempty" xml:"ccRecipients,omitempty" type:"Repeated"`
	// This parameter is required.
	//
	// example:
	//
	// conversationid
	ConversationId io.Reader `json:"conversationId,omitempty" xml:"conversationId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2
	FolderId io.Reader `json:"folderId,omitempty" xml:"folderId,omitempty"`
	// This parameter is required.
	From *Recipient `json:"from,omitempty" xml:"from,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// false
	HasAttachments *bool `json:"hasAttachments,omitempty" xml:"hasAttachments,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// mailid
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 由RFC5322定义的邮件头集合
	InternetMessageHeaders map[string]interface{} `json:"internetMessageHeaders,omitempty" xml:"internetMessageHeaders,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// uniqid@dingtalk.com
	InternetMessageId io.Reader `json:"internetMessageId,omitempty" xml:"internetMessageId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// false
	IsForwarded *bool `json:"isForwarded,omitempty" xml:"isForwarded,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// false
	IsRead *bool `json:"isRead,omitempty" xml:"isRead,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// false
	IsReadReceiptRequested *bool `json:"isReadReceiptRequested,omitempty" xml:"isReadReceiptRequested,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// false
	IsReplied *bool `json:"isReplied,omitempty" xml:"isReplied,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2024-10-01T00:00:00Z
	LastModifiedDateTime io.Reader `json:"lastModifiedDateTime,omitempty" xml:"lastModifiedDateTime,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// PRY_NORMAL
	Priority io.Reader `json:"priority,omitempty" xml:"priority,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2024-10-01T00:00:00Z
	ReceivedDateTime io.Reader `json:"receivedDateTime,omitempty" xml:"receivedDateTime,omitempty"`
	// This parameter is required.
	ReplyTo *Recipient `json:"replyTo,omitempty" xml:"replyTo,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2024-10-01T00:00:00Z
	SentDateTime io.Reader `json:"sentDateTime,omitempty" xml:"sentDateTime,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 主题
	Subject io.Reader `json:"subject,omitempty" xml:"subject,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 一般取邮件正文的前一段
	Summary io.Reader `json:"summary,omitempty" xml:"summary,omitempty"`
	// This parameter is required.
	Tags []*string `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// This parameter is required.
	ToRecipients []*Recipient `json:"toRecipients,omitempty" xml:"toRecipients,omitempty" type:"Repeated"`
}

func (Message) GoString added in v1.6.72

func (s Message) GoString() string

func (*Message) SetBccRecipients added in v1.6.72

func (s *Message) SetBccRecipients(v []*Recipient) *Message

func (*Message) SetCcRecipients added in v1.6.72

func (s *Message) SetCcRecipients(v []*Recipient) *Message

func (*Message) SetConversationId added in v1.6.72

func (s *Message) SetConversationId(v io.Reader) *Message

func (*Message) SetFolderId added in v1.6.72

func (s *Message) SetFolderId(v io.Reader) *Message

func (*Message) SetFrom added in v1.6.72

func (s *Message) SetFrom(v *Recipient) *Message

func (*Message) SetHasAttachments added in v1.6.72

func (s *Message) SetHasAttachments(v bool) *Message

func (*Message) SetId added in v1.6.72

func (s *Message) SetId(v io.Reader) *Message

func (*Message) SetInternetMessageHeaders added in v1.6.72

func (s *Message) SetInternetMessageHeaders(v map[string]interface{}) *Message

func (*Message) SetInternetMessageId added in v1.6.72

func (s *Message) SetInternetMessageId(v io.Reader) *Message

func (*Message) SetIsForwarded added in v1.6.72

func (s *Message) SetIsForwarded(v bool) *Message

func (*Message) SetIsRead added in v1.6.72

func (s *Message) SetIsRead(v bool) *Message

func (*Message) SetIsReadReceiptRequested added in v1.6.72

func (s *Message) SetIsReadReceiptRequested(v bool) *Message

func (*Message) SetIsReplied added in v1.6.72

func (s *Message) SetIsReplied(v bool) *Message

func (*Message) SetLastModifiedDateTime added in v1.6.72

func (s *Message) SetLastModifiedDateTime(v io.Reader) *Message

func (*Message) SetPriority added in v1.6.72

func (s *Message) SetPriority(v io.Reader) *Message

func (*Message) SetReceivedDateTime added in v1.6.72

func (s *Message) SetReceivedDateTime(v io.Reader) *Message

func (*Message) SetReplyTo added in v1.6.72

func (s *Message) SetReplyTo(v *Recipient) *Message

func (*Message) SetSentDateTime added in v1.6.72

func (s *Message) SetSentDateTime(v io.Reader) *Message

func (*Message) SetSubject added in v1.6.72

func (s *Message) SetSubject(v io.Reader) *Message

func (*Message) SetSummary added in v1.6.72

func (s *Message) SetSummary(v io.Reader) *Message

func (*Message) SetTags added in v1.6.72

func (s *Message) SetTags(v []*string) *Message

func (*Message) SetToRecipients added in v1.6.72

func (s *Message) SetToRecipients(v []*Recipient) *Message

func (Message) String added in v1.6.72

func (s Message) String() string

type MoveMailFolderHeaders added in v1.6.72

type MoveMailFolderHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (MoveMailFolderHeaders) GoString added in v1.6.72

func (s MoveMailFolderHeaders) GoString() string

func (*MoveMailFolderHeaders) SetCommonHeaders added in v1.6.72

func (s *MoveMailFolderHeaders) SetCommonHeaders(v map[string]*string) *MoveMailFolderHeaders

func (*MoveMailFolderHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *MoveMailFolderHeaders) SetXAcsDingtalkAccessToken(v string) *MoveMailFolderHeaders

func (MoveMailFolderHeaders) String added in v1.6.72

func (s MoveMailFolderHeaders) String() string

type MoveMailFolderRequest added in v1.6.72

type MoveMailFolderRequest struct {
	DestinationFolderId *string `json:"destinationFolderId,omitempty" xml:"destinationFolderId,omitempty"`
}

func (MoveMailFolderRequest) GoString added in v1.6.72

func (s MoveMailFolderRequest) GoString() string

func (*MoveMailFolderRequest) SetDestinationFolderId added in v1.6.72

func (s *MoveMailFolderRequest) SetDestinationFolderId(v string) *MoveMailFolderRequest

func (MoveMailFolderRequest) String added in v1.6.72

func (s MoveMailFolderRequest) String() string

type MoveMailFolderResponse added in v1.6.72

type MoveMailFolderResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *MoveMailFolderResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (MoveMailFolderResponse) GoString added in v1.6.72

func (s MoveMailFolderResponse) GoString() string

func (*MoveMailFolderResponse) SetBody added in v1.6.72

func (*MoveMailFolderResponse) SetHeaders added in v1.6.72

func (*MoveMailFolderResponse) SetStatusCode added in v1.6.72

func (MoveMailFolderResponse) String added in v1.6.72

func (s MoveMailFolderResponse) String() string

type MoveMailFolderResponseBody added in v1.6.72

type MoveMailFolderResponseBody struct {
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (MoveMailFolderResponseBody) GoString added in v1.6.72

func (s MoveMailFolderResponseBody) GoString() string

func (*MoveMailFolderResponseBody) SetRequestId added in v1.6.72

func (MoveMailFolderResponseBody) String added in v1.6.72

type Recipient added in v1.6.72

type Recipient struct {
	// example:
	//
	// zhangsan@b.com
	Email io.Reader `json:"email,omitempty" xml:"email,omitempty"`
	// example:
	//
	// ZhangSan
	Name io.Reader `json:"name,omitempty" xml:"name,omitempty"`
}

func (Recipient) GoString added in v1.6.72

func (s Recipient) GoString() string

func (*Recipient) SetEmail added in v1.6.72

func (s *Recipient) SetEmail(v io.Reader) *Recipient

func (*Recipient) SetName added in v1.6.72

func (s *Recipient) SetName(v io.Reader) *Recipient

func (Recipient) String added in v1.6.72

func (s Recipient) String() string

type SendMessageHeaders added in v1.6.72

type SendMessageHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (SendMessageHeaders) GoString added in v1.6.72

func (s SendMessageHeaders) GoString() string

func (*SendMessageHeaders) SetCommonHeaders added in v1.6.72

func (s *SendMessageHeaders) SetCommonHeaders(v map[string]*string) *SendMessageHeaders

func (*SendMessageHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *SendMessageHeaders) SetXAcsDingtalkAccessToken(v string) *SendMessageHeaders

func (SendMessageHeaders) String added in v1.6.72

func (s SendMessageHeaders) String() string

type SendMessageRequest added in v1.6.72

type SendMessageRequest struct {
	SaveToSentItems *bool `json:"saveToSentItems,omitempty" xml:"saveToSentItems,omitempty"`
}

func (SendMessageRequest) GoString added in v1.6.72

func (s SendMessageRequest) GoString() string

func (*SendMessageRequest) SetSaveToSentItems added in v1.6.72

func (s *SendMessageRequest) SetSaveToSentItems(v bool) *SendMessageRequest

func (SendMessageRequest) String added in v1.6.72

func (s SendMessageRequest) String() string

type SendMessageResponse added in v1.6.72

type SendMessageResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SendMessageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SendMessageResponse) GoString added in v1.6.72

func (s SendMessageResponse) GoString() string

func (*SendMessageResponse) SetBody added in v1.6.72

func (*SendMessageResponse) SetHeaders added in v1.6.72

func (s *SendMessageResponse) SetHeaders(v map[string]*string) *SendMessageResponse

func (*SendMessageResponse) SetStatusCode added in v1.6.72

func (s *SendMessageResponse) SetStatusCode(v int32) *SendMessageResponse

func (SendMessageResponse) String added in v1.6.72

func (s SendMessageResponse) String() string

type SendMessageResponseBody added in v1.6.72

type SendMessageResponseBody struct {
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (SendMessageResponseBody) GoString added in v1.6.72

func (s SendMessageResponseBody) GoString() string

func (*SendMessageResponseBody) SetRequestId added in v1.6.72

func (SendMessageResponseBody) String added in v1.6.72

func (s SendMessageResponseBody) String() string

type UpdateMailFolderHeaders added in v1.6.72

type UpdateMailFolderHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (UpdateMailFolderHeaders) GoString added in v1.6.72

func (s UpdateMailFolderHeaders) GoString() string

func (*UpdateMailFolderHeaders) SetCommonHeaders added in v1.6.72

func (s *UpdateMailFolderHeaders) SetCommonHeaders(v map[string]*string) *UpdateMailFolderHeaders

func (*UpdateMailFolderHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *UpdateMailFolderHeaders) SetXAcsDingtalkAccessToken(v string) *UpdateMailFolderHeaders

func (UpdateMailFolderHeaders) String added in v1.6.72

func (s UpdateMailFolderHeaders) String() string

type UpdateMailFolderRequest added in v1.6.72

type UpdateMailFolderRequest struct {
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (UpdateMailFolderRequest) GoString added in v1.6.72

func (s UpdateMailFolderRequest) GoString() string

func (*UpdateMailFolderRequest) SetDisplayName added in v1.6.72

func (UpdateMailFolderRequest) String added in v1.6.72

func (s UpdateMailFolderRequest) String() string

type UpdateMailFolderResponse added in v1.6.72

type UpdateMailFolderResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateMailFolderResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateMailFolderResponse) GoString added in v1.6.72

func (s UpdateMailFolderResponse) GoString() string

func (*UpdateMailFolderResponse) SetBody added in v1.6.72

func (*UpdateMailFolderResponse) SetHeaders added in v1.6.72

func (*UpdateMailFolderResponse) SetStatusCode added in v1.6.72

func (UpdateMailFolderResponse) String added in v1.6.72

func (s UpdateMailFolderResponse) String() string

type UpdateMailFolderResponseBody added in v1.6.72

type UpdateMailFolderResponseBody struct {
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (UpdateMailFolderResponseBody) GoString added in v1.6.72

func (s UpdateMailFolderResponseBody) GoString() string

func (*UpdateMailFolderResponseBody) SetRequestId added in v1.6.72

func (UpdateMailFolderResponseBody) String added in v1.6.72

type UpdateMessageHeaders added in v1.6.72

type UpdateMessageHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (UpdateMessageHeaders) GoString added in v1.6.72

func (s UpdateMessageHeaders) GoString() string

func (*UpdateMessageHeaders) SetCommonHeaders added in v1.6.72

func (s *UpdateMessageHeaders) SetCommonHeaders(v map[string]*string) *UpdateMessageHeaders

func (*UpdateMessageHeaders) SetXAcsDingtalkAccessToken added in v1.6.72

func (s *UpdateMessageHeaders) SetXAcsDingtalkAccessToken(v string) *UpdateMessageHeaders

func (UpdateMessageHeaders) String added in v1.6.72

func (s UpdateMessageHeaders) String() string

type UpdateMessageRequest added in v1.6.72

type UpdateMessageRequest struct {
	Message *DraftMessage `json:"message,omitempty" xml:"message,omitempty"`
}

func (UpdateMessageRequest) GoString added in v1.6.72

func (s UpdateMessageRequest) GoString() string

func (*UpdateMessageRequest) SetMessage added in v1.6.72

func (UpdateMessageRequest) String added in v1.6.72

func (s UpdateMessageRequest) String() string

type UpdateMessageResponse added in v1.6.72

type UpdateMessageResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateMessageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateMessageResponse) GoString added in v1.6.72

func (s UpdateMessageResponse) GoString() string

func (*UpdateMessageResponse) SetBody added in v1.6.72

func (*UpdateMessageResponse) SetHeaders added in v1.6.72

func (*UpdateMessageResponse) SetStatusCode added in v1.6.72

func (s *UpdateMessageResponse) SetStatusCode(v int32) *UpdateMessageResponse

func (UpdateMessageResponse) String added in v1.6.72

func (s UpdateMessageResponse) String() string

type UpdateMessageResponseBody added in v1.6.72

type UpdateMessageResponseBody struct {
	Message   *Message `json:"message,omitempty" xml:"message,omitempty"`
	RequestId *string  `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (UpdateMessageResponseBody) GoString added in v1.6.72

func (s UpdateMessageResponseBody) GoString() string

func (*UpdateMessageResponseBody) SetMessage added in v1.6.72

func (*UpdateMessageResponseBody) SetRequestId added in v1.6.72

func (UpdateMessageResponseBody) String added in v1.6.72

func (s UpdateMessageResponseBody) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL