Documentation ¶
Index ¶
- type CopyMailFolderMessageOperationOptions
- type CopyMailFolderMessageOperationResponse
- type CopyMailFolderMessageRequest
- type CreateMailFolderMessageForwardOperationOptions
- type CreateMailFolderMessageForwardOperationResponse
- type CreateMailFolderMessageForwardRequest
- type CreateMailFolderMessageOperationOptions
- type CreateMailFolderMessageOperationResponse
- type CreateMailFolderMessageReplyAllOperationOptions
- type CreateMailFolderMessageReplyAllOperationResponse
- type CreateMailFolderMessageReplyAllRequest
- type CreateMailFolderMessageReplyOperationOptions
- type CreateMailFolderMessageReplyOperationResponse
- type CreateMailFolderMessageReplyRequest
- type CreateMailFolderMessageUnsubscribeOperationOptions
- type CreateMailFolderMessageUnsubscribeOperationResponse
- type DeleteMailFolderMessageOperationOptions
- type DeleteMailFolderMessageOperationResponse
- type ForwardMailFolderMessageOperationOptions
- type ForwardMailFolderMessageOperationResponse
- type ForwardMailFolderMessageRequest
- type GetMailFolderMessageOperationOptions
- type GetMailFolderMessageOperationResponse
- type GetMailFolderMessageValueOperationOptions
- type GetMailFolderMessageValueOperationResponse
- type GetMailFolderMessagesCountOperationOptions
- type GetMailFolderMessagesCountOperationResponse
- type ListMailFolderMessagesCompleteResult
- type ListMailFolderMessagesCustomPager
- type ListMailFolderMessagesOperationOptions
- type ListMailFolderMessagesOperationResponse
- type MailFolderMessageClient
- func (c MailFolderMessageClient) CopyMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result CopyMailFolderMessageOperationResponse, err error)
- func (c MailFolderMessageClient) CreateMailFolderMessage(ctx context.Context, id beta.MeMailFolderId, input beta.Message, ...) (result CreateMailFolderMessageOperationResponse, err error)
- func (c MailFolderMessageClient) CreateMailFolderMessageForward(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result CreateMailFolderMessageForwardOperationResponse, err error)
- func (c MailFolderMessageClient) CreateMailFolderMessageReply(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result CreateMailFolderMessageReplyOperationResponse, err error)
- func (c MailFolderMessageClient) CreateMailFolderMessageReplyAll(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result CreateMailFolderMessageReplyAllOperationResponse, err error)
- func (c MailFolderMessageClient) CreateMailFolderMessageUnsubscribe(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result CreateMailFolderMessageUnsubscribeOperationResponse, err error)
- func (c MailFolderMessageClient) DeleteMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result DeleteMailFolderMessageOperationResponse, err error)
- func (c MailFolderMessageClient) ForwardMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result ForwardMailFolderMessageOperationResponse, err error)
- func (c MailFolderMessageClient) GetMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result GetMailFolderMessageOperationResponse, err error)
- func (c MailFolderMessageClient) GetMailFolderMessageValue(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result GetMailFolderMessageValueOperationResponse, err error)
- func (c MailFolderMessageClient) GetMailFolderMessagesCount(ctx context.Context, id beta.MeMailFolderId, ...) (result GetMailFolderMessagesCountOperationResponse, err error)
- func (c MailFolderMessageClient) ListMailFolderMessages(ctx context.Context, id beta.MeMailFolderId, ...) (result ListMailFolderMessagesOperationResponse, err error)
- func (c MailFolderMessageClient) ListMailFolderMessagesComplete(ctx context.Context, id beta.MeMailFolderId, ...) (ListMailFolderMessagesCompleteResult, error)
- func (c MailFolderMessageClient) ListMailFolderMessagesCompleteMatchingPredicate(ctx context.Context, id beta.MeMailFolderId, ...) (result ListMailFolderMessagesCompleteResult, err error)
- func (c MailFolderMessageClient) MarkMailFolderMessageAsJunk(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result MarkMailFolderMessageAsJunkOperationResponse, err error)
- func (c MailFolderMessageClient) MarkMailFolderMessageAsNotJunk(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result MarkMailFolderMessageAsNotJunkOperationResponse, err error)
- func (c MailFolderMessageClient) MoveMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result MoveMailFolderMessageOperationResponse, err error)
- func (c MailFolderMessageClient) RemoveMailFolderMessageValue(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result RemoveMailFolderMessageValueOperationResponse, err error)
- func (c MailFolderMessageClient) ReplyAllMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result ReplyAllMailFolderMessageOperationResponse, err error)
- func (c MailFolderMessageClient) ReplyMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result ReplyMailFolderMessageOperationResponse, err error)
- func (c MailFolderMessageClient) SendMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, ...) (result SendMailFolderMessageOperationResponse, err error)
- func (c MailFolderMessageClient) SetMailFolderMessageValue(ctx context.Context, id beta.MeMailFolderIdMessageId, input []byte, ...) (result SetMailFolderMessageValueOperationResponse, err error)
- func (c MailFolderMessageClient) UpdateMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, input beta.Message, ...) (result UpdateMailFolderMessageOperationResponse, err error)
- type MarkMailFolderMessageAsJunkOperationOptions
- type MarkMailFolderMessageAsJunkOperationResponse
- type MarkMailFolderMessageAsJunkRequest
- type MarkMailFolderMessageAsNotJunkOperationOptions
- type MarkMailFolderMessageAsNotJunkOperationResponse
- type MarkMailFolderMessageAsNotJunkRequest
- type MessageOperationPredicate
- type MoveMailFolderMessageOperationOptions
- type MoveMailFolderMessageOperationResponse
- type MoveMailFolderMessageRequest
- type RemoveMailFolderMessageValueOperationOptions
- type RemoveMailFolderMessageValueOperationResponse
- type ReplyAllMailFolderMessageOperationOptions
- type ReplyAllMailFolderMessageOperationResponse
- type ReplyAllMailFolderMessageRequest
- type ReplyMailFolderMessageOperationOptions
- type ReplyMailFolderMessageOperationResponse
- type ReplyMailFolderMessageRequest
- type SendMailFolderMessageOperationOptions
- type SendMailFolderMessageOperationResponse
- type SetMailFolderMessageValueOperationOptions
- type SetMailFolderMessageValueOperationResponse
- type UpdateMailFolderMessageOperationOptions
- type UpdateMailFolderMessageOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyMailFolderMessageOperationOptions ¶
type CopyMailFolderMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCopyMailFolderMessageOperationOptions ¶
func DefaultCopyMailFolderMessageOperationOptions() CopyMailFolderMessageOperationOptions
func (CopyMailFolderMessageOperationOptions) ToHeaders ¶
func (o CopyMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (CopyMailFolderMessageOperationOptions) ToOData ¶
func (o CopyMailFolderMessageOperationOptions) ToOData() *odata.Query
func (CopyMailFolderMessageOperationOptions) ToQuery ¶
func (o CopyMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
type CopyMailFolderMessageRequest ¶
type CopyMailFolderMessageRequest struct {
DestinationId *string `json:"DestinationId,omitempty"`
}
type CreateMailFolderMessageForwardOperationOptions ¶
type CreateMailFolderMessageForwardOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMailFolderMessageForwardOperationOptions ¶
func DefaultCreateMailFolderMessageForwardOperationOptions() CreateMailFolderMessageForwardOperationOptions
func (CreateMailFolderMessageForwardOperationOptions) ToHeaders ¶
func (o CreateMailFolderMessageForwardOperationOptions) ToHeaders() *client.Headers
func (CreateMailFolderMessageForwardOperationOptions) ToOData ¶
func (o CreateMailFolderMessageForwardOperationOptions) ToOData() *odata.Query
func (CreateMailFolderMessageForwardOperationOptions) ToQuery ¶
func (o CreateMailFolderMessageForwardOperationOptions) ToQuery() *client.QueryParams
type CreateMailFolderMessageOperationOptions ¶
type CreateMailFolderMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMailFolderMessageOperationOptions ¶
func DefaultCreateMailFolderMessageOperationOptions() CreateMailFolderMessageOperationOptions
func (CreateMailFolderMessageOperationOptions) ToHeaders ¶
func (o CreateMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (CreateMailFolderMessageOperationOptions) ToOData ¶
func (o CreateMailFolderMessageOperationOptions) ToOData() *odata.Query
func (CreateMailFolderMessageOperationOptions) ToQuery ¶
func (o CreateMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
type CreateMailFolderMessageReplyAllOperationOptions ¶
type CreateMailFolderMessageReplyAllOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMailFolderMessageReplyAllOperationOptions ¶
func DefaultCreateMailFolderMessageReplyAllOperationOptions() CreateMailFolderMessageReplyAllOperationOptions
func (CreateMailFolderMessageReplyAllOperationOptions) ToHeaders ¶
func (o CreateMailFolderMessageReplyAllOperationOptions) ToHeaders() *client.Headers
func (CreateMailFolderMessageReplyAllOperationOptions) ToOData ¶
func (o CreateMailFolderMessageReplyAllOperationOptions) ToOData() *odata.Query
func (CreateMailFolderMessageReplyAllOperationOptions) ToQuery ¶
func (o CreateMailFolderMessageReplyAllOperationOptions) ToQuery() *client.QueryParams
type CreateMailFolderMessageReplyOperationOptions ¶
type CreateMailFolderMessageReplyOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMailFolderMessageReplyOperationOptions ¶
func DefaultCreateMailFolderMessageReplyOperationOptions() CreateMailFolderMessageReplyOperationOptions
func (CreateMailFolderMessageReplyOperationOptions) ToHeaders ¶
func (o CreateMailFolderMessageReplyOperationOptions) ToHeaders() *client.Headers
func (CreateMailFolderMessageReplyOperationOptions) ToOData ¶
func (o CreateMailFolderMessageReplyOperationOptions) ToOData() *odata.Query
func (CreateMailFolderMessageReplyOperationOptions) ToQuery ¶
func (o CreateMailFolderMessageReplyOperationOptions) ToQuery() *client.QueryParams
type CreateMailFolderMessageUnsubscribeOperationOptions ¶
type CreateMailFolderMessageUnsubscribeOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMailFolderMessageUnsubscribeOperationOptions ¶
func DefaultCreateMailFolderMessageUnsubscribeOperationOptions() CreateMailFolderMessageUnsubscribeOperationOptions
func (CreateMailFolderMessageUnsubscribeOperationOptions) ToHeaders ¶
func (o CreateMailFolderMessageUnsubscribeOperationOptions) ToHeaders() *client.Headers
func (CreateMailFolderMessageUnsubscribeOperationOptions) ToOData ¶
func (o CreateMailFolderMessageUnsubscribeOperationOptions) ToOData() *odata.Query
func (CreateMailFolderMessageUnsubscribeOperationOptions) ToQuery ¶
func (o CreateMailFolderMessageUnsubscribeOperationOptions) ToQuery() *client.QueryParams
type DeleteMailFolderMessageOperationOptions ¶
type DeleteMailFolderMessageOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteMailFolderMessageOperationOptions ¶
func DefaultDeleteMailFolderMessageOperationOptions() DeleteMailFolderMessageOperationOptions
func (DeleteMailFolderMessageOperationOptions) ToHeaders ¶
func (o DeleteMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (DeleteMailFolderMessageOperationOptions) ToOData ¶
func (o DeleteMailFolderMessageOperationOptions) ToOData() *odata.Query
func (DeleteMailFolderMessageOperationOptions) ToQuery ¶
func (o DeleteMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
type ForwardMailFolderMessageOperationOptions ¶
type ForwardMailFolderMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultForwardMailFolderMessageOperationOptions ¶
func DefaultForwardMailFolderMessageOperationOptions() ForwardMailFolderMessageOperationOptions
func (ForwardMailFolderMessageOperationOptions) ToHeaders ¶
func (o ForwardMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (ForwardMailFolderMessageOperationOptions) ToOData ¶
func (o ForwardMailFolderMessageOperationOptions) ToOData() *odata.Query
func (ForwardMailFolderMessageOperationOptions) ToQuery ¶
func (o ForwardMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
type GetMailFolderMessageOperationOptions ¶
type GetMailFolderMessageOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetMailFolderMessageOperationOptions ¶
func DefaultGetMailFolderMessageOperationOptions() GetMailFolderMessageOperationOptions
func (GetMailFolderMessageOperationOptions) ToHeaders ¶
func (o GetMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (GetMailFolderMessageOperationOptions) ToOData ¶
func (o GetMailFolderMessageOperationOptions) ToOData() *odata.Query
func (GetMailFolderMessageOperationOptions) ToQuery ¶
func (o GetMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
type GetMailFolderMessageValueOperationOptions ¶
type GetMailFolderMessageValueOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultGetMailFolderMessageValueOperationOptions ¶
func DefaultGetMailFolderMessageValueOperationOptions() GetMailFolderMessageValueOperationOptions
func (GetMailFolderMessageValueOperationOptions) ToHeaders ¶
func (o GetMailFolderMessageValueOperationOptions) ToHeaders() *client.Headers
func (GetMailFolderMessageValueOperationOptions) ToOData ¶
func (o GetMailFolderMessageValueOperationOptions) ToOData() *odata.Query
func (GetMailFolderMessageValueOperationOptions) ToQuery ¶
func (o GetMailFolderMessageValueOperationOptions) ToQuery() *client.QueryParams
type GetMailFolderMessagesCountOperationOptions ¶
type GetMailFolderMessagesCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetMailFolderMessagesCountOperationOptions ¶
func DefaultGetMailFolderMessagesCountOperationOptions() GetMailFolderMessagesCountOperationOptions
func (GetMailFolderMessagesCountOperationOptions) ToHeaders ¶
func (o GetMailFolderMessagesCountOperationOptions) ToHeaders() *client.Headers
func (GetMailFolderMessagesCountOperationOptions) ToOData ¶
func (o GetMailFolderMessagesCountOperationOptions) ToOData() *odata.Query
func (GetMailFolderMessagesCountOperationOptions) ToQuery ¶
func (o GetMailFolderMessagesCountOperationOptions) ToQuery() *client.QueryParams
type ListMailFolderMessagesCustomPager ¶
func (*ListMailFolderMessagesCustomPager) NextPageLink ¶
func (p *ListMailFolderMessagesCustomPager) NextPageLink() *odata.Link
type ListMailFolderMessagesOperationOptions ¶
type ListMailFolderMessagesOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListMailFolderMessagesOperationOptions ¶
func DefaultListMailFolderMessagesOperationOptions() ListMailFolderMessagesOperationOptions
func (ListMailFolderMessagesOperationOptions) ToHeaders ¶
func (o ListMailFolderMessagesOperationOptions) ToHeaders() *client.Headers
func (ListMailFolderMessagesOperationOptions) ToOData ¶
func (o ListMailFolderMessagesOperationOptions) ToOData() *odata.Query
func (ListMailFolderMessagesOperationOptions) ToQuery ¶
func (o ListMailFolderMessagesOperationOptions) ToQuery() *client.QueryParams
type MailFolderMessageClient ¶
func NewMailFolderMessageClientWithBaseURI ¶
func NewMailFolderMessageClientWithBaseURI(sdkApi sdkEnv.Api) (*MailFolderMessageClient, error)
func (MailFolderMessageClient) CopyMailFolderMessage ¶
func (c MailFolderMessageClient) CopyMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, input CopyMailFolderMessageRequest, options CopyMailFolderMessageOperationOptions) (result CopyMailFolderMessageOperationResponse, err error)
CopyMailFolderMessage - Invoke action copy. Copy a message to a folder within the user's mailbox.
func (MailFolderMessageClient) CreateMailFolderMessage ¶
func (c MailFolderMessageClient) CreateMailFolderMessage(ctx context.Context, id beta.MeMailFolderId, input beta.Message, options CreateMailFolderMessageOperationOptions) (result CreateMailFolderMessageOperationResponse, err error)
CreateMailFolderMessage - Create Message. Use this API to create a new Message in a mailfolder.
func (MailFolderMessageClient) CreateMailFolderMessageForward ¶
func (c MailFolderMessageClient) CreateMailFolderMessageForward(ctx context.Context, id beta.MeMailFolderIdMessageId, input CreateMailFolderMessageForwardRequest, options CreateMailFolderMessageForwardOperationOptions) (result CreateMailFolderMessageForwardOperationResponse, err error)
CreateMailFolderMessageForward - Invoke action createForward. Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error. - Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. - Update the draft later to add content to the body or change other message properties. When using MIME format: - Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body. - Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation.
func (MailFolderMessageClient) CreateMailFolderMessageReply ¶
func (c MailFolderMessageClient) CreateMailFolderMessageReply(ctx context.Context, id beta.MeMailFolderIdMessageId, input CreateMailFolderMessageReplyRequest, options CreateMailFolderMessageReplyOperationOptions) (result CreateMailFolderMessageReplyOperationResponse, err error)
CreateMailFolderMessageReply - Invoke action createReply. Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error. - If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from. - You can update the draft later to add reply content to the body or change other message properties. When using MIME format: - Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body. - Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation.
func (MailFolderMessageClient) CreateMailFolderMessageReplyAll ¶
func (c MailFolderMessageClient) CreateMailFolderMessageReplyAll(ctx context.Context, id beta.MeMailFolderIdMessageId, input CreateMailFolderMessageReplyAllRequest, options CreateMailFolderMessageReplyAllOperationOptions) (result CreateMailFolderMessageReplyAllOperationResponse, err error)
CreateMailFolderMessageReplyAll - Invoke action createReplyAll. Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error. - If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties. - You can update the draft message later. When using MIME format: - Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body. - Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action.
func (MailFolderMessageClient) CreateMailFolderMessageUnsubscribe ¶
func (c MailFolderMessageClient) CreateMailFolderMessageUnsubscribe(ctx context.Context, id beta.MeMailFolderIdMessageId, options CreateMailFolderMessageUnsubscribeOperationOptions) (result CreateMailFolderMessageUnsubscribeOperationResponse, err error)
CreateMailFolderMessageUnsubscribe - Invoke action unsubscribe. Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender.
func (MailFolderMessageClient) DeleteMailFolderMessage ¶
func (c MailFolderMessageClient) DeleteMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, options DeleteMailFolderMessageOperationOptions) (result DeleteMailFolderMessageOperationResponse, err error)
DeleteMailFolderMessage - Delete navigation property messages for me
func (MailFolderMessageClient) ForwardMailFolderMessage ¶
func (c MailFolderMessageClient) ForwardMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, input ForwardMailFolderMessageRequest, options ForwardMailFolderMessageOperationOptions) (result ForwardMailFolderMessageOperationResponse, err error)
ForwardMailFolderMessage - Invoke action forward. Forward a message using either JSON or MIME format. When using JSON format, you can: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error. - Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format: - Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body. - Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later.
func (MailFolderMessageClient) GetMailFolderMessage ¶
func (c MailFolderMessageClient) GetMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, options GetMailFolderMessageOperationOptions) (result GetMailFolderMessageOperationResponse, err error)
GetMailFolderMessage - Get messages from me. The collection of messages in the mailFolder.
func (MailFolderMessageClient) GetMailFolderMessageValue ¶
func (c MailFolderMessageClient) GetMailFolderMessageValue(ctx context.Context, id beta.MeMailFolderIdMessageId, options GetMailFolderMessageValueOperationOptions) (result GetMailFolderMessageValueOperationResponse, err error)
GetMailFolderMessageValue - List messages. List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox.
func (MailFolderMessageClient) GetMailFolderMessagesCount ¶
func (c MailFolderMessageClient) GetMailFolderMessagesCount(ctx context.Context, id beta.MeMailFolderId, options GetMailFolderMessagesCountOperationOptions) (result GetMailFolderMessagesCountOperationResponse, err error)
GetMailFolderMessagesCount - Get the number of the resource
func (MailFolderMessageClient) ListMailFolderMessages ¶
func (c MailFolderMessageClient) ListMailFolderMessages(ctx context.Context, id beta.MeMailFolderId, options ListMailFolderMessagesOperationOptions) (result ListMailFolderMessagesOperationResponse, err error)
ListMailFolderMessages - List messages. List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox.
func (MailFolderMessageClient) ListMailFolderMessagesComplete ¶
func (c MailFolderMessageClient) ListMailFolderMessagesComplete(ctx context.Context, id beta.MeMailFolderId, options ListMailFolderMessagesOperationOptions) (ListMailFolderMessagesCompleteResult, error)
ListMailFolderMessagesComplete retrieves all the results into a single object
func (MailFolderMessageClient) ListMailFolderMessagesCompleteMatchingPredicate ¶
func (c MailFolderMessageClient) ListMailFolderMessagesCompleteMatchingPredicate(ctx context.Context, id beta.MeMailFolderId, options ListMailFolderMessagesOperationOptions, predicate MessageOperationPredicate) (result ListMailFolderMessagesCompleteResult, err error)
ListMailFolderMessagesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MailFolderMessageClient) MarkMailFolderMessageAsJunk ¶
func (c MailFolderMessageClient) MarkMailFolderMessageAsJunk(ctx context.Context, id beta.MeMailFolderIdMessageId, input MarkMailFolderMessageAsJunkRequest, options MarkMailFolderMessageAsJunkOperationOptions) (result MarkMailFolderMessageAsJunkOperationResponse, err error)
MarkMailFolderMessageAsJunk - Invoke action markAsJunk. Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true.
func (MailFolderMessageClient) MarkMailFolderMessageAsNotJunk ¶
func (c MailFolderMessageClient) MarkMailFolderMessageAsNotJunk(ctx context.Context, id beta.MeMailFolderIdMessageId, input MarkMailFolderMessageAsNotJunkRequest, options MarkMailFolderMessageAsNotJunkOperationOptions) (result MarkMailFolderMessageAsNotJunkOperationResponse, err error)
MarkMailFolderMessageAsNotJunk - Invoke action markAsNotJunk. Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true.
func (MailFolderMessageClient) MoveMailFolderMessage ¶
func (c MailFolderMessageClient) MoveMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, input MoveMailFolderMessageRequest, options MoveMailFolderMessageOperationOptions) (result MoveMailFolderMessageOperationResponse, err error)
MoveMailFolderMessage - Invoke action move. Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message.
func (MailFolderMessageClient) RemoveMailFolderMessageValue ¶
func (c MailFolderMessageClient) RemoveMailFolderMessageValue(ctx context.Context, id beta.MeMailFolderIdMessageId, options RemoveMailFolderMessageValueOperationOptions) (result RemoveMailFolderMessageValueOperationResponse, err error)
RemoveMailFolderMessageValue - Delete media content for the navigation property messages in me. The unique identifier for an entity. Read-only.
func (MailFolderMessageClient) ReplyAllMailFolderMessage ¶
func (c MailFolderMessageClient) ReplyAllMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, input ReplyAllMailFolderMessageRequest, options ReplyAllMailFolderMessageOperationOptions) (result ReplyAllMailFolderMessageOperationResponse, err error)
ReplyAllMailFolderMessage - Invoke action replyAll. Reply to all recipients of a message using either JSON or MIME format. When using JSON format: - Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error. - If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format: - Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body. - Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later.
func (MailFolderMessageClient) ReplyMailFolderMessage ¶
func (c MailFolderMessageClient) ReplyMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, input ReplyMailFolderMessageRequest, options ReplyMailFolderMessageOperationOptions) (result ReplyMailFolderMessageOperationResponse, err error)
ReplyMailFolderMessage - Invoke action reply. Reply to the sender of a message using either JSON or MIME format. When using JSON format: * Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error. * If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format: - Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body. - Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later.
func (MailFolderMessageClient) SendMailFolderMessage ¶
func (c MailFolderMessageClient) SendMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, options SendMailFolderMessageOperationOptions) (result SendMailFolderMessageOperationResponse, err error)
SendMailFolderMessage - Invoke action send. Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation.
func (MailFolderMessageClient) SetMailFolderMessageValue ¶
func (c MailFolderMessageClient) SetMailFolderMessageValue(ctx context.Context, id beta.MeMailFolderIdMessageId, input []byte, options SetMailFolderMessageValueOperationOptions) (result SetMailFolderMessageValueOperationResponse, err error)
SetMailFolderMessageValue - Update media content for the navigation property messages in me. The unique identifier for an entity. Read-only.
func (MailFolderMessageClient) UpdateMailFolderMessage ¶
func (c MailFolderMessageClient) UpdateMailFolderMessage(ctx context.Context, id beta.MeMailFolderIdMessageId, input beta.Message, options UpdateMailFolderMessageOperationOptions) (result UpdateMailFolderMessageOperationResponse, err error)
UpdateMailFolderMessage - Update the navigation property messages in me
type MarkMailFolderMessageAsJunkOperationOptions ¶
type MarkMailFolderMessageAsJunkOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultMarkMailFolderMessageAsJunkOperationOptions ¶
func DefaultMarkMailFolderMessageAsJunkOperationOptions() MarkMailFolderMessageAsJunkOperationOptions
func (MarkMailFolderMessageAsJunkOperationOptions) ToHeaders ¶
func (o MarkMailFolderMessageAsJunkOperationOptions) ToHeaders() *client.Headers
func (MarkMailFolderMessageAsJunkOperationOptions) ToOData ¶
func (o MarkMailFolderMessageAsJunkOperationOptions) ToOData() *odata.Query
func (MarkMailFolderMessageAsJunkOperationOptions) ToQuery ¶
func (o MarkMailFolderMessageAsJunkOperationOptions) ToQuery() *client.QueryParams
type MarkMailFolderMessageAsJunkRequest ¶
type MarkMailFolderMessageAsJunkRequest struct {
MoveToJunk *bool `json:"MoveToJunk,omitempty"`
}
type MarkMailFolderMessageAsNotJunkOperationOptions ¶
type MarkMailFolderMessageAsNotJunkOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultMarkMailFolderMessageAsNotJunkOperationOptions ¶
func DefaultMarkMailFolderMessageAsNotJunkOperationOptions() MarkMailFolderMessageAsNotJunkOperationOptions
func (MarkMailFolderMessageAsNotJunkOperationOptions) ToHeaders ¶
func (o MarkMailFolderMessageAsNotJunkOperationOptions) ToHeaders() *client.Headers
func (MarkMailFolderMessageAsNotJunkOperationOptions) ToOData ¶
func (o MarkMailFolderMessageAsNotJunkOperationOptions) ToOData() *odata.Query
func (MarkMailFolderMessageAsNotJunkOperationOptions) ToQuery ¶
func (o MarkMailFolderMessageAsNotJunkOperationOptions) ToQuery() *client.QueryParams
type MarkMailFolderMessageAsNotJunkRequest ¶
type MarkMailFolderMessageAsNotJunkRequest struct {
MoveToInbox *bool `json:"MoveToInbox,omitempty"`
}
type MessageOperationPredicate ¶
type MessageOperationPredicate struct { }
type MoveMailFolderMessageOperationOptions ¶
type MoveMailFolderMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultMoveMailFolderMessageOperationOptions ¶
func DefaultMoveMailFolderMessageOperationOptions() MoveMailFolderMessageOperationOptions
func (MoveMailFolderMessageOperationOptions) ToHeaders ¶
func (o MoveMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (MoveMailFolderMessageOperationOptions) ToOData ¶
func (o MoveMailFolderMessageOperationOptions) ToOData() *odata.Query
func (MoveMailFolderMessageOperationOptions) ToQuery ¶
func (o MoveMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
type MoveMailFolderMessageRequest ¶
type MoveMailFolderMessageRequest struct {
DestinationId *string `json:"DestinationId,omitempty"`
}
type RemoveMailFolderMessageValueOperationOptions ¶
type RemoveMailFolderMessageValueOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveMailFolderMessageValueOperationOptions ¶
func DefaultRemoveMailFolderMessageValueOperationOptions() RemoveMailFolderMessageValueOperationOptions
func (RemoveMailFolderMessageValueOperationOptions) ToHeaders ¶
func (o RemoveMailFolderMessageValueOperationOptions) ToHeaders() *client.Headers
func (RemoveMailFolderMessageValueOperationOptions) ToOData ¶
func (o RemoveMailFolderMessageValueOperationOptions) ToOData() *odata.Query
func (RemoveMailFolderMessageValueOperationOptions) ToQuery ¶
func (o RemoveMailFolderMessageValueOperationOptions) ToQuery() *client.QueryParams
type ReplyAllMailFolderMessageOperationOptions ¶
type ReplyAllMailFolderMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultReplyAllMailFolderMessageOperationOptions ¶
func DefaultReplyAllMailFolderMessageOperationOptions() ReplyAllMailFolderMessageOperationOptions
func (ReplyAllMailFolderMessageOperationOptions) ToHeaders ¶
func (o ReplyAllMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (ReplyAllMailFolderMessageOperationOptions) ToOData ¶
func (o ReplyAllMailFolderMessageOperationOptions) ToOData() *odata.Query
func (ReplyAllMailFolderMessageOperationOptions) ToQuery ¶
func (o ReplyAllMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
type ReplyMailFolderMessageOperationOptions ¶
type ReplyMailFolderMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultReplyMailFolderMessageOperationOptions ¶
func DefaultReplyMailFolderMessageOperationOptions() ReplyMailFolderMessageOperationOptions
func (ReplyMailFolderMessageOperationOptions) ToHeaders ¶
func (o ReplyMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (ReplyMailFolderMessageOperationOptions) ToOData ¶
func (o ReplyMailFolderMessageOperationOptions) ToOData() *odata.Query
func (ReplyMailFolderMessageOperationOptions) ToQuery ¶
func (o ReplyMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
type SendMailFolderMessageOperationOptions ¶
type SendMailFolderMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSendMailFolderMessageOperationOptions ¶
func DefaultSendMailFolderMessageOperationOptions() SendMailFolderMessageOperationOptions
func (SendMailFolderMessageOperationOptions) ToHeaders ¶
func (o SendMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (SendMailFolderMessageOperationOptions) ToOData ¶
func (o SendMailFolderMessageOperationOptions) ToOData() *odata.Query
func (SendMailFolderMessageOperationOptions) ToQuery ¶
func (o SendMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
type SetMailFolderMessageValueOperationOptions ¶
type SetMailFolderMessageValueOperationOptions struct { ContentType string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetMailFolderMessageValueOperationOptions ¶
func DefaultSetMailFolderMessageValueOperationOptions() SetMailFolderMessageValueOperationOptions
func (SetMailFolderMessageValueOperationOptions) ToHeaders ¶
func (o SetMailFolderMessageValueOperationOptions) ToHeaders() *client.Headers
func (SetMailFolderMessageValueOperationOptions) ToOData ¶
func (o SetMailFolderMessageValueOperationOptions) ToOData() *odata.Query
func (SetMailFolderMessageValueOperationOptions) ToQuery ¶
func (o SetMailFolderMessageValueOperationOptions) ToQuery() *client.QueryParams
type UpdateMailFolderMessageOperationOptions ¶
type UpdateMailFolderMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateMailFolderMessageOperationOptions ¶
func DefaultUpdateMailFolderMessageOperationOptions() UpdateMailFolderMessageOperationOptions
func (UpdateMailFolderMessageOperationOptions) ToHeaders ¶
func (o UpdateMailFolderMessageOperationOptions) ToHeaders() *client.Headers
func (UpdateMailFolderMessageOperationOptions) ToOData ¶
func (o UpdateMailFolderMessageOperationOptions) ToOData() *odata.Query
func (UpdateMailFolderMessageOperationOptions) ToQuery ¶
func (o UpdateMailFolderMessageOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_copymailfoldermessage.go
- method_createmailfoldermessage.go
- method_createmailfoldermessageforward.go
- method_createmailfoldermessagereply.go
- method_createmailfoldermessagereplyall.go
- method_createmailfoldermessageunsubscribe.go
- method_deletemailfoldermessage.go
- method_forwardmailfoldermessage.go
- method_getmailfoldermessage.go
- method_getmailfoldermessagescount.go
- method_getmailfoldermessagevalue.go
- method_listmailfoldermessages.go
- method_markmailfoldermessageasjunk.go
- method_markmailfoldermessageasnotjunk.go
- method_movemailfoldermessage.go
- method_removemailfoldermessagevalue.go
- method_replyallmailfoldermessage.go
- method_replymailfoldermessage.go
- method_sendmailfoldermessage.go
- method_setmailfoldermessagevalue.go
- method_updatemailfoldermessage.go
- model_copymailfoldermessagerequest.go
- model_createmailfoldermessageforwardrequest.go
- model_createmailfoldermessagereplyallrequest.go
- model_createmailfoldermessagereplyrequest.go
- model_forwardmailfoldermessagerequest.go
- model_markmailfoldermessageasjunkrequest.go
- model_markmailfoldermessageasnotjunkrequest.go
- model_movemailfoldermessagerequest.go
- model_replyallmailfoldermessagerequest.go
- model_replymailfoldermessagerequest.go
- predicates.go
- version.go