summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ActionProfile.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-09-04 23:29:13 +0200
committerGitHub <noreply@github.com>2020-09-04 23:29:13 +0200
commit2f59abdda7a1072036ea1fdb4c859cccbb56efa6 (patch)
treee35393f23d12783ae92f0469085efc7dec953f82 /vendor/github.com/yaegashi/msgraph.go/beta/ActionProfile.go
parent17747a5c8893fd47ba8eb61dd10477170640caf6 (diff)
downloadmatterbridge-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/ActionProfile.go')
-rw-r--r--vendor/github.com/yaegashi/msgraph.go/beta/ActionProfile.go41
1 files changed, 27 insertions, 14 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/ActionProfile.go b/vendor/github.com/yaegashi/msgraph.go/beta/ActionProfile.go
index d640b0a6..efa62aed 100644
--- a/vendor/github.com/yaegashi/msgraph.go/beta/ActionProfile.go
+++ b/vendor/github.com/yaegashi/msgraph.go/beta/ActionProfile.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
@@ -53,9 +53,9 @@ func (r *ProfileAccountCollectionRequest) Paging(ctx context.Context, method, pa
}
var values []UserAccountInformation
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 {
@@ -68,6 +68,7 @@ func (r *ProfileAccountCollectionRequest) Paging(ctx context.Context, method, pa
value []UserAccountInformation
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -155,9 +156,9 @@ func (r *ProfileAnniversariesCollectionRequest) Paging(ctx context.Context, meth
}
var values []PersonAnniversary
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 {
@@ -170,6 +171,7 @@ func (r *ProfileAnniversariesCollectionRequest) Paging(ctx context.Context, meth
value []PersonAnniversary
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -257,9 +259,9 @@ func (r *ProfileEducationalActivitiesCollectionRequest) Paging(ctx context.Conte
}
var values []EducationalActivity
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 {
@@ -272,6 +274,7 @@ func (r *ProfileEducationalActivitiesCollectionRequest) Paging(ctx context.Conte
value []EducationalActivity
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -359,9 +362,9 @@ func (r *ProfileEmailsCollectionRequest) Paging(ctx context.Context, method, pat
}
var values []ItemEmail
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 {
@@ -374,6 +377,7 @@ func (r *ProfileEmailsCollectionRequest) Paging(ctx context.Context, method, pat
value []ItemEmail
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -461,9 +465,9 @@ func (r *ProfileInterestsCollectionRequest) Paging(ctx context.Context, method,
}
var values []PersonInterest
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 {
@@ -476,6 +480,7 @@ func (r *ProfileInterestsCollectionRequest) Paging(ctx context.Context, method,
value []PersonInterest
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -563,9 +568,9 @@ func (r *ProfileLanguagesCollectionRequest) Paging(ctx context.Context, method,
}
var values []LanguageProficiency
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 {
@@ -578,6 +583,7 @@ func (r *ProfileLanguagesCollectionRequest) Paging(ctx context.Context, method,
value []LanguageProficiency
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -665,9 +671,9 @@ func (r *ProfileNamesCollectionRequest) Paging(ctx context.Context, method, path
}
var values []PersonName
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 {
@@ -680,6 +686,7 @@ func (r *ProfileNamesCollectionRequest) Paging(ctx context.Context, method, path
value []PersonName
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -767,9 +774,9 @@ func (r *ProfilePhonesCollectionRequest) Paging(ctx context.Context, method, pat
}
var values []ItemPhone
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 {
@@ -782,6 +789,7 @@ func (r *ProfilePhonesCollectionRequest) Paging(ctx context.Context, method, pat
value []ItemPhone
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -869,9 +877,9 @@ func (r *ProfilePositionsCollectionRequest) Paging(ctx context.Context, method,
}
var values []WorkPosition
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 {
@@ -884,6 +892,7 @@ func (r *ProfilePositionsCollectionRequest) Paging(ctx context.Context, method,
value []WorkPosition
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -971,9 +980,9 @@ func (r *ProfileProjectsCollectionRequest) Paging(ctx context.Context, method, p
}
var values []ProjectParticipation
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 {
@@ -986,6 +995,7 @@ func (r *ProfileProjectsCollectionRequest) Paging(ctx context.Context, method, p
value []ProjectParticipation
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -1073,9 +1083,9 @@ func (r *ProfileSkillsCollectionRequest) Paging(ctx context.Context, method, pat
}
var values []SkillProficiency
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 {
@@ -1088,6 +1098,7 @@ func (r *ProfileSkillsCollectionRequest) Paging(ctx context.Context, method, pat
value []SkillProficiency
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -1175,9 +1186,9 @@ func (r *ProfileWebAccountsCollectionRequest) Paging(ctx context.Context, method
}
var values []WebAccount
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 {
@@ -1190,6 +1201,7 @@ func (r *ProfileWebAccountsCollectionRequest) Paging(ctx context.Context, method
value []WebAccount
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -1277,9 +1289,9 @@ func (r *ProfileWebsitesCollectionRequest) Paging(ctx context.Context, method, p
}
var values []PersonWebsite
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 {
@@ -1292,6 +1304,7 @@ func (r *ProfileWebsitesCollectionRequest) Paging(ctx context.Context, method, p
value []PersonWebsite
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}