senders

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2018 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 senders API

func New

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

New creates a new senders API client.

func (*Client) CreateSender

func (a *Client) CreateSender(params *CreateSenderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSenderCreated, error)

CreateSender creates a new sender

func (*Client) DeleteSender

func (a *Client) DeleteSender(params *DeleteSenderParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSenderNoContent, error)

DeleteSender deletes a sender

func (*Client) GetIps

func (a *Client) GetIps(params *GetIpsParams, authInfo runtime.ClientAuthInfoWriter) (*GetIpsOK, error)

GetIps returns all the dedicated ips for your account

func (*Client) GetIpsFromSender

func (a *Client) GetIpsFromSender(params *GetIpsFromSenderParams, authInfo runtime.ClientAuthInfoWriter) (*GetIpsFromSenderOK, error)

GetIpsFromSender returns all the dedicated ips for a sender

func (*Client) GetSenders

func (a *Client) GetSenders(params *GetSendersParams, authInfo runtime.ClientAuthInfoWriter) (*GetSendersOK, error)

GetSenders gets the list of all your senders

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSender

func (a *Client) UpdateSender(params *UpdateSenderParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSenderNoContent, error)

UpdateSender updates a sender

type CreateSenderBadRequest

type CreateSenderBadRequest struct {
	Payload *models.ErrorModel
}

CreateSenderBadRequest handles this case with default header values.

bad request

func NewCreateSenderBadRequest

func NewCreateSenderBadRequest() *CreateSenderBadRequest

NewCreateSenderBadRequest creates a CreateSenderBadRequest with default headers values

func (*CreateSenderBadRequest) Error

func (o *CreateSenderBadRequest) Error() string

type CreateSenderCreated

type CreateSenderCreated struct {
	Payload *models.CreateSenderModel
}

CreateSenderCreated handles this case with default header values.

sender created

func NewCreateSenderCreated

func NewCreateSenderCreated() *CreateSenderCreated

NewCreateSenderCreated creates a CreateSenderCreated with default headers values

func (*CreateSenderCreated) Error

func (o *CreateSenderCreated) Error() string

type CreateSenderParams

type CreateSenderParams struct {

	/*Sender
	  sender's name

	*/
	Sender *models.CreateSender

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

CreateSenderParams contains all the parameters to send to the API endpoint for the create sender operation typically these are written to a http.Request

func NewCreateSenderParams

func NewCreateSenderParams() *CreateSenderParams

NewCreateSenderParams creates a new CreateSenderParams object with the default values initialized.

func NewCreateSenderParamsWithContext

func NewCreateSenderParamsWithContext(ctx context.Context) *CreateSenderParams

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

func NewCreateSenderParamsWithHTTPClient

func NewCreateSenderParamsWithHTTPClient(client *http.Client) *CreateSenderParams

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

func NewCreateSenderParamsWithTimeout

func NewCreateSenderParamsWithTimeout(timeout time.Duration) *CreateSenderParams

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

func (*CreateSenderParams) SetContext

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

SetContext adds the context to the create sender params

func (*CreateSenderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create sender params

func (*CreateSenderParams) SetSender

func (o *CreateSenderParams) SetSender(sender *models.CreateSender)

SetSender adds the sender to the create sender params

func (*CreateSenderParams) SetTimeout

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

SetTimeout adds the timeout to the create sender params

func (*CreateSenderParams) WithContext

WithContext adds the context to the create sender params

func (*CreateSenderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create sender params

func (*CreateSenderParams) WithSender

func (o *CreateSenderParams) WithSender(sender *models.CreateSender) *CreateSenderParams

WithSender adds the sender to the create sender params

func (*CreateSenderParams) WithTimeout

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

WithTimeout adds the timeout to the create sender params

func (*CreateSenderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateSenderReader

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

CreateSenderReader is a Reader for the CreateSender structure.

func (*CreateSenderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSenderBadRequest

type DeleteSenderBadRequest struct {
	Payload *models.ErrorModel
}

DeleteSenderBadRequest handles this case with default header values.

bad request

func NewDeleteSenderBadRequest

func NewDeleteSenderBadRequest() *DeleteSenderBadRequest

NewDeleteSenderBadRequest creates a DeleteSenderBadRequest with default headers values

func (*DeleteSenderBadRequest) Error

func (o *DeleteSenderBadRequest) Error() string

type DeleteSenderNoContent

type DeleteSenderNoContent struct {
}

DeleteSenderNoContent handles this case with default header values.

sender deleted

func NewDeleteSenderNoContent

func NewDeleteSenderNoContent() *DeleteSenderNoContent

NewDeleteSenderNoContent creates a DeleteSenderNoContent with default headers values

func (*DeleteSenderNoContent) Error

func (o *DeleteSenderNoContent) Error() string

type DeleteSenderNotFound

type DeleteSenderNotFound struct {
	Payload *models.ErrorModel
}

DeleteSenderNotFound handles this case with default header values.

Sender ID not found

func NewDeleteSenderNotFound

func NewDeleteSenderNotFound() *DeleteSenderNotFound

NewDeleteSenderNotFound creates a DeleteSenderNotFound with default headers values

func (*DeleteSenderNotFound) Error

func (o *DeleteSenderNotFound) Error() string

type DeleteSenderParams

type DeleteSenderParams struct {

	/*SenderID
	  Id of the sender

	*/
	SenderID int64

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

DeleteSenderParams contains all the parameters to send to the API endpoint for the delete sender operation typically these are written to a http.Request

func NewDeleteSenderParams

func NewDeleteSenderParams() *DeleteSenderParams

NewDeleteSenderParams creates a new DeleteSenderParams object with the default values initialized.

func NewDeleteSenderParamsWithContext

func NewDeleteSenderParamsWithContext(ctx context.Context) *DeleteSenderParams

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

func NewDeleteSenderParamsWithHTTPClient

func NewDeleteSenderParamsWithHTTPClient(client *http.Client) *DeleteSenderParams

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

func NewDeleteSenderParamsWithTimeout

func NewDeleteSenderParamsWithTimeout(timeout time.Duration) *DeleteSenderParams

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

func (*DeleteSenderParams) SetContext

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

SetContext adds the context to the delete sender params

func (*DeleteSenderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete sender params

func (*DeleteSenderParams) SetSenderID

func (o *DeleteSenderParams) SetSenderID(senderID int64)

SetSenderID adds the senderId to the delete sender params

func (*DeleteSenderParams) SetTimeout

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

SetTimeout adds the timeout to the delete sender params

func (*DeleteSenderParams) WithContext

WithContext adds the context to the delete sender params

func (*DeleteSenderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete sender params

func (*DeleteSenderParams) WithSenderID

func (o *DeleteSenderParams) WithSenderID(senderID int64) *DeleteSenderParams

WithSenderID adds the senderID to the delete sender params

func (*DeleteSenderParams) WithTimeout

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

WithTimeout adds the timeout to the delete sender params

func (*DeleteSenderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSenderReader

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

DeleteSenderReader is a Reader for the DeleteSender structure.

func (*DeleteSenderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIpsFromSenderBadRequest

type GetIpsFromSenderBadRequest struct {
	Payload *models.ErrorModel
}

GetIpsFromSenderBadRequest handles this case with default header values.

bad request

func NewGetIpsFromSenderBadRequest

func NewGetIpsFromSenderBadRequest() *GetIpsFromSenderBadRequest

NewGetIpsFromSenderBadRequest creates a GetIpsFromSenderBadRequest with default headers values

func (*GetIpsFromSenderBadRequest) Error

type GetIpsFromSenderNotFound

type GetIpsFromSenderNotFound struct {
	Payload *models.ErrorModel
}

GetIpsFromSenderNotFound handles this case with default header values.

Sender ID not found

func NewGetIpsFromSenderNotFound

func NewGetIpsFromSenderNotFound() *GetIpsFromSenderNotFound

NewGetIpsFromSenderNotFound creates a GetIpsFromSenderNotFound with default headers values

func (*GetIpsFromSenderNotFound) Error

func (o *GetIpsFromSenderNotFound) Error() string

type GetIpsFromSenderOK

type GetIpsFromSenderOK struct {
	Payload *models.GetIpsFromSender
}

GetIpsFromSenderOK handles this case with default header values.

list of dedicated IPs

func NewGetIpsFromSenderOK

func NewGetIpsFromSenderOK() *GetIpsFromSenderOK

NewGetIpsFromSenderOK creates a GetIpsFromSenderOK with default headers values

func (*GetIpsFromSenderOK) Error

func (o *GetIpsFromSenderOK) Error() string

type GetIpsFromSenderParams

type GetIpsFromSenderParams struct {

	/*SenderID
	  Id of the sender

	*/
	SenderID int64

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

GetIpsFromSenderParams contains all the parameters to send to the API endpoint for the get ips from sender operation typically these are written to a http.Request

func NewGetIpsFromSenderParams

func NewGetIpsFromSenderParams() *GetIpsFromSenderParams

NewGetIpsFromSenderParams creates a new GetIpsFromSenderParams object with the default values initialized.

func NewGetIpsFromSenderParamsWithContext

func NewGetIpsFromSenderParamsWithContext(ctx context.Context) *GetIpsFromSenderParams

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

func NewGetIpsFromSenderParamsWithHTTPClient

func NewGetIpsFromSenderParamsWithHTTPClient(client *http.Client) *GetIpsFromSenderParams

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

func NewGetIpsFromSenderParamsWithTimeout

func NewGetIpsFromSenderParamsWithTimeout(timeout time.Duration) *GetIpsFromSenderParams

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

func (*GetIpsFromSenderParams) SetContext

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

SetContext adds the context to the get ips from sender params

func (*GetIpsFromSenderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ips from sender params

func (*GetIpsFromSenderParams) SetSenderID

func (o *GetIpsFromSenderParams) SetSenderID(senderID int64)

SetSenderID adds the senderId to the get ips from sender params

func (*GetIpsFromSenderParams) SetTimeout

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

SetTimeout adds the timeout to the get ips from sender params

func (*GetIpsFromSenderParams) WithContext

WithContext adds the context to the get ips from sender params

func (*GetIpsFromSenderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ips from sender params

func (*GetIpsFromSenderParams) WithSenderID

func (o *GetIpsFromSenderParams) WithSenderID(senderID int64) *GetIpsFromSenderParams

WithSenderID adds the senderID to the get ips from sender params

func (*GetIpsFromSenderParams) WithTimeout

WithTimeout adds the timeout to the get ips from sender params

func (*GetIpsFromSenderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIpsFromSenderReader

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

GetIpsFromSenderReader is a Reader for the GetIpsFromSender structure.

func (*GetIpsFromSenderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIpsOK

type GetIpsOK struct {
	Payload *models.GetIps
}

GetIpsOK handles this case with default header values.

list of dedicated IPs

func NewGetIpsOK

func NewGetIpsOK() *GetIpsOK

NewGetIpsOK creates a GetIpsOK with default headers values

func (*GetIpsOK) Error

func (o *GetIpsOK) Error() string

type GetIpsParams

type GetIpsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetIpsParams contains all the parameters to send to the API endpoint for the get ips operation typically these are written to a http.Request

func NewGetIpsParams

func NewGetIpsParams() *GetIpsParams

NewGetIpsParams creates a new GetIpsParams object with the default values initialized.

func NewGetIpsParamsWithContext

func NewGetIpsParamsWithContext(ctx context.Context) *GetIpsParams

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

func NewGetIpsParamsWithHTTPClient

func NewGetIpsParamsWithHTTPClient(client *http.Client) *GetIpsParams

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

func NewGetIpsParamsWithTimeout

func NewGetIpsParamsWithTimeout(timeout time.Duration) *GetIpsParams

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

func (*GetIpsParams) SetContext

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

SetContext adds the context to the get ips params

func (*GetIpsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ips params

func (*GetIpsParams) SetTimeout

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

SetTimeout adds the timeout to the get ips params

func (*GetIpsParams) WithContext

func (o *GetIpsParams) WithContext(ctx context.Context) *GetIpsParams

WithContext adds the context to the get ips params

func (*GetIpsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ips params

func (*GetIpsParams) WithTimeout

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

WithTimeout adds the timeout to the get ips params

func (*GetIpsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetIpsReader

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

GetIpsReader is a Reader for the GetIps structure.

func (*GetIpsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSendersBadRequest

type GetSendersBadRequest struct {
	Payload *models.ErrorModel
}

GetSendersBadRequest handles this case with default header values.

bad request

func NewGetSendersBadRequest

func NewGetSendersBadRequest() *GetSendersBadRequest

NewGetSendersBadRequest creates a GetSendersBadRequest with default headers values

func (*GetSendersBadRequest) Error

func (o *GetSendersBadRequest) Error() string

type GetSendersOK

type GetSendersOK struct {
	Payload *models.GetSendersList
}

GetSendersOK handles this case with default header values.

list of senders

func NewGetSendersOK

func NewGetSendersOK() *GetSendersOK

NewGetSendersOK creates a GetSendersOK with default headers values

func (*GetSendersOK) Error

func (o *GetSendersOK) Error() string

type GetSendersParams

type GetSendersParams struct {

	/*Domain
	  Filter your senders for a specific domain

	*/
	Domain *string
	/*IP
	  Filter your senders for a specific ip (available for dedicated IP usage only)

	*/
	IP *string

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

GetSendersParams contains all the parameters to send to the API endpoint for the get senders operation typically these are written to a http.Request

func NewGetSendersParams

func NewGetSendersParams() *GetSendersParams

NewGetSendersParams creates a new GetSendersParams object with the default values initialized.

func NewGetSendersParamsWithContext

func NewGetSendersParamsWithContext(ctx context.Context) *GetSendersParams

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

func NewGetSendersParamsWithHTTPClient

func NewGetSendersParamsWithHTTPClient(client *http.Client) *GetSendersParams

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

func NewGetSendersParamsWithTimeout

func NewGetSendersParamsWithTimeout(timeout time.Duration) *GetSendersParams

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

func (*GetSendersParams) SetContext

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

SetContext adds the context to the get senders params

func (*GetSendersParams) SetDomain

func (o *GetSendersParams) SetDomain(domain *string)

SetDomain adds the domain to the get senders params

func (*GetSendersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get senders params

func (*GetSendersParams) SetIP

func (o *GetSendersParams) SetIP(ip *string)

SetIP adds the ip to the get senders params

func (*GetSendersParams) SetTimeout

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

SetTimeout adds the timeout to the get senders params

func (*GetSendersParams) WithContext

func (o *GetSendersParams) WithContext(ctx context.Context) *GetSendersParams

WithContext adds the context to the get senders params

func (*GetSendersParams) WithDomain

func (o *GetSendersParams) WithDomain(domain *string) *GetSendersParams

WithDomain adds the domain to the get senders params

func (*GetSendersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get senders params

func (*GetSendersParams) WithIP

func (o *GetSendersParams) WithIP(ip *string) *GetSendersParams

WithIP adds the ip to the get senders params

func (*GetSendersParams) WithTimeout

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

WithTimeout adds the timeout to the get senders params

func (*GetSendersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSendersReader

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

GetSendersReader is a Reader for the GetSenders structure.

func (*GetSendersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSenderBadRequest

type UpdateSenderBadRequest struct {
	Payload *models.ErrorModel
}

UpdateSenderBadRequest handles this case with default header values.

bad request

func NewUpdateSenderBadRequest

func NewUpdateSenderBadRequest() *UpdateSenderBadRequest

NewUpdateSenderBadRequest creates a UpdateSenderBadRequest with default headers values

func (*UpdateSenderBadRequest) Error

func (o *UpdateSenderBadRequest) Error() string

type UpdateSenderNoContent

type UpdateSenderNoContent struct {
}

UpdateSenderNoContent handles this case with default header values.

sender updated

func NewUpdateSenderNoContent

func NewUpdateSenderNoContent() *UpdateSenderNoContent

NewUpdateSenderNoContent creates a UpdateSenderNoContent with default headers values

func (*UpdateSenderNoContent) Error

func (o *UpdateSenderNoContent) Error() string

type UpdateSenderNotFound

type UpdateSenderNotFound struct {
	Payload *models.ErrorModel
}

UpdateSenderNotFound handles this case with default header values.

Sender ID not found

func NewUpdateSenderNotFound

func NewUpdateSenderNotFound() *UpdateSenderNotFound

NewUpdateSenderNotFound creates a UpdateSenderNotFound with default headers values

func (*UpdateSenderNotFound) Error

func (o *UpdateSenderNotFound) Error() string

type UpdateSenderParams

type UpdateSenderParams struct {

	/*Sender
	  sender's name

	*/
	Sender *models.UpdateSender
	/*SenderID
	  Id of the sender

	*/
	SenderID int64

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

UpdateSenderParams contains all the parameters to send to the API endpoint for the update sender operation typically these are written to a http.Request

func NewUpdateSenderParams

func NewUpdateSenderParams() *UpdateSenderParams

NewUpdateSenderParams creates a new UpdateSenderParams object with the default values initialized.

func NewUpdateSenderParamsWithContext

func NewUpdateSenderParamsWithContext(ctx context.Context) *UpdateSenderParams

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

func NewUpdateSenderParamsWithHTTPClient

func NewUpdateSenderParamsWithHTTPClient(client *http.Client) *UpdateSenderParams

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

func NewUpdateSenderParamsWithTimeout

func NewUpdateSenderParamsWithTimeout(timeout time.Duration) *UpdateSenderParams

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

func (*UpdateSenderParams) SetContext

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

SetContext adds the context to the update sender params

func (*UpdateSenderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update sender params

func (*UpdateSenderParams) SetSender

func (o *UpdateSenderParams) SetSender(sender *models.UpdateSender)

SetSender adds the sender to the update sender params

func (*UpdateSenderParams) SetSenderID

func (o *UpdateSenderParams) SetSenderID(senderID int64)

SetSenderID adds the senderId to the update sender params

func (*UpdateSenderParams) SetTimeout

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

SetTimeout adds the timeout to the update sender params

func (*UpdateSenderParams) WithContext

WithContext adds the context to the update sender params

func (*UpdateSenderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update sender params

func (*UpdateSenderParams) WithSender

func (o *UpdateSenderParams) WithSender(sender *models.UpdateSender) *UpdateSenderParams

WithSender adds the sender to the update sender params

func (*UpdateSenderParams) WithSenderID

func (o *UpdateSenderParams) WithSenderID(senderID int64) *UpdateSenderParams

WithSenderID adds the senderID to the update sender params

func (*UpdateSenderParams) WithTimeout

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

WithTimeout adds the timeout to the update sender params

func (*UpdateSenderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateSenderReader

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

UpdateSenderReader is a Reader for the UpdateSender structure.

func (*UpdateSenderReader) ReadResponse

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