message

package
v0.20241126.2320 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

README

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

The message 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/message"

Client Initialization

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

Example Usage: MessageClient.CopyMessage

ctx := context.TODO()
id := message.NewUserIdMessageID("userId", "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()
id := message.NewUserID("userId")

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


read, err := client.CreateMessage(ctx, id, 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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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()
id := message.NewUserID("userId")

read, err := client.GetMessagesCount(ctx, id, 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()
id := message.NewUserID("userId")

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

Example Usage: MessageClient.MoveMessage

ctx := context.TODO()
id := message.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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.NewUserIdMessageID("userId", "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
	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

type GetMessageOperationResponse

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

type GetMessageValueOperationOptions

type GetMessageValueOperationOptions struct {
	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
	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 new navigation property to messages for users

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 navigation property messages for users

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 messages from users. The messages in a mailbox or folder. Read-only. Nullable.

func (MessageClient) GetMessageValue

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

func (MessageClient) GetMessagesCount

GetMessagesCount - Get the number of the resource

func (MessageClient) ListMessages

ListMessages - Get messages from users. The messages in a mailbox or folder. Read-only. Nullable.

func (MessageClient) ListMessagesComplete

ListMessagesComplete retrieves all the results into a single object

func (MessageClient) ListMessagesCompleteMatchingPredicate

func (c MessageClient) ListMessagesCompleteMatchingPredicate(ctx context.Context, id stable.UserId, 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 media content for the navigation property messages in users. The unique identifier for an entity. Read-only.

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 media content for the navigation property messages in users. The unique identifier for an entity. Read-only.

func (MessageClient) UpdateMessage

UpdateMessage - Update the navigation property messages in users

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