summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ActionMobile.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/ActionMobile.go')
-rw-r--r--vendor/github.com/yaegashi/msgraph.go/beta/ActionMobile.go29
1 files changed, 19 insertions, 10 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/ActionMobile.go b/vendor/github.com/yaegashi/msgraph.go/beta/ActionMobile.go
index 4d2a3e6f..7928b44b 100644
--- a/vendor/github.com/yaegashi/msgraph.go/beta/ActionMobile.go
+++ b/vendor/github.com/yaegashi/msgraph.go/beta/ActionMobile.go
@@ -1,4 +1,4 @@
-// Code generated by msgraph-generate.go DO NOT EDIT.
+// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
@@ -81,9 +81,9 @@ func (r *MobileAppAssignmentsCollectionRequest) Paging(ctx context.Context, meth
}
var values []MobileAppAssignment
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 {
@@ -96,6 +96,7 @@ func (r *MobileAppAssignmentsCollectionRequest) Paging(ctx context.Context, meth
value []MobileAppAssignment
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -183,9 +184,9 @@ func (r *MobileAppCategoriesCollectionRequest) Paging(ctx context.Context, metho
}
var values []MobileAppCategory
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 {
@@ -198,6 +199,7 @@ func (r *MobileAppCategoriesCollectionRequest) Paging(ctx context.Context, metho
value []MobileAppCategory
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -285,9 +287,9 @@ func (r *MobileAppDeviceStatusesCollectionRequest) Paging(ctx context.Context, m
}
var values []MobileAppInstallStatus
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 {
@@ -300,6 +302,7 @@ func (r *MobileAppDeviceStatusesCollectionRequest) Paging(ctx context.Context, m
value []MobileAppInstallStatus
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -394,9 +397,9 @@ func (r *MobileAppRelationshipsCollectionRequest) Paging(ctx context.Context, me
}
var values []MobileAppRelationship
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 {
@@ -409,6 +412,7 @@ func (r *MobileAppRelationshipsCollectionRequest) Paging(ctx context.Context, me
value []MobileAppRelationship
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -496,9 +500,9 @@ func (r *MobileAppUserStatusesCollectionRequest) Paging(ctx context.Context, met
}
var values []UserAppInstallStatus
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 {
@@ -511,6 +515,7 @@ func (r *MobileAppUserStatusesCollectionRequest) Paging(ctx context.Context, met
value []UserAppInstallStatus
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -598,9 +603,9 @@ func (r *MobileAppContentContainedAppsCollectionRequest) Paging(ctx context.Cont
}
var values []MobileContainedApp
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 {
@@ -613,6 +618,7 @@ func (r *MobileAppContentContainedAppsCollectionRequest) Paging(ctx context.Cont
value []MobileContainedApp
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -700,9 +706,9 @@ func (r *MobileAppContentFilesCollectionRequest) Paging(ctx context.Context, met
}
var values []MobileAppContentFile
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 {
@@ -715,6 +721,7 @@ func (r *MobileAppContentFilesCollectionRequest) Paging(ctx context.Context, met
value []MobileAppContentFile
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -809,9 +816,9 @@ func (r *MobileAppTroubleshootingEventAppLogCollectionRequestsCollectionRequest)
}
var values []AppLogCollectionRequestObject
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 {
@@ -824,6 +831,7 @@ func (r *MobileAppTroubleshootingEventAppLogCollectionRequestsCollectionRequest)
value []AppLogCollectionRequestObject
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -911,9 +919,9 @@ func (r *MobileLobAppContentVersionsCollectionRequest) Paging(ctx context.Contex
}
var values []MobileAppContent
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 {
@@ -926,6 +934,7 @@ func (r *MobileLobAppContentVersionsCollectionRequest) Paging(ctx context.Contex
value []MobileAppContent
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}