message

package
v0.20240923.1151247 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/me/stable/message Documentation

The message SDK allows for interaction with Microsoft Graph me (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/me/stable/message"

Client Initialization

client := message.NewMessageClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: MessageClient.CopyMessage

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

payload := message.CopyMessageRequest{
	// ...
}


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

Example Usage: MessageClient.CreateMessage

ctx := context.TODO()

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


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

Example Usage: MessageClient.CreateMessageForward

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

payload := message.CreateMessageForwardRequest{
	// ...
}


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

Example Usage: MessageClient.CreateMessageReply

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

payload := message.CreateMessageReplyRequest{
	// ...
}


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

Example Usage: MessageClient.CreateMessageReplyAll

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

payload := message.CreateMessageReplyAllRequest{
	// ...
}


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

Example Usage: MessageClient.DeleteMessage

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

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

Example Usage: MessageClient.ForwardMessage

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

payload := message.ForwardMessageRequest{
	// ...
}


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

Example Usage: MessageClient.GetMessage

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

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

Example Usage: MessageClient.GetMessageValue

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

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

Example Usage: MessageClient.GetMessagesCount

ctx := context.TODO()


read, err := client.GetMessagesCount(ctx, message.DefaultGetMessagesCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: MessageClient.ListMessages

ctx := context.TODO()


// alternatively `client.ListMessages(ctx, message.DefaultListMessagesOperationOptions())` can be used to do batched pagination
items, err := client.ListMessagesComplete(ctx, message.DefaultListMessagesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: MessageClient.MoveMessage

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

payload := message.MoveMessageRequest{
	// ...
}


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

Example Usage: MessageClient.RemoveMessageValue

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

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

Example Usage: MessageClient.ReplyAllMessage

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

payload := message.ReplyAllMessageRequest{
	// ...
}


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

Example Usage: MessageClient.ReplyMessage

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

payload := message.ReplyMessageRequest{
	// ...
}


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

Example Usage: MessageClient.SendMessage

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

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

Example Usage: MessageClient.SetMessageValue

ctx := context.TODO()
id := message.NewMeMessageID("messageId")
var payload []byte

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

Example Usage: MessageClient.UpdateMessage

ctx := context.TODO()
id := message.NewMeMessageID("messageId")

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


read, err := client.UpdateMessage(ctx, id, payload, message.DefaultUpdateMessageOperationOptions())
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 CopyMessageOperationOptions

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

func DefaultCopyMessageOperationOptions

func DefaultCopyMessageOperationOptions() CopyMessageOperationOptions

func (CopyMessageOperationOptions) ToHeaders

func (CopyMessageOperationOptions) ToOData

func (CopyMessageOperationOptions) ToQuery

type CopyMessageOperationResponse

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

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 (CreateMessageForwardOperationOptions) ToOData

func (CreateMessageForwardOperationOptions) ToQuery

type CreateMessageForwardOperationResponse

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

type CreateMessageForwardRequest

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

type CreateMessageOperationOptions

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

func DefaultCreateMessageOperationOptions

func DefaultCreateMessageOperationOptions() CreateMessageOperationOptions

func (CreateMessageOperationOptions) ToHeaders

func (CreateMessageOperationOptions) ToOData

func (CreateMessageOperationOptions) ToQuery

type CreateMessageOperationResponse

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

type CreateMessageReplyAllOperationOptions

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

func DefaultCreateMessageReplyAllOperationOptions

func DefaultCreateMessageReplyAllOperationOptions() CreateMessageReplyAllOperationOptions

func (CreateMessageReplyAllOperationOptions) ToHeaders

func (CreateMessageReplyAllOperationOptions) ToOData

func (CreateMessageReplyAllOperationOptions) ToQuery

type CreateMessageReplyAllOperationResponse

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

type CreateMessageReplyAllRequest

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

type CreateMessageReplyOperationOptions

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

func DefaultCreateMessageReplyOperationOptions

func DefaultCreateMessageReplyOperationOptions() CreateMessageReplyOperationOptions

func (CreateMessageReplyOperationOptions) ToHeaders

func (CreateMessageReplyOperationOptions) ToOData

func (CreateMessageReplyOperationOptions) ToQuery

type CreateMessageReplyOperationResponse

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

type CreateMessageReplyRequest

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

type DeleteMessageOperationOptions

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

func DefaultDeleteMessageOperationOptions

func DefaultDeleteMessageOperationOptions() DeleteMessageOperationOptions

func (DeleteMessageOperationOptions) ToHeaders

func (DeleteMessageOperationOptions) ToOData

func (DeleteMessageOperationOptions) ToQuery

type DeleteMessageOperationResponse

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

type ForwardMessageOperationOptions

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

func DefaultForwardMessageOperationOptions

func DefaultForwardMessageOperationOptions() ForwardMessageOperationOptions

func (ForwardMessageOperationOptions) ToHeaders

func (ForwardMessageOperationOptions) ToOData

func (ForwardMessageOperationOptions) ToQuery

type ForwardMessageOperationResponse

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

type ForwardMessageRequest

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

type GetMessageOperationOptions

type GetMessageOperationOptions struct {
	Expand    *odata.Expand
	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

type GetMessageOperationResponse

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

type GetMessageValueOperationOptions

type GetMessageValueOperationOptions struct {
	IncludeHiddenMessages *string
	Metadata              *odata.Metadata
	RetryFunc             client.RequestRetryFunc
}

func DefaultGetMessageValueOperationOptions

func DefaultGetMessageValueOperationOptions() GetMessageValueOperationOptions

func (GetMessageValueOperationOptions) ToHeaders

func (GetMessageValueOperationOptions) ToOData

func (GetMessageValueOperationOptions) ToQuery

type GetMessageValueOperationResponse

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

type GetMessagesCountOperationOptions

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

func DefaultGetMessagesCountOperationOptions

func DefaultGetMessagesCountOperationOptions() GetMessagesCountOperationOptions

func (GetMessagesCountOperationOptions) ToHeaders

func (GetMessagesCountOperationOptions) ToOData

func (GetMessagesCountOperationOptions) ToQuery

type GetMessagesCountOperationResponse

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

type ListMessagesCompleteResult

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

type ListMessagesCustomPager

type ListMessagesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
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 (ListMessagesOperationOptions) ToOData

func (ListMessagesOperationOptions) ToQuery

type ListMessagesOperationResponse

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

type MessageClient

type MessageClient struct {
	Client *msgraph.Client
}

func NewMessageClientWithBaseURI

func NewMessageClientWithBaseURI(sdkApi sdkEnv.Api) (*MessageClient, error)

func (MessageClient) CopyMessage

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

func (MessageClient) CreateMessage

CreateMessage - Create message. Create a draft of a new message in either JSON or MIME format. When using JSON format, you can: - Include an attachment to the message. - 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. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message.

func (MessageClient) CreateMessageForward

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

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

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 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 (MessageClient) DeleteMessage

DeleteMessage - Delete eventMessage. Delete eventMessage.

func (MessageClient) ForwardMessage

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

GetMessage - Get message. Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance.

func (MessageClient) GetMessageValue

GetMessageValue - Get open extension. Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.

func (MessageClient) GetMessagesCount

GetMessagesCount - Get the number of the resource

func (MessageClient) ListMessages

ListMessages - Get open extension. Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.

func (MessageClient) ListMessagesComplete

ListMessagesComplete retrieves all the results into a single object

func (MessageClient) ListMessagesCompleteMatchingPredicate

func (c MessageClient) ListMessagesCompleteMatchingPredicate(ctx context.Context, options ListMessagesOperationOptions, predicate MessageOperationPredicate) (result ListMessagesCompleteResult, err error)

ListMessagesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (MessageClient) MoveMessage

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

RemoveMessageValue - Delete eventMessage. Delete eventMessage.

func (MessageClient) ReplyAllMessage

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

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

func (MessageClient) SendMessage

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

SetMessageValue - Update message. Update the properties of a message object.

func (MessageClient) UpdateMessage

UpdateMessage - Update message. Update the properties of a message object.

type MessageOperationPredicate

type MessageOperationPredicate struct {
}

func (MessageOperationPredicate) Matches

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

type MoveMessageOperationOptions

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

func DefaultMoveMessageOperationOptions

func DefaultMoveMessageOperationOptions() MoveMessageOperationOptions

func (MoveMessageOperationOptions) ToHeaders

func (MoveMessageOperationOptions) ToOData

func (MoveMessageOperationOptions) ToQuery

type MoveMessageOperationResponse

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

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 (RemoveMessageValueOperationOptions) ToOData

func (RemoveMessageValueOperationOptions) ToQuery

type RemoveMessageValueOperationResponse

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

type ReplyAllMessageOperationOptions

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

func DefaultReplyAllMessageOperationOptions

func DefaultReplyAllMessageOperationOptions() ReplyAllMessageOperationOptions

func (ReplyAllMessageOperationOptions) ToHeaders

func (ReplyAllMessageOperationOptions) ToOData

func (ReplyAllMessageOperationOptions) ToQuery

type ReplyAllMessageOperationResponse

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

type ReplyAllMessageRequest

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

type ReplyMessageOperationOptions

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

func DefaultReplyMessageOperationOptions

func DefaultReplyMessageOperationOptions() ReplyMessageOperationOptions

func (ReplyMessageOperationOptions) ToHeaders

func (ReplyMessageOperationOptions) ToOData

func (ReplyMessageOperationOptions) ToQuery

type ReplyMessageOperationResponse

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

type ReplyMessageRequest

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

type SendMessageOperationOptions

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

func DefaultSendMessageOperationOptions

func DefaultSendMessageOperationOptions() SendMessageOperationOptions

func (SendMessageOperationOptions) ToHeaders

func (SendMessageOperationOptions) ToOData

func (SendMessageOperationOptions) ToQuery

type SendMessageOperationResponse

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

type SetMessageValueOperationOptions

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

func DefaultSetMessageValueOperationOptions

func DefaultSetMessageValueOperationOptions() SetMessageValueOperationOptions

func (SetMessageValueOperationOptions) ToHeaders

func (SetMessageValueOperationOptions) ToOData

func (SetMessageValueOperationOptions) ToQuery

type SetMessageValueOperationResponse

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

type UpdateMessageOperationOptions

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

func DefaultUpdateMessageOperationOptions

func DefaultUpdateMessageOperationOptions() UpdateMessageOperationOptions

func (UpdateMessageOperationOptions) ToHeaders

func (UpdateMessageOperationOptions) ToOData

func (UpdateMessageOperationOptions) ToQuery

type UpdateMessageOperationResponse

type UpdateMessageOperationResponse 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