Documentation ¶
Index ¶
- type DeleteTeamworkOperationOptions
- type DeleteTeamworkOperationResponse
- type GetTeamworkOperationOptions
- type GetTeamworkOperationResponse
- type SendTeamworkActivityNotificationOperationOptions
- type SendTeamworkActivityNotificationOperationResponse
- type SendTeamworkActivityNotificationRequest
- type TeamworkClient
- func (c TeamworkClient) DeleteTeamwork(ctx context.Context, id beta.UserId, options DeleteTeamworkOperationOptions) (result DeleteTeamworkOperationResponse, err error)
- func (c TeamworkClient) GetTeamwork(ctx context.Context, id beta.UserId, options GetTeamworkOperationOptions) (result GetTeamworkOperationResponse, err error)
- func (c TeamworkClient) SendTeamworkActivityNotification(ctx context.Context, id beta.UserId, ...) (result SendTeamworkActivityNotificationOperationResponse, err error)
- func (c TeamworkClient) UpdateTeamwork(ctx context.Context, id beta.UserId, input beta.UserTeamwork, ...) (result UpdateTeamworkOperationResponse, err error)
- type UpdateTeamworkOperationOptions
- type UpdateTeamworkOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteTeamworkOperationOptions ¶
type DeleteTeamworkOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteTeamworkOperationOptions ¶
func DefaultDeleteTeamworkOperationOptions() DeleteTeamworkOperationOptions
func (DeleteTeamworkOperationOptions) ToHeaders ¶
func (o DeleteTeamworkOperationOptions) ToHeaders() *client.Headers
func (DeleteTeamworkOperationOptions) ToOData ¶
func (o DeleteTeamworkOperationOptions) ToOData() *odata.Query
func (DeleteTeamworkOperationOptions) ToQuery ¶
func (o DeleteTeamworkOperationOptions) ToQuery() *client.QueryParams
type GetTeamworkOperationOptions ¶
type GetTeamworkOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetTeamworkOperationOptions ¶
func DefaultGetTeamworkOperationOptions() GetTeamworkOperationOptions
func (GetTeamworkOperationOptions) ToHeaders ¶
func (o GetTeamworkOperationOptions) ToHeaders() *client.Headers
func (GetTeamworkOperationOptions) ToOData ¶
func (o GetTeamworkOperationOptions) ToOData() *odata.Query
func (GetTeamworkOperationOptions) ToQuery ¶
func (o GetTeamworkOperationOptions) ToQuery() *client.QueryParams
type SendTeamworkActivityNotificationOperationOptions ¶
type SendTeamworkActivityNotificationOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSendTeamworkActivityNotificationOperationOptions ¶
func DefaultSendTeamworkActivityNotificationOperationOptions() SendTeamworkActivityNotificationOperationOptions
func (SendTeamworkActivityNotificationOperationOptions) ToHeaders ¶
func (o SendTeamworkActivityNotificationOperationOptions) ToHeaders() *client.Headers
func (SendTeamworkActivityNotificationOperationOptions) ToOData ¶
func (o SendTeamworkActivityNotificationOperationOptions) ToOData() *odata.Query
func (SendTeamworkActivityNotificationOperationOptions) ToQuery ¶
func (o SendTeamworkActivityNotificationOperationOptions) ToQuery() *client.QueryParams
type SendTeamworkActivityNotificationRequest ¶
type SendTeamworkActivityNotificationRequest struct { ActivityType nullable.Type[string] `json:"activityType,omitempty"` ChainId nullable.Type[int64] `json:"chainId,omitempty"` PreviewText *beta.ItemBody `json:"previewText,omitempty"` TeamsAppId nullable.Type[string] `json:"teamsAppId,omitempty"` TemplateParameters *[]beta.KeyValuePair `json:"templateParameters,omitempty"` Topic *beta.TeamworkActivityTopic `json:"topic,omitempty"` }
type TeamworkClient ¶
func NewTeamworkClientWithBaseURI ¶
func NewTeamworkClientWithBaseURI(sdkApi sdkEnv.Api) (*TeamworkClient, error)
func (TeamworkClient) DeleteTeamwork ¶
func (c TeamworkClient) DeleteTeamwork(ctx context.Context, id beta.UserId, options DeleteTeamworkOperationOptions) (result DeleteTeamworkOperationResponse, err error)
DeleteTeamwork - Delete navigation property teamwork for users
func (TeamworkClient) GetTeamwork ¶
func (c TeamworkClient) GetTeamwork(ctx context.Context, id beta.UserId, options GetTeamworkOperationOptions) (result GetTeamworkOperationResponse, err error)
GetTeamwork - Get userTeamwork. Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user.
func (TeamworkClient) SendTeamworkActivityNotification ¶
func (c TeamworkClient) SendTeamworkActivityNotification(ctx context.Context, id beta.UserId, input SendTeamworkActivityNotificationRequest, options SendTeamworkActivityNotificationOperationOptions) (result SendTeamworkActivityNotificationOperationResponse, err error)
SendTeamworkActivityNotification - Invoke action sendActivityNotification. Send an activity feed notification to a user. For more information, see sending Teams activity notifications.
func (TeamworkClient) UpdateTeamwork ¶
func (c TeamworkClient) UpdateTeamwork(ctx context.Context, id beta.UserId, input beta.UserTeamwork, options UpdateTeamworkOperationOptions) (result UpdateTeamworkOperationResponse, err error)
UpdateTeamwork - Update the navigation property teamwork in users
type UpdateTeamworkOperationOptions ¶
type UpdateTeamworkOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateTeamworkOperationOptions ¶
func DefaultUpdateTeamworkOperationOptions() UpdateTeamworkOperationOptions
func (UpdateTeamworkOperationOptions) ToHeaders ¶
func (o UpdateTeamworkOperationOptions) ToHeaders() *client.Headers
func (UpdateTeamworkOperationOptions) ToOData ¶
func (o UpdateTeamworkOperationOptions) ToOData() *odata.Query
func (UpdateTeamworkOperationOptions) ToQuery ¶
func (o UpdateTeamworkOperationOptions) ToQuery() *client.QueryParams
Click to show internal directories.
Click to hide internal directories.