Update vendor (#1228)

This commit is contained in:
Wim
2020-09-04 23:29:13 +02:00
committed by GitHub
parent 17747a5c88
commit 2f59abdda7
1436 changed files with 21840 additions and 3466 deletions

View File

@@ -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 *SiteColumnsCollectionRequest) 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 {
@@ -91,6 +91,7 @@ func (r *SiteColumnsCollectionRequest) Paging(ctx context.Context, method, path
value []ColumnDefinition
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -178,9 +179,9 @@ func (r *SiteContentTypesCollectionRequest) 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 {
@@ -193,6 +194,7 @@ func (r *SiteContentTypesCollectionRequest) Paging(ctx context.Context, method,
value []ContentType
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -287,9 +289,9 @@ func (r *SiteDrivesCollectionRequest) Paging(ctx context.Context, method, path s
}
var values []Drive
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 {
@@ -302,6 +304,7 @@ func (r *SiteDrivesCollectionRequest) Paging(ctx context.Context, method, path s
value []Drive
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -389,9 +392,9 @@ func (r *SiteItemsCollectionRequest) Paging(ctx context.Context, method, path st
}
var values []BaseItem
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 {
@@ -404,6 +407,7 @@ func (r *SiteItemsCollectionRequest) Paging(ctx context.Context, method, path st
value []BaseItem
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -491,9 +495,9 @@ func (r *SiteListsCollectionRequest) Paging(ctx context.Context, method, path st
}
var values []List
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 {
@@ -506,6 +510,7 @@ func (r *SiteListsCollectionRequest) Paging(ctx context.Context, method, path st
value []List
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -600,9 +605,9 @@ func (r *SitePagesCollectionRequest) Paging(ctx context.Context, method, path st
}
var values []SitePage
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 {
@@ -615,6 +620,7 @@ func (r *SitePagesCollectionRequest) Paging(ctx context.Context, method, path st
value []SitePage
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -702,9 +708,9 @@ func (r *SiteSitesCollectionRequest) Paging(ctx context.Context, method, path st
}
var values []Site
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 {
@@ -717,6 +723,7 @@ func (r *SiteSitesCollectionRequest) Paging(ctx context.Context, method, path st
value []Site
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}