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) GetSMSCampaigns(params *GetSMSCampaignsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMSCampaignsOK, error)
- func (a *Client) GetSmsCampaign(params *GetSmsCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*GetSmsCampaignOK, 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) UpdateSMSCampaignStatus(params *UpdateSMSCampaignStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSMSCampaignStatusNoContent, error)
- func (a *Client) UpdateSmsCampaign(params *UpdateSmsCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSmsCampaignNoContent, 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 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 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 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 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
- 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
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 s m s campaign
func (*Client) DeleteSMSCampaigns ¶
func (a *Client) DeleteSMSCampaigns(params *DeleteSMSCampaignsParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSMSCampaignsNoContent, error)
DeleteSMSCampaigns deletes the s m s campaign
func (*Client) GetSMSCampaigns ¶
func (a *Client) GetSMSCampaigns(params *GetSMSCampaignsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSMSCampaignsOK, error)
GetSMSCampaigns returns the informations for all your created s m s campaigns
func (*Client) GetSmsCampaign ¶
func (a *Client) GetSmsCampaign(params *GetSmsCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*GetSmsCampaignOK, error)
GetSmsCampaign gets an s m s campaign
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 s m s campaign immediately
func (*Client) SendSMSReport ¶
func (a *Client) SendSMSReport(params *SendSMSReportParams, authInfo runtime.ClientAuthInfoWriter) (*SendSMSReportNoContent, error)
SendSMSReport sends report of s m s 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 ¶
func (a *Client) SendTestSms(params *SendTestSmsParams, authInfo runtime.ClientAuthInfoWriter) (*SendTestSmsNoContent, error)
SendTestSms sends an s m s
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSMSCampaignStatus ¶
func (a *Client) UpdateSMSCampaignStatus(params *UpdateSMSCampaignStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSMSCampaignStatusNoContent, error)
UpdateSMSCampaignStatus updates the campaign status
func (*Client) UpdateSmsCampaign ¶
func (a *Client) UpdateSmsCampaign(params *UpdateSmsCampaignParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSmsCampaignNoContent, error)
UpdateSmsCampaign updates an s m s campaign
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 s m s 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 s m s campaign params
func (*CreateSMSCampaignParams) SetCreateSmsCampaign ¶
func (o *CreateSMSCampaignParams) SetCreateSmsCampaign(createSmsCampaign *models.CreateSmsCampaign)
SetCreateSmsCampaign adds the createSmsCampaign to the create s m s campaign params
func (*CreateSMSCampaignParams) SetHTTPClient ¶
func (o *CreateSMSCampaignParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create s m s campaign params
func (*CreateSMSCampaignParams) SetTimeout ¶
func (o *CreateSMSCampaignParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create s m s campaign params
func (*CreateSMSCampaignParams) WithContext ¶
func (o *CreateSMSCampaignParams) WithContext(ctx context.Context) *CreateSMSCampaignParams
WithContext adds the context to the create s m s campaign params
func (*CreateSMSCampaignParams) WithCreateSmsCampaign ¶
func (o *CreateSMSCampaignParams) WithCreateSmsCampaign(createSmsCampaign *models.CreateSmsCampaign) *CreateSMSCampaignParams
WithCreateSmsCampaign adds the createSmsCampaign to the create s m s campaign params
func (*CreateSMSCampaignParams) WithHTTPClient ¶
func (o *CreateSMSCampaignParams) WithHTTPClient(client *http.Client) *CreateSMSCampaignParams
WithHTTPClient adds the HTTPClient to the create s m s campaign params
func (*CreateSMSCampaignParams) WithTimeout ¶
func (o *CreateSMSCampaignParams) WithTimeout(timeout time.Duration) *CreateSMSCampaignParams
WithTimeout adds the timeout to the create s m s 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 s m s 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 s m s campaigns params
func (*DeleteSMSCampaignsParams) SetContext ¶
func (o *DeleteSMSCampaignsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete s m s campaigns params
func (*DeleteSMSCampaignsParams) SetHTTPClient ¶
func (o *DeleteSMSCampaignsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete s m s campaigns params
func (*DeleteSMSCampaignsParams) SetTimeout ¶
func (o *DeleteSMSCampaignsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete s m s campaigns params
func (*DeleteSMSCampaignsParams) WithCampaignID ¶
func (o *DeleteSMSCampaignsParams) WithCampaignID(campaignID int64) *DeleteSMSCampaignsParams
WithCampaignID adds the campaignID to the delete s m s campaigns params
func (*DeleteSMSCampaignsParams) WithContext ¶
func (o *DeleteSMSCampaignsParams) WithContext(ctx context.Context) *DeleteSMSCampaignsParams
WithContext adds the context to the delete s m s campaigns params
func (*DeleteSMSCampaignsParams) WithHTTPClient ¶
func (o *DeleteSMSCampaignsParams) WithHTTPClient(client *http.Client) *DeleteSMSCampaignsParams
WithHTTPClient adds the HTTPClient to the delete s m s campaigns params
func (*DeleteSMSCampaignsParams) WithTimeout ¶
func (o *DeleteSMSCampaignsParams) WithTimeout(timeout time.Duration) *DeleteSMSCampaignsParams
WithTimeout adds the timeout to the delete s m s 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 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 s m s 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 s m s campaigns params
func (*GetSMSCampaignsParams) SetHTTPClient ¶
func (o *GetSMSCampaignsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get s m s campaigns params
func (*GetSMSCampaignsParams) SetLimit ¶
func (o *GetSMSCampaignsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get s m s campaigns params
func (*GetSMSCampaignsParams) SetOffset ¶
func (o *GetSMSCampaignsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get s m s campaigns params
func (*GetSMSCampaignsParams) SetStatus ¶
func (o *GetSMSCampaignsParams) SetStatus(status *string)
SetStatus adds the status to the get s m s campaigns params
func (*GetSMSCampaignsParams) SetTimeout ¶
func (o *GetSMSCampaignsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get s m s campaigns params
func (*GetSMSCampaignsParams) WithContext ¶
func (o *GetSMSCampaignsParams) WithContext(ctx context.Context) *GetSMSCampaignsParams
WithContext adds the context to the get s m s campaigns params
func (*GetSMSCampaignsParams) WithHTTPClient ¶
func (o *GetSMSCampaignsParams) WithHTTPClient(client *http.Client) *GetSMSCampaignsParams
WithHTTPClient adds the HTTPClient to the get s m s campaigns params
func (*GetSMSCampaignsParams) WithLimit ¶
func (o *GetSMSCampaignsParams) WithLimit(limit *int64) *GetSMSCampaignsParams
WithLimit adds the limit to the get s m s campaigns params
func (*GetSMSCampaignsParams) WithOffset ¶
func (o *GetSMSCampaignsParams) WithOffset(offset *int64) *GetSMSCampaignsParams
WithOffset adds the offset to the get s m s campaigns params
func (*GetSMSCampaignsParams) WithStatus ¶
func (o *GetSMSCampaignsParams) WithStatus(status *string) *GetSMSCampaignsParams
WithStatus adds the status to the get s m s campaigns params
func (*GetSMSCampaignsParams) WithTimeout ¶
func (o *GetSMSCampaignsParams) WithTimeout(timeout time.Duration) *GetSMSCampaignsParams
WithTimeout adds the timeout to the get s m s 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 GetSmsCampaignBadRequest ¶
type GetSmsCampaignBadRequest struct {
Payload *models.ErrorModel
}
GetSmsCampaignBadRequest handles this case with default header values.
bad request
func NewGetSmsCampaignBadRequest ¶
func NewGetSmsCampaignBadRequest() *GetSmsCampaignBadRequest
NewGetSmsCampaignBadRequest creates a GetSmsCampaignBadRequest with default headers values
func (*GetSmsCampaignBadRequest) Error ¶
func (o *GetSmsCampaignBadRequest) Error() string
type GetSmsCampaignNotFound ¶
type GetSmsCampaignNotFound struct {
Payload *models.ErrorModel
}
GetSmsCampaignNotFound handles this case with default header values.
Campaign ID not found
func NewGetSmsCampaignNotFound ¶
func NewGetSmsCampaignNotFound() *GetSmsCampaignNotFound
NewGetSmsCampaignNotFound creates a GetSmsCampaignNotFound with default headers values
func (*GetSmsCampaignNotFound) Error ¶
func (o *GetSmsCampaignNotFound) Error() string
type GetSmsCampaignOK ¶
type GetSmsCampaignOK struct {
Payload *models.GetSmsCampaign
}
GetSmsCampaignOK handles this case with default header values.
SMS campaign informations
func NewGetSmsCampaignOK ¶
func NewGetSmsCampaignOK() *GetSmsCampaignOK
NewGetSmsCampaignOK creates a GetSmsCampaignOK with default headers values
func (*GetSmsCampaignOK) Error ¶
func (o *GetSmsCampaignOK) Error() string
type GetSmsCampaignParams ¶
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 ¶
func NewGetSmsCampaignParams() *GetSmsCampaignParams
NewGetSmsCampaignParams creates a new GetSmsCampaignParams object with the default values initialized.
func NewGetSmsCampaignParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *GetSmsCampaignParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the get sms campaign params
func (*GetSmsCampaignParams) SetContext ¶
func (o *GetSmsCampaignParams) SetContext(ctx context.Context)
SetContext adds the context to the get sms campaign params
func (*GetSmsCampaignParams) SetGetSmsCampaign ¶
func (o *GetSmsCampaignParams) SetGetSmsCampaign(getSmsCampaign *models.GetSmsCampaign)
SetGetSmsCampaign adds the getSmsCampaign to the get sms campaign params
func (*GetSmsCampaignParams) SetHTTPClient ¶
func (o *GetSmsCampaignParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sms campaign params
func (*GetSmsCampaignParams) SetTimeout ¶
func (o *GetSmsCampaignParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sms campaign params
func (*GetSmsCampaignParams) WithCampaignID ¶
func (o *GetSmsCampaignParams) WithCampaignID(campaignID int64) *GetSmsCampaignParams
WithCampaignID adds the campaignID to the get sms campaign params
func (*GetSmsCampaignParams) WithContext ¶
func (o *GetSmsCampaignParams) WithContext(ctx context.Context) *GetSmsCampaignParams
WithContext adds the context to the get sms campaign params
func (*GetSmsCampaignParams) WithGetSmsCampaign ¶
func (o *GetSmsCampaignParams) WithGetSmsCampaign(getSmsCampaign *models.GetSmsCampaign) *GetSmsCampaignParams
WithGetSmsCampaign adds the getSmsCampaign to the get sms campaign params
func (*GetSmsCampaignParams) WithHTTPClient ¶
func (o *GetSmsCampaignParams) WithHTTPClient(client *http.Client) *GetSmsCampaignParams
WithHTTPClient adds the HTTPClient to the get sms campaign params
func (*GetSmsCampaignParams) WithTimeout ¶
func (o *GetSmsCampaignParams) WithTimeout(timeout time.Duration) *GetSmsCampaignParams
WithTimeout adds the timeout to the get sms campaign params
func (*GetSmsCampaignParams) WriteToRequest ¶
func (o *GetSmsCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSmsCampaignReader ¶
type GetSmsCampaignReader struct {
// contains filtered or unexported fields
}
GetSmsCampaignReader is a Reader for the GetSmsCampaign structure.
func (*GetSmsCampaignReader) ReadResponse ¶
func (o *GetSmsCampaignReader) 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 s m s 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 s m s recipient export params
func (*RequestSMSRecipientExportParams) SetContext ¶
func (o *RequestSMSRecipientExportParams) SetContext(ctx context.Context)
SetContext adds the context to the request s m s recipient export params
func (*RequestSMSRecipientExportParams) SetHTTPClient ¶
func (o *RequestSMSRecipientExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the request s m s recipient export params
func (*RequestSMSRecipientExportParams) SetRecipientExport ¶
func (o *RequestSMSRecipientExportParams) SetRecipientExport(recipientExport *models.RequestSMSRecipientExport)
SetRecipientExport adds the recipientExport to the request s m s recipient export params
func (*RequestSMSRecipientExportParams) SetTimeout ¶
func (o *RequestSMSRecipientExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the request s m s recipient export params
func (*RequestSMSRecipientExportParams) WithCampaignID ¶
func (o *RequestSMSRecipientExportParams) WithCampaignID(campaignID int64) *RequestSMSRecipientExportParams
WithCampaignID adds the campaignID to the request s m s recipient export params
func (*RequestSMSRecipientExportParams) WithContext ¶
func (o *RequestSMSRecipientExportParams) WithContext(ctx context.Context) *RequestSMSRecipientExportParams
WithContext adds the context to the request s m s recipient export params
func (*RequestSMSRecipientExportParams) WithHTTPClient ¶
func (o *RequestSMSRecipientExportParams) WithHTTPClient(client *http.Client) *RequestSMSRecipientExportParams
WithHTTPClient adds the HTTPClient to the request s m s recipient export params
func (*RequestSMSRecipientExportParams) WithRecipientExport ¶
func (o *RequestSMSRecipientExportParams) WithRecipientExport(recipientExport *models.RequestSMSRecipientExport) *RequestSMSRecipientExportParams
WithRecipientExport adds the recipientExport to the request s m s recipient export params
func (*RequestSMSRecipientExportParams) WithTimeout ¶
func (o *RequestSMSRecipientExportParams) WithTimeout(timeout time.Duration) *RequestSMSRecipientExportParams
WithTimeout adds the timeout to the request s m s 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 s m s 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 s m s campaign now params
func (*SendSMSCampaignNowParams) SetContext ¶
func (o *SendSMSCampaignNowParams) SetContext(ctx context.Context)
SetContext adds the context to the send s m s campaign now params
func (*SendSMSCampaignNowParams) SetHTTPClient ¶
func (o *SendSMSCampaignNowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send s m s campaign now params
func (*SendSMSCampaignNowParams) SetTimeout ¶
func (o *SendSMSCampaignNowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send s m s campaign now params
func (*SendSMSCampaignNowParams) WithCampaignID ¶
func (o *SendSMSCampaignNowParams) WithCampaignID(campaignID int64) *SendSMSCampaignNowParams
WithCampaignID adds the campaignID to the send s m s campaign now params
func (*SendSMSCampaignNowParams) WithContext ¶
func (o *SendSMSCampaignNowParams) WithContext(ctx context.Context) *SendSMSCampaignNowParams
WithContext adds the context to the send s m s campaign now params
func (*SendSMSCampaignNowParams) WithHTTPClient ¶
func (o *SendSMSCampaignNowParams) WithHTTPClient(client *http.Client) *SendSMSCampaignNowParams
WithHTTPClient adds the HTTPClient to the send s m s campaign now params
func (*SendSMSCampaignNowParams) WithTimeout ¶
func (o *SendSMSCampaignNowParams) WithTimeout(timeout time.Duration) *SendSMSCampaignNowParams
WithTimeout adds the timeout to the send s m s 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 s m s 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 s m s report params
func (*SendSMSReportParams) SetContext ¶
func (o *SendSMSReportParams) SetContext(ctx context.Context)
SetContext adds the context to the send s m s report params
func (*SendSMSReportParams) SetHTTPClient ¶
func (o *SendSMSReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send s m s report params
func (*SendSMSReportParams) SetSendReport ¶
func (o *SendSMSReportParams) SetSendReport(sendReport *models.SendReport)
SetSendReport adds the sendReport to the send s m s report params
func (*SendSMSReportParams) SetTimeout ¶
func (o *SendSMSReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send s m s report params
func (*SendSMSReportParams) WithCampaignID ¶
func (o *SendSMSReportParams) WithCampaignID(campaignID int64) *SendSMSReportParams
WithCampaignID adds the campaignID to the send s m s report params
func (*SendSMSReportParams) WithContext ¶
func (o *SendSMSReportParams) WithContext(ctx context.Context) *SendSMSReportParams
WithContext adds the context to the send s m s report params
func (*SendSMSReportParams) WithHTTPClient ¶
func (o *SendSMSReportParams) WithHTTPClient(client *http.Client) *SendSMSReportParams
WithHTTPClient adds the HTTPClient to the send s m s report params
func (*SendSMSReportParams) WithSendReport ¶
func (o *SendSMSReportParams) WithSendReport(sendReport *models.SendReport) *SendSMSReportParams
WithSendReport adds the sendReport to the send s m s report params
func (*SendSMSReportParams) WithTimeout ¶
func (o *SendSMSReportParams) WithTimeout(timeout time.Duration) *SendSMSReportParams
WithTimeout adds the timeout to the send s m s 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 ¶
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 ¶
func NewSendTestSmsBadRequest() *SendTestSmsBadRequest
NewSendTestSmsBadRequest creates a SendTestSmsBadRequest with default headers values
func (*SendTestSmsBadRequest) Error ¶
func (o *SendTestSmsBadRequest) Error() string
type SendTestSmsNoContent ¶
type SendTestSmsNoContent struct { }
SendTestSmsNoContent handles this case with default header values.
Test SMS has been sent successfully to the recipient
func NewSendTestSmsNoContent ¶
func NewSendTestSmsNoContent() *SendTestSmsNoContent
NewSendTestSmsNoContent creates a SendTestSmsNoContent with default headers values
func (*SendTestSmsNoContent) Error ¶
func (o *SendTestSmsNoContent) Error() string
type SendTestSmsNotFound ¶
type SendTestSmsNotFound struct {
Payload *models.ErrorModel
}
SendTestSmsNotFound handles this case with default header values.
Campaign ID not found
func NewSendTestSmsNotFound ¶
func NewSendTestSmsNotFound() *SendTestSmsNotFound
NewSendTestSmsNotFound creates a SendTestSmsNotFound with default headers values
func (*SendTestSmsNotFound) Error ¶
func (o *SendTestSmsNotFound) Error() string
type SendTestSmsParams ¶
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 ¶
func NewSendTestSmsParams() *SendTestSmsParams
NewSendTestSmsParams creates a new SendTestSmsParams object with the default values initialized.
func NewSendTestSmsParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *SendTestSmsParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the send test sms params
func (*SendTestSmsParams) SetContext ¶
func (o *SendTestSmsParams) SetContext(ctx context.Context)
SetContext adds the context to the send test sms params
func (*SendTestSmsParams) SetHTTPClient ¶
func (o *SendTestSmsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send test sms params
func (*SendTestSmsParams) SetSendTestSms ¶
func (o *SendTestSmsParams) SetSendTestSms(sendTestSms *models.SendTestSms)
SetSendTestSms adds the sendTestSms to the send test sms params
func (*SendTestSmsParams) SetTimeout ¶
func (o *SendTestSmsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send test sms params
func (*SendTestSmsParams) WithCampaignID ¶
func (o *SendTestSmsParams) WithCampaignID(campaignID int64) *SendTestSmsParams
WithCampaignID adds the campaignID to the send test sms params
func (*SendTestSmsParams) WithContext ¶
func (o *SendTestSmsParams) WithContext(ctx context.Context) *SendTestSmsParams
WithContext adds the context to the send test sms params
func (*SendTestSmsParams) WithHTTPClient ¶
func (o *SendTestSmsParams) WithHTTPClient(client *http.Client) *SendTestSmsParams
WithHTTPClient adds the HTTPClient to the send test sms params
func (*SendTestSmsParams) WithSendTestSms ¶
func (o *SendTestSmsParams) WithSendTestSms(sendTestSms *models.SendTestSms) *SendTestSmsParams
WithSendTestSms adds the sendTestSms to the send test sms params
func (*SendTestSmsParams) WithTimeout ¶
func (o *SendTestSmsParams) WithTimeout(timeout time.Duration) *SendTestSmsParams
WithTimeout adds the timeout to the send test sms params
func (*SendTestSmsParams) WriteToRequest ¶
func (o *SendTestSmsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendTestSmsReader ¶
type SendTestSmsReader struct {
// contains filtered or unexported fields
}
SendTestSmsReader is a Reader for the SendTestSms structure.
func (*SendTestSmsReader) ReadResponse ¶
func (o *SendTestSmsReader) 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 s m s 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 s m s campaign status params
func (*UpdateSMSCampaignStatusParams) SetContext ¶
func (o *UpdateSMSCampaignStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the update s m s campaign status params
func (*UpdateSMSCampaignStatusParams) SetHTTPClient ¶
func (o *UpdateSMSCampaignStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update s m s campaign status params
func (*UpdateSMSCampaignStatusParams) SetStatus ¶
func (o *UpdateSMSCampaignStatusParams) SetStatus(status *models.UpdateCampaignStatus)
SetStatus adds the status to the update s m s campaign status params
func (*UpdateSMSCampaignStatusParams) SetTimeout ¶
func (o *UpdateSMSCampaignStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update s m s campaign status params
func (*UpdateSMSCampaignStatusParams) WithCampaignID ¶
func (o *UpdateSMSCampaignStatusParams) WithCampaignID(campaignID int64) *UpdateSMSCampaignStatusParams
WithCampaignID adds the campaignID to the update s m s campaign status params
func (*UpdateSMSCampaignStatusParams) WithContext ¶
func (o *UpdateSMSCampaignStatusParams) WithContext(ctx context.Context) *UpdateSMSCampaignStatusParams
WithContext adds the context to the update s m s campaign status params
func (*UpdateSMSCampaignStatusParams) WithHTTPClient ¶
func (o *UpdateSMSCampaignStatusParams) WithHTTPClient(client *http.Client) *UpdateSMSCampaignStatusParams
WithHTTPClient adds the HTTPClient to the update s m s campaign status params
func (*UpdateSMSCampaignStatusParams) WithStatus ¶
func (o *UpdateSMSCampaignStatusParams) WithStatus(status *models.UpdateCampaignStatus) *UpdateSMSCampaignStatusParams
WithStatus adds the status to the update s m s campaign status params
func (*UpdateSMSCampaignStatusParams) WithTimeout ¶
func (o *UpdateSMSCampaignStatusParams) WithTimeout(timeout time.Duration) *UpdateSMSCampaignStatusParams
WithTimeout adds the timeout to the update s m s 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.
type UpdateSmsCampaignBadRequest ¶
type UpdateSmsCampaignBadRequest struct {
Payload *models.ErrorModel
}
UpdateSmsCampaignBadRequest handles this case with default header values.
bad request
func NewUpdateSmsCampaignBadRequest ¶
func NewUpdateSmsCampaignBadRequest() *UpdateSmsCampaignBadRequest
NewUpdateSmsCampaignBadRequest creates a UpdateSmsCampaignBadRequest with default headers values
func (*UpdateSmsCampaignBadRequest) Error ¶
func (o *UpdateSmsCampaignBadRequest) Error() string
type UpdateSmsCampaignNoContent ¶
type UpdateSmsCampaignNoContent struct { }
UpdateSmsCampaignNoContent handles this case with default header values.
SMS campaign updated
func NewUpdateSmsCampaignNoContent ¶
func NewUpdateSmsCampaignNoContent() *UpdateSmsCampaignNoContent
NewUpdateSmsCampaignNoContent creates a UpdateSmsCampaignNoContent with default headers values
func (*UpdateSmsCampaignNoContent) Error ¶
func (o *UpdateSmsCampaignNoContent) Error() string
type UpdateSmsCampaignNotFound ¶
type UpdateSmsCampaignNotFound struct {
Payload *models.ErrorModel
}
UpdateSmsCampaignNotFound handles this case with default header values.
Campaign ID not found
func NewUpdateSmsCampaignNotFound ¶
func NewUpdateSmsCampaignNotFound() *UpdateSmsCampaignNotFound
NewUpdateSmsCampaignNotFound creates a UpdateSmsCampaignNotFound with default headers values
func (*UpdateSmsCampaignNotFound) Error ¶
func (o *UpdateSmsCampaignNotFound) Error() string
type UpdateSmsCampaignParams ¶
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 ¶
func NewUpdateSmsCampaignParams() *UpdateSmsCampaignParams
NewUpdateSmsCampaignParams creates a new UpdateSmsCampaignParams object with the default values initialized.
func NewUpdateSmsCampaignParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *UpdateSmsCampaignParams) SetCampaignID(campaignID int64)
SetCampaignID adds the campaignId to the update sms campaign params
func (*UpdateSmsCampaignParams) SetContext ¶
func (o *UpdateSmsCampaignParams) SetContext(ctx context.Context)
SetContext adds the context to the update sms campaign params
func (*UpdateSmsCampaignParams) SetHTTPClient ¶
func (o *UpdateSmsCampaignParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update sms campaign params
func (*UpdateSmsCampaignParams) SetTimeout ¶
func (o *UpdateSmsCampaignParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update sms campaign params
func (*UpdateSmsCampaignParams) SetUpdateSmsCampaign ¶
func (o *UpdateSmsCampaignParams) SetUpdateSmsCampaign(updateSmsCampaign *models.UpdateSmsCampaign)
SetUpdateSmsCampaign adds the updateSmsCampaign to the update sms campaign params
func (*UpdateSmsCampaignParams) WithCampaignID ¶
func (o *UpdateSmsCampaignParams) WithCampaignID(campaignID int64) *UpdateSmsCampaignParams
WithCampaignID adds the campaignID to the update sms campaign params
func (*UpdateSmsCampaignParams) WithContext ¶
func (o *UpdateSmsCampaignParams) WithContext(ctx context.Context) *UpdateSmsCampaignParams
WithContext adds the context to the update sms campaign params
func (*UpdateSmsCampaignParams) WithHTTPClient ¶
func (o *UpdateSmsCampaignParams) WithHTTPClient(client *http.Client) *UpdateSmsCampaignParams
WithHTTPClient adds the HTTPClient to the update sms campaign params
func (*UpdateSmsCampaignParams) WithTimeout ¶
func (o *UpdateSmsCampaignParams) WithTimeout(timeout time.Duration) *UpdateSmsCampaignParams
WithTimeout adds the timeout to the update sms campaign params
func (*UpdateSmsCampaignParams) WithUpdateSmsCampaign ¶
func (o *UpdateSmsCampaignParams) WithUpdateSmsCampaign(updateSmsCampaign *models.UpdateSmsCampaign) *UpdateSmsCampaignParams
WithUpdateSmsCampaign adds the updateSmsCampaign to the update sms campaign params
func (*UpdateSmsCampaignParams) WriteToRequest ¶
func (o *UpdateSmsCampaignParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSmsCampaignReader ¶
type UpdateSmsCampaignReader struct {
// contains filtered or unexported fields
}
UpdateSmsCampaignReader is a Reader for the UpdateSmsCampaign structure.
func (*UpdateSmsCampaignReader) ReadResponse ¶
func (o *UpdateSmsCampaignReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_smscampaign_parameters.go
- create_smscampaign_responses.go
- delete_smscampaigns_parameters.go
- delete_smscampaigns_responses.go
- get_sms_campaign_parameters.go
- get_sms_campaign_responses.go
- get_smscampaigns_parameters.go
- get_smscampaigns_responses.go
- request_smsrecipient_export_parameters.go
- request_smsrecipient_export_responses.go
- send_smscampaign_now_parameters.go
- send_smscampaign_now_responses.go
- send_smsreport_parameters.go
- send_smsreport_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_smscampaign_status_parameters.go
- update_smscampaign_status_responses.go