forked from lug/matterbridge
Update vendor (#1228)
This commit is contained in:
23
vendor/github.com/yaegashi/msgraph.go/beta/ActionList.go
generated
vendored
23
vendor/github.com/yaegashi/msgraph.go/beta/ActionList.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
|
||||
|
||||
@@ -57,9 +57,9 @@ func (r *ListActivitiesCollectionRequest) Paging(ctx context.Context, method, pa
|
||||
}
|
||||
var values []ItemActivityOLD
|
||||
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 {
|
||||
@@ -72,6 +72,7 @@ func (r *ListActivitiesCollectionRequest) Paging(ctx context.Context, method, pa
|
||||
value []ItemActivityOLD
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -159,9 +160,9 @@ func (r *ListColumnsCollectionRequest) Paging(ctx context.Context, method, path
|
||||
}
|
||||
var values []ColumnDefinition
|
||||
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 {
|
||||
@@ -174,6 +175,7 @@ func (r *ListColumnsCollectionRequest) Paging(ctx context.Context, method, path
|
||||
value []ColumnDefinition
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -261,9 +263,9 @@ func (r *ListContentTypesCollectionRequest) Paging(ctx context.Context, method,
|
||||
}
|
||||
var values []ContentType
|
||||
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 {
|
||||
@@ -276,6 +278,7 @@ func (r *ListContentTypesCollectionRequest) Paging(ctx context.Context, method,
|
||||
value []ContentType
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -370,9 +373,9 @@ func (r *ListItemsCollectionRequest) Paging(ctx context.Context, method, path st
|
||||
}
|
||||
var values []ListItem
|
||||
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 {
|
||||
@@ -385,6 +388,7 @@ func (r *ListItemsCollectionRequest) Paging(ctx context.Context, method, path st
|
||||
value []ListItem
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -472,9 +476,9 @@ func (r *ListSubscriptionsCollectionRequest) Paging(ctx context.Context, method,
|
||||
}
|
||||
var values []Subscription
|
||||
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 {
|
||||
@@ -487,6 +491,7 @@ func (r *ListSubscriptionsCollectionRequest) Paging(ctx context.Context, method,
|
||||
value []Subscription
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -574,9 +579,9 @@ func (r *ListItemActivitiesCollectionRequest) Paging(ctx context.Context, method
|
||||
}
|
||||
var values []ItemActivityOLD
|
||||
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 {
|
||||
@@ -589,6 +594,7 @@ func (r *ListItemActivitiesCollectionRequest) Paging(ctx context.Context, method
|
||||
value []ItemActivityOLD
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -697,9 +703,9 @@ func (r *ListItemVersionsCollectionRequest) Paging(ctx context.Context, method,
|
||||
}
|
||||
var values []ListItemVersion
|
||||
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 {
|
||||
@@ -712,6 +718,7 @@ func (r *ListItemVersionsCollectionRequest) Paging(ctx context.Context, method,
|
||||
value []ListItemVersion
|
||||
)
|
||||
err := jsonx.NewDecoder(res.Body).Decode(&paging)
|
||||
res.Body.Close()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user