diff options
author | Wim <wim@42.be> | 2020-09-04 23:29:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 23:29:13 +0200 |
commit | 2f59abdda7a1072036ea1fdb4c859cccbb56efa6 (patch) | |
tree | e35393f23d12783ae92f0469085efc7dec953f82 /vendor/github.com/yaegashi/msgraph.go/beta/ActionData.go | |
parent | 17747a5c8893fd47ba8eb61dd10477170640caf6 (diff) | |
download | matterbridge-msglm-2f59abdda7a1072036ea1fdb4c859cccbb56efa6.tar.gz matterbridge-msglm-2f59abdda7a1072036ea1fdb4c859cccbb56efa6.tar.bz2 matterbridge-msglm-2f59abdda7a1072036ea1fdb4c859cccbb56efa6.zip |
Update vendor (#1228)
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/ActionData.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/ActionData.go | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/ActionData.go b/vendor/github.com/yaegashi/msgraph.go/beta/ActionData.go index 567e2548..cb000e9b 100644 --- a/vendor/github.com/yaegashi/msgraph.go/beta/ActionData.go +++ b/vendor/github.com/yaegashi/msgraph.go/beta/ActionData.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 @@ -67,9 +67,9 @@ func (r *DataClassificationServiceClassifyFileCollectionRequest) Paging(ctx cont } var values []FileClassificationRequestObject 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 { @@ -82,6 +82,7 @@ func (r *DataClassificationServiceClassifyFileCollectionRequest) Paging(ctx cont value []FileClassificationRequestObject ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -169,9 +170,9 @@ func (r *DataClassificationServiceClassifyFileJobsCollectionRequest) Paging(ctx } var values []JobResponseBase 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 { @@ -184,6 +185,7 @@ func (r *DataClassificationServiceClassifyFileJobsCollectionRequest) Paging(ctx value []JobResponseBase ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -271,9 +273,9 @@ func (r *DataClassificationServiceClassifyTextCollectionRequest) Paging(ctx cont } var values []TextClassificationRequestObject 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 { @@ -286,6 +288,7 @@ func (r *DataClassificationServiceClassifyTextCollectionRequest) Paging(ctx cont value []TextClassificationRequestObject ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -373,9 +376,9 @@ func (r *DataClassificationServiceClassifyTextJobsCollectionRequest) Paging(ctx } var values []JobResponseBase 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 { @@ -388,6 +391,7 @@ func (r *DataClassificationServiceClassifyTextJobsCollectionRequest) Paging(ctx value []JobResponseBase ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -475,9 +479,9 @@ func (r *DataClassificationServiceEvaluateDlpPoliciesJobsCollectionRequest) Pagi } var values []JobResponseBase 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 { @@ -490,6 +494,7 @@ func (r *DataClassificationServiceEvaluateDlpPoliciesJobsCollectionRequest) Pagi value []JobResponseBase ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -577,9 +582,9 @@ func (r *DataClassificationServiceEvaluateLabelJobsCollectionRequest) Paging(ctx } var values []JobResponseBase 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 { @@ -592,6 +597,7 @@ func (r *DataClassificationServiceEvaluateLabelJobsCollectionRequest) Paging(ctx value []JobResponseBase ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -679,9 +685,9 @@ func (r *DataClassificationServiceExactMatchDataStoresCollectionRequest) Paging( } var values []ExactMatchDataStore 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 { @@ -694,6 +700,7 @@ func (r *DataClassificationServiceExactMatchDataStoresCollectionRequest) Paging( value []ExactMatchDataStore ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -781,9 +788,9 @@ func (r *DataClassificationServiceExactMatchUploadAgentsCollectionRequest) Pagin } var values []ExactMatchUploadAgent 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 { @@ -796,6 +803,7 @@ func (r *DataClassificationServiceExactMatchUploadAgentsCollectionRequest) Pagin value []ExactMatchUploadAgent ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -883,9 +891,9 @@ func (r *DataClassificationServiceJobsCollectionRequest) Paging(ctx context.Cont } var values []JobResponseBase 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 { @@ -898,6 +906,7 @@ func (r *DataClassificationServiceJobsCollectionRequest) Paging(ctx context.Cont value []JobResponseBase ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -985,9 +994,9 @@ func (r *DataClassificationServiceLabelsAndPoliciesEvaluationJobsCollectionReque } var values []JobResponseBase 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 { @@ -1000,6 +1009,7 @@ func (r *DataClassificationServiceLabelsAndPoliciesEvaluationJobsCollectionReque value []JobResponseBase ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -1087,9 +1097,9 @@ func (r *DataClassificationServiceSensitiveTypesCollectionRequest) Paging(ctx co } var values []SensitiveType 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 { @@ -1102,6 +1112,7 @@ func (r *DataClassificationServiceSensitiveTypesCollectionRequest) Paging(ctx co value []SensitiveType ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } @@ -1189,9 +1200,9 @@ func (r *DataClassificationServiceSensitivityLabelsCollectionRequest) Paging(ctx } var values []SensitivityLabel 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 { @@ -1204,6 +1215,7 @@ func (r *DataClassificationServiceSensitivityLabelsCollectionRequest) Paging(ctx value []SensitivityLabel ) err := jsonx.NewDecoder(res.Body).Decode(&paging) + res.Body.Close() if err != nil { return nil, err } |