Versions in this module Expand all Collapse all v4 v4.2.2 Sep 22, 2020 Changes in this version + const ClientBrowser + const ClientEmail + const ClientLibrary + const ClientMobileBrowser + const ClientOther + const ClientRobot + const ClientUnknown + const DeviceBrowser + const DeviceEmail + const DeviceMobileBrowser + const DeviceOther + const DeviceUnknown + const EventAccepted + const EventClicked + const EventComplained + const EventDelivered + const EventDropped + const EventFailed + const EventListMemberUploadError + const EventListMemberUploaded + const EventListUploaded + const EventOpened + const EventRejected + const EventStored + const EventUnsubscribed + const MethodHTTP + const MethodSMTP + const MethodUnknown + const ReasonBlacklisted + const ReasonBounce + const ReasonESPBlock + const ReasonGeneric + const ReasonGreylisted + const ReasonHardFail + const ReasonOld + const ReasonSuppressBounce + const ReasonSuppressComplaint + const ReasonSuppressUnsubscribe + const ReasonUnknown + const SeverityInternal + const SeverityPermanent + const SeverityTemporary + const SeverityUnknown + const TransportHTTP + const TransportSMTP + type Accepted struct + Campaigns []Campaign + Envelope Envelope + Flags Flags + Message Message + Method string + OriginatingIP string + Recipient string + RecipientDomain string + Storage Storage + Tags []string + UserVariables interface{} + func (v *Accepted) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Accepted) UnmarshalJSON(data []byte) error + func (v Accepted) MarshalEasyJSON(w *jwriter.Writer) + func (v Accepted) MarshalJSON() ([]byte, error) + type Attachment struct + ContentType string + FileName string + Size int + func (v *Attachment) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Attachment) UnmarshalJSON(data []byte) error + func (v Attachment) MarshalEasyJSON(w *jwriter.Writer) + func (v Attachment) MarshalJSON() ([]byte, error) + type Campaign struct + ID string + Name string + func (v *Campaign) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Campaign) UnmarshalJSON(data []byte) error + func (v Campaign) MarshalEasyJSON(w *jwriter.Writer) + func (v Campaign) MarshalJSON() ([]byte, error) + type Clicked struct + Campaigns []Campaign + ClientInfo ClientInfo + GeoLocation GeoLocation + IP string + MailingList MailingList + Message Message + Recipient string + RecipientDomain string + Tags []string + Url string + UserVariables interface{} + func (v *Clicked) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Clicked) UnmarshalJSON(data []byte) error + func (v Clicked) MarshalEasyJSON(w *jwriter.Writer) + func (v Clicked) MarshalJSON() ([]byte, error) + type ClientInfo struct + AcceptLanguage string + ClientName string + ClientOS string + ClientType string + DeviceType string + IP string + UserAgent string + func (v *ClientInfo) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ClientInfo) UnmarshalJSON(data []byte) error + func (v ClientInfo) MarshalEasyJSON(w *jwriter.Writer) + func (v ClientInfo) MarshalJSON() ([]byte, error) + type Complained struct + Campaigns []Campaign + Message Message + Recipient string + Tags []string + UserVariables interface{} + func (v *Complained) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Complained) UnmarshalJSON(data []byte) error + func (v Complained) MarshalEasyJSON(w *jwriter.Writer) + func (v Complained) MarshalJSON() ([]byte, error) + type Delivered struct + Campaigns []Campaign + DeliveryStatus DeliveryStatus + Envelope Envelope + Flags Flags + Message Message + Method string + Recipient string + RecipientDomain string + Storage Storage + Tags []string + UserVariables interface{} + func (v *Delivered) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Delivered) UnmarshalJSON(data []byte) error + func (v Delivered) MarshalEasyJSON(w *jwriter.Writer) + func (v Delivered) MarshalJSON() ([]byte, error) + type DeliveryStatus struct + AttemptNo int + Code int + Description string + Message string + SessionSeconds float64 + func (v *DeliveryStatus) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DeliveryStatus) UnmarshalJSON(data []byte) error + func (v DeliveryStatus) MarshalEasyJSON(w *jwriter.Writer) + func (v DeliveryStatus) MarshalJSON() ([]byte, error) + type Envelope struct + MailFrom string + Sender string + SendingHost string + SendingIP string + Targets string + Transport string + func (v *Envelope) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Envelope) UnmarshalJSON(data []byte) error + func (v Envelope) MarshalEasyJSON(w *jwriter.Writer) + func (v Envelope) MarshalJSON() ([]byte, error) + type EventName struct + Name string + func (e *EventName) GetName() string + func (e *EventName) SetName(name string) + func (v *EventName) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventName) UnmarshalJSON(data []byte) error + func (v EventName) MarshalEasyJSON(w *jwriter.Writer) + func (v EventName) MarshalJSON() ([]byte, error) + type Failed struct + Campaigns []Campaign + DeliveryStatus DeliveryStatus + Envelope Envelope + Flags Flags + Message Message + Method string + Reason string + Recipient string + RecipientDomain string + Severity string + Storage Storage + Tags []string + UserVariables interface{} + func (v *Failed) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Failed) UnmarshalJSON(data []byte) error + func (v Failed) MarshalEasyJSON(w *jwriter.Writer) + func (v Failed) MarshalJSON() ([]byte, error) + type Flags struct + IsAuthenticated bool + IsBig bool + IsDelayedBounce bool + IsSystemTest bool + IsTestMode bool + func (v *Flags) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Flags) UnmarshalJSON(data []byte) error + func (v Flags) MarshalEasyJSON(w *jwriter.Writer) + func (v Flags) MarshalJSON() ([]byte, error) + type Generic struct + ID string + Timestamp float64 + func (g *Generic) GetID() string + func (g *Generic) GetTimestamp() time.Time + func (g *Generic) SetID(id string) + func (g *Generic) SetTimestamp(t time.Time) + func (v *Generic) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Generic) UnmarshalJSON(data []byte) error + func (v Generic) MarshalEasyJSON(w *jwriter.Writer) + func (v Generic) MarshalJSON() ([]byte, error) + type GeoLocation struct + City string + Country string + Region string + func (v *GeoLocation) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GeoLocation) UnmarshalJSON(data []byte) error + func (v GeoLocation) MarshalEasyJSON(w *jwriter.Writer) + func (v GeoLocation) MarshalJSON() ([]byte, error) + type ListMemberUploadError struct + Error MailingListError + Format string + MailingList MailingList + MemberDescription string + TaskID string + func (v *ListMemberUploadError) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ListMemberUploadError) UnmarshalJSON(data []byte) error + func (v ListMemberUploadError) MarshalEasyJSON(w *jwriter.Writer) + func (v ListMemberUploadError) MarshalJSON() ([]byte, error) + type ListMemberUploaded struct + MailingList MailingList + Member MailingListMember + TaskID string + func (v *ListMemberUploaded) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ListMemberUploaded) UnmarshalJSON(data []byte) error + func (v ListMemberUploaded) MarshalEasyJSON(w *jwriter.Writer) + func (v ListMemberUploaded) MarshalJSON() ([]byte, error) + type ListUploaded struct + FailedCount int + Format string + IsUpsert bool + MailingList MailingList + Member MailingListMember + Subscribed bool + TaskID string + UpsertedCount int + func (v *ListUploaded) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ListUploaded) UnmarshalJSON(data []byte) error + func (v ListUploaded) MarshalEasyJSON(w *jwriter.Writer) + func (v ListUploaded) MarshalJSON() ([]byte, error) + type MailingList struct + Address string + ListID string + SID string + func (v *MailingList) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *MailingList) UnmarshalJSON(data []byte) error + func (v MailingList) MarshalEasyJSON(w *jwriter.Writer) + func (v MailingList) MarshalJSON() ([]byte, error) + type MailingListError struct + Message string + func (v *MailingListError) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *MailingListError) UnmarshalJSON(data []byte) error + func (v MailingListError) MarshalEasyJSON(w *jwriter.Writer) + func (v MailingListError) MarshalJSON() ([]byte, error) + type MailingListMember struct + Address string + Name string + Subscribed bool + Vars []string + func (v *MailingListMember) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *MailingListMember) UnmarshalJSON(data []byte) error + func (v MailingListMember) MarshalEasyJSON(w *jwriter.Writer) + func (v MailingListMember) MarshalJSON() ([]byte, error) + type Message struct + Attachments []Attachment + Headers MessageHeaders + Recipients []string + Size int + func (v *Message) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Message) UnmarshalJSON(data []byte) error + func (v Message) MarshalEasyJSON(w *jwriter.Writer) + func (v Message) MarshalJSON() ([]byte, error) + type MessageHeaders struct + From string + MessageID string + Subject string + To string + func (v *MessageHeaders) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *MessageHeaders) UnmarshalJSON(data []byte) error + func (v MessageHeaders) MarshalEasyJSON(w *jwriter.Writer) + func (v MessageHeaders) MarshalJSON() ([]byte, error) + type Opened struct + Campaigns []Campaign + ClientInfo ClientInfo + GeoLocation GeoLocation + IP string + MailingList MailingList + Message Message + Recipient string + RecipientDomain string + Tags []string + UserVariables interface{} + func (v *Opened) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Opened) UnmarshalJSON(data []byte) error + func (v Opened) MarshalEasyJSON(w *jwriter.Writer) + func (v Opened) MarshalJSON() ([]byte, error) + type Paging struct + First string + Last string + Next string + Previous string + func (v *Paging) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Paging) UnmarshalJSON(data []byte) error + func (v Paging) MarshalEasyJSON(w *jwriter.Writer) + func (v Paging) MarshalJSON() ([]byte, error) + type RawJSON []byte + func (v *RawJSON) UnmarshalJSON(data []byte) error + type Rejected struct + Campaigns []Campaign + Flags Flags + Message Message + Reject struct{ ... } + Storage Storage + Tags []string + UserVariables interface{} + func (v *Rejected) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Rejected) UnmarshalJSON(data []byte) error + func (v Rejected) MarshalEasyJSON(w *jwriter.Writer) + func (v Rejected) MarshalJSON() ([]byte, error) + type Response struct + Items []RawJSON + Paging Paging + func (v *Response) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Response) UnmarshalJSON(data []byte) error + func (v Response) MarshalEasyJSON(w *jwriter.Writer) + func (v Response) MarshalJSON() ([]byte, error) + type Storage struct + Key string + URL string + func (v *Storage) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Storage) UnmarshalJSON(data []byte) error + func (v Storage) MarshalEasyJSON(w *jwriter.Writer) + func (v Storage) MarshalJSON() ([]byte, error) + type Stored struct + Campaigns []Campaign + Flags Flags + Message Message + Storage Storage + Tags []string + UserVariables interface{} + func (v *Stored) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Stored) UnmarshalJSON(data []byte) error + func (v Stored) MarshalEasyJSON(w *jwriter.Writer) + func (v Stored) MarshalJSON() ([]byte, error) + type Unsubscribed struct + Campaigns []Campaign + ClientInfo ClientInfo + GeoLocation GeoLocation + IP string + MailingList MailingList + Message Message + Recipient string + RecipientDomain string + Tags []string + UserVariables interface{} + func (v *Unsubscribed) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Unsubscribed) UnmarshalJSON(data []byte) error + func (v Unsubscribed) MarshalEasyJSON(w *jwriter.Writer) + func (v Unsubscribed) MarshalJSON() ([]byte, error)