threadpostinreplyto

package
v0.20241111.1164443 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/groups/beta/threadpostinreplyto Documentation

The threadpostinreplyto SDK allows for interaction with Microsoft Graph groups (API Version beta).

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/beta/threadpostinreplyto"

Client Initialization

client := threadpostinreplyto.NewThreadPostInReplyToClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ThreadPostInReplyToClient.ForwardThreadPostInReplyTo

ctx := context.TODO()
id := threadpostinreplyto.NewGroupIdThreadIdPostID("groupId", "conversationThreadId", "postId")

payload := threadpostinreplyto.ForwardThreadPostInReplyToRequest{
	// ...
}


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

Example Usage: ThreadPostInReplyToClient.GetThreadPostInReplyTo

ctx := context.TODO()
id := threadpostinreplyto.NewGroupIdThreadIdPostID("groupId", "conversationThreadId", "postId")

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

Example Usage: ThreadPostInReplyToClient.ReplyThreadPostInReplyTo

ctx := context.TODO()
id := threadpostinreplyto.NewGroupIdThreadIdPostID("groupId", "conversationThreadId", "postId")

payload := threadpostinreplyto.ReplyThreadPostInReplyToRequest{
	// ...
}


read, err := client.ReplyThreadPostInReplyTo(ctx, id, payload, threadpostinreplyto.DefaultReplyThreadPostInReplyToOperationOptions())
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 ForwardThreadPostInReplyToOperationOptions

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

func DefaultForwardThreadPostInReplyToOperationOptions

func DefaultForwardThreadPostInReplyToOperationOptions() ForwardThreadPostInReplyToOperationOptions

func (ForwardThreadPostInReplyToOperationOptions) ToHeaders

func (ForwardThreadPostInReplyToOperationOptions) ToOData

func (ForwardThreadPostInReplyToOperationOptions) ToQuery

type ForwardThreadPostInReplyToOperationResponse

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

type ForwardThreadPostInReplyToRequest

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

type GetThreadPostInReplyToOperationOptions

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

func DefaultGetThreadPostInReplyToOperationOptions

func DefaultGetThreadPostInReplyToOperationOptions() GetThreadPostInReplyToOperationOptions

func (GetThreadPostInReplyToOperationOptions) ToHeaders

func (GetThreadPostInReplyToOperationOptions) ToOData

func (GetThreadPostInReplyToOperationOptions) ToQuery

type GetThreadPostInReplyToOperationResponse

type GetThreadPostInReplyToOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.Post
}

type ReplyThreadPostInReplyToOperationOptions

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

func DefaultReplyThreadPostInReplyToOperationOptions

func DefaultReplyThreadPostInReplyToOperationOptions() ReplyThreadPostInReplyToOperationOptions

func (ReplyThreadPostInReplyToOperationOptions) ToHeaders

func (ReplyThreadPostInReplyToOperationOptions) ToOData

func (ReplyThreadPostInReplyToOperationOptions) ToQuery

type ReplyThreadPostInReplyToOperationResponse

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

type ReplyThreadPostInReplyToRequest

type ReplyThreadPostInReplyToRequest struct {
	Post *beta.Post `json:"Post,omitempty"`
}

type ThreadPostInReplyToClient

type ThreadPostInReplyToClient struct {
	Client *msgraph.Client
}

func NewThreadPostInReplyToClientWithBaseURI

func NewThreadPostInReplyToClientWithBaseURI(sdkApi sdkEnv.Api) (*ThreadPostInReplyToClient, error)

func (ThreadPostInReplyToClient) ForwardThreadPostInReplyTo

ForwardThreadPostInReplyTo - 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 (ThreadPostInReplyToClient) GetThreadPostInReplyTo

GetThreadPostInReplyTo - Get inReplyTo from groups. The earlier post that this post is replying to in the conversationThread. Read-only. Supports $expand.

func (ThreadPostInReplyToClient) ReplyThreadPostInReplyTo

ReplyThreadPostInReplyTo - Invoke action reply

Jump to

Keyboard shortcuts

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