forked from jshiffer/matterbridge
795a8705c3
Documentation on https://github.com/42wim/matterbridge/wiki/MS-Teams-setup
39 lines
1.3 KiB
Go
39 lines
1.3 KiB
Go
// Code generated by msgraph-generate.go DO NOT EDIT.
|
|
|
|
package msgraph
|
|
|
|
import "context"
|
|
|
|
// AndroidForWorkSettingsRequestBuilder is request builder for AndroidForWorkSettings
|
|
type AndroidForWorkSettingsRequestBuilder struct{ BaseRequestBuilder }
|
|
|
|
// Request returns AndroidForWorkSettingsRequest
|
|
func (b *AndroidForWorkSettingsRequestBuilder) Request() *AndroidForWorkSettingsRequest {
|
|
return &AndroidForWorkSettingsRequest{
|
|
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client},
|
|
}
|
|
}
|
|
|
|
// AndroidForWorkSettingsRequest is request for AndroidForWorkSettings
|
|
type AndroidForWorkSettingsRequest struct{ BaseRequest }
|
|
|
|
// Get performs GET request for AndroidForWorkSettings
|
|
func (r *AndroidForWorkSettingsRequest) Get(ctx context.Context) (resObj *AndroidForWorkSettings, err error) {
|
|
var query string
|
|
if r.query != nil {
|
|
query = "?" + r.query.Encode()
|
|
}
|
|
err = r.JSONRequest(ctx, "GET", query, nil, &resObj)
|
|
return
|
|
}
|
|
|
|
// Update performs PATCH request for AndroidForWorkSettings
|
|
func (r *AndroidForWorkSettingsRequest) Update(ctx context.Context, reqObj *AndroidForWorkSettings) error {
|
|
return r.JSONRequest(ctx, "PATCH", "", reqObj, nil)
|
|
}
|
|
|
|
// Delete performs DELETE request for AndroidForWorkSettings
|
|
func (r *AndroidForWorkSettingsRequest) Delete(ctx context.Context) error {
|
|
return r.JSONRequest(ctx, "DELETE", "", nil, nil)
|
|
}
|