mailfolderchildfoldermessage

package
v0.20241212.1154051 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/mailfolderchildfoldermessage Documentation

The mailfolderchildfoldermessage SDK allows for interaction with Microsoft Graph users (API Version stable).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/mailfolderchildfoldermessage"

Client Initialization

client := mailfolderchildfoldermessage.NewMailFolderChildFolderMessageClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: MailFolderChildFolderMessageClient.CopyMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

payload := mailfolderchildfoldermessage.CopyMailFolderChildFolderMessageRequest{
	// ...
}


read, err := client.CopyMailFolderChildFolderMessage(ctx, id, payload, mailfolderchildfoldermessage.DefaultCopyMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.CreateMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderID("userId", "mailFolderId", "mailFolderId1")

payload := mailfolderchildfoldermessage.Message{
	// ...
}


read, err := client.CreateMailFolderChildFolderMessage(ctx, id, payload, mailfolderchildfoldermessage.DefaultCreateMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.CreateMailFolderChildFolderMessageForward

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

payload := mailfolderchildfoldermessage.CreateMailFolderChildFolderMessageForwardRequest{
	// ...
}


read, err := client.CreateMailFolderChildFolderMessageForward(ctx, id, payload, mailfolderchildfoldermessage.DefaultCreateMailFolderChildFolderMessageForwardOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.CreateMailFolderChildFolderMessageReply

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

payload := mailfolderchildfoldermessage.CreateMailFolderChildFolderMessageReplyRequest{
	// ...
}


read, err := client.CreateMailFolderChildFolderMessageReply(ctx, id, payload, mailfolderchildfoldermessage.DefaultCreateMailFolderChildFolderMessageReplyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.CreateMailFolderChildFolderMessageReplyAll

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

payload := mailfolderchildfoldermessage.CreateMailFolderChildFolderMessageReplyAllRequest{
	// ...
}


read, err := client.CreateMailFolderChildFolderMessageReplyAll(ctx, id, payload, mailfolderchildfoldermessage.DefaultCreateMailFolderChildFolderMessageReplyAllOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.DeleteMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

read, err := client.DeleteMailFolderChildFolderMessage(ctx, id, mailfolderchildfoldermessage.DefaultDeleteMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.ForwardMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

payload := mailfolderchildfoldermessage.ForwardMailFolderChildFolderMessageRequest{
	// ...
}


read, err := client.ForwardMailFolderChildFolderMessage(ctx, id, payload, mailfolderchildfoldermessage.DefaultForwardMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.GetMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

read, err := client.GetMailFolderChildFolderMessage(ctx, id, mailfolderchildfoldermessage.DefaultGetMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.GetMailFolderChildFolderMessageValue

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

read, err := client.GetMailFolderChildFolderMessageValue(ctx, id, mailfolderchildfoldermessage.DefaultGetMailFolderChildFolderMessageValueOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.GetMailFolderChildFolderMessagesCount

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderID("userId", "mailFolderId", "mailFolderId1")

read, err := client.GetMailFolderChildFolderMessagesCount(ctx, id, mailfolderchildfoldermessage.DefaultGetMailFolderChildFolderMessagesCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.ListMailFolderChildFolderMessages

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderID("userId", "mailFolderId", "mailFolderId1")

// alternatively `client.ListMailFolderChildFolderMessages(ctx, id, mailfolderchildfoldermessage.DefaultListMailFolderChildFolderMessagesOperationOptions())` can be used to do batched pagination
items, err := client.ListMailFolderChildFolderMessagesComplete(ctx, id, mailfolderchildfoldermessage.DefaultListMailFolderChildFolderMessagesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: MailFolderChildFolderMessageClient.MoveMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

payload := mailfolderchildfoldermessage.MoveMailFolderChildFolderMessageRequest{
	// ...
}


read, err := client.MoveMailFolderChildFolderMessage(ctx, id, payload, mailfolderchildfoldermessage.DefaultMoveMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.RemoveMailFolderChildFolderMessageValue

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

read, err := client.RemoveMailFolderChildFolderMessageValue(ctx, id, mailfolderchildfoldermessage.DefaultRemoveMailFolderChildFolderMessageValueOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.ReplyAllMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

payload := mailfolderchildfoldermessage.ReplyAllMailFolderChildFolderMessageRequest{
	// ...
}


read, err := client.ReplyAllMailFolderChildFolderMessage(ctx, id, payload, mailfolderchildfoldermessage.DefaultReplyAllMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.ReplyMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

payload := mailfolderchildfoldermessage.ReplyMailFolderChildFolderMessageRequest{
	// ...
}


read, err := client.ReplyMailFolderChildFolderMessage(ctx, id, payload, mailfolderchildfoldermessage.DefaultReplyMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.SendMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

read, err := client.SendMailFolderChildFolderMessage(ctx, id, mailfolderchildfoldermessage.DefaultSendMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.SetMailFolderChildFolderMessageValue

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")
var payload []byte

read, err := client.SetMailFolderChildFolderMessageValue(ctx, id, payload, mailfolderchildfoldermessage.DefaultSetMailFolderChildFolderMessageValueOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MailFolderChildFolderMessageClient.UpdateMailFolderChildFolderMessage

ctx := context.TODO()
id := mailfolderchildfoldermessage.NewUserIdMailFolderIdChildFolderIdMessageID("userId", "mailFolderId", "mailFolderId1", "messageId")

payload := mailfolderchildfoldermessage.Message{
	// ...
}


read, err := client.UpdateMailFolderChildFolderMessage(ctx, id, payload, mailfolderchildfoldermessage.DefaultUpdateMailFolderChildFolderMessageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyMailFolderChildFolderMessageOperationOptions

type CopyMailFolderChildFolderMessageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCopyMailFolderChildFolderMessageOperationOptions

func DefaultCopyMailFolderChildFolderMessageOperationOptions() CopyMailFolderChildFolderMessageOperationOptions

func (CopyMailFolderChildFolderMessageOperationOptions) ToHeaders

func (CopyMailFolderChildFolderMessageOperationOptions) ToOData

func (CopyMailFolderChildFolderMessageOperationOptions) ToQuery

type CopyMailFolderChildFolderMessageOperationResponse

type CopyMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        stable.Message
}

type CopyMailFolderChildFolderMessageRequest

type CopyMailFolderChildFolderMessageRequest struct {
	DestinationId *string `json:"DestinationId,omitempty"`
}

type CreateMailFolderChildFolderMessageForwardOperationOptions

type CreateMailFolderChildFolderMessageForwardOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateMailFolderChildFolderMessageForwardOperationOptions) ToHeaders

func (CreateMailFolderChildFolderMessageForwardOperationOptions) ToOData

func (CreateMailFolderChildFolderMessageForwardOperationOptions) ToQuery

type CreateMailFolderChildFolderMessageForwardOperationResponse

type CreateMailFolderChildFolderMessageForwardOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        stable.Message
}

type CreateMailFolderChildFolderMessageForwardRequest

type CreateMailFolderChildFolderMessageForwardRequest struct {
	Comment      nullable.Type[string] `json:"Comment,omitempty"`
	Message      *stable.Message       `json:"Message,omitempty"`
	ToRecipients *[]stable.Recipient   `json:"ToRecipients,omitempty"`
}

type CreateMailFolderChildFolderMessageOperationOptions

type CreateMailFolderChildFolderMessageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateMailFolderChildFolderMessageOperationOptions

func DefaultCreateMailFolderChildFolderMessageOperationOptions() CreateMailFolderChildFolderMessageOperationOptions

func (CreateMailFolderChildFolderMessageOperationOptions) ToHeaders

func (CreateMailFolderChildFolderMessageOperationOptions) ToOData

func (CreateMailFolderChildFolderMessageOperationOptions) ToQuery

type CreateMailFolderChildFolderMessageOperationResponse

type CreateMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        stable.Message
}

type CreateMailFolderChildFolderMessageReplyAllOperationOptions

type CreateMailFolderChildFolderMessageReplyAllOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateMailFolderChildFolderMessageReplyAllOperationOptions) ToHeaders

func (CreateMailFolderChildFolderMessageReplyAllOperationOptions) ToOData

func (CreateMailFolderChildFolderMessageReplyAllOperationOptions) ToQuery

type CreateMailFolderChildFolderMessageReplyAllOperationResponse

type CreateMailFolderChildFolderMessageReplyAllOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        stable.Message
}

type CreateMailFolderChildFolderMessageReplyAllRequest

type CreateMailFolderChildFolderMessageReplyAllRequest struct {
	Comment nullable.Type[string] `json:"Comment,omitempty"`
	Message *stable.Message       `json:"Message,omitempty"`
}

type CreateMailFolderChildFolderMessageReplyOperationOptions

type CreateMailFolderChildFolderMessageReplyOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateMailFolderChildFolderMessageReplyOperationOptions) ToHeaders

func (CreateMailFolderChildFolderMessageReplyOperationOptions) ToOData

func (CreateMailFolderChildFolderMessageReplyOperationOptions) ToQuery

type CreateMailFolderChildFolderMessageReplyOperationResponse

type CreateMailFolderChildFolderMessageReplyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        stable.Message
}

type CreateMailFolderChildFolderMessageReplyRequest

type CreateMailFolderChildFolderMessageReplyRequest struct {
	Comment nullable.Type[string] `json:"Comment,omitempty"`
	Message *stable.Message       `json:"Message,omitempty"`
}

type DeleteMailFolderChildFolderMessageOperationOptions

type DeleteMailFolderChildFolderMessageOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteMailFolderChildFolderMessageOperationOptions

func DefaultDeleteMailFolderChildFolderMessageOperationOptions() DeleteMailFolderChildFolderMessageOperationOptions

func (DeleteMailFolderChildFolderMessageOperationOptions) ToHeaders

func (DeleteMailFolderChildFolderMessageOperationOptions) ToOData

func (DeleteMailFolderChildFolderMessageOperationOptions) ToQuery

type DeleteMailFolderChildFolderMessageOperationResponse

type DeleteMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ForwardMailFolderChildFolderMessageOperationOptions

type ForwardMailFolderChildFolderMessageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultForwardMailFolderChildFolderMessageOperationOptions

func DefaultForwardMailFolderChildFolderMessageOperationOptions() ForwardMailFolderChildFolderMessageOperationOptions

func (ForwardMailFolderChildFolderMessageOperationOptions) ToHeaders

func (ForwardMailFolderChildFolderMessageOperationOptions) ToOData

func (ForwardMailFolderChildFolderMessageOperationOptions) ToQuery

type ForwardMailFolderChildFolderMessageOperationResponse

type ForwardMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ForwardMailFolderChildFolderMessageRequest

type ForwardMailFolderChildFolderMessageRequest struct {
	Comment      nullable.Type[string] `json:"Comment,omitempty"`
	Message      *stable.Message       `json:"Message,omitempty"`
	ToRecipients *[]stable.Recipient   `json:"ToRecipients,omitempty"`
}

type GetMailFolderChildFolderMessageOperationOptions

type GetMailFolderChildFolderMessageOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetMailFolderChildFolderMessageOperationOptions

func DefaultGetMailFolderChildFolderMessageOperationOptions() GetMailFolderChildFolderMessageOperationOptions

func (GetMailFolderChildFolderMessageOperationOptions) ToHeaders

func (GetMailFolderChildFolderMessageOperationOptions) ToOData

func (GetMailFolderChildFolderMessageOperationOptions) ToQuery

type GetMailFolderChildFolderMessageOperationResponse

type GetMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        stable.Message
}

type GetMailFolderChildFolderMessageValueOperationOptions

type GetMailFolderChildFolderMessageValueOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultGetMailFolderChildFolderMessageValueOperationOptions

func DefaultGetMailFolderChildFolderMessageValueOperationOptions() GetMailFolderChildFolderMessageValueOperationOptions

func (GetMailFolderChildFolderMessageValueOperationOptions) ToHeaders

func (GetMailFolderChildFolderMessageValueOperationOptions) ToOData

func (GetMailFolderChildFolderMessageValueOperationOptions) ToQuery

type GetMailFolderChildFolderMessageValueOperationResponse

type GetMailFolderChildFolderMessageValueOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type GetMailFolderChildFolderMessagesCountOperationOptions

type GetMailFolderChildFolderMessagesCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func DefaultGetMailFolderChildFolderMessagesCountOperationOptions

func DefaultGetMailFolderChildFolderMessagesCountOperationOptions() GetMailFolderChildFolderMessagesCountOperationOptions

func (GetMailFolderChildFolderMessagesCountOperationOptions) ToHeaders

func (GetMailFolderChildFolderMessagesCountOperationOptions) ToOData

func (GetMailFolderChildFolderMessagesCountOperationOptions) ToQuery

type GetMailFolderChildFolderMessagesCountOperationResponse

type GetMailFolderChildFolderMessagesCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListMailFolderChildFolderMessagesCompleteResult

type ListMailFolderChildFolderMessagesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.Message
}

type ListMailFolderChildFolderMessagesCustomPager

type ListMailFolderChildFolderMessagesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ListMailFolderChildFolderMessagesOperationOptions

type ListMailFolderChildFolderMessagesOperationOptions 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 DefaultListMailFolderChildFolderMessagesOperationOptions

func DefaultListMailFolderChildFolderMessagesOperationOptions() ListMailFolderChildFolderMessagesOperationOptions

func (ListMailFolderChildFolderMessagesOperationOptions) ToHeaders

func (ListMailFolderChildFolderMessagesOperationOptions) ToOData

func (ListMailFolderChildFolderMessagesOperationOptions) ToQuery

type ListMailFolderChildFolderMessagesOperationResponse

type ListMailFolderChildFolderMessagesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.Message
}

type MailFolderChildFolderMessageClient

type MailFolderChildFolderMessageClient struct {
	Client *msgraph.Client
}

func NewMailFolderChildFolderMessageClientWithBaseURI

func NewMailFolderChildFolderMessageClientWithBaseURI(sdkApi sdkEnv.Api) (*MailFolderChildFolderMessageClient, error)

func (MailFolderChildFolderMessageClient) CopyMailFolderChildFolderMessage

CopyMailFolderChildFolderMessage - Invoke action copy. Copy a message to a folder within the user's mailbox.

func (MailFolderChildFolderMessageClient) CreateMailFolderChildFolderMessage

CreateMailFolderChildFolderMessage - Create new navigation property to messages for users

func (MailFolderChildFolderMessageClient) CreateMailFolderChildFolderMessageForward

CreateMailFolderChildFolderMessageForward - 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 (MailFolderChildFolderMessageClient) CreateMailFolderChildFolderMessageReply

CreateMailFolderChildFolderMessageReply - 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 (MailFolderChildFolderMessageClient) CreateMailFolderChildFolderMessageReplyAll

CreateMailFolderChildFolderMessageReplyAll - 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 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-all to a message in a single action.

func (MailFolderChildFolderMessageClient) DeleteMailFolderChildFolderMessage

DeleteMailFolderChildFolderMessage - Delete navigation property messages for users

func (MailFolderChildFolderMessageClient) ForwardMailFolderChildFolderMessage

ForwardMailFolderChildFolderMessage - 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 (MailFolderChildFolderMessageClient) GetMailFolderChildFolderMessage

GetMailFolderChildFolderMessage - Get messages from users. The collection of messages in the mailFolder.

func (MailFolderChildFolderMessageClient) GetMailFolderChildFolderMessageValue

GetMailFolderChildFolderMessageValue - Get media content for the navigation property messages from users. The unique identifier for an entity. Read-only.

func (MailFolderChildFolderMessageClient) GetMailFolderChildFolderMessagesCount

GetMailFolderChildFolderMessagesCount - Get the number of the resource

func (MailFolderChildFolderMessageClient) ListMailFolderChildFolderMessages

ListMailFolderChildFolderMessages - Get messages from users. The collection of messages in the mailFolder.

func (MailFolderChildFolderMessageClient) ListMailFolderChildFolderMessagesComplete

ListMailFolderChildFolderMessagesComplete retrieves all the results into a single object

func (MailFolderChildFolderMessageClient) ListMailFolderChildFolderMessagesCompleteMatchingPredicate

ListMailFolderChildFolderMessagesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (MailFolderChildFolderMessageClient) MoveMailFolderChildFolderMessage

MoveMailFolderChildFolderMessage - 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 (MailFolderChildFolderMessageClient) RemoveMailFolderChildFolderMessageValue

RemoveMailFolderChildFolderMessageValue - Delete media content for the navigation property messages in users. The unique identifier for an entity. Read-only.

func (MailFolderChildFolderMessageClient) ReplyAllMailFolderChildFolderMessage

ReplyAllMailFolderChildFolderMessage - 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 (MailFolderChildFolderMessageClient) ReplyMailFolderChildFolderMessage

ReplyMailFolderChildFolderMessage - 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 an existing message and send it later.

func (MailFolderChildFolderMessageClient) SendMailFolderChildFolderMessage

SendMailFolderChildFolderMessage - 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 (MailFolderChildFolderMessageClient) SetMailFolderChildFolderMessageValue

SetMailFolderChildFolderMessageValue - Update media content for the navigation property messages in users. The unique identifier for an entity. Read-only.

func (MailFolderChildFolderMessageClient) UpdateMailFolderChildFolderMessage

UpdateMailFolderChildFolderMessage - Update the navigation property messages in users

type MessageOperationPredicate

type MessageOperationPredicate struct {
}

func (MessageOperationPredicate) Matches

func (p MessageOperationPredicate) Matches(input stable.Message) bool

type MoveMailFolderChildFolderMessageOperationOptions

type MoveMailFolderChildFolderMessageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultMoveMailFolderChildFolderMessageOperationOptions

func DefaultMoveMailFolderChildFolderMessageOperationOptions() MoveMailFolderChildFolderMessageOperationOptions

func (MoveMailFolderChildFolderMessageOperationOptions) ToHeaders

func (MoveMailFolderChildFolderMessageOperationOptions) ToOData

func (MoveMailFolderChildFolderMessageOperationOptions) ToQuery

type MoveMailFolderChildFolderMessageOperationResponse

type MoveMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        stable.Message
}

type MoveMailFolderChildFolderMessageRequest

type MoveMailFolderChildFolderMessageRequest struct {
	DestinationId *string `json:"DestinationId,omitempty"`
}

type RemoveMailFolderChildFolderMessageValueOperationOptions

type RemoveMailFolderChildFolderMessageValueOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (RemoveMailFolderChildFolderMessageValueOperationOptions) ToHeaders

func (RemoveMailFolderChildFolderMessageValueOperationOptions) ToOData

func (RemoveMailFolderChildFolderMessageValueOperationOptions) ToQuery

type RemoveMailFolderChildFolderMessageValueOperationResponse

type RemoveMailFolderChildFolderMessageValueOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ReplyAllMailFolderChildFolderMessageOperationOptions

type ReplyAllMailFolderChildFolderMessageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultReplyAllMailFolderChildFolderMessageOperationOptions

func DefaultReplyAllMailFolderChildFolderMessageOperationOptions() ReplyAllMailFolderChildFolderMessageOperationOptions

func (ReplyAllMailFolderChildFolderMessageOperationOptions) ToHeaders

func (ReplyAllMailFolderChildFolderMessageOperationOptions) ToOData

func (ReplyAllMailFolderChildFolderMessageOperationOptions) ToQuery

type ReplyAllMailFolderChildFolderMessageOperationResponse

type ReplyAllMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ReplyAllMailFolderChildFolderMessageRequest

type ReplyAllMailFolderChildFolderMessageRequest struct {
	Comment nullable.Type[string] `json:"Comment,omitempty"`
	Message *stable.Message       `json:"Message,omitempty"`
}

type ReplyMailFolderChildFolderMessageOperationOptions

type ReplyMailFolderChildFolderMessageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultReplyMailFolderChildFolderMessageOperationOptions

func DefaultReplyMailFolderChildFolderMessageOperationOptions() ReplyMailFolderChildFolderMessageOperationOptions

func (ReplyMailFolderChildFolderMessageOperationOptions) ToHeaders

func (ReplyMailFolderChildFolderMessageOperationOptions) ToOData

func (ReplyMailFolderChildFolderMessageOperationOptions) ToQuery

type ReplyMailFolderChildFolderMessageOperationResponse

type ReplyMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ReplyMailFolderChildFolderMessageRequest

type ReplyMailFolderChildFolderMessageRequest struct {
	Comment nullable.Type[string] `json:"Comment,omitempty"`
	Message *stable.Message       `json:"Message,omitempty"`
}

type SendMailFolderChildFolderMessageOperationOptions

type SendMailFolderChildFolderMessageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultSendMailFolderChildFolderMessageOperationOptions

func DefaultSendMailFolderChildFolderMessageOperationOptions() SendMailFolderChildFolderMessageOperationOptions

func (SendMailFolderChildFolderMessageOperationOptions) ToHeaders

func (SendMailFolderChildFolderMessageOperationOptions) ToOData

func (SendMailFolderChildFolderMessageOperationOptions) ToQuery

type SendMailFolderChildFolderMessageOperationResponse

type SendMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type SetMailFolderChildFolderMessageValueOperationOptions

type SetMailFolderChildFolderMessageValueOperationOptions struct {
	ContentType string
	Metadata    *odata.Metadata
	RetryFunc   client.RequestRetryFunc
}

func DefaultSetMailFolderChildFolderMessageValueOperationOptions

func DefaultSetMailFolderChildFolderMessageValueOperationOptions() SetMailFolderChildFolderMessageValueOperationOptions

func (SetMailFolderChildFolderMessageValueOperationOptions) ToHeaders

func (SetMailFolderChildFolderMessageValueOperationOptions) ToOData

func (SetMailFolderChildFolderMessageValueOperationOptions) ToQuery

type SetMailFolderChildFolderMessageValueOperationResponse

type SetMailFolderChildFolderMessageValueOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateMailFolderChildFolderMessageOperationOptions

type UpdateMailFolderChildFolderMessageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateMailFolderChildFolderMessageOperationOptions

func DefaultUpdateMailFolderChildFolderMessageOperationOptions() UpdateMailFolderChildFolderMessageOperationOptions

func (UpdateMailFolderChildFolderMessageOperationOptions) ToHeaders

func (UpdateMailFolderChildFolderMessageOperationOptions) ToOData

func (UpdateMailFolderChildFolderMessageOperationOptions) ToQuery

type UpdateMailFolderChildFolderMessageOperationResponse

type UpdateMailFolderChildFolderMessageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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