Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSMSCampaign(params *CreateSMSCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSMSCampaignCreated, error)
- func (a *Client) DeleteSMSCampaigns(params *DeleteSMSCampaignsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSMSCampaignsNoContent, error)
- func (a *Client) GetSMSCampaign(params *GetSMSCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMSCampaignOK, error)
- func (a *Client) GetSMSCampaigns(params *GetSMSCampaignsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMSCampaignsOK, error)
- func (a *Client) RequestSMSRecipientExport(params *RequestSMSRecipientExportParams, authInfo runtime.ClientAuthInfoWriter) (*RequestSMSRecipientExportAccepted, error)
- func (a *Client) SendSMSCampaignNow(params *SendSMSCampaignNowParams, authInfo runtime.ClientAuthInfoWriter) (*SendSMSCampaignNowNoContent, error)
- func (a *Client) SendSMSReport(params *SendSMSReportParams, authInfo runtime.ClientAuthInfoWriter) (*SendSMSReportNoContent, error)
- func (a *Client) SendTestSMS(params *SendTestSMSParams, authInfo runtime.ClientAuthInfoWriter) (*SendTestSMSNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSMSCampaign(params *UpdateSMSCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSMSCampaignNoContent, error)
- func (a *Client) UpdateSMSCampaignStatus(params *UpdateSMSCampaignStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSMSCampaignStatusNoContent, error)
- type CreateSMSCampaignBadRequest
- type CreateSMSCampaignCreated
- type CreateSMSCampaignParams
- func NewCreateSMSCampaignParams() *CreateSMSCampaignParams
- func NewCreateSMSCampaignParamsWithContext(ctx context.Context) *CreateSMSCampaignParams
- func NewCreateSMSCampaignParamsWithHTTPClient(client *http.Client) *CreateSMSCampaignParams
- func NewCreateSMSCampaignParamsWithTimeout(timeout time.Duration) *CreateSMSCampaignParams
- func (o *CreateSMSCampaignParams) SetContext(ctx context.Context)
- func (o *CreateSMSCampaignParams) SetCreateSMSCampaign(createSMSCampaign *models.CreateSMSCampaign)
- func (o *CreateSMSCampaignParams) SetHTTPClient(client *http.Client)
- func (o *CreateSMSCampaignParams) SetTimeout(timeout time.Duration)
- func (o *CreateSMSCampaignParams) WithContext(ctx context.Context) *CreateSMSCampaignParams
- func (o *CreateSMSCampaignParams) WithCreateSMSCampaign(createSMSCampaign *models.CreateSMSCampaign) *CreateSMSCampaignParams
- func (o *CreateSMSCampaignParams) WithHTTPClient(client *http.Client) *CreateSMSCampaignParams
- func (o *CreateSMSCampaignParams) WithTimeout(timeout time.Duration) *CreateSMSCampaignParams
- func (o *CreateSMSCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSMSCampaignReader
- type DeleteSMSCampaignsBadRequest
- type DeleteSMSCampaignsNoContent
- type DeleteSMSCampaignsNotFound
- type DeleteSMSCampaignsParams
- func NewDeleteSMSCampaignsParams() *DeleteSMSCampaignsParams
- func NewDeleteSMSCampaignsParamsWithContext(ctx context.Context) *DeleteSMSCampaignsParams
- func NewDeleteSMSCampaignsParamsWithHTTPClient(client *http.Client) *DeleteSMSCampaignsParams
- func NewDeleteSMSCampaignsParamsWithTimeout(timeout time.Duration) *DeleteSMSCampaignsParams
- func (o *DeleteSMSCampaignsParams) SetCampaignID(campaignID int64)
- func (o *DeleteSMSCampaignsParams) SetContext(ctx context.Context)
- func (o *DeleteSMSCampaignsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSMSCampaignsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSMSCampaignsParams) WithCampaignID(campaignID int64) *DeleteSMSCampaignsParams
- func (o *DeleteSMSCampaignsParams) WithContext(ctx context.Context) *DeleteSMSCampaignsParams
- func (o *DeleteSMSCampaignsParams) WithHTTPClient(client *http.Client) *DeleteSMSCampaignsParams
- func (o *DeleteSMSCampaignsParams) WithTimeout(timeout time.Duration) *DeleteSMSCampaignsParams
- func (o *DeleteSMSCampaignsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSMSCampaignsReader
- type GetSMSCampaignBadRequest
- type GetSMSCampaignNotFound
- type GetSMSCampaignOK
- type GetSMSCampaignParams
- func NewGetSMSCampaignParams() *GetSMSCampaignParams
- func NewGetSMSCampaignParamsWithContext(ctx context.Context) *GetSMSCampaignParams
- func NewGetSMSCampaignParamsWithHTTPClient(client *http.Client) *GetSMSCampaignParams
- func NewGetSMSCampaignParamsWithTimeout(timeout time.Duration) *GetSMSCampaignParams
- func (o *GetSMSCampaignParams) SetCampaignID(campaignID int64)
- func (o *GetSMSCampaignParams) SetContext(ctx context.Context)
- func (o *GetSMSCampaignParams) SetGetSMSCampaign(getSMSCampaign *models.GetSMSCampaign)
- func (o *GetSMSCampaignParams) SetHTTPClient(client *http.Client)
- func (o *GetSMSCampaignParams) SetTimeout(timeout time.Duration)
- func (o *GetSMSCampaignParams) WithCampaignID(campaignID int64) *GetSMSCampaignParams
- func (o *GetSMSCampaignParams) WithContext(ctx context.Context) *GetSMSCampaignParams
- func (o *GetSMSCampaignParams) WithGetSMSCampaign(getSMSCampaign *models.GetSMSCampaign) *GetSMSCampaignParams
- func (o *GetSMSCampaignParams) WithHTTPClient(client *http.Client) *GetSMSCampaignParams
- func (o *GetSMSCampaignParams) WithTimeout(timeout time.Duration) *GetSMSCampaignParams
- func (o *GetSMSCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSMSCampaignReader
- type GetSMSCampaignsBadRequest
- type GetSMSCampaignsOK
- type GetSMSCampaignsParams
- func NewGetSMSCampaignsParams() *GetSMSCampaignsParams
- func NewGetSMSCampaignsParamsWithContext(ctx context.Context) *GetSMSCampaignsParams
- func NewGetSMSCampaignsParamsWithHTTPClient(client *http.Client) *GetSMSCampaignsParams
- func NewGetSMSCampaignsParamsWithTimeout(timeout time.Duration) *GetSMSCampaignsParams
- func (o *GetSMSCampaignsParams) SetContext(ctx context.Context)
- func (o *GetSMSCampaignsParams) SetHTTPClient(client *http.Client)
- func (o *GetSMSCampaignsParams) SetLimit(limit *int64)
- func (o *GetSMSCampaignsParams) SetOffset(offset *int64)
- func (o *GetSMSCampaignsParams) SetStatus(status *string)
- func (o *GetSMSCampaignsParams) SetTimeout(timeout time.Duration)
- func (o *GetSMSCampaignsParams) WithContext(ctx context.Context) *GetSMSCampaignsParams
- func (o *GetSMSCampaignsParams) WithHTTPClient(client *http.Client) *GetSMSCampaignsParams
- func (o *GetSMSCampaignsParams) WithLimit(limit *int64) *GetSMSCampaignsParams
- func (o *GetSMSCampaignsParams) WithOffset(offset *int64) *GetSMSCampaignsParams
- func (o *GetSMSCampaignsParams) WithStatus(status *string) *GetSMSCampaignsParams
- func (o *GetSMSCampaignsParams) WithTimeout(timeout time.Duration) *GetSMSCampaignsParams
- func (o *GetSMSCampaignsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSMSCampaignsReader
- type RequestSMSRecipientExportAccepted
- type RequestSMSRecipientExportBadRequest
- type RequestSMSRecipientExportNotFound
- type RequestSMSRecipientExportParams
- func NewRequestSMSRecipientExportParams() *RequestSMSRecipientExportParams
- func NewRequestSMSRecipientExportParamsWithContext(ctx context.Context) *RequestSMSRecipientExportParams
- func NewRequestSMSRecipientExportParamsWithHTTPClient(client *http.Client) *RequestSMSRecipientExportParams
- func NewRequestSMSRecipientExportParamsWithTimeout(timeout time.Duration) *RequestSMSRecipientExportParams
- func (o *RequestSMSRecipientExportParams) SetCampaignID(campaignID int64)
- func (o *RequestSMSRecipientExportParams) SetContext(ctx context.Context)
- func (o *RequestSMSRecipientExportParams) SetHTTPClient(client *http.Client)
- func (o *RequestSMSRecipientExportParams) SetRecipientExport(recipientExport *models.RequestSMSRecipientExport)
- func (o *RequestSMSRecipientExportParams) SetTimeout(timeout time.Duration)
- func (o *RequestSMSRecipientExportParams) WithCampaignID(campaignID int64) *RequestSMSRecipientExportParams
- func (o *RequestSMSRecipientExportParams) WithContext(ctx context.Context) *RequestSMSRecipientExportParams
- func (o *RequestSMSRecipientExportParams) WithHTTPClient(client *http.Client) *RequestSMSRecipientExportParams
- func (o *RequestSMSRecipientExportParams) WithRecipientExport(recipientExport *models.RequestSMSRecipientExport) *RequestSMSRecipientExportParams
- func (o *RequestSMSRecipientExportParams) WithTimeout(timeout time.Duration) *RequestSMSRecipientExportParams
- func (o *RequestSMSRecipientExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestSMSRecipientExportReader
- type SendSMSCampaignNowBadRequest
- type SendSMSCampaignNowNoContent
- type SendSMSCampaignNowNotFound
- type SendSMSCampaignNowParams
- func NewSendSMSCampaignNowParams() *SendSMSCampaignNowParams
- func NewSendSMSCampaignNowParamsWithContext(ctx context.Context) *SendSMSCampaignNowParams
- func NewSendSMSCampaignNowParamsWithHTTPClient(client *http.Client) *SendSMSCampaignNowParams
- func NewSendSMSCampaignNowParamsWithTimeout(timeout time.Duration) *SendSMSCampaignNowParams
- func (o *SendSMSCampaignNowParams) SetCampaignID(campaignID int64)
- func (o *SendSMSCampaignNowParams) SetContext(ctx context.Context)
- func (o *SendSMSCampaignNowParams) SetHTTPClient(client *http.Client)
- func (o *SendSMSCampaignNowParams) SetTimeout(timeout time.Duration)
- func (o *SendSMSCampaignNowParams) WithCampaignID(campaignID int64) *SendSMSCampaignNowParams
- func (o *SendSMSCampaignNowParams) WithContext(ctx context.Context) *SendSMSCampaignNowParams
- func (o *SendSMSCampaignNowParams) WithHTTPClient(client *http.Client) *SendSMSCampaignNowParams
- func (o *SendSMSCampaignNowParams) WithTimeout(timeout time.Duration) *SendSMSCampaignNowParams
- func (o *SendSMSCampaignNowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendSMSCampaignNowPaymentRequired
- type SendSMSCampaignNowReader
- type SendSMSReportBadRequest
- type SendSMSReportNoContent
- type SendSMSReportNotFound
- type SendSMSReportParams
- func (o *SendSMSReportParams) SetCampaignID(campaignID int64)
- func (o *SendSMSReportParams) SetContext(ctx context.Context)
- func (o *SendSMSReportParams) SetHTTPClient(client *http.Client)
- func (o *SendSMSReportParams) SetSendReport(sendReport *models.SendReport)
- func (o *SendSMSReportParams) SetTimeout(timeout time.Duration)
- func (o *SendSMSReportParams) WithCampaignID(campaignID int64) *SendSMSReportParams
- func (o *SendSMSReportParams) WithContext(ctx context.Context) *SendSMSReportParams
- func (o *SendSMSReportParams) WithHTTPClient(client *http.Client) *SendSMSReportParams
- func (o *SendSMSReportParams) WithSendReport(sendReport *models.SendReport) *SendSMSReportParams
- func (o *SendSMSReportParams) WithTimeout(timeout time.Duration) *SendSMSReportParams
- func (o *SendSMSReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendSMSReportReader
- type SendTestSMSBadRequest
- type SendTestSMSNoContent
- type SendTestSMSNotFound
- type SendTestSMSParams
- func (o *SendTestSMSParams) SetCampaignID(campaignID int64)
- func (o *SendTestSMSParams) SetContext(ctx context.Context)
- func (o *SendTestSMSParams) SetHTTPClient(client *http.Client)
- func (o *SendTestSMSParams) SetSendTestSMS(sendTestSMS *models.SendTestSMS)
- func (o *SendTestSMSParams) SetTimeout(timeout time.Duration)
- func (o *SendTestSMSParams) WithCampaignID(campaignID int64) *SendTestSMSParams
- func (o *SendTestSMSParams) WithContext(ctx context.Context) *SendTestSMSParams
- func (o *SendTestSMSParams) WithHTTPClient(client *http.Client) *SendTestSMSParams
- func (o *SendTestSMSParams) WithSendTestSMS(sendTestSMS *models.SendTestSMS) *SendTestSMSParams
- func (o *SendTestSMSParams) WithTimeout(timeout time.Duration) *SendTestSMSParams
- func (o *SendTestSMSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendTestSMSReader
- type UpdateSMSCampaignBadRequest
- type UpdateSMSCampaignNoContent
- type UpdateSMSCampaignNotFound
- type UpdateSMSCampaignParams
- func NewUpdateSMSCampaignParams() *UpdateSMSCampaignParams
- func NewUpdateSMSCampaignParamsWithContext(ctx context.Context) *UpdateSMSCampaignParams
- func NewUpdateSMSCampaignParamsWithHTTPClient(client *http.Client) *UpdateSMSCampaignParams
- func NewUpdateSMSCampaignParamsWithTimeout(timeout time.Duration) *UpdateSMSCampaignParams
- func (o *UpdateSMSCampaignParams) SetCampaignID(campaignID int64)
- func (o *UpdateSMSCampaignParams) SetContext(ctx context.Context)
- func (o *UpdateSMSCampaignParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSMSCampaignParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSMSCampaignParams) SetUpdateSMSCampaign(updateSMSCampaign *models.UpdateSMSCampaign)
- func (o *UpdateSMSCampaignParams) WithCampaignID(campaignID int64) *UpdateSMSCampaignParams
- func (o *UpdateSMSCampaignParams) WithContext(ctx context.Context) *UpdateSMSCampaignParams
- func (o *UpdateSMSCampaignParams) WithHTTPClient(client *http.Client) *UpdateSMSCampaignParams
- func (o *UpdateSMSCampaignParams) WithTimeout(timeout time.Duration) *UpdateSMSCampaignParams
- func (o *UpdateSMSCampaignParams) WithUpdateSMSCampaign(updateSMSCampaign *models.UpdateSMSCampaign) *UpdateSMSCampaignParams
- func (o *UpdateSMSCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSMSCampaignReader
- type UpdateSMSCampaignStatusBadRequest
- type UpdateSMSCampaignStatusNoContent
- type UpdateSMSCampaignStatusNotFound
- type UpdateSMSCampaignStatusParams
- func NewUpdateSMSCampaignStatusParams() *UpdateSMSCampaignStatusParams
- func NewUpdateSMSCampaignStatusParamsWithContext(ctx context.Context) *UpdateSMSCampaignStatusParams
- func NewUpdateSMSCampaignStatusParamsWithHTTPClient(client *http.Client) *UpdateSMSCampaignStatusParams
- func NewUpdateSMSCampaignStatusParamsWithTimeout(timeout time.Duration) *UpdateSMSCampaignStatusParams
- func (o *UpdateSMSCampaignStatusParams) SetCampaignID(campaignID int64)
- func (o *UpdateSMSCampaignStatusParams) SetContext(ctx context.Context)
- func (o *UpdateSMSCampaignStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSMSCampaignStatusParams) SetStatus(status *models.UpdateCampaignStatus)
- func (o *UpdateSMSCampaignStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSMSCampaignStatusParams) WithCampaignID(campaignID int64) *UpdateSMSCampaignStatusParams
- func (o *UpdateSMSCampaignStatusParams) WithContext(ctx context.Context) *UpdateSMSCampaignStatusParams
- func (o *UpdateSMSCampaignStatusParams) WithHTTPClient(client *http.Client) *UpdateSMSCampaignStatusParams
- func (o *UpdateSMSCampaignStatusParams) WithStatus(status *models.UpdateCampaignStatus) *UpdateSMSCampaignStatusParams
- func (o *UpdateSMSCampaignStatusParams) WithTimeout(timeout time.Duration) *UpdateSMSCampaignStatusParams
- func (o *UpdateSMSCampaignStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSMSCampaignStatusReader
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 sms campaigns API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new sms campaigns API client.
func (*Client) CreateSMSCampaign ¶
func (a *Client) CreateSMSCampaign(params *CreateSMSCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSMSCampaignCreated, error)
CreateSMSCampaign creates an SMS campaign
func (*Client) DeleteSMSCampaigns ¶
func (a *Client) DeleteSMSCampaigns(params *DeleteSMSCampaignsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSMSCampaignsNoContent, error)
DeleteSMSCampaigns deletes the SMS campaign
func (*Client) GetSMSCampaign ¶ added in v1.5.0
func (a *Client) GetSMSCampaign(params *GetSMSCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMSCampaignOK, error)
GetSMSCampaign gets an SMS campaign
func (*Client) GetSMSCampaigns ¶
func (a *Client) GetSMSCampaigns(params *GetSMSCampaignsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMSCampaignsOK, error)
GetSMSCampaigns returns the informations for all your created SMS campaigns
func (*Client) RequestSMSRecipientExport ¶
func (a *Client) RequestSMSRecipientExport(params *RequestSMSRecipientExportParams, authInfo runtime.ClientAuthInfoWriter) (*RequestSMSRecipientExportAccepted, error)
RequestSMSRecipientExport exports the recipients of the specified campaign
It returns the background process ID which on completion calls the notify URL that you have set in the input.
func (*Client) SendSMSCampaignNow ¶
func (a *Client) SendSMSCampaignNow(params *SendSMSCampaignNowParams, authInfo runtime.ClientAuthInfoWriter) (*SendSMSCampaignNowNoContent, error)
SendSMSCampaignNow sends your SMS campaign immediately
func (*Client) SendSMSReport ¶
func (a *Client) SendSMSReport(params *SendSMSReportParams, authInfo runtime.ClientAuthInfoWriter) (*SendSMSReportNoContent, error)
SendSMSReport sends report of SMS campaigns
Send report of Sent and Archived campaign, to the specified email addresses, with respective data and a pdf attachment in detail.
func (*Client) SendTestSMS ¶ added in v1.5.0
func (a *Client) SendTestSMS(params *SendTestSMSParams, authInfo runtime.ClientAuthInfoWriter) (*SendTestSMSNoContent, error)
SendTestSMS sends an SMS
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSMSCampaign ¶ added in v1.5.0
func (a *Client) UpdateSMSCampaign(params *UpdateSMSCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSMSCampaignNoContent, error)
UpdateSMSCampaign updates an SMS campaign
func (*Client) UpdateSMSCampaignStatus ¶
func (a *Client) UpdateSMSCampaignStatus(params *UpdateSMSCampaignStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSMSCampaignStatusNoContent, error)
UpdateSMSCampaignStatus updates the campaign status
type CreateSMSCampaignBadRequest ¶
type CreateSMSCampaignBadRequest struct {
Payload *models.ErrorModel
}
CreateSMSCampaignBadRequest handles this case with default header values.
bad request
func NewCreateSMSCampaignBadRequest ¶
func NewCreateSMSCampaignBadRequest() *CreateSMSCampaignBadRequest
NewCreateSMSCampaignBadRequest creates a CreateSMSCampaignBadRequest with default headers values
func (*CreateSMSCampaignBadRequest) Error ¶
func (o *CreateSMSCampaignBadRequest) Error() string
type CreateSMSCampaignCreated ¶
type CreateSMSCampaignCreated struct {
Payload *models.CreateModel
}
CreateSMSCampaignCreated handles this case with default header values.
SMS campaign created
func NewCreateSMSCampaignCreated ¶
func NewCreateSMSCampaignCreated() *CreateSMSCampaignCreated
NewCreateSMSCampaignCreated creates a CreateSMSCampaignCreated with default headers values
func (*CreateSMSCampaignCreated) Error ¶
func (o *CreateSMSCampaignCreated) Error() string
type CreateSMSCampaignParams ¶
type CreateSMSCampaignParams struct { /*CreateSMSCampaign Values to create an SMS Campaign */ CreateSMSCampaign *models.CreateSMSCampaign Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSMSCampaignParams contains all the parameters to send to the API endpoint for the create SMS campaign operation typically these are written to a http.Request
func NewCreateSMSCampaignParams ¶
func NewCreateSMSCampaignParams() *CreateSMSCampaignParams
NewCreateSMSCampaignParams creates a new CreateSMSCampaignParams object with the default values initialized.
func NewCreateSMSCampaignParamsWithContext ¶
func NewCreateSMSCampaignParamsWithContext(ctx context.Context) *CreateSMSCampaignParams
NewCreateSMSCampaignParamsWithContext creates a new CreateSMSCampaignParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSMSCampaignParamsWithHTTPClient ¶
func NewCreateSMSCampaignParamsWithHTTPClient(client *http.Client) *CreateSMSCampaignParams
NewCreateSMSCampaignParamsWithHTTPClient creates a new CreateSMSCampaignParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSMSCampaignParamsWithTimeout ¶
func NewCreateSMSCampaignParamsWithTimeout(timeout time.Duration) *CreateSMSCampaignParams
NewCreateSMSCampaignParamsWithTimeout creates a new CreateSMSCampaignParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSMSCampaignParams) SetContext ¶
func (o *CreateSMSCampaignParams) SetContext(ctx context.Context)
SetContext adds the context to the create SMS campaign params
func (*CreateSMSCampaignParams) SetCreateSMSCampaign ¶ added in v1.5.0
func (o *CreateSMSCampaignParams) SetCreateSMSCampaign(createSMSCampaign *models.CreateSMSCampaign)
SetCreateSMSCampaign adds the createSmsCampaign to the create SMS campaign params
func (*CreateSMSCampaignParams) SetHTTPClient ¶
func (o *CreateSMSCampaignParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create SMS campaign params
func (*CreateSMSCampaignParams) SetTimeout ¶
func (o *CreateSMSCampaignParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create SMS campaign params
func (*CreateSMSCampaignParams) WithContext ¶
func (o *CreateSMSCampaignParams) WithContext(ctx context.Context) *CreateSMSCampaignParams
WithContext adds the context to the create SMS campaign params
func (*CreateSMSCampaignParams) WithCreateSMSCampaign ¶ added in v1.5.0
func (o *CreateSMSCampaignParams) WithCreateSMSCampaign(createSMSCampaign *models.CreateSMSCampaign) *CreateSMSCampaignParams
WithCreateSMSCampaign adds the createSMSCampaign to the create SMS campaign params
func (*CreateSMSCampaignParams) WithHTTPClient ¶
func (o *CreateSMSCampaignParams) WithHTTPClient(client *http.Client) *CreateSMSCampaignParams
WithHTTPClient adds the HTTPClient to the create SMS campaign params
func (*CreateSMSCampaignParams) WithTimeout ¶
func (o *CreateSMSCampaignParams) WithTimeout(timeout time.Duration) *CreateSMSCampaignParams
WithTimeout adds the timeout to the create SMS campaign params
func (*CreateSMSCampaignParams) WriteToRequest ¶
func (o *CreateSMSCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSMSCampaignReader ¶
type CreateSMSCampaignReader struct {
// contains filtered or unexported fields
}
CreateSMSCampaignReader is a Reader for the CreateSMSCampaign structure.
func (*CreateSMSCampaignReader) ReadResponse ¶
func (o *CreateSMSCampaignReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSMSCampaignsBadRequest ¶
type DeleteSMSCampaignsBadRequest struct {
Payload *models.ErrorModel
}
DeleteSMSCampaignsBadRequest handles this case with default header values.
bad request
func NewDeleteSMSCampaignsBadRequest ¶
func NewDeleteSMSCampaignsBadRequest() *DeleteSMSCampaignsBadRequest
NewDeleteSMSCampaignsBadRequest creates a DeleteSMSCampaignsBadRequest with default headers values
func (*DeleteSMSCampaignsBadRequest) Error ¶
func (o *DeleteSMSCampaignsBadRequest) Error() string
type DeleteSMSCampaignsNoContent ¶
type DeleteSMSCampaignsNoContent struct { }
DeleteSMSCampaignsNoContent handles this case with default header values.
SMS campaign has been deleted
func NewDeleteSMSCampaignsNoContent ¶
func NewDeleteSMSCampaignsNoContent() *DeleteSMSCampaignsNoContent
NewDeleteSMSCampaignsNoContent creates a DeleteSMSCampaignsNoContent with default headers values
func (*DeleteSMSCampaignsNoContent) Error ¶
func (o *DeleteSMSCampaignsNoContent) Error() string
type DeleteSMSCampaignsNotFound ¶
type DeleteSMSCampaignsNotFound struct {
Payload *models.ErrorModel
}
DeleteSMSCampaignsNotFound handles this case with default header values.
Campaign ID not found
func NewDeleteSMSCampaignsNotFound ¶
func NewDeleteSMSCampaignsNotFound() *DeleteSMSCampaignsNotFound
NewDeleteSMSCampaignsNotFound creates a DeleteSMSCampaignsNotFound with default headers values
func (*DeleteSMSCampaignsNotFound) Error ¶
func (o *DeleteSMSCampaignsNotFound) Error() string
type DeleteSMSCampaignsParams ¶
type DeleteSMSCampaignsParams struct { /*CampaignID id of the SMS campaign */ CampaignID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSMSCampaignsParams contains all the parameters to send to the API endpoint for the delete SMS campaigns operation typically these are written to a http.Request
func NewDeleteSMSCampaignsParams ¶
func NewDeleteSMSCampaignsParams() *DeleteSMSCampaignsParams
NewDeleteSMSCampaignsParams creates a new DeleteSMSCampaignsParams object with the default values initialized.
func NewDeleteSMSCampaignsParamsWithContext ¶
func NewDeleteSMSCampaignsParamsWithContext(ctx context.Context) *DeleteSMSCampaignsParams
NewDeleteSMSCampaignsParamsWithContext creates a new DeleteSMSCampaignsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSMSCampaignsParamsWithHTTPClient ¶
func NewDeleteSMSCampaignsParamsWithHTTPClient(client *http.Client) *DeleteSMSCampaignsParams
NewDeleteSMSCampaignsParamsWithHTTPClient creates a new DeleteSMSCampaignsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSMSCampaignsParamsWithTimeout ¶
func NewDeleteSMSCampaignsParamsWithTimeout(timeout time.Duration) *DeleteSMSCampaignsParams
NewDeleteSMSCampaignsParamsWithTimeout creates a new DeleteSMSCampaignsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSMSCampaignsParams) SetCampaignID ¶
func (o *DeleteSMSCampaignsParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the delete SMS campaigns params
func (*DeleteSMSCampaignsParams) SetContext ¶
func (o *DeleteSMSCampaignsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete SMS campaigns params
func (*DeleteSMSCampaignsParams) SetHTTPClient ¶
func (o *DeleteSMSCampaignsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete SMS campaigns params
func (*DeleteSMSCampaignsParams) SetTimeout ¶
func (o *DeleteSMSCampaignsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete SMS campaigns params
func (*DeleteSMSCampaignsParams) WithCampaignID ¶
func (o *DeleteSMSCampaignsParams) WithCampaignID(campaignID int64) *DeleteSMSCampaignsParams
WithCampaignID adds the campaignID to the delete SMS campaigns params
func (*DeleteSMSCampaignsParams) WithContext ¶
func (o *DeleteSMSCampaignsParams) WithContext(ctx context.Context) *DeleteSMSCampaignsParams
WithContext adds the context to the delete SMS campaigns params
func (*DeleteSMSCampaignsParams) WithHTTPClient ¶
func (o *DeleteSMSCampaignsParams) WithHTTPClient(client *http.Client) *DeleteSMSCampaignsParams
WithHTTPClient adds the HTTPClient to the delete SMS campaigns params
func (*DeleteSMSCampaignsParams) WithTimeout ¶
func (o *DeleteSMSCampaignsParams) WithTimeout(timeout time.Duration) *DeleteSMSCampaignsParams
WithTimeout adds the timeout to the delete SMS campaigns params
func (*DeleteSMSCampaignsParams) WriteToRequest ¶
func (o *DeleteSMSCampaignsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSMSCampaignsReader ¶
type DeleteSMSCampaignsReader struct {
// contains filtered or unexported fields
}
DeleteSMSCampaignsReader is a Reader for the DeleteSMSCampaigns structure.
func (*DeleteSMSCampaignsReader) ReadResponse ¶
func (o *DeleteSMSCampaignsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSMSCampaignBadRequest ¶ added in v1.5.0
type GetSMSCampaignBadRequest struct {
Payload *models.ErrorModel
}
GetSMSCampaignBadRequest handles this case with default header values.
bad request
func NewGetSMSCampaignBadRequest ¶ added in v1.5.0
func NewGetSMSCampaignBadRequest() *GetSMSCampaignBadRequest
NewGetSMSCampaignBadRequest creates a GetSMSCampaignBadRequest with default headers values
func (*GetSMSCampaignBadRequest) Error ¶ added in v1.5.0
func (o *GetSMSCampaignBadRequest) Error() string
type GetSMSCampaignNotFound ¶ added in v1.5.0
type GetSMSCampaignNotFound struct {
Payload *models.ErrorModel
}
GetSMSCampaignNotFound handles this case with default header values.
Campaign ID not found
func NewGetSMSCampaignNotFound ¶ added in v1.5.0
func NewGetSMSCampaignNotFound() *GetSMSCampaignNotFound
NewGetSMSCampaignNotFound creates a GetSMSCampaignNotFound with default headers values
func (*GetSMSCampaignNotFound) Error ¶ added in v1.5.0
func (o *GetSMSCampaignNotFound) Error() string
type GetSMSCampaignOK ¶ added in v1.5.0
type GetSMSCampaignOK struct {
Payload *models.GetSMSCampaign
}
GetSMSCampaignOK handles this case with default header values.
SMS campaign informations
func NewGetSMSCampaignOK ¶ added in v1.5.0
func NewGetSMSCampaignOK() *GetSMSCampaignOK
NewGetSMSCampaignOK creates a GetSMSCampaignOK with default headers values
func (*GetSMSCampaignOK) Error ¶ added in v1.5.0
func (o *GetSMSCampaignOK) Error() string
type GetSMSCampaignParams ¶ added in v1.5.0
type GetSMSCampaignParams struct { /*CampaignID id of the SMS campaign */ CampaignID int64 /*GetSMSCampaign Values to update an SMS Campaign */ GetSMSCampaign *models.GetSMSCampaign Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSMSCampaignParams contains all the parameters to send to the API endpoint for the get Sms campaign operation typically these are written to a http.Request
func NewGetSMSCampaignParams ¶ added in v1.5.0
func NewGetSMSCampaignParams() *GetSMSCampaignParams
NewGetSMSCampaignParams creates a new GetSMSCampaignParams object with the default values initialized.
func NewGetSMSCampaignParamsWithContext ¶ added in v1.5.0
func NewGetSMSCampaignParamsWithContext(ctx context.Context) *GetSMSCampaignParams
NewGetSMSCampaignParamsWithContext creates a new GetSMSCampaignParams object with the default values initialized, and the ability to set a context for a request
func NewGetSMSCampaignParamsWithHTTPClient ¶ added in v1.5.0
func NewGetSMSCampaignParamsWithHTTPClient(client *http.Client) *GetSMSCampaignParams
NewGetSMSCampaignParamsWithHTTPClient creates a new GetSMSCampaignParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSMSCampaignParamsWithTimeout ¶ added in v1.5.0
func NewGetSMSCampaignParamsWithTimeout(timeout time.Duration) *GetSMSCampaignParams
NewGetSMSCampaignParamsWithTimeout creates a new GetSMSCampaignParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSMSCampaignParams) SetCampaignID ¶ added in v1.5.0
func (o *GetSMSCampaignParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the get Sms campaign params
func (*GetSMSCampaignParams) SetContext ¶ added in v1.5.0
func (o *GetSMSCampaignParams) SetContext(ctx context.Context)
SetContext adds the context to the get Sms campaign params
func (*GetSMSCampaignParams) SetGetSMSCampaign ¶ added in v1.5.0
func (o *GetSMSCampaignParams) SetGetSMSCampaign(getSMSCampaign *models.GetSMSCampaign)
SetGetSMSCampaign adds the getSmsCampaign to the get Sms campaign params
func (*GetSMSCampaignParams) SetHTTPClient ¶ added in v1.5.0
func (o *GetSMSCampaignParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Sms campaign params
func (*GetSMSCampaignParams) SetTimeout ¶ added in v1.5.0
func (o *GetSMSCampaignParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Sms campaign params
func (*GetSMSCampaignParams) WithCampaignID ¶ added in v1.5.0
func (o *GetSMSCampaignParams) WithCampaignID(campaignID int64) *GetSMSCampaignParams
WithCampaignID adds the campaignID to the get Sms campaign params
func (*GetSMSCampaignParams) WithContext ¶ added in v1.5.0
func (o *GetSMSCampaignParams) WithContext(ctx context.Context) *GetSMSCampaignParams
WithContext adds the context to the get Sms campaign params
func (*GetSMSCampaignParams) WithGetSMSCampaign ¶ added in v1.5.0
func (o *GetSMSCampaignParams) WithGetSMSCampaign(getSMSCampaign *models.GetSMSCampaign) *GetSMSCampaignParams
WithGetSMSCampaign adds the getSMSCampaign to the get Sms campaign params
func (*GetSMSCampaignParams) WithHTTPClient ¶ added in v1.5.0
func (o *GetSMSCampaignParams) WithHTTPClient(client *http.Client) *GetSMSCampaignParams
WithHTTPClient adds the HTTPClient to the get Sms campaign params
func (*GetSMSCampaignParams) WithTimeout ¶ added in v1.5.0
func (o *GetSMSCampaignParams) WithTimeout(timeout time.Duration) *GetSMSCampaignParams
WithTimeout adds the timeout to the get Sms campaign params
func (*GetSMSCampaignParams) WriteToRequest ¶ added in v1.5.0
func (o *GetSMSCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSMSCampaignReader ¶ added in v1.5.0
type GetSMSCampaignReader struct {
// contains filtered or unexported fields
}
GetSMSCampaignReader is a Reader for the GetSMSCampaign structure.
func (*GetSMSCampaignReader) ReadResponse ¶ added in v1.5.0
func (o *GetSMSCampaignReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSMSCampaignsBadRequest ¶
type GetSMSCampaignsBadRequest struct {
Payload *models.ErrorModel
}
GetSMSCampaignsBadRequest handles this case with default header values.
bad request
func NewGetSMSCampaignsBadRequest ¶
func NewGetSMSCampaignsBadRequest() *GetSMSCampaignsBadRequest
NewGetSMSCampaignsBadRequest creates a GetSMSCampaignsBadRequest with default headers values
func (*GetSMSCampaignsBadRequest) Error ¶
func (o *GetSMSCampaignsBadRequest) Error() string
type GetSMSCampaignsOK ¶
type GetSMSCampaignsOK struct {
Payload *models.GetSMSCampaigns
}
GetSMSCampaignsOK handles this case with default header values.
SMS campaigns informations
func NewGetSMSCampaignsOK ¶
func NewGetSMSCampaignsOK() *GetSMSCampaignsOK
NewGetSMSCampaignsOK creates a GetSMSCampaignsOK with default headers values
func (*GetSMSCampaignsOK) Error ¶
func (o *GetSMSCampaignsOK) Error() string
type GetSMSCampaignsParams ¶
type GetSMSCampaignsParams struct { /*Limit Number limitation for the result returned */ Limit *int64 /*Offset Beginning point in the list to retrieve from. */ Offset *int64 /*Status Status of campaign. */ Status *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSMSCampaignsParams contains all the parameters to send to the API endpoint for the get SMS campaigns operation typically these are written to a http.Request
func NewGetSMSCampaignsParams ¶
func NewGetSMSCampaignsParams() *GetSMSCampaignsParams
NewGetSMSCampaignsParams creates a new GetSMSCampaignsParams object with the default values initialized.
func NewGetSMSCampaignsParamsWithContext ¶
func NewGetSMSCampaignsParamsWithContext(ctx context.Context) *GetSMSCampaignsParams
NewGetSMSCampaignsParamsWithContext creates a new GetSMSCampaignsParams object with the default values initialized, and the ability to set a context for a request
func NewGetSMSCampaignsParamsWithHTTPClient ¶
func NewGetSMSCampaignsParamsWithHTTPClient(client *http.Client) *GetSMSCampaignsParams
NewGetSMSCampaignsParamsWithHTTPClient creates a new GetSMSCampaignsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSMSCampaignsParamsWithTimeout ¶
func NewGetSMSCampaignsParamsWithTimeout(timeout time.Duration) *GetSMSCampaignsParams
NewGetSMSCampaignsParamsWithTimeout creates a new GetSMSCampaignsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSMSCampaignsParams) SetContext ¶
func (o *GetSMSCampaignsParams) SetContext(ctx context.Context)
SetContext adds the context to the get SMS campaigns params
func (*GetSMSCampaignsParams) SetHTTPClient ¶
func (o *GetSMSCampaignsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get SMS campaigns params
func (*GetSMSCampaignsParams) SetLimit ¶
func (o *GetSMSCampaignsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get SMS campaigns params
func (*GetSMSCampaignsParams) SetOffset ¶
func (o *GetSMSCampaignsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get SMS campaigns params
func (*GetSMSCampaignsParams) SetStatus ¶
func (o *GetSMSCampaignsParams) SetStatus(status *string)
SetStatus adds the status to the get SMS campaigns params
func (*GetSMSCampaignsParams) SetTimeout ¶
func (o *GetSMSCampaignsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get SMS campaigns params
func (*GetSMSCampaignsParams) WithContext ¶
func (o *GetSMSCampaignsParams) WithContext(ctx context.Context) *GetSMSCampaignsParams
WithContext adds the context to the get SMS campaigns params
func (*GetSMSCampaignsParams) WithHTTPClient ¶
func (o *GetSMSCampaignsParams) WithHTTPClient(client *http.Client) *GetSMSCampaignsParams
WithHTTPClient adds the HTTPClient to the get SMS campaigns params
func (*GetSMSCampaignsParams) WithLimit ¶
func (o *GetSMSCampaignsParams) WithLimit(limit *int64) *GetSMSCampaignsParams
WithLimit adds the limit to the get SMS campaigns params
func (*GetSMSCampaignsParams) WithOffset ¶
func (o *GetSMSCampaignsParams) WithOffset(offset *int64) *GetSMSCampaignsParams
WithOffset adds the offset to the get SMS campaigns params
func (*GetSMSCampaignsParams) WithStatus ¶
func (o *GetSMSCampaignsParams) WithStatus(status *string) *GetSMSCampaignsParams
WithStatus adds the status to the get SMS campaigns params
func (*GetSMSCampaignsParams) WithTimeout ¶
func (o *GetSMSCampaignsParams) WithTimeout(timeout time.Duration) *GetSMSCampaignsParams
WithTimeout adds the timeout to the get SMS campaigns params
func (*GetSMSCampaignsParams) WriteToRequest ¶
func (o *GetSMSCampaignsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSMSCampaignsReader ¶
type GetSMSCampaignsReader struct {
// contains filtered or unexported fields
}
GetSMSCampaignsReader is a Reader for the GetSMSCampaigns structure.
func (*GetSMSCampaignsReader) ReadResponse ¶
func (o *GetSMSCampaignsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RequestSMSRecipientExportAccepted ¶
type RequestSMSRecipientExportAccepted struct {
Payload *models.CreatedProcessID
}
RequestSMSRecipientExportAccepted handles this case with default header values.
Recipient export request has been accepted
func NewRequestSMSRecipientExportAccepted ¶
func NewRequestSMSRecipientExportAccepted() *RequestSMSRecipientExportAccepted
NewRequestSMSRecipientExportAccepted creates a RequestSMSRecipientExportAccepted with default headers values
func (*RequestSMSRecipientExportAccepted) Error ¶
func (o *RequestSMSRecipientExportAccepted) Error() string
type RequestSMSRecipientExportBadRequest ¶
type RequestSMSRecipientExportBadRequest struct {
Payload *models.ErrorModel
}
RequestSMSRecipientExportBadRequest handles this case with default header values.
bad request
func NewRequestSMSRecipientExportBadRequest ¶
func NewRequestSMSRecipientExportBadRequest() *RequestSMSRecipientExportBadRequest
NewRequestSMSRecipientExportBadRequest creates a RequestSMSRecipientExportBadRequest with default headers values
func (*RequestSMSRecipientExportBadRequest) Error ¶
func (o *RequestSMSRecipientExportBadRequest) Error() string
type RequestSMSRecipientExportNotFound ¶
type RequestSMSRecipientExportNotFound struct {
Payload *models.ErrorModel
}
RequestSMSRecipientExportNotFound handles this case with default header values.
Campaign ID not found
func NewRequestSMSRecipientExportNotFound ¶
func NewRequestSMSRecipientExportNotFound() *RequestSMSRecipientExportNotFound
NewRequestSMSRecipientExportNotFound creates a RequestSMSRecipientExportNotFound with default headers values
func (*RequestSMSRecipientExportNotFound) Error ¶
func (o *RequestSMSRecipientExportNotFound) Error() string
type RequestSMSRecipientExportParams ¶
type RequestSMSRecipientExportParams struct { /*CampaignID id of the campaign */ CampaignID int64 /*RecipientExport Values to send for a recipient export request */ RecipientExport *models.RequestSMSRecipientExport Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RequestSMSRecipientExportParams contains all the parameters to send to the API endpoint for the request SMS recipient export operation typically these are written to a http.Request
func NewRequestSMSRecipientExportParams ¶
func NewRequestSMSRecipientExportParams() *RequestSMSRecipientExportParams
NewRequestSMSRecipientExportParams creates a new RequestSMSRecipientExportParams object with the default values initialized.
func NewRequestSMSRecipientExportParamsWithContext ¶
func NewRequestSMSRecipientExportParamsWithContext(ctx context.Context) *RequestSMSRecipientExportParams
NewRequestSMSRecipientExportParamsWithContext creates a new RequestSMSRecipientExportParams object with the default values initialized, and the ability to set a context for a request
func NewRequestSMSRecipientExportParamsWithHTTPClient ¶
func NewRequestSMSRecipientExportParamsWithHTTPClient(client *http.Client) *RequestSMSRecipientExportParams
NewRequestSMSRecipientExportParamsWithHTTPClient creates a new RequestSMSRecipientExportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRequestSMSRecipientExportParamsWithTimeout ¶
func NewRequestSMSRecipientExportParamsWithTimeout(timeout time.Duration) *RequestSMSRecipientExportParams
NewRequestSMSRecipientExportParamsWithTimeout creates a new RequestSMSRecipientExportParams object with the default values initialized, and the ability to set a timeout on a request
func (*RequestSMSRecipientExportParams) SetCampaignID ¶
func (o *RequestSMSRecipientExportParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) SetContext ¶
func (o *RequestSMSRecipientExportParams) SetContext(ctx context.Context)
SetContext adds the context to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) SetHTTPClient ¶
func (o *RequestSMSRecipientExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) SetRecipientExport ¶
func (o *RequestSMSRecipientExportParams) SetRecipientExport(recipientExport *models.RequestSMSRecipientExport)
SetRecipientExport adds the recipientExport to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) SetTimeout ¶
func (o *RequestSMSRecipientExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) WithCampaignID ¶
func (o *RequestSMSRecipientExportParams) WithCampaignID(campaignID int64) *RequestSMSRecipientExportParams
WithCampaignID adds the campaignID to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) WithContext ¶
func (o *RequestSMSRecipientExportParams) WithContext(ctx context.Context) *RequestSMSRecipientExportParams
WithContext adds the context to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) WithHTTPClient ¶
func (o *RequestSMSRecipientExportParams) WithHTTPClient(client *http.Client) *RequestSMSRecipientExportParams
WithHTTPClient adds the HTTPClient to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) WithRecipientExport ¶
func (o *RequestSMSRecipientExportParams) WithRecipientExport(recipientExport *models.RequestSMSRecipientExport) *RequestSMSRecipientExportParams
WithRecipientExport adds the recipientExport to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) WithTimeout ¶
func (o *RequestSMSRecipientExportParams) WithTimeout(timeout time.Duration) *RequestSMSRecipientExportParams
WithTimeout adds the timeout to the request SMS recipient export params
func (*RequestSMSRecipientExportParams) WriteToRequest ¶
func (o *RequestSMSRecipientExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RequestSMSRecipientExportReader ¶
type RequestSMSRecipientExportReader struct {
// contains filtered or unexported fields
}
RequestSMSRecipientExportReader is a Reader for the RequestSMSRecipientExport structure.
func (*RequestSMSRecipientExportReader) ReadResponse ¶
func (o *RequestSMSRecipientExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendSMSCampaignNowBadRequest ¶
type SendSMSCampaignNowBadRequest struct {
Payload *models.ErrorModel
}
SendSMSCampaignNowBadRequest handles this case with default header values.
SMS Campaign could not be sent
func NewSendSMSCampaignNowBadRequest ¶
func NewSendSMSCampaignNowBadRequest() *SendSMSCampaignNowBadRequest
NewSendSMSCampaignNowBadRequest creates a SendSMSCampaignNowBadRequest with default headers values
func (*SendSMSCampaignNowBadRequest) Error ¶
func (o *SendSMSCampaignNowBadRequest) Error() string
type SendSMSCampaignNowNoContent ¶
type SendSMSCampaignNowNoContent struct { }
SendSMSCampaignNowNoContent handles this case with default header values.
SMS campaign has been scheduled
func NewSendSMSCampaignNowNoContent ¶
func NewSendSMSCampaignNowNoContent() *SendSMSCampaignNowNoContent
NewSendSMSCampaignNowNoContent creates a SendSMSCampaignNowNoContent with default headers values
func (*SendSMSCampaignNowNoContent) Error ¶
func (o *SendSMSCampaignNowNoContent) Error() string
type SendSMSCampaignNowNotFound ¶
type SendSMSCampaignNowNotFound struct {
Payload *models.ErrorModel
}
SendSMSCampaignNowNotFound handles this case with default header values.
Campaign ID not found
func NewSendSMSCampaignNowNotFound ¶
func NewSendSMSCampaignNowNotFound() *SendSMSCampaignNowNotFound
NewSendSMSCampaignNowNotFound creates a SendSMSCampaignNowNotFound with default headers values
func (*SendSMSCampaignNowNotFound) Error ¶
func (o *SendSMSCampaignNowNotFound) Error() string
type SendSMSCampaignNowParams ¶
type SendSMSCampaignNowParams struct { /*CampaignID id of the campaign */ CampaignID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendSMSCampaignNowParams contains all the parameters to send to the API endpoint for the send SMS campaign now operation typically these are written to a http.Request
func NewSendSMSCampaignNowParams ¶
func NewSendSMSCampaignNowParams() *SendSMSCampaignNowParams
NewSendSMSCampaignNowParams creates a new SendSMSCampaignNowParams object with the default values initialized.
func NewSendSMSCampaignNowParamsWithContext ¶
func NewSendSMSCampaignNowParamsWithContext(ctx context.Context) *SendSMSCampaignNowParams
NewSendSMSCampaignNowParamsWithContext creates a new SendSMSCampaignNowParams object with the default values initialized, and the ability to set a context for a request
func NewSendSMSCampaignNowParamsWithHTTPClient ¶
func NewSendSMSCampaignNowParamsWithHTTPClient(client *http.Client) *SendSMSCampaignNowParams
NewSendSMSCampaignNowParamsWithHTTPClient creates a new SendSMSCampaignNowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendSMSCampaignNowParamsWithTimeout ¶
func NewSendSMSCampaignNowParamsWithTimeout(timeout time.Duration) *SendSMSCampaignNowParams
NewSendSMSCampaignNowParamsWithTimeout creates a new SendSMSCampaignNowParams object with the default values initialized, and the ability to set a timeout on a request
func (*SendSMSCampaignNowParams) SetCampaignID ¶
func (o *SendSMSCampaignNowParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the send SMS campaign now params
func (*SendSMSCampaignNowParams) SetContext ¶
func (o *SendSMSCampaignNowParams) SetContext(ctx context.Context)
SetContext adds the context to the send SMS campaign now params
func (*SendSMSCampaignNowParams) SetHTTPClient ¶
func (o *SendSMSCampaignNowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send SMS campaign now params
func (*SendSMSCampaignNowParams) SetTimeout ¶
func (o *SendSMSCampaignNowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send SMS campaign now params
func (*SendSMSCampaignNowParams) WithCampaignID ¶
func (o *SendSMSCampaignNowParams) WithCampaignID(campaignID int64) *SendSMSCampaignNowParams
WithCampaignID adds the campaignID to the send SMS campaign now params
func (*SendSMSCampaignNowParams) WithContext ¶
func (o *SendSMSCampaignNowParams) WithContext(ctx context.Context) *SendSMSCampaignNowParams
WithContext adds the context to the send SMS campaign now params
func (*SendSMSCampaignNowParams) WithHTTPClient ¶
func (o *SendSMSCampaignNowParams) WithHTTPClient(client *http.Client) *SendSMSCampaignNowParams
WithHTTPClient adds the HTTPClient to the send SMS campaign now params
func (*SendSMSCampaignNowParams) WithTimeout ¶
func (o *SendSMSCampaignNowParams) WithTimeout(timeout time.Duration) *SendSMSCampaignNowParams
WithTimeout adds the timeout to the send SMS campaign now params
func (*SendSMSCampaignNowParams) WriteToRequest ¶
func (o *SendSMSCampaignNowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendSMSCampaignNowPaymentRequired ¶
type SendSMSCampaignNowPaymentRequired struct {
Payload *models.ErrorModel
}
SendSMSCampaignNowPaymentRequired handles this case with default header values.
You don't have enough credit to send your campaign. Please update your plan
func NewSendSMSCampaignNowPaymentRequired ¶
func NewSendSMSCampaignNowPaymentRequired() *SendSMSCampaignNowPaymentRequired
NewSendSMSCampaignNowPaymentRequired creates a SendSMSCampaignNowPaymentRequired with default headers values
func (*SendSMSCampaignNowPaymentRequired) Error ¶
func (o *SendSMSCampaignNowPaymentRequired) Error() string
type SendSMSCampaignNowReader ¶
type SendSMSCampaignNowReader struct {
// contains filtered or unexported fields
}
SendSMSCampaignNowReader is a Reader for the SendSMSCampaignNow structure.
func (*SendSMSCampaignNowReader) ReadResponse ¶
func (o *SendSMSCampaignNowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendSMSReportBadRequest ¶
type SendSMSReportBadRequest struct {
Payload *models.ErrorModel
}
SendSMSReportBadRequest handles this case with default header values.
bad request
func NewSendSMSReportBadRequest ¶
func NewSendSMSReportBadRequest() *SendSMSReportBadRequest
NewSendSMSReportBadRequest creates a SendSMSReportBadRequest with default headers values
func (*SendSMSReportBadRequest) Error ¶
func (o *SendSMSReportBadRequest) Error() string
type SendSMSReportNoContent ¶
type SendSMSReportNoContent struct { }
SendSMSReportNoContent handles this case with default header values.
Report has been successfully sent to the defined recipients
func NewSendSMSReportNoContent ¶
func NewSendSMSReportNoContent() *SendSMSReportNoContent
NewSendSMSReportNoContent creates a SendSMSReportNoContent with default headers values
func (*SendSMSReportNoContent) Error ¶
func (o *SendSMSReportNoContent) Error() string
type SendSMSReportNotFound ¶
type SendSMSReportNotFound struct {
Payload *models.ErrorModel
}
SendSMSReportNotFound handles this case with default header values.
Campaign ID not found
func NewSendSMSReportNotFound ¶
func NewSendSMSReportNotFound() *SendSMSReportNotFound
NewSendSMSReportNotFound creates a SendSMSReportNotFound with default headers values
func (*SendSMSReportNotFound) Error ¶
func (o *SendSMSReportNotFound) Error() string
type SendSMSReportParams ¶
type SendSMSReportParams struct { /*CampaignID id of the campaign */ CampaignID int64 /*SendReport Values for send a report */ SendReport *models.SendReport Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendSMSReportParams contains all the parameters to send to the API endpoint for the send SMS report operation typically these are written to a http.Request
func NewSendSMSReportParams ¶
func NewSendSMSReportParams() *SendSMSReportParams
NewSendSMSReportParams creates a new SendSMSReportParams object with the default values initialized.
func NewSendSMSReportParamsWithContext ¶
func NewSendSMSReportParamsWithContext(ctx context.Context) *SendSMSReportParams
NewSendSMSReportParamsWithContext creates a new SendSMSReportParams object with the default values initialized, and the ability to set a context for a request
func NewSendSMSReportParamsWithHTTPClient ¶
func NewSendSMSReportParamsWithHTTPClient(client *http.Client) *SendSMSReportParams
NewSendSMSReportParamsWithHTTPClient creates a new SendSMSReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendSMSReportParamsWithTimeout ¶
func NewSendSMSReportParamsWithTimeout(timeout time.Duration) *SendSMSReportParams
NewSendSMSReportParamsWithTimeout creates a new SendSMSReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*SendSMSReportParams) SetCampaignID ¶
func (o *SendSMSReportParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the send SMS report params
func (*SendSMSReportParams) SetContext ¶
func (o *SendSMSReportParams) SetContext(ctx context.Context)
SetContext adds the context to the send SMS report params
func (*SendSMSReportParams) SetHTTPClient ¶
func (o *SendSMSReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send SMS report params
func (*SendSMSReportParams) SetSendReport ¶
func (o *SendSMSReportParams) SetSendReport(sendReport *models.SendReport)
SetSendReport adds the sendReport to the send SMS report params
func (*SendSMSReportParams) SetTimeout ¶
func (o *SendSMSReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send SMS report params
func (*SendSMSReportParams) WithCampaignID ¶
func (o *SendSMSReportParams) WithCampaignID(campaignID int64) *SendSMSReportParams
WithCampaignID adds the campaignID to the send SMS report params
func (*SendSMSReportParams) WithContext ¶
func (o *SendSMSReportParams) WithContext(ctx context.Context) *SendSMSReportParams
WithContext adds the context to the send SMS report params
func (*SendSMSReportParams) WithHTTPClient ¶
func (o *SendSMSReportParams) WithHTTPClient(client *http.Client) *SendSMSReportParams
WithHTTPClient adds the HTTPClient to the send SMS report params
func (*SendSMSReportParams) WithSendReport ¶
func (o *SendSMSReportParams) WithSendReport(sendReport *models.SendReport) *SendSMSReportParams
WithSendReport adds the sendReport to the send SMS report params
func (*SendSMSReportParams) WithTimeout ¶
func (o *SendSMSReportParams) WithTimeout(timeout time.Duration) *SendSMSReportParams
WithTimeout adds the timeout to the send SMS report params
func (*SendSMSReportParams) WriteToRequest ¶
func (o *SendSMSReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendSMSReportReader ¶
type SendSMSReportReader struct {
// contains filtered or unexported fields
}
SendSMSReportReader is a Reader for the SendSMSReport structure.
func (*SendSMSReportReader) ReadResponse ¶
func (o *SendSMSReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendTestSMSBadRequest ¶ added in v1.5.0
type SendTestSMSBadRequest struct {
Payload *models.PostSendSMSTestFailed
}
SendTestSMSBadRequest handles this case with default header values.
Test SMS could not be sent to the following email addresses
func NewSendTestSMSBadRequest ¶ added in v1.5.0
func NewSendTestSMSBadRequest() *SendTestSMSBadRequest
NewSendTestSMSBadRequest creates a SendTestSMSBadRequest with default headers values
func (*SendTestSMSBadRequest) Error ¶ added in v1.5.0
func (o *SendTestSMSBadRequest) Error() string
type SendTestSMSNoContent ¶ added in v1.5.0
type SendTestSMSNoContent struct { }
SendTestSMSNoContent handles this case with default header values.
Test SMS has been sent successfully to the recipient
func NewSendTestSMSNoContent ¶ added in v1.5.0
func NewSendTestSMSNoContent() *SendTestSMSNoContent
NewSendTestSMSNoContent creates a SendTestSMSNoContent with default headers values
func (*SendTestSMSNoContent) Error ¶ added in v1.5.0
func (o *SendTestSMSNoContent) Error() string
type SendTestSMSNotFound ¶ added in v1.5.0
type SendTestSMSNotFound struct {
Payload *models.ErrorModel
}
SendTestSMSNotFound handles this case with default header values.
Campaign ID not found
func NewSendTestSMSNotFound ¶ added in v1.5.0
func NewSendTestSMSNotFound() *SendTestSMSNotFound
NewSendTestSMSNotFound creates a SendTestSMSNotFound with default headers values
func (*SendTestSMSNotFound) Error ¶ added in v1.5.0
func (o *SendTestSMSNotFound) Error() string
type SendTestSMSParams ¶ added in v1.5.0
type SendTestSMSParams struct { /*CampaignID Id of the SMS campaign */ CampaignID int64 /*SendTestSMS Mobile number to which send the test */ SendTestSMS *models.SendTestSMS Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendTestSMSParams contains all the parameters to send to the API endpoint for the send test Sms operation typically these are written to a http.Request
func NewSendTestSMSParams ¶ added in v1.5.0
func NewSendTestSMSParams() *SendTestSMSParams
NewSendTestSMSParams creates a new SendTestSMSParams object with the default values initialized.
func NewSendTestSMSParamsWithContext ¶ added in v1.5.0
func NewSendTestSMSParamsWithContext(ctx context.Context) *SendTestSMSParams
NewSendTestSMSParamsWithContext creates a new SendTestSMSParams object with the default values initialized, and the ability to set a context for a request
func NewSendTestSMSParamsWithHTTPClient ¶ added in v1.5.0
func NewSendTestSMSParamsWithHTTPClient(client *http.Client) *SendTestSMSParams
NewSendTestSMSParamsWithHTTPClient creates a new SendTestSMSParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendTestSMSParamsWithTimeout ¶ added in v1.5.0
func NewSendTestSMSParamsWithTimeout(timeout time.Duration) *SendTestSMSParams
NewSendTestSMSParamsWithTimeout creates a new SendTestSMSParams object with the default values initialized, and the ability to set a timeout on a request
func (*SendTestSMSParams) SetCampaignID ¶ added in v1.5.0
func (o *SendTestSMSParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the send test Sms params
func (*SendTestSMSParams) SetContext ¶ added in v1.5.0
func (o *SendTestSMSParams) SetContext(ctx context.Context)
SetContext adds the context to the send test Sms params
func (*SendTestSMSParams) SetHTTPClient ¶ added in v1.5.0
func (o *SendTestSMSParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send test Sms params
func (*SendTestSMSParams) SetSendTestSMS ¶ added in v1.5.0
func (o *SendTestSMSParams) SetSendTestSMS(sendTestSMS *models.SendTestSMS)
SetSendTestSMS adds the sendTestSms to the send test Sms params
func (*SendTestSMSParams) SetTimeout ¶ added in v1.5.0
func (o *SendTestSMSParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send test Sms params
func (*SendTestSMSParams) WithCampaignID ¶ added in v1.5.0
func (o *SendTestSMSParams) WithCampaignID(campaignID int64) *SendTestSMSParams
WithCampaignID adds the campaignID to the send test Sms params
func (*SendTestSMSParams) WithContext ¶ added in v1.5.0
func (o *SendTestSMSParams) WithContext(ctx context.Context) *SendTestSMSParams
WithContext adds the context to the send test Sms params
func (*SendTestSMSParams) WithHTTPClient ¶ added in v1.5.0
func (o *SendTestSMSParams) WithHTTPClient(client *http.Client) *SendTestSMSParams
WithHTTPClient adds the HTTPClient to the send test Sms params
func (*SendTestSMSParams) WithSendTestSMS ¶ added in v1.5.0
func (o *SendTestSMSParams) WithSendTestSMS(sendTestSMS *models.SendTestSMS) *SendTestSMSParams
WithSendTestSMS adds the sendTestSMS to the send test Sms params
func (*SendTestSMSParams) WithTimeout ¶ added in v1.5.0
func (o *SendTestSMSParams) WithTimeout(timeout time.Duration) *SendTestSMSParams
WithTimeout adds the timeout to the send test Sms params
func (*SendTestSMSParams) WriteToRequest ¶ added in v1.5.0
func (o *SendTestSMSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendTestSMSReader ¶ added in v1.5.0
type SendTestSMSReader struct {
// contains filtered or unexported fields
}
SendTestSMSReader is a Reader for the SendTestSMS structure.
func (*SendTestSMSReader) ReadResponse ¶ added in v1.5.0
func (o *SendTestSMSReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSMSCampaignBadRequest ¶ added in v1.5.0
type UpdateSMSCampaignBadRequest struct {
Payload *models.ErrorModel
}
UpdateSMSCampaignBadRequest handles this case with default header values.
bad request
func NewUpdateSMSCampaignBadRequest ¶ added in v1.5.0
func NewUpdateSMSCampaignBadRequest() *UpdateSMSCampaignBadRequest
NewUpdateSMSCampaignBadRequest creates a UpdateSMSCampaignBadRequest with default headers values
func (*UpdateSMSCampaignBadRequest) Error ¶ added in v1.5.0
func (o *UpdateSMSCampaignBadRequest) Error() string
type UpdateSMSCampaignNoContent ¶ added in v1.5.0
type UpdateSMSCampaignNoContent struct { }
UpdateSMSCampaignNoContent handles this case with default header values.
SMS campaign updated
func NewUpdateSMSCampaignNoContent ¶ added in v1.5.0
func NewUpdateSMSCampaignNoContent() *UpdateSMSCampaignNoContent
NewUpdateSMSCampaignNoContent creates a UpdateSMSCampaignNoContent with default headers values
func (*UpdateSMSCampaignNoContent) Error ¶ added in v1.5.0
func (o *UpdateSMSCampaignNoContent) Error() string
type UpdateSMSCampaignNotFound ¶ added in v1.5.0
type UpdateSMSCampaignNotFound struct {
Payload *models.ErrorModel
}
UpdateSMSCampaignNotFound handles this case with default header values.
Campaign ID not found
func NewUpdateSMSCampaignNotFound ¶ added in v1.5.0
func NewUpdateSMSCampaignNotFound() *UpdateSMSCampaignNotFound
NewUpdateSMSCampaignNotFound creates a UpdateSMSCampaignNotFound with default headers values
func (*UpdateSMSCampaignNotFound) Error ¶ added in v1.5.0
func (o *UpdateSMSCampaignNotFound) Error() string
type UpdateSMSCampaignParams ¶ added in v1.5.0
type UpdateSMSCampaignParams struct { /*CampaignID id of the SMS campaign */ CampaignID int64 /*UpdateSMSCampaign Values to update an SMS Campaign */ UpdateSMSCampaign *models.UpdateSMSCampaign Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSMSCampaignParams contains all the parameters to send to the API endpoint for the update Sms campaign operation typically these are written to a http.Request
func NewUpdateSMSCampaignParams ¶ added in v1.5.0
func NewUpdateSMSCampaignParams() *UpdateSMSCampaignParams
NewUpdateSMSCampaignParams creates a new UpdateSMSCampaignParams object with the default values initialized.
func NewUpdateSMSCampaignParamsWithContext ¶ added in v1.5.0
func NewUpdateSMSCampaignParamsWithContext(ctx context.Context) *UpdateSMSCampaignParams
NewUpdateSMSCampaignParamsWithContext creates a new UpdateSMSCampaignParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSMSCampaignParamsWithHTTPClient ¶ added in v1.5.0
func NewUpdateSMSCampaignParamsWithHTTPClient(client *http.Client) *UpdateSMSCampaignParams
NewUpdateSMSCampaignParamsWithHTTPClient creates a new UpdateSMSCampaignParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSMSCampaignParamsWithTimeout ¶ added in v1.5.0
func NewUpdateSMSCampaignParamsWithTimeout(timeout time.Duration) *UpdateSMSCampaignParams
NewUpdateSMSCampaignParamsWithTimeout creates a new UpdateSMSCampaignParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSMSCampaignParams) SetCampaignID ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the update Sms campaign params
func (*UpdateSMSCampaignParams) SetContext ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) SetContext(ctx context.Context)
SetContext adds the context to the update Sms campaign params
func (*UpdateSMSCampaignParams) SetHTTPClient ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update Sms campaign params
func (*UpdateSMSCampaignParams) SetTimeout ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update Sms campaign params
func (*UpdateSMSCampaignParams) SetUpdateSMSCampaign ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) SetUpdateSMSCampaign(updateSMSCampaign *models.UpdateSMSCampaign)
SetUpdateSMSCampaign adds the updateSmsCampaign to the update Sms campaign params
func (*UpdateSMSCampaignParams) WithCampaignID ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) WithCampaignID(campaignID int64) *UpdateSMSCampaignParams
WithCampaignID adds the campaignID to the update Sms campaign params
func (*UpdateSMSCampaignParams) WithContext ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) WithContext(ctx context.Context) *UpdateSMSCampaignParams
WithContext adds the context to the update Sms campaign params
func (*UpdateSMSCampaignParams) WithHTTPClient ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) WithHTTPClient(client *http.Client) *UpdateSMSCampaignParams
WithHTTPClient adds the HTTPClient to the update Sms campaign params
func (*UpdateSMSCampaignParams) WithTimeout ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) WithTimeout(timeout time.Duration) *UpdateSMSCampaignParams
WithTimeout adds the timeout to the update Sms campaign params
func (*UpdateSMSCampaignParams) WithUpdateSMSCampaign ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) WithUpdateSMSCampaign(updateSMSCampaign *models.UpdateSMSCampaign) *UpdateSMSCampaignParams
WithUpdateSMSCampaign adds the updateSMSCampaign to the update Sms campaign params
func (*UpdateSMSCampaignParams) WriteToRequest ¶ added in v1.5.0
func (o *UpdateSMSCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSMSCampaignReader ¶ added in v1.5.0
type UpdateSMSCampaignReader struct {
// contains filtered or unexported fields
}
UpdateSMSCampaignReader is a Reader for the UpdateSMSCampaign structure.
func (*UpdateSMSCampaignReader) ReadResponse ¶ added in v1.5.0
func (o *UpdateSMSCampaignReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSMSCampaignStatusBadRequest ¶
type UpdateSMSCampaignStatusBadRequest struct {
Payload *models.ErrorModel
}
UpdateSMSCampaignStatusBadRequest handles this case with default header values.
bad request
func NewUpdateSMSCampaignStatusBadRequest ¶
func NewUpdateSMSCampaignStatusBadRequest() *UpdateSMSCampaignStatusBadRequest
NewUpdateSMSCampaignStatusBadRequest creates a UpdateSMSCampaignStatusBadRequest with default headers values
func (*UpdateSMSCampaignStatusBadRequest) Error ¶
func (o *UpdateSMSCampaignStatusBadRequest) Error() string
type UpdateSMSCampaignStatusNoContent ¶
type UpdateSMSCampaignStatusNoContent struct { }
UpdateSMSCampaignStatusNoContent handles this case with default header values.
The campaign status has been updated successfully
func NewUpdateSMSCampaignStatusNoContent ¶
func NewUpdateSMSCampaignStatusNoContent() *UpdateSMSCampaignStatusNoContent
NewUpdateSMSCampaignStatusNoContent creates a UpdateSMSCampaignStatusNoContent with default headers values
func (*UpdateSMSCampaignStatusNoContent) Error ¶
func (o *UpdateSMSCampaignStatusNoContent) Error() string
type UpdateSMSCampaignStatusNotFound ¶
type UpdateSMSCampaignStatusNotFound struct {
Payload *models.ErrorModel
}
UpdateSMSCampaignStatusNotFound handles this case with default header values.
Campaign ID not found
func NewUpdateSMSCampaignStatusNotFound ¶
func NewUpdateSMSCampaignStatusNotFound() *UpdateSMSCampaignStatusNotFound
NewUpdateSMSCampaignStatusNotFound creates a UpdateSMSCampaignStatusNotFound with default headers values
func (*UpdateSMSCampaignStatusNotFound) Error ¶
func (o *UpdateSMSCampaignStatusNotFound) Error() string
type UpdateSMSCampaignStatusParams ¶
type UpdateSMSCampaignStatusParams struct { /*CampaignID id of the campaign */ CampaignID int64 /*Status Status of the campaign. */ Status *models.UpdateCampaignStatus Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSMSCampaignStatusParams contains all the parameters to send to the API endpoint for the update SMS campaign status operation typically these are written to a http.Request
func NewUpdateSMSCampaignStatusParams ¶
func NewUpdateSMSCampaignStatusParams() *UpdateSMSCampaignStatusParams
NewUpdateSMSCampaignStatusParams creates a new UpdateSMSCampaignStatusParams object with the default values initialized.
func NewUpdateSMSCampaignStatusParamsWithContext ¶
func NewUpdateSMSCampaignStatusParamsWithContext(ctx context.Context) *UpdateSMSCampaignStatusParams
NewUpdateSMSCampaignStatusParamsWithContext creates a new UpdateSMSCampaignStatusParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSMSCampaignStatusParamsWithHTTPClient ¶
func NewUpdateSMSCampaignStatusParamsWithHTTPClient(client *http.Client) *UpdateSMSCampaignStatusParams
NewUpdateSMSCampaignStatusParamsWithHTTPClient creates a new UpdateSMSCampaignStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSMSCampaignStatusParamsWithTimeout ¶
func NewUpdateSMSCampaignStatusParamsWithTimeout(timeout time.Duration) *UpdateSMSCampaignStatusParams
NewUpdateSMSCampaignStatusParamsWithTimeout creates a new UpdateSMSCampaignStatusParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSMSCampaignStatusParams) SetCampaignID ¶
func (o *UpdateSMSCampaignStatusParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) SetContext ¶
func (o *UpdateSMSCampaignStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) SetHTTPClient ¶
func (o *UpdateSMSCampaignStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) SetStatus ¶
func (o *UpdateSMSCampaignStatusParams) SetStatus(status *models.UpdateCampaignStatus)
SetStatus adds the status to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) SetTimeout ¶
func (o *UpdateSMSCampaignStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) WithCampaignID ¶
func (o *UpdateSMSCampaignStatusParams) WithCampaignID(campaignID int64) *UpdateSMSCampaignStatusParams
WithCampaignID adds the campaignID to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) WithContext ¶
func (o *UpdateSMSCampaignStatusParams) WithContext(ctx context.Context) *UpdateSMSCampaignStatusParams
WithContext adds the context to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) WithHTTPClient ¶
func (o *UpdateSMSCampaignStatusParams) WithHTTPClient(client *http.Client) *UpdateSMSCampaignStatusParams
WithHTTPClient adds the HTTPClient to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) WithStatus ¶
func (o *UpdateSMSCampaignStatusParams) WithStatus(status *models.UpdateCampaignStatus) *UpdateSMSCampaignStatusParams
WithStatus adds the status to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) WithTimeout ¶
func (o *UpdateSMSCampaignStatusParams) WithTimeout(timeout time.Duration) *UpdateSMSCampaignStatusParams
WithTimeout adds the timeout to the update SMS campaign status params
func (*UpdateSMSCampaignStatusParams) WriteToRequest ¶
func (o *UpdateSMSCampaignStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSMSCampaignStatusReader ¶
type UpdateSMSCampaignStatusReader struct {
// contains filtered or unexported fields
}
UpdateSMSCampaignStatusReader is a Reader for the UpdateSMSCampaignStatus structure.
func (*UpdateSMSCampaignStatusReader) ReadResponse ¶
func (o *UpdateSMSCampaignStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_sms_campaign_parameters.go
- create_sms_campaign_responses.go
- delete_sms_campaigns_parameters.go
- delete_sms_campaigns_responses.go
- get_sms_campaign_parameters.go
- get_sms_campaign_responses.go
- get_sms_campaigns_parameters.go
- get_sms_campaigns_responses.go
- request_sms_recipient_export_parameters.go
- request_sms_recipient_export_responses.go
- send_sms_campaign_now_parameters.go
- send_sms_campaign_now_responses.go
- send_sms_report_parameters.go
- send_sms_report_responses.go
- send_test_sms_parameters.go
- send_test_sms_responses.go
- sms_campaigns_client.go
- update_sms_campaign_parameters.go
- update_sms_campaign_responses.go
- update_sms_campaign_status_parameters.go
- update_sms_campaign_status_responses.go