Skip to content

Commit 702fbb8

Browse files
author
tsidei
authored
Merge pull request #88 from mailjet/missing-subject-field
Add missing `Subject` field to the `Message` struct.
2 parents 6639358 + 3a54f30 commit 702fbb8

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

resources/resources.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ type Batchjob struct {
148148
}
149149

150150
type Contactsjob struct {
151-
Count int64
152-
Error string
153-
ErrorFile string
154-
Status string
155-
JobStart string
156-
JobEnd string
151+
Count int64
152+
Error string
153+
ErrorFile string
154+
Status string
155+
JobStart string
156+
JobEnd string
157157
}
158158

159159
// Bouncestatistics: Statistics on the bounces generated by emails sent on a given API Key.
@@ -425,7 +425,7 @@ type ContactslistManageManyContacts struct {
425425
}
426426

427427
type Job struct {
428-
JobID int64
428+
JobID int64
429429
}
430430

431431
// ContactslistImportList: Import the contacts of another contact list into the current list and apply the specified action on imported contacts.
@@ -642,6 +642,7 @@ type Message struct {
642642
MessageSize int64 `json:",omitempty"`
643643
SpamassassinScore float64 `json:",omitempty"`
644644
SpamassRules string `json:",omitempty"`
645+
Subject string `json:",omitempty"`
645646
StateID int64 `json:",omitempty"`
646647
StatePermanent bool `json:",omitempty"`
647648
Status string `json:",omitempty"`

0 commit comments

Comments
 (0)