sms_campaigns

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

WithTimeout adds the timeout to the create s m s campaign params

func (*CreateSMSCampaignParams) WriteToRequest

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

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

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

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

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

WithTimeout adds the timeout to the delete s m s campaigns params

func (*DeleteSMSCampaignsParams) WriteToRequest

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

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

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

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

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

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

WithCampaignID adds the campaignID to the request s m s recipient export params

func (*RequestSMSRecipientExportParams) WithContext

WithContext adds the context to the request s m s recipient export params

func (*RequestSMSRecipientExportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request s m s recipient export params

func (*RequestSMSRecipientExportParams) WithRecipientExport

WithRecipientExport adds the recipientExport to the request s m s recipient export params

func (*RequestSMSRecipientExportParams) WithTimeout

WithTimeout adds the timeout to the request s m s recipient export params

func (*RequestSMSRecipientExportParams) WriteToRequest

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

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

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

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

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

WithTimeout adds the timeout to the send s m s campaign now params

func (*SendSMSCampaignNowParams) WriteToRequest

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

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

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

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

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

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

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

WithContext adds the context to the update s m s campaign status params

func (*UpdateSMSCampaignStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update s m s campaign status params

func (*UpdateSMSCampaignStatusParams) WithStatus

WithStatus adds the status to the update s m s campaign status params

func (*UpdateSMSCampaignStatusParams) WithTimeout

WithTimeout adds the timeout to the update s m s campaign status params

func (*UpdateSMSCampaignStatusParams) WriteToRequest

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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