README
¶
github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/joinedteam
Documentation
The joinedteam
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/joinedteam"
Client Initialization
client := joinedteam.NewJoinedTeamClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer
Example Usage: JoinedTeamClient.CreateJoinedTeam
ctx := context.TODO()
id := joinedteam.NewUserID("userId")
payload := joinedteam.Team{
// ...
}
read, err := client.CreateJoinedTeam(ctx, id, payload, joinedteam.DefaultCreateJoinedTeamOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: JoinedTeamClient.CreateJoinedTeamArchive
ctx := context.TODO()
id := joinedteam.NewUserIdJoinedTeamID("userId", "teamId")
payload := joinedteam.CreateJoinedTeamArchiveRequest{
// ...
}
read, err := client.CreateJoinedTeamArchive(ctx, id, payload, joinedteam.DefaultCreateJoinedTeamArchiveOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: JoinedTeamClient.CreateJoinedTeamClone
ctx := context.TODO()
id := joinedteam.NewUserIdJoinedTeamID("userId", "teamId")
payload := joinedteam.CreateJoinedTeamCloneRequest{
// ...
}
read, err := client.CreateJoinedTeamClone(ctx, id, payload, joinedteam.DefaultCreateJoinedTeamCloneOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: JoinedTeamClient.CreateJoinedTeamCompleteMigration
ctx := context.TODO()
id := joinedteam.NewUserIdJoinedTeamID("userId", "teamId")
read, err := client.CreateJoinedTeamCompleteMigration(ctx, id, joinedteam.DefaultCreateJoinedTeamCompleteMigrationOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: JoinedTeamClient.CreateJoinedTeamUnarchive
ctx := context.TODO()
id := joinedteam.NewUserIdJoinedTeamID("userId", "teamId")
read, err := client.CreateJoinedTeamUnarchive(ctx, id, joinedteam.DefaultCreateJoinedTeamUnarchiveOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: JoinedTeamClient.DeleteJoinedTeam
ctx := context.TODO()
id := joinedteam.NewUserIdJoinedTeamID("userId", "teamId")
read, err := client.DeleteJoinedTeam(ctx, id, joinedteam.DefaultDeleteJoinedTeamOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: JoinedTeamClient.GetJoinedTeam
ctx := context.TODO()
id := joinedteam.NewUserIdJoinedTeamID("userId", "teamId")
read, err := client.GetJoinedTeam(ctx, id, joinedteam.DefaultGetJoinedTeamOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: JoinedTeamClient.GetJoinedTeamsCount
ctx := context.TODO()
id := joinedteam.NewUserID("userId")
read, err := client.GetJoinedTeamsCount(ctx, id, joinedteam.DefaultGetJoinedTeamsCountOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: JoinedTeamClient.ListJoinedTeams
ctx := context.TODO()
id := joinedteam.NewUserID("userId")
// alternatively `client.ListJoinedTeams(ctx, id, joinedteam.DefaultListJoinedTeamsOperationOptions())` can be used to do batched pagination
items, err := client.ListJoinedTeamsComplete(ctx, id, joinedteam.DefaultListJoinedTeamsOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: JoinedTeamClient.SendJoinedTeamActivityNotification
ctx := context.TODO()
id := joinedteam.NewUserIdJoinedTeamID("userId", "teamId")
payload := joinedteam.SendJoinedTeamActivityNotificationRequest{
// ...
}
read, err := client.SendJoinedTeamActivityNotification(ctx, id, payload, joinedteam.DefaultSendJoinedTeamActivityNotificationOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: JoinedTeamClient.UpdateJoinedTeam
ctx := context.TODO()
id := joinedteam.NewUserIdJoinedTeamID("userId", "teamId")
payload := joinedteam.Team{
// ...
}
read, err := client.UpdateJoinedTeam(ctx, id, payload, joinedteam.DefaultUpdateJoinedTeamOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation
¶
Index ¶
- type CreateJoinedTeamArchiveOperationOptions
- type CreateJoinedTeamArchiveOperationResponse
- type CreateJoinedTeamArchiveRequest
- type CreateJoinedTeamCloneOperationOptions
- type CreateJoinedTeamCloneOperationResponse
- type CreateJoinedTeamCloneRequest
- type CreateJoinedTeamCompleteMigrationOperationOptions
- type CreateJoinedTeamCompleteMigrationOperationResponse
- type CreateJoinedTeamOperationOptions
- type CreateJoinedTeamOperationResponse
- type CreateJoinedTeamUnarchiveOperationOptions
- type CreateJoinedTeamUnarchiveOperationResponse
- type DeleteJoinedTeamOperationOptions
- type DeleteJoinedTeamOperationResponse
- type GetJoinedTeamOperationOptions
- type GetJoinedTeamOperationResponse
- type GetJoinedTeamsCountOperationOptions
- type GetJoinedTeamsCountOperationResponse
- type JoinedTeamClient
- func (c JoinedTeamClient) CreateJoinedTeam(ctx context.Context, id stable.UserId, input stable.Team, ...) (result CreateJoinedTeamOperationResponse, err error)
- func (c JoinedTeamClient) CreateJoinedTeamArchive(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result CreateJoinedTeamArchiveOperationResponse, err error)
- func (c JoinedTeamClient) CreateJoinedTeamClone(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result CreateJoinedTeamCloneOperationResponse, err error)
- func (c JoinedTeamClient) CreateJoinedTeamCompleteMigration(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result CreateJoinedTeamCompleteMigrationOperationResponse, err error)
- func (c JoinedTeamClient) CreateJoinedTeamUnarchive(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result CreateJoinedTeamUnarchiveOperationResponse, err error)
- func (c JoinedTeamClient) DeleteJoinedTeam(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result DeleteJoinedTeamOperationResponse, err error)
- func (c JoinedTeamClient) GetJoinedTeam(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result GetJoinedTeamOperationResponse, err error)
- func (c JoinedTeamClient) GetJoinedTeamsCount(ctx context.Context, id stable.UserId, ...) (result GetJoinedTeamsCountOperationResponse, err error)
- func (c JoinedTeamClient) ListJoinedTeams(ctx context.Context, id stable.UserId, options ListJoinedTeamsOperationOptions) (result ListJoinedTeamsOperationResponse, err error)
- func (c JoinedTeamClient) ListJoinedTeamsComplete(ctx context.Context, id stable.UserId, options ListJoinedTeamsOperationOptions) (ListJoinedTeamsCompleteResult, error)
- func (c JoinedTeamClient) ListJoinedTeamsCompleteMatchingPredicate(ctx context.Context, id stable.UserId, options ListJoinedTeamsOperationOptions, ...) (result ListJoinedTeamsCompleteResult, err error)
- func (c JoinedTeamClient) SendJoinedTeamActivityNotification(ctx context.Context, id stable.UserIdJoinedTeamId, ...) (result SendJoinedTeamActivityNotificationOperationResponse, err error)
- func (c JoinedTeamClient) UpdateJoinedTeam(ctx context.Context, id stable.UserIdJoinedTeamId, input stable.Team, ...) (result UpdateJoinedTeamOperationResponse, err error)
- type ListJoinedTeamsCompleteResult
- type ListJoinedTeamsCustomPager
- type ListJoinedTeamsOperationOptions
- type ListJoinedTeamsOperationResponse
- type SendJoinedTeamActivityNotificationOperationOptions
- type SendJoinedTeamActivityNotificationOperationResponse
- type SendJoinedTeamActivityNotificationRequest
- type TeamOperationPredicate
- type UpdateJoinedTeamOperationOptions
- type UpdateJoinedTeamOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateJoinedTeamArchiveOperationOptions ¶
type CreateJoinedTeamArchiveOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateJoinedTeamArchiveOperationOptions ¶
func DefaultCreateJoinedTeamArchiveOperationOptions() CreateJoinedTeamArchiveOperationOptions
func (CreateJoinedTeamArchiveOperationOptions) ToHeaders ¶
func (o CreateJoinedTeamArchiveOperationOptions) ToHeaders() *client.Headers
func (CreateJoinedTeamArchiveOperationOptions) ToOData ¶
func (o CreateJoinedTeamArchiveOperationOptions) ToOData() *odata.Query
func (CreateJoinedTeamArchiveOperationOptions) ToQuery ¶
func (o CreateJoinedTeamArchiveOperationOptions) ToQuery() *client.QueryParams
type CreateJoinedTeamCloneOperationOptions ¶
type CreateJoinedTeamCloneOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateJoinedTeamCloneOperationOptions ¶
func DefaultCreateJoinedTeamCloneOperationOptions() CreateJoinedTeamCloneOperationOptions
func (CreateJoinedTeamCloneOperationOptions) ToHeaders ¶
func (o CreateJoinedTeamCloneOperationOptions) ToHeaders() *client.Headers
func (CreateJoinedTeamCloneOperationOptions) ToOData ¶
func (o CreateJoinedTeamCloneOperationOptions) ToOData() *odata.Query
func (CreateJoinedTeamCloneOperationOptions) ToQuery ¶
func (o CreateJoinedTeamCloneOperationOptions) ToQuery() *client.QueryParams
type CreateJoinedTeamCloneRequest ¶
type CreateJoinedTeamCloneRequest struct { Classification nullable.Type[string] `json:"classification,omitempty"` Description nullable.Type[string] `json:"description,omitempty"` DisplayName nullable.Type[string] `json:"displayName,omitempty"` MailNickname nullable.Type[string] `json:"mailNickname,omitempty"` PartsToClone *stable.ClonableTeamParts `json:"partsToClone,omitempty"` Visibility *stable.TeamVisibilityType `json:"visibility,omitempty"` }
type CreateJoinedTeamCompleteMigrationOperationOptions ¶
type CreateJoinedTeamCompleteMigrationOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateJoinedTeamCompleteMigrationOperationOptions ¶
func DefaultCreateJoinedTeamCompleteMigrationOperationOptions() CreateJoinedTeamCompleteMigrationOperationOptions
func (CreateJoinedTeamCompleteMigrationOperationOptions) ToHeaders ¶
func (o CreateJoinedTeamCompleteMigrationOperationOptions) ToHeaders() *client.Headers
func (CreateJoinedTeamCompleteMigrationOperationOptions) ToOData ¶
func (o CreateJoinedTeamCompleteMigrationOperationOptions) ToOData() *odata.Query
func (CreateJoinedTeamCompleteMigrationOperationOptions) ToQuery ¶
func (o CreateJoinedTeamCompleteMigrationOperationOptions) ToQuery() *client.QueryParams
type CreateJoinedTeamOperationOptions ¶
type CreateJoinedTeamOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateJoinedTeamOperationOptions ¶
func DefaultCreateJoinedTeamOperationOptions() CreateJoinedTeamOperationOptions
func (CreateJoinedTeamOperationOptions) ToHeaders ¶
func (o CreateJoinedTeamOperationOptions) ToHeaders() *client.Headers
func (CreateJoinedTeamOperationOptions) ToOData ¶
func (o CreateJoinedTeamOperationOptions) ToOData() *odata.Query
func (CreateJoinedTeamOperationOptions) ToQuery ¶
func (o CreateJoinedTeamOperationOptions) ToQuery() *client.QueryParams
type CreateJoinedTeamUnarchiveOperationOptions ¶
type CreateJoinedTeamUnarchiveOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateJoinedTeamUnarchiveOperationOptions ¶
func DefaultCreateJoinedTeamUnarchiveOperationOptions() CreateJoinedTeamUnarchiveOperationOptions
func (CreateJoinedTeamUnarchiveOperationOptions) ToHeaders ¶
func (o CreateJoinedTeamUnarchiveOperationOptions) ToHeaders() *client.Headers
func (CreateJoinedTeamUnarchiveOperationOptions) ToOData ¶
func (o CreateJoinedTeamUnarchiveOperationOptions) ToOData() *odata.Query
func (CreateJoinedTeamUnarchiveOperationOptions) ToQuery ¶
func (o CreateJoinedTeamUnarchiveOperationOptions) ToQuery() *client.QueryParams
type DeleteJoinedTeamOperationOptions ¶
type DeleteJoinedTeamOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteJoinedTeamOperationOptions ¶
func DefaultDeleteJoinedTeamOperationOptions() DeleteJoinedTeamOperationOptions
func (DeleteJoinedTeamOperationOptions) ToHeaders ¶
func (o DeleteJoinedTeamOperationOptions) ToHeaders() *client.Headers
func (DeleteJoinedTeamOperationOptions) ToOData ¶
func (o DeleteJoinedTeamOperationOptions) ToOData() *odata.Query
func (DeleteJoinedTeamOperationOptions) ToQuery ¶
func (o DeleteJoinedTeamOperationOptions) ToQuery() *client.QueryParams
type GetJoinedTeamOperationOptions ¶
type GetJoinedTeamOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetJoinedTeamOperationOptions ¶
func DefaultGetJoinedTeamOperationOptions() GetJoinedTeamOperationOptions
func (GetJoinedTeamOperationOptions) ToHeaders ¶
func (o GetJoinedTeamOperationOptions) ToHeaders() *client.Headers
func (GetJoinedTeamOperationOptions) ToOData ¶
func (o GetJoinedTeamOperationOptions) ToOData() *odata.Query
func (GetJoinedTeamOperationOptions) ToQuery ¶
func (o GetJoinedTeamOperationOptions) ToQuery() *client.QueryParams
type GetJoinedTeamsCountOperationOptions ¶
type GetJoinedTeamsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetJoinedTeamsCountOperationOptions ¶
func DefaultGetJoinedTeamsCountOperationOptions() GetJoinedTeamsCountOperationOptions
func (GetJoinedTeamsCountOperationOptions) ToHeaders ¶
func (o GetJoinedTeamsCountOperationOptions) ToHeaders() *client.Headers
func (GetJoinedTeamsCountOperationOptions) ToOData ¶
func (o GetJoinedTeamsCountOperationOptions) ToOData() *odata.Query
func (GetJoinedTeamsCountOperationOptions) ToQuery ¶
func (o GetJoinedTeamsCountOperationOptions) ToQuery() *client.QueryParams
type JoinedTeamClient ¶
func NewJoinedTeamClientWithBaseURI ¶
func NewJoinedTeamClientWithBaseURI(sdkApi sdkEnv.Api) (*JoinedTeamClient, error)
func (JoinedTeamClient) CreateJoinedTeam ¶
func (c JoinedTeamClient) CreateJoinedTeam(ctx context.Context, id stable.UserId, input stable.Team, options CreateJoinedTeamOperationOptions) (result CreateJoinedTeamOperationResponse, err error)
CreateJoinedTeam - Create new navigation property to joinedTeams for users
func (JoinedTeamClient) CreateJoinedTeamArchive ¶
func (c JoinedTeamClient) CreateJoinedTeamArchive(ctx context.Context, id stable.UserIdJoinedTeamId, input CreateJoinedTeamArchiveRequest, options CreateJoinedTeamArchiveOperationOptions) (result CreateJoinedTeamArchiveOperationResponse, err error)
CreateJoinedTeamArchive - Invoke action archive. Archive the specified team. When a team is archived, users can no longer make most changes to the team. For example, users can no longer: send or like messages on any channel in the team; edit the team's name or description; nor edit other settings. However, membership changes to the team are still allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which might occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive.
func (JoinedTeamClient) CreateJoinedTeamClone ¶
func (c JoinedTeamClient) CreateJoinedTeamClone(ctx context.Context, id stable.UserIdJoinedTeamId, input CreateJoinedTeamCloneRequest, options CreateJoinedTeamCloneOperationOptions) (result CreateJoinedTeamCloneOperationResponse, err error)
CreateJoinedTeamClone - Invoke action clone. Create a copy of a team. This operation also creates a copy of the corresponding group. You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds.
func (JoinedTeamClient) CreateJoinedTeamCompleteMigration ¶
func (c JoinedTeamClient) CreateJoinedTeamCompleteMigration(ctx context.Context, id stable.UserIdJoinedTeamId, options CreateJoinedTeamCompleteMigrationOperationOptions) (result CreateJoinedTeamCompleteMigrationOperationResponse, err error)
CreateJoinedTeamCompleteMigration - Invoke action completeMigration. Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response.
func (JoinedTeamClient) CreateJoinedTeamUnarchive ¶
func (c JoinedTeamClient) CreateJoinedTeamUnarchive(ctx context.Context, id stable.UserIdJoinedTeamId, options CreateJoinedTeamUnarchiveOperationOptions) (result CreateJoinedTeamUnarchiveOperationResponse, err error)
CreateJoinedTeamUnarchive - Invoke action unarchive. Restore an archived team. This API restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API.
func (JoinedTeamClient) DeleteJoinedTeam ¶
func (c JoinedTeamClient) DeleteJoinedTeam(ctx context.Context, id stable.UserIdJoinedTeamId, options DeleteJoinedTeamOperationOptions) (result DeleteJoinedTeamOperationResponse, err error)
DeleteJoinedTeam - Delete navigation property joinedTeams for users
func (JoinedTeamClient) GetJoinedTeam ¶
func (c JoinedTeamClient) GetJoinedTeam(ctx context.Context, id stable.UserIdJoinedTeamId, options GetJoinedTeamOperationOptions) (result GetJoinedTeamOperationResponse, err error)
GetJoinedTeam - Get joinedTeams from users
func (JoinedTeamClient) GetJoinedTeamsCount ¶
func (c JoinedTeamClient) GetJoinedTeamsCount(ctx context.Context, id stable.UserId, options GetJoinedTeamsCountOperationOptions) (result GetJoinedTeamsCountOperationResponse, err error)
GetJoinedTeamsCount - Get the number of the resource
func (JoinedTeamClient) ListJoinedTeams ¶
func (c JoinedTeamClient) ListJoinedTeams(ctx context.Context, id stable.UserId, options ListJoinedTeamsOperationOptions) (result ListJoinedTeamsOperationResponse, err error)
ListJoinedTeams - Get joinedTeams from users
func (JoinedTeamClient) ListJoinedTeamsComplete ¶
func (c JoinedTeamClient) ListJoinedTeamsComplete(ctx context.Context, id stable.UserId, options ListJoinedTeamsOperationOptions) (ListJoinedTeamsCompleteResult, error)
ListJoinedTeamsComplete retrieves all the results into a single object
func (JoinedTeamClient) ListJoinedTeamsCompleteMatchingPredicate ¶
func (c JoinedTeamClient) ListJoinedTeamsCompleteMatchingPredicate(ctx context.Context, id stable.UserId, options ListJoinedTeamsOperationOptions, predicate TeamOperationPredicate) (result ListJoinedTeamsCompleteResult, err error)
ListJoinedTeamsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JoinedTeamClient) SendJoinedTeamActivityNotification ¶
func (c JoinedTeamClient) SendJoinedTeamActivityNotification(ctx context.Context, id stable.UserIdJoinedTeamId, input SendJoinedTeamActivityNotificationRequest, options SendJoinedTeamActivityNotificationOperationOptions) (result SendJoinedTeamActivityNotificationOperationResponse, err error)
SendJoinedTeamActivityNotification - Invoke action sendActivityNotification. Send an activity feed notification in the scope of a team. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications.
func (JoinedTeamClient) UpdateJoinedTeam ¶
func (c JoinedTeamClient) UpdateJoinedTeam(ctx context.Context, id stable.UserIdJoinedTeamId, input stable.Team, options UpdateJoinedTeamOperationOptions) (result UpdateJoinedTeamOperationResponse, err error)
UpdateJoinedTeam - Update the navigation property joinedTeams in users
type ListJoinedTeamsCustomPager ¶
func (*ListJoinedTeamsCustomPager) NextPageLink ¶
func (p *ListJoinedTeamsCustomPager) NextPageLink() *odata.Link
type ListJoinedTeamsOperationOptions ¶
type ListJoinedTeamsOperationOptions 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 DefaultListJoinedTeamsOperationOptions ¶
func DefaultListJoinedTeamsOperationOptions() ListJoinedTeamsOperationOptions
func (ListJoinedTeamsOperationOptions) ToHeaders ¶
func (o ListJoinedTeamsOperationOptions) ToHeaders() *client.Headers
func (ListJoinedTeamsOperationOptions) ToOData ¶
func (o ListJoinedTeamsOperationOptions) ToOData() *odata.Query
func (ListJoinedTeamsOperationOptions) ToQuery ¶
func (o ListJoinedTeamsOperationOptions) ToQuery() *client.QueryParams
type SendJoinedTeamActivityNotificationOperationOptions ¶
type SendJoinedTeamActivityNotificationOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSendJoinedTeamActivityNotificationOperationOptions ¶
func DefaultSendJoinedTeamActivityNotificationOperationOptions() SendJoinedTeamActivityNotificationOperationOptions
func (SendJoinedTeamActivityNotificationOperationOptions) ToHeaders ¶
func (o SendJoinedTeamActivityNotificationOperationOptions) ToHeaders() *client.Headers
func (SendJoinedTeamActivityNotificationOperationOptions) ToOData ¶
func (o SendJoinedTeamActivityNotificationOperationOptions) ToOData() *odata.Query
func (SendJoinedTeamActivityNotificationOperationOptions) ToQuery ¶
func (o SendJoinedTeamActivityNotificationOperationOptions) ToQuery() *client.QueryParams
type SendJoinedTeamActivityNotificationRequest ¶
type SendJoinedTeamActivityNotificationRequest struct { ActivityType nullable.Type[string] `json:"activityType,omitempty"` ChainId nullable.Type[int64] `json:"chainId,omitempty"` PreviewText *stable.ItemBody `json:"previewText,omitempty"` Recipient *stable.TeamworkNotificationRecipient `json:"recipient,omitempty"` TeamsAppId nullable.Type[string] `json:"teamsAppId,omitempty"` TemplateParameters *[]stable.KeyValuePair `json:"templateParameters,omitempty"` Topic *stable.TeamworkActivityTopic `json:"topic,omitempty"` }
type TeamOperationPredicate ¶
type TeamOperationPredicate struct { }
type UpdateJoinedTeamOperationOptions ¶
type UpdateJoinedTeamOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateJoinedTeamOperationOptions ¶
func DefaultUpdateJoinedTeamOperationOptions() UpdateJoinedTeamOperationOptions
func (UpdateJoinedTeamOperationOptions) ToHeaders ¶
func (o UpdateJoinedTeamOperationOptions) ToHeaders() *client.Headers
func (UpdateJoinedTeamOperationOptions) ToOData ¶
func (o UpdateJoinedTeamOperationOptions) ToOData() *odata.Query
func (UpdateJoinedTeamOperationOptions) ToQuery ¶
func (o UpdateJoinedTeamOperationOptions) ToQuery() *client.QueryParams
Source Files
¶
- client.go
- method_createjoinedteam.go
- method_createjoinedteamarchive.go
- method_createjoinedteamclone.go
- method_createjoinedteamcompletemigration.go
- method_createjoinedteamunarchive.go
- method_deletejoinedteam.go
- method_getjoinedteam.go
- method_getjoinedteamscount.go
- method_listjoinedteams.go
- method_sendjoinedteamactivitynotification.go
- method_updatejoinedteam.go
- model_createjoinedteamarchiverequest.go
- model_createjoinedteamclonerequest.go
- model_sendjoinedteamactivitynotificationrequest.go
- predicates.go
- version.go