blob: a625d8d3c415eef8af3b43220f860f51a48f81d9 (
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
36
37
38
39
40
41
42
43
44
|
// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import (
"context"
"time"
)
// ScheduleShareRequestParameter undocumented
type ScheduleShareRequestParameter struct {
// NotifyTeam undocumented
NotifyTeam *bool `json:"notifyTeam,omitempty"`
// StartDateTime undocumented
StartDateTime *time.Time `json:"startDateTime,omitempty"`
// EndDateTime undocumented
EndDateTime *time.Time `json:"endDateTime,omitempty"`
}
//
type ScheduleShareRequestBuilder struct{ BaseRequestBuilder }
// Share action undocumented
func (b *ScheduleRequestBuilder) Share(reqObj *ScheduleShareRequestParameter) *ScheduleShareRequestBuilder {
bb := &ScheduleShareRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder}
bb.BaseRequestBuilder.baseURL += "/share"
bb.BaseRequestBuilder.requestObject = reqObj
return bb
}
//
type ScheduleShareRequest struct{ BaseRequest }
//
func (b *ScheduleShareRequestBuilder) Request() *ScheduleShareRequest {
return &ScheduleShareRequest{
BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject},
}
}
//
func (r *ScheduleShareRequest) Post(ctx context.Context) error {
return r.JSONRequest(ctx, "POST", "", r.requestObject, nil)
}
|