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
@@ -2324,9 +2324,9 @@ func (r *DeviceCompliancePolicyCollectionHasPayloadLinksRequest) Paging(ctx cont
}
var values []HasPayloadLinkResultItem
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 {
@@ -2339,6 +2339,7 @@ func (r *DeviceCompliancePolicyCollectionHasPayloadLinksRequest) Paging(ctx cont
value []HasPayloadLinkResultItem
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -2444,9 +2445,9 @@ func (r *DeviceConfigurationCollectionHasPayloadLinksRequest) Paging(ctx context
}
var values []HasPayloadLinkResultItem
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 {
@@ -2459,6 +2460,7 @@ func (r *DeviceConfigurationCollectionHasPayloadLinksRequest) Paging(ctx context
value []HasPayloadLinkResultItem
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -2538,9 +2540,9 @@ func (r *DeviceConfigurationCollectionGetTargetedUsersAndDevicesRequest) Paging(
}
var values []DeviceConfigurationTargetedUserAndDevice
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 {
@@ -2553,6 +2555,7 @@ func (r *DeviceConfigurationCollectionGetTargetedUsersAndDevicesRequest) Paging(
value []DeviceConfigurationTargetedUserAndDevice
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -2632,9 +2635,9 @@ func (r *DeviceEnrollmentConfigurationCollectionHasPayloadLinksRequest) Paging(c
}
var values []HasPayloadLinkResultItem
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 {
@@ -2647,6 +2650,7 @@ func (r *DeviceEnrollmentConfigurationCollectionHasPayloadLinksRequest) Paging(c
value []HasPayloadLinkResultItem
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -2718,9 +2722,9 @@ func (r *DeviceManagementScriptCollectionHasPayloadLinksRequest) Paging(ctx cont
}
var values []HasPayloadLinkResultItem
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 {
@@ -2733,6 +2737,7 @@ func (r *DeviceManagementScriptCollectionHasPayloadLinksRequest) Paging(ctx cont
value []HasPayloadLinkResultItem
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -2856,9 +2861,9 @@ func (r *DeviceCompliancePolicyAssignRequest) Paging(ctx context.Context, method
}
var values []DeviceCompliancePolicyAssignment
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 {
@@ -2871,6 +2876,7 @@ func (r *DeviceCompliancePolicyAssignRequest) Paging(ctx context.Context, method
value []DeviceCompliancePolicyAssignment
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}
@@ -2968,9 +2974,9 @@ func (r *DeviceConfigurationAssignRequest) Paging(ctx context.Context, method, p
}
var values []DeviceConfigurationAssignment
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 {
@@ -2983,6 +2989,7 @@ func (r *DeviceConfigurationAssignRequest) Paging(ctx context.Context, method, p
value []DeviceConfigurationAssignment
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
res.Body.Close()
if err != nil {
return nil, err
}