shared

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

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) GetBody

func (o *Campaign) GetBody() *string

func (*Campaign) GetFrom

func (o *Campaign) GetFrom() *string

func (*Campaign) GetID

func (o *Campaign) GetID() *string

func (*Campaign) GetName

func (o *Campaign) GetName() *string

func (*Campaign) GetReplyTo

func (o *Campaign) GetReplyTo() *string

func (*Campaign) GetSchedule

func (o *Campaign) GetSchedule() *string

func (*Campaign) GetStatus

func (o *Campaign) GetStatus() *string

func (*Campaign) GetSubject

func (o *Campaign) GetSubject() *string

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"`
}

func (*Security) GetAPIKey

func (o *Security) GetAPIKey() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL