blob: 5e67c216da1d797e9a7e56838bd4b0655c9cf157 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import "context"
// TeamsAppInstallationUpgradeRequestParameter undocumented
type TeamsAppInstallationUpgradeRequestParameter struct {
}
//
type TeamsAppInstallationUpgradeRequestBuilder struct{ BaseRequestBuilder }
// Upgrade action undocumented
func (b *TeamsAppInstallationRequestBuilder) Upgrade(reqObj *TeamsAppInstallationUpgradeRequestParameter) *TeamsAppInstallationUpgradeRequestBuilder {
bb := &TeamsAppInstallationUpgradeRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/upgrade"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type TeamsAppInstallationUpgradeRequest struct{ BaseRequest }
//
func (b *TeamsAppInstallationUpgradeRequestBuilder) Request() *TeamsAppInstallationUpgradeRequest {
return &TeamsAppInstallationUpgradeRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *TeamsAppInstallationUpgradeRequest) Post(ctx context.Context) error {
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
}
|