forked from lug/matterbridge
Update vendor (#1228)
This commit is contained in:
71
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.go
generated
vendored
71
vendor/github.com/yaegashi/msgraph.go/beta/ActionEducation.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
|
||||
|
||||
@@ -85,9 +85,9 @@ func (r *EducationAssignmentCategoriesCollectionRequest) Paging(ctx context.Cont
|
||||
}
|
||||
var values []EducationCategory
|
||||
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 {
|
||||
@@ -100,6 +100,7 @@ func (r *EducationAssignmentCategoriesCollectionRequest) Paging(ctx context.Cont
|
||||
value []EducationCategory
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -187,9 +188,9 @@ func (r *EducationAssignmentResourcesCollectionRequest) Paging(ctx context.Conte
|
||||
}
|
||||
var values []EducationAssignmentResource
|
||||
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 {
|
||||
@@ -202,6 +203,7 @@ func (r *EducationAssignmentResourcesCollectionRequest) Paging(ctx context.Conte
|
||||
value []EducationAssignmentResource
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -296,9 +298,9 @@ func (r *EducationAssignmentSubmissionsCollectionRequest) Paging(ctx context.Con
|
||||
}
|
||||
var values []EducationSubmission
|
||||
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 {
|
||||
@@ -311,6 +313,7 @@ func (r *EducationAssignmentSubmissionsCollectionRequest) Paging(ctx context.Con
|
||||
value []EducationSubmission
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -398,9 +401,9 @@ func (r *EducationClassAssignmentCategoriesCollectionRequest) Paging(ctx context
|
||||
}
|
||||
var values []EducationCategory
|
||||
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 {
|
||||
@@ -413,6 +416,7 @@ func (r *EducationClassAssignmentCategoriesCollectionRequest) Paging(ctx context
|
||||
value []EducationCategory
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -500,9 +504,9 @@ func (r *EducationClassAssignmentsCollectionRequest) Paging(ctx context.Context,
|
||||
}
|
||||
var values []EducationAssignment
|
||||
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 {
|
||||
@@ -515,6 +519,7 @@ func (r *EducationClassAssignmentsCollectionRequest) Paging(ctx context.Context,
|
||||
value []EducationAssignment
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -609,9 +614,9 @@ func (r *EducationClassMembersCollectionRequest) Paging(ctx context.Context, met
|
||||
}
|
||||
var values []EducationUser
|
||||
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 {
|
||||
@@ -624,6 +629,7 @@ func (r *EducationClassMembersCollectionRequest) Paging(ctx context.Context, met
|
||||
value []EducationUser
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -711,9 +717,9 @@ func (r *EducationClassSchoolsCollectionRequest) Paging(ctx context.Context, met
|
||||
}
|
||||
var values []EducationSchool
|
||||
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 {
|
||||
@@ -726,6 +732,7 @@ func (r *EducationClassSchoolsCollectionRequest) Paging(ctx context.Context, met
|
||||
value []EducationSchool
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -813,9 +820,9 @@ func (r *EducationClassTeachersCollectionRequest) Paging(ctx context.Context, me
|
||||
}
|
||||
var values []EducationUser
|
||||
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 {
|
||||
@@ -828,6 +835,7 @@ func (r *EducationClassTeachersCollectionRequest) Paging(ctx context.Context, me
|
||||
value []EducationUser
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -915,9 +923,9 @@ func (r *EducationRootClassesCollectionRequest) Paging(ctx context.Context, meth
|
||||
}
|
||||
var values []EducationClass
|
||||
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 {
|
||||
@@ -930,6 +938,7 @@ func (r *EducationRootClassesCollectionRequest) Paging(ctx context.Context, meth
|
||||
value []EducationClass
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1024,9 +1033,9 @@ func (r *EducationRootSchoolsCollectionRequest) Paging(ctx context.Context, meth
|
||||
}
|
||||
var values []EducationSchool
|
||||
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 {
|
||||
@@ -1039,6 +1048,7 @@ func (r *EducationRootSchoolsCollectionRequest) Paging(ctx context.Context, meth
|
||||
value []EducationSchool
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1126,9 +1136,9 @@ func (r *EducationRootSynchronizationProfilesCollectionRequest) Paging(ctx conte
|
||||
}
|
||||
var values []EducationSynchronizationProfile
|
||||
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 {
|
||||
@@ -1141,6 +1151,7 @@ func (r *EducationRootSynchronizationProfilesCollectionRequest) Paging(ctx conte
|
||||
value []EducationSynchronizationProfile
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1228,9 +1239,9 @@ func (r *EducationRootUsersCollectionRequest) Paging(ctx context.Context, method
|
||||
}
|
||||
var values []EducationUser
|
||||
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 {
|
||||
@@ -1243,6 +1254,7 @@ func (r *EducationRootUsersCollectionRequest) Paging(ctx context.Context, method
|
||||
value []EducationUser
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1337,9 +1349,9 @@ func (r *EducationSchoolClassesCollectionRequest) Paging(ctx context.Context, me
|
||||
}
|
||||
var values []EducationClass
|
||||
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 {
|
||||
@@ -1352,6 +1364,7 @@ func (r *EducationSchoolClassesCollectionRequest) Paging(ctx context.Context, me
|
||||
value []EducationClass
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1439,9 +1452,9 @@ func (r *EducationSchoolUsersCollectionRequest) Paging(ctx context.Context, meth
|
||||
}
|
||||
var values []EducationUser
|
||||
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 {
|
||||
@@ -1454,6 +1467,7 @@ func (r *EducationSchoolUsersCollectionRequest) Paging(ctx context.Context, meth
|
||||
value []EducationUser
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1541,9 +1555,9 @@ func (r *EducationSubmissionOutcomesCollectionRequest) Paging(ctx context.Contex
|
||||
}
|
||||
var values []EducationOutcome
|
||||
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 {
|
||||
@@ -1556,6 +1570,7 @@ func (r *EducationSubmissionOutcomesCollectionRequest) Paging(ctx context.Contex
|
||||
value []EducationOutcome
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1643,9 +1658,9 @@ func (r *EducationSubmissionResourcesCollectionRequest) Paging(ctx context.Conte
|
||||
}
|
||||
var values []EducationSubmissionResource
|
||||
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 {
|
||||
@@ -1658,6 +1673,7 @@ func (r *EducationSubmissionResourcesCollectionRequest) Paging(ctx context.Conte
|
||||
value []EducationSubmissionResource
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1745,9 +1761,9 @@ func (r *EducationSubmissionSubmittedResourcesCollectionRequest) Paging(ctx cont
|
||||
}
|
||||
var values []EducationSubmissionResource
|
||||
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 {
|
||||
@@ -1760,6 +1776,7 @@ func (r *EducationSubmissionSubmittedResourcesCollectionRequest) Paging(ctx cont
|
||||
value []EducationSubmissionResource
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1847,9 +1864,9 @@ func (r *EducationSynchronizationProfileErrorsCollectionRequest) Paging(ctx cont
|
||||
}
|
||||
var values []EducationSynchronizationError
|
||||
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 {
|
||||
@@ -1862,6 +1879,7 @@ func (r *EducationSynchronizationProfileErrorsCollectionRequest) Paging(ctx cont
|
||||
value []EducationSynchronizationError
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1956,9 +1974,9 @@ func (r *EducationUserAssignmentsCollectionRequest) Paging(ctx context.Context,
|
||||
}
|
||||
var values []EducationAssignment
|
||||
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 {
|
||||
@@ -1971,6 +1989,7 @@ func (r *EducationUserAssignmentsCollectionRequest) Paging(ctx context.Context,
|
||||
value []EducationAssignment
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -2058,9 +2077,9 @@ func (r *EducationUserClassesCollectionRequest) Paging(ctx context.Context, meth
|
||||
}
|
||||
var values []EducationClass
|
||||
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 {
|
||||
@@ -2073,6 +2092,7 @@ func (r *EducationUserClassesCollectionRequest) Paging(ctx context.Context, meth
|
||||
value []EducationClass
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -2160,9 +2180,9 @@ func (r *EducationUserRubricsCollectionRequest) Paging(ctx context.Context, meth
|
||||
}
|
||||
var values []EducationRubric
|
||||
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 {
|
||||
@@ -2175,6 +2195,7 @@ func (r *EducationUserRubricsCollectionRequest) Paging(ctx context.Context, meth
|
||||
value []EducationRubric
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -2262,9 +2283,9 @@ func (r *EducationUserSchoolsCollectionRequest) Paging(ctx context.Context, meth
|
||||
}
|
||||
var values []EducationSchool
|
||||
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 {
|
||||
@@ -2277,6 +2298,7 @@ func (r *EducationUserSchoolsCollectionRequest) Paging(ctx context.Context, meth
|
||||
value []EducationSchool
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -2364,9 +2386,9 @@ func (r *EducationUserTaughtClassesCollectionRequest) Paging(ctx context.Context
|
||||
}
|
||||
var values []EducationClass
|
||||
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 {
|
||||
@@ -2379,6 +2401,7 @@ func (r *EducationUserTaughtClassesCollectionRequest) Paging(ctx context.Context
|
||||
value []EducationClass
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user