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 ¶
- type ForwardThreadPostInReplyToOperationOptions
- type ForwardThreadPostInReplyToOperationResponse
- type ForwardThreadPostInReplyToRequest
- type GetThreadPostInReplyToOperationOptions
- type GetThreadPostInReplyToOperationResponse
- type ReplyThreadPostInReplyToOperationOptions
- type ReplyThreadPostInReplyToOperationResponse
- type ReplyThreadPostInReplyToRequest
- type ThreadPostInReplyToClient
- func (c ThreadPostInReplyToClient) ForwardThreadPostInReplyTo(ctx context.Context, id beta.GroupIdThreadIdPostId, ...) (result ForwardThreadPostInReplyToOperationResponse, err error)
- func (c ThreadPostInReplyToClient) GetThreadPostInReplyTo(ctx context.Context, id beta.GroupIdThreadIdPostId, ...) (result GetThreadPostInReplyToOperationResponse, err error)
- func (c ThreadPostInReplyToClient) ReplyThreadPostInReplyTo(ctx context.Context, id beta.GroupIdThreadIdPostId, ...) (result ReplyThreadPostInReplyToOperationResponse, err error)
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 (o ForwardThreadPostInReplyToOperationOptions) ToHeaders() *client.Headers
func (ForwardThreadPostInReplyToOperationOptions) ToOData ¶
func (o ForwardThreadPostInReplyToOperationOptions) ToOData() *odata.Query
func (ForwardThreadPostInReplyToOperationOptions) ToQuery ¶
func (o ForwardThreadPostInReplyToOperationOptions) ToQuery() *client.QueryParams
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 (o GetThreadPostInReplyToOperationOptions) ToHeaders() *client.Headers
func (GetThreadPostInReplyToOperationOptions) ToOData ¶
func (o GetThreadPostInReplyToOperationOptions) ToOData() *odata.Query
func (GetThreadPostInReplyToOperationOptions) ToQuery ¶
func (o GetThreadPostInReplyToOperationOptions) ToQuery() *client.QueryParams
type ReplyThreadPostInReplyToOperationOptions ¶
type ReplyThreadPostInReplyToOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultReplyThreadPostInReplyToOperationOptions ¶
func DefaultReplyThreadPostInReplyToOperationOptions() ReplyThreadPostInReplyToOperationOptions
func (ReplyThreadPostInReplyToOperationOptions) ToHeaders ¶
func (o ReplyThreadPostInReplyToOperationOptions) ToHeaders() *client.Headers
func (ReplyThreadPostInReplyToOperationOptions) ToOData ¶
func (o ReplyThreadPostInReplyToOperationOptions) ToOData() *odata.Query
func (ReplyThreadPostInReplyToOperationOptions) ToQuery ¶
func (o ReplyThreadPostInReplyToOperationOptions) ToQuery() *client.QueryParams
type ThreadPostInReplyToClient ¶
func NewThreadPostInReplyToClientWithBaseURI ¶
func NewThreadPostInReplyToClientWithBaseURI(sdkApi sdkEnv.Api) (*ThreadPostInReplyToClient, error)
func (ThreadPostInReplyToClient) ForwardThreadPostInReplyTo ¶
func (c ThreadPostInReplyToClient) ForwardThreadPostInReplyTo(ctx context.Context, id beta.GroupIdThreadIdPostId, input ForwardThreadPostInReplyToRequest, options ForwardThreadPostInReplyToOperationOptions) (result ForwardThreadPostInReplyToOperationResponse, err error)
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 ¶
func (c ThreadPostInReplyToClient) GetThreadPostInReplyTo(ctx context.Context, id beta.GroupIdThreadIdPostId, options GetThreadPostInReplyToOperationOptions) (result GetThreadPostInReplyToOperationResponse, err error)
GetThreadPostInReplyTo - Get inReplyTo from groups. The earlier post that this post is replying to in the conversationThread. Read-only. Supports $expand.
func (ThreadPostInReplyToClient) ReplyThreadPostInReplyTo ¶
func (c ThreadPostInReplyToClient) ReplyThreadPostInReplyTo(ctx context.Context, id beta.GroupIdThreadIdPostId, input ReplyThreadPostInReplyToRequest, options ReplyThreadPostInReplyToOperationOptions) (result ReplyThreadPostInReplyToOperationResponse, err error)
ReplyThreadPostInReplyTo - Invoke action reply