Documentation ¶
Index ¶
- type CopyMessageOperationOptions
- type CopyMessageOperationResponse
- type CopyMessageRequest
- type CreateMessageForwardOperationOptions
- type CreateMessageForwardOperationResponse
- type CreateMessageForwardRequest
- type CreateMessageOperationOptions
- type CreateMessageOperationResponse
- type CreateMessageReplyAllOperationOptions
- type CreateMessageReplyAllOperationResponse
- type CreateMessageReplyAllRequest
- type CreateMessageReplyOperationOptions
- type CreateMessageReplyOperationResponse
- type CreateMessageReplyRequest
- type CreateMessageUnsubscribeOperationOptions
- type CreateMessageUnsubscribeOperationResponse
- type DeleteMessageOperationOptions
- type DeleteMessageOperationResponse
- type ForwardMessageOperationOptions
- type ForwardMessageOperationResponse
- type ForwardMessageRequest
- type GetMessageOperationOptions
- type GetMessageOperationResponse
- type GetMessageValueOperationOptions
- type GetMessageValueOperationResponse
- type GetMessagesCountOperationOptions
- type GetMessagesCountOperationResponse
- type ListMessagesCompleteResult
- type ListMessagesCustomPager
- type ListMessagesOperationOptions
- type ListMessagesOperationResponse
- type MarkMessageAsJunkOperationOptions
- type MarkMessageAsJunkOperationResponse
- type MarkMessageAsJunkRequest
- type MarkMessageAsNotJunkOperationOptions
- type MarkMessageAsNotJunkOperationResponse
- type MarkMessageAsNotJunkRequest
- type MessageClient
- func (c MessageClient) CopyMessage(ctx context.Context, id beta.UserIdMessageId, input CopyMessageRequest, ...) (result CopyMessageOperationResponse, err error)
- func (c MessageClient) CreateMessage(ctx context.Context, id beta.UserId, input beta.Message, ...) (result CreateMessageOperationResponse, err error)
- func (c MessageClient) CreateMessageForward(ctx context.Context, id beta.UserIdMessageId, ...) (result CreateMessageForwardOperationResponse, err error)
- func (c MessageClient) CreateMessageReply(ctx context.Context, id beta.UserIdMessageId, input CreateMessageReplyRequest, ...) (result CreateMessageReplyOperationResponse, err error)
- func (c MessageClient) CreateMessageReplyAll(ctx context.Context, id beta.UserIdMessageId, ...) (result CreateMessageReplyAllOperationResponse, err error)
- func (c MessageClient) CreateMessageUnsubscribe(ctx context.Context, id beta.UserIdMessageId, ...) (result CreateMessageUnsubscribeOperationResponse, err error)
- func (c MessageClient) DeleteMessage(ctx context.Context, id beta.UserIdMessageId, ...) (result DeleteMessageOperationResponse, err error)
- func (c MessageClient) ForwardMessage(ctx context.Context, id beta.UserIdMessageId, input ForwardMessageRequest, ...) (result ForwardMessageOperationResponse, err error)
- func (c MessageClient) GetMessage(ctx context.Context, id beta.UserIdMessageId, ...) (result GetMessageOperationResponse, err error)
- func (c MessageClient) GetMessageValue(ctx context.Context, id beta.UserIdMessageId, ...) (result GetMessageValueOperationResponse, err error)
- func (c MessageClient) GetMessagesCount(ctx context.Context, id beta.UserId, options GetMessagesCountOperationOptions) (result GetMessagesCountOperationResponse, err error)
- func (c MessageClient) ListMessages(ctx context.Context, id beta.UserId, options ListMessagesOperationOptions) (result ListMessagesOperationResponse, err error)
- func (c MessageClient) ListMessagesComplete(ctx context.Context, id beta.UserId, options ListMessagesOperationOptions) (ListMessagesCompleteResult, error)
- func (c MessageClient) ListMessagesCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListMessagesOperationOptions, ...) (result ListMessagesCompleteResult, err error)
- func (c MessageClient) MarkMessageAsJunk(ctx context.Context, id beta.UserIdMessageId, input MarkMessageAsJunkRequest, ...) (result MarkMessageAsJunkOperationResponse, err error)
- func (c MessageClient) MarkMessageAsNotJunk(ctx context.Context, id beta.UserIdMessageId, ...) (result MarkMessageAsNotJunkOperationResponse, err error)
- func (c MessageClient) MoveMessage(ctx context.Context, id beta.UserIdMessageId, input MoveMessageRequest, ...) (result MoveMessageOperationResponse, err error)
- func (c MessageClient) RemoveMessageValue(ctx context.Context, id beta.UserIdMessageId, ...) (result RemoveMessageValueOperationResponse, err error)
- func (c MessageClient) ReplyAllMessage(ctx context.Context, id beta.UserIdMessageId, input ReplyAllMessageRequest, ...) (result ReplyAllMessageOperationResponse, err error)
- func (c MessageClient) ReplyMessage(ctx context.Context, id beta.UserIdMessageId, input ReplyMessageRequest, ...) (result ReplyMessageOperationResponse, err error)
- func (c MessageClient) SendMessage(ctx context.Context, id beta.UserIdMessageId, ...) (result SendMessageOperationResponse, err error)
- func (c MessageClient) SetMessageValue(ctx context.Context, id beta.UserIdMessageId, input []byte, ...) (result SetMessageValueOperationResponse, err error)
- func (c MessageClient) UpdateMessage(ctx context.Context, id beta.UserIdMessageId, input beta.Message, ...) (result UpdateMessageOperationResponse, err error)
- type MessageOperationPredicate
- type MoveMessageOperationOptions
- type MoveMessageOperationResponse
- type MoveMessageRequest
- type RemoveMessageValueOperationOptions
- type RemoveMessageValueOperationResponse
- type ReplyAllMessageOperationOptions
- type ReplyAllMessageOperationResponse
- type ReplyAllMessageRequest
- type ReplyMessageOperationOptions
- type ReplyMessageOperationResponse
- type ReplyMessageRequest
- type SendMessageOperationOptions
- type SendMessageOperationResponse
- type SetMessageValueOperationOptions
- type SetMessageValueOperationResponse
- type UpdateMessageOperationOptions
- type UpdateMessageOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyMessageOperationOptions ¶
type CopyMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCopyMessageOperationOptions ¶
func DefaultCopyMessageOperationOptions() CopyMessageOperationOptions
func (CopyMessageOperationOptions) ToHeaders ¶
func (o CopyMessageOperationOptions) ToHeaders() *client.Headers
func (CopyMessageOperationOptions) ToOData ¶
func (o CopyMessageOperationOptions) ToOData() *odata.Query
func (CopyMessageOperationOptions) ToQuery ¶
func (o CopyMessageOperationOptions) ToQuery() *client.QueryParams
type CopyMessageRequest ¶
type CopyMessageRequest struct {
DestinationId *string `json:"DestinationId,omitempty"`
}
type CreateMessageForwardOperationOptions ¶
type CreateMessageForwardOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMessageForwardOperationOptions ¶
func DefaultCreateMessageForwardOperationOptions() CreateMessageForwardOperationOptions
func (CreateMessageForwardOperationOptions) ToHeaders ¶
func (o CreateMessageForwardOperationOptions) ToHeaders() *client.Headers
func (CreateMessageForwardOperationOptions) ToOData ¶
func (o CreateMessageForwardOperationOptions) ToOData() *odata.Query
func (CreateMessageForwardOperationOptions) ToQuery ¶
func (o CreateMessageForwardOperationOptions) ToQuery() *client.QueryParams
type CreateMessageOperationOptions ¶
type CreateMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMessageOperationOptions ¶
func DefaultCreateMessageOperationOptions() CreateMessageOperationOptions
func (CreateMessageOperationOptions) ToHeaders ¶
func (o CreateMessageOperationOptions) ToHeaders() *client.Headers
func (CreateMessageOperationOptions) ToOData ¶
func (o CreateMessageOperationOptions) ToOData() *odata.Query
func (CreateMessageOperationOptions) ToQuery ¶
func (o CreateMessageOperationOptions) ToQuery() *client.QueryParams
type CreateMessageReplyAllOperationOptions ¶
type CreateMessageReplyAllOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMessageReplyAllOperationOptions ¶
func DefaultCreateMessageReplyAllOperationOptions() CreateMessageReplyAllOperationOptions
func (CreateMessageReplyAllOperationOptions) ToHeaders ¶
func (o CreateMessageReplyAllOperationOptions) ToHeaders() *client.Headers
func (CreateMessageReplyAllOperationOptions) ToOData ¶
func (o CreateMessageReplyAllOperationOptions) ToOData() *odata.Query
func (CreateMessageReplyAllOperationOptions) ToQuery ¶
func (o CreateMessageReplyAllOperationOptions) ToQuery() *client.QueryParams
type CreateMessageReplyOperationOptions ¶
type CreateMessageReplyOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMessageReplyOperationOptions ¶
func DefaultCreateMessageReplyOperationOptions() CreateMessageReplyOperationOptions
func (CreateMessageReplyOperationOptions) ToHeaders ¶
func (o CreateMessageReplyOperationOptions) ToHeaders() *client.Headers
func (CreateMessageReplyOperationOptions) ToOData ¶
func (o CreateMessageReplyOperationOptions) ToOData() *odata.Query
func (CreateMessageReplyOperationOptions) ToQuery ¶
func (o CreateMessageReplyOperationOptions) ToQuery() *client.QueryParams
type CreateMessageUnsubscribeOperationOptions ¶
type CreateMessageUnsubscribeOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMessageUnsubscribeOperationOptions ¶
func DefaultCreateMessageUnsubscribeOperationOptions() CreateMessageUnsubscribeOperationOptions
func (CreateMessageUnsubscribeOperationOptions) ToHeaders ¶
func (o CreateMessageUnsubscribeOperationOptions) ToHeaders() *client.Headers
func (CreateMessageUnsubscribeOperationOptions) ToOData ¶
func (o CreateMessageUnsubscribeOperationOptions) ToOData() *odata.Query
func (CreateMessageUnsubscribeOperationOptions) ToQuery ¶
func (o CreateMessageUnsubscribeOperationOptions) ToQuery() *client.QueryParams
type DeleteMessageOperationOptions ¶
type DeleteMessageOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteMessageOperationOptions ¶
func DefaultDeleteMessageOperationOptions() DeleteMessageOperationOptions
func (DeleteMessageOperationOptions) ToHeaders ¶
func (o DeleteMessageOperationOptions) ToHeaders() *client.Headers
func (DeleteMessageOperationOptions) ToOData ¶
func (o DeleteMessageOperationOptions) ToOData() *odata.Query
func (DeleteMessageOperationOptions) ToQuery ¶
func (o DeleteMessageOperationOptions) ToQuery() *client.QueryParams
type ForwardMessageOperationOptions ¶
type ForwardMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultForwardMessageOperationOptions ¶
func DefaultForwardMessageOperationOptions() ForwardMessageOperationOptions
func (ForwardMessageOperationOptions) ToHeaders ¶
func (o ForwardMessageOperationOptions) ToHeaders() *client.Headers
func (ForwardMessageOperationOptions) ToOData ¶
func (o ForwardMessageOperationOptions) ToOData() *odata.Query
func (ForwardMessageOperationOptions) ToQuery ¶
func (o ForwardMessageOperationOptions) ToQuery() *client.QueryParams
type ForwardMessageRequest ¶
type GetMessageOperationOptions ¶
type GetMessageOperationOptions struct { Expand *odata.Expand IncludeHiddenMessages *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetMessageOperationOptions ¶
func DefaultGetMessageOperationOptions() GetMessageOperationOptions
func (GetMessageOperationOptions) ToHeaders ¶
func (o GetMessageOperationOptions) ToHeaders() *client.Headers
func (GetMessageOperationOptions) ToOData ¶
func (o GetMessageOperationOptions) ToOData() *odata.Query
func (GetMessageOperationOptions) ToQuery ¶
func (o GetMessageOperationOptions) ToQuery() *client.QueryParams
type GetMessageValueOperationOptions ¶
type GetMessageValueOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultGetMessageValueOperationOptions ¶
func DefaultGetMessageValueOperationOptions() GetMessageValueOperationOptions
func (GetMessageValueOperationOptions) ToHeaders ¶
func (o GetMessageValueOperationOptions) ToHeaders() *client.Headers
func (GetMessageValueOperationOptions) ToOData ¶
func (o GetMessageValueOperationOptions) ToOData() *odata.Query
func (GetMessageValueOperationOptions) ToQuery ¶
func (o GetMessageValueOperationOptions) ToQuery() *client.QueryParams
type GetMessagesCountOperationOptions ¶
type GetMessagesCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetMessagesCountOperationOptions ¶
func DefaultGetMessagesCountOperationOptions() GetMessagesCountOperationOptions
func (GetMessagesCountOperationOptions) ToHeaders ¶
func (o GetMessagesCountOperationOptions) ToHeaders() *client.Headers
func (GetMessagesCountOperationOptions) ToOData ¶
func (o GetMessagesCountOperationOptions) ToOData() *odata.Query
func (GetMessagesCountOperationOptions) ToQuery ¶
func (o GetMessagesCountOperationOptions) ToQuery() *client.QueryParams
type ListMessagesCustomPager ¶
func (*ListMessagesCustomPager) NextPageLink ¶
func (p *ListMessagesCustomPager) NextPageLink() *odata.Link
type ListMessagesOperationOptions ¶
type ListMessagesOperationOptions struct { Count *bool Expand *odata.Expand Filter *string IncludeHiddenMessages *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListMessagesOperationOptions ¶
func DefaultListMessagesOperationOptions() ListMessagesOperationOptions
func (ListMessagesOperationOptions) ToHeaders ¶
func (o ListMessagesOperationOptions) ToHeaders() *client.Headers
func (ListMessagesOperationOptions) ToOData ¶
func (o ListMessagesOperationOptions) ToOData() *odata.Query
func (ListMessagesOperationOptions) ToQuery ¶
func (o ListMessagesOperationOptions) ToQuery() *client.QueryParams
type MarkMessageAsJunkOperationOptions ¶
type MarkMessageAsJunkOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultMarkMessageAsJunkOperationOptions ¶
func DefaultMarkMessageAsJunkOperationOptions() MarkMessageAsJunkOperationOptions
func (MarkMessageAsJunkOperationOptions) ToHeaders ¶
func (o MarkMessageAsJunkOperationOptions) ToHeaders() *client.Headers
func (MarkMessageAsJunkOperationOptions) ToOData ¶
func (o MarkMessageAsJunkOperationOptions) ToOData() *odata.Query
func (MarkMessageAsJunkOperationOptions) ToQuery ¶
func (o MarkMessageAsJunkOperationOptions) ToQuery() *client.QueryParams
type MarkMessageAsJunkRequest ¶
type MarkMessageAsJunkRequest struct {
MoveToJunk *bool `json:"MoveToJunk,omitempty"`
}
type MarkMessageAsNotJunkOperationOptions ¶
type MarkMessageAsNotJunkOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultMarkMessageAsNotJunkOperationOptions ¶
func DefaultMarkMessageAsNotJunkOperationOptions() MarkMessageAsNotJunkOperationOptions
func (MarkMessageAsNotJunkOperationOptions) ToHeaders ¶
func (o MarkMessageAsNotJunkOperationOptions) ToHeaders() *client.Headers
func (MarkMessageAsNotJunkOperationOptions) ToOData ¶
func (o MarkMessageAsNotJunkOperationOptions) ToOData() *odata.Query
func (MarkMessageAsNotJunkOperationOptions) ToQuery ¶
func (o MarkMessageAsNotJunkOperationOptions) ToQuery() *client.QueryParams
type MarkMessageAsNotJunkRequest ¶
type MarkMessageAsNotJunkRequest struct {
MoveToInbox *bool `json:"MoveToInbox,omitempty"`
}
type MessageClient ¶
func NewMessageClientWithBaseURI ¶
func NewMessageClientWithBaseURI(sdkApi sdkEnv.Api) (*MessageClient, error)
func (MessageClient) CopyMessage ¶
func (c MessageClient) CopyMessage(ctx context.Context, id beta.UserIdMessageId, input CopyMessageRequest, options CopyMessageOperationOptions) (result CopyMessageOperationResponse, err error)
CopyMessage - Invoke action copy. Copy a message to a folder within the user's mailbox.
func (MessageClient) CreateMessage ¶
func (c MessageClient) CreateMessage(ctx context.Context, id beta.UserId, input beta.Message, options CreateMessageOperationOptions) (result CreateMessageOperationResponse, err error)
CreateMessage - Create new navigation property to messages for users
func (MessageClient) CreateMessageForward ¶
func (c MessageClient) CreateMessageForward(ctx context.Context, id beta.UserIdMessageId, input CreateMessageForwardRequest, options CreateMessageForwardOperationOptions) (result CreateMessageForwardOperationResponse, err error)
CreateMessageForward - 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 (MessageClient) CreateMessageReply ¶
func (c MessageClient) CreateMessageReply(ctx context.Context, id beta.UserIdMessageId, input CreateMessageReplyRequest, options CreateMessageReplyOperationOptions) (result CreateMessageReplyOperationResponse, err error)
CreateMessageReply - 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 (MessageClient) CreateMessageReplyAll ¶
func (c MessageClient) CreateMessageReplyAll(ctx context.Context, id beta.UserIdMessageId, input CreateMessageReplyAllRequest, options CreateMessageReplyAllOperationOptions) (result CreateMessageReplyAllOperationResponse, err error)
CreateMessageReplyAll - 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 (MessageClient) CreateMessageUnsubscribe ¶
func (c MessageClient) CreateMessageUnsubscribe(ctx context.Context, id beta.UserIdMessageId, options CreateMessageUnsubscribeOperationOptions) (result CreateMessageUnsubscribeOperationResponse, err error)
CreateMessageUnsubscribe - 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 (MessageClient) DeleteMessage ¶
func (c MessageClient) DeleteMessage(ctx context.Context, id beta.UserIdMessageId, options DeleteMessageOperationOptions) (result DeleteMessageOperationResponse, err error)
DeleteMessage - Delete navigation property messages for users
func (MessageClient) ForwardMessage ¶
func (c MessageClient) ForwardMessage(ctx context.Context, id beta.UserIdMessageId, input ForwardMessageRequest, options ForwardMessageOperationOptions) (result ForwardMessageOperationResponse, err error)
ForwardMessage - 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 (MessageClient) GetMessage ¶
func (c MessageClient) GetMessage(ctx context.Context, id beta.UserIdMessageId, options GetMessageOperationOptions) (result GetMessageOperationResponse, err error)
GetMessage - Get messages from users. The messages in a mailbox or folder. Read-only. Nullable.
func (MessageClient) GetMessageValue ¶
func (c MessageClient) GetMessageValue(ctx context.Context, id beta.UserIdMessageId, options GetMessageValueOperationOptions) (result GetMessageValueOperationResponse, err error)
GetMessageValue - Get media content for the navigation property messages from users. The unique identifier for an entity. Read-only.
func (MessageClient) GetMessagesCount ¶
func (c MessageClient) GetMessagesCount(ctx context.Context, id beta.UserId, options GetMessagesCountOperationOptions) (result GetMessagesCountOperationResponse, err error)
GetMessagesCount - Get the number of the resource
func (MessageClient) ListMessages ¶
func (c MessageClient) ListMessages(ctx context.Context, id beta.UserId, options ListMessagesOperationOptions) (result ListMessagesOperationResponse, err error)
ListMessages - Get messages from users. The messages in a mailbox or folder. Read-only. Nullable.
func (MessageClient) ListMessagesComplete ¶
func (c MessageClient) ListMessagesComplete(ctx context.Context, id beta.UserId, options ListMessagesOperationOptions) (ListMessagesCompleteResult, error)
ListMessagesComplete retrieves all the results into a single object
func (MessageClient) ListMessagesCompleteMatchingPredicate ¶
func (c MessageClient) ListMessagesCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListMessagesOperationOptions, predicate MessageOperationPredicate) (result ListMessagesCompleteResult, err error)
ListMessagesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MessageClient) MarkMessageAsJunk ¶
func (c MessageClient) MarkMessageAsJunk(ctx context.Context, id beta.UserIdMessageId, input MarkMessageAsJunkRequest, options MarkMessageAsJunkOperationOptions) (result MarkMessageAsJunkOperationResponse, err error)
MarkMessageAsJunk - 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 (MessageClient) MarkMessageAsNotJunk ¶
func (c MessageClient) MarkMessageAsNotJunk(ctx context.Context, id beta.UserIdMessageId, input MarkMessageAsNotJunkRequest, options MarkMessageAsNotJunkOperationOptions) (result MarkMessageAsNotJunkOperationResponse, err error)
MarkMessageAsNotJunk - 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 (MessageClient) MoveMessage ¶
func (c MessageClient) MoveMessage(ctx context.Context, id beta.UserIdMessageId, input MoveMessageRequest, options MoveMessageOperationOptions) (result MoveMessageOperationResponse, err error)
MoveMessage - 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 (MessageClient) RemoveMessageValue ¶
func (c MessageClient) RemoveMessageValue(ctx context.Context, id beta.UserIdMessageId, options RemoveMessageValueOperationOptions) (result RemoveMessageValueOperationResponse, err error)
RemoveMessageValue - Delete media content for the navigation property messages in users. The unique identifier for an entity. Read-only.
func (MessageClient) ReplyAllMessage ¶
func (c MessageClient) ReplyAllMessage(ctx context.Context, id beta.UserIdMessageId, input ReplyAllMessageRequest, options ReplyAllMessageOperationOptions) (result ReplyAllMessageOperationResponse, err error)
ReplyAllMessage - 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 (MessageClient) ReplyMessage ¶
func (c MessageClient) ReplyMessage(ctx context.Context, id beta.UserIdMessageId, input ReplyMessageRequest, options ReplyMessageOperationOptions) (result ReplyMessageOperationResponse, err error)
ReplyMessage - 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 (MessageClient) SendMessage ¶
func (c MessageClient) SendMessage(ctx context.Context, id beta.UserIdMessageId, options SendMessageOperationOptions) (result SendMessageOperationResponse, err error)
SendMessage - 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 (MessageClient) SetMessageValue ¶
func (c MessageClient) SetMessageValue(ctx context.Context, id beta.UserIdMessageId, input []byte, options SetMessageValueOperationOptions) (result SetMessageValueOperationResponse, err error)
SetMessageValue - Update media content for the navigation property messages in users. The unique identifier for an entity. Read-only.
func (MessageClient) UpdateMessage ¶
func (c MessageClient) UpdateMessage(ctx context.Context, id beta.UserIdMessageId, input beta.Message, options UpdateMessageOperationOptions) (result UpdateMessageOperationResponse, err error)
UpdateMessage - Update the navigation property messages in users
type MessageOperationPredicate ¶
type MessageOperationPredicate struct { }
type MoveMessageOperationOptions ¶
type MoveMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultMoveMessageOperationOptions ¶
func DefaultMoveMessageOperationOptions() MoveMessageOperationOptions
func (MoveMessageOperationOptions) ToHeaders ¶
func (o MoveMessageOperationOptions) ToHeaders() *client.Headers
func (MoveMessageOperationOptions) ToOData ¶
func (o MoveMessageOperationOptions) ToOData() *odata.Query
func (MoveMessageOperationOptions) ToQuery ¶
func (o MoveMessageOperationOptions) ToQuery() *client.QueryParams
type MoveMessageRequest ¶
type MoveMessageRequest struct {
DestinationId *string `json:"DestinationId,omitempty"`
}
type RemoveMessageValueOperationOptions ¶
type RemoveMessageValueOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveMessageValueOperationOptions ¶
func DefaultRemoveMessageValueOperationOptions() RemoveMessageValueOperationOptions
func (RemoveMessageValueOperationOptions) ToHeaders ¶
func (o RemoveMessageValueOperationOptions) ToHeaders() *client.Headers
func (RemoveMessageValueOperationOptions) ToOData ¶
func (o RemoveMessageValueOperationOptions) ToOData() *odata.Query
func (RemoveMessageValueOperationOptions) ToQuery ¶
func (o RemoveMessageValueOperationOptions) ToQuery() *client.QueryParams
type ReplyAllMessageOperationOptions ¶
type ReplyAllMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultReplyAllMessageOperationOptions ¶
func DefaultReplyAllMessageOperationOptions() ReplyAllMessageOperationOptions
func (ReplyAllMessageOperationOptions) ToHeaders ¶
func (o ReplyAllMessageOperationOptions) ToHeaders() *client.Headers
func (ReplyAllMessageOperationOptions) ToOData ¶
func (o ReplyAllMessageOperationOptions) ToOData() *odata.Query
func (ReplyAllMessageOperationOptions) ToQuery ¶
func (o ReplyAllMessageOperationOptions) ToQuery() *client.QueryParams
type ReplyAllMessageRequest ¶
type ReplyMessageOperationOptions ¶
type ReplyMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultReplyMessageOperationOptions ¶
func DefaultReplyMessageOperationOptions() ReplyMessageOperationOptions
func (ReplyMessageOperationOptions) ToHeaders ¶
func (o ReplyMessageOperationOptions) ToHeaders() *client.Headers
func (ReplyMessageOperationOptions) ToOData ¶
func (o ReplyMessageOperationOptions) ToOData() *odata.Query
func (ReplyMessageOperationOptions) ToQuery ¶
func (o ReplyMessageOperationOptions) ToQuery() *client.QueryParams
type ReplyMessageRequest ¶
type SendMessageOperationOptions ¶
type SendMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSendMessageOperationOptions ¶
func DefaultSendMessageOperationOptions() SendMessageOperationOptions
func (SendMessageOperationOptions) ToHeaders ¶
func (o SendMessageOperationOptions) ToHeaders() *client.Headers
func (SendMessageOperationOptions) ToOData ¶
func (o SendMessageOperationOptions) ToOData() *odata.Query
func (SendMessageOperationOptions) ToQuery ¶
func (o SendMessageOperationOptions) ToQuery() *client.QueryParams
type SetMessageValueOperationOptions ¶
type SetMessageValueOperationOptions struct { ContentType string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetMessageValueOperationOptions ¶
func DefaultSetMessageValueOperationOptions() SetMessageValueOperationOptions
func (SetMessageValueOperationOptions) ToHeaders ¶
func (o SetMessageValueOperationOptions) ToHeaders() *client.Headers
func (SetMessageValueOperationOptions) ToOData ¶
func (o SetMessageValueOperationOptions) ToOData() *odata.Query
func (SetMessageValueOperationOptions) ToQuery ¶
func (o SetMessageValueOperationOptions) ToQuery() *client.QueryParams
type UpdateMessageOperationOptions ¶
type UpdateMessageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateMessageOperationOptions ¶
func DefaultUpdateMessageOperationOptions() UpdateMessageOperationOptions
func (UpdateMessageOperationOptions) ToHeaders ¶
func (o UpdateMessageOperationOptions) ToHeaders() *client.Headers
func (UpdateMessageOperationOptions) ToOData ¶
func (o UpdateMessageOperationOptions) ToOData() *odata.Query
func (UpdateMessageOperationOptions) ToQuery ¶
func (o UpdateMessageOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_copymessage.go
- method_createmessage.go
- method_createmessageforward.go
- method_createmessagereply.go
- method_createmessagereplyall.go
- method_createmessageunsubscribe.go
- method_deletemessage.go
- method_forwardmessage.go
- method_getmessage.go
- method_getmessagescount.go
- method_getmessagevalue.go
- method_listmessages.go
- method_markmessageasjunk.go
- method_markmessageasnotjunk.go
- method_movemessage.go
- method_removemessagevalue.go
- method_replyallmessage.go
- method_replymessage.go
- method_sendmessage.go
- method_setmessagevalue.go
- method_updatemessage.go
- model_copymessagerequest.go
- model_createmessageforwardrequest.go
- model_createmessagereplyallrequest.go
- model_createmessagereplyrequest.go
- model_forwardmessagerequest.go
- model_markmessageasjunkrequest.go
- model_markmessageasnotjunkrequest.go
- model_movemessagerequest.go
- model_replyallmessagerequest.go
- model_replymessagerequest.go
- predicates.go
- version.go