joinedteamprimarychannelmessagereply

package
v0.20241209.1115630 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := joinedteamprimarychannelmessagereply.NewJoinedTeamPrimaryChannelMessageReplyClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.CreateJoinedTeamPrimaryChannelMessageReply

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageID("userId", "teamId", "chatMessageId")

payload := joinedteamprimarychannelmessagereply.ChatMessage{
	// ...
}


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

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.CreateJoinedTeamPrimaryChannelMessageReplySoftDelete

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageIdReplyID("userId", "teamId", "chatMessageId", "chatMessageId1")

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

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.CreateJoinedTeamPrimaryChannelMessageReplyUndoSoftDelete

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageIdReplyID("userId", "teamId", "chatMessageId", "chatMessageId1")

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

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.DeleteJoinedTeamPrimaryChannelMessageReply

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageIdReplyID("userId", "teamId", "chatMessageId", "chatMessageId1")

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

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.GetJoinedTeamPrimaryChannelMessageRepliesCount

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageID("userId", "teamId", "chatMessageId")

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

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.GetJoinedTeamPrimaryChannelMessageReply

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageIdReplyID("userId", "teamId", "chatMessageId", "chatMessageId1")

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

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.ListJoinedTeamPrimaryChannelMessageReplies

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageID("userId", "teamId", "chatMessageId")

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

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.SetJoinedTeamPrimaryChannelMessageReplyReaction

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageIdReplyID("userId", "teamId", "chatMessageId", "chatMessageId1")

payload := joinedteamprimarychannelmessagereply.SetJoinedTeamPrimaryChannelMessageReplyReactionRequest{
	// ...
}


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

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.UnsetJoinedTeamPrimaryChannelMessageReplyReaction

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageIdReplyID("userId", "teamId", "chatMessageId", "chatMessageId1")

payload := joinedteamprimarychannelmessagereply.UnsetJoinedTeamPrimaryChannelMessageReplyReactionRequest{
	// ...
}


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

Example Usage: JoinedTeamPrimaryChannelMessageReplyClient.UpdateJoinedTeamPrimaryChannelMessageReply

ctx := context.TODO()
id := joinedteamprimarychannelmessagereply.NewUserIdJoinedTeamIdPrimaryChannelMessageIdReplyID("userId", "teamId", "chatMessageId", "chatMessageId1")

payload := joinedteamprimarychannelmessagereply.ChatMessage{
	// ...
}


read, err := client.UpdateJoinedTeamPrimaryChannelMessageReply(ctx, id, payload, joinedteamprimarychannelmessagereply.DefaultUpdateJoinedTeamPrimaryChannelMessageReplyOperationOptions())
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 ChatMessageOperationPredicate

type ChatMessageOperationPredicate struct {
}

func (ChatMessageOperationPredicate) Matches

type CreateJoinedTeamPrimaryChannelMessageReplyOperationOptions

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

func (CreateJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToHeaders

func (CreateJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToOData

func (CreateJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToQuery

type CreateJoinedTeamPrimaryChannelMessageReplyOperationResponse

type CreateJoinedTeamPrimaryChannelMessageReplyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.ChatMessage
}

type CreateJoinedTeamPrimaryChannelMessageReplySoftDeleteOperationOptions

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

func (CreateJoinedTeamPrimaryChannelMessageReplySoftDeleteOperationOptions) ToHeaders

func (CreateJoinedTeamPrimaryChannelMessageReplySoftDeleteOperationOptions) ToOData

func (CreateJoinedTeamPrimaryChannelMessageReplySoftDeleteOperationOptions) ToQuery

type CreateJoinedTeamPrimaryChannelMessageReplySoftDeleteOperationResponse

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

type CreateJoinedTeamPrimaryChannelMessageReplyUndoSoftDeleteOperationOptions

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

func (CreateJoinedTeamPrimaryChannelMessageReplyUndoSoftDeleteOperationOptions) ToHeaders

func (CreateJoinedTeamPrimaryChannelMessageReplyUndoSoftDeleteOperationOptions) ToOData

func (CreateJoinedTeamPrimaryChannelMessageReplyUndoSoftDeleteOperationOptions) ToQuery

type CreateJoinedTeamPrimaryChannelMessageReplyUndoSoftDeleteOperationResponse

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

type DeleteJoinedTeamPrimaryChannelMessageReplyOperationOptions

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

func (DeleteJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToHeaders

func (DeleteJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToOData

func (DeleteJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToQuery

type DeleteJoinedTeamPrimaryChannelMessageReplyOperationResponse

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

type GetJoinedTeamPrimaryChannelMessageRepliesCountOperationOptions

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

func (GetJoinedTeamPrimaryChannelMessageRepliesCountOperationOptions) ToHeaders

func (GetJoinedTeamPrimaryChannelMessageRepliesCountOperationOptions) ToOData

func (GetJoinedTeamPrimaryChannelMessageRepliesCountOperationOptions) ToQuery

type GetJoinedTeamPrimaryChannelMessageRepliesCountOperationResponse

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

type GetJoinedTeamPrimaryChannelMessageReplyOperationOptions

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

func (GetJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToHeaders

func (GetJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToOData

func (GetJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToQuery

type GetJoinedTeamPrimaryChannelMessageReplyOperationResponse

type GetJoinedTeamPrimaryChannelMessageReplyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.ChatMessage
}

type JoinedTeamPrimaryChannelMessageReplyClient

type JoinedTeamPrimaryChannelMessageReplyClient struct {
	Client *msgraph.Client
}

func NewJoinedTeamPrimaryChannelMessageReplyClientWithBaseURI

func NewJoinedTeamPrimaryChannelMessageReplyClientWithBaseURI(sdkApi sdkEnv.Api) (*JoinedTeamPrimaryChannelMessageReplyClient, error)

func (JoinedTeamPrimaryChannelMessageReplyClient) CreateJoinedTeamPrimaryChannelMessageReply

CreateJoinedTeamPrimaryChannelMessageReply - Create new navigation property to replies for users

func (JoinedTeamPrimaryChannelMessageReplyClient) CreateJoinedTeamPrimaryChannelMessageReplySoftDelete

CreateJoinedTeamPrimaryChannelMessageReplySoftDelete - Invoke action softDelete. Delete a single chatMessage or a chat message reply in a channel or a chat.

func (JoinedTeamPrimaryChannelMessageReplyClient) CreateJoinedTeamPrimaryChannelMessageReplyUndoSoftDelete

CreateJoinedTeamPrimaryChannelMessageReplyUndoSoftDelete - Invoke action undoSoftDelete. Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat.

func (JoinedTeamPrimaryChannelMessageReplyClient) DeleteJoinedTeamPrimaryChannelMessageReply

DeleteJoinedTeamPrimaryChannelMessageReply - Delete navigation property replies for users

func (JoinedTeamPrimaryChannelMessageReplyClient) GetJoinedTeamPrimaryChannelMessageRepliesCount

GetJoinedTeamPrimaryChannelMessageRepliesCount - Get the number of the resource

func (JoinedTeamPrimaryChannelMessageReplyClient) GetJoinedTeamPrimaryChannelMessageReply

GetJoinedTeamPrimaryChannelMessageReply - Get replies from users. Replies for a specified message. Supports $expand for channel messages.

func (JoinedTeamPrimaryChannelMessageReplyClient) ListJoinedTeamPrimaryChannelMessageReplies

ListJoinedTeamPrimaryChannelMessageReplies - Get replies from users. Replies for a specified message. Supports $expand for channel messages.

func (JoinedTeamPrimaryChannelMessageReplyClient) ListJoinedTeamPrimaryChannelMessageRepliesComplete

ListJoinedTeamPrimaryChannelMessageRepliesComplete retrieves all the results into a single object

func (JoinedTeamPrimaryChannelMessageReplyClient) ListJoinedTeamPrimaryChannelMessageRepliesCompleteMatchingPredicate

ListJoinedTeamPrimaryChannelMessageRepliesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (JoinedTeamPrimaryChannelMessageReplyClient) SetJoinedTeamPrimaryChannelMessageReplyReaction

SetJoinedTeamPrimaryChannelMessageReplyReaction - Invoke action setReaction

func (JoinedTeamPrimaryChannelMessageReplyClient) UnsetJoinedTeamPrimaryChannelMessageReplyReaction

UnsetJoinedTeamPrimaryChannelMessageReplyReaction - Invoke action unsetReaction

func (JoinedTeamPrimaryChannelMessageReplyClient) UpdateJoinedTeamPrimaryChannelMessageReply

UpdateJoinedTeamPrimaryChannelMessageReply - Update the navigation property replies in users

type ListJoinedTeamPrimaryChannelMessageRepliesCompleteResult

type ListJoinedTeamPrimaryChannelMessageRepliesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.ChatMessage
}

type ListJoinedTeamPrimaryChannelMessageRepliesCustomPager

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

type ListJoinedTeamPrimaryChannelMessageRepliesOperationOptions

type ListJoinedTeamPrimaryChannelMessageRepliesOperationOptions 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 (ListJoinedTeamPrimaryChannelMessageRepliesOperationOptions) ToHeaders

func (ListJoinedTeamPrimaryChannelMessageRepliesOperationOptions) ToOData

func (ListJoinedTeamPrimaryChannelMessageRepliesOperationOptions) ToQuery

type ListJoinedTeamPrimaryChannelMessageRepliesOperationResponse

type ListJoinedTeamPrimaryChannelMessageRepliesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.ChatMessage
}

type SetJoinedTeamPrimaryChannelMessageReplyReactionOperationOptions

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

func (SetJoinedTeamPrimaryChannelMessageReplyReactionOperationOptions) ToHeaders

func (SetJoinedTeamPrimaryChannelMessageReplyReactionOperationOptions) ToOData

func (SetJoinedTeamPrimaryChannelMessageReplyReactionOperationOptions) ToQuery

type SetJoinedTeamPrimaryChannelMessageReplyReactionOperationResponse

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

type SetJoinedTeamPrimaryChannelMessageReplyReactionRequest

type SetJoinedTeamPrimaryChannelMessageReplyReactionRequest struct {
	ReactionType nullable.Type[string] `json:"reactionType,omitempty"`
}

type UnsetJoinedTeamPrimaryChannelMessageReplyReactionOperationOptions

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

func (UnsetJoinedTeamPrimaryChannelMessageReplyReactionOperationOptions) ToHeaders

func (UnsetJoinedTeamPrimaryChannelMessageReplyReactionOperationOptions) ToOData

func (UnsetJoinedTeamPrimaryChannelMessageReplyReactionOperationOptions) ToQuery

type UnsetJoinedTeamPrimaryChannelMessageReplyReactionOperationResponse

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

type UnsetJoinedTeamPrimaryChannelMessageReplyReactionRequest

type UnsetJoinedTeamPrimaryChannelMessageReplyReactionRequest struct {
	ReactionType nullable.Type[string] `json:"reactionType,omitempty"`
}

type UpdateJoinedTeamPrimaryChannelMessageReplyOperationOptions

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

func (UpdateJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToHeaders

func (UpdateJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToOData

func (UpdateJoinedTeamPrimaryChannelMessageReplyOperationOptions) ToQuery

type UpdateJoinedTeamPrimaryChannelMessageReplyOperationResponse

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