mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-09-19 02:32:30 +00:00
Update vendor (#1228)
This commit is contained in:
26
vendor/github.com/yaegashi/msgraph.go/beta/ActionSchedule.go
generated
vendored
26
vendor/github.com/yaegashi/msgraph.go/beta/ActionSchedule.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// Code generated by msgraph-generate.go DO NOT EDIT.
|
||||
// Code generated by msgraph.go/gen DO NOT EDIT.
|
||||
|
||||
package msgraph
|
||||
|
||||
@@ -76,9 +76,9 @@ func (r *ScheduleOpenShiftChangeRequestsCollectionRequest) Paging(ctx context.Co
|
||||
}
|
||||
var values []OpenShiftChangeRequestObject
|
||||
for {
|
||||
defer res.Body.Close()
|
||||
if res.StatusCode != http.StatusOK {
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
res.Body.Close()
|
||||
errRes := &ErrorResponse{Response: res}
|
||||
err := jsonx.Unmarshal(b, errRes)
|
||||
if err != nil {
|
||||
@@ -91,6 +91,7 @@ func (r *ScheduleOpenShiftChangeRequestsCollectionRequest) Paging(ctx context.Co
|
||||
value []OpenShiftChangeRequestObject
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -178,9 +179,9 @@ func (r *ScheduleOpenShiftsCollectionRequest) Paging(ctx context.Context, method
|
||||
}
|
||||
var values []OpenShift
|
||||
for {
|
||||
defer res.Body.Close()
|
||||
if res.StatusCode != http.StatusOK {
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
res.Body.Close()
|
||||
errRes := &ErrorResponse{Response: res}
|
||||
err := jsonx.Unmarshal(b, errRes)
|
||||
if err != nil {
|
||||
@@ -193,6 +194,7 @@ func (r *ScheduleOpenShiftsCollectionRequest) Paging(ctx context.Context, method
|
||||
value []OpenShift
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -280,9 +282,9 @@ func (r *ScheduleSchedulingGroupsCollectionRequest) Paging(ctx context.Context,
|
||||
}
|
||||
var values []SchedulingGroup
|
||||
for {
|
||||
defer res.Body.Close()
|
||||
if res.StatusCode != http.StatusOK {
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
res.Body.Close()
|
||||
errRes := &ErrorResponse{Response: res}
|
||||
err := jsonx.Unmarshal(b, errRes)
|
||||
if err != nil {
|
||||
@@ -295,6 +297,7 @@ func (r *ScheduleSchedulingGroupsCollectionRequest) Paging(ctx context.Context,
|
||||
value []SchedulingGroup
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -382,9 +385,9 @@ func (r *ScheduleShiftsCollectionRequest) Paging(ctx context.Context, method, pa
|
||||
}
|
||||
var values []Shift
|
||||
for {
|
||||
defer res.Body.Close()
|
||||
if res.StatusCode != http.StatusOK {
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
res.Body.Close()
|
||||
errRes := &ErrorResponse{Response: res}
|
||||
err := jsonx.Unmarshal(b, errRes)
|
||||
if err != nil {
|
||||
@@ -397,6 +400,7 @@ func (r *ScheduleShiftsCollectionRequest) Paging(ctx context.Context, method, pa
|
||||
value []Shift
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -484,9 +488,9 @@ func (r *ScheduleSwapShiftsChangeRequestsCollectionRequest) Paging(ctx context.C
|
||||
}
|
||||
var values []SwapShiftsChangeRequestObject
|
||||
for {
|
||||
defer res.Body.Close()
|
||||
if res.StatusCode != http.StatusOK {
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
res.Body.Close()
|
||||
errRes := &ErrorResponse{Response: res}
|
||||
err := jsonx.Unmarshal(b, errRes)
|
||||
if err != nil {
|
||||
@@ -499,6 +503,7 @@ func (r *ScheduleSwapShiftsChangeRequestsCollectionRequest) Paging(ctx context.C
|
||||
value []SwapShiftsChangeRequestObject
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -586,9 +591,9 @@ func (r *ScheduleTimeOffReasonsCollectionRequest) Paging(ctx context.Context, me
|
||||
}
|
||||
var values []TimeOffReason
|
||||
for {
|
||||
defer res.Body.Close()
|
||||
if res.StatusCode != http.StatusOK {
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
res.Body.Close()
|
||||
errRes := &ErrorResponse{Response: res}
|
||||
err := jsonx.Unmarshal(b, errRes)
|
||||
if err != nil {
|
||||
@@ -601,6 +606,7 @@ func (r *ScheduleTimeOffReasonsCollectionRequest) Paging(ctx context.Context, me
|
||||
value []TimeOffReason
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -688,9 +694,9 @@ func (r *ScheduleTimeOffRequestsCollectionRequest) Paging(ctx context.Context, m
|
||||
}
|
||||
var values []TimeOffRequestObject
|
||||
for {
|
||||
defer res.Body.Close()
|
||||
if res.StatusCode != http.StatusOK {
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
res.Body.Close()
|
||||
errRes := &ErrorResponse{Response: res}
|
||||
err := jsonx.Unmarshal(b, errRes)
|
||||
if err != nil {
|
||||
@@ -703,6 +709,7 @@ func (r *ScheduleTimeOffRequestsCollectionRequest) Paging(ctx context.Context, m
|
||||
value []TimeOffRequestObject
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -790,9 +797,9 @@ func (r *ScheduleTimesOffCollectionRequest) Paging(ctx context.Context, method,
|
||||
}
|
||||
var values []TimeOff
|
||||
for {
|
||||
defer res.Body.Close()
|
||||
if res.StatusCode != http.StatusOK {
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
res.Body.Close()
|
||||
errRes := &ErrorResponse{Response: res}
|
||||
err := jsonx.Unmarshal(b, errRes)
|
||||
if err != nil {
|
||||
@@ -805,6 +812,7 @@ func (r *ScheduleTimesOffCollectionRequest) Paging(ctx context.Context, method,
|
||||
value []TimeOff
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user