models

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2018 License: MIT Imports: 6 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (
	// CreateAttributeTypeText captures enum value "text"
	CreateAttributeTypeText string = "text"
	// CreateAttributeTypeDate captures enum value "date"
	CreateAttributeTypeDate string = "date"
	// CreateAttributeTypeFloat captures enum value "float"
	CreateAttributeTypeFloat string = "float"
	// CreateAttributeTypeID captures enum value "id"
	CreateAttributeTypeID string = "id"
	// CreateAttributeTypeCategory captures enum value "category"
	CreateAttributeTypeCategory string = "category"
)
View Source
const (
	// CreateEmailCampaignTypeClassic captures enum value "classic"
	CreateEmailCampaignTypeClassic string = "classic"
	// CreateEmailCampaignTypeTrigger captures enum value "trigger"
	CreateEmailCampaignTypeTrigger string = "trigger"
)
View Source
const (
	// CreateWebhookTypeTransactional captures enum value "transactional"
	CreateWebhookTypeTransactional string = "transactional"
	// CreateWebhookTypeMarketing captures enum value "marketing"
	CreateWebhookTypeMarketing string = "marketing"
)
View Source
const (
	// EmailExportRecipientsRecipientsTypeAll captures enum value "all"
	EmailExportRecipientsRecipientsTypeAll string = "all"
	// EmailExportRecipientsRecipientsTypeNonClickers captures enum value "nonClickers"
	EmailExportRecipientsRecipientsTypeNonClickers string = "nonClickers"
	// EmailExportRecipientsRecipientsTypeNonOpeners captures enum value "nonOpeners"
	EmailExportRecipientsRecipientsTypeNonOpeners string = "nonOpeners"
	// EmailExportRecipientsRecipientsTypeClickers captures enum value "clickers"
	EmailExportRecipientsRecipientsTypeClickers string = "clickers"
	// EmailExportRecipientsRecipientsTypeOpeners captures enum value "openers"
	EmailExportRecipientsRecipientsTypeOpeners string = "openers"
	// EmailExportRecipientsRecipientsTypeSoftBounces captures enum value "softBounces"
	EmailExportRecipientsRecipientsTypeSoftBounces string = "softBounces"
	// EmailExportRecipientsRecipientsTypeHardBounces captures enum value "hardBounces"
	EmailExportRecipientsRecipientsTypeHardBounces string = "hardBounces"
	// EmailExportRecipientsRecipientsTypeUnsubscribed captures enum value "unsubscribed"
	EmailExportRecipientsRecipientsTypeUnsubscribed string = "unsubscribed"
)
View Source
const (
	// ErrorModelCodeInvalidParameter captures enum value "invalid_parameter"
	ErrorModelCodeInvalidParameter string = "invalid_parameter"
	// ErrorModelCodeMissingParameter captures enum value "missing_parameter"
	ErrorModelCodeMissingParameter string = "missing_parameter"
	// ErrorModelCodeOutOfRange captures enum value "out_of_range"
	ErrorModelCodeOutOfRange string = "out_of_range"
	// ErrorModelCodeCampaignProcessing captures enum value "campaign_processing"
	ErrorModelCodeCampaignProcessing string = "campaign_processing"
	// ErrorModelCodeCampaignSent captures enum value "campaign_sent"
	ErrorModelCodeCampaignSent string = "campaign_sent"
	// ErrorModelCodeDocumentNotFound captures enum value "document_not_found"
	ErrorModelCodeDocumentNotFound string = "document_not_found"
	// ErrorModelCodeResellerPermission captures enum value "reseller_permission"
	ErrorModelCodeResellerPermission string = "reseller_permission"
	// ErrorModelCodeNotEnoughCredits captures enum value "not_enough_credits"
	ErrorModelCodeNotEnoughCredits string = "not_enough_credits"
	// ErrorModelCodePermissionDenied captures enum value "permission_denied"
	ErrorModelCodePermissionDenied string = "permission_denied"
	// ErrorModelCodeDuplicateParameter captures enum value "duplicate_parameter"
	ErrorModelCodeDuplicateParameter string = "duplicate_parameter"
	// ErrorModelCodeDuplicateRequest captures enum value "duplicate_request"
	ErrorModelCodeDuplicateRequest string = "duplicate_request"
	// ErrorModelCodeMethodNotAllowed captures enum value "method_not_allowed"
	ErrorModelCodeMethodNotAllowed string = "method_not_allowed"
	// ErrorModelCodeUnauthorized captures enum value "unauthorized"
	ErrorModelCodeUnauthorized string = "unauthorized"
	// ErrorModelCodeAccountUnderValidation captures enum value "account_under_validation"
	ErrorModelCodeAccountUnderValidation string = "account_under_validation"
	// ErrorModelCodeNotAcceptable captures enum value "not_acceptable"
	ErrorModelCodeNotAcceptable string = "not_acceptable"
)
View Source
const (
	// GetAccountAllOf1PlanItemsCreditsTypeUserLimit captures enum value "userLimit"
	GetAccountAllOf1PlanItemsCreditsTypeUserLimit string = "userLimit"
	// GetAccountAllOf1PlanItemsCreditsTypeSendLimit captures enum value "sendLimit"
	GetAccountAllOf1PlanItemsCreditsTypeSendLimit string = "sendLimit"
)
View Source
const (
	// GetAccountAllOf1PlanItemsTypePayAsYouGo captures enum value "payAsYouGo"
	GetAccountAllOf1PlanItemsTypePayAsYouGo string = "payAsYouGo"
	// GetAccountAllOf1PlanItemsTypeUnlimited captures enum value "unlimited"
	GetAccountAllOf1PlanItemsTypeUnlimited string = "unlimited"
	// GetAccountAllOf1PlanItemsTypeFree captures enum value "free"
	GetAccountAllOf1PlanItemsTypeFree string = "free"
	// GetAccountAllOf1PlanItemsTypeSubscription captures enum value "subscription"
	GetAccountAllOf1PlanItemsTypeSubscription string = "subscription"
	// GetAccountAllOf1PlanItemsTypeSMS captures enum value "sms"
	GetAccountAllOf1PlanItemsTypeSMS string = "sms"
	// GetAccountAllOf1PlanItemsTypeReseller captures enum value "reseller"
	GetAccountAllOf1PlanItemsTypeReseller string = "reseller"
)
View Source
const (
	// GetAttributesAttributesItemsCategoryNormal captures enum value "normal"
	GetAttributesAttributesItemsCategoryNormal string = "normal"
	// GetAttributesAttributesItemsCategoryTransactional captures enum value "transactional"
	GetAttributesAttributesItemsCategoryTransactional string = "transactional"
	// GetAttributesAttributesItemsCategoryCategory captures enum value "category"
	GetAttributesAttributesItemsCategoryCategory string = "category"
	// GetAttributesAttributesItemsCategoryCalculated captures enum value "calculated"
	GetAttributesAttributesItemsCategoryCalculated string = "calculated"
	// GetAttributesAttributesItemsCategoryGlobal captures enum value "global"
	GetAttributesAttributesItemsCategoryGlobal string = "global"
)
View Source
const (
	// GetAttributesAttributesItemsTypeText captures enum value "text"
	GetAttributesAttributesItemsTypeText string = "text"
	// GetAttributesAttributesItemsTypeDate captures enum value "date"
	GetAttributesAttributesItemsTypeDate string = "date"
	// GetAttributesAttributesItemsTypeFloat captures enum value "float"
	GetAttributesAttributesItemsTypeFloat string = "float"
	// GetAttributesAttributesItemsTypeID captures enum value "id"
	GetAttributesAttributesItemsTypeID string = "id"
)
View Source
const (
	// GetCampaignOverviewStatusDraft captures enum value "draft"
	GetCampaignOverviewStatusDraft string = "draft"
	// GetCampaignOverviewStatusSent captures enum value "sent"
	GetCampaignOverviewStatusSent string = "sent"
	// GetCampaignOverviewStatusArchive captures enum value "archive"
	GetCampaignOverviewStatusArchive string = "archive"
	// GetCampaignOverviewStatusQueued captures enum value "queued"
	GetCampaignOverviewStatusQueued string = "queued"
	// GetCampaignOverviewStatusSuspended captures enum value "suspended"
	GetCampaignOverviewStatusSuspended string = "suspended"
	// GetCampaignOverviewStatusInProcess captures enum value "in_process"
	GetCampaignOverviewStatusInProcess string = "in_process"
)
View Source
const (
	// GetCampaignOverviewTypeClassic captures enum value "classic"
	GetCampaignOverviewTypeClassic string = "classic"
	// GetCampaignOverviewTypeTrigger captures enum value "trigger"
	GetCampaignOverviewTypeTrigger string = "trigger"
)
View Source
const (
	// GetEmailEventReportEventsItemsEventBounces captures enum value "bounces"
	GetEmailEventReportEventsItemsEventBounces string = "bounces"
	// GetEmailEventReportEventsItemsEventHardBounces captures enum value "hardBounces"
	GetEmailEventReportEventsItemsEventHardBounces string = "hardBounces"
	// GetEmailEventReportEventsItemsEventSoftBounces captures enum value "softBounces"
	GetEmailEventReportEventsItemsEventSoftBounces string = "softBounces"
	// GetEmailEventReportEventsItemsEventDelivered captures enum value "delivered"
	GetEmailEventReportEventsItemsEventDelivered string = "delivered"
	// GetEmailEventReportEventsItemsEventSpam captures enum value "spam"
	GetEmailEventReportEventsItemsEventSpam string = "spam"
	// GetEmailEventReportEventsItemsEventRequests captures enum value "requests"
	GetEmailEventReportEventsItemsEventRequests string = "requests"
	// GetEmailEventReportEventsItemsEventOpened captures enum value "opened"
	GetEmailEventReportEventsItemsEventOpened string = "opened"
	// GetEmailEventReportEventsItemsEventClicks captures enum value "clicks"
	GetEmailEventReportEventsItemsEventClicks string = "clicks"
	// GetEmailEventReportEventsItemsEventInvalid captures enum value "invalid"
	GetEmailEventReportEventsItemsEventInvalid string = "invalid"
	// GetEmailEventReportEventsItemsEventDeferred captures enum value "deferred"
	GetEmailEventReportEventsItemsEventDeferred string = "deferred"
	// GetEmailEventReportEventsItemsEventBlocked captures enum value "blocked"
	GetEmailEventReportEventsItemsEventBlocked string = "blocked"
)
View Source
const (
	// GetProcessStatusQueued captures enum value "queued"
	GetProcessStatusQueued string = "queued"
	// GetProcessStatusInProcess captures enum value "in_process"
	GetProcessStatusInProcess string = "in_process"
	// GetProcessStatusCompleted captures enum value "completed"
	GetProcessStatusCompleted string = "completed"
)
View Source
const (
	// GetSMSCampaignOverviewStatusDraft captures enum value "draft"
	GetSMSCampaignOverviewStatusDraft string = "draft"
	// GetSMSCampaignOverviewStatusSent captures enum value "sent"
	GetSMSCampaignOverviewStatusSent string = "sent"
	// GetSMSCampaignOverviewStatusArchive captures enum value "archive"
	GetSMSCampaignOverviewStatusArchive string = "archive"
	// GetSMSCampaignOverviewStatusQueued captures enum value "queued"
	GetSMSCampaignOverviewStatusQueued string = "queued"
	// GetSMSCampaignOverviewStatusSuspended captures enum value "suspended"
	GetSMSCampaignOverviewStatusSuspended string = "suspended"
	// GetSMSCampaignOverviewStatusInProcess captures enum value "in_process"
	GetSMSCampaignOverviewStatusInProcess string = "in_process"
)
View Source
const (
	// GetSMSEventReportEventsItemsEventBounces captures enum value "bounces"
	GetSMSEventReportEventsItemsEventBounces string = "bounces"
	// GetSMSEventReportEventsItemsEventHardBounces captures enum value "hardBounces"
	GetSMSEventReportEventsItemsEventHardBounces string = "hardBounces"
	// GetSMSEventReportEventsItemsEventSoftBounces captures enum value "softBounces"
	GetSMSEventReportEventsItemsEventSoftBounces string = "softBounces"
	// GetSMSEventReportEventsItemsEventDelivered captures enum value "delivered"
	GetSMSEventReportEventsItemsEventDelivered string = "delivered"
	// GetSMSEventReportEventsItemsEventSent captures enum value "sent"
	GetSMSEventReportEventsItemsEventSent string = "sent"
	// GetSMSEventReportEventsItemsEventAccepted captures enum value "accepted"
	GetSMSEventReportEventsItemsEventAccepted string = "accepted"
	// GetSMSEventReportEventsItemsEventUnsubscription captures enum value "unsubscription"
	GetSMSEventReportEventsItemsEventUnsubscription string = "unsubscription"
	// GetSMSEventReportEventsItemsEventReplies captures enum value "replies"
	GetSMSEventReportEventsItemsEventReplies string = "replies"
	// GetSMSEventReportEventsItemsEventBlocked captures enum value "blocked"
	GetSMSEventReportEventsItemsEventBlocked string = "blocked"
)
View Source
const (
	// GetWebhookTypeMarketing captures enum value "marketing"
	GetWebhookTypeMarketing string = "marketing"
	// GetWebhookTypeTransac captures enum value "transac"
	GetWebhookTypeTransac string = "transac"
)
View Source
const (
	// RequestSMSRecipientExportRecipientsTypeAll captures enum value "all"
	RequestSMSRecipientExportRecipientsTypeAll string = "all"
	// RequestSMSRecipientExportRecipientsTypeDelivered captures enum value "delivered"
	RequestSMSRecipientExportRecipientsTypeDelivered string = "delivered"
	// RequestSMSRecipientExportRecipientsTypeAnswered captures enum value "answered"
	RequestSMSRecipientExportRecipientsTypeAnswered string = "answered"
	// RequestSMSRecipientExportRecipientsTypeSoftBounces captures enum value "softBounces"
	RequestSMSRecipientExportRecipientsTypeSoftBounces string = "softBounces"
	// RequestSMSRecipientExportRecipientsTypeHardBounces captures enum value "hardBounces"
	RequestSMSRecipientExportRecipientsTypeHardBounces string = "hardBounces"
	// RequestSMSRecipientExportRecipientsTypeUnsubscribed captures enum value "unsubscribed"
	RequestSMSRecipientExportRecipientsTypeUnsubscribed string = "unsubscribed"
)
View Source
const (
	// SendReportLanguageFr captures enum value "fr"
	SendReportLanguageFr string = "fr"
	// SendReportLanguageEs captures enum value "es"
	SendReportLanguageEs string = "es"
	// SendReportLanguagePt captures enum value "pt"
	SendReportLanguagePt string = "pt"
	// SendReportLanguageIt captures enum value "it"
	SendReportLanguageIt string = "it"
	// SendReportLanguageDe captures enum value "de"
	SendReportLanguageDe string = "de"
	// SendReportLanguageEn captures enum value "en"
	SendReportLanguageEn string = "en"
)
View Source
const (
	// SendReportEmailContentTypeText captures enum value "text"
	SendReportEmailContentTypeText string = "text"
	// SendReportEmailContentTypeHTML captures enum value "html"
	SendReportEmailContentTypeHTML string = "html"
)
View Source
const (
	// SendTransacSMSTypeTransactional captures enum value "transactional"
	SendTransacSMSTypeTransactional string = "transactional"
	// SendTransacSMSTypeMarketing captures enum value "marketing"
	SendTransacSMSTypeMarketing string = "marketing"
)
View Source
const (
	// UpdateCampaignStatusStatusSuspended captures enum value "suspended"
	UpdateCampaignStatusStatusSuspended string = "suspended"
	// UpdateCampaignStatusStatusArchive captures enum value "archive"
	UpdateCampaignStatusStatusArchive string = "archive"
	// UpdateCampaignStatusStatusDarchive captures enum value "darchive"
	UpdateCampaignStatusStatusDarchive string = "darchive"
	// UpdateCampaignStatusStatusSent captures enum value "sent"
	UpdateCampaignStatusStatusSent string = "sent"
	// UpdateCampaignStatusStatusQueued captures enum value "queued"
	UpdateCampaignStatusStatusQueued string = "queued"
	// UpdateCampaignStatusStatusReplicate captures enum value "replicate"
	UpdateCampaignStatusStatusReplicate string = "replicate"
	// UpdateCampaignStatusStatusReplicateTemplate captures enum value "replicateTemplate"
	UpdateCampaignStatusStatusReplicateTemplate string = "replicateTemplate"
	// UpdateCampaignStatusStatusDraft captures enum value "draft"
	UpdateCampaignStatusStatusDraft string = "draft"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AddCredits ¶

type AddCredits struct {

	// Email credits to be added to the child account
	Email int64 `json:"email,omitempty"`

	// SMS credits to be added to the child account
	SMS int64 `json:"sms,omitempty"`
}

AddCredits add credits swagger:model addCredits

func (*AddCredits) MarshalBinary ¶

func (m *AddCredits) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddCredits) UnmarshalBinary ¶

func (m *AddCredits) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddCredits) Validate ¶

func (m *AddCredits) Validate(formats strfmt.Registry) error

Validate validates this add credits

type AddRemoveContactToList ¶

type AddRemoveContactToList struct {

	// Emails to add or remove from a list
	Emails []strfmt.Email `json:"emails"`
}

AddRemoveContactToList add remove contact to list swagger:model addRemoveContactToList

func (*AddRemoveContactToList) MarshalBinary ¶

func (m *AddRemoveContactToList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddRemoveContactToList) UnmarshalBinary ¶

func (m *AddRemoveContactToList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddRemoveContactToList) Validate ¶

func (m *AddRemoveContactToList) Validate(formats strfmt.Registry) error

Validate validates this add remove contact to list

type CreateAttribute ¶

type CreateAttribute struct {

	// enumeration
	Enumeration CreateAttributeEnumeration `json:"enumeration"`

	// Type of the attribute. Use only if the attribute's category is normal, category or transactional ( type 'id' only available if the category is 'transactional' attribute & type 'category' only available if the category is 'category' attribute )
	Type string `json:"type,omitempty"`

	// Value of the attribute. Use only if the attribute's category is calculated or global
	Value string `json:"value,omitempty"`
}

CreateAttribute create attribute swagger:model createAttribute

func (*CreateAttribute) MarshalBinary ¶

func (m *CreateAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAttribute) UnmarshalBinary ¶

func (m *CreateAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAttribute) Validate ¶

func (m *CreateAttribute) Validate(formats strfmt.Registry) error

Validate validates this create attribute

type CreateAttributeEnumeration ¶ added in v1.2.0

type CreateAttributeEnumeration []*CreateAttributeEnumerationItems

CreateAttributeEnumeration Values that the attribute can take. Use only if the attribute's category is category swagger:model createAttributeEnumeration

func (CreateAttributeEnumeration) Validate ¶ added in v1.2.0

func (m CreateAttributeEnumeration) Validate(formats strfmt.Registry) error

Validate validates this create attribute enumeration

type CreateAttributeEnumerationItems ¶ added in v1.2.0

type CreateAttributeEnumerationItems struct {

	// Label of the value
	// Required: true
	Label *string `json:"label"`

	// Id of the value
	// Required: true
	Value *int64 `json:"value"`
}

CreateAttributeEnumerationItems create attribute enumeration items swagger:model createAttributeEnumerationItems

func (*CreateAttributeEnumerationItems) MarshalBinary ¶ added in v1.2.0

func (m *CreateAttributeEnumerationItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAttributeEnumerationItems) UnmarshalBinary ¶ added in v1.2.0

func (m *CreateAttributeEnumerationItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAttributeEnumerationItems) Validate ¶ added in v1.2.0

Validate validates this create attribute enumeration items

type CreateChild ¶

type CreateChild struct {

	// Company name to use to create the child account
	// Required: true
	CompanyName *string `json:"companyName"`

	// Email address to create the child account
	// Required: true
	Email *strfmt.Email `json:"email"`

	// First name to use to create the child account
	// Required: true
	FirstName *string `json:"firstName"`

	// Last name to use to create the child account
	// Required: true
	LastName *string `json:"lastName"`

	// Password for the child account to login
	// Required: true
	Password *strfmt.Password `json:"password"`
}

CreateChild create child swagger:model createChild

func (*CreateChild) MarshalBinary ¶

func (m *CreateChild) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateChild) UnmarshalBinary ¶

func (m *CreateChild) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateChild) Validate ¶

func (m *CreateChild) Validate(formats strfmt.Registry) error

Validate validates this create child

type CreateContact ¶

type CreateContact struct {

	// Values of the attributes to fill. The attributes must exist in you contact database
	Attributes interface{} `json:"attributes,omitempty"`

	// Email address of the user. Mandatory if `attributes.sms` is not passed
	Email strfmt.Email `json:"email,omitempty"`

	// Blacklist the contact for emails (emailBlacklisted = true)
	EmailBlacklisted bool `json:"emailBlacklisted,omitempty"`

	// Ids of the lists to add the contact to
	ListIds []int64 `json:"listIds"`

	// Blacklist the contact for SMS (smsBlacklisted = true)
	SMSBlacklisted bool `json:"smsBlacklisted,omitempty"`

	// SMTP forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )
	SMTPBlacklistSender []strfmt.Email `json:"smtpBlacklistSender"`

	// Facilitate to update existing contact in same request (updateEnabled = true)
	UpdateEnabled *bool `json:"updateEnabled,omitempty"`
}

CreateContact create contact swagger:model createContact

func (*CreateContact) MarshalBinary ¶

func (m *CreateContact) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateContact) UnmarshalBinary ¶

func (m *CreateContact) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateContact) Validate ¶

func (m *CreateContact) Validate(formats strfmt.Registry) error

Validate validates this create contact

type CreateEmailCampaign ¶

type CreateEmailCampaign struct {

	// Absolute url of the attachment (no local file). Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps
	AttachmentURL string `json:"attachmentUrl,omitempty"`

	// Footer of the email campaign
	Footer string `json:"footer,omitempty"`

	// Header of the email campaign
	Header string `json:"header,omitempty"`

	// Mandatory if htmlUrl is empty. Body of the message (HTML)
	HTMLContent string `json:"htmlContent,omitempty"`

	// Mandatory if htmlContent is empty. Url to the message (HTML)
	HTMLURL string `json:"htmlUrl,omitempty"`

	// Use true to embedded the images in your email. Final size of the email should be less than 4MB. Campaigns with embedded images can not be sent to more than 5000 contacts
	InlineImageActivation *bool `json:"inlineImageActivation,omitempty"`

	// Use true to enable the mirror link
	MirrorActive bool `json:"mirrorActive,omitempty"`

	// Name of the campaign
	// Required: true
	Name *string `json:"name"`

	// recipients
	Recipients *CreateEmailCampaignRecipients `json:"recipients,omitempty"`

	// For trigger campagins use false to make sure a contact receives the same campaign only once
	Recurring *bool `json:"recurring,omitempty"`

	// Email on which the campaign recipients will be able to reply to
	ReplyTo strfmt.Email `json:"replyTo,omitempty"`

	// Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
	ScheduledAt strfmt.DateTime `json:"scheduledAt,omitempty"`

	// sender
	// Required: true
	Sender *CreateEmailCampaignSender `json:"sender"`

	// Subject of the campaign
	// Required: true
	Subject *string `json:"subject"`

	// Tag of the campaign
	Tag string `json:"tag,omitempty"`

	// To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, use [FNAME] [LNAME]. These attributes must already exist in your contact database
	ToField string `json:"toField,omitempty"`

	// Type of the campaign
	// Required: true
	Type *string `json:"type"`

	// Customize the utm_campaign value. If this field is empty, the campaign name will be used. Only alphanumeric characters and spaces are allowed
	UtmCampaign string `json:"utmCampaign,omitempty"`
}

CreateEmailCampaign create email campaign swagger:model createEmailCampaign

func (*CreateEmailCampaign) MarshalBinary ¶

func (m *CreateEmailCampaign) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateEmailCampaign) UnmarshalBinary ¶

func (m *CreateEmailCampaign) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateEmailCampaign) Validate ¶

func (m *CreateEmailCampaign) Validate(formats strfmt.Registry) error

Validate validates this create email campaign

type CreateEmailCampaignRecipients ¶

type CreateEmailCampaignRecipients struct {

	// List ids to exclude from the campaign
	ExclusionListIds []int64 `json:"exclusionListIds"`

	// Mandatory if scheduledAt is not empty. List Ids to send the campaign to
	ListIds []int64 `json:"listIds"`
}

CreateEmailCampaignRecipients create email campaign recipients swagger:model createEmailCampaignRecipients

func (*CreateEmailCampaignRecipients) MarshalBinary ¶

func (m *CreateEmailCampaignRecipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateEmailCampaignRecipients) UnmarshalBinary ¶

func (m *CreateEmailCampaignRecipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateEmailCampaignRecipients) Validate ¶

func (m *CreateEmailCampaignRecipients) Validate(formats strfmt.Registry) error

Validate validates this create email campaign recipients

type CreateEmailCampaignSender ¶

type CreateEmailCampaignSender struct {

	// Sender email
	// Required: true
	Email *strfmt.Email `json:"email"`

	// Sender Name
	Name string `json:"name,omitempty"`
}

CreateEmailCampaignSender create email campaign sender swagger:model createEmailCampaignSender

func (*CreateEmailCampaignSender) MarshalBinary ¶

func (m *CreateEmailCampaignSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateEmailCampaignSender) UnmarshalBinary ¶

func (m *CreateEmailCampaignSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateEmailCampaignSender) Validate ¶

func (m *CreateEmailCampaignSender) Validate(formats strfmt.Registry) error

Validate validates this create email campaign sender

type CreateList ¶

type CreateList struct {

	// Id of the folder in which to create the list
	// Required: true
	FolderID *int64 `json:"folderId"`

	// Name of the list
	// Required: true
	Name *string `json:"name"`
}

CreateList create list swagger:model createList

func (*CreateList) MarshalBinary ¶

func (m *CreateList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateList) UnmarshalBinary ¶

func (m *CreateList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateList) Validate ¶

func (m *CreateList) Validate(formats strfmt.Registry) error

Validate validates this create list

type CreateModel ¶

type CreateModel struct {

	// ID of the object created
	// Required: true
	ID *int64 `json:"id"`
}

CreateModel create model swagger:model createModel

func (*CreateModel) MarshalBinary ¶

func (m *CreateModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateModel) UnmarshalBinary ¶

func (m *CreateModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateModel) Validate ¶

func (m *CreateModel) Validate(formats strfmt.Registry) error

Validate validates this create model

type CreateSMSCampaign ¶ added in v1.5.0

type CreateSMSCampaign struct {

	// Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS
	Content string `json:"content,omitempty"`

	// Name of the campaign
	// Required: true
	Name *string `json:"name"`

	// recipients
	Recipients *CreateSMSCampaignRecipients `json:"recipients,omitempty"`

	// UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
	ScheduledAt strfmt.DateTime `json:"scheduledAt,omitempty"`

	// Name of the sender. The number of characters is limited to 11
	// Required: true
	// Max Length: 11
	Sender *string `json:"sender"`
}

CreateSMSCampaign create Sms campaign swagger:model createSmsCampaign

func (*CreateSMSCampaign) MarshalBinary ¶ added in v1.5.0

func (m *CreateSMSCampaign) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSMSCampaign) UnmarshalBinary ¶ added in v1.5.0

func (m *CreateSMSCampaign) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSMSCampaign) Validate ¶ added in v1.5.0

func (m *CreateSMSCampaign) Validate(formats strfmt.Registry) error

Validate validates this create Sms campaign

type CreateSMSCampaignRecipients ¶ added in v1.5.0

type CreateSMSCampaignRecipients struct {

	// List ids which have to be excluded from a campaign
	// Required: true
	ExclusionListIds []int64 `json:"exclusionListIds"`

	// Lists Ids to send the campaign to. REQUIRED if scheduledAt is not empty
	// Required: true
	ListIds []int64 `json:"listIds"`
}

CreateSMSCampaignRecipients create Sms campaign recipients swagger:model createSmsCampaignRecipients

func (*CreateSMSCampaignRecipients) MarshalBinary ¶ added in v1.5.0

func (m *CreateSMSCampaignRecipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSMSCampaignRecipients) UnmarshalBinary ¶ added in v1.5.0

func (m *CreateSMSCampaignRecipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSMSCampaignRecipients) Validate ¶ added in v1.5.0

func (m *CreateSMSCampaignRecipients) Validate(formats strfmt.Registry) error

Validate validates this create Sms campaign recipients

type CreateSMTPEmail ¶

type CreateSMTPEmail struct {

	// Message ID of the SMTP Email sent
	// Required: true
	MessageID *string `json:"messageId"`
}

CreateSMTPEmail create Smtp email swagger:model createSmtpEmail

func (*CreateSMTPEmail) MarshalBinary ¶

func (m *CreateSMTPEmail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSMTPEmail) UnmarshalBinary ¶

func (m *CreateSMTPEmail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSMTPEmail) Validate ¶

func (m *CreateSMTPEmail) Validate(formats strfmt.Registry) error

Validate validates this create Smtp email

type CreateSMTPTemplate ¶

type CreateSMTPTemplate struct {

	// Absolute url of the attachment (no local file). Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps
	AttachmentURL string `json:"attachmentUrl,omitempty"`

	// Body of the message (HTML version). The field must have more than 10 characters. REQUIRED if htmlUrl is empty
	HTMLContent string `json:"htmlContent,omitempty"`

	// Url which contents the body of the email message. REQUIRED if htmlContent is empty
	HTMLURL string `json:"htmlUrl,omitempty"`

	// Status of template. isActive = true means template is active and isActive = false means template is inactive
	IsActive bool `json:"isActive,omitempty"`

	// Email on which campaign recipients will be able to reply to
	ReplyTo strfmt.Email `json:"replyTo,omitempty"`

	// sender
	// Required: true
	Sender *CreateSMTPTemplateSender `json:"sender"`

	// Subject of the template
	// Required: true
	Subject *string `json:"subject"`

	// Tag of the template
	Tag string `json:"tag,omitempty"`

	// Name of the template
	// Required: true
	TemplateName *string `json:"templateName"`

	// This is to personalize the «To» Field. If you want to include the first name and last name of your recipient, add [FNAME] [LNAME]. To use the contact attributes here, these must already exist in SendinBlue account
	ToField string `json:"toField,omitempty"`
}

CreateSMTPTemplate create Smtp template swagger:model createSmtpTemplate

func (*CreateSMTPTemplate) MarshalBinary ¶

func (m *CreateSMTPTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSMTPTemplate) UnmarshalBinary ¶

func (m *CreateSMTPTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSMTPTemplate) Validate ¶

func (m *CreateSMTPTemplate) Validate(formats strfmt.Registry) error

Validate validates this create Smtp template

type CreateSMTPTemplateSender ¶

type CreateSMTPTemplateSender struct {

	// Email of the sender
	// Required: true
	Email *strfmt.Email `json:"email"`

	// Name of the sender. If not passed, will be set to default
	Name string `json:"name,omitempty"`
}

CreateSMTPTemplateSender create Smtp template sender swagger:model createSmtpTemplateSender

func (*CreateSMTPTemplateSender) MarshalBinary ¶

func (m *CreateSMTPTemplateSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSMTPTemplateSender) UnmarshalBinary ¶

func (m *CreateSMTPTemplateSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSMTPTemplateSender) Validate ¶

func (m *CreateSMTPTemplateSender) Validate(formats strfmt.Registry) error

Validate validates this create Smtp template sender

type CreateSender ¶

type CreateSender struct {

	// From Email to use for the sender
	// Required: true
	Email *strfmt.Email `json:"email"`

	// ips
	Ips CreateSenderIps `json:"ips"`

	// From Name to use for the sender
	// Required: true
	Name *string `json:"name"`
}

CreateSender create sender swagger:model createSender

func (*CreateSender) MarshalBinary ¶

func (m *CreateSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSender) UnmarshalBinary ¶

func (m *CreateSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSender) Validate ¶

func (m *CreateSender) Validate(formats strfmt.Registry) error

Validate validates this create sender

type CreateSenderIps ¶

type CreateSenderIps []*CreateSenderIpsItems

CreateSenderIps Mandatory in case of dedicated IP, IPs to associate to the sender swagger:model createSenderIps

func (CreateSenderIps) Validate ¶

func (m CreateSenderIps) Validate(formats strfmt.Registry) error

Validate validates this create sender ips

type CreateSenderIpsItems ¶

type CreateSenderIpsItems struct {

	// Domain of the IP
	// Required: true
	Domain *string `json:"domain"`

	// Dedicated IP available in your account
	// Required: true
	IP *string `json:"ip"`

	// Weight to apply to the IP. Sum of all IP weights must be 100. Should be passed for either ALL or NONE of the IPs. If it's not passed, the sending will be equally balanced on all IPs.
	// Maximum: 100
	// Minimum: 1
	Weight int64 `json:"weight,omitempty"`
}

CreateSenderIpsItems create sender ips items swagger:model createSenderIpsItems

func (*CreateSenderIpsItems) MarshalBinary ¶

func (m *CreateSenderIpsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSenderIpsItems) UnmarshalBinary ¶

func (m *CreateSenderIpsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSenderIpsItems) Validate ¶

func (m *CreateSenderIpsItems) Validate(formats strfmt.Registry) error

Validate validates this create sender ips items

type CreateSenderModel ¶

type CreateSenderModel struct {

	// Status of DKIM configuration for the sender (true = DKIM not well configured, false = DKIM well configured)
	DkimError bool `json:"dkimError,omitempty"`

	// ID of the Sender created
	// Required: true
	ID *int64 `json:"id"`

	// Status of SPF configuration for the sender (true = SPF not well configured, false = SPF well configured)
	SpfError bool `json:"spfError,omitempty"`
}

CreateSenderModel create sender model swagger:model createSenderModel

func (*CreateSenderModel) MarshalBinary ¶

func (m *CreateSenderModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSenderModel) UnmarshalBinary ¶

func (m *CreateSenderModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSenderModel) Validate ¶

func (m *CreateSenderModel) Validate(formats strfmt.Registry) error

Validate validates this create sender model

type CreateUpdateFolder ¶

type CreateUpdateFolder struct {

	// Name of the folder
	Name string `json:"name,omitempty"`
}

CreateUpdateFolder create update folder swagger:model createUpdateFolder

func (*CreateUpdateFolder) MarshalBinary ¶

func (m *CreateUpdateFolder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUpdateFolder) UnmarshalBinary ¶

func (m *CreateUpdateFolder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUpdateFolder) Validate ¶

func (m *CreateUpdateFolder) Validate(formats strfmt.Registry) error

Validate validates this create update folder

type CreateWebhook ¶

type CreateWebhook struct {

	// Description of the webhook
	Description string `json:"description,omitempty"`

	// Events triggering the webhook. Possible values for Transactional type webhook – request, delivered, hardBounce, softBounce, blocked, spam, invalid, deferred, click, opened, uniqueOpened and unsubscribed and possible values for Marketing type webhook – spam, opened, click, hardBounce, softBounce, unsubscribed, listAddition & delivered
	Events []string `json:"events"`

	// Type of the webhook
	Type *string `json:"type,omitempty"`

	// URL of the webhook
	// Required: true
	URL *string `json:"url"`
}

CreateWebhook create webhook swagger:model createWebhook

func (*CreateWebhook) MarshalBinary ¶

func (m *CreateWebhook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWebhook) UnmarshalBinary ¶

func (m *CreateWebhook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWebhook) Validate ¶

func (m *CreateWebhook) Validate(formats strfmt.Registry) error

Validate validates this create webhook

type CreatedProcessID ¶

type CreatedProcessID struct {

	// Id of the process created
	// Required: true
	ProcessID *int64 `json:"processId"`
}

CreatedProcessID created process Id swagger:model createdProcessId

func (*CreatedProcessID) MarshalBinary ¶

func (m *CreatedProcessID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatedProcessID) UnmarshalBinary ¶

func (m *CreatedProcessID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatedProcessID) Validate ¶

func (m *CreatedProcessID) Validate(formats strfmt.Registry) error

Validate validates this created process Id

type DeleteHardbounces ¶

type DeleteHardbounces struct {

	// Target a specific email address
	ContactEmail strfmt.Email `json:"contactEmail,omitempty"`

	// Ending date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be greater than equal to startDate
	EndDate strfmt.Date `json:"endDate,omitempty"`

	// Starting date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be lower than equal to endDate
	StartDate strfmt.Date `json:"startDate,omitempty"`
}

DeleteHardbounces delete hardbounces swagger:model deleteHardbounces

func (*DeleteHardbounces) MarshalBinary ¶

func (m *DeleteHardbounces) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteHardbounces) UnmarshalBinary ¶

func (m *DeleteHardbounces) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteHardbounces) Validate ¶

func (m *DeleteHardbounces) Validate(formats strfmt.Registry) error

Validate validates this delete hardbounces

type EmailExportRecipients ¶

type EmailExportRecipients struct {

	// Webhook called once the export process is finished
	NotifyURL string `json:"notifyURL,omitempty"`

	// Type of recipients to export for a campaign
	// Required: true
	RecipientsType *string `json:"recipientsType"`
}

EmailExportRecipients email export recipients swagger:model emailExportRecipients

func (*EmailExportRecipients) MarshalBinary ¶

func (m *EmailExportRecipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailExportRecipients) UnmarshalBinary ¶

func (m *EmailExportRecipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailExportRecipients) Validate ¶

func (m *EmailExportRecipients) Validate(formats strfmt.Registry) error

Validate validates this email export recipients

type ErrorModel ¶

type ErrorModel struct {

	// Error code displayed in case of a failure
	// Required: true
	Code *string `json:"code"`

	// Readable message associated to the failure
	// Required: true
	Message *string `json:"message"`
}

ErrorModel error model swagger:model errorModel

func (*ErrorModel) MarshalBinary ¶

func (m *ErrorModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ErrorModel) UnmarshalBinary ¶

func (m *ErrorModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ErrorModel) Validate ¶

func (m *ErrorModel) Validate(formats strfmt.Registry) error

Validate validates this error model

type GetAccount ¶

type GetAccount struct {
	GetExtendedClient

	GetAccountAllOf1
}

GetAccount get account swagger:model getAccount

func (*GetAccount) MarshalBinary ¶

func (m *GetAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetAccount) MarshalJSON ¶

func (m GetAccount) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetAccount) UnmarshalBinary ¶

func (m *GetAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccount) UnmarshalJSON ¶

func (m *GetAccount) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetAccount) Validate ¶

func (m *GetAccount) Validate(formats strfmt.Registry) error

Validate validates this get account

type GetAccountAllOf1 ¶

type GetAccountAllOf1 struct {

	// marketing automation
	MarketingAutomation *GetAccountAllOf1MarketingAutomation `json:"marketingAutomation,omitempty"`

	// plan
	// Required: true
	Plan GetAccountAllOf1Plan `json:"plan"`

	// relay
	// Required: true
	Relay *GetAccountAllOf1Relay `json:"relay"`
}

GetAccountAllOf1 get account all of1 swagger:model getAccountAllOf1

func (*GetAccountAllOf1) MarshalBinary ¶

func (m *GetAccountAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccountAllOf1) UnmarshalBinary ¶

func (m *GetAccountAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccountAllOf1) Validate ¶

func (m *GetAccountAllOf1) Validate(formats strfmt.Registry) error

Validate validates this get account all of1

type GetAccountAllOf1MarketingAutomation ¶

type GetAccountAllOf1MarketingAutomation struct {

	// Status of Marketing Automation Plateform activation for your account (true=enabled, false=disabled)
	// Required: true
	Enabled *bool `json:"enabled"`

	// Marketing Automation Tracker ID
	Key string `json:"key,omitempty"`
}

GetAccountAllOf1MarketingAutomation get account all of1 marketing automation swagger:model getAccountAllOf1MarketingAutomation

func (*GetAccountAllOf1MarketingAutomation) MarshalBinary ¶

func (m *GetAccountAllOf1MarketingAutomation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccountAllOf1MarketingAutomation) UnmarshalBinary ¶

func (m *GetAccountAllOf1MarketingAutomation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccountAllOf1MarketingAutomation) Validate ¶

Validate validates this get account all of1 marketing automation

type GetAccountAllOf1Plan ¶

type GetAccountAllOf1Plan []*GetAccountAllOf1PlanItems

GetAccountAllOf1Plan Information about your plans and credits swagger:model getAccountAllOf1Plan

func (GetAccountAllOf1Plan) Validate ¶

func (m GetAccountAllOf1Plan) Validate(formats strfmt.Registry) error

Validate validates this get account all of1 plan

type GetAccountAllOf1PlanItems ¶

type GetAccountAllOf1PlanItems struct {

	// Remaining credits of the user. This can either be "User Limit" or "Send Limit" depending on the plan.
	// Required: true
	Credits *float32 `json:"credits"`

	// This is the type of the credit, "User Limit" or "Send Limit" are two possible types of credit of a user. "User Limit" implies the total number of subscribers you can add to your account, and "Send Limit" implies the total number of emails you can send to the subscribers in your account.
	// Required: true
	CreditsType *string `json:"creditsType"`

	// Date of the period from which the plan will end (only available for "subscription", "unlimited" and "reseller" plan type)
	EndDate strfmt.Date `json:"endDate,omitempty"`

	// Date of the period from which the plan will start (only available for "subscription", "unlimited" and "reseller" plan type)
	StartDate strfmt.Date `json:"startDate,omitempty"`

	// Displays the plan type of the user
	// Required: true
	Type *string `json:"type"`
}

GetAccountAllOf1PlanItems get account all of1 plan items swagger:model getAccountAllOf1PlanItems

func (*GetAccountAllOf1PlanItems) MarshalBinary ¶

func (m *GetAccountAllOf1PlanItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccountAllOf1PlanItems) UnmarshalBinary ¶

func (m *GetAccountAllOf1PlanItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccountAllOf1PlanItems) Validate ¶

func (m *GetAccountAllOf1PlanItems) Validate(formats strfmt.Registry) error

Validate validates this get account all of1 plan items

type GetAccountAllOf1Relay ¶

type GetAccountAllOf1Relay struct {

	// data
	// Required: true
	Data *GetAccountAllOf1RelayData `json:"data"`

	// Status of your SMTP Account (true=Enabled, false=Disabled)
	// Required: true
	Enabled *bool `json:"enabled"`
}

GetAccountAllOf1Relay Information about your SMTP account swagger:model getAccountAllOf1Relay

func (*GetAccountAllOf1Relay) MarshalBinary ¶

func (m *GetAccountAllOf1Relay) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccountAllOf1Relay) UnmarshalBinary ¶

func (m *GetAccountAllOf1Relay) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccountAllOf1Relay) Validate ¶

func (m *GetAccountAllOf1Relay) Validate(formats strfmt.Registry) error

Validate validates this get account all of1 relay

type GetAccountAllOf1RelayData ¶

type GetAccountAllOf1RelayData struct {

	// Port used for SMTP Relay
	// Required: true
	Port *int64 `json:"port"`

	// URL of the SMTP Relay
	// Required: true
	Relay *string `json:"relay"`

	// Email to use as login on SMTP
	// Required: true
	UserName *strfmt.Email `json:"userName"`
}

GetAccountAllOf1RelayData Data regarding the SMTP account swagger:model getAccountAllOf1RelayData

func (*GetAccountAllOf1RelayData) MarshalBinary ¶

func (m *GetAccountAllOf1RelayData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccountAllOf1RelayData) UnmarshalBinary ¶

func (m *GetAccountAllOf1RelayData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccountAllOf1RelayData) Validate ¶

func (m *GetAccountAllOf1RelayData) Validate(formats strfmt.Registry) error

Validate validates this get account all of1 relay data

type GetAggregatedReport ¶

type GetAggregatedReport struct {

	// Number of blocked contact emails for the timeframe
	// Required: true
	Blocked *int64 `json:"blocked"`

	// Number of clicks for the timeframe
	// Required: true
	Clicks *int64 `json:"clicks"`

	// Number of delivered emails for the timeframe
	// Required: true
	Delivered *int64 `json:"delivered"`

	// Number of hardbounces for the timeframe
	// Required: true
	HardBounces *int64 `json:"hardBounces"`

	// Number of invalid emails for the timeframe
	// Required: true
	Invalid *int64 `json:"invalid"`

	// Number of openings for the timeframe
	// Required: true
	Opens *int64 `json:"opens"`

	// Time frame of the report
	// Required: true
	Range *string `json:"range"`

	// Number of requests for the timeframe
	// Required: true
	Requests *int64 `json:"requests"`

	// Number of softbounces for the timeframe
	// Required: true
	SoftBounces *int64 `json:"softBounces"`

	// Number of complaint (spam report) for the timeframe
	// Required: true
	SpamReports *int64 `json:"spamReports"`

	// Number of unique clicks for the timeframe
	// Required: true
	UniqueClicks *int64 `json:"uniqueClicks"`

	// Number of unique openings for the timeframe
	// Required: true
	UniqueOpens *int64 `json:"uniqueOpens"`
}

GetAggregatedReport get aggregated report swagger:model getAggregatedReport

func (*GetAggregatedReport) MarshalBinary ¶

func (m *GetAggregatedReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAggregatedReport) UnmarshalBinary ¶

func (m *GetAggregatedReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAggregatedReport) Validate ¶

func (m *GetAggregatedReport) Validate(formats strfmt.Registry) error

Validate validates this get aggregated report

type GetAttributes ¶

type GetAttributes struct {

	// attributes
	// Required: true
	Attributes GetAttributesAttributes `json:"attributes"`
}

GetAttributes get attributes swagger:model getAttributes

func (*GetAttributes) MarshalBinary ¶

func (m *GetAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAttributes) UnmarshalBinary ¶

func (m *GetAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAttributes) Validate ¶

func (m *GetAttributes) Validate(formats strfmt.Registry) error

Validate validates this get attributes

type GetAttributesAttributes ¶

type GetAttributesAttributes []*GetAttributesAttributesItems

GetAttributesAttributes Listing of available contact attributes in your account swagger:model getAttributesAttributes

func (GetAttributesAttributes) Validate ¶

func (m GetAttributesAttributes) Validate(formats strfmt.Registry) error

Validate validates this get attributes attributes

type GetAttributesAttributesItems ¶

type GetAttributesAttributesItems struct {

	// Calculated value formula
	CalculatedValue string `json:"calculatedValue,omitempty"`

	// Category of the attribute
	// Required: true
	Category *string `json:"category"`

	// enumeration
	Enumeration GetAttributesAttributesItemsEnumeration `json:"enumeration"`

	// Name of the attribute
	// Required: true
	Name *string `json:"name"`

	// Type of the attribute
	Type string `json:"type,omitempty"`
}

GetAttributesAttributesItems get attributes attributes items swagger:model getAttributesAttributesItems

func (*GetAttributesAttributesItems) MarshalBinary ¶

func (m *GetAttributesAttributesItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAttributesAttributesItems) UnmarshalBinary ¶

func (m *GetAttributesAttributesItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAttributesAttributesItems) Validate ¶

func (m *GetAttributesAttributesItems) Validate(formats strfmt.Registry) error

Validate validates this get attributes attributes items

type GetAttributesAttributesItemsEnumeration ¶

type GetAttributesAttributesItemsEnumeration []*GetAttributesAttributesItemsEnumerationItems

GetAttributesAttributesItemsEnumeration Parameter only available for "category" type attributes. swagger:model getAttributesAttributesItemsEnumeration

func (GetAttributesAttributesItemsEnumeration) Validate ¶

Validate validates this get attributes attributes items enumeration

type GetAttributesAttributesItemsEnumerationItems ¶

type GetAttributesAttributesItemsEnumerationItems struct {

	// Label of the "category" type attribute
	// Required: true
	Label *string `json:"label"`

	// ID of Value of the "category" type attribute
	// Required: true
	Value *int64 `json:"value"`
}

GetAttributesAttributesItemsEnumerationItems get attributes attributes items enumeration items swagger:model getAttributesAttributesItemsEnumerationItems

func (*GetAttributesAttributesItemsEnumerationItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetAttributesAttributesItemsEnumerationItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetAttributesAttributesItemsEnumerationItems) Validate ¶

Validate validates this get attributes attributes items enumeration items

type GetCampaignOverview ¶

type GetCampaignOverview struct {

	// ID of the campaign
	// Required: true
	ID *int64 `json:"id"`

	// Name of the campaign
	// Required: true
	Name *string `json:"name"`

	// UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)
	ScheduledAt strfmt.DateTime `json:"scheduledAt,omitempty"`

	// Status of the campaign
	// Required: true
	Status *string `json:"status"`

	// Subject of the campaign
	// Required: true
	Subject *string `json:"subject"`

	// Type of campaign
	// Required: true
	Type *string `json:"type"`
}

GetCampaignOverview get campaign overview swagger:model getCampaignOverview

func (*GetCampaignOverview) MarshalBinary ¶

func (m *GetCampaignOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCampaignOverview) UnmarshalBinary ¶

func (m *GetCampaignOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCampaignOverview) Validate ¶

func (m *GetCampaignOverview) Validate(formats strfmt.Registry) error

Validate validates this get campaign overview

type GetCampaignRecipients ¶

type GetCampaignRecipients struct {

	// exclusion lists
	// Required: true
	ExclusionLists []int64 `json:"exclusionLists"`

	// lists
	// Required: true
	Lists []int64 `json:"lists"`
}

GetCampaignRecipients get campaign recipients swagger:model getCampaignRecipients

func (*GetCampaignRecipients) MarshalBinary ¶

func (m *GetCampaignRecipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCampaignRecipients) UnmarshalBinary ¶

func (m *GetCampaignRecipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCampaignRecipients) Validate ¶

func (m *GetCampaignRecipients) Validate(formats strfmt.Registry) error

Validate validates this get campaign recipients

type GetCampaignStats ¶

type GetCampaignStats struct {

	// Number of clicks for the campaign
	// Required: true
	Clickers *int64 `json:"clickers"`

	// Number of complaints (Spam reports) for the campaign
	// Required: true
	Complaints *int64 `json:"complaints"`

	// Number of deferred emails for the campaign
	// Required: true
	Deferred *int64 `json:"deferred"`

	// Number of delivered emails for the campaign
	// Required: true
	Delivered *int64 `json:"delivered"`

	// Number of harbounce for the campaign
	// Required: true
	HardBounces *int64 `json:"hardBounces"`

	// List Id of email campaign (only in case of get email campaign(s))
	ListID int64 `json:"listId,omitempty"`

	// Number of sent emails for the campaign
	// Required: true
	Sent *int64 `json:"sent"`

	// Number of softbounce for the campaign
	// Required: true
	SoftBounces *int64 `json:"softBounces"`

	// Number of unique clicks for the campaign
	// Required: true
	UniqueClicks *int64 `json:"uniqueClicks"`

	// Number of unique openings for the campaign
	// Required: true
	UniqueViews *int64 `json:"uniqueViews"`

	// Number of unsubscription for the campaign
	// Required: true
	Unsubscriptions *int64 `json:"unsubscriptions"`

	// Number of openings for the campaign
	// Required: true
	Viewed *int64 `json:"viewed"`
}

GetCampaignStats get campaign stats swagger:model getCampaignStats

func (*GetCampaignStats) MarshalBinary ¶

func (m *GetCampaignStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetCampaignStats) UnmarshalBinary ¶

func (m *GetCampaignStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetCampaignStats) Validate ¶

func (m *GetCampaignStats) Validate(formats strfmt.Registry) error

Validate validates this get campaign stats

type GetChildInfo ¶

type GetChildInfo struct {
	GetClient

	GetChildInfoAllOf1
}

GetChildInfo get child info swagger:model getChildInfo

func (*GetChildInfo) MarshalBinary ¶

func (m *GetChildInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetChildInfo) MarshalJSON ¶

func (m GetChildInfo) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetChildInfo) UnmarshalBinary ¶

func (m *GetChildInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetChildInfo) UnmarshalJSON ¶

func (m *GetChildInfo) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetChildInfo) Validate ¶

func (m *GetChildInfo) Validate(formats strfmt.Registry) error

Validate validates this get child info

type GetChildInfoAllOf1 ¶

type GetChildInfoAllOf1 struct {

	// api keys
	APIKeys GetChildInfoAllOf1APIKeys `json:"apiKeys"`

	// credits
	Credits *GetChildInfoAllOf1Credits `json:"credits,omitempty"`

	// ips
	Ips GetChildInfoAllOf1Ips `json:"ips"`

	// The encrypted password of child account
	// Required: true
	Password *strfmt.Password `json:"password"`

	// statistics
	Statistics *GetChildInfoAllOf1Statistics `json:"statistics,omitempty"`
}

GetChildInfoAllOf1 get child info all of1 swagger:model getChildInfoAllOf1

func (*GetChildInfoAllOf1) MarshalBinary ¶

func (m *GetChildInfoAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetChildInfoAllOf1) UnmarshalBinary ¶

func (m *GetChildInfoAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetChildInfoAllOf1) Validate ¶

func (m *GetChildInfoAllOf1) Validate(formats strfmt.Registry) error

Validate validates this get child info all of1

type GetChildInfoAllOf1APIKeys ¶

type GetChildInfoAllOf1APIKeys []*GetChildInfoAllOf1APIKeysItems

GetChildInfoAllOf1APIKeys API Keys associated to child account swagger:model getChildInfoAllOf1ApiKeys

func (GetChildInfoAllOf1APIKeys) Validate ¶

func (m GetChildInfoAllOf1APIKeys) Validate(formats strfmt.Registry) error

Validate validates this get child info all of1 Api keys

type GetChildInfoAllOf1APIKeysItems ¶

type GetChildInfoAllOf1APIKeysItems struct {

	// API Key
	// Required: true
	Key *string `json:"key"`

	// Name of the key
	// Required: true
	Name *string `json:"name"`

	// Secret Key associated to the API Key (in case v1 Key is used only)
	Secret string `json:"secret,omitempty"`
}

GetChildInfoAllOf1APIKeysItems get child info all of1 Api keys items swagger:model getChildInfoAllOf1ApiKeysItems

func (*GetChildInfoAllOf1APIKeysItems) MarshalBinary ¶

func (m *GetChildInfoAllOf1APIKeysItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetChildInfoAllOf1APIKeysItems) UnmarshalBinary ¶

func (m *GetChildInfoAllOf1APIKeysItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetChildInfoAllOf1APIKeysItems) Validate ¶

func (m *GetChildInfoAllOf1APIKeysItems) Validate(formats strfmt.Registry) error

Validate validates this get child info all of1 Api keys items

type GetChildInfoAllOf1Credits ¶

type GetChildInfoAllOf1Credits struct {

	// Email credits available for your child
	EmailCredits int64 `json:"emailCredits,omitempty"`

	// SMS credits available for your child
	SMSCredits int64 `json:"smsCredits,omitempty"`
}

GetChildInfoAllOf1Credits Credits available for your child swagger:model getChildInfoAllOf1Credits

func (*GetChildInfoAllOf1Credits) MarshalBinary ¶

func (m *GetChildInfoAllOf1Credits) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetChildInfoAllOf1Credits) UnmarshalBinary ¶

func (m *GetChildInfoAllOf1Credits) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetChildInfoAllOf1Credits) Validate ¶

func (m *GetChildInfoAllOf1Credits) Validate(formats strfmt.Registry) error

Validate validates this get child info all of1 credits

type GetChildInfoAllOf1Ips ¶

type GetChildInfoAllOf1Ips []*GetChildInfoAllOf1IpsItems

GetChildInfoAllOf1Ips IP(s) associated to a child account user swagger:model getChildInfoAllOf1Ips

func (GetChildInfoAllOf1Ips) Validate ¶

func (m GetChildInfoAllOf1Ips) Validate(formats strfmt.Registry) error

Validate validates this get child info all of1 ips

type GetChildInfoAllOf1IpsItems ¶

type GetChildInfoAllOf1IpsItems struct {

	// ID of the IP
	// Required: true
	ID *int64 `json:"id"`

	// IP associated to the child account user
	// Required: true
	IP *string `json:"ip"`
}

GetChildInfoAllOf1IpsItems get child info all of1 ips items swagger:model getChildInfoAllOf1IpsItems

func (*GetChildInfoAllOf1IpsItems) MarshalBinary ¶

func (m *GetChildInfoAllOf1IpsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetChildInfoAllOf1IpsItems) UnmarshalBinary ¶

func (m *GetChildInfoAllOf1IpsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetChildInfoAllOf1IpsItems) Validate ¶

func (m *GetChildInfoAllOf1IpsItems) Validate(formats strfmt.Registry) error

Validate validates this get child info all of1 ips items

type GetChildInfoAllOf1Statistics ¶

type GetChildInfoAllOf1Statistics struct {

	// Overall emails sent for current month
	CurrentMonthTotalSent int64 `json:"currentMonthTotalSent,omitempty"`

	// Overall emails sent for the previous month
	PreviousMonthTotalSent int64 `json:"previousMonthTotalSent,omitempty"`

	// Overall emails sent for since the account exists
	TotalSent int64 `json:"totalSent,omitempty"`
}

GetChildInfoAllOf1Statistics Statistics about your child account activity swagger:model getChildInfoAllOf1Statistics

func (*GetChildInfoAllOf1Statistics) MarshalBinary ¶

func (m *GetChildInfoAllOf1Statistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetChildInfoAllOf1Statistics) UnmarshalBinary ¶

func (m *GetChildInfoAllOf1Statistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetChildInfoAllOf1Statistics) Validate ¶

func (m *GetChildInfoAllOf1Statistics) Validate(formats strfmt.Registry) error

Validate validates this get child info all of1 statistics

type GetChildrenList ¶

type GetChildrenList struct {

	// children
	Children GetChildrenListChildren `json:"children"`
}

GetChildrenList get children list swagger:model getChildrenList

func (*GetChildrenList) MarshalBinary ¶

func (m *GetChildrenList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetChildrenList) UnmarshalBinary ¶

func (m *GetChildrenList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetChildrenList) Validate ¶

func (m *GetChildrenList) Validate(formats strfmt.Registry) error

Validate validates this get children list

type GetChildrenListChildren ¶

type GetChildrenListChildren []*GetChildrenListChildrenItems

GetChildrenListChildren Your children's account information swagger:model getChildrenListChildren

func (GetChildrenListChildren) Validate ¶

func (m GetChildrenListChildren) Validate(formats strfmt.Registry) error

Validate validates this get children list children

type GetChildrenListChildrenItems ¶

type GetChildrenListChildrenItems struct {
	GetChildInfo

	GetChildrenListChildrenItemsAllOf1
}

GetChildrenListChildrenItems get children list children items swagger:model getChildrenListChildrenItems

func (*GetChildrenListChildrenItems) MarshalBinary ¶

func (m *GetChildrenListChildrenItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetChildrenListChildrenItems) MarshalJSON ¶

func (m GetChildrenListChildrenItems) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetChildrenListChildrenItems) UnmarshalBinary ¶

func (m *GetChildrenListChildrenItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetChildrenListChildrenItems) UnmarshalJSON ¶

func (m *GetChildrenListChildrenItems) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetChildrenListChildrenItems) Validate ¶

func (m *GetChildrenListChildrenItems) Validate(formats strfmt.Registry) error

Validate validates this get children list children items

type GetChildrenListChildrenItemsAllOf1 ¶

type GetChildrenListChildrenItemsAllOf1 struct {

	// ID of the child
	ID int64 `json:"id,omitempty"`
}

GetChildrenListChildrenItemsAllOf1 get children list children items all of1 swagger:model getChildrenListChildrenItemsAllOf1

func (*GetChildrenListChildrenItemsAllOf1) MarshalBinary ¶

func (m *GetChildrenListChildrenItemsAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetChildrenListChildrenItemsAllOf1) UnmarshalBinary ¶

func (m *GetChildrenListChildrenItemsAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetChildrenListChildrenItemsAllOf1) Validate ¶

Validate validates this get children list children items all of1

type GetClient ¶

type GetClient struct {

	// Name of the company
	// Required: true
	CompanyName *string `json:"companyName"`

	// Login Email
	// Required: true
	Email *strfmt.Email `json:"email"`

	// First Name
	// Required: true
	FirstName *string `json:"firstName"`

	// Last Name
	// Required: true
	LastName *string `json:"lastName"`
}

GetClient get client swagger:model getClient

func (*GetClient) MarshalBinary ¶

func (m *GetClient) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClient) UnmarshalBinary ¶

func (m *GetClient) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClient) Validate ¶

func (m *GetClient) Validate(formats strfmt.Registry) error

Validate validates this get client

type GetContactCampaignStats ¶

type GetContactCampaignStats struct {

	// clicked
	Clicked GetContactCampaignStatsClicked `json:"clicked"`

	// complaints
	Complaints GetContactCampaignStatsComplaints `json:"complaints"`

	// hard bounces
	HardBounces GetContactCampaignStatsHardBounces `json:"hardBounces"`

	// messages sent
	MessagesSent GetContactCampaignStatsMessagesSent `json:"messagesSent"`

	// opened
	Opened GetContactCampaignStatsOpened `json:"opened"`

	// soft bounces
	SoftBounces GetContactCampaignStatsSoftBounces `json:"softBounces"`

	// transac attributes
	TransacAttributes GetContactCampaignStatsTransacAttributes `json:"transacAttributes"`

	// unsubscriptions
	Unsubscriptions *GetContactCampaignStatsUnsubscriptions `json:"unsubscriptions,omitempty"`
}

GetContactCampaignStats Campaign Statistics for the contact swagger:model getContactCampaignStats

func (*GetContactCampaignStats) MarshalBinary ¶

func (m *GetContactCampaignStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContactCampaignStats) UnmarshalBinary ¶

func (m *GetContactCampaignStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactCampaignStats) Validate ¶

func (m *GetContactCampaignStats) Validate(formats strfmt.Registry) error

Validate validates this get contact campaign stats

type GetContactCampaignStatsClicked ¶

type GetContactCampaignStatsClicked []*GetContactCampaignStatsClickedItems

GetContactCampaignStatsClicked get contact campaign stats clicked swagger:model getContactCampaignStatsClicked

func (GetContactCampaignStatsClicked) Validate ¶

Validate validates this get contact campaign stats clicked

type GetContactCampaignStatsClickedItems ¶

type GetContactCampaignStatsClickedItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// links
	// Required: true
	Links GetContactCampaignStatsClickedItemsLinks `json:"links"`
}

GetContactCampaignStatsClickedItems get contact campaign stats clicked items swagger:model getContactCampaignStatsClickedItems

func (*GetContactCampaignStatsClickedItems) MarshalBinary ¶

func (m *GetContactCampaignStatsClickedItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContactCampaignStatsClickedItems) UnmarshalBinary ¶

func (m *GetContactCampaignStatsClickedItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsClickedItems) Validate ¶

Validate validates this get contact campaign stats clicked items

type GetContactCampaignStatsClickedItemsLinks []*GetContactCampaignStatsClickedItemsLinksItems

GetContactCampaignStatsClickedItemsLinks get contact campaign stats clicked items links swagger:model getContactCampaignStatsClickedItemsLinks

func (GetContactCampaignStatsClickedItemsLinks) Validate ¶

Validate validates this get contact campaign stats clicked items links

type GetContactCampaignStatsClickedItemsLinksItems ¶

type GetContactCampaignStatsClickedItemsLinksItems struct {

	// Number of clicks on this link for the campaign
	// Required: true
	Count *int64 `json:"count"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`

	// IP from which the user has clicked on the link
	// Required: true
	IP *string `json:"ip"`

	// URL of the clicked link
	// Required: true
	URL *string `json:"url"`
}

GetContactCampaignStatsClickedItemsLinksItems get contact campaign stats clicked items links items swagger:model getContactCampaignStatsClickedItemsLinksItems

func (*GetContactCampaignStatsClickedItemsLinksItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetContactCampaignStatsClickedItemsLinksItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsClickedItemsLinksItems) Validate ¶

Validate validates this get contact campaign stats clicked items links items

type GetContactCampaignStatsComplaints ¶

type GetContactCampaignStatsComplaints []*GetContactCampaignStatsComplaintsItems

GetContactCampaignStatsComplaints get contact campaign stats complaints swagger:model getContactCampaignStatsComplaints

func (GetContactCampaignStatsComplaints) Validate ¶

Validate validates this get contact campaign stats complaints

type GetContactCampaignStatsComplaintsItems ¶

type GetContactCampaignStatsComplaintsItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`
}

GetContactCampaignStatsComplaintsItems get contact campaign stats complaints items swagger:model getContactCampaignStatsComplaintsItems

func (*GetContactCampaignStatsComplaintsItems) MarshalBinary ¶

func (m *GetContactCampaignStatsComplaintsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContactCampaignStatsComplaintsItems) UnmarshalBinary ¶

func (m *GetContactCampaignStatsComplaintsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsComplaintsItems) Validate ¶

Validate validates this get contact campaign stats complaints items

type GetContactCampaignStatsHardBounces ¶

type GetContactCampaignStatsHardBounces []*GetContactCampaignStatsHardBouncesItems

GetContactCampaignStatsHardBounces get contact campaign stats hard bounces swagger:model getContactCampaignStatsHardBounces

func (GetContactCampaignStatsHardBounces) Validate ¶

Validate validates this get contact campaign stats hard bounces

type GetContactCampaignStatsHardBouncesItems ¶

type GetContactCampaignStatsHardBouncesItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`
}

GetContactCampaignStatsHardBouncesItems get contact campaign stats hard bounces items swagger:model getContactCampaignStatsHardBouncesItems

func (*GetContactCampaignStatsHardBouncesItems) MarshalBinary ¶

func (m *GetContactCampaignStatsHardBouncesItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContactCampaignStatsHardBouncesItems) UnmarshalBinary ¶

func (m *GetContactCampaignStatsHardBouncesItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsHardBouncesItems) Validate ¶

Validate validates this get contact campaign stats hard bounces items

type GetContactCampaignStatsMessagesSent ¶

type GetContactCampaignStatsMessagesSent []*GetContactCampaignStatsMessagesSentItems

GetContactCampaignStatsMessagesSent get contact campaign stats messages sent swagger:model getContactCampaignStatsMessagesSent

func (GetContactCampaignStatsMessagesSent) Validate ¶

Validate validates this get contact campaign stats messages sent

type GetContactCampaignStatsMessagesSentItems ¶

type GetContactCampaignStatsMessagesSentItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`
}

GetContactCampaignStatsMessagesSentItems get contact campaign stats messages sent items swagger:model getContactCampaignStatsMessagesSentItems

func (*GetContactCampaignStatsMessagesSentItems) MarshalBinary ¶

func (m *GetContactCampaignStatsMessagesSentItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContactCampaignStatsMessagesSentItems) UnmarshalBinary ¶

func (m *GetContactCampaignStatsMessagesSentItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsMessagesSentItems) Validate ¶

Validate validates this get contact campaign stats messages sent items

type GetContactCampaignStatsOpened ¶

type GetContactCampaignStatsOpened []*GetContactCampaignStatsOpenedItems

GetContactCampaignStatsOpened get contact campaign stats opened swagger:model getContactCampaignStatsOpened

func (GetContactCampaignStatsOpened) Validate ¶

func (m GetContactCampaignStatsOpened) Validate(formats strfmt.Registry) error

Validate validates this get contact campaign stats opened

type GetContactCampaignStatsOpenedItems ¶

type GetContactCampaignStatsOpenedItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// Number of openings of the campaign
	// Required: true
	Count *int64 `json:"count"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`

	// IP from which the user has opened the campaign
	// Required: true
	IP *string `json:"ip"`
}

GetContactCampaignStatsOpenedItems get contact campaign stats opened items swagger:model getContactCampaignStatsOpenedItems

func (*GetContactCampaignStatsOpenedItems) MarshalBinary ¶

func (m *GetContactCampaignStatsOpenedItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContactCampaignStatsOpenedItems) UnmarshalBinary ¶

func (m *GetContactCampaignStatsOpenedItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsOpenedItems) Validate ¶

Validate validates this get contact campaign stats opened items

type GetContactCampaignStatsSoftBounces ¶

type GetContactCampaignStatsSoftBounces []*GetContactCampaignStatsSoftBouncesItems

GetContactCampaignStatsSoftBounces get contact campaign stats soft bounces swagger:model getContactCampaignStatsSoftBounces

func (GetContactCampaignStatsSoftBounces) Validate ¶

Validate validates this get contact campaign stats soft bounces

type GetContactCampaignStatsSoftBouncesItems ¶

type GetContactCampaignStatsSoftBouncesItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`
}

GetContactCampaignStatsSoftBouncesItems get contact campaign stats soft bounces items swagger:model getContactCampaignStatsSoftBouncesItems

func (*GetContactCampaignStatsSoftBouncesItems) MarshalBinary ¶

func (m *GetContactCampaignStatsSoftBouncesItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContactCampaignStatsSoftBouncesItems) UnmarshalBinary ¶

func (m *GetContactCampaignStatsSoftBouncesItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsSoftBouncesItems) Validate ¶

Validate validates this get contact campaign stats soft bounces items

type GetContactCampaignStatsTransacAttributes ¶

type GetContactCampaignStatsTransacAttributes []*GetContactCampaignStatsTransacAttributesItems

GetContactCampaignStatsTransacAttributes get contact campaign stats transac attributes swagger:model getContactCampaignStatsTransacAttributes

func (GetContactCampaignStatsTransacAttributes) Validate ¶

Validate validates this get contact campaign stats transac attributes

type GetContactCampaignStatsTransacAttributesItems ¶

type GetContactCampaignStatsTransacAttributesItems struct {

	// Date of the order
	// Required: true
	OrderDate *strfmt.Date `json:"orderDate"`

	// ID of the order
	// Required: true
	OrderID *int64 `json:"orderId"`

	// Price of the order
	// Required: true
	OrderPrice *float32 `json:"orderPrice"`
}

GetContactCampaignStatsTransacAttributesItems get contact campaign stats transac attributes items swagger:model getContactCampaignStatsTransacAttributesItems

func (*GetContactCampaignStatsTransacAttributesItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetContactCampaignStatsTransacAttributesItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsTransacAttributesItems) Validate ¶

Validate validates this get contact campaign stats transac attributes items

type GetContactCampaignStatsUnsubscriptions ¶

type GetContactCampaignStatsUnsubscriptions struct {

	// admin unsubscription
	// Required: true
	AdminUnsubscription GetContactCampaignStatsUnsubscriptionsAdminUnsubscription `json:"adminUnsubscription"`

	// user unsubscription
	// Required: true
	UserUnsubscription GetContactCampaignStatsUnsubscriptionsUserUnsubscription `json:"userUnsubscription"`
}

GetContactCampaignStatsUnsubscriptions get contact campaign stats unsubscriptions swagger:model getContactCampaignStatsUnsubscriptions

func (*GetContactCampaignStatsUnsubscriptions) MarshalBinary ¶

func (m *GetContactCampaignStatsUnsubscriptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContactCampaignStatsUnsubscriptions) UnmarshalBinary ¶

func (m *GetContactCampaignStatsUnsubscriptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsUnsubscriptions) Validate ¶

Validate validates this get contact campaign stats unsubscriptions

type GetContactCampaignStatsUnsubscriptionsAdminUnsubscription ¶

type GetContactCampaignStatsUnsubscriptionsAdminUnsubscription []*GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionItems

GetContactCampaignStatsUnsubscriptionsAdminUnsubscription Contact has been unsubscribed from the administrator swagger:model getContactCampaignStatsUnsubscriptionsAdminUnsubscription

func (GetContactCampaignStatsUnsubscriptionsAdminUnsubscription) Validate ¶

Validate validates this get contact campaign stats unsubscriptions admin unsubscription

type GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionItems ¶

type GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionItems struct {

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`

	// IP from which the user has been unsubscribed
	// Required: true
	IP *string `json:"ip"`
}

GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionItems get contact campaign stats unsubscriptions admin unsubscription items swagger:model getContactCampaignStatsUnsubscriptionsAdminUnsubscriptionItems

func (*GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionItems) Validate ¶

Validate validates this get contact campaign stats unsubscriptions admin unsubscription items

type GetContactCampaignStatsUnsubscriptionsUserUnsubscription ¶

type GetContactCampaignStatsUnsubscriptionsUserUnsubscription []*GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionItems

GetContactCampaignStatsUnsubscriptionsUserUnsubscription Contact has unsubscribed via the unsubscription link in the email swagger:model getContactCampaignStatsUnsubscriptionsUserUnsubscription

func (GetContactCampaignStatsUnsubscriptionsUserUnsubscription) Validate ¶

Validate validates this get contact campaign stats unsubscriptions user unsubscription

type GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionItems ¶

type GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`

	// IP from which the user has unsubscribed
	// Required: true
	IP *string `json:"ip"`
}

GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionItems get contact campaign stats unsubscriptions user unsubscription items swagger:model getContactCampaignStatsUnsubscriptionsUserUnsubscriptionItems

func (*GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionItems) Validate ¶

Validate validates this get contact campaign stats unsubscriptions user unsubscription items

type GetContactDetails ¶

type GetContactDetails struct {

	// attributes
	// Required: true
	Attributes map[string]string `json:"attributes"`

	// Email address of the contact for which you requested the details
	// Required: true
	Email *strfmt.Email `json:"email"`

	// Blacklist status for email campaigns (true=blacklisted, false=not blacklisted)
	// Required: true
	EmailBlacklisted *bool `json:"emailBlacklisted"`

	// ID of the contact for which you requested the details
	// Required: true
	ID *int64 `json:"id"`

	// list ids
	// Required: true
	ListIds []int64 `json:"listIds"`

	// list unsubscribed
	ListUnsubscribed []int64 `json:"listUnsubscribed"`

	// Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	ModifiedAt *strfmt.DateTime `json:"modifiedAt"`

	// Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted)
	// Required: true
	SMSBlacklisted *bool `json:"smsBlacklisted"`
}

GetContactDetails get contact details swagger:model getContactDetails

func (*GetContactDetails) MarshalBinary ¶

func (m *GetContactDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContactDetails) UnmarshalBinary ¶

func (m *GetContactDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactDetails) Validate ¶

func (m *GetContactDetails) Validate(formats strfmt.Registry) error

Validate validates this get contact details

type GetContacts ¶

type GetContacts struct {

	// contacts
	// Required: true
	Contacts GetContactsContacts `json:"contacts"`

	// Number of contacts
	// Required: true
	Count *int64 `json:"count"`
}

GetContacts get contacts swagger:model getContacts

func (*GetContacts) MarshalBinary ¶

func (m *GetContacts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetContacts) UnmarshalBinary ¶

func (m *GetContacts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContacts) Validate ¶

func (m *GetContacts) Validate(formats strfmt.Registry) error

Validate validates this get contacts

type GetContactsContacts ¶

type GetContactsContacts []*GetContactsContactsItems

GetContactsContacts get contacts contacts swagger:model getContactsContacts

func (GetContactsContacts) Validate ¶

func (m GetContactsContacts) Validate(formats strfmt.Registry) error

Validate validates this get contacts contacts

type GetContactsContactsItems ¶

type GetContactsContactsItems struct {
	GetContactDetails
}

GetContactsContactsItems get contacts contacts items swagger:model getContactsContactsItems

func (*GetContactsContactsItems) MarshalBinary ¶

func (m *GetContactsContactsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetContactsContactsItems) MarshalJSON ¶

func (m GetContactsContactsItems) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetContactsContactsItems) UnmarshalBinary ¶

func (m *GetContactsContactsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetContactsContactsItems) UnmarshalJSON ¶

func (m *GetContactsContactsItems) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetContactsContactsItems) Validate ¶

func (m *GetContactsContactsItems) Validate(formats strfmt.Registry) error

Validate validates this get contacts contacts items

type GetEmailCampaign ¶

type GetEmailCampaign struct {
	GetExtendedCampaignOverview

	// recipients
	// Required: true
	Recipients *GetEmailCampaignRecipients `json:"recipients"`

	// statistics
	// Required: true
	Statistics *GetEmailCampaignStatistics `json:"statistics"`
}

GetEmailCampaign get email campaign swagger:model getEmailCampaign

func (*GetEmailCampaign) MarshalBinary ¶

func (m *GetEmailCampaign) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetEmailCampaign) MarshalJSON ¶

func (m GetEmailCampaign) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetEmailCampaign) UnmarshalBinary ¶

func (m *GetEmailCampaign) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetEmailCampaign) UnmarshalJSON ¶

func (m *GetEmailCampaign) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetEmailCampaign) Validate ¶

func (m *GetEmailCampaign) Validate(formats strfmt.Registry) error

Validate validates this get email campaign

type GetEmailCampaignRecipients ¶

type GetEmailCampaignRecipients struct {
	GetCampaignRecipients
}

GetEmailCampaignRecipients get email campaign recipients swagger:model getEmailCampaignRecipients

func (*GetEmailCampaignRecipients) MarshalBinary ¶

func (m *GetEmailCampaignRecipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetEmailCampaignRecipients) MarshalJSON ¶

func (m GetEmailCampaignRecipients) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetEmailCampaignRecipients) UnmarshalBinary ¶

func (m *GetEmailCampaignRecipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetEmailCampaignRecipients) UnmarshalJSON ¶

func (m *GetEmailCampaignRecipients) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetEmailCampaignRecipients) Validate ¶

func (m *GetEmailCampaignRecipients) Validate(formats strfmt.Registry) error

Validate validates this get email campaign recipients

type GetEmailCampaignStatistics ¶

type GetEmailCampaignStatistics struct {
	GetExtendedCampaignStats
}

GetEmailCampaignStatistics get email campaign statistics swagger:model getEmailCampaignStatistics

func (*GetEmailCampaignStatistics) MarshalBinary ¶

func (m *GetEmailCampaignStatistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetEmailCampaignStatistics) MarshalJSON ¶

func (m GetEmailCampaignStatistics) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetEmailCampaignStatistics) UnmarshalBinary ¶

func (m *GetEmailCampaignStatistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetEmailCampaignStatistics) UnmarshalJSON ¶

func (m *GetEmailCampaignStatistics) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetEmailCampaignStatistics) Validate ¶

func (m *GetEmailCampaignStatistics) Validate(formats strfmt.Registry) error

Validate validates this get email campaign statistics

type GetEmailCampaigns ¶

type GetEmailCampaigns struct {

	// campaigns
	Campaigns GetEmailCampaignsCampaigns `json:"campaigns"`

	// Number of Email campaigns retrieved
	// Required: true
	Count *int64 `json:"count"`
}

GetEmailCampaigns get email campaigns swagger:model getEmailCampaigns

func (*GetEmailCampaigns) MarshalBinary ¶

func (m *GetEmailCampaigns) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetEmailCampaigns) UnmarshalBinary ¶

func (m *GetEmailCampaigns) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetEmailCampaigns) Validate ¶

func (m *GetEmailCampaigns) Validate(formats strfmt.Registry) error

Validate validates this get email campaigns

type GetEmailCampaignsCampaigns ¶

type GetEmailCampaignsCampaigns []*GetEmailCampaignsCampaignsItems

GetEmailCampaignsCampaigns get email campaigns campaigns swagger:model getEmailCampaignsCampaigns

func (GetEmailCampaignsCampaigns) Validate ¶

func (m GetEmailCampaignsCampaigns) Validate(formats strfmt.Registry) error

Validate validates this get email campaigns campaigns

type GetEmailCampaignsCampaignsItems ¶

type GetEmailCampaignsCampaignsItems struct {
	GetExtendedCampaignOverview

	GetEmailCampaignsCampaignsItemsAllOf1
}

GetEmailCampaignsCampaignsItems get email campaigns campaigns items swagger:model getEmailCampaignsCampaignsItems

func (*GetEmailCampaignsCampaignsItems) MarshalBinary ¶

func (m *GetEmailCampaignsCampaignsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetEmailCampaignsCampaignsItems) MarshalJSON ¶

func (m GetEmailCampaignsCampaignsItems) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetEmailCampaignsCampaignsItems) UnmarshalBinary ¶

func (m *GetEmailCampaignsCampaignsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetEmailCampaignsCampaignsItems) UnmarshalJSON ¶

func (m *GetEmailCampaignsCampaignsItems) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetEmailCampaignsCampaignsItems) Validate ¶

Validate validates this get email campaigns campaigns items

type GetEmailCampaignsCampaignsItemsAllOf1 ¶

type GetEmailCampaignsCampaignsItemsAllOf1 struct {

	// recipients
	// Required: true
	Recipients *GetEmailCampaignsCampaignsItemsAllOf1Recipients `json:"recipients"`

	// Link to share the campaign on social medias
	ShareLink string `json:"shareLink,omitempty"`

	// statistics
	// Required: true
	Statistics *GetEmailCampaignsCampaignsItemsAllOf1Statistics `json:"statistics"`
}

GetEmailCampaignsCampaignsItemsAllOf1 get email campaigns campaigns items all of1 swagger:model getEmailCampaignsCampaignsItemsAllOf1

func (*GetEmailCampaignsCampaignsItemsAllOf1) MarshalBinary ¶

func (m *GetEmailCampaignsCampaignsItemsAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetEmailCampaignsCampaignsItemsAllOf1) UnmarshalBinary ¶

func (m *GetEmailCampaignsCampaignsItemsAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetEmailCampaignsCampaignsItemsAllOf1) Validate ¶

Validate validates this get email campaigns campaigns items all of1

type GetEmailCampaignsCampaignsItemsAllOf1Recipients ¶

type GetEmailCampaignsCampaignsItemsAllOf1Recipients struct {
	GetCampaignRecipients
}

GetEmailCampaignsCampaignsItemsAllOf1Recipients get email campaigns campaigns items all of1 recipients swagger:model getEmailCampaignsCampaignsItemsAllOf1Recipients

func (*GetEmailCampaignsCampaignsItemsAllOf1Recipients) MarshalBinary ¶

MarshalBinary interface implementation

func (GetEmailCampaignsCampaignsItemsAllOf1Recipients) MarshalJSON ¶

MarshalJSON marshals this object to a JSON structure

func (*GetEmailCampaignsCampaignsItemsAllOf1Recipients) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetEmailCampaignsCampaignsItemsAllOf1Recipients) UnmarshalJSON ¶

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetEmailCampaignsCampaignsItemsAllOf1Recipients) Validate ¶

Validate validates this get email campaigns campaigns items all of1 recipients

type GetEmailCampaignsCampaignsItemsAllOf1Statistics ¶

type GetEmailCampaignsCampaignsItemsAllOf1Statistics struct {
	GetExtendedCampaignStats
}

GetEmailCampaignsCampaignsItemsAllOf1Statistics get email campaigns campaigns items all of1 statistics swagger:model getEmailCampaignsCampaignsItemsAllOf1Statistics

func (*GetEmailCampaignsCampaignsItemsAllOf1Statistics) MarshalBinary ¶

MarshalBinary interface implementation

func (GetEmailCampaignsCampaignsItemsAllOf1Statistics) MarshalJSON ¶

MarshalJSON marshals this object to a JSON structure

func (*GetEmailCampaignsCampaignsItemsAllOf1Statistics) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetEmailCampaignsCampaignsItemsAllOf1Statistics) UnmarshalJSON ¶

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetEmailCampaignsCampaignsItemsAllOf1Statistics) Validate ¶

Validate validates this get email campaigns campaigns items all of1 statistics

type GetEmailEventReport ¶

type GetEmailEventReport struct {

	// events
	Events GetEmailEventReportEvents `json:"events"`
}

GetEmailEventReport get email event report swagger:model getEmailEventReport

func (*GetEmailEventReport) MarshalBinary ¶

func (m *GetEmailEventReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetEmailEventReport) UnmarshalBinary ¶

func (m *GetEmailEventReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetEmailEventReport) Validate ¶

func (m *GetEmailEventReport) Validate(formats strfmt.Registry) error

Validate validates this get email event report

type GetEmailEventReportEvents ¶

type GetEmailEventReportEvents []*GetEmailEventReportEventsItems

GetEmailEventReportEvents get email event report events swagger:model getEmailEventReportEvents

func (GetEmailEventReportEvents) Validate ¶

func (m GetEmailEventReportEvents) Validate(formats strfmt.Registry) error

Validate validates this get email event report events

type GetEmailEventReportEventsItems ¶

type GetEmailEventReportEventsItems struct {

	// UTC date-time on which the event has been generated
	// Required: true
	Date *strfmt.DateTime `json:"date"`

	// Email address which generates the event
	// Required: true
	Email *strfmt.Email `json:"email"`

	// Event which occurred
	// Required: true
	Event *string `json:"event"`

	// Sender email from which the emails are sent
	// Required: true
	From *strfmt.Email `json:"from"`

	// IP from which the user has opened the email or clicked on the link (only available if the event is opened or clicks)
	IP string `json:"ip,omitempty"`

	// The link which is sent to the user (only available if the event is requests or opened or clicks)
	Link string `json:"link,omitempty"`

	// Message ID which generated the event
	// Required: true
	MessageID *string `json:"messageId"`

	// Reason of bounce (only available if the event is hardbounce or softbounce)
	Reason string `json:"reason,omitempty"`

	// Subject of the event
	Subject string `json:"subject,omitempty"`

	// Tag of the email which generated the event
	// Required: true
	Tag *string `json:"tag"`
}

GetEmailEventReportEventsItems get email event report events items swagger:model getEmailEventReportEventsItems

func (*GetEmailEventReportEventsItems) MarshalBinary ¶

func (m *GetEmailEventReportEventsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetEmailEventReportEventsItems) UnmarshalBinary ¶

func (m *GetEmailEventReportEventsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetEmailEventReportEventsItems) Validate ¶

func (m *GetEmailEventReportEventsItems) Validate(formats strfmt.Registry) error

Validate validates this get email event report events items

type GetExtendedCampaignOverview ¶

type GetExtendedCampaignOverview struct {
	GetCampaignOverview

	GetExtendedCampaignOverviewAllOf1
}

GetExtendedCampaignOverview get extended campaign overview swagger:model getExtendedCampaignOverview

func (*GetExtendedCampaignOverview) MarshalBinary ¶

func (m *GetExtendedCampaignOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetExtendedCampaignOverview) MarshalJSON ¶

func (m GetExtendedCampaignOverview) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetExtendedCampaignOverview) UnmarshalBinary ¶

func (m *GetExtendedCampaignOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedCampaignOverview) UnmarshalJSON ¶

func (m *GetExtendedCampaignOverview) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetExtendedCampaignOverview) Validate ¶

func (m *GetExtendedCampaignOverview) Validate(formats strfmt.Registry) error

Validate validates this get extended campaign overview

type GetExtendedCampaignOverviewAllOf1 ¶

type GetExtendedCampaignOverviewAllOf1 struct {

	// Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// Footer of the campaign
	// Required: true
	Footer *string `json:"footer"`

	// Header of the campaign
	// Required: true
	Header *string `json:"header"`

	// HTML content of the campaign
	// Required: true
	HTMLContent *string `json:"htmlContent"`

	// Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email.
	InlineImageActivation bool `json:"inlineImageActivation,omitempty"`

	// Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign
	MirrorActive bool `json:"mirrorActive,omitempty"`

	// UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	ModifiedAt *strfmt.DateTime `json:"modifiedAt"`

	// FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times
	Recurring bool `json:"recurring,omitempty"`

	// Email defined as the "Reply to" of the campaign
	// Required: true
	ReplyTo *strfmt.Email `json:"replyTo"`

	// sender
	// Required: true
	Sender *GetExtendedCampaignOverviewAllOf1Sender `json:"sender"`

	// Link to share the campaign on social medias
	ShareLink string `json:"shareLink,omitempty"`

	// Tag of the campaign
	// Required: true
	Tag *string `json:"tag"`

	// Retrieved the status of test email sending. (true=Test email has been sent  false=Test email has not been sent)
	// Required: true
	TestSent *bool `json:"testSent"`

	// Customisation of the "to" field of the campaign
	// Required: true
	ToField *string `json:"toField"`
}

GetExtendedCampaignOverviewAllOf1 get extended campaign overview all of1 swagger:model getExtendedCampaignOverviewAllOf1

func (*GetExtendedCampaignOverviewAllOf1) MarshalBinary ¶

func (m *GetExtendedCampaignOverviewAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetExtendedCampaignOverviewAllOf1) UnmarshalBinary ¶

func (m *GetExtendedCampaignOverviewAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedCampaignOverviewAllOf1) Validate ¶

Validate validates this get extended campaign overview all of1

type GetExtendedCampaignOverviewAllOf1Sender ¶

type GetExtendedCampaignOverviewAllOf1Sender struct {

	// Sender email of the campaign
	Email strfmt.Email `json:"email,omitempty"`

	// Sender name of the campaign
	Name string `json:"name,omitempty"`
}

GetExtendedCampaignOverviewAllOf1Sender get extended campaign overview all of1 sender swagger:model getExtendedCampaignOverviewAllOf1Sender

func (*GetExtendedCampaignOverviewAllOf1Sender) MarshalBinary ¶

func (m *GetExtendedCampaignOverviewAllOf1Sender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetExtendedCampaignOverviewAllOf1Sender) UnmarshalBinary ¶

func (m *GetExtendedCampaignOverviewAllOf1Sender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedCampaignOverviewAllOf1Sender) Validate ¶

Validate validates this get extended campaign overview all of1 sender

type GetExtendedCampaignStats ¶

type GetExtendedCampaignStats struct {

	// campaign stats
	// Required: true
	CampaignStats GetExtendedCampaignStatsCampaignStats `json:"campaignStats"`

	// links stats
	// Required: true
	LinksStats GetExtendedCampaignStatsLinksStats `json:"linksStats"`

	// Number of clicks on mirror link
	// Required: true
	MirrorClick *int64 `json:"mirrorClick"`

	// Number of remaning emails to send
	// Required: true
	Remaining *int64 `json:"remaining"`

	// stats by domain
	// Required: true
	StatsByDomain GetStatsByDomain `json:"statsByDomain"`
}

GetExtendedCampaignStats get extended campaign stats swagger:model getExtendedCampaignStats

func (*GetExtendedCampaignStats) MarshalBinary ¶

func (m *GetExtendedCampaignStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetExtendedCampaignStats) UnmarshalBinary ¶

func (m *GetExtendedCampaignStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedCampaignStats) Validate ¶

func (m *GetExtendedCampaignStats) Validate(formats strfmt.Registry) error

Validate validates this get extended campaign stats

type GetExtendedCampaignStatsCampaignStats ¶

type GetExtendedCampaignStatsCampaignStats []*GetExtendedCampaignStatsCampaignStatsItems

GetExtendedCampaignStatsCampaignStats get extended campaign stats campaign stats swagger:model getExtendedCampaignStatsCampaignStats

func (GetExtendedCampaignStatsCampaignStats) Validate ¶

Validate validates this get extended campaign stats campaign stats

type GetExtendedCampaignStatsCampaignStatsItems ¶

type GetExtendedCampaignStatsCampaignStatsItems struct {
	GetCampaignStats
}

GetExtendedCampaignStatsCampaignStatsItems get extended campaign stats campaign stats items swagger:model getExtendedCampaignStatsCampaignStatsItems

func (*GetExtendedCampaignStatsCampaignStatsItems) MarshalBinary ¶

func (m *GetExtendedCampaignStatsCampaignStatsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetExtendedCampaignStatsCampaignStatsItems) MarshalJSON ¶

MarshalJSON marshals this object to a JSON structure

func (*GetExtendedCampaignStatsCampaignStatsItems) UnmarshalBinary ¶

func (m *GetExtendedCampaignStatsCampaignStatsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedCampaignStatsCampaignStatsItems) UnmarshalJSON ¶

func (m *GetExtendedCampaignStatsCampaignStatsItems) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetExtendedCampaignStatsCampaignStatsItems) Validate ¶

Validate validates this get extended campaign stats campaign stats items

type GetExtendedCampaignStatsLinksStats ¶

type GetExtendedCampaignStatsLinksStats map[string]GetExtendedCampaignStatsLinksStatsAdditionalProperties

GetExtendedCampaignStatsLinksStats get extended campaign stats links stats swagger:model getExtendedCampaignStatsLinksStats

func (GetExtendedCampaignStatsLinksStats) Validate ¶

Validate validates this get extended campaign stats links stats

type GetExtendedCampaignStatsLinksStatsAdditionalProperties ¶

type GetExtendedCampaignStatsLinksStatsAdditionalProperties struct {

	// Number of clicks for the link
	// Required: true
	NbClick *int64 `json:"nbClick"`
}

GetExtendedCampaignStatsLinksStatsAdditionalProperties Statistics about the clicked links swagger:model getExtendedCampaignStatsLinksStatsAdditionalProperties

func (*GetExtendedCampaignStatsLinksStatsAdditionalProperties) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedCampaignStatsLinksStatsAdditionalProperties) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedCampaignStatsLinksStatsAdditionalProperties) Validate ¶

Validate validates this get extended campaign stats links stats additional properties

type GetExtendedClient ¶

type GetExtendedClient struct {
	GetClient

	GetExtendedClientAllOf1
}

GetExtendedClient get extended client swagger:model getExtendedClient

func (*GetExtendedClient) MarshalBinary ¶

func (m *GetExtendedClient) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetExtendedClient) MarshalJSON ¶

func (m GetExtendedClient) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetExtendedClient) UnmarshalBinary ¶

func (m *GetExtendedClient) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedClient) UnmarshalJSON ¶

func (m *GetExtendedClient) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetExtendedClient) Validate ¶

func (m *GetExtendedClient) Validate(formats strfmt.Registry) error

Validate validates this get extended client

type GetExtendedClientAllOf1 ¶

type GetExtendedClientAllOf1 struct {

	// address
	// Required: true
	Address *GetExtendedClientAllOf1Address `json:"address"`
}

GetExtendedClientAllOf1 get extended client all of1 swagger:model getExtendedClientAllOf1

func (*GetExtendedClientAllOf1) MarshalBinary ¶

func (m *GetExtendedClientAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetExtendedClientAllOf1) UnmarshalBinary ¶

func (m *GetExtendedClientAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedClientAllOf1) Validate ¶

func (m *GetExtendedClientAllOf1) Validate(formats strfmt.Registry) error

Validate validates this get extended client all of1

type GetExtendedClientAllOf1Address ¶

type GetExtendedClientAllOf1Address struct {

	// City information
	// Required: true
	City *string `json:"city"`

	// Country information
	// Required: true
	Country *string `json:"country"`

	// Street information
	// Required: true
	Street *string `json:"street"`

	// Zip Code information
	// Required: true
	ZipCode *string `json:"zipCode"`
}

GetExtendedClientAllOf1Address Address informations swagger:model getExtendedClientAllOf1Address

func (*GetExtendedClientAllOf1Address) MarshalBinary ¶

func (m *GetExtendedClientAllOf1Address) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetExtendedClientAllOf1Address) UnmarshalBinary ¶

func (m *GetExtendedClientAllOf1Address) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedClientAllOf1Address) Validate ¶

func (m *GetExtendedClientAllOf1Address) Validate(formats strfmt.Registry) error

Validate validates this get extended client all of1 address

type GetExtendedContactDetails ¶

type GetExtendedContactDetails struct {
	GetContactDetails

	GetExtendedContactDetailsAllOf1
}

GetExtendedContactDetails get extended contact details swagger:model getExtendedContactDetails

func (*GetExtendedContactDetails) MarshalBinary ¶

func (m *GetExtendedContactDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetExtendedContactDetails) MarshalJSON ¶

func (m GetExtendedContactDetails) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetExtendedContactDetails) UnmarshalBinary ¶

func (m *GetExtendedContactDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedContactDetails) UnmarshalJSON ¶

func (m *GetExtendedContactDetails) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetExtendedContactDetails) Validate ¶

func (m *GetExtendedContactDetails) Validate(formats strfmt.Registry) error

Validate validates this get extended contact details

type GetExtendedContactDetailsAllOf1 ¶

type GetExtendedContactDetailsAllOf1 struct {

	// statistics
	// Required: true
	Statistics *GetExtendedContactDetailsAllOf1Statistics `json:"statistics"`
}

GetExtendedContactDetailsAllOf1 get extended contact details all of1 swagger:model getExtendedContactDetailsAllOf1

func (*GetExtendedContactDetailsAllOf1) MarshalBinary ¶

func (m *GetExtendedContactDetailsAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1) UnmarshalBinary ¶

func (m *GetExtendedContactDetailsAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1) Validate ¶

Validate validates this get extended contact details all of1

type GetExtendedContactDetailsAllOf1Statistics ¶

type GetExtendedContactDetailsAllOf1Statistics struct {

	// clicked
	Clicked GetExtendedContactDetailsAllOf1StatisticsClicked `json:"clicked"`

	// complaints
	Complaints GetExtendedContactDetailsAllOf1StatisticsComplaints `json:"complaints"`

	// hard bounces
	HardBounces GetExtendedContactDetailsAllOf1StatisticsHardBounces `json:"hardBounces"`

	// messages sent
	MessagesSent GetExtendedContactDetailsAllOf1StatisticsMessagesSent `json:"messagesSent"`

	// opened
	Opened GetExtendedContactDetailsAllOf1StatisticsOpened `json:"opened"`

	// soft bounces
	SoftBounces GetExtendedContactDetailsAllOf1StatisticsSoftBounces `json:"softBounces"`

	// Listing of the transactional attributes for the contact
	TransacAttributes []interface{} `json:"transacAttributes"`

	// unsubscriptions
	Unsubscriptions *GetExtendedContactDetailsAllOf1StatisticsUnsubscriptions `json:"unsubscriptions,omitempty"`
}

GetExtendedContactDetailsAllOf1Statistics Campaign statistics of the contact swagger:model getExtendedContactDetailsAllOf1Statistics

func (*GetExtendedContactDetailsAllOf1Statistics) MarshalBinary ¶

func (m *GetExtendedContactDetailsAllOf1Statistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1Statistics) UnmarshalBinary ¶

func (m *GetExtendedContactDetailsAllOf1Statistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1Statistics) Validate ¶

Validate validates this get extended contact details all of1 statistics

type GetExtendedContactDetailsAllOf1StatisticsClicked ¶

type GetExtendedContactDetailsAllOf1StatisticsClicked []*GetExtendedContactDetailsAllOf1StatisticsClickedItems

GetExtendedContactDetailsAllOf1StatisticsClicked Listing of the clicks generated by the contact swagger:model getExtendedContactDetailsAllOf1StatisticsClicked

func (GetExtendedContactDetailsAllOf1StatisticsClicked) Validate ¶

Validate validates this get extended contact details all of1 statistics clicked

type GetExtendedContactDetailsAllOf1StatisticsClickedItems ¶

type GetExtendedContactDetailsAllOf1StatisticsClickedItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// links
	// Required: true
	Links GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinks `json:"links"`
}

GetExtendedContactDetailsAllOf1StatisticsClickedItems get extended contact details all of1 statistics clicked items swagger:model getExtendedContactDetailsAllOf1StatisticsClickedItems

func (*GetExtendedContactDetailsAllOf1StatisticsClickedItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsClickedItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsClickedItems) Validate ¶

Validate validates this get extended contact details all of1 statistics clicked items

type GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinks []*GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinksItems

GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinks Listing of the clicked links for the campaign swagger:model getExtendedContactDetailsAllOf1StatisticsClickedItemsLinks

func (GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinks) Validate ¶

Validate validates this get extended contact details all of1 statistics clicked items links

type GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinksItems ¶

type GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinksItems struct {

	// Number of clicks on this link for the campaign
	// Required: true
	Count *int64 `json:"count"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`

	// IP from which the user has clicked on the link
	// Required: true
	IP *string `json:"ip"`

	// URL of the clicked link
	// Required: true
	URL *string `json:"url"`
}

GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinksItems get extended contact details all of1 statistics clicked items links items swagger:model getExtendedContactDetailsAllOf1StatisticsClickedItemsLinksItems

func (*GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinksItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinksItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsClickedItemsLinksItems) Validate ¶

Validate validates this get extended contact details all of1 statistics clicked items links items

type GetExtendedContactDetailsAllOf1StatisticsComplaints ¶

type GetExtendedContactDetailsAllOf1StatisticsComplaints []*GetExtendedContactDetailsAllOf1StatisticsComplaintsItems

GetExtendedContactDetailsAllOf1StatisticsComplaints Listing of the complaints generated by the contact swagger:model getExtendedContactDetailsAllOf1StatisticsComplaints

func (GetExtendedContactDetailsAllOf1StatisticsComplaints) Validate ¶

Validate validates this get extended contact details all of1 statistics complaints

type GetExtendedContactDetailsAllOf1StatisticsComplaintsItems ¶

type GetExtendedContactDetailsAllOf1StatisticsComplaintsItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`
}

GetExtendedContactDetailsAllOf1StatisticsComplaintsItems get extended contact details all of1 statistics complaints items swagger:model getExtendedContactDetailsAllOf1StatisticsComplaintsItems

func (*GetExtendedContactDetailsAllOf1StatisticsComplaintsItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsComplaintsItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsComplaintsItems) Validate ¶

Validate validates this get extended contact details all of1 statistics complaints items

type GetExtendedContactDetailsAllOf1StatisticsHardBounces ¶

type GetExtendedContactDetailsAllOf1StatisticsHardBounces []*GetExtendedContactDetailsAllOf1StatisticsHardBouncesItems

GetExtendedContactDetailsAllOf1StatisticsHardBounces Listing of the hardbounes generated by the contact swagger:model getExtendedContactDetailsAllOf1StatisticsHardBounces

func (GetExtendedContactDetailsAllOf1StatisticsHardBounces) Validate ¶

Validate validates this get extended contact details all of1 statistics hard bounces

type GetExtendedContactDetailsAllOf1StatisticsHardBouncesItems ¶

type GetExtendedContactDetailsAllOf1StatisticsHardBouncesItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`
}

GetExtendedContactDetailsAllOf1StatisticsHardBouncesItems get extended contact details all of1 statistics hard bounces items swagger:model getExtendedContactDetailsAllOf1StatisticsHardBouncesItems

func (*GetExtendedContactDetailsAllOf1StatisticsHardBouncesItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsHardBouncesItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsHardBouncesItems) Validate ¶

Validate validates this get extended contact details all of1 statistics hard bounces items

type GetExtendedContactDetailsAllOf1StatisticsMessagesSent ¶

type GetExtendedContactDetailsAllOf1StatisticsMessagesSent []*GetExtendedContactDetailsAllOf1StatisticsMessagesSentItems

GetExtendedContactDetailsAllOf1StatisticsMessagesSent Listing of the sent campaign for the contact swagger:model getExtendedContactDetailsAllOf1StatisticsMessagesSent

func (GetExtendedContactDetailsAllOf1StatisticsMessagesSent) Validate ¶

Validate validates this get extended contact details all of1 statistics messages sent

type GetExtendedContactDetailsAllOf1StatisticsMessagesSentItems ¶

type GetExtendedContactDetailsAllOf1StatisticsMessagesSentItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`
}

GetExtendedContactDetailsAllOf1StatisticsMessagesSentItems get extended contact details all of1 statistics messages sent items swagger:model getExtendedContactDetailsAllOf1StatisticsMessagesSentItems

func (*GetExtendedContactDetailsAllOf1StatisticsMessagesSentItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsMessagesSentItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsMessagesSentItems) Validate ¶

Validate validates this get extended contact details all of1 statistics messages sent items

type GetExtendedContactDetailsAllOf1StatisticsOpened ¶

type GetExtendedContactDetailsAllOf1StatisticsOpened []*GetExtendedContactDetailsAllOf1StatisticsOpenedItems

GetExtendedContactDetailsAllOf1StatisticsOpened Listing of the openings generated by the contact swagger:model getExtendedContactDetailsAllOf1StatisticsOpened

func (GetExtendedContactDetailsAllOf1StatisticsOpened) Validate ¶

Validate validates this get extended contact details all of1 statistics opened

type GetExtendedContactDetailsAllOf1StatisticsOpenedItems ¶

type GetExtendedContactDetailsAllOf1StatisticsOpenedItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// Number of openings for the campaign
	// Required: true
	Count *int64 `json:"count"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`

	// IP from which the user has opened the email
	// Required: true
	IP *string `json:"ip"`
}

GetExtendedContactDetailsAllOf1StatisticsOpenedItems get extended contact details all of1 statistics opened items swagger:model getExtendedContactDetailsAllOf1StatisticsOpenedItems

func (*GetExtendedContactDetailsAllOf1StatisticsOpenedItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsOpenedItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsOpenedItems) Validate ¶

Validate validates this get extended contact details all of1 statistics opened items

type GetExtendedContactDetailsAllOf1StatisticsSoftBounces ¶

type GetExtendedContactDetailsAllOf1StatisticsSoftBounces []*GetExtendedContactDetailsAllOf1StatisticsSoftBouncesItems

GetExtendedContactDetailsAllOf1StatisticsSoftBounces Listing of the softbounes generated by the contact swagger:model getExtendedContactDetailsAllOf1StatisticsSoftBounces

func (GetExtendedContactDetailsAllOf1StatisticsSoftBounces) Validate ¶

Validate validates this get extended contact details all of1 statistics soft bounces

type GetExtendedContactDetailsAllOf1StatisticsSoftBouncesItems ¶

type GetExtendedContactDetailsAllOf1StatisticsSoftBouncesItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`
}

GetExtendedContactDetailsAllOf1StatisticsSoftBouncesItems get extended contact details all of1 statistics soft bounces items swagger:model getExtendedContactDetailsAllOf1StatisticsSoftBouncesItems

func (*GetExtendedContactDetailsAllOf1StatisticsSoftBouncesItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsSoftBouncesItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsSoftBouncesItems) Validate ¶

Validate validates this get extended contact details all of1 statistics soft bounces items

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptions ¶

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptions struct {

	// admin unsubscription
	// Required: true
	AdminUnsubscription GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscription `json:"adminUnsubscription"`

	// user unsubscription
	// Required: true
	UserUnsubscription GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscription `json:"userUnsubscription"`
}

GetExtendedContactDetailsAllOf1StatisticsUnsubscriptions Listing of the unsubscription for the contact swagger:model getExtendedContactDetailsAllOf1StatisticsUnsubscriptions

func (*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptions) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptions) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptions) Validate ¶

Validate validates this get extended contact details all of1 statistics unsubscriptions

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscription ¶

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscription []*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscriptionItems

GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscription Contact has been unsubscribed from the administrator swagger:model getExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscription

func (GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscription) Validate ¶

Validate validates this get extended contact details all of1 statistics unsubscriptions admin unsubscription

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscriptionItems ¶

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscriptionItems struct {

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`

	// IP from which the user has been unsubscribed
	// Required: true
	IP *string `json:"ip"`
}

GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscriptionItems get extended contact details all of1 statistics unsubscriptions admin unsubscription items swagger:model getExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscriptionItems

func (*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscriptionItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscriptionItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsAdminUnsubscriptionItems) Validate ¶

Validate validates this get extended contact details all of1 statistics unsubscriptions admin unsubscription items

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscription ¶

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscription []*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscriptionItems

GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscription Contact unsubscribe via unsubscription link in a campaign swagger:model getExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscription

func (GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscription) Validate ¶

Validate validates this get extended contact details all of1 statistics unsubscriptions user unsubscription

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscriptionItems ¶

type GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscriptionItems struct {

	// ID of the campaign which generated the event
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// UTC date-time of the event
	// Required: true
	EventTime *strfmt.DateTime `json:"eventTime"`

	// IP from which the user has unsubscribed
	// Required: true
	IP *string `json:"ip"`
}

GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscriptionItems get extended contact details all of1 statistics unsubscriptions user unsubscription items swagger:model getExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscriptionItems

func (*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscriptionItems) MarshalBinary ¶

MarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscriptionItems) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*GetExtendedContactDetailsAllOf1StatisticsUnsubscriptionsUserUnsubscriptionItems) Validate ¶

Validate validates this get extended contact details all of1 statistics unsubscriptions user unsubscription items

type GetExtendedList ¶

type GetExtendedList struct {
	GetList

	GetExtendedListAllOf1
}

GetExtendedList get extended list swagger:model getExtendedList

func (*GetExtendedList) MarshalBinary ¶

func (m *GetExtendedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetExtendedList) MarshalJSON ¶

func (m GetExtendedList) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetExtendedList) UnmarshalBinary ¶

func (m *GetExtendedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedList) UnmarshalJSON ¶

func (m *GetExtendedList) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetExtendedList) Validate ¶

func (m *GetExtendedList) Validate(formats strfmt.Registry) error

Validate validates this get extended list

type GetExtendedListAllOf1 ¶

type GetExtendedListAllOf1 struct {

	// campaign stats
	CampaignStats GetExtendedListAllOf1CampaignStats `json:"campaignStats"`

	// Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// Status telling if the list is dynamic or not (true=dynamic, false=not dynamic)
	DynamicList bool `json:"dynamicList,omitempty"`

	// ID of the folder
	// Required: true
	FolderID *int64 `json:"folderId"`
}

GetExtendedListAllOf1 get extended list all of1 swagger:model getExtendedListAllOf1

func (*GetExtendedListAllOf1) MarshalBinary ¶

func (m *GetExtendedListAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetExtendedListAllOf1) UnmarshalBinary ¶

func (m *GetExtendedListAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedListAllOf1) Validate ¶

func (m *GetExtendedListAllOf1) Validate(formats strfmt.Registry) error

Validate validates this get extended list all of1

type GetExtendedListAllOf1CampaignStats ¶

type GetExtendedListAllOf1CampaignStats []*GetExtendedListAllOf1CampaignStatsItems

GetExtendedListAllOf1CampaignStats get extended list all of1 campaign stats swagger:model getExtendedListAllOf1CampaignStats

func (GetExtendedListAllOf1CampaignStats) Validate ¶

Validate validates this get extended list all of1 campaign stats

type GetExtendedListAllOf1CampaignStatsItems ¶

type GetExtendedListAllOf1CampaignStatsItems struct {

	// ID of the campaign
	// Required: true
	CampaignID *int64 `json:"campaignId"`

	// stats
	// Required: true
	Stats *GetCampaignStats `json:"stats"`
}

GetExtendedListAllOf1CampaignStatsItems get extended list all of1 campaign stats items swagger:model getExtendedListAllOf1CampaignStatsItems

func (*GetExtendedListAllOf1CampaignStatsItems) MarshalBinary ¶

func (m *GetExtendedListAllOf1CampaignStatsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetExtendedListAllOf1CampaignStatsItems) UnmarshalBinary ¶

func (m *GetExtendedListAllOf1CampaignStatsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetExtendedListAllOf1CampaignStatsItems) Validate ¶

Validate validates this get extended list all of1 campaign stats items

type GetFolder ¶

type GetFolder struct {

	// ID of the folder
	// Required: true
	ID *int64 `json:"id"`

	// Name of the folder
	// Required: true
	Name *string `json:"name"`

	// Number of blacklisted contacts in the folder
	// Required: true
	TotalBlacklisted *int64 `json:"totalBlacklisted"`

	// Number of contacts in the folder
	// Required: true
	TotalSubscribers *int64 `json:"totalSubscribers"`

	// Number of unique contacts in the folder
	// Required: true
	UniqueSubscribers *int64 `json:"uniqueSubscribers"`
}

GetFolder get folder swagger:model getFolder

func (*GetFolder) MarshalBinary ¶

func (m *GetFolder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetFolder) UnmarshalBinary ¶

func (m *GetFolder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFolder) Validate ¶

func (m *GetFolder) Validate(formats strfmt.Registry) error

Validate validates this get folder

type GetFolderLists ¶

type GetFolderLists struct {

	// Number of lists in the folder
	// Required: true
	Count *int64 `json:"count"`

	// lists
	// Required: true
	Lists GetFolderListsLists `json:"lists"`
}

GetFolderLists get folder lists swagger:model getFolderLists

func (*GetFolderLists) MarshalBinary ¶

func (m *GetFolderLists) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetFolderLists) UnmarshalBinary ¶

func (m *GetFolderLists) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFolderLists) Validate ¶

func (m *GetFolderLists) Validate(formats strfmt.Registry) error

Validate validates this get folder lists

type GetFolderListsLists ¶

type GetFolderListsLists []*GetFolderListsListsItems

GetFolderListsLists get folder lists lists swagger:model getFolderListsLists

func (GetFolderListsLists) Validate ¶

func (m GetFolderListsLists) Validate(formats strfmt.Registry) error

Validate validates this get folder lists lists

type GetFolderListsListsItems ¶

type GetFolderListsListsItems struct {
	GetList
}

GetFolderListsListsItems get folder lists lists items swagger:model getFolderListsListsItems

func (*GetFolderListsListsItems) MarshalBinary ¶

func (m *GetFolderListsListsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetFolderListsListsItems) MarshalJSON ¶

func (m GetFolderListsListsItems) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetFolderListsListsItems) UnmarshalBinary ¶

func (m *GetFolderListsListsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFolderListsListsItems) UnmarshalJSON ¶

func (m *GetFolderListsListsItems) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetFolderListsListsItems) Validate ¶

func (m *GetFolderListsListsItems) Validate(formats strfmt.Registry) error

Validate validates this get folder lists lists items

type GetFolders ¶

type GetFolders struct {

	// Number of folders available in your account
	Count int64 `json:"count,omitempty"`

	// folders
	Folders GetFoldersFolders `json:"folders"`
}

GetFolders get folders swagger:model getFolders

func (*GetFolders) MarshalBinary ¶

func (m *GetFolders) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetFolders) UnmarshalBinary ¶

func (m *GetFolders) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFolders) Validate ¶

func (m *GetFolders) Validate(formats strfmt.Registry) error

Validate validates this get folders

type GetFoldersFolders ¶

type GetFoldersFolders []*GetFoldersFoldersItems

GetFoldersFolders get folders folders swagger:model getFoldersFolders

func (GetFoldersFolders) Validate ¶

func (m GetFoldersFolders) Validate(formats strfmt.Registry) error

Validate validates this get folders folders

type GetFoldersFoldersItems ¶

type GetFoldersFoldersItems struct {
	GetFolder
}

GetFoldersFoldersItems get folders folders items swagger:model getFoldersFoldersItems

func (*GetFoldersFoldersItems) MarshalBinary ¶

func (m *GetFoldersFoldersItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetFoldersFoldersItems) MarshalJSON ¶

func (m GetFoldersFoldersItems) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetFoldersFoldersItems) UnmarshalBinary ¶

func (m *GetFoldersFoldersItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFoldersFoldersItems) UnmarshalJSON ¶

func (m *GetFoldersFoldersItems) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetFoldersFoldersItems) Validate ¶

func (m *GetFoldersFoldersItems) Validate(formats strfmt.Registry) error

Validate validates this get folders folders items

type GetIP ¶

type GetIP struct {

	// Status of the IP (true=active, false=inactive)
	// Required: true
	Active *bool `json:"active"`

	// Domain associated to the IP
	// Required: true
	Domain *string `json:"domain"`

	// ID of the dedicated IP
	// Required: true
	ID *int64 `json:"id"`

	// Dedicated IP
	// Required: true
	IP *string `json:"ip"`
}

GetIP get Ip swagger:model getIp

func (*GetIP) MarshalBinary ¶

func (m *GetIP) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetIP) UnmarshalBinary ¶

func (m *GetIP) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetIP) Validate ¶

func (m *GetIP) Validate(formats strfmt.Registry) error

Validate validates this get Ip

type GetIPFromSender ¶

type GetIPFromSender struct {

	// Domain associated to the IP
	// Required: true
	Domain *string `json:"domain"`

	// ID of the dedicated IP
	// Required: true
	ID *int64 `json:"id"`

	// Dedicated IP
	// Required: true
	IP *string `json:"ip"`

	// Weight of the IP
	// Required: true
	Weight *int64 `json:"weight"`
}

GetIPFromSender get Ip from sender swagger:model getIpFromSender

func (*GetIPFromSender) MarshalBinary ¶

func (m *GetIPFromSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetIPFromSender) UnmarshalBinary ¶

func (m *GetIPFromSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetIPFromSender) Validate ¶

func (m *GetIPFromSender) Validate(formats strfmt.Registry) error

Validate validates this get Ip from sender

type GetIps ¶

type GetIps struct {

	// ips
	// Required: true
	Ips GetIpsIps `json:"ips"`
}

GetIps get ips swagger:model getIps

func (*GetIps) MarshalBinary ¶

func (m *GetIps) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetIps) UnmarshalBinary ¶

func (m *GetIps) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetIps) Validate ¶

func (m *GetIps) Validate(formats strfmt.Registry) error

Validate validates this get ips

type GetIpsFromSender ¶

type GetIpsFromSender struct {

	// ips
	// Required: true
	Ips GetIpsFromSenderIps `json:"ips"`
}

GetIpsFromSender get ips from sender swagger:model getIpsFromSender

func (*GetIpsFromSender) MarshalBinary ¶

func (m *GetIpsFromSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetIpsFromSender) UnmarshalBinary ¶

func (m *GetIpsFromSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetIpsFromSender) Validate ¶

func (m *GetIpsFromSender) Validate(formats strfmt.Registry) error

Validate validates this get ips from sender

type GetIpsFromSenderIps ¶

type GetIpsFromSenderIps []*GetIPFromSender

GetIpsFromSenderIps Dedicated IP(s) linked to a sender swagger:model getIpsFromSenderIps

func (GetIpsFromSenderIps) Validate ¶

func (m GetIpsFromSenderIps) Validate(formats strfmt.Registry) error

Validate validates this get ips from sender ips

type GetIpsIps ¶

type GetIpsIps []*GetIP

GetIpsIps Dedicated IP(s) available on your account swagger:model getIpsIps

func (GetIpsIps) Validate ¶

func (m GetIpsIps) Validate(formats strfmt.Registry) error

Validate validates this get ips ips

type GetList ¶

type GetList struct {

	// ID of the list
	// Required: true
	ID *int64 `json:"id"`

	// Name of the list
	// Required: true
	Name *string `json:"name"`

	// Number of blacklisted contacts in the list
	// Required: true
	TotalBlacklisted *int64 `json:"totalBlacklisted"`

	// Number of contacts in the list
	// Required: true
	TotalSubscribers *int64 `json:"totalSubscribers"`
}

GetList get list swagger:model getList

func (*GetList) MarshalBinary ¶

func (m *GetList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetList) UnmarshalBinary ¶

func (m *GetList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetList) Validate ¶

func (m *GetList) Validate(formats strfmt.Registry) error

Validate validates this get list

type GetLists ¶

type GetLists struct {

	// Number of lists in your account
	// Required: true
	Count *int64 `json:"count"`

	// lists
	// Required: true
	Lists GetListsLists `json:"lists"`
}

GetLists get lists swagger:model getLists

func (*GetLists) MarshalBinary ¶

func (m *GetLists) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetLists) UnmarshalBinary ¶

func (m *GetLists) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetLists) Validate ¶

func (m *GetLists) Validate(formats strfmt.Registry) error

Validate validates this get lists

type GetListsLists ¶

type GetListsLists []*GetListsListsItems

GetListsLists Listing of all the lists available in your account swagger:model getListsLists

func (GetListsLists) Validate ¶

func (m GetListsLists) Validate(formats strfmt.Registry) error

Validate validates this get lists lists

type GetListsListsItems ¶

type GetListsListsItems struct {
	GetList

	GetListsListsItemsAllOf1
}

GetListsListsItems get lists lists items swagger:model getListsListsItems

func (*GetListsListsItems) MarshalBinary ¶

func (m *GetListsListsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetListsListsItems) MarshalJSON ¶

func (m GetListsListsItems) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetListsListsItems) UnmarshalBinary ¶

func (m *GetListsListsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetListsListsItems) UnmarshalJSON ¶

func (m *GetListsListsItems) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetListsListsItems) Validate ¶

func (m *GetListsListsItems) Validate(formats strfmt.Registry) error

Validate validates this get lists lists items

type GetListsListsItemsAllOf1 ¶

type GetListsListsItemsAllOf1 struct {

	// ID of the folder
	// Required: true
	FolderID *int64 `json:"folderId"`
}

GetListsListsItemsAllOf1 get lists lists items all of1 swagger:model getListsListsItemsAllOf1

func (*GetListsListsItemsAllOf1) MarshalBinary ¶

func (m *GetListsListsItemsAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetListsListsItemsAllOf1) UnmarshalBinary ¶

func (m *GetListsListsItemsAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetListsListsItemsAllOf1) Validate ¶

func (m *GetListsListsItemsAllOf1) Validate(formats strfmt.Registry) error

Validate validates this get lists lists items all of1

type GetProcess ¶

type GetProcess struct {

	// URL on which send export the of contacts once the process is completed
	ExportURL string `json:"export_url,omitempty"`

	// Id of the process
	// Required: true
	ID *int64 `json:"id"`

	// Process name
	// Required: true
	Name *string `json:"name"`

	// Status of the process
	// Required: true
	Status *string `json:"status"`
}

GetProcess get process swagger:model getProcess

func (*GetProcess) MarshalBinary ¶

func (m *GetProcess) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetProcess) UnmarshalBinary ¶

func (m *GetProcess) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetProcess) Validate ¶

func (m *GetProcess) Validate(formats strfmt.Registry) error

Validate validates this get process

type GetProcesses ¶

type GetProcesses struct {

	// Number of processes available on your account
	// Required: true
	Count *int64 `json:"count"`

	// processes
	Processes GetProcessesProcesses `json:"processes"`
}

GetProcesses get processes swagger:model getProcesses

func (*GetProcesses) MarshalBinary ¶

func (m *GetProcesses) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetProcesses) UnmarshalBinary ¶

func (m *GetProcesses) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetProcesses) Validate ¶

func (m *GetProcesses) Validate(formats strfmt.Registry) error

Validate validates this get processes

type GetProcessesProcesses ¶

type GetProcessesProcesses []*GetProcess

GetProcessesProcesses List of processes available on your account swagger:model getProcessesProcesses

func (GetProcessesProcesses) Validate ¶

func (m GetProcessesProcesses) Validate(formats strfmt.Registry) error

Validate validates this get processes processes

type GetReports ¶

type GetReports struct {

	// reports
	Reports GetReportsReports `json:"reports"`
}

GetReports get reports swagger:model getReports

func (*GetReports) MarshalBinary ¶

func (m *GetReports) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetReports) UnmarshalBinary ¶

func (m *GetReports) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetReports) Validate ¶

func (m *GetReports) Validate(formats strfmt.Registry) error

Validate validates this get reports

type GetReportsReports ¶

type GetReportsReports []*GetReportsReportsItems

GetReportsReports get reports reports swagger:model getReportsReports

func (GetReportsReports) Validate ¶

func (m GetReportsReports) Validate(formats strfmt.Registry) error

Validate validates this get reports reports

type GetReportsReportsItems ¶

type GetReportsReportsItems struct {

	// Number of blocked emails for the date
	// Required: true
	Blocked *int64 `json:"blocked"`

	// Number of clicks for the date
	// Required: true
	Clicks *int64 `json:"clicks"`

	// Date of the statistics
	// Required: true
	Date *strfmt.Date `json:"date"`

	// Number of delivered emails for the date
	// Required: true
	Delivered *int64 `json:"delivered"`

	// Number of hardbounces for the date
	// Required: true
	HardBounces *int64 `json:"hardBounces"`

	// Number of invalid emails for the date
	// Required: true
	Invalid *int64 `json:"invalid"`

	// Number of openings for the date
	// Required: true
	Opens *int64 `json:"opens"`

	// Number of requests for the date
	// Required: true
	Requests *int64 `json:"requests"`

	// Number of softbounces for the date
	// Required: true
	SoftBounces *int64 `json:"softBounces"`

	// Number of complaints (spam reports) for the date
	// Required: true
	SpamReports *int64 `json:"spamReports"`

	// Number of unique clicks for the date
	// Required: true
	UniqueClicks *int64 `json:"uniqueClicks"`

	// Number of unique openings for the date
	// Required: true
	UniqueOpens *int64 `json:"uniqueOpens"`
}

GetReportsReportsItems get reports reports items swagger:model getReportsReportsItems

func (*GetReportsReportsItems) MarshalBinary ¶

func (m *GetReportsReportsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetReportsReportsItems) UnmarshalBinary ¶

func (m *GetReportsReportsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetReportsReportsItems) Validate ¶

func (m *GetReportsReportsItems) Validate(formats strfmt.Registry) error

Validate validates this get reports reports items

type GetSMSCampaign ¶ added in v1.5.0

type GetSMSCampaign struct {
	GetSMSCampaignOverview

	GetSMSCampaignAllOf1
}

GetSMSCampaign get Sms campaign swagger:model getSmsCampaign

func (*GetSMSCampaign) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaign) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetSMSCampaign) MarshalJSON ¶ added in v1.5.0

func (m GetSMSCampaign) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetSMSCampaign) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaign) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSCampaign) UnmarshalJSON ¶ added in v1.5.0

func (m *GetSMSCampaign) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetSMSCampaign) Validate ¶ added in v1.5.0

func (m *GetSMSCampaign) Validate(formats strfmt.Registry) error

Validate validates this get Sms campaign

type GetSMSCampaignAllOf1 ¶ added in v1.5.0

type GetSMSCampaignAllOf1 struct {

	// recipients
	// Required: true
	Recipients *GetSMSCampaignAllOf1Recipients `json:"recipients"`

	// statistics
	// Required: true
	Statistics *GetSMSCampaignAllOf1Statistics `json:"statistics"`
}

GetSMSCampaignAllOf1 get Sms campaign all of1 swagger:model getSmsCampaignAllOf1

func (*GetSMSCampaignAllOf1) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMSCampaignAllOf1) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSCampaignAllOf1) Validate ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1) Validate(formats strfmt.Registry) error

Validate validates this get Sms campaign all of1

type GetSMSCampaignAllOf1Recipients ¶ added in v1.5.0

type GetSMSCampaignAllOf1Recipients struct {
	GetCampaignRecipients
}

GetSMSCampaignAllOf1Recipients get Sms campaign all of1 recipients swagger:model getSmsCampaignAllOf1Recipients

func (*GetSMSCampaignAllOf1Recipients) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1Recipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetSMSCampaignAllOf1Recipients) MarshalJSON ¶ added in v1.5.0

func (m GetSMSCampaignAllOf1Recipients) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetSMSCampaignAllOf1Recipients) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1Recipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSCampaignAllOf1Recipients) UnmarshalJSON ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1Recipients) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetSMSCampaignAllOf1Recipients) Validate ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1Recipients) Validate(formats strfmt.Registry) error

Validate validates this get Sms campaign all of1 recipients

type GetSMSCampaignAllOf1Statistics ¶ added in v1.5.0

type GetSMSCampaignAllOf1Statistics struct {
	GetSMSCampaignStats
}

GetSMSCampaignAllOf1Statistics get Sms campaign all of1 statistics swagger:model getSmsCampaignAllOf1Statistics

func (*GetSMSCampaignAllOf1Statistics) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1Statistics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetSMSCampaignAllOf1Statistics) MarshalJSON ¶ added in v1.5.0

func (m GetSMSCampaignAllOf1Statistics) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetSMSCampaignAllOf1Statistics) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1Statistics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSCampaignAllOf1Statistics) UnmarshalJSON ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1Statistics) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetSMSCampaignAllOf1Statistics) Validate ¶ added in v1.5.0

func (m *GetSMSCampaignAllOf1Statistics) Validate(formats strfmt.Registry) error

Validate validates this get Sms campaign all of1 statistics

type GetSMSCampaignOverview ¶ added in v1.5.0

type GetSMSCampaignOverview struct {

	// Content of the SMS Campaign
	// Required: true
	Content *string `json:"content"`

	// Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// ID of the SMS Campaign
	// Required: true
	ID *int64 `json:"id"`

	// UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	ModifiedAt *strfmt.DateTime `json:"modifiedAt"`

	// Name of the SMS Campaign
	// Required: true
	Name *string `json:"name"`

	// UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format
	// Required: true
	ScheduledAt *strfmt.DateTime `json:"scheduledAt"`

	// Sender of the SMS Campaign
	// Required: true
	Sender *string `json:"sender"`

	// Status of the SMS Campaign
	// Required: true
	Status *string `json:"status"`

	// Retrieved the status of test SMS sending. (true=Test SMS has been sent  false=Test SMS has not been sent)
	// Required: true
	TestSent *bool `json:"testSent"`
}

GetSMSCampaignOverview get Sms campaign overview swagger:model getSmsCampaignOverview

func (*GetSMSCampaignOverview) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMSCampaignOverview) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSCampaignOverview) Validate ¶ added in v1.5.0

func (m *GetSMSCampaignOverview) Validate(formats strfmt.Registry) error

Validate validates this get Sms campaign overview

type GetSMSCampaignStats ¶ added in v1.5.0

type GetSMSCampaignStats struct {

	// Number of replies to the SMS
	// Required: true
	Answered *int64 `json:"answered"`

	// Number of delivered SMS
	// Required: true
	Delivered *int64 `json:"delivered"`

	// Number of hardbounced SMS
	// Required: true
	HardBounces *int64 `json:"hardBounces"`

	// Number of processing SMS
	// Required: true
	Processing *int64 `json:"processing"`

	// Number of sent SMS
	// Required: true
	Sent *int64 `json:"sent"`

	// Number of softbounced SMS
	// Required: true
	SoftBounces *int64 `json:"softBounces"`

	// Number of unsubscription SMS
	// Required: true
	Unsubscriptions *int64 `json:"unsubscriptions"`
}

GetSMSCampaignStats get Sms campaign stats swagger:model getSmsCampaignStats

func (*GetSMSCampaignStats) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMSCampaignStats) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSCampaignStats) Validate ¶ added in v1.5.0

func (m *GetSMSCampaignStats) Validate(formats strfmt.Registry) error

Validate validates this get Sms campaign stats

type GetSMSCampaigns ¶ added in v1.5.0

type GetSMSCampaigns struct {

	// campaigns
	Campaigns GetSMSCampaignsCampaigns `json:"campaigns"`

	// Number of SMS campaigns retrieved
	// Required: true
	Count *int64 `json:"count"`
}

GetSMSCampaigns get Sms campaigns swagger:model getSmsCampaigns

func (*GetSMSCampaigns) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaigns) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMSCampaigns) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaigns) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSCampaigns) Validate ¶ added in v1.5.0

func (m *GetSMSCampaigns) Validate(formats strfmt.Registry) error

Validate validates this get Sms campaigns

type GetSMSCampaignsCampaigns ¶ added in v1.5.0

type GetSMSCampaignsCampaigns []*GetSMSCampaignsCampaignsItems

GetSMSCampaignsCampaigns get Sms campaigns campaigns swagger:model getSmsCampaignsCampaigns

func (GetSMSCampaignsCampaigns) Validate ¶ added in v1.5.0

func (m GetSMSCampaignsCampaigns) Validate(formats strfmt.Registry) error

Validate validates this get Sms campaigns campaigns

type GetSMSCampaignsCampaignsItems ¶ added in v1.5.0

type GetSMSCampaignsCampaignsItems struct {
	GetSMSCampaignOverview

	GetSMSCampaignsCampaignsItemsAllOf1
}

GetSMSCampaignsCampaignsItems get Sms campaigns campaigns items swagger:model getSmsCampaignsCampaignsItems

func (*GetSMSCampaignsCampaignsItems) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignsCampaignsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetSMSCampaignsCampaignsItems) MarshalJSON ¶ added in v1.5.0

func (m GetSMSCampaignsCampaignsItems) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetSMSCampaignsCampaignsItems) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignsCampaignsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSCampaignsCampaignsItems) UnmarshalJSON ¶ added in v1.5.0

func (m *GetSMSCampaignsCampaignsItems) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetSMSCampaignsCampaignsItems) Validate ¶ added in v1.5.0

func (m *GetSMSCampaignsCampaignsItems) Validate(formats strfmt.Registry) error

Validate validates this get Sms campaigns campaigns items

type GetSMSCampaignsCampaignsItemsAllOf1 ¶ added in v1.5.0

type GetSMSCampaignsCampaignsItemsAllOf1 struct {

	// recipients
	// Required: true
	Recipients *GetSMSCampaignsCampaignsItemsAllOf1Recipients `json:"recipients"`

	// statistics
	// Required: true
	Statistics *GetSMSCampaignsCampaignsItemsAllOf1Statistics `json:"statistics"`
}

GetSMSCampaignsCampaignsItemsAllOf1 get Sms campaigns campaigns items all of1 swagger:model getSmsCampaignsCampaignsItemsAllOf1

func (*GetSMSCampaignsCampaignsItemsAllOf1) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignsCampaignsItemsAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMSCampaignsCampaignsItemsAllOf1) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSCampaignsCampaignsItemsAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSCampaignsCampaignsItemsAllOf1) Validate ¶ added in v1.5.0

Validate validates this get Sms campaigns campaigns items all of1

type GetSMSCampaignsCampaignsItemsAllOf1Recipients ¶ added in v1.5.0

type GetSMSCampaignsCampaignsItemsAllOf1Recipients struct {
	GetCampaignRecipients
}

GetSMSCampaignsCampaignsItemsAllOf1Recipients get Sms campaigns campaigns items all of1 recipients swagger:model getSmsCampaignsCampaignsItemsAllOf1Recipients

func (*GetSMSCampaignsCampaignsItemsAllOf1Recipients) MarshalBinary ¶ added in v1.5.0

MarshalBinary interface implementation

func (GetSMSCampaignsCampaignsItemsAllOf1Recipients) MarshalJSON ¶ added in v1.5.0

MarshalJSON marshals this object to a JSON structure

func (*GetSMSCampaignsCampaignsItemsAllOf1Recipients) UnmarshalBinary ¶ added in v1.5.0

UnmarshalBinary interface implementation

func (*GetSMSCampaignsCampaignsItemsAllOf1Recipients) UnmarshalJSON ¶ added in v1.5.0

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetSMSCampaignsCampaignsItemsAllOf1Recipients) Validate ¶ added in v1.5.0

Validate validates this get Sms campaigns campaigns items all of1 recipients

type GetSMSCampaignsCampaignsItemsAllOf1Statistics ¶ added in v1.5.0

type GetSMSCampaignsCampaignsItemsAllOf1Statistics struct {
	GetSMSCampaignStats
}

GetSMSCampaignsCampaignsItemsAllOf1Statistics get Sms campaigns campaigns items all of1 statistics swagger:model getSmsCampaignsCampaignsItemsAllOf1Statistics

func (*GetSMSCampaignsCampaignsItemsAllOf1Statistics) MarshalBinary ¶ added in v1.5.0

MarshalBinary interface implementation

func (GetSMSCampaignsCampaignsItemsAllOf1Statistics) MarshalJSON ¶ added in v1.5.0

MarshalJSON marshals this object to a JSON structure

func (*GetSMSCampaignsCampaignsItemsAllOf1Statistics) UnmarshalBinary ¶ added in v1.5.0

UnmarshalBinary interface implementation

func (*GetSMSCampaignsCampaignsItemsAllOf1Statistics) UnmarshalJSON ¶ added in v1.5.0

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetSMSCampaignsCampaignsItemsAllOf1Statistics) Validate ¶ added in v1.5.0

Validate validates this get Sms campaigns campaigns items all of1 statistics

type GetSMSEventReport ¶ added in v1.5.0

type GetSMSEventReport struct {

	// events
	Events GetSMSEventReportEvents `json:"events"`
}

GetSMSEventReport get Sms event report swagger:model getSmsEventReport

func (*GetSMSEventReport) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSEventReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMSEventReport) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSEventReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSEventReport) Validate ¶ added in v1.5.0

func (m *GetSMSEventReport) Validate(formats strfmt.Registry) error

Validate validates this get Sms event report

type GetSMSEventReportEvents ¶ added in v1.5.0

type GetSMSEventReportEvents []*GetSMSEventReportEventsItems

GetSMSEventReportEvents get Sms event report events swagger:model getSmsEventReportEvents

func (GetSMSEventReportEvents) Validate ¶ added in v1.5.0

func (m GetSMSEventReportEvents) Validate(formats strfmt.Registry) error

Validate validates this get Sms event report events

type GetSMSEventReportEventsItems ¶ added in v1.5.0

type GetSMSEventReportEventsItems struct {

	// Date on which the event has been generated
	// Required: true
	Date *strfmt.Date `json:"date"`

	// Event which occurred
	// Required: true
	Event *string `json:"event"`

	// Message ID which generated the event
	// Required: true
	MessageID *string `json:"messageId"`

	// Phone number which has generated the event
	// Required: true
	PhoneNumber *string `json:"phoneNumber"`

	// Reason of bounce (only available if the event is hardbounce or softbounce)
	Reason string `json:"reason,omitempty"`

	// reply
	Reply string `json:"reply,omitempty"`

	// Tag of the SMS which generated the event
	Tag string `json:"tag,omitempty"`
}

GetSMSEventReportEventsItems get Sms event report events items swagger:model getSmsEventReportEventsItems

func (*GetSMSEventReportEventsItems) MarshalBinary ¶ added in v1.5.0

func (m *GetSMSEventReportEventsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMSEventReportEventsItems) UnmarshalBinary ¶ added in v1.5.0

func (m *GetSMSEventReportEventsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMSEventReportEventsItems) Validate ¶ added in v1.5.0

func (m *GetSMSEventReportEventsItems) Validate(formats strfmt.Registry) error

Validate validates this get Sms event report events items

type GetSMTPTemplateOverview ¶

type GetSMTPTemplateOverview struct {

	// Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// HTML content of the template
	// Required: true
	HTMLContent *string `json:"htmlContent"`

	// ID of the template
	// Required: true
	ID *int64 `json:"id"`

	// Status of template (true=active, false=inactive)
	// Required: true
	IsActive *bool `json:"isActive"`

	// Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	ModifiedAt *strfmt.DateTime `json:"modifiedAt"`

	// Name of the template
	// Required: true
	Name *string `json:"name"`

	// Email defined as the "Reply to" for the template
	// Required: true
	ReplyTo *strfmt.Email `json:"replyTo"`

	// sender
	// Required: true
	Sender *GetSMTPTemplateOverviewSender `json:"sender"`

	// Subject of the template
	// Required: true
	Subject *string `json:"subject"`

	// Tag of the template
	// Required: true
	Tag *string `json:"tag"`

	// Status of test sending for the template (true=test email has been sent, false=test email has not been sent)
	// Required: true
	TestSent *bool `json:"testSent"`

	// Customisation of the "to" field for the template
	// Required: true
	ToField *string `json:"toField"`
}

GetSMTPTemplateOverview get Smtp template overview swagger:model getSmtpTemplateOverview

func (*GetSMTPTemplateOverview) MarshalBinary ¶

func (m *GetSMTPTemplateOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMTPTemplateOverview) UnmarshalBinary ¶

func (m *GetSMTPTemplateOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMTPTemplateOverview) Validate ¶

func (m *GetSMTPTemplateOverview) Validate(formats strfmt.Registry) error

Validate validates this get Smtp template overview

type GetSMTPTemplateOverviewSender ¶

type GetSMTPTemplateOverviewSender struct {

	// From email for the template
	Email strfmt.Email `json:"email,omitempty"`

	// From email for the template
	Name string `json:"name,omitempty"`
}

GetSMTPTemplateOverviewSender get Smtp template overview sender swagger:model getSmtpTemplateOverviewSender

func (*GetSMTPTemplateOverviewSender) MarshalBinary ¶

func (m *GetSMTPTemplateOverviewSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMTPTemplateOverviewSender) UnmarshalBinary ¶

func (m *GetSMTPTemplateOverviewSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMTPTemplateOverviewSender) Validate ¶

func (m *GetSMTPTemplateOverviewSender) Validate(formats strfmt.Registry) error

Validate validates this get Smtp template overview sender

type GetSMTPTemplates ¶

type GetSMTPTemplates struct {

	// Count of smtp templates
	Count int64 `json:"count,omitempty"`

	// templates
	Templates GetSMTPTemplatesTemplates `json:"templates"`
}

GetSMTPTemplates get Smtp templates swagger:model getSmtpTemplates

func (*GetSMTPTemplates) MarshalBinary ¶

func (m *GetSMTPTemplates) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSMTPTemplates) UnmarshalBinary ¶

func (m *GetSMTPTemplates) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSMTPTemplates) Validate ¶

func (m *GetSMTPTemplates) Validate(formats strfmt.Registry) error

Validate validates this get Smtp templates

type GetSMTPTemplatesTemplates ¶

type GetSMTPTemplatesTemplates []*GetSMTPTemplateOverview

GetSMTPTemplatesTemplates get Smtp templates templates swagger:model getSmtpTemplatesTemplates

func (GetSMTPTemplatesTemplates) Validate ¶

func (m GetSMTPTemplatesTemplates) Validate(formats strfmt.Registry) error

Validate validates this get Smtp templates templates

type GetSendersList ¶

type GetSendersList struct {

	// senders
	Senders GetSendersListSenders `json:"senders"`
}

GetSendersList get senders list swagger:model getSendersList

func (*GetSendersList) MarshalBinary ¶

func (m *GetSendersList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSendersList) UnmarshalBinary ¶

func (m *GetSendersList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSendersList) Validate ¶

func (m *GetSendersList) Validate(formats strfmt.Registry) error

Validate validates this get senders list

type GetSendersListSenders ¶

type GetSendersListSenders []*GetSendersListSendersItems

GetSendersListSenders List of the senders available in your account swagger:model getSendersListSenders

func (GetSendersListSenders) Validate ¶

func (m GetSendersListSenders) Validate(formats strfmt.Registry) error

Validate validates this get senders list senders

type GetSendersListSendersItems ¶

type GetSendersListSendersItems struct {

	// Status of sender (true=activated, false=deactivated)
	// Required: true
	Active *bool `json:"active"`

	// From Email associated to the sender
	// Required: true
	Email *string `json:"email"`

	// Id of the sender
	// Required: true
	ID *int64 `json:"id"`

	// ips
	Ips GetSendersListSendersItemsIps `json:"ips"`

	// From Name associated to the sender
	// Required: true
	Name *string `json:"name"`
}

GetSendersListSendersItems get senders list senders items swagger:model getSendersListSendersItems

func (*GetSendersListSendersItems) MarshalBinary ¶

func (m *GetSendersListSendersItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSendersListSendersItems) UnmarshalBinary ¶

func (m *GetSendersListSendersItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSendersListSendersItems) Validate ¶

func (m *GetSendersListSendersItems) Validate(formats strfmt.Registry) error

Validate validates this get senders list senders items

type GetSendersListSendersItemsIps ¶

type GetSendersListSendersItemsIps []*GetSendersListSendersItemsIpsItems

GetSendersListSendersItemsIps List of dedicated IP(s) available in the account. This data is displayed only for dedicated IPs swagger:model getSendersListSendersItemsIps

func (GetSendersListSendersItemsIps) Validate ¶

func (m GetSendersListSendersItemsIps) Validate(formats strfmt.Registry) error

Validate validates this get senders list senders items ips

type GetSendersListSendersItemsIpsItems ¶

type GetSendersListSendersItemsIpsItems struct {

	// Domain of the IP
	// Required: true
	Domain *string `json:"domain"`

	// Dedicated IP available in your account
	// Required: true
	IP *string `json:"ip"`

	// Weight of the IP for this sender
	// Required: true
	Weight *int64 `json:"weight"`
}

GetSendersListSendersItemsIpsItems get senders list senders items ips items swagger:model getSendersListSendersItemsIpsItems

func (*GetSendersListSendersItemsIpsItems) MarshalBinary ¶

func (m *GetSendersListSendersItemsIpsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSendersListSendersItemsIpsItems) UnmarshalBinary ¶

func (m *GetSendersListSendersItemsIpsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSendersListSendersItemsIpsItems) Validate ¶

Validate validates this get senders list senders items ips items

type GetStatsByDomain ¶

type GetStatsByDomain map[string]GetCampaignStats

GetStatsByDomain get stats by domain swagger:model getStatsByDomain

func (GetStatsByDomain) Validate ¶

func (m GetStatsByDomain) Validate(formats strfmt.Registry) error

Validate validates this get stats by domain

type GetTransacAggregatedSMSReport ¶ added in v1.5.0

type GetTransacAggregatedSMSReport struct {

	// Number of accepted for the timeframe
	// Required: true
	Accepted *int64 `json:"accepted"`

	// Number of blocked contact for the timeframe
	// Required: true
	Blocked *int64 `json:"blocked"`

	// Number of delivered SMS for the timeframe
	// Required: true
	Delivered *int64 `json:"delivered"`

	// Number of hardbounces for the timeframe
	// Required: true
	HardBounces *int64 `json:"hardBounces"`

	// Time frame of the report
	// Required: true
	Range *string `json:"range"`

	// Number of rejected for the timeframe
	// Required: true
	Rejected *int64 `json:"rejected"`

	// Number of answered SMS for the timeframe
	// Required: true
	Replied *int64 `json:"replied"`

	// Number of requests for the timeframe
	// Required: true
	Requests *int64 `json:"requests"`

	// Number of softbounces for the timeframe
	// Required: true
	SoftBounces *int64 `json:"softBounces"`

	// Number of unsubscription for the timeframe
	// Required: true
	Unsubscribed *int64 `json:"unsubscribed"`
}

GetTransacAggregatedSMSReport get transac aggregated Sms report swagger:model getTransacAggregatedSmsReport

func (*GetTransacAggregatedSMSReport) MarshalBinary ¶ added in v1.5.0

func (m *GetTransacAggregatedSMSReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetTransacAggregatedSMSReport) UnmarshalBinary ¶ added in v1.5.0

func (m *GetTransacAggregatedSMSReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetTransacAggregatedSMSReport) Validate ¶ added in v1.5.0

func (m *GetTransacAggregatedSMSReport) Validate(formats strfmt.Registry) error

Validate validates this get transac aggregated Sms report

type GetTransacSMSReport ¶ added in v1.5.0

type GetTransacSMSReport struct {

	// reports
	Reports GetTransacSMSReportReports `json:"reports"`
}

GetTransacSMSReport get transac Sms report swagger:model getTransacSmsReport

func (*GetTransacSMSReport) MarshalBinary ¶ added in v1.5.0

func (m *GetTransacSMSReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetTransacSMSReport) UnmarshalBinary ¶ added in v1.5.0

func (m *GetTransacSMSReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetTransacSMSReport) Validate ¶ added in v1.5.0

func (m *GetTransacSMSReport) Validate(formats strfmt.Registry) error

Validate validates this get transac Sms report

type GetTransacSMSReportReports ¶ added in v1.5.0

type GetTransacSMSReportReports []*GetTransacSMSReportReportsItems

GetTransacSMSReportReports get transac Sms report reports swagger:model getTransacSmsReportReports

func (GetTransacSMSReportReports) Validate ¶ added in v1.5.0

func (m GetTransacSMSReportReports) Validate(formats strfmt.Registry) error

Validate validates this get transac Sms report reports

type GetTransacSMSReportReportsItems ¶ added in v1.5.0

type GetTransacSMSReportReportsItems struct {

	// Number of accepted for the date
	// Required: true
	Accepted *int64 `json:"accepted"`

	// Number of blocked contact for the date
	// Required: true
	Blocked *int64 `json:"blocked"`

	// Date for which statistics are retrieved
	// Required: true
	Date *strfmt.Date `json:"date"`

	// Number of delivered SMS for the date
	// Required: true
	Delivered *int64 `json:"delivered"`

	// Number of hardbounces for the date
	// Required: true
	HardBounces *int64 `json:"hardBounces"`

	// Number of rejected for the date
	// Required: true
	Rejected *int64 `json:"rejected"`

	// Number of answered SMS for the date
	// Required: true
	Replied *int64 `json:"replied"`

	// Number of requests for the date
	// Required: true
	Requests *int64 `json:"requests"`

	// Number of softbounces for the date
	// Required: true
	SoftBounces *int64 `json:"softBounces"`

	// Number of unsubscription for the date
	// Required: true
	Unsubscribed *int64 `json:"unsubscribed"`
}

GetTransacSMSReportReportsItems get transac Sms report reports items swagger:model getTransacSmsReportReportsItems

func (*GetTransacSMSReportReportsItems) MarshalBinary ¶ added in v1.5.0

func (m *GetTransacSMSReportReportsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetTransacSMSReportReportsItems) UnmarshalBinary ¶ added in v1.5.0

func (m *GetTransacSMSReportReportsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetTransacSMSReportReportsItems) Validate ¶ added in v1.5.0

Validate validates this get transac Sms report reports items

type GetWebhook ¶

type GetWebhook struct {

	// Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// Description of the webhook
	// Required: true
	Description *string `json:"description"`

	// events
	// Required: true
	Events []string `json:"events"`

	// ID of the webhook
	// Required: true
	ID *int64 `json:"id"`

	// Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)
	// Required: true
	ModifiedAt *strfmt.DateTime `json:"modifiedAt"`

	// Type of webhook (marketing or transac)
	// Required: true
	Type *string `json:"type"`

	// URL of the webhook
	// Required: true
	URL *string `json:"url"`
}

GetWebhook get webhook swagger:model getWebhook

func (*GetWebhook) MarshalBinary ¶

func (m *GetWebhook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWebhook) UnmarshalBinary ¶

func (m *GetWebhook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWebhook) Validate ¶

func (m *GetWebhook) Validate(formats strfmt.Registry) error

Validate validates this get webhook

type GetWebhooks ¶

type GetWebhooks struct {

	// webhooks
	// Required: true
	Webhooks GetWebhooksWebhooks `json:"webhooks"`
}

GetWebhooks get webhooks swagger:model getWebhooks

func (*GetWebhooks) MarshalBinary ¶

func (m *GetWebhooks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWebhooks) UnmarshalBinary ¶

func (m *GetWebhooks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWebhooks) Validate ¶

func (m *GetWebhooks) Validate(formats strfmt.Registry) error

Validate validates this get webhooks

type GetWebhooksWebhooks ¶

type GetWebhooksWebhooks []*GetWebhooksWebhooksItems

GetWebhooksWebhooks get webhooks webhooks swagger:model getWebhooksWebhooks

func (GetWebhooksWebhooks) Validate ¶

func (m GetWebhooksWebhooks) Validate(formats strfmt.Registry) error

Validate validates this get webhooks webhooks

type GetWebhooksWebhooksItems ¶

type GetWebhooksWebhooksItems struct {
	GetWebhook
}

GetWebhooksWebhooksItems get webhooks webhooks items swagger:model getWebhooksWebhooksItems

func (*GetWebhooksWebhooksItems) MarshalBinary ¶

func (m *GetWebhooksWebhooksItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetWebhooksWebhooksItems) MarshalJSON ¶

func (m GetWebhooksWebhooksItems) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetWebhooksWebhooksItems) UnmarshalBinary ¶

func (m *GetWebhooksWebhooksItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWebhooksWebhooksItems) UnmarshalJSON ¶

func (m *GetWebhooksWebhooksItems) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetWebhooksWebhooksItems) Validate ¶

func (m *GetWebhooksWebhooksItems) Validate(formats strfmt.Registry) error

Validate validates this get webhooks webhooks items

type ManageIP ¶

type ManageIP struct {

	// ID of the IP
	IPID int64 `json:"ipId,omitempty"`
}

ManageIP manage Ip swagger:model manageIp

func (*ManageIP) MarshalBinary ¶

func (m *ManageIP) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ManageIP) UnmarshalBinary ¶

func (m *ManageIP) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ManageIP) Validate ¶

func (m *ManageIP) Validate(formats strfmt.Registry) error

Validate validates this manage Ip

type PostContactInfo ¶

type PostContactInfo struct {

	// contacts
	// Required: true
	Contacts *PostContactInfoContacts `json:"contacts"`
}

PostContactInfo post contact info swagger:model postContactInfo

func (*PostContactInfo) MarshalBinary ¶

func (m *PostContactInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostContactInfo) UnmarshalBinary ¶

func (m *PostContactInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostContactInfo) Validate ¶

func (m *PostContactInfo) Validate(formats strfmt.Registry) error

Validate validates this post contact info

type PostContactInfoContacts ¶

type PostContactInfoContacts struct {

	// failure
	Failure []strfmt.Email `json:"failure"`

	// success
	// Required: true
	Success []strfmt.Email `json:"success"`
}

PostContactInfoContacts post contact info contacts swagger:model postContactInfoContacts

func (*PostContactInfoContacts) MarshalBinary ¶

func (m *PostContactInfoContacts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostContactInfoContacts) UnmarshalBinary ¶

func (m *PostContactInfoContacts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostContactInfoContacts) Validate ¶

func (m *PostContactInfoContacts) Validate(formats strfmt.Registry) error

Validate validates this post contact info contacts

type PostSendFailed ¶

type PostSendFailed struct {

	// black listed emails
	BlackListedEmails []strfmt.Email `json:"blackListedEmails"`

	// Response code
	// Required: true
	Code *int64 `json:"code"`

	// Response message
	// Required: true
	Message *string `json:"message"`

	// unexisting emails
	UnexistingEmails []strfmt.Email `json:"unexistingEmails"`

	// without list emails
	WithoutListEmails []strfmt.Email `json:"withoutListEmails"`
}

PostSendFailed post send failed swagger:model postSendFailed

func (*PostSendFailed) MarshalBinary ¶

func (m *PostSendFailed) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostSendFailed) UnmarshalBinary ¶

func (m *PostSendFailed) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostSendFailed) Validate ¶

func (m *PostSendFailed) Validate(formats strfmt.Registry) error

Validate validates this post send failed

type PostSendSMSTestFailed ¶ added in v1.5.0

type PostSendSMSTestFailed struct {

	// Response code
	// Required: true
	Code *int64 `json:"code"`

	// Response message
	// Required: true
	Message *string `json:"message"`

	// unexisting Sms
	UnexistingSMS []strfmt.Email `json:"unexistingSms"`

	// without list Sms
	WithoutListSMS []strfmt.Email `json:"withoutListSms"`
}

PostSendSMSTestFailed post send Sms test failed swagger:model postSendSmsTestFailed

func (*PostSendSMSTestFailed) MarshalBinary ¶ added in v1.5.0

func (m *PostSendSMSTestFailed) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostSendSMSTestFailed) UnmarshalBinary ¶ added in v1.5.0

func (m *PostSendSMSTestFailed) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostSendSMSTestFailed) Validate ¶ added in v1.5.0

func (m *PostSendSMSTestFailed) Validate(formats strfmt.Registry) error

Validate validates this post send Sms test failed

type RemainingCreditModel ¶

type RemainingCreditModel struct {

	// child
	// Required: true
	Child *RemainingCreditModelChild `json:"child"`

	// reseller
	// Required: true
	Reseller *RemainingCreditModelReseller `json:"reseller"`
}

RemainingCreditModel remaining credit model swagger:model remainingCreditModel

func (*RemainingCreditModel) MarshalBinary ¶

func (m *RemainingCreditModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemainingCreditModel) UnmarshalBinary ¶

func (m *RemainingCreditModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemainingCreditModel) Validate ¶

func (m *RemainingCreditModel) Validate(formats strfmt.Registry) error

Validate validates this remaining credit model

type RemainingCreditModelChild ¶

type RemainingCreditModelChild struct {

	// Email Credits remaining for child account
	// Required: true
	Email *int64 `json:"email"`

	// SMS Credits remaining for child account
	// Required: true
	SMS *int64 `json:"sms"`
}

RemainingCreditModelChild Credits remaining for child account swagger:model remainingCreditModelChild

func (*RemainingCreditModelChild) MarshalBinary ¶

func (m *RemainingCreditModelChild) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemainingCreditModelChild) UnmarshalBinary ¶

func (m *RemainingCreditModelChild) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemainingCreditModelChild) Validate ¶

func (m *RemainingCreditModelChild) Validate(formats strfmt.Registry) error

Validate validates this remaining credit model child

type RemainingCreditModelReseller ¶

type RemainingCreditModelReseller struct {

	// Email Credits remaining for reseller account
	// Required: true
	Email *int64 `json:"email"`

	// SMS Credits remaining for reseller account
	// Required: true
	SMS *int64 `json:"sms"`
}

RemainingCreditModelReseller remaining credit model reseller swagger:model remainingCreditModelReseller

func (*RemainingCreditModelReseller) MarshalBinary ¶

func (m *RemainingCreditModelReseller) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemainingCreditModelReseller) UnmarshalBinary ¶

func (m *RemainingCreditModelReseller) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemainingCreditModelReseller) Validate ¶

func (m *RemainingCreditModelReseller) Validate(formats strfmt.Registry) error

Validate validates this remaining credit model reseller

type RemoveCredits ¶

type RemoveCredits struct {

	// Email credits to be removed from the child account
	Email int64 `json:"email,omitempty"`

	// SMS credits to be removed from the child account
	SMS int64 `json:"sms,omitempty"`
}

RemoveCredits remove credits swagger:model removeCredits

func (*RemoveCredits) MarshalBinary ¶

func (m *RemoveCredits) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveCredits) UnmarshalBinary ¶

func (m *RemoveCredits) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveCredits) Validate ¶

func (m *RemoveCredits) Validate(formats strfmt.Registry) error

Validate validates this remove credits

type RequestContactExport ¶

type RequestContactExport struct {

	// Filter to apply to the export
	// Required: true
	ContactFilter interface{} `json:"contactFilter"`

	// Name of attributes to export. These attributes must be in your contact database
	ExportAttributes []string `json:"exportAttributes"`

	// Webhook that will be called once the export process is finished
	NotifyURL string `json:"notifyUrl,omitempty"`
}

RequestContactExport request contact export swagger:model requestContactExport

func (*RequestContactExport) MarshalBinary ¶

func (m *RequestContactExport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestContactExport) UnmarshalBinary ¶

func (m *RequestContactExport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestContactExport) Validate ¶

func (m *RequestContactExport) Validate(formats strfmt.Registry) error

Validate validates this request contact export

type RequestContactImport ¶

type RequestContactImport struct {

	// Mandatory if fileUrl is not defined. CSV content to be imported. Use semicolon to separate multiple attributes
	FileBody string `json:"fileBody,omitempty"`

	// Mandatory if fileBody not defined. URL of the file to be imported (no local file). Possible file types: .txt, .csv
	FileURL string `json:"fileUrl,omitempty"`

	// Manadatory if newList is not defined. Ids of the lists in which to add the contacts
	ListIds []int64 `json:"listIds"`

	// new list
	NewList *RequestContactImportNewList `json:"newList,omitempty"`

	// URL that will be called once the export process is finished
	NotifyURL string `json:"notifyUrl,omitempty"`
}

RequestContactImport request contact import swagger:model requestContactImport

func (*RequestContactImport) MarshalBinary ¶

func (m *RequestContactImport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestContactImport) UnmarshalBinary ¶

func (m *RequestContactImport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestContactImport) Validate ¶

func (m *RequestContactImport) Validate(formats strfmt.Registry) error

Validate validates this request contact import

type RequestContactImportNewList ¶

type RequestContactImportNewList struct {

	// Folder id will be used with listName to make newly created list’s desired parent (Mandatory if listName is not empty).
	FolderID int64 `json:"folderId,omitempty"`

	// List with listName will be created first and users will be imported in it (Mandatory if listIds is empty).
	ListName string `json:"listName,omitempty"`
}

RequestContactImportNewList request contact import new list swagger:model requestContactImportNewList

func (*RequestContactImportNewList) MarshalBinary ¶

func (m *RequestContactImportNewList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestContactImportNewList) UnmarshalBinary ¶

func (m *RequestContactImportNewList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestContactImportNewList) Validate ¶

func (m *RequestContactImportNewList) Validate(formats strfmt.Registry) error

Validate validates this request contact import new list

type RequestSMSRecipientExport ¶

type RequestSMSRecipientExport struct {

	// URL that will be called once the export process is finished
	NotifyURL string `json:"notifyURL,omitempty"`

	// Filter the recipients based on how they interacted with the campaign
	// Required: true
	RecipientsType *string `json:"recipientsType"`
}

RequestSMSRecipientExport request SMS recipient export swagger:model requestSMSRecipientExport

func (*RequestSMSRecipientExport) MarshalBinary ¶

func (m *RequestSMSRecipientExport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestSMSRecipientExport) UnmarshalBinary ¶

func (m *RequestSMSRecipientExport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestSMSRecipientExport) Validate ¶

func (m *RequestSMSRecipientExport) Validate(formats strfmt.Registry) error

Validate validates this request SMS recipient export

type SendEmail ¶

type SendEmail struct {

	// attachment
	Attachment SendEmailAttachment `json:"attachment"`

	// Absolute url of the attachment (no local file). Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps
	AttachmentURL string `json:"attachmentUrl,omitempty"`

	// attributes
	Attributes map[string]string `json:"attributes,omitempty"`

	// Email addresses of the recipients in bcc
	EmailBcc []strfmt.Email `json:"emailBcc"`

	// Email addresses of the recipients in cc
	EmailCc []strfmt.Email `json:"emailCc"`

	// Email addresses of the recipients
	// Required: true
	EmailTo []strfmt.Email `json:"emailTo"`

	// headers
	Headers map[string]string `json:"headers,omitempty"`

	// Email on which campaign recipients will be able to reply to
	ReplyTo strfmt.Email `json:"replyTo,omitempty"`
}

SendEmail send email swagger:model sendEmail

func (*SendEmail) MarshalBinary ¶

func (m *SendEmail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendEmail) UnmarshalBinary ¶

func (m *SendEmail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendEmail) Validate ¶

func (m *SendEmail) Validate(formats strfmt.Registry) error

Validate validates this send email

type SendEmailAttachment ¶

type SendEmailAttachment []*SendEmailAttachmentItems

SendEmailAttachment Pass the base64 content of the attachment. Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps swagger:model sendEmailAttachment

func (SendEmailAttachment) Validate ¶

func (m SendEmailAttachment) Validate(formats strfmt.Registry) error

Validate validates this send email attachment

type SendEmailAttachmentItems ¶

type SendEmailAttachmentItems struct {

	// Base64 encoded chunk data of the attachment generated on the fly
	Content strfmt.Base64 `json:"content,omitempty"`

	// Required for content. Name of the attachment
	Name string `json:"name,omitempty"`
}

SendEmailAttachmentItems send email attachment items swagger:model sendEmailAttachmentItems

func (*SendEmailAttachmentItems) MarshalBinary ¶

func (m *SendEmailAttachmentItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendEmailAttachmentItems) UnmarshalBinary ¶

func (m *SendEmailAttachmentItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendEmailAttachmentItems) Validate ¶

func (m *SendEmailAttachmentItems) Validate(formats strfmt.Registry) error

Validate validates this send email attachment items

type SendReport ¶

type SendReport struct {

	// email
	// Required: true
	Email *SendReportEmail `json:"email"`

	// Language of email content for campaign report sending.
	Language *string `json:"language,omitempty"`
}

SendReport send report swagger:model sendReport

func (*SendReport) MarshalBinary ¶

func (m *SendReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendReport) UnmarshalBinary ¶

func (m *SendReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendReport) Validate ¶

func (m *SendReport) Validate(formats strfmt.Registry) error

Validate validates this send report

type SendReportEmail ¶

type SendReportEmail struct {

	// Email addresses of the recipients in bcc
	Bcc []strfmt.Email `json:"bcc"`

	// Body of the email message
	Body string `json:"body,omitempty"`

	// Email addresses of the recipients in cc
	Cc []strfmt.Email `json:"cc"`

	// Type of the message body
	ContentType string `json:"contentType,omitempty"`

	// Subject of the email message
	Subject string `json:"subject,omitempty"`

	// Email addresses of the recipients
	To []strfmt.Email `json:"to"`
}

SendReportEmail send report email swagger:model sendReportEmail

func (*SendReportEmail) MarshalBinary ¶

func (m *SendReportEmail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendReportEmail) UnmarshalBinary ¶

func (m *SendReportEmail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendReportEmail) Validate ¶

func (m *SendReportEmail) Validate(formats strfmt.Registry) error

Validate validates this send report email

type SendSMS ¶ added in v1.5.0

type SendSMS struct {

	// message Id
	// Required: true
	MessageID *int64 `json:"messageId"`

	// reference
	// Required: true
	Reference *string `json:"reference"`
}

SendSMS send Sms swagger:model sendSms

func (*SendSMS) MarshalBinary ¶ added in v1.5.0

func (m *SendSMS) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendSMS) UnmarshalBinary ¶ added in v1.5.0

func (m *SendSMS) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendSMS) Validate ¶ added in v1.5.0

func (m *SendSMS) Validate(formats strfmt.Registry) error

Validate validates this send Sms

type SendSMTPEmail ¶

type SendSMTPEmail struct {

	// attachment
	Attachment SendSMTPEmailAttachment `json:"attachment"`

	// bcc
	Bcc SendSMTPEmailBcc `json:"bcc"`

	// cc
	Cc SendSMTPEmailCc `json:"cc"`

	// headers
	Headers map[string]string `json:"headers,omitempty"`

	// HTML body of the message
	// Required: true
	HTMLContent *string `json:"htmlContent"`

	// reply to
	ReplyTo *SendSMTPEmailReplyTo `json:"replyTo,omitempty"`

	// sender
	// Required: true
	Sender *SendSMTPEmailSender `json:"sender"`

	// Subject of the message
	// Required: true
	Subject *string `json:"subject"`

	// Plain Text body of the message
	TextContent string `json:"textContent,omitempty"`

	// to
	// Required: true
	To SendSMTPEmailTo `json:"to"`
}

SendSMTPEmail send Smtp email swagger:model sendSmtpEmail

func (*SendSMTPEmail) MarshalBinary ¶

func (m *SendSMTPEmail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendSMTPEmail) UnmarshalBinary ¶

func (m *SendSMTPEmail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendSMTPEmail) Validate ¶

func (m *SendSMTPEmail) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email

type SendSMTPEmailAttachment ¶

type SendSMTPEmailAttachment []*SendSMTPEmailAttachmentItems

SendSMTPEmailAttachment Pass the absolute URL (no local file) or the base64 content of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps swagger:model sendSmtpEmailAttachment

func (SendSMTPEmailAttachment) Validate ¶

func (m SendSMTPEmailAttachment) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email attachment

type SendSMTPEmailAttachmentItems ¶

type SendSMTPEmailAttachmentItems struct {

	// Base64 encoded chunk data of the attachment generated on the fly
	Content strfmt.Base64 `json:"content,omitempty"`

	// Required for content. Name of the attachment
	Name string `json:"name,omitempty"`

	// Absolute url of the attachment (no local file).
	URL string `json:"url,omitempty"`
}

SendSMTPEmailAttachmentItems send Smtp email attachment items swagger:model sendSmtpEmailAttachmentItems

func (*SendSMTPEmailAttachmentItems) MarshalBinary ¶

func (m *SendSMTPEmailAttachmentItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendSMTPEmailAttachmentItems) UnmarshalBinary ¶

func (m *SendSMTPEmailAttachmentItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendSMTPEmailAttachmentItems) Validate ¶

func (m *SendSMTPEmailAttachmentItems) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email attachment items

type SendSMTPEmailBcc ¶

type SendSMTPEmailBcc []*SendSMTPEmailBccItems

SendSMTPEmailBcc Email addresses and names of the recipients in bcc swagger:model sendSmtpEmailBcc

func (SendSMTPEmailBcc) Validate ¶

func (m SendSMTPEmailBcc) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email bcc

type SendSMTPEmailBccItems ¶

type SendSMTPEmailBccItems struct {

	// Email address of the recipient in bcc
	// Required: true
	Email *strfmt.Email `json:"email"`

	// Name of the recipient in bcc
	Name string `json:"name,omitempty"`
}

SendSMTPEmailBccItems send Smtp email bcc items swagger:model sendSmtpEmailBccItems

func (*SendSMTPEmailBccItems) MarshalBinary ¶

func (m *SendSMTPEmailBccItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendSMTPEmailBccItems) UnmarshalBinary ¶

func (m *SendSMTPEmailBccItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendSMTPEmailBccItems) Validate ¶

func (m *SendSMTPEmailBccItems) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email bcc items

type SendSMTPEmailCc ¶

type SendSMTPEmailCc []*SendSMTPEmailCcItems

SendSMTPEmailCc Email addresses and names of the recipients in cc swagger:model sendSmtpEmailCc

func (SendSMTPEmailCc) Validate ¶

func (m SendSMTPEmailCc) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email cc

type SendSMTPEmailCcItems ¶

type SendSMTPEmailCcItems struct {

	// Email address of the recipient in cc
	// Required: true
	Email *strfmt.Email `json:"email"`

	// Name of the recipient in cc
	Name string `json:"name,omitempty"`
}

SendSMTPEmailCcItems send Smtp email cc items swagger:model sendSmtpEmailCcItems

func (*SendSMTPEmailCcItems) MarshalBinary ¶

func (m *SendSMTPEmailCcItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendSMTPEmailCcItems) UnmarshalBinary ¶

func (m *SendSMTPEmailCcItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendSMTPEmailCcItems) Validate ¶

func (m *SendSMTPEmailCcItems) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email cc items

type SendSMTPEmailReplyTo ¶

type SendSMTPEmailReplyTo struct {

	// Email address in reply to
	// Required: true
	Email *strfmt.Email `json:"email"`

	// Name in reply to
	Name string `json:"name,omitempty"`
}

SendSMTPEmailReplyTo Email on which transactional mail recipients will be able to reply to swagger:model sendSmtpEmailReplyTo

func (*SendSMTPEmailReplyTo) MarshalBinary ¶

func (m *SendSMTPEmailReplyTo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendSMTPEmailReplyTo) UnmarshalBinary ¶

func (m *SendSMTPEmailReplyTo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendSMTPEmailReplyTo) Validate ¶

func (m *SendSMTPEmailReplyTo) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email reply to

type SendSMTPEmailSender ¶

type SendSMTPEmailSender struct {

	// Sender Email from which the emails are sent
	// Required: true
	Email *strfmt.Email `json:"email"`

	// Sender Name from which the emails are sent
	Name string `json:"name,omitempty"`
}

SendSMTPEmailSender send Smtp email sender swagger:model sendSmtpEmailSender

func (*SendSMTPEmailSender) MarshalBinary ¶

func (m *SendSMTPEmailSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendSMTPEmailSender) UnmarshalBinary ¶

func (m *SendSMTPEmailSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendSMTPEmailSender) Validate ¶

func (m *SendSMTPEmailSender) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email sender

type SendSMTPEmailTo ¶

type SendSMTPEmailTo []*SendSMTPEmailToItems

SendSMTPEmailTo Email addresses and names of the recipients swagger:model sendSmtpEmailTo

func (SendSMTPEmailTo) Validate ¶

func (m SendSMTPEmailTo) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email to

type SendSMTPEmailToItems ¶

type SendSMTPEmailToItems struct {

	// Email address of the recipient
	// Required: true
	Email *strfmt.Email `json:"email"`

	// Name of the recipient
	Name string `json:"name,omitempty"`
}

SendSMTPEmailToItems send Smtp email to items swagger:model sendSmtpEmailToItems

func (*SendSMTPEmailToItems) MarshalBinary ¶

func (m *SendSMTPEmailToItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendSMTPEmailToItems) UnmarshalBinary ¶

func (m *SendSMTPEmailToItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendSMTPEmailToItems) Validate ¶

func (m *SendSMTPEmailToItems) Validate(formats strfmt.Registry) error

Validate validates this send Smtp email to items

type SendTemplateEmail ¶

type SendTemplateEmail struct {

	// Message ID of the template Email sent
	// Required: true
	MessageID *string `json:"messageId"`
}

SendTemplateEmail send template email swagger:model sendTemplateEmail

func (*SendTemplateEmail) MarshalBinary ¶

func (m *SendTemplateEmail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendTemplateEmail) UnmarshalBinary ¶

func (m *SendTemplateEmail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendTemplateEmail) Validate ¶

func (m *SendTemplateEmail) Validate(formats strfmt.Registry) error

Validate validates this send template email

type SendTestEmail ¶

type SendTestEmail struct {

	// If empty the test email will be sent to your entire test list. Use this field to send it to specific addresses in your list.
	EmailTo []strfmt.Email `json:"emailTo"`
}

SendTestEmail send test email swagger:model sendTestEmail

func (*SendTestEmail) MarshalBinary ¶

func (m *SendTestEmail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendTestEmail) UnmarshalBinary ¶

func (m *SendTestEmail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendTestEmail) Validate ¶

func (m *SendTestEmail) Validate(formats strfmt.Registry) error

Validate validates this send test email

type SendTestSMS ¶ added in v1.5.0

type SendTestSMS struct {

	// Mobile number with the country code to send test SMS. The mobile number defined here must belong to one of your contacts in SendinBlue account and must not be blacklisted
	PhoneNumbers []string `json:"phoneNumbers"`
}

SendTestSMS send test Sms swagger:model sendTestSms

func (*SendTestSMS) MarshalBinary ¶ added in v1.5.0

func (m *SendTestSMS) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendTestSMS) UnmarshalBinary ¶ added in v1.5.0

func (m *SendTestSMS) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendTestSMS) Validate ¶ added in v1.5.0

func (m *SendTestSMS) Validate(formats strfmt.Registry) error

Validate validates this send test Sms

type SendTransacSMS ¶ added in v1.5.0

type SendTransacSMS struct {

	// Content of the message. If more than 160 characters long, multiple text messages will be sent
	// Required: true
	// Max Length: 160
	Content *string `json:"content"`

	// Mobile number to send SMS with the country code
	// Required: true
	Recipient *string `json:"recipient"`

	// Name of the sender. Only alphanumeric characters. No more than 11 characters
	// Required: true
	// Max Length: 11
	Sender *string `json:"sender"`

	// Tag of the message
	Tag string `json:"tag,omitempty"`

	// Type of the SMS
	Type *string `json:"type,omitempty"`

	// Webhook to call for each event triggered by the message (delivered etc.)
	WebURL string `json:"webUrl,omitempty"`
}

SendTransacSMS send transac Sms swagger:model sendTransacSms

func (*SendTransacSMS) MarshalBinary ¶ added in v1.5.0

func (m *SendTransacSMS) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SendTransacSMS) UnmarshalBinary ¶ added in v1.5.0

func (m *SendTransacSMS) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SendTransacSMS) Validate ¶ added in v1.5.0

func (m *SendTransacSMS) Validate(formats strfmt.Registry) error

Validate validates this send transac Sms

type UpdateAttribute ¶ added in v1.2.0

type UpdateAttribute struct {

	// enumeration
	Enumeration UpdateAttributeEnumeration `json:"enumeration"`

	// Value of the attribute. Use only if the attribute's category is calculated or global
	Value string `json:"value,omitempty"`
}

UpdateAttribute update attribute swagger:model updateAttribute

func (*UpdateAttribute) MarshalBinary ¶ added in v1.2.0

func (m *UpdateAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAttribute) UnmarshalBinary ¶ added in v1.2.0

func (m *UpdateAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAttribute) Validate ¶ added in v1.2.0

func (m *UpdateAttribute) Validate(formats strfmt.Registry) error

Validate validates this update attribute

type UpdateAttributeEnumeration ¶ added in v1.2.0

type UpdateAttributeEnumeration []*UpdateAttributeEnumerationItems

UpdateAttributeEnumeration Values that the attribute can take. Use only if the attribute's category is category swagger:model updateAttributeEnumeration

func (UpdateAttributeEnumeration) Validate ¶ added in v1.2.0

func (m UpdateAttributeEnumeration) Validate(formats strfmt.Registry) error

Validate validates this update attribute enumeration

type UpdateAttributeEnumerationItems ¶ added in v1.2.0

type UpdateAttributeEnumerationItems struct {

	// Label of the value
	// Required: true
	Label *string `json:"label"`

	// Id of the value
	// Required: true
	Value *int64 `json:"value"`
}

UpdateAttributeEnumerationItems update attribute enumeration items swagger:model updateAttributeEnumerationItems

func (*UpdateAttributeEnumerationItems) MarshalBinary ¶ added in v1.2.0

func (m *UpdateAttributeEnumerationItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAttributeEnumerationItems) UnmarshalBinary ¶ added in v1.2.0

func (m *UpdateAttributeEnumerationItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAttributeEnumerationItems) Validate ¶ added in v1.2.0

Validate validates this update attribute enumeration items

type UpdateCampaignStatus ¶

type UpdateCampaignStatus struct {

	// status
	Status string `json:"status,omitempty"`
}

UpdateCampaignStatus Status of the campaign swagger:model updateCampaignStatus

func (*UpdateCampaignStatus) MarshalBinary ¶

func (m *UpdateCampaignStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateCampaignStatus) UnmarshalBinary ¶

func (m *UpdateCampaignStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateCampaignStatus) Validate ¶

func (m *UpdateCampaignStatus) Validate(formats strfmt.Registry) error

Validate validates this update campaign status

type UpdateChild ¶

type UpdateChild struct {

	// New Company name to use to update the child account
	CompanyName string `json:"companyName,omitempty"`

	// New Email address to update the child account
	Email strfmt.Email `json:"email,omitempty"`

	// New First name to use to update the child account
	FirstName string `json:"firstName,omitempty"`

	// ips
	Ips []int64 `json:"ips"`

	// New Last name to use to update the child account
	LastName string `json:"lastName,omitempty"`

	// New password for the child account to login
	Password strfmt.Password `json:"password,omitempty"`
}

UpdateChild update child swagger:model updateChild

func (*UpdateChild) MarshalBinary ¶

func (m *UpdateChild) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateChild) UnmarshalBinary ¶

func (m *UpdateChild) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateChild) Validate ¶

func (m *UpdateChild) Validate(formats strfmt.Registry) error

Validate validates this update child

type UpdateContact ¶

type UpdateContact struct {

	// attributes
	Attributes map[string]string `json:"attributes,omitempty"`

	// Blacklist the contact for emails (emailBlacklisted = true)
	EmailBlacklisted bool `json:"emailBlacklisted,omitempty"`

	// Ids of the lists to add the contact to
	ListIds []int64 `json:"listIds"`

	// Blacklist the contact for SMS (smsBlacklisted = true)
	SMSBlacklisted bool `json:"smsBlacklisted,omitempty"`

	// SMTP forbidden sender for contact. Use only for email Contact
	SMTPBlacklistSender []strfmt.Email `json:"smtpBlacklistSender"`

	// Ids of the lists to remove the contact from
	UnlinkListIds []int64 `json:"unlinkListIds"`
}

UpdateContact update contact swagger:model updateContact

func (*UpdateContact) MarshalBinary ¶

func (m *UpdateContact) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateContact) UnmarshalBinary ¶

func (m *UpdateContact) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateContact) Validate ¶

func (m *UpdateContact) Validate(formats strfmt.Registry) error

Validate validates this update contact

type UpdateEmailCampaign ¶

type UpdateEmailCampaign struct {

	// Absolute url of the attachment (no local file). Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps
	AttachmentURL string `json:"attachmentUrl,omitempty"`

	// Footer of the email campaign
	Footer string `json:"footer,omitempty"`

	// Header of the email campaign
	Header string `json:"header,omitempty"`

	// Body of the message (HTML version). REQUIRED if htmlUrl is empty
	HTMLContent string `json:"htmlContent,omitempty"`

	// Url which contents the body of the email message. REQUIRED if htmlContent is empty
	HTMLURL string `json:"htmlUrl,omitempty"`

	// Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. You cannot send a campaign of more than 4MB with images embedded in the email. Campaigns with the images embedded in the email must be sent to less than 5000 contacts.
	InlineImageActivation *bool `json:"inlineImageActivation,omitempty"`

	// Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign
	MirrorActive bool `json:"mirrorActive,omitempty"`

	// Name of the campaign
	Name string `json:"name,omitempty"`

	// recipients
	Recipients *UpdateEmailCampaignRecipients `json:"recipients,omitempty"`

	// FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times
	Recurring *bool `json:"recurring,omitempty"`

	// Email on which campaign recipients will be able to reply to
	ReplyTo strfmt.Email `json:"replyTo,omitempty"`

	// UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
	ScheduledAt strfmt.DateTime `json:"scheduledAt,omitempty"`

	// sender
	Sender *UpdateEmailCampaignSender `json:"sender,omitempty"`

	// Subject of the campaign
	Subject string `json:"subject,omitempty"`

	// Tag of the campaign
	Tag string `json:"tag,omitempty"`

	// This is to personalize the «To» Field. If you want to include the first name and last name of your recipient, add [FNAME] [LNAME]. To use the contact attributes here, these must already exist in SendinBlue account
	ToField string `json:"toField,omitempty"`

	// Customize the utm_campaign value. If this field is empty, the campaign name will be used. Only alphanumeric characters and spaces are allowed
	UtmCampaign string `json:"utmCampaign,omitempty"`
}

UpdateEmailCampaign update email campaign swagger:model updateEmailCampaign

func (*UpdateEmailCampaign) MarshalBinary ¶

func (m *UpdateEmailCampaign) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateEmailCampaign) UnmarshalBinary ¶

func (m *UpdateEmailCampaign) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateEmailCampaign) Validate ¶

func (m *UpdateEmailCampaign) Validate(formats strfmt.Registry) error

Validate validates this update email campaign

type UpdateEmailCampaignRecipients ¶

type UpdateEmailCampaignRecipients struct {

	// List ids which have to be excluded from a campaign
	ExclusionListIds []int64 `json:"exclusionListIds"`

	// Lists Ids to send the campaign to. REQUIRED if already not present in campaign and scheduledAt is not empty
	ListIds []int64 `json:"listIds"`
}

UpdateEmailCampaignRecipients update email campaign recipients swagger:model updateEmailCampaignRecipients

func (*UpdateEmailCampaignRecipients) MarshalBinary ¶

func (m *UpdateEmailCampaignRecipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateEmailCampaignRecipients) UnmarshalBinary ¶

func (m *UpdateEmailCampaignRecipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateEmailCampaignRecipients) Validate ¶

func (m *UpdateEmailCampaignRecipients) Validate(formats strfmt.Registry) error

Validate validates this update email campaign recipients

type UpdateEmailCampaignSender ¶

type UpdateEmailCampaignSender struct {

	// Sender email from which the campaign emails are sent
	Email strfmt.Email `json:"email,omitempty"`

	// Sender Name from which the campaign emails are sent
	Name string `json:"name,omitempty"`
}

UpdateEmailCampaignSender update email campaign sender swagger:model updateEmailCampaignSender

func (*UpdateEmailCampaignSender) MarshalBinary ¶

func (m *UpdateEmailCampaignSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateEmailCampaignSender) UnmarshalBinary ¶

func (m *UpdateEmailCampaignSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateEmailCampaignSender) Validate ¶

func (m *UpdateEmailCampaignSender) Validate(formats strfmt.Registry) error

Validate validates this update email campaign sender

type UpdateList ¶

type UpdateList struct {

	// Id of the folder in which to move the list. Only one parameter can updated at once
	FolderID int64 `json:"folderId,omitempty"`

	// Name of the list. Only one parameter can be update at once
	Name string `json:"name,omitempty"`
}

UpdateList update list swagger:model updateList

func (*UpdateList) MarshalBinary ¶

func (m *UpdateList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateList) UnmarshalBinary ¶

func (m *UpdateList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateList) Validate ¶

func (m *UpdateList) Validate(formats strfmt.Registry) error

Validate validates this update list

type UpdateSMSCampaign ¶ added in v1.5.0

type UpdateSMSCampaign struct {

	// Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS
	Content string `json:"content,omitempty"`

	// Name of the campaign
	Name string `json:"name,omitempty"`

	// recipients
	Recipients *UpdateSMSCampaignRecipients `json:"recipients,omitempty"`

	// UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
	ScheduledAt strfmt.DateTime `json:"scheduledAt,omitempty"`

	// Name of the sender. The number of characters is limited to 11
	// Max Length: 11
	Sender string `json:"sender,omitempty"`
}

UpdateSMSCampaign update Sms campaign swagger:model updateSmsCampaign

func (*UpdateSMSCampaign) MarshalBinary ¶ added in v1.5.0

func (m *UpdateSMSCampaign) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSMSCampaign) UnmarshalBinary ¶ added in v1.5.0

func (m *UpdateSMSCampaign) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSMSCampaign) Validate ¶ added in v1.5.0

func (m *UpdateSMSCampaign) Validate(formats strfmt.Registry) error

Validate validates this update Sms campaign

type UpdateSMSCampaignRecipients ¶ added in v1.5.0

type UpdateSMSCampaignRecipients struct {

	// List ids which have to be excluded from a campaign
	// Required: true
	ExclusionListIds []int64 `json:"exclusionListIds"`

	// Lists Ids to send the campaign to. REQUIRED if scheduledAt is not empty
	// Required: true
	ListIds []int64 `json:"listIds"`
}

UpdateSMSCampaignRecipients update Sms campaign recipients swagger:model updateSmsCampaignRecipients

func (*UpdateSMSCampaignRecipients) MarshalBinary ¶ added in v1.5.0

func (m *UpdateSMSCampaignRecipients) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSMSCampaignRecipients) UnmarshalBinary ¶ added in v1.5.0

func (m *UpdateSMSCampaignRecipients) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSMSCampaignRecipients) Validate ¶ added in v1.5.0

func (m *UpdateSMSCampaignRecipients) Validate(formats strfmt.Registry) error

Validate validates this update Sms campaign recipients

type UpdateSMTPTemplate ¶

type UpdateSMTPTemplate struct {

	// Absolute url of the attachment (no local file). Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps
	AttachmentURL string `json:"attachmentUrl,omitempty"`

	// Required if htmlUrl is empty. Body of the message (HTML must have more than 10 characters)
	HTMLContent string `json:"htmlContent,omitempty"`

	// Required if htmlContent is empty. URL to the body of the email (HTML)
	HTMLURL string `json:"htmlUrl,omitempty"`

	// Status of the template. isActive = false means template is inactive, isActive = true means template is active
	IsActive bool `json:"isActive,omitempty"`

	// Email on which campaign recipients will be able to reply to
	ReplyTo strfmt.Email `json:"replyTo,omitempty"`

	// sender
	Sender *UpdateSMTPTemplateSender `json:"sender,omitempty"`

	// Subject of the email
	Subject string `json:"subject,omitempty"`

	// Tag of the template
	Tag string `json:"tag,omitempty"`

	// Name of the template
	TemplateName string `json:"templateName,omitempty"`

	// To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, add [FNAME] [LNAME]. These attributes must already exist in contacts database
	ToField string `json:"toField,omitempty"`
}

UpdateSMTPTemplate update Smtp template swagger:model updateSmtpTemplate

func (*UpdateSMTPTemplate) MarshalBinary ¶

func (m *UpdateSMTPTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSMTPTemplate) UnmarshalBinary ¶

func (m *UpdateSMTPTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSMTPTemplate) Validate ¶

func (m *UpdateSMTPTemplate) Validate(formats strfmt.Registry) error

Validate validates this update Smtp template

type UpdateSMTPTemplateSender ¶

type UpdateSMTPTemplateSender struct {

	// Email of the sender
	Email strfmt.Email `json:"email,omitempty"`

	// Name of the sender
	Name string `json:"name,omitempty"`
}

UpdateSMTPTemplateSender update Smtp template sender swagger:model updateSmtpTemplateSender

func (*UpdateSMTPTemplateSender) MarshalBinary ¶

func (m *UpdateSMTPTemplateSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSMTPTemplateSender) UnmarshalBinary ¶

func (m *UpdateSMTPTemplateSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSMTPTemplateSender) Validate ¶

func (m *UpdateSMTPTemplateSender) Validate(formats strfmt.Registry) error

Validate validates this update Smtp template sender

type UpdateSender ¶

type UpdateSender struct {

	// From Email to update the sender
	Email strfmt.Email `json:"email,omitempty"`

	// ips
	Ips UpdateSenderIps `json:"ips"`

	// From Name to update the sender
	Name string `json:"name,omitempty"`
}

UpdateSender update sender swagger:model updateSender

func (*UpdateSender) MarshalBinary ¶

func (m *UpdateSender) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSender) UnmarshalBinary ¶

func (m *UpdateSender) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSender) Validate ¶

func (m *UpdateSender) Validate(formats strfmt.Registry) error

Validate validates this update sender

type UpdateSenderIps ¶

type UpdateSenderIps []*UpdateSenderIpsItems

UpdateSenderIps Only in case of dedicated IP, IPs to associate to the sender. If passed, will replace all the existing IPs. swagger:model updateSenderIps

func (UpdateSenderIps) Validate ¶

func (m UpdateSenderIps) Validate(formats strfmt.Registry) error

Validate validates this update sender ips

type UpdateSenderIpsItems ¶

type UpdateSenderIpsItems struct {

	// Domain of the IP
	// Required: true
	Domain *string `json:"domain"`

	// Dedicated IP available in your account
	// Required: true
	IP *string `json:"ip"`

	// Weight to apply to the IP. Sum of all IP weights must be 100. Should be passed for either ALL or NONE of the IPs. If it's not passed, the sending will be equally balanced on all IPs.
	// Maximum: 100
	// Minimum: 1
	Weight int64 `json:"weight,omitempty"`
}

UpdateSenderIpsItems update sender ips items swagger:model updateSenderIpsItems

func (*UpdateSenderIpsItems) MarshalBinary ¶

func (m *UpdateSenderIpsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSenderIpsItems) UnmarshalBinary ¶

func (m *UpdateSenderIpsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSenderIpsItems) Validate ¶

func (m *UpdateSenderIpsItems) Validate(formats strfmt.Registry) error

Validate validates this update sender ips items

type UpdateWebhook ¶

type UpdateWebhook struct {

	// Description of the webhook
	Description string `json:"description,omitempty"`

	// Events triggering the webhook. Possible values for Transactional type webhook – request, delivered, hardBounce, softBounce, blocked, spam, invalid, deferred, click, opened, uniqueOpened and unsubscribed and possible values for Marketing type webhook – spam, opened, click, hardBounce, softBounce, unsubscribed, listAddition and delivered
	Events []string `json:"events"`

	// URL of the webhook
	URL string `json:"url,omitempty"`
}

UpdateWebhook update webhook swagger:model updateWebhook

func (*UpdateWebhook) MarshalBinary ¶

func (m *UpdateWebhook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateWebhook) UnmarshalBinary ¶

func (m *UpdateWebhook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateWebhook) Validate ¶

func (m *UpdateWebhook) Validate(formats strfmt.Registry) error

Validate validates this update webhook

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL