Documentation
¶
Index ¶
- type Campaign
- func (o *Campaign) GetBody() *string
- func (o *Campaign) GetFrom() *string
- func (o *Campaign) GetID() *string
- func (o *Campaign) GetName() *string
- func (o *Campaign) GetReplyTo() *string
- func (o *Campaign) GetSchedule() *string
- func (o *Campaign) GetStatus() *string
- func (o *Campaign) GetSubject() *string
- type CampaignRequest
- type CampaignSending
- type CampaignSendingRequest
- type ErrorResponse
- type Security
- type Subscription
- type SubscriptionRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Campaign ¶
type Campaign struct { // Campaign body Body *string `json:"body,omitempty"` // Campaign from address From *string `json:"from,omitempty"` // Campaign ID ID *string `json:"id,omitempty"` // Campaign name Name *string `json:"name,omitempty"` // Campaign reply to address ReplyTo *string `json:"replyTo,omitempty"` // Campaign schedule Schedule *string `json:"schedule,omitempty"` // Campaign status Status *string `json:"status,omitempty"` // Campaign subject Subject *string `json:"subject,omitempty"` }
func (*Campaign) GetReplyTo ¶
func (*Campaign) GetSchedule ¶
func (*Campaign) GetSubject ¶
type CampaignRequest ¶
type CampaignRequest struct { // Campaign body Body *string `json:"body,omitempty"` // Campaign from address From *string `json:"from,omitempty"` // Campaign name Name *string `json:"name,omitempty"` // Campaign reply to address ReplyTo *string `json:"replyTo,omitempty"` // Campaign schedule Schedule *string `json:"schedule,omitempty"` // Campaign subject Subject *string `json:"subject,omitempty"` }
func (*CampaignRequest) GetBody ¶
func (o *CampaignRequest) GetBody() *string
func (*CampaignRequest) GetFrom ¶
func (o *CampaignRequest) GetFrom() *string
func (*CampaignRequest) GetName ¶
func (o *CampaignRequest) GetName() *string
func (*CampaignRequest) GetReplyTo ¶
func (o *CampaignRequest) GetReplyTo() *string
func (*CampaignRequest) GetSchedule ¶
func (o *CampaignRequest) GetSchedule() *string
func (*CampaignRequest) GetSubject ¶
func (o *CampaignRequest) GetSubject() *string
type CampaignSending ¶
type CampaignSending struct { // Campaign ID CampaignID *string `json:"campaignId,omitempty"` // Number of emails sent SendCount *int64 `json:"sendCount,omitempty"` }
func (*CampaignSending) GetCampaignID ¶
func (o *CampaignSending) GetCampaignID() *string
func (*CampaignSending) GetSendCount ¶
func (o *CampaignSending) GetSendCount() *int64
type CampaignSendingRequest ¶
type CampaignSendingRequest struct { // Campaign ID CampaignID *string `json:"campaignId,omitempty"` }
func (*CampaignSendingRequest) GetCampaignID ¶
func (o *CampaignSendingRequest) GetCampaignID() *string
type ErrorResponse ¶
type ErrorResponse struct { // Error message Error *string `json:"error,omitempty"` }
func (*ErrorResponse) GetError ¶
func (o *ErrorResponse) GetError() *string
type Security ¶
type Security struct {
APIKey string `security:"scheme,type=apiKey,subtype=header,name=Authorization"`
}
type Subscription ¶
type Subscription struct { // Campaign ID CampaignID *string `json:"campaignId,omitempty"` // Email address Email *string `json:"email,omitempty"` }
func (*Subscription) GetCampaignID ¶
func (o *Subscription) GetCampaignID() *string
func (*Subscription) GetEmail ¶
func (o *Subscription) GetEmail() *string
type SubscriptionRequest ¶
type SubscriptionRequest struct { // Email address Email *string `json:"email,omitempty"` }
func (*SubscriptionRequest) GetEmail ¶
func (o *SubscriptionRequest) GetEmail() *string
Click to show internal directories.
Click to hide internal directories.