summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ActionMail.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/ActionMail.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/ActionMail.go')
-rw-r--r--vendor/github.com/yaegashi/msgraph.go/beta/ActionMail.go20
1 files changed, 13 insertions, 7 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/ActionMail.go b/vendor/github.com/yaegashi/msgraph.go/beta/ActionMail.go
index de4a460b..8b03c05d 100644
--- a/vendor/github.com/yaegashi/msgraph.go/beta/ActionMail.go
+++ b/vendor/github.com/yaegashi/msgraph.go/beta/ActionMail.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
@@ -65,9 +65,9 @@ func (r *MailFolderChildFoldersCollectionRequest) Paging(ctx context.Context, me
}
var values []MailFolder
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 {
@@ -80,6 +80,7 @@ func (r *MailFolderChildFoldersCollectionRequest) Paging(ctx context.Context, me
value []MailFolder
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -167,9 +168,9 @@ func (r *MailFolderMessageRulesCollectionRequest) Paging(ctx context.Context, me
}
var values []MessageRule
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 {
@@ -182,6 +183,7 @@ func (r *MailFolderMessageRulesCollectionRequest) Paging(ctx context.Context, me
value []MessageRule
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -269,9 +271,9 @@ func (r *MailFolderMessagesCollectionRequest) Paging(ctx context.Context, method
}
var values []Message
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 {
@@ -284,6 +286,7 @@ func (r *MailFolderMessagesCollectionRequest) Paging(ctx context.Context, method
value []Message
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -371,9 +374,9 @@ func (r *MailFolderMultiValueExtendedPropertiesCollectionRequest) Paging(ctx con
}
var values []MultiValueLegacyExtendedProperty
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 {
@@ -386,6 +389,7 @@ func (r *MailFolderMultiValueExtendedPropertiesCollectionRequest) Paging(ctx con
value []MultiValueLegacyExtendedProperty
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -473,9 +477,9 @@ func (r *MailFolderSingleValueExtendedPropertiesCollectionRequest) Paging(ctx co
}
var values []SingleValueLegacyExtendedProperty
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 {
@@ -488,6 +492,7 @@ func (r *MailFolderSingleValueExtendedPropertiesCollectionRequest) Paging(ctx co
value []SingleValueLegacyExtendedProperty
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}
@@ -575,9 +580,9 @@ func (r *MailFolderUserConfigurationsCollectionRequest) Paging(ctx context.Conte
}
var values []UserConfiguration
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 {
@@ -590,6 +595,7 @@ func (r *MailFolderUserConfigurationsCollectionRequest) Paging(ctx context.Conte
value []UserConfiguration
)
err := jsonx.NewDecoder(res.Body).Decode(&paging)
+ res.Body.Close()
if err != nil {
return nil, err
}