conversationthreadpostinreplyto

package
v0.20241021.1074254 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/groups/stable/conversationthreadpostinreplyto Documentation

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

Client Initialization

client := conversationthreadpostinreplyto.NewConversationThreadPostInReplyToClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ConversationThreadPostInReplyToClient.ForwardConversationThreadPostInReplyTo

ctx := context.TODO()
id := conversationthreadpostinreplyto.NewGroupIdConversationIdThreadIdPostID("groupId", "conversationId", "conversationThreadId", "postId")

payload := conversationthreadpostinreplyto.ForwardConversationThreadPostInReplyToRequest{
	// ...
}


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

Example Usage: ConversationThreadPostInReplyToClient.GetConversationThreadPostInReplyTo

ctx := context.TODO()
id := conversationthreadpostinreplyto.NewGroupIdConversationIdThreadIdPostID("groupId", "conversationId", "conversationThreadId", "postId")

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

Example Usage: ConversationThreadPostInReplyToClient.ReplyConversationThreadPostInReplyTo

ctx := context.TODO()
id := conversationthreadpostinreplyto.NewGroupIdConversationIdThreadIdPostID("groupId", "conversationId", "conversationThreadId", "postId")

payload := conversationthreadpostinreplyto.ReplyConversationThreadPostInReplyToRequest{
	// ...
}


read, err := client.ReplyConversationThreadPostInReplyTo(ctx, id, payload, conversationthreadpostinreplyto.DefaultReplyConversationThreadPostInReplyToOperationOptions())
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 ConversationThreadPostInReplyToClient

type ConversationThreadPostInReplyToClient struct {
	Client *msgraph.Client
}

func NewConversationThreadPostInReplyToClientWithBaseURI

func NewConversationThreadPostInReplyToClientWithBaseURI(sdkApi sdkEnv.Api) (*ConversationThreadPostInReplyToClient, error)

func (ConversationThreadPostInReplyToClient) ForwardConversationThreadPostInReplyTo

ForwardConversationThreadPostInReplyTo - Invoke action forward. Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.

func (ConversationThreadPostInReplyToClient) GetConversationThreadPostInReplyTo

GetConversationThreadPostInReplyTo - Get inReplyTo from groups. Read-only. Supports $expand.

func (ConversationThreadPostInReplyToClient) ReplyConversationThreadPostInReplyTo

ReplyConversationThreadPostInReplyTo - Invoke action reply

type ForwardConversationThreadPostInReplyToOperationOptions

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

func DefaultForwardConversationThreadPostInReplyToOperationOptions

func DefaultForwardConversationThreadPostInReplyToOperationOptions() ForwardConversationThreadPostInReplyToOperationOptions

func (ForwardConversationThreadPostInReplyToOperationOptions) ToHeaders

func (ForwardConversationThreadPostInReplyToOperationOptions) ToOData

func (ForwardConversationThreadPostInReplyToOperationOptions) ToQuery

type ForwardConversationThreadPostInReplyToOperationResponse

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

type ForwardConversationThreadPostInReplyToRequest

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

type GetConversationThreadPostInReplyToOperationOptions

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

func DefaultGetConversationThreadPostInReplyToOperationOptions

func DefaultGetConversationThreadPostInReplyToOperationOptions() GetConversationThreadPostInReplyToOperationOptions

func (GetConversationThreadPostInReplyToOperationOptions) ToHeaders

func (GetConversationThreadPostInReplyToOperationOptions) ToOData

func (GetConversationThreadPostInReplyToOperationOptions) ToQuery

type GetConversationThreadPostInReplyToOperationResponse

type GetConversationThreadPostInReplyToOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.Post
}

type ReplyConversationThreadPostInReplyToOperationOptions

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

func DefaultReplyConversationThreadPostInReplyToOperationOptions

func DefaultReplyConversationThreadPostInReplyToOperationOptions() ReplyConversationThreadPostInReplyToOperationOptions

func (ReplyConversationThreadPostInReplyToOperationOptions) ToHeaders

func (ReplyConversationThreadPostInReplyToOperationOptions) ToOData

func (ReplyConversationThreadPostInReplyToOperationOptions) ToQuery

type ReplyConversationThreadPostInReplyToOperationResponse

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

type ReplyConversationThreadPostInReplyToRequest

type ReplyConversationThreadPostInReplyToRequest struct {
	Post *stable.Post `json:"Post,omitempty"`
}

Jump to

Keyboard shortcuts

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