forked from lug/matterbridge
Update vendor (#1228)
This commit is contained in:
23
vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.go
generated
vendored
23
vendor/github.com/yaegashi/msgraph.go/beta/RequestDevice.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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user