transactional_s_m_s

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 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 transactional s m s API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new transactional s m s API client.

func (*Client) GetSmsEvents

func (a *Client) GetSmsEvents(params *GetSmsEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSmsEventsOK, error)

GetSmsEvents gets all the s m s activity unaggregated events

func (*Client) GetTransacAggregatedSmsReport

func (a *Client) GetTransacAggregatedSmsReport(params *GetTransacAggregatedSmsReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetTransacAggregatedSmsReportOK, error)

GetTransacAggregatedSmsReport gets your s m s activity aggregated over a period of time

func (*Client) GetTransacSmsReport

func (a *Client) GetTransacSmsReport(params *GetTransacSmsReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetTransacSmsReportOK, error)

GetTransacSmsReport gets your s m s activity aggregated per day

func (*Client) SendTransacSms

func (a *Client) SendTransacSms(params *SendTransacSmsParams, authInfo runtime.ClientAuthInfoWriter) (*SendTransacSmsCreated, error)

SendTransacSms sends the s m s campaign to the specified mobile number

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetSmsEventsBadRequest

type GetSmsEventsBadRequest struct {
	Payload *models.ErrorModel
}

GetSmsEventsBadRequest handles this case with default header values.

bad request

func NewGetSmsEventsBadRequest

func NewGetSmsEventsBadRequest() *GetSmsEventsBadRequest

NewGetSmsEventsBadRequest creates a GetSmsEventsBadRequest with default headers values

func (*GetSmsEventsBadRequest) Error

func (o *GetSmsEventsBadRequest) Error() string

type GetSmsEventsOK

type GetSmsEventsOK struct {
	Payload *models.GetSmsEventReport
}

GetSmsEventsOK handles this case with default header values.

Sms events report informations

func NewGetSmsEventsOK

func NewGetSmsEventsOK() *GetSmsEventsOK

NewGetSmsEventsOK creates a GetSmsEventsOK with default headers values

func (*GetSmsEventsOK) Error

func (o *GetSmsEventsOK) Error() string

type GetSmsEventsParams

type GetSmsEventsParams struct {

	/*Days
	  Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'

	*/
	Days *int64
	/*EndDate
	  Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report

	*/
	EndDate *strfmt.Date
	/*Event
	  Filter the report for specific events

	*/
	Event *string
	/*Limit
	  Number of documents per page

	*/
	Limit *int64
	/*Offset
	  Index of the first document of the page

	*/
	Offset *int64
	/*PhoneNumber
	  Filter the report for a specific phone number

	*/
	PhoneNumber *string
	/*StartDate
	  Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report

	*/
	StartDate *strfmt.Date
	/*Tags
	  Filter the report for specific tags passed as a serialized urlencoded array

	*/
	Tags *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSmsEventsParams contains all the parameters to send to the API endpoint for the get sms events operation typically these are written to a http.Request

func NewGetSmsEventsParams

func NewGetSmsEventsParams() *GetSmsEventsParams

NewGetSmsEventsParams creates a new GetSmsEventsParams object with the default values initialized.

func NewGetSmsEventsParamsWithContext

func NewGetSmsEventsParamsWithContext(ctx context.Context) *GetSmsEventsParams

NewGetSmsEventsParamsWithContext creates a new GetSmsEventsParams object with the default values initialized, and the ability to set a context for a request

func NewGetSmsEventsParamsWithHTTPClient

func NewGetSmsEventsParamsWithHTTPClient(client *http.Client) *GetSmsEventsParams

NewGetSmsEventsParamsWithHTTPClient creates a new GetSmsEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetSmsEventsParamsWithTimeout

func NewGetSmsEventsParamsWithTimeout(timeout time.Duration) *GetSmsEventsParams

NewGetSmsEventsParamsWithTimeout creates a new GetSmsEventsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetSmsEventsParams) SetContext

func (o *GetSmsEventsParams) SetContext(ctx context.Context)

SetContext adds the context to the get sms events params

func (*GetSmsEventsParams) SetDays

func (o *GetSmsEventsParams) SetDays(days *int64)

SetDays adds the days to the get sms events params

func (*GetSmsEventsParams) SetEndDate

func (o *GetSmsEventsParams) SetEndDate(endDate *strfmt.Date)

SetEndDate adds the endDate to the get sms events params

func (*GetSmsEventsParams) SetEvent

func (o *GetSmsEventsParams) SetEvent(event *string)

SetEvent adds the event to the get sms events params

func (*GetSmsEventsParams) SetHTTPClient

func (o *GetSmsEventsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get sms events params

func (*GetSmsEventsParams) SetLimit

func (o *GetSmsEventsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get sms events params

func (*GetSmsEventsParams) SetOffset

func (o *GetSmsEventsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get sms events params

func (*GetSmsEventsParams) SetPhoneNumber

func (o *GetSmsEventsParams) SetPhoneNumber(phoneNumber *string)

SetPhoneNumber adds the phoneNumber to the get sms events params

func (*GetSmsEventsParams) SetStartDate

func (o *GetSmsEventsParams) SetStartDate(startDate *strfmt.Date)

SetStartDate adds the startDate to the get sms events params

func (*GetSmsEventsParams) SetTags

func (o *GetSmsEventsParams) SetTags(tags *string)

SetTags adds the tags to the get sms events params

func (*GetSmsEventsParams) SetTimeout

func (o *GetSmsEventsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get sms events params

func (*GetSmsEventsParams) WithContext

WithContext adds the context to the get sms events params

func (*GetSmsEventsParams) WithDays

func (o *GetSmsEventsParams) WithDays(days *int64) *GetSmsEventsParams

WithDays adds the days to the get sms events params

func (*GetSmsEventsParams) WithEndDate

func (o *GetSmsEventsParams) WithEndDate(endDate *strfmt.Date) *GetSmsEventsParams

WithEndDate adds the endDate to the get sms events params

func (*GetSmsEventsParams) WithEvent

func (o *GetSmsEventsParams) WithEvent(event *string) *GetSmsEventsParams

WithEvent adds the event to the get sms events params

func (*GetSmsEventsParams) WithHTTPClient

func (o *GetSmsEventsParams) WithHTTPClient(client *http.Client) *GetSmsEventsParams

WithHTTPClient adds the HTTPClient to the get sms events params

func (*GetSmsEventsParams) WithLimit

func (o *GetSmsEventsParams) WithLimit(limit *int64) *GetSmsEventsParams

WithLimit adds the limit to the get sms events params

func (*GetSmsEventsParams) WithOffset

func (o *GetSmsEventsParams) WithOffset(offset *int64) *GetSmsEventsParams

WithOffset adds the offset to the get sms events params

func (*GetSmsEventsParams) WithPhoneNumber

func (o *GetSmsEventsParams) WithPhoneNumber(phoneNumber *string) *GetSmsEventsParams

WithPhoneNumber adds the phoneNumber to the get sms events params

func (*GetSmsEventsParams) WithStartDate

func (o *GetSmsEventsParams) WithStartDate(startDate *strfmt.Date) *GetSmsEventsParams

WithStartDate adds the startDate to the get sms events params

func (*GetSmsEventsParams) WithTags

func (o *GetSmsEventsParams) WithTags(tags *string) *GetSmsEventsParams

WithTags adds the tags to the get sms events params

func (*GetSmsEventsParams) WithTimeout

func (o *GetSmsEventsParams) WithTimeout(timeout time.Duration) *GetSmsEventsParams

WithTimeout adds the timeout to the get sms events params

func (*GetSmsEventsParams) WriteToRequest

func (o *GetSmsEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetSmsEventsReader

type GetSmsEventsReader struct {
	// contains filtered or unexported fields
}

GetSmsEventsReader is a Reader for the GetSmsEvents structure.

func (*GetSmsEventsReader) ReadResponse

func (o *GetSmsEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTransacAggregatedSmsReportBadRequest

type GetTransacAggregatedSmsReportBadRequest struct {
	Payload *models.ErrorModel
}

GetTransacAggregatedSmsReportBadRequest handles this case with default header values.

bad request

func NewGetTransacAggregatedSmsReportBadRequest

func NewGetTransacAggregatedSmsReportBadRequest() *GetTransacAggregatedSmsReportBadRequest

NewGetTransacAggregatedSmsReportBadRequest creates a GetTransacAggregatedSmsReportBadRequest with default headers values

func (*GetTransacAggregatedSmsReportBadRequest) Error

type GetTransacAggregatedSmsReportOK

type GetTransacAggregatedSmsReportOK struct {
	Payload *models.GetTransacAggregatedSmsReport
}

GetTransacAggregatedSmsReportOK handles this case with default header values.

Aggregated SMS report informations

func NewGetTransacAggregatedSmsReportOK

func NewGetTransacAggregatedSmsReportOK() *GetTransacAggregatedSmsReportOK

NewGetTransacAggregatedSmsReportOK creates a GetTransacAggregatedSmsReportOK with default headers values

func (*GetTransacAggregatedSmsReportOK) Error

type GetTransacAggregatedSmsReportParams

type GetTransacAggregatedSmsReportParams struct {

	/*Days
	  Number of days in the past including today (positive integer). Not compatible with startDate and endDate

	*/
	Days *int64
	/*EndDate
	  Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report

	*/
	EndDate *strfmt.Date
	/*StartDate
	  Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report

	*/
	StartDate *strfmt.Date
	/*Tag
	  Filter on a tag

	*/
	Tag *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTransacAggregatedSmsReportParams contains all the parameters to send to the API endpoint for the get transac aggregated sms report operation typically these are written to a http.Request

func NewGetTransacAggregatedSmsReportParams

func NewGetTransacAggregatedSmsReportParams() *GetTransacAggregatedSmsReportParams

NewGetTransacAggregatedSmsReportParams creates a new GetTransacAggregatedSmsReportParams object with the default values initialized.

func NewGetTransacAggregatedSmsReportParamsWithContext

func NewGetTransacAggregatedSmsReportParamsWithContext(ctx context.Context) *GetTransacAggregatedSmsReportParams

NewGetTransacAggregatedSmsReportParamsWithContext creates a new GetTransacAggregatedSmsReportParams object with the default values initialized, and the ability to set a context for a request

func NewGetTransacAggregatedSmsReportParamsWithHTTPClient

func NewGetTransacAggregatedSmsReportParamsWithHTTPClient(client *http.Client) *GetTransacAggregatedSmsReportParams

NewGetTransacAggregatedSmsReportParamsWithHTTPClient creates a new GetTransacAggregatedSmsReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetTransacAggregatedSmsReportParamsWithTimeout

func NewGetTransacAggregatedSmsReportParamsWithTimeout(timeout time.Duration) *GetTransacAggregatedSmsReportParams

NewGetTransacAggregatedSmsReportParamsWithTimeout creates a new GetTransacAggregatedSmsReportParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetTransacAggregatedSmsReportParams) SetContext

SetContext adds the context to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) SetDays

func (o *GetTransacAggregatedSmsReportParams) SetDays(days *int64)

SetDays adds the days to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) SetEndDate

func (o *GetTransacAggregatedSmsReportParams) SetEndDate(endDate *strfmt.Date)

SetEndDate adds the endDate to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) SetHTTPClient

func (o *GetTransacAggregatedSmsReportParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) SetStartDate

func (o *GetTransacAggregatedSmsReportParams) SetStartDate(startDate *strfmt.Date)

SetStartDate adds the startDate to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) SetTag

SetTag adds the tag to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) SetTimeout

func (o *GetTransacAggregatedSmsReportParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) WithContext

WithContext adds the context to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) WithDays

WithDays adds the days to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) WithEndDate

WithEndDate adds the endDate to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) WithStartDate

WithStartDate adds the startDate to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) WithTag

WithTag adds the tag to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) WithTimeout

WithTimeout adds the timeout to the get transac aggregated sms report params

func (*GetTransacAggregatedSmsReportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTransacAggregatedSmsReportReader

type GetTransacAggregatedSmsReportReader struct {
	// contains filtered or unexported fields
}

GetTransacAggregatedSmsReportReader is a Reader for the GetTransacAggregatedSmsReport structure.

func (*GetTransacAggregatedSmsReportReader) ReadResponse

func (o *GetTransacAggregatedSmsReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetTransacSmsReportBadRequest

type GetTransacSmsReportBadRequest struct {
	Payload *models.ErrorModel
}

GetTransacSmsReportBadRequest handles this case with default header values.

bad request

func NewGetTransacSmsReportBadRequest

func NewGetTransacSmsReportBadRequest() *GetTransacSmsReportBadRequest

NewGetTransacSmsReportBadRequest creates a GetTransacSmsReportBadRequest with default headers values

func (*GetTransacSmsReportBadRequest) Error

type GetTransacSmsReportOK

type GetTransacSmsReportOK struct {
	Payload *models.GetTransacSmsReport
}

GetTransacSmsReportOK handles this case with default header values.

Aggregated SMS report informations

func NewGetTransacSmsReportOK

func NewGetTransacSmsReportOK() *GetTransacSmsReportOK

NewGetTransacSmsReportOK creates a GetTransacSmsReportOK with default headers values

func (*GetTransacSmsReportOK) Error

func (o *GetTransacSmsReportOK) Error() string

type GetTransacSmsReportParams

type GetTransacSmsReportParams struct {

	/*Days
	  Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'

	*/
	Days *int64
	/*EndDate
	  Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report

	*/
	EndDate *strfmt.Date
	/*StartDate
	  Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report

	*/
	StartDate *strfmt.Date
	/*Tag
	  Filter on a tag

	*/
	Tag *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTransacSmsReportParams contains all the parameters to send to the API endpoint for the get transac sms report operation typically these are written to a http.Request

func NewGetTransacSmsReportParams

func NewGetTransacSmsReportParams() *GetTransacSmsReportParams

NewGetTransacSmsReportParams creates a new GetTransacSmsReportParams object with the default values initialized.

func NewGetTransacSmsReportParamsWithContext

func NewGetTransacSmsReportParamsWithContext(ctx context.Context) *GetTransacSmsReportParams

NewGetTransacSmsReportParamsWithContext creates a new GetTransacSmsReportParams object with the default values initialized, and the ability to set a context for a request

func NewGetTransacSmsReportParamsWithHTTPClient

func NewGetTransacSmsReportParamsWithHTTPClient(client *http.Client) *GetTransacSmsReportParams

NewGetTransacSmsReportParamsWithHTTPClient creates a new GetTransacSmsReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetTransacSmsReportParamsWithTimeout

func NewGetTransacSmsReportParamsWithTimeout(timeout time.Duration) *GetTransacSmsReportParams

NewGetTransacSmsReportParamsWithTimeout creates a new GetTransacSmsReportParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetTransacSmsReportParams) SetContext

func (o *GetTransacSmsReportParams) SetContext(ctx context.Context)

SetContext adds the context to the get transac sms report params

func (*GetTransacSmsReportParams) SetDays

func (o *GetTransacSmsReportParams) SetDays(days *int64)

SetDays adds the days to the get transac sms report params

func (*GetTransacSmsReportParams) SetEndDate

func (o *GetTransacSmsReportParams) SetEndDate(endDate *strfmt.Date)

SetEndDate adds the endDate to the get transac sms report params

func (*GetTransacSmsReportParams) SetHTTPClient

func (o *GetTransacSmsReportParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get transac sms report params

func (*GetTransacSmsReportParams) SetStartDate

func (o *GetTransacSmsReportParams) SetStartDate(startDate *strfmt.Date)

SetStartDate adds the startDate to the get transac sms report params

func (*GetTransacSmsReportParams) SetTag

func (o *GetTransacSmsReportParams) SetTag(tag *string)

SetTag adds the tag to the get transac sms report params

func (*GetTransacSmsReportParams) SetTimeout

func (o *GetTransacSmsReportParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get transac sms report params

func (*GetTransacSmsReportParams) WithContext

WithContext adds the context to the get transac sms report params

func (*GetTransacSmsReportParams) WithDays

WithDays adds the days to the get transac sms report params

func (*GetTransacSmsReportParams) WithEndDate

WithEndDate adds the endDate to the get transac sms report params

func (*GetTransacSmsReportParams) WithHTTPClient

func (o *GetTransacSmsReportParams) WithHTTPClient(client *http.Client) *GetTransacSmsReportParams

WithHTTPClient adds the HTTPClient to the get transac sms report params

func (*GetTransacSmsReportParams) WithStartDate

func (o *GetTransacSmsReportParams) WithStartDate(startDate *strfmt.Date) *GetTransacSmsReportParams

WithStartDate adds the startDate to the get transac sms report params

func (*GetTransacSmsReportParams) WithTag

WithTag adds the tag to the get transac sms report params

func (*GetTransacSmsReportParams) WithTimeout

WithTimeout adds the timeout to the get transac sms report params

func (*GetTransacSmsReportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTransacSmsReportReader

type GetTransacSmsReportReader struct {
	// contains filtered or unexported fields
}

GetTransacSmsReportReader is a Reader for the GetTransacSmsReport structure.

func (*GetTransacSmsReportReader) ReadResponse

func (o *GetTransacSmsReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SendTransacSmsBadRequest

type SendTransacSmsBadRequest struct {
	Payload *models.ErrorModel
}

SendTransacSmsBadRequest handles this case with default header values.

bad request

func NewSendTransacSmsBadRequest

func NewSendTransacSmsBadRequest() *SendTransacSmsBadRequest

NewSendTransacSmsBadRequest creates a SendTransacSmsBadRequest with default headers values

func (*SendTransacSmsBadRequest) Error

func (o *SendTransacSmsBadRequest) Error() string

type SendTransacSmsCreated

type SendTransacSmsCreated struct {
	Payload *models.SendSms
}

SendTransacSmsCreated handles this case with default header values.

SMS has been sent successfully to the recipient

func NewSendTransacSmsCreated

func NewSendTransacSmsCreated() *SendTransacSmsCreated

NewSendTransacSmsCreated creates a SendTransacSmsCreated with default headers values

func (*SendTransacSmsCreated) Error

func (o *SendTransacSmsCreated) Error() string

type SendTransacSmsParams

type SendTransacSmsParams struct {

	/*SendTransacSms
	  Values to send a transactional SMS

	*/
	SendTransacSms *models.SendTransacSms

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SendTransacSmsParams contains all the parameters to send to the API endpoint for the send transac sms operation typically these are written to a http.Request

func NewSendTransacSmsParams

func NewSendTransacSmsParams() *SendTransacSmsParams

NewSendTransacSmsParams creates a new SendTransacSmsParams object with the default values initialized.

func NewSendTransacSmsParamsWithContext

func NewSendTransacSmsParamsWithContext(ctx context.Context) *SendTransacSmsParams

NewSendTransacSmsParamsWithContext creates a new SendTransacSmsParams object with the default values initialized, and the ability to set a context for a request

func NewSendTransacSmsParamsWithHTTPClient

func NewSendTransacSmsParamsWithHTTPClient(client *http.Client) *SendTransacSmsParams

NewSendTransacSmsParamsWithHTTPClient creates a new SendTransacSmsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSendTransacSmsParamsWithTimeout

func NewSendTransacSmsParamsWithTimeout(timeout time.Duration) *SendTransacSmsParams

NewSendTransacSmsParamsWithTimeout creates a new SendTransacSmsParams object with the default values initialized, and the ability to set a timeout on a request

func (*SendTransacSmsParams) SetContext

func (o *SendTransacSmsParams) SetContext(ctx context.Context)

SetContext adds the context to the send transac sms params

func (*SendTransacSmsParams) SetHTTPClient

func (o *SendTransacSmsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the send transac sms params

func (*SendTransacSmsParams) SetSendTransacSms

func (o *SendTransacSmsParams) SetSendTransacSms(sendTransacSms *models.SendTransacSms)

SetSendTransacSms adds the sendTransacSms to the send transac sms params

func (*SendTransacSmsParams) SetTimeout

func (o *SendTransacSmsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the send transac sms params

func (*SendTransacSmsParams) WithContext

WithContext adds the context to the send transac sms params

func (*SendTransacSmsParams) WithHTTPClient

func (o *SendTransacSmsParams) WithHTTPClient(client *http.Client) *SendTransacSmsParams

WithHTTPClient adds the HTTPClient to the send transac sms params

func (*SendTransacSmsParams) WithSendTransacSms

func (o *SendTransacSmsParams) WithSendTransacSms(sendTransacSms *models.SendTransacSms) *SendTransacSmsParams

WithSendTransacSms adds the sendTransacSms to the send transac sms params

func (*SendTransacSmsParams) WithTimeout

func (o *SendTransacSmsParams) WithTimeout(timeout time.Duration) *SendTransacSmsParams

WithTimeout adds the timeout to the send transac sms params

func (*SendTransacSmsParams) WriteToRequest

func (o *SendTransacSmsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SendTransacSmsPaymentRequired

type SendTransacSmsPaymentRequired struct {
	Payload *models.ErrorModel
}

SendTransacSmsPaymentRequired handles this case with default header values.

You don't have enough credit to send your SMS. Please update your plan

func NewSendTransacSmsPaymentRequired

func NewSendTransacSmsPaymentRequired() *SendTransacSmsPaymentRequired

NewSendTransacSmsPaymentRequired creates a SendTransacSmsPaymentRequired with default headers values

func (*SendTransacSmsPaymentRequired) Error

type SendTransacSmsReader

type SendTransacSmsReader struct {
	// contains filtered or unexported fields
}

SendTransacSmsReader is a Reader for the SendTransacSms structure.

func (*SendTransacSmsReader) ReadResponse

func (o *SendTransacSmsReader) 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