Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSMTPTemplate(params *CreateSMTPTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSMTPTemplateCreated, error)
- func (a *Client) DeleteHardbounces(params *DeleteHardbouncesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHardbouncesNoContent, error)
- func (a *Client) GetAggregatedSMTPReport(params *GetAggregatedSMTPReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetAggregatedSMTPReportOK, error)
- func (a *Client) GetEmailEventReport(params *GetEmailEventReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetEmailEventReportOK, error)
- func (a *Client) GetSMTPReport(params *GetSMTPReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMTPReportOK, error)
- func (a *Client) GetSMTPTemplate(params *GetSMTPTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMTPTemplateOK, error)
- func (a *Client) GetSMTPTemplates(params *GetSMTPTemplatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMTPTemplatesOK, error)
- func (a *Client) SendTemplate(params *SendTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*SendTemplateCreated, error)
- func (a *Client) SendTestTemplate(params *SendTestTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*SendTestTemplateNoContent, error)
- func (a *Client) SendTransacEmail(params *SendTransacEmailParams, authInfo runtime.ClientAuthInfoWriter) (*SendTransacEmailCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSMTPTemplate(params *UpdateSMTPTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSMTPTemplateNoContent, error)
- type CreateSMTPTemplateBadRequest
- type CreateSMTPTemplateCreated
- type CreateSMTPTemplateParams
- func NewCreateSMTPTemplateParams() *CreateSMTPTemplateParams
- func NewCreateSMTPTemplateParamsWithContext(ctx context.Context) *CreateSMTPTemplateParams
- func NewCreateSMTPTemplateParamsWithHTTPClient(client *http.Client) *CreateSMTPTemplateParams
- func NewCreateSMTPTemplateParamsWithTimeout(timeout time.Duration) *CreateSMTPTemplateParams
- func (o *CreateSMTPTemplateParams) SetContext(ctx context.Context)
- func (o *CreateSMTPTemplateParams) SetHTTPClient(client *http.Client)
- func (o *CreateSMTPTemplateParams) SetSMTPTemplate(sMTPTemplate *models.CreateSMTPTemplate)
- func (o *CreateSMTPTemplateParams) SetTimeout(timeout time.Duration)
- func (o *CreateSMTPTemplateParams) WithContext(ctx context.Context) *CreateSMTPTemplateParams
- func (o *CreateSMTPTemplateParams) WithHTTPClient(client *http.Client) *CreateSMTPTemplateParams
- func (o *CreateSMTPTemplateParams) WithSMTPTemplate(sMTPTemplate *models.CreateSMTPTemplate) *CreateSMTPTemplateParams
- func (o *CreateSMTPTemplateParams) WithTimeout(timeout time.Duration) *CreateSMTPTemplateParams
- func (o *CreateSMTPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSMTPTemplateReader
- type DeleteHardbouncesBadRequest
- type DeleteHardbouncesNoContent
- type DeleteHardbouncesParams
- func NewDeleteHardbouncesParams() *DeleteHardbouncesParams
- func NewDeleteHardbouncesParamsWithContext(ctx context.Context) *DeleteHardbouncesParams
- func NewDeleteHardbouncesParamsWithHTTPClient(client *http.Client) *DeleteHardbouncesParams
- func NewDeleteHardbouncesParamsWithTimeout(timeout time.Duration) *DeleteHardbouncesParams
- func (o *DeleteHardbouncesParams) SetContext(ctx context.Context)
- func (o *DeleteHardbouncesParams) SetDeleteHardbounces(deleteHardbounces *models.DeleteHardbounces)
- func (o *DeleteHardbouncesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHardbouncesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHardbouncesParams) WithContext(ctx context.Context) *DeleteHardbouncesParams
- func (o *DeleteHardbouncesParams) WithDeleteHardbounces(deleteHardbounces *models.DeleteHardbounces) *DeleteHardbouncesParams
- func (o *DeleteHardbouncesParams) WithHTTPClient(client *http.Client) *DeleteHardbouncesParams
- func (o *DeleteHardbouncesParams) WithTimeout(timeout time.Duration) *DeleteHardbouncesParams
- func (o *DeleteHardbouncesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHardbouncesReader
- type GetAggregatedSMTPReportBadRequest
- type GetAggregatedSMTPReportOK
- type GetAggregatedSMTPReportParams
- func NewGetAggregatedSMTPReportParams() *GetAggregatedSMTPReportParams
- func NewGetAggregatedSMTPReportParamsWithContext(ctx context.Context) *GetAggregatedSMTPReportParams
- func NewGetAggregatedSMTPReportParamsWithHTTPClient(client *http.Client) *GetAggregatedSMTPReportParams
- func NewGetAggregatedSMTPReportParamsWithTimeout(timeout time.Duration) *GetAggregatedSMTPReportParams
- func (o *GetAggregatedSMTPReportParams) SetContext(ctx context.Context)
- func (o *GetAggregatedSMTPReportParams) SetDays(days *int64)
- func (o *GetAggregatedSMTPReportParams) SetEndDate(endDate *strfmt.Date)
- func (o *GetAggregatedSMTPReportParams) SetHTTPClient(client *http.Client)
- func (o *GetAggregatedSMTPReportParams) SetStartDate(startDate *strfmt.Date)
- func (o *GetAggregatedSMTPReportParams) SetTag(tag *string)
- func (o *GetAggregatedSMTPReportParams) SetTimeout(timeout time.Duration)
- func (o *GetAggregatedSMTPReportParams) WithContext(ctx context.Context) *GetAggregatedSMTPReportParams
- func (o *GetAggregatedSMTPReportParams) WithDays(days *int64) *GetAggregatedSMTPReportParams
- func (o *GetAggregatedSMTPReportParams) WithEndDate(endDate *strfmt.Date) *GetAggregatedSMTPReportParams
- func (o *GetAggregatedSMTPReportParams) WithHTTPClient(client *http.Client) *GetAggregatedSMTPReportParams
- func (o *GetAggregatedSMTPReportParams) WithStartDate(startDate *strfmt.Date) *GetAggregatedSMTPReportParams
- func (o *GetAggregatedSMTPReportParams) WithTag(tag *string) *GetAggregatedSMTPReportParams
- func (o *GetAggregatedSMTPReportParams) WithTimeout(timeout time.Duration) *GetAggregatedSMTPReportParams
- func (o *GetAggregatedSMTPReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAggregatedSMTPReportReader
- type GetEmailEventReportBadRequest
- type GetEmailEventReportOK
- type GetEmailEventReportParams
- func NewGetEmailEventReportParams() *GetEmailEventReportParams
- func NewGetEmailEventReportParamsWithContext(ctx context.Context) *GetEmailEventReportParams
- func NewGetEmailEventReportParamsWithHTTPClient(client *http.Client) *GetEmailEventReportParams
- func NewGetEmailEventReportParamsWithTimeout(timeout time.Duration) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) SetContext(ctx context.Context)
- func (o *GetEmailEventReportParams) SetDays(days *int64)
- func (o *GetEmailEventReportParams) SetEmail(email *strfmt.Email)
- func (o *GetEmailEventReportParams) SetEndDate(endDate *strfmt.Date)
- func (o *GetEmailEventReportParams) SetEvent(event *string)
- func (o *GetEmailEventReportParams) SetHTTPClient(client *http.Client)
- func (o *GetEmailEventReportParams) SetLimit(limit *int64)
- func (o *GetEmailEventReportParams) SetMessageID(messageID *string)
- func (o *GetEmailEventReportParams) SetOffset(offset *int64)
- func (o *GetEmailEventReportParams) SetStartDate(startDate *strfmt.Date)
- func (o *GetEmailEventReportParams) SetTags(tags *string)
- func (o *GetEmailEventReportParams) SetTemplateID(templateID *int64)
- func (o *GetEmailEventReportParams) SetTimeout(timeout time.Duration)
- func (o *GetEmailEventReportParams) WithContext(ctx context.Context) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithDays(days *int64) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithEmail(email *strfmt.Email) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithEndDate(endDate *strfmt.Date) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithEvent(event *string) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithHTTPClient(client *http.Client) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithLimit(limit *int64) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithMessageID(messageID *string) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithOffset(offset *int64) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithStartDate(startDate *strfmt.Date) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithTags(tags *string) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithTemplateID(templateID *int64) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WithTimeout(timeout time.Duration) *GetEmailEventReportParams
- func (o *GetEmailEventReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEmailEventReportReader
- type GetSMTPReportBadRequest
- type GetSMTPReportOK
- type GetSMTPReportParams
- func (o *GetSMTPReportParams) SetContext(ctx context.Context)
- func (o *GetSMTPReportParams) SetDays(days *int64)
- func (o *GetSMTPReportParams) SetEndDate(endDate *strfmt.Date)
- func (o *GetSMTPReportParams) SetHTTPClient(client *http.Client)
- func (o *GetSMTPReportParams) SetLimit(limit *int64)
- func (o *GetSMTPReportParams) SetOffset(offset *int64)
- func (o *GetSMTPReportParams) SetStartDate(startDate *strfmt.Date)
- func (o *GetSMTPReportParams) SetTag(tag *string)
- func (o *GetSMTPReportParams) SetTimeout(timeout time.Duration)
- func (o *GetSMTPReportParams) WithContext(ctx context.Context) *GetSMTPReportParams
- func (o *GetSMTPReportParams) WithDays(days *int64) *GetSMTPReportParams
- func (o *GetSMTPReportParams) WithEndDate(endDate *strfmt.Date) *GetSMTPReportParams
- func (o *GetSMTPReportParams) WithHTTPClient(client *http.Client) *GetSMTPReportParams
- func (o *GetSMTPReportParams) WithLimit(limit *int64) *GetSMTPReportParams
- func (o *GetSMTPReportParams) WithOffset(offset *int64) *GetSMTPReportParams
- func (o *GetSMTPReportParams) WithStartDate(startDate *strfmt.Date) *GetSMTPReportParams
- func (o *GetSMTPReportParams) WithTag(tag *string) *GetSMTPReportParams
- func (o *GetSMTPReportParams) WithTimeout(timeout time.Duration) *GetSMTPReportParams
- func (o *GetSMTPReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSMTPReportReader
- type GetSMTPTemplateBadRequest
- type GetSMTPTemplateNotFound
- type GetSMTPTemplateOK
- type GetSMTPTemplateParams
- func NewGetSMTPTemplateParams() *GetSMTPTemplateParams
- func NewGetSMTPTemplateParamsWithContext(ctx context.Context) *GetSMTPTemplateParams
- func NewGetSMTPTemplateParamsWithHTTPClient(client *http.Client) *GetSMTPTemplateParams
- func NewGetSMTPTemplateParamsWithTimeout(timeout time.Duration) *GetSMTPTemplateParams
- func (o *GetSMTPTemplateParams) SetContext(ctx context.Context)
- func (o *GetSMTPTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetSMTPTemplateParams) SetTemplateID(templateID int64)
- func (o *GetSMTPTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetSMTPTemplateParams) WithContext(ctx context.Context) *GetSMTPTemplateParams
- func (o *GetSMTPTemplateParams) WithHTTPClient(client *http.Client) *GetSMTPTemplateParams
- func (o *GetSMTPTemplateParams) WithTemplateID(templateID int64) *GetSMTPTemplateParams
- func (o *GetSMTPTemplateParams) WithTimeout(timeout time.Duration) *GetSMTPTemplateParams
- func (o *GetSMTPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSMTPTemplateReader
- type GetSMTPTemplatesBadRequest
- type GetSMTPTemplatesOK
- type GetSMTPTemplatesParams
- func NewGetSMTPTemplatesParams() *GetSMTPTemplatesParams
- func NewGetSMTPTemplatesParamsWithContext(ctx context.Context) *GetSMTPTemplatesParams
- func NewGetSMTPTemplatesParamsWithHTTPClient(client *http.Client) *GetSMTPTemplatesParams
- func NewGetSMTPTemplatesParamsWithTimeout(timeout time.Duration) *GetSMTPTemplatesParams
- func (o *GetSMTPTemplatesParams) SetContext(ctx context.Context)
- func (o *GetSMTPTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *GetSMTPTemplatesParams) SetLimit(limit *int64)
- func (o *GetSMTPTemplatesParams) SetOffset(offset *int64)
- func (o *GetSMTPTemplatesParams) SetTemplateStatus(templateStatus *bool)
- func (o *GetSMTPTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *GetSMTPTemplatesParams) WithContext(ctx context.Context) *GetSMTPTemplatesParams
- func (o *GetSMTPTemplatesParams) WithHTTPClient(client *http.Client) *GetSMTPTemplatesParams
- func (o *GetSMTPTemplatesParams) WithLimit(limit *int64) *GetSMTPTemplatesParams
- func (o *GetSMTPTemplatesParams) WithOffset(offset *int64) *GetSMTPTemplatesParams
- func (o *GetSMTPTemplatesParams) WithTemplateStatus(templateStatus *bool) *GetSMTPTemplatesParams
- func (o *GetSMTPTemplatesParams) WithTimeout(timeout time.Duration) *GetSMTPTemplatesParams
- func (o *GetSMTPTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSMTPTemplatesReader
- type SendTemplateBadRequest
- type SendTemplateCreated
- type SendTemplateNotFound
- type SendTemplateParams
- func (o *SendTemplateParams) SetContext(ctx context.Context)
- func (o *SendTemplateParams) SetHTTPClient(client *http.Client)
- func (o *SendTemplateParams) SetSendEmail(sendEmail *models.SendEmail)
- func (o *SendTemplateParams) SetTemplateID(templateID int64)
- func (o *SendTemplateParams) SetTimeout(timeout time.Duration)
- func (o *SendTemplateParams) WithContext(ctx context.Context) *SendTemplateParams
- func (o *SendTemplateParams) WithHTTPClient(client *http.Client) *SendTemplateParams
- func (o *SendTemplateParams) WithSendEmail(sendEmail *models.SendEmail) *SendTemplateParams
- func (o *SendTemplateParams) WithTemplateID(templateID int64) *SendTemplateParams
- func (o *SendTemplateParams) WithTimeout(timeout time.Duration) *SendTemplateParams
- func (o *SendTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendTemplateReader
- type SendTestTemplateBadRequest
- type SendTestTemplateNoContent
- type SendTestTemplateNotFound
- type SendTestTemplateParams
- func NewSendTestTemplateParams() *SendTestTemplateParams
- func NewSendTestTemplateParamsWithContext(ctx context.Context) *SendTestTemplateParams
- func NewSendTestTemplateParamsWithHTTPClient(client *http.Client) *SendTestTemplateParams
- func NewSendTestTemplateParamsWithTimeout(timeout time.Duration) *SendTestTemplateParams
- func (o *SendTestTemplateParams) SetContext(ctx context.Context)
- func (o *SendTestTemplateParams) SetHTTPClient(client *http.Client)
- func (o *SendTestTemplateParams) SetSendTestEmail(sendTestEmail *models.SendTestEmail)
- func (o *SendTestTemplateParams) SetTemplateID(templateID int64)
- func (o *SendTestTemplateParams) SetTimeout(timeout time.Duration)
- func (o *SendTestTemplateParams) WithContext(ctx context.Context) *SendTestTemplateParams
- func (o *SendTestTemplateParams) WithHTTPClient(client *http.Client) *SendTestTemplateParams
- func (o *SendTestTemplateParams) WithSendTestEmail(sendTestEmail *models.SendTestEmail) *SendTestTemplateParams
- func (o *SendTestTemplateParams) WithTemplateID(templateID int64) *SendTestTemplateParams
- func (o *SendTestTemplateParams) WithTimeout(timeout time.Duration) *SendTestTemplateParams
- func (o *SendTestTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendTestTemplateReader
- type SendTransacEmailBadRequest
- type SendTransacEmailCreated
- type SendTransacEmailParams
- func NewSendTransacEmailParams() *SendTransacEmailParams
- func NewSendTransacEmailParamsWithContext(ctx context.Context) *SendTransacEmailParams
- func NewSendTransacEmailParamsWithHTTPClient(client *http.Client) *SendTransacEmailParams
- func NewSendTransacEmailParamsWithTimeout(timeout time.Duration) *SendTransacEmailParams
- func (o *SendTransacEmailParams) SetContext(ctx context.Context)
- func (o *SendTransacEmailParams) SetHTTPClient(client *http.Client)
- func (o *SendTransacEmailParams) SetSendSMTPEmail(sendSMTPEmail *models.SendSMTPEmail)
- func (o *SendTransacEmailParams) SetTimeout(timeout time.Duration)
- func (o *SendTransacEmailParams) WithContext(ctx context.Context) *SendTransacEmailParams
- func (o *SendTransacEmailParams) WithHTTPClient(client *http.Client) *SendTransacEmailParams
- func (o *SendTransacEmailParams) WithSendSMTPEmail(sendSMTPEmail *models.SendSMTPEmail) *SendTransacEmailParams
- func (o *SendTransacEmailParams) WithTimeout(timeout time.Duration) *SendTransacEmailParams
- func (o *SendTransacEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendTransacEmailReader
- type UpdateSMTPTemplateBadRequest
- type UpdateSMTPTemplateNoContent
- type UpdateSMTPTemplateNotFound
- type UpdateSMTPTemplateParams
- func NewUpdateSMTPTemplateParams() *UpdateSMTPTemplateParams
- func NewUpdateSMTPTemplateParamsWithContext(ctx context.Context) *UpdateSMTPTemplateParams
- func NewUpdateSMTPTemplateParamsWithHTTPClient(client *http.Client) *UpdateSMTPTemplateParams
- func NewUpdateSMTPTemplateParamsWithTimeout(timeout time.Duration) *UpdateSMTPTemplateParams
- func (o *UpdateSMTPTemplateParams) SetContext(ctx context.Context)
- func (o *UpdateSMTPTemplateParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSMTPTemplateParams) SetSMTPTemplate(sMTPTemplate *models.UpdateSMTPTemplate)
- func (o *UpdateSMTPTemplateParams) SetTemplateID(templateID int64)
- func (o *UpdateSMTPTemplateParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSMTPTemplateParams) WithContext(ctx context.Context) *UpdateSMTPTemplateParams
- func (o *UpdateSMTPTemplateParams) WithHTTPClient(client *http.Client) *UpdateSMTPTemplateParams
- func (o *UpdateSMTPTemplateParams) WithSMTPTemplate(sMTPTemplate *models.UpdateSMTPTemplate) *UpdateSMTPTemplateParams
- func (o *UpdateSMTPTemplateParams) WithTemplateID(templateID int64) *UpdateSMTPTemplateParams
- func (o *UpdateSMTPTemplateParams) WithTimeout(timeout time.Duration) *UpdateSMTPTemplateParams
- func (o *UpdateSMTPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSMTPTemplateReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for smtp API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new smtp API client.
func (*Client) CreateSMTPTemplate ¶
func (a *Client) CreateSMTPTemplate(params *CreateSMTPTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSMTPTemplateCreated, error)
CreateSMTPTemplate creates an smtp template
func (*Client) DeleteHardbounces ¶
func (a *Client) DeleteHardbounces(params *DeleteHardbouncesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteHardbouncesNoContent, error)
DeleteHardbounces deletes hardbounces
Delete hardbounces. To use carefully (e.g. in case of temporary ISP failures)
func (*Client) GetAggregatedSMTPReport ¶
func (a *Client) GetAggregatedSMTPReport(params *GetAggregatedSMTPReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetAggregatedSMTPReportOK, error)
GetAggregatedSMTPReport gets your SMTP activity aggregated over a period of time
func (*Client) GetEmailEventReport ¶
func (a *Client) GetEmailEventReport(params *GetEmailEventReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetEmailEventReportOK, error)
GetEmailEventReport gets all your SMTP activity unaggregated events
func (*Client) GetSMTPReport ¶
func (a *Client) GetSMTPReport(params *GetSMTPReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMTPReportOK, error)
GetSMTPReport gets your SMTP activity aggregated per day
func (*Client) GetSMTPTemplate ¶
func (a *Client) GetSMTPTemplate(params *GetSMTPTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMTPTemplateOK, error)
GetSMTPTemplate returns the template informations
func (*Client) GetSMTPTemplates ¶
func (a *Client) GetSMTPTemplates(params *GetSMTPTemplatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMTPTemplatesOK, error)
GetSMTPTemplates gets the list of SMTP templates
func (*Client) SendTemplate ¶
func (a *Client) SendTemplate(params *SendTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*SendTemplateCreated, error)
SendTemplate sends a template
func (*Client) SendTestTemplate ¶
func (a *Client) SendTestTemplate(params *SendTestTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*SendTestTemplateNoContent, error)
SendTestTemplate sends a template to your test list
func (*Client) SendTransacEmail ¶
func (a *Client) SendTransacEmail(params *SendTransacEmailParams, authInfo runtime.ClientAuthInfoWriter) (*SendTransacEmailCreated, error)
SendTransacEmail sends a transactional email
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSMTPTemplate ¶
func (a *Client) UpdateSMTPTemplate(params *UpdateSMTPTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSMTPTemplateNoContent, error)
UpdateSMTPTemplate updates an smtp templates
type CreateSMTPTemplateBadRequest ¶
type CreateSMTPTemplateBadRequest struct {
Payload *models.ErrorModel
}
CreateSMTPTemplateBadRequest handles this case with default header values.
bad request
func NewCreateSMTPTemplateBadRequest ¶
func NewCreateSMTPTemplateBadRequest() *CreateSMTPTemplateBadRequest
NewCreateSMTPTemplateBadRequest creates a CreateSMTPTemplateBadRequest with default headers values
func (*CreateSMTPTemplateBadRequest) Error ¶
func (o *CreateSMTPTemplateBadRequest) Error() string
type CreateSMTPTemplateCreated ¶
type CreateSMTPTemplateCreated struct {
Payload *models.CreateModel
}
CreateSMTPTemplateCreated handles this case with default header values.
SMTP template created
func NewCreateSMTPTemplateCreated ¶
func NewCreateSMTPTemplateCreated() *CreateSMTPTemplateCreated
NewCreateSMTPTemplateCreated creates a CreateSMTPTemplateCreated with default headers values
func (*CreateSMTPTemplateCreated) Error ¶
func (o *CreateSMTPTemplateCreated) Error() string
type CreateSMTPTemplateParams ¶
type CreateSMTPTemplateParams struct { /*SMTPTemplate values to update in smtp template */ SMTPTemplate *models.CreateSMTPTemplate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSMTPTemplateParams contains all the parameters to send to the API endpoint for the create Smtp template operation typically these are written to a http.Request
func NewCreateSMTPTemplateParams ¶
func NewCreateSMTPTemplateParams() *CreateSMTPTemplateParams
NewCreateSMTPTemplateParams creates a new CreateSMTPTemplateParams object with the default values initialized.
func NewCreateSMTPTemplateParamsWithContext ¶
func NewCreateSMTPTemplateParamsWithContext(ctx context.Context) *CreateSMTPTemplateParams
NewCreateSMTPTemplateParamsWithContext creates a new CreateSMTPTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSMTPTemplateParamsWithHTTPClient ¶
func NewCreateSMTPTemplateParamsWithHTTPClient(client *http.Client) *CreateSMTPTemplateParams
NewCreateSMTPTemplateParamsWithHTTPClient creates a new CreateSMTPTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSMTPTemplateParamsWithTimeout ¶
func NewCreateSMTPTemplateParamsWithTimeout(timeout time.Duration) *CreateSMTPTemplateParams
NewCreateSMTPTemplateParamsWithTimeout creates a new CreateSMTPTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSMTPTemplateParams) SetContext ¶
func (o *CreateSMTPTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the create Smtp template params
func (*CreateSMTPTemplateParams) SetHTTPClient ¶
func (o *CreateSMTPTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Smtp template params
func (*CreateSMTPTemplateParams) SetSMTPTemplate ¶
func (o *CreateSMTPTemplateParams) SetSMTPTemplate(sMTPTemplate *models.CreateSMTPTemplate)
SetSMTPTemplate adds the smtpTemplate to the create Smtp template params
func (*CreateSMTPTemplateParams) SetTimeout ¶
func (o *CreateSMTPTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Smtp template params
func (*CreateSMTPTemplateParams) WithContext ¶
func (o *CreateSMTPTemplateParams) WithContext(ctx context.Context) *CreateSMTPTemplateParams
WithContext adds the context to the create Smtp template params
func (*CreateSMTPTemplateParams) WithHTTPClient ¶
func (o *CreateSMTPTemplateParams) WithHTTPClient(client *http.Client) *CreateSMTPTemplateParams
WithHTTPClient adds the HTTPClient to the create Smtp template params
func (*CreateSMTPTemplateParams) WithSMTPTemplate ¶
func (o *CreateSMTPTemplateParams) WithSMTPTemplate(sMTPTemplate *models.CreateSMTPTemplate) *CreateSMTPTemplateParams
WithSMTPTemplate adds the sMTPTemplate to the create Smtp template params
func (*CreateSMTPTemplateParams) WithTimeout ¶
func (o *CreateSMTPTemplateParams) WithTimeout(timeout time.Duration) *CreateSMTPTemplateParams
WithTimeout adds the timeout to the create Smtp template params
func (*CreateSMTPTemplateParams) WriteToRequest ¶
func (o *CreateSMTPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSMTPTemplateReader ¶
type CreateSMTPTemplateReader struct {
// contains filtered or unexported fields
}
CreateSMTPTemplateReader is a Reader for the CreateSMTPTemplate structure.
func (*CreateSMTPTemplateReader) ReadResponse ¶
func (o *CreateSMTPTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHardbouncesBadRequest ¶
type DeleteHardbouncesBadRequest struct {
Payload *models.ErrorModel
}
DeleteHardbouncesBadRequest handles this case with default header values.
bad request
func NewDeleteHardbouncesBadRequest ¶
func NewDeleteHardbouncesBadRequest() *DeleteHardbouncesBadRequest
NewDeleteHardbouncesBadRequest creates a DeleteHardbouncesBadRequest with default headers values
func (*DeleteHardbouncesBadRequest) Error ¶
func (o *DeleteHardbouncesBadRequest) Error() string
type DeleteHardbouncesNoContent ¶
type DeleteHardbouncesNoContent struct { }
DeleteHardbouncesNoContent handles this case with default header values.
Hardbounces deleted
func NewDeleteHardbouncesNoContent ¶
func NewDeleteHardbouncesNoContent() *DeleteHardbouncesNoContent
NewDeleteHardbouncesNoContent creates a DeleteHardbouncesNoContent with default headers values
func (*DeleteHardbouncesNoContent) Error ¶
func (o *DeleteHardbouncesNoContent) Error() string
type DeleteHardbouncesParams ¶
type DeleteHardbouncesParams struct { /*DeleteHardbounces values to delete hardbounces */ DeleteHardbounces *models.DeleteHardbounces Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteHardbouncesParams contains all the parameters to send to the API endpoint for the delete hardbounces operation typically these are written to a http.Request
func NewDeleteHardbouncesParams ¶
func NewDeleteHardbouncesParams() *DeleteHardbouncesParams
NewDeleteHardbouncesParams creates a new DeleteHardbouncesParams object with the default values initialized.
func NewDeleteHardbouncesParamsWithContext ¶
func NewDeleteHardbouncesParamsWithContext(ctx context.Context) *DeleteHardbouncesParams
NewDeleteHardbouncesParamsWithContext creates a new DeleteHardbouncesParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteHardbouncesParamsWithHTTPClient ¶
func NewDeleteHardbouncesParamsWithHTTPClient(client *http.Client) *DeleteHardbouncesParams
NewDeleteHardbouncesParamsWithHTTPClient creates a new DeleteHardbouncesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteHardbouncesParamsWithTimeout ¶
func NewDeleteHardbouncesParamsWithTimeout(timeout time.Duration) *DeleteHardbouncesParams
NewDeleteHardbouncesParamsWithTimeout creates a new DeleteHardbouncesParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteHardbouncesParams) SetContext ¶
func (o *DeleteHardbouncesParams) SetContext(ctx context.Context)
SetContext adds the context to the delete hardbounces params
func (*DeleteHardbouncesParams) SetDeleteHardbounces ¶
func (o *DeleteHardbouncesParams) SetDeleteHardbounces(deleteHardbounces *models.DeleteHardbounces)
SetDeleteHardbounces adds the deleteHardbounces to the delete hardbounces params
func (*DeleteHardbouncesParams) SetHTTPClient ¶
func (o *DeleteHardbouncesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete hardbounces params
func (*DeleteHardbouncesParams) SetTimeout ¶
func (o *DeleteHardbouncesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete hardbounces params
func (*DeleteHardbouncesParams) WithContext ¶
func (o *DeleteHardbouncesParams) WithContext(ctx context.Context) *DeleteHardbouncesParams
WithContext adds the context to the delete hardbounces params
func (*DeleteHardbouncesParams) WithDeleteHardbounces ¶
func (o *DeleteHardbouncesParams) WithDeleteHardbounces(deleteHardbounces *models.DeleteHardbounces) *DeleteHardbouncesParams
WithDeleteHardbounces adds the deleteHardbounces to the delete hardbounces params
func (*DeleteHardbouncesParams) WithHTTPClient ¶
func (o *DeleteHardbouncesParams) WithHTTPClient(client *http.Client) *DeleteHardbouncesParams
WithHTTPClient adds the HTTPClient to the delete hardbounces params
func (*DeleteHardbouncesParams) WithTimeout ¶
func (o *DeleteHardbouncesParams) WithTimeout(timeout time.Duration) *DeleteHardbouncesParams
WithTimeout adds the timeout to the delete hardbounces params
func (*DeleteHardbouncesParams) WriteToRequest ¶
func (o *DeleteHardbouncesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHardbouncesReader ¶
type DeleteHardbouncesReader struct {
// contains filtered or unexported fields
}
DeleteHardbouncesReader is a Reader for the DeleteHardbounces structure.
func (*DeleteHardbouncesReader) ReadResponse ¶
func (o *DeleteHardbouncesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAggregatedSMTPReportBadRequest ¶
type GetAggregatedSMTPReportBadRequest struct {
Payload *models.ErrorModel
}
GetAggregatedSMTPReportBadRequest handles this case with default header values.
bad request
func NewGetAggregatedSMTPReportBadRequest ¶
func NewGetAggregatedSMTPReportBadRequest() *GetAggregatedSMTPReportBadRequest
NewGetAggregatedSMTPReportBadRequest creates a GetAggregatedSMTPReportBadRequest with default headers values
func (*GetAggregatedSMTPReportBadRequest) Error ¶
func (o *GetAggregatedSMTPReportBadRequest) Error() string
type GetAggregatedSMTPReportOK ¶
type GetAggregatedSMTPReportOK struct {
Payload *models.GetAggregatedReport
}
GetAggregatedSMTPReportOK handles this case with default header values.
Aggregated report informations
func NewGetAggregatedSMTPReportOK ¶
func NewGetAggregatedSMTPReportOK() *GetAggregatedSMTPReportOK
NewGetAggregatedSMTPReportOK creates a GetAggregatedSMTPReportOK with default headers values
func (*GetAggregatedSMTPReportOK) Error ¶
func (o *GetAggregatedSMTPReportOK) Error() string
type GetAggregatedSMTPReportParams ¶
type GetAggregatedSMTPReportParams struct { /*Days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' */ Days *int64 /*EndDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate */ EndDate *strfmt.Date /*StartDate Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate */ StartDate *strfmt.Date /*Tag Tag of the emails */ Tag *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAggregatedSMTPReportParams contains all the parameters to send to the API endpoint for the get aggregated Smtp report operation typically these are written to a http.Request
func NewGetAggregatedSMTPReportParams ¶
func NewGetAggregatedSMTPReportParams() *GetAggregatedSMTPReportParams
NewGetAggregatedSMTPReportParams creates a new GetAggregatedSMTPReportParams object with the default values initialized.
func NewGetAggregatedSMTPReportParamsWithContext ¶
func NewGetAggregatedSMTPReportParamsWithContext(ctx context.Context) *GetAggregatedSMTPReportParams
NewGetAggregatedSMTPReportParamsWithContext creates a new GetAggregatedSMTPReportParams object with the default values initialized, and the ability to set a context for a request
func NewGetAggregatedSMTPReportParamsWithHTTPClient ¶
func NewGetAggregatedSMTPReportParamsWithHTTPClient(client *http.Client) *GetAggregatedSMTPReportParams
NewGetAggregatedSMTPReportParamsWithHTTPClient creates a new GetAggregatedSMTPReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAggregatedSMTPReportParamsWithTimeout ¶
func NewGetAggregatedSMTPReportParamsWithTimeout(timeout time.Duration) *GetAggregatedSMTPReportParams
NewGetAggregatedSMTPReportParamsWithTimeout creates a new GetAggregatedSMTPReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAggregatedSMTPReportParams) SetContext ¶
func (o *GetAggregatedSMTPReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) SetDays ¶
func (o *GetAggregatedSMTPReportParams) SetDays(days *int64)
SetDays adds the days to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) SetEndDate ¶
func (o *GetAggregatedSMTPReportParams) SetEndDate(endDate *strfmt.Date)
SetEndDate adds the endDate to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) SetHTTPClient ¶
func (o *GetAggregatedSMTPReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) SetStartDate ¶
func (o *GetAggregatedSMTPReportParams) SetStartDate(startDate *strfmt.Date)
SetStartDate adds the startDate to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) SetTag ¶
func (o *GetAggregatedSMTPReportParams) SetTag(tag *string)
SetTag adds the tag to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) SetTimeout ¶
func (o *GetAggregatedSMTPReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) WithContext ¶
func (o *GetAggregatedSMTPReportParams) WithContext(ctx context.Context) *GetAggregatedSMTPReportParams
WithContext adds the context to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) WithDays ¶
func (o *GetAggregatedSMTPReportParams) WithDays(days *int64) *GetAggregatedSMTPReportParams
WithDays adds the days to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) WithEndDate ¶
func (o *GetAggregatedSMTPReportParams) WithEndDate(endDate *strfmt.Date) *GetAggregatedSMTPReportParams
WithEndDate adds the endDate to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) WithHTTPClient ¶
func (o *GetAggregatedSMTPReportParams) WithHTTPClient(client *http.Client) *GetAggregatedSMTPReportParams
WithHTTPClient adds the HTTPClient to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) WithStartDate ¶
func (o *GetAggregatedSMTPReportParams) WithStartDate(startDate *strfmt.Date) *GetAggregatedSMTPReportParams
WithStartDate adds the startDate to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) WithTag ¶
func (o *GetAggregatedSMTPReportParams) WithTag(tag *string) *GetAggregatedSMTPReportParams
WithTag adds the tag to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) WithTimeout ¶
func (o *GetAggregatedSMTPReportParams) WithTimeout(timeout time.Duration) *GetAggregatedSMTPReportParams
WithTimeout adds the timeout to the get aggregated Smtp report params
func (*GetAggregatedSMTPReportParams) WriteToRequest ¶
func (o *GetAggregatedSMTPReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAggregatedSMTPReportReader ¶
type GetAggregatedSMTPReportReader struct {
// contains filtered or unexported fields
}
GetAggregatedSMTPReportReader is a Reader for the GetAggregatedSMTPReport structure.
func (*GetAggregatedSMTPReportReader) ReadResponse ¶
func (o *GetAggregatedSMTPReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEmailEventReportBadRequest ¶
type GetEmailEventReportBadRequest struct {
Payload *models.ErrorModel
}
GetEmailEventReportBadRequest handles this case with default header values.
bad request
func NewGetEmailEventReportBadRequest ¶
func NewGetEmailEventReportBadRequest() *GetEmailEventReportBadRequest
NewGetEmailEventReportBadRequest creates a GetEmailEventReportBadRequest with default headers values
func (*GetEmailEventReportBadRequest) Error ¶
func (o *GetEmailEventReportBadRequest) Error() string
type GetEmailEventReportOK ¶
type GetEmailEventReportOK struct {
Payload *models.GetEmailEventReport
}
GetEmailEventReportOK handles this case with default header values.
Email events report informations
func NewGetEmailEventReportOK ¶
func NewGetEmailEventReportOK() *GetEmailEventReportOK
NewGetEmailEventReportOK creates a GetEmailEventReportOK with default headers values
func (*GetEmailEventReportOK) Error ¶
func (o *GetEmailEventReportOK) Error() string
type GetEmailEventReportParams ¶
type GetEmailEventReportParams struct { /*Days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' */ Days *int64 /*Email Filter the report for a specific email addresses */ Email *strfmt.Email /*EndDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate */ EndDate *strfmt.Date /*Event Filter the report for a specific event type */ Event *string /*Limit Number limitation for the result returned */ Limit *int64 /*MessageID Filter on a specific message id */ MessageID *string /*Offset Beginning point in the list to retrieve from. */ Offset *int64 /*StartDate Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate */ StartDate *strfmt.Date /*Tags Filter the report for tags (serialized and urlencoded array) */ Tags *string /*TemplateID Filter on a specific template id */ TemplateID *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEmailEventReportParams contains all the parameters to send to the API endpoint for the get email event report operation typically these are written to a http.Request
func NewGetEmailEventReportParams ¶
func NewGetEmailEventReportParams() *GetEmailEventReportParams
NewGetEmailEventReportParams creates a new GetEmailEventReportParams object with the default values initialized.
func NewGetEmailEventReportParamsWithContext ¶
func NewGetEmailEventReportParamsWithContext(ctx context.Context) *GetEmailEventReportParams
NewGetEmailEventReportParamsWithContext creates a new GetEmailEventReportParams object with the default values initialized, and the ability to set a context for a request
func NewGetEmailEventReportParamsWithHTTPClient ¶
func NewGetEmailEventReportParamsWithHTTPClient(client *http.Client) *GetEmailEventReportParams
NewGetEmailEventReportParamsWithHTTPClient creates a new GetEmailEventReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEmailEventReportParamsWithTimeout ¶
func NewGetEmailEventReportParamsWithTimeout(timeout time.Duration) *GetEmailEventReportParams
NewGetEmailEventReportParamsWithTimeout creates a new GetEmailEventReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEmailEventReportParams) SetContext ¶
func (o *GetEmailEventReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get email event report params
func (*GetEmailEventReportParams) SetDays ¶
func (o *GetEmailEventReportParams) SetDays(days *int64)
SetDays adds the days to the get email event report params
func (*GetEmailEventReportParams) SetEmail ¶
func (o *GetEmailEventReportParams) SetEmail(email *strfmt.Email)
SetEmail adds the email to the get email event report params
func (*GetEmailEventReportParams) SetEndDate ¶
func (o *GetEmailEventReportParams) SetEndDate(endDate *strfmt.Date)
SetEndDate adds the endDate to the get email event report params
func (*GetEmailEventReportParams) SetEvent ¶
func (o *GetEmailEventReportParams) SetEvent(event *string)
SetEvent adds the event to the get email event report params
func (*GetEmailEventReportParams) SetHTTPClient ¶
func (o *GetEmailEventReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get email event report params
func (*GetEmailEventReportParams) SetLimit ¶
func (o *GetEmailEventReportParams) SetLimit(limit *int64)
SetLimit adds the limit to the get email event report params
func (*GetEmailEventReportParams) SetMessageID ¶
func (o *GetEmailEventReportParams) SetMessageID(messageID *string)
SetMessageID adds the messageId to the get email event report params
func (*GetEmailEventReportParams) SetOffset ¶
func (o *GetEmailEventReportParams) SetOffset(offset *int64)
SetOffset adds the offset to the get email event report params
func (*GetEmailEventReportParams) SetStartDate ¶
func (o *GetEmailEventReportParams) SetStartDate(startDate *strfmt.Date)
SetStartDate adds the startDate to the get email event report params
func (*GetEmailEventReportParams) SetTags ¶
func (o *GetEmailEventReportParams) SetTags(tags *string)
SetTags adds the tags to the get email event report params
func (*GetEmailEventReportParams) SetTemplateID ¶
func (o *GetEmailEventReportParams) SetTemplateID(templateID *int64)
SetTemplateID adds the templateId to the get email event report params
func (*GetEmailEventReportParams) SetTimeout ¶
func (o *GetEmailEventReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get email event report params
func (*GetEmailEventReportParams) WithContext ¶
func (o *GetEmailEventReportParams) WithContext(ctx context.Context) *GetEmailEventReportParams
WithContext adds the context to the get email event report params
func (*GetEmailEventReportParams) WithDays ¶
func (o *GetEmailEventReportParams) WithDays(days *int64) *GetEmailEventReportParams
WithDays adds the days to the get email event report params
func (*GetEmailEventReportParams) WithEmail ¶
func (o *GetEmailEventReportParams) WithEmail(email *strfmt.Email) *GetEmailEventReportParams
WithEmail adds the email to the get email event report params
func (*GetEmailEventReportParams) WithEndDate ¶
func (o *GetEmailEventReportParams) WithEndDate(endDate *strfmt.Date) *GetEmailEventReportParams
WithEndDate adds the endDate to the get email event report params
func (*GetEmailEventReportParams) WithEvent ¶
func (o *GetEmailEventReportParams) WithEvent(event *string) *GetEmailEventReportParams
WithEvent adds the event to the get email event report params
func (*GetEmailEventReportParams) WithHTTPClient ¶
func (o *GetEmailEventReportParams) WithHTTPClient(client *http.Client) *GetEmailEventReportParams
WithHTTPClient adds the HTTPClient to the get email event report params
func (*GetEmailEventReportParams) WithLimit ¶
func (o *GetEmailEventReportParams) WithLimit(limit *int64) *GetEmailEventReportParams
WithLimit adds the limit to the get email event report params
func (*GetEmailEventReportParams) WithMessageID ¶
func (o *GetEmailEventReportParams) WithMessageID(messageID *string) *GetEmailEventReportParams
WithMessageID adds the messageID to the get email event report params
func (*GetEmailEventReportParams) WithOffset ¶
func (o *GetEmailEventReportParams) WithOffset(offset *int64) *GetEmailEventReportParams
WithOffset adds the offset to the get email event report params
func (*GetEmailEventReportParams) WithStartDate ¶
func (o *GetEmailEventReportParams) WithStartDate(startDate *strfmt.Date) *GetEmailEventReportParams
WithStartDate adds the startDate to the get email event report params
func (*GetEmailEventReportParams) WithTags ¶
func (o *GetEmailEventReportParams) WithTags(tags *string) *GetEmailEventReportParams
WithTags adds the tags to the get email event report params
func (*GetEmailEventReportParams) WithTemplateID ¶
func (o *GetEmailEventReportParams) WithTemplateID(templateID *int64) *GetEmailEventReportParams
WithTemplateID adds the templateID to the get email event report params
func (*GetEmailEventReportParams) WithTimeout ¶
func (o *GetEmailEventReportParams) WithTimeout(timeout time.Duration) *GetEmailEventReportParams
WithTimeout adds the timeout to the get email event report params
func (*GetEmailEventReportParams) WriteToRequest ¶
func (o *GetEmailEventReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEmailEventReportReader ¶
type GetEmailEventReportReader struct {
// contains filtered or unexported fields
}
GetEmailEventReportReader is a Reader for the GetEmailEventReport structure.
func (*GetEmailEventReportReader) ReadResponse ¶
func (o *GetEmailEventReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSMTPReportBadRequest ¶
type GetSMTPReportBadRequest struct {
Payload *models.ErrorModel
}
GetSMTPReportBadRequest handles this case with default header values.
bad request
func NewGetSMTPReportBadRequest ¶
func NewGetSMTPReportBadRequest() *GetSMTPReportBadRequest
NewGetSMTPReportBadRequest creates a GetSMTPReportBadRequest with default headers values
func (*GetSMTPReportBadRequest) Error ¶
func (o *GetSMTPReportBadRequest) Error() string
type GetSMTPReportOK ¶
type GetSMTPReportOK struct {
Payload *models.GetReports
}
GetSMTPReportOK handles this case with default header values.
Aggregated report informations
func NewGetSMTPReportOK ¶
func NewGetSMTPReportOK() *GetSMTPReportOK
NewGetSMTPReportOK creates a GetSMTPReportOK with default headers values
func (*GetSMTPReportOK) Error ¶
func (o *GetSMTPReportOK) Error() string
type GetSMTPReportParams ¶
type GetSMTPReportParams struct { /*Days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' */ Days *int64 /*EndDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) */ EndDate *strfmt.Date /*Limit Number of documents returned per page */ Limit *int64 /*Offset Index of the first document on the page */ Offset *int64 /*StartDate Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) */ StartDate *strfmt.Date /*Tag Tag of the emails */ Tag *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSMTPReportParams contains all the parameters to send to the API endpoint for the get Smtp report operation typically these are written to a http.Request
func NewGetSMTPReportParams ¶
func NewGetSMTPReportParams() *GetSMTPReportParams
NewGetSMTPReportParams creates a new GetSMTPReportParams object with the default values initialized.
func NewGetSMTPReportParamsWithContext ¶
func NewGetSMTPReportParamsWithContext(ctx context.Context) *GetSMTPReportParams
NewGetSMTPReportParamsWithContext creates a new GetSMTPReportParams object with the default values initialized, and the ability to set a context for a request
func NewGetSMTPReportParamsWithHTTPClient ¶
func NewGetSMTPReportParamsWithHTTPClient(client *http.Client) *GetSMTPReportParams
NewGetSMTPReportParamsWithHTTPClient creates a new GetSMTPReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSMTPReportParamsWithTimeout ¶
func NewGetSMTPReportParamsWithTimeout(timeout time.Duration) *GetSMTPReportParams
NewGetSMTPReportParamsWithTimeout creates a new GetSMTPReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSMTPReportParams) SetContext ¶
func (o *GetSMTPReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get Smtp report params
func (*GetSMTPReportParams) SetDays ¶
func (o *GetSMTPReportParams) SetDays(days *int64)
SetDays adds the days to the get Smtp report params
func (*GetSMTPReportParams) SetEndDate ¶
func (o *GetSMTPReportParams) SetEndDate(endDate *strfmt.Date)
SetEndDate adds the endDate to the get Smtp report params
func (*GetSMTPReportParams) SetHTTPClient ¶
func (o *GetSMTPReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Smtp report params
func (*GetSMTPReportParams) SetLimit ¶
func (o *GetSMTPReportParams) SetLimit(limit *int64)
SetLimit adds the limit to the get Smtp report params
func (*GetSMTPReportParams) SetOffset ¶
func (o *GetSMTPReportParams) SetOffset(offset *int64)
SetOffset adds the offset to the get Smtp report params
func (*GetSMTPReportParams) SetStartDate ¶
func (o *GetSMTPReportParams) SetStartDate(startDate *strfmt.Date)
SetStartDate adds the startDate to the get Smtp report params
func (*GetSMTPReportParams) SetTag ¶
func (o *GetSMTPReportParams) SetTag(tag *string)
SetTag adds the tag to the get Smtp report params
func (*GetSMTPReportParams) SetTimeout ¶
func (o *GetSMTPReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Smtp report params
func (*GetSMTPReportParams) WithContext ¶
func (o *GetSMTPReportParams) WithContext(ctx context.Context) *GetSMTPReportParams
WithContext adds the context to the get Smtp report params
func (*GetSMTPReportParams) WithDays ¶
func (o *GetSMTPReportParams) WithDays(days *int64) *GetSMTPReportParams
WithDays adds the days to the get Smtp report params
func (*GetSMTPReportParams) WithEndDate ¶
func (o *GetSMTPReportParams) WithEndDate(endDate *strfmt.Date) *GetSMTPReportParams
WithEndDate adds the endDate to the get Smtp report params
func (*GetSMTPReportParams) WithHTTPClient ¶
func (o *GetSMTPReportParams) WithHTTPClient(client *http.Client) *GetSMTPReportParams
WithHTTPClient adds the HTTPClient to the get Smtp report params
func (*GetSMTPReportParams) WithLimit ¶
func (o *GetSMTPReportParams) WithLimit(limit *int64) *GetSMTPReportParams
WithLimit adds the limit to the get Smtp report params
func (*GetSMTPReportParams) WithOffset ¶
func (o *GetSMTPReportParams) WithOffset(offset *int64) *GetSMTPReportParams
WithOffset adds the offset to the get Smtp report params
func (*GetSMTPReportParams) WithStartDate ¶
func (o *GetSMTPReportParams) WithStartDate(startDate *strfmt.Date) *GetSMTPReportParams
WithStartDate adds the startDate to the get Smtp report params
func (*GetSMTPReportParams) WithTag ¶
func (o *GetSMTPReportParams) WithTag(tag *string) *GetSMTPReportParams
WithTag adds the tag to the get Smtp report params
func (*GetSMTPReportParams) WithTimeout ¶
func (o *GetSMTPReportParams) WithTimeout(timeout time.Duration) *GetSMTPReportParams
WithTimeout adds the timeout to the get Smtp report params
func (*GetSMTPReportParams) WriteToRequest ¶
func (o *GetSMTPReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSMTPReportReader ¶
type GetSMTPReportReader struct {
// contains filtered or unexported fields
}
GetSMTPReportReader is a Reader for the GetSMTPReport structure.
func (*GetSMTPReportReader) ReadResponse ¶
func (o *GetSMTPReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSMTPTemplateBadRequest ¶
type GetSMTPTemplateBadRequest struct {
Payload *models.ErrorModel
}
GetSMTPTemplateBadRequest handles this case with default header values.
bad request
func NewGetSMTPTemplateBadRequest ¶
func NewGetSMTPTemplateBadRequest() *GetSMTPTemplateBadRequest
NewGetSMTPTemplateBadRequest creates a GetSMTPTemplateBadRequest with default headers values
func (*GetSMTPTemplateBadRequest) Error ¶
func (o *GetSMTPTemplateBadRequest) Error() string
type GetSMTPTemplateNotFound ¶
type GetSMTPTemplateNotFound struct {
Payload *models.ErrorModel
}
GetSMTPTemplateNotFound handles this case with default header values.
Template ID not found
func NewGetSMTPTemplateNotFound ¶
func NewGetSMTPTemplateNotFound() *GetSMTPTemplateNotFound
NewGetSMTPTemplateNotFound creates a GetSMTPTemplateNotFound with default headers values
func (*GetSMTPTemplateNotFound) Error ¶
func (o *GetSMTPTemplateNotFound) Error() string
type GetSMTPTemplateOK ¶
type GetSMTPTemplateOK struct {
Payload *models.GetSMTPTemplateOverview
}
GetSMTPTemplateOK handles this case with default header values.
Email template informations
func NewGetSMTPTemplateOK ¶
func NewGetSMTPTemplateOK() *GetSMTPTemplateOK
NewGetSMTPTemplateOK creates a GetSMTPTemplateOK with default headers values
func (*GetSMTPTemplateOK) Error ¶
func (o *GetSMTPTemplateOK) Error() string
type GetSMTPTemplateParams ¶
type GetSMTPTemplateParams struct { /*TemplateID id of the template */ TemplateID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSMTPTemplateParams contains all the parameters to send to the API endpoint for the get Smtp template operation typically these are written to a http.Request
func NewGetSMTPTemplateParams ¶
func NewGetSMTPTemplateParams() *GetSMTPTemplateParams
NewGetSMTPTemplateParams creates a new GetSMTPTemplateParams object with the default values initialized.
func NewGetSMTPTemplateParamsWithContext ¶
func NewGetSMTPTemplateParamsWithContext(ctx context.Context) *GetSMTPTemplateParams
NewGetSMTPTemplateParamsWithContext creates a new GetSMTPTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetSMTPTemplateParamsWithHTTPClient ¶
func NewGetSMTPTemplateParamsWithHTTPClient(client *http.Client) *GetSMTPTemplateParams
NewGetSMTPTemplateParamsWithHTTPClient creates a new GetSMTPTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSMTPTemplateParamsWithTimeout ¶
func NewGetSMTPTemplateParamsWithTimeout(timeout time.Duration) *GetSMTPTemplateParams
NewGetSMTPTemplateParamsWithTimeout creates a new GetSMTPTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSMTPTemplateParams) SetContext ¶
func (o *GetSMTPTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get Smtp template params
func (*GetSMTPTemplateParams) SetHTTPClient ¶
func (o *GetSMTPTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Smtp template params
func (*GetSMTPTemplateParams) SetTemplateID ¶
func (o *GetSMTPTemplateParams) SetTemplateID(templateID int64)
SetTemplateID adds the templateId to the get Smtp template params
func (*GetSMTPTemplateParams) SetTimeout ¶
func (o *GetSMTPTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Smtp template params
func (*GetSMTPTemplateParams) WithContext ¶
func (o *GetSMTPTemplateParams) WithContext(ctx context.Context) *GetSMTPTemplateParams
WithContext adds the context to the get Smtp template params
func (*GetSMTPTemplateParams) WithHTTPClient ¶
func (o *GetSMTPTemplateParams) WithHTTPClient(client *http.Client) *GetSMTPTemplateParams
WithHTTPClient adds the HTTPClient to the get Smtp template params
func (*GetSMTPTemplateParams) WithTemplateID ¶
func (o *GetSMTPTemplateParams) WithTemplateID(templateID int64) *GetSMTPTemplateParams
WithTemplateID adds the templateID to the get Smtp template params
func (*GetSMTPTemplateParams) WithTimeout ¶
func (o *GetSMTPTemplateParams) WithTimeout(timeout time.Duration) *GetSMTPTemplateParams
WithTimeout adds the timeout to the get Smtp template params
func (*GetSMTPTemplateParams) WriteToRequest ¶
func (o *GetSMTPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSMTPTemplateReader ¶
type GetSMTPTemplateReader struct {
// contains filtered or unexported fields
}
GetSMTPTemplateReader is a Reader for the GetSMTPTemplate structure.
func (*GetSMTPTemplateReader) ReadResponse ¶
func (o *GetSMTPTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSMTPTemplatesBadRequest ¶
type GetSMTPTemplatesBadRequest struct {
Payload *models.ErrorModel
}
GetSMTPTemplatesBadRequest handles this case with default header values.
bad request
func NewGetSMTPTemplatesBadRequest ¶
func NewGetSMTPTemplatesBadRequest() *GetSMTPTemplatesBadRequest
NewGetSMTPTemplatesBadRequest creates a GetSMTPTemplatesBadRequest with default headers values
func (*GetSMTPTemplatesBadRequest) Error ¶
func (o *GetSMTPTemplatesBadRequest) Error() string
type GetSMTPTemplatesOK ¶
type GetSMTPTemplatesOK struct {
Payload *models.GetSMTPTemplates
}
GetSMTPTemplatesOK handles this case with default header values.
SMTP templates informations
func NewGetSMTPTemplatesOK ¶
func NewGetSMTPTemplatesOK() *GetSMTPTemplatesOK
NewGetSMTPTemplatesOK creates a GetSMTPTemplatesOK with default headers values
func (*GetSMTPTemplatesOK) Error ¶
func (o *GetSMTPTemplatesOK) Error() string
type GetSMTPTemplatesParams ¶
type GetSMTPTemplatesParams struct { /*Limit Number of documents returned per page */ Limit *int64 /*Offset Index of the first document in the page */ Offset *int64 /*TemplateStatus Filter on the status of the template. Active = true, inactive = false */ TemplateStatus *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSMTPTemplatesParams contains all the parameters to send to the API endpoint for the get Smtp templates operation typically these are written to a http.Request
func NewGetSMTPTemplatesParams ¶
func NewGetSMTPTemplatesParams() *GetSMTPTemplatesParams
NewGetSMTPTemplatesParams creates a new GetSMTPTemplatesParams object with the default values initialized.
func NewGetSMTPTemplatesParamsWithContext ¶
func NewGetSMTPTemplatesParamsWithContext(ctx context.Context) *GetSMTPTemplatesParams
NewGetSMTPTemplatesParamsWithContext creates a new GetSMTPTemplatesParams object with the default values initialized, and the ability to set a context for a request
func NewGetSMTPTemplatesParamsWithHTTPClient ¶
func NewGetSMTPTemplatesParamsWithHTTPClient(client *http.Client) *GetSMTPTemplatesParams
NewGetSMTPTemplatesParamsWithHTTPClient creates a new GetSMTPTemplatesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSMTPTemplatesParamsWithTimeout ¶
func NewGetSMTPTemplatesParamsWithTimeout(timeout time.Duration) *GetSMTPTemplatesParams
NewGetSMTPTemplatesParamsWithTimeout creates a new GetSMTPTemplatesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSMTPTemplatesParams) SetContext ¶
func (o *GetSMTPTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get Smtp templates params
func (*GetSMTPTemplatesParams) SetHTTPClient ¶
func (o *GetSMTPTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Smtp templates params
func (*GetSMTPTemplatesParams) SetLimit ¶
func (o *GetSMTPTemplatesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get Smtp templates params
func (*GetSMTPTemplatesParams) SetOffset ¶
func (o *GetSMTPTemplatesParams) SetOffset(offset *int64)
SetOffset adds the offset to the get Smtp templates params
func (*GetSMTPTemplatesParams) SetTemplateStatus ¶
func (o *GetSMTPTemplatesParams) SetTemplateStatus(templateStatus *bool)
SetTemplateStatus adds the templateStatus to the get Smtp templates params
func (*GetSMTPTemplatesParams) SetTimeout ¶
func (o *GetSMTPTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Smtp templates params
func (*GetSMTPTemplatesParams) WithContext ¶
func (o *GetSMTPTemplatesParams) WithContext(ctx context.Context) *GetSMTPTemplatesParams
WithContext adds the context to the get Smtp templates params
func (*GetSMTPTemplatesParams) WithHTTPClient ¶
func (o *GetSMTPTemplatesParams) WithHTTPClient(client *http.Client) *GetSMTPTemplatesParams
WithHTTPClient adds the HTTPClient to the get Smtp templates params
func (*GetSMTPTemplatesParams) WithLimit ¶
func (o *GetSMTPTemplatesParams) WithLimit(limit *int64) *GetSMTPTemplatesParams
WithLimit adds the limit to the get Smtp templates params
func (*GetSMTPTemplatesParams) WithOffset ¶
func (o *GetSMTPTemplatesParams) WithOffset(offset *int64) *GetSMTPTemplatesParams
WithOffset adds the offset to the get Smtp templates params
func (*GetSMTPTemplatesParams) WithTemplateStatus ¶
func (o *GetSMTPTemplatesParams) WithTemplateStatus(templateStatus *bool) *GetSMTPTemplatesParams
WithTemplateStatus adds the templateStatus to the get Smtp templates params
func (*GetSMTPTemplatesParams) WithTimeout ¶
func (o *GetSMTPTemplatesParams) WithTimeout(timeout time.Duration) *GetSMTPTemplatesParams
WithTimeout adds the timeout to the get Smtp templates params
func (*GetSMTPTemplatesParams) WriteToRequest ¶
func (o *GetSMTPTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSMTPTemplatesReader ¶
type GetSMTPTemplatesReader struct {
// contains filtered or unexported fields
}
GetSMTPTemplatesReader is a Reader for the GetSMTPTemplates structure.
func (*GetSMTPTemplatesReader) ReadResponse ¶
func (o *GetSMTPTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendTemplateBadRequest ¶
type SendTemplateBadRequest struct {
Payload *models.PostSendFailed
}
SendTemplateBadRequest handles this case with default header values.
Email could not be sent to the following email addresses
func NewSendTemplateBadRequest ¶
func NewSendTemplateBadRequest() *SendTemplateBadRequest
NewSendTemplateBadRequest creates a SendTemplateBadRequest with default headers values
func (*SendTemplateBadRequest) Error ¶
func (o *SendTemplateBadRequest) Error() string
type SendTemplateCreated ¶
type SendTemplateCreated struct {
Payload *models.SendTemplateEmail
}
SendTemplateCreated handles this case with default header values.
Email has been sent successfully to all recipients
func NewSendTemplateCreated ¶
func NewSendTemplateCreated() *SendTemplateCreated
NewSendTemplateCreated creates a SendTemplateCreated with default headers values
func (*SendTemplateCreated) Error ¶
func (o *SendTemplateCreated) Error() string
type SendTemplateNotFound ¶
type SendTemplateNotFound struct {
Payload *models.ErrorModel
}
SendTemplateNotFound handles this case with default header values.
Template ID not found
func NewSendTemplateNotFound ¶
func NewSendTemplateNotFound() *SendTemplateNotFound
NewSendTemplateNotFound creates a SendTemplateNotFound with default headers values
func (*SendTemplateNotFound) Error ¶
func (o *SendTemplateNotFound) Error() string
type SendTemplateParams ¶
type SendTemplateParams struct { /*SendEmail*/ SendEmail *models.SendEmail /*TemplateID Id of the template */ TemplateID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendTemplateParams contains all the parameters to send to the API endpoint for the send template operation typically these are written to a http.Request
func NewSendTemplateParams ¶
func NewSendTemplateParams() *SendTemplateParams
NewSendTemplateParams creates a new SendTemplateParams object with the default values initialized.
func NewSendTemplateParamsWithContext ¶
func NewSendTemplateParamsWithContext(ctx context.Context) *SendTemplateParams
NewSendTemplateParamsWithContext creates a new SendTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewSendTemplateParamsWithHTTPClient ¶
func NewSendTemplateParamsWithHTTPClient(client *http.Client) *SendTemplateParams
NewSendTemplateParamsWithHTTPClient creates a new SendTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendTemplateParamsWithTimeout ¶
func NewSendTemplateParamsWithTimeout(timeout time.Duration) *SendTemplateParams
NewSendTemplateParamsWithTimeout creates a new SendTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*SendTemplateParams) SetContext ¶
func (o *SendTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the send template params
func (*SendTemplateParams) SetHTTPClient ¶
func (o *SendTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send template params
func (*SendTemplateParams) SetSendEmail ¶
func (o *SendTemplateParams) SetSendEmail(sendEmail *models.SendEmail)
SetSendEmail adds the sendEmail to the send template params
func (*SendTemplateParams) SetTemplateID ¶
func (o *SendTemplateParams) SetTemplateID(templateID int64)
SetTemplateID adds the templateId to the send template params
func (*SendTemplateParams) SetTimeout ¶
func (o *SendTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send template params
func (*SendTemplateParams) WithContext ¶
func (o *SendTemplateParams) WithContext(ctx context.Context) *SendTemplateParams
WithContext adds the context to the send template params
func (*SendTemplateParams) WithHTTPClient ¶
func (o *SendTemplateParams) WithHTTPClient(client *http.Client) *SendTemplateParams
WithHTTPClient adds the HTTPClient to the send template params
func (*SendTemplateParams) WithSendEmail ¶
func (o *SendTemplateParams) WithSendEmail(sendEmail *models.SendEmail) *SendTemplateParams
WithSendEmail adds the sendEmail to the send template params
func (*SendTemplateParams) WithTemplateID ¶
func (o *SendTemplateParams) WithTemplateID(templateID int64) *SendTemplateParams
WithTemplateID adds the templateID to the send template params
func (*SendTemplateParams) WithTimeout ¶
func (o *SendTemplateParams) WithTimeout(timeout time.Duration) *SendTemplateParams
WithTimeout adds the timeout to the send template params
func (*SendTemplateParams) WriteToRequest ¶
func (o *SendTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendTemplateReader ¶
type SendTemplateReader struct {
// contains filtered or unexported fields
}
SendTemplateReader is a Reader for the SendTemplate structure.
func (*SendTemplateReader) ReadResponse ¶
func (o *SendTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendTestTemplateBadRequest ¶
type SendTestTemplateBadRequest struct {
Payload *models.PostSendFailed
}
SendTestTemplateBadRequest handles this case with default header values.
Test email could not be sent to the following email addresses
func NewSendTestTemplateBadRequest ¶
func NewSendTestTemplateBadRequest() *SendTestTemplateBadRequest
NewSendTestTemplateBadRequest creates a SendTestTemplateBadRequest with default headers values
func (*SendTestTemplateBadRequest) Error ¶
func (o *SendTestTemplateBadRequest) Error() string
type SendTestTemplateNoContent ¶
type SendTestTemplateNoContent struct { }
SendTestTemplateNoContent handles this case with default header values.
Test email has been sent successfully to all recipients
func NewSendTestTemplateNoContent ¶
func NewSendTestTemplateNoContent() *SendTestTemplateNoContent
NewSendTestTemplateNoContent creates a SendTestTemplateNoContent with default headers values
func (*SendTestTemplateNoContent) Error ¶
func (o *SendTestTemplateNoContent) Error() string
type SendTestTemplateNotFound ¶
type SendTestTemplateNotFound struct {
Payload *models.ErrorModel
}
SendTestTemplateNotFound handles this case with default header values.
Template ID not found
func NewSendTestTemplateNotFound ¶
func NewSendTestTemplateNotFound() *SendTestTemplateNotFound
NewSendTestTemplateNotFound creates a SendTestTemplateNotFound with default headers values
func (*SendTestTemplateNotFound) Error ¶
func (o *SendTestTemplateNotFound) Error() string
type SendTestTemplateParams ¶
type SendTestTemplateParams struct { /*SendTestEmail*/ SendTestEmail *models.SendTestEmail /*TemplateID Id of the template */ TemplateID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendTestTemplateParams contains all the parameters to send to the API endpoint for the send test template operation typically these are written to a http.Request
func NewSendTestTemplateParams ¶
func NewSendTestTemplateParams() *SendTestTemplateParams
NewSendTestTemplateParams creates a new SendTestTemplateParams object with the default values initialized.
func NewSendTestTemplateParamsWithContext ¶
func NewSendTestTemplateParamsWithContext(ctx context.Context) *SendTestTemplateParams
NewSendTestTemplateParamsWithContext creates a new SendTestTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewSendTestTemplateParamsWithHTTPClient ¶
func NewSendTestTemplateParamsWithHTTPClient(client *http.Client) *SendTestTemplateParams
NewSendTestTemplateParamsWithHTTPClient creates a new SendTestTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendTestTemplateParamsWithTimeout ¶
func NewSendTestTemplateParamsWithTimeout(timeout time.Duration) *SendTestTemplateParams
NewSendTestTemplateParamsWithTimeout creates a new SendTestTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*SendTestTemplateParams) SetContext ¶
func (o *SendTestTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the send test template params
func (*SendTestTemplateParams) SetHTTPClient ¶
func (o *SendTestTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send test template params
func (*SendTestTemplateParams) SetSendTestEmail ¶
func (o *SendTestTemplateParams) SetSendTestEmail(sendTestEmail *models.SendTestEmail)
SetSendTestEmail adds the sendTestEmail to the send test template params
func (*SendTestTemplateParams) SetTemplateID ¶
func (o *SendTestTemplateParams) SetTemplateID(templateID int64)
SetTemplateID adds the templateId to the send test template params
func (*SendTestTemplateParams) SetTimeout ¶
func (o *SendTestTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send test template params
func (*SendTestTemplateParams) WithContext ¶
func (o *SendTestTemplateParams) WithContext(ctx context.Context) *SendTestTemplateParams
WithContext adds the context to the send test template params
func (*SendTestTemplateParams) WithHTTPClient ¶
func (o *SendTestTemplateParams) WithHTTPClient(client *http.Client) *SendTestTemplateParams
WithHTTPClient adds the HTTPClient to the send test template params
func (*SendTestTemplateParams) WithSendTestEmail ¶
func (o *SendTestTemplateParams) WithSendTestEmail(sendTestEmail *models.SendTestEmail) *SendTestTemplateParams
WithSendTestEmail adds the sendTestEmail to the send test template params
func (*SendTestTemplateParams) WithTemplateID ¶
func (o *SendTestTemplateParams) WithTemplateID(templateID int64) *SendTestTemplateParams
WithTemplateID adds the templateID to the send test template params
func (*SendTestTemplateParams) WithTimeout ¶
func (o *SendTestTemplateParams) WithTimeout(timeout time.Duration) *SendTestTemplateParams
WithTimeout adds the timeout to the send test template params
func (*SendTestTemplateParams) WriteToRequest ¶
func (o *SendTestTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendTestTemplateReader ¶
type SendTestTemplateReader struct {
// contains filtered or unexported fields
}
SendTestTemplateReader is a Reader for the SendTestTemplate structure.
func (*SendTestTemplateReader) ReadResponse ¶
func (o *SendTestTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendTransacEmailBadRequest ¶
type SendTransacEmailBadRequest struct {
Payload *models.ErrorModel
}
SendTransacEmailBadRequest handles this case with default header values.
bad request
func NewSendTransacEmailBadRequest ¶
func NewSendTransacEmailBadRequest() *SendTransacEmailBadRequest
NewSendTransacEmailBadRequest creates a SendTransacEmailBadRequest with default headers values
func (*SendTransacEmailBadRequest) Error ¶
func (o *SendTransacEmailBadRequest) Error() string
type SendTransacEmailCreated ¶
type SendTransacEmailCreated struct {
Payload *models.CreateSMTPEmail
}
SendTransacEmailCreated handles this case with default header values.
SMTP email sent
func NewSendTransacEmailCreated ¶
func NewSendTransacEmailCreated() *SendTransacEmailCreated
NewSendTransacEmailCreated creates a SendTransacEmailCreated with default headers values
func (*SendTransacEmailCreated) Error ¶
func (o *SendTransacEmailCreated) Error() string
type SendTransacEmailParams ¶
type SendTransacEmailParams struct { /*SendSMTPEmail Values to send a transactional email */ SendSMTPEmail *models.SendSMTPEmail Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendTransacEmailParams contains all the parameters to send to the API endpoint for the send transac email operation typically these are written to a http.Request
func NewSendTransacEmailParams ¶
func NewSendTransacEmailParams() *SendTransacEmailParams
NewSendTransacEmailParams creates a new SendTransacEmailParams object with the default values initialized.
func NewSendTransacEmailParamsWithContext ¶
func NewSendTransacEmailParamsWithContext(ctx context.Context) *SendTransacEmailParams
NewSendTransacEmailParamsWithContext creates a new SendTransacEmailParams object with the default values initialized, and the ability to set a context for a request
func NewSendTransacEmailParamsWithHTTPClient ¶
func NewSendTransacEmailParamsWithHTTPClient(client *http.Client) *SendTransacEmailParams
NewSendTransacEmailParamsWithHTTPClient creates a new SendTransacEmailParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendTransacEmailParamsWithTimeout ¶
func NewSendTransacEmailParamsWithTimeout(timeout time.Duration) *SendTransacEmailParams
NewSendTransacEmailParamsWithTimeout creates a new SendTransacEmailParams object with the default values initialized, and the ability to set a timeout on a request
func (*SendTransacEmailParams) SetContext ¶
func (o *SendTransacEmailParams) SetContext(ctx context.Context)
SetContext adds the context to the send transac email params
func (*SendTransacEmailParams) SetHTTPClient ¶
func (o *SendTransacEmailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send transac email params
func (*SendTransacEmailParams) SetSendSMTPEmail ¶
func (o *SendTransacEmailParams) SetSendSMTPEmail(sendSMTPEmail *models.SendSMTPEmail)
SetSendSMTPEmail adds the sendSmtpEmail to the send transac email params
func (*SendTransacEmailParams) SetTimeout ¶
func (o *SendTransacEmailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send transac email params
func (*SendTransacEmailParams) WithContext ¶
func (o *SendTransacEmailParams) WithContext(ctx context.Context) *SendTransacEmailParams
WithContext adds the context to the send transac email params
func (*SendTransacEmailParams) WithHTTPClient ¶
func (o *SendTransacEmailParams) WithHTTPClient(client *http.Client) *SendTransacEmailParams
WithHTTPClient adds the HTTPClient to the send transac email params
func (*SendTransacEmailParams) WithSendSMTPEmail ¶
func (o *SendTransacEmailParams) WithSendSMTPEmail(sendSMTPEmail *models.SendSMTPEmail) *SendTransacEmailParams
WithSendSMTPEmail adds the sendSMTPEmail to the send transac email params
func (*SendTransacEmailParams) WithTimeout ¶
func (o *SendTransacEmailParams) WithTimeout(timeout time.Duration) *SendTransacEmailParams
WithTimeout adds the timeout to the send transac email params
func (*SendTransacEmailParams) WriteToRequest ¶
func (o *SendTransacEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendTransacEmailReader ¶
type SendTransacEmailReader struct {
// contains filtered or unexported fields
}
SendTransacEmailReader is a Reader for the SendTransacEmail structure.
func (*SendTransacEmailReader) ReadResponse ¶
func (o *SendTransacEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSMTPTemplateBadRequest ¶
type UpdateSMTPTemplateBadRequest struct {
Payload *models.ErrorModel
}
UpdateSMTPTemplateBadRequest handles this case with default header values.
bad request
func NewUpdateSMTPTemplateBadRequest ¶
func NewUpdateSMTPTemplateBadRequest() *UpdateSMTPTemplateBadRequest
NewUpdateSMTPTemplateBadRequest creates a UpdateSMTPTemplateBadRequest with default headers values
func (*UpdateSMTPTemplateBadRequest) Error ¶
func (o *UpdateSMTPTemplateBadRequest) Error() string
type UpdateSMTPTemplateNoContent ¶
type UpdateSMTPTemplateNoContent struct { }
UpdateSMTPTemplateNoContent handles this case with default header values.
SMTP template updated
func NewUpdateSMTPTemplateNoContent ¶
func NewUpdateSMTPTemplateNoContent() *UpdateSMTPTemplateNoContent
NewUpdateSMTPTemplateNoContent creates a UpdateSMTPTemplateNoContent with default headers values
func (*UpdateSMTPTemplateNoContent) Error ¶
func (o *UpdateSMTPTemplateNoContent) Error() string
type UpdateSMTPTemplateNotFound ¶
type UpdateSMTPTemplateNotFound struct {
Payload *models.ErrorModel
}
UpdateSMTPTemplateNotFound handles this case with default header values.
Template ID not found
func NewUpdateSMTPTemplateNotFound ¶
func NewUpdateSMTPTemplateNotFound() *UpdateSMTPTemplateNotFound
NewUpdateSMTPTemplateNotFound creates a UpdateSMTPTemplateNotFound with default headers values
func (*UpdateSMTPTemplateNotFound) Error ¶
func (o *UpdateSMTPTemplateNotFound) Error() string
type UpdateSMTPTemplateParams ¶
type UpdateSMTPTemplateParams struct { /*SMTPTemplate values to update in smtp template */ SMTPTemplate *models.UpdateSMTPTemplate /*TemplateID id of the template */ TemplateID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSMTPTemplateParams contains all the parameters to send to the API endpoint for the update Smtp template operation typically these are written to a http.Request
func NewUpdateSMTPTemplateParams ¶
func NewUpdateSMTPTemplateParams() *UpdateSMTPTemplateParams
NewUpdateSMTPTemplateParams creates a new UpdateSMTPTemplateParams object with the default values initialized.
func NewUpdateSMTPTemplateParamsWithContext ¶
func NewUpdateSMTPTemplateParamsWithContext(ctx context.Context) *UpdateSMTPTemplateParams
NewUpdateSMTPTemplateParamsWithContext creates a new UpdateSMTPTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSMTPTemplateParamsWithHTTPClient ¶
func NewUpdateSMTPTemplateParamsWithHTTPClient(client *http.Client) *UpdateSMTPTemplateParams
NewUpdateSMTPTemplateParamsWithHTTPClient creates a new UpdateSMTPTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSMTPTemplateParamsWithTimeout ¶
func NewUpdateSMTPTemplateParamsWithTimeout(timeout time.Duration) *UpdateSMTPTemplateParams
NewUpdateSMTPTemplateParamsWithTimeout creates a new UpdateSMTPTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSMTPTemplateParams) SetContext ¶
func (o *UpdateSMTPTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the update Smtp template params
func (*UpdateSMTPTemplateParams) SetHTTPClient ¶
func (o *UpdateSMTPTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Smtp template params
func (*UpdateSMTPTemplateParams) SetSMTPTemplate ¶
func (o *UpdateSMTPTemplateParams) SetSMTPTemplate(sMTPTemplate *models.UpdateSMTPTemplate)
SetSMTPTemplate adds the smtpTemplate to the update Smtp template params
func (*UpdateSMTPTemplateParams) SetTemplateID ¶
func (o *UpdateSMTPTemplateParams) SetTemplateID(templateID int64)
SetTemplateID adds the templateId to the update Smtp template params
func (*UpdateSMTPTemplateParams) SetTimeout ¶
func (o *UpdateSMTPTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Smtp template params
func (*UpdateSMTPTemplateParams) WithContext ¶
func (o *UpdateSMTPTemplateParams) WithContext(ctx context.Context) *UpdateSMTPTemplateParams
WithContext adds the context to the update Smtp template params
func (*UpdateSMTPTemplateParams) WithHTTPClient ¶
func (o *UpdateSMTPTemplateParams) WithHTTPClient(client *http.Client) *UpdateSMTPTemplateParams
WithHTTPClient adds the HTTPClient to the update Smtp template params
func (*UpdateSMTPTemplateParams) WithSMTPTemplate ¶
func (o *UpdateSMTPTemplateParams) WithSMTPTemplate(sMTPTemplate *models.UpdateSMTPTemplate) *UpdateSMTPTemplateParams
WithSMTPTemplate adds the sMTPTemplate to the update Smtp template params
func (*UpdateSMTPTemplateParams) WithTemplateID ¶
func (o *UpdateSMTPTemplateParams) WithTemplateID(templateID int64) *UpdateSMTPTemplateParams
WithTemplateID adds the templateID to the update Smtp template params
func (*UpdateSMTPTemplateParams) WithTimeout ¶
func (o *UpdateSMTPTemplateParams) WithTimeout(timeout time.Duration) *UpdateSMTPTemplateParams
WithTimeout adds the timeout to the update Smtp template params
func (*UpdateSMTPTemplateParams) WriteToRequest ¶
func (o *UpdateSMTPTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSMTPTemplateReader ¶
type UpdateSMTPTemplateReader struct {
// contains filtered or unexported fields
}
UpdateSMTPTemplateReader is a Reader for the UpdateSMTPTemplate structure.
func (*UpdateSMTPTemplateReader) ReadResponse ¶
func (o *UpdateSMTPTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_smtp_template_parameters.go
- create_smtp_template_responses.go
- delete_hardbounces_parameters.go
- delete_hardbounces_responses.go
- get_aggregated_smtp_report_parameters.go
- get_aggregated_smtp_report_responses.go
- get_email_event_report_parameters.go
- get_email_event_report_responses.go
- get_smtp_report_parameters.go
- get_smtp_report_responses.go
- get_smtp_template_parameters.go
- get_smtp_template_responses.go
- get_smtp_templates_parameters.go
- get_smtp_templates_responses.go
- send_template_parameters.go
- send_template_responses.go
- send_test_template_parameters.go
- send_test_template_responses.go
- send_transac_email_parameters.go
- send_transac_email_responses.go
- smtp_client.go
- update_smtp_template_parameters.go
- update_smtp_template_responses.go