Documentation
¶
Index ¶
- type ChangeSmsNumberDefault
- func (o *ChangeSmsNumberDefault) Code() int
- func (o *ChangeSmsNumberDefault) Error() string
- func (o *ChangeSmsNumberDefault) GetPayload() *models.RPCStatus
- func (o *ChangeSmsNumberDefault) IsClientError() bool
- func (o *ChangeSmsNumberDefault) IsCode(code int) bool
- func (o *ChangeSmsNumberDefault) IsRedirect() bool
- func (o *ChangeSmsNumberDefault) IsServerError() bool
- func (o *ChangeSmsNumberDefault) IsSuccess() bool
- func (o *ChangeSmsNumberDefault) String() string
- type ChangeSmsNumberOK
- func (o *ChangeSmsNumberOK) Error() string
- func (o *ChangeSmsNumberOK) GetPayload() models.CustomerspbChangeSmsNumberResponse
- func (o *ChangeSmsNumberOK) IsClientError() bool
- func (o *ChangeSmsNumberOK) IsCode(code int) bool
- func (o *ChangeSmsNumberOK) IsRedirect() bool
- func (o *ChangeSmsNumberOK) IsServerError() bool
- func (o *ChangeSmsNumberOK) IsSuccess() bool
- func (o *ChangeSmsNumberOK) String() string
- type ChangeSmsNumberParams
- func NewChangeSmsNumberParams() *ChangeSmsNumberParams
- func NewChangeSmsNumberParamsWithContext(ctx context.Context) *ChangeSmsNumberParams
- func NewChangeSmsNumberParamsWithHTTPClient(client *http.Client) *ChangeSmsNumberParams
- func NewChangeSmsNumberParamsWithTimeout(timeout time.Duration) *ChangeSmsNumberParams
- func (o *ChangeSmsNumberParams) SetBody(body *models.ChangeSmsNumberParamsBody)
- func (o *ChangeSmsNumberParams) SetContext(ctx context.Context)
- func (o *ChangeSmsNumberParams) SetDefaults()
- func (o *ChangeSmsNumberParams) SetHTTPClient(client *http.Client)
- func (o *ChangeSmsNumberParams) SetID(id string)
- func (o *ChangeSmsNumberParams) SetTimeout(timeout time.Duration)
- func (o *ChangeSmsNumberParams) WithBody(body *models.ChangeSmsNumberParamsBody) *ChangeSmsNumberParams
- func (o *ChangeSmsNumberParams) WithContext(ctx context.Context) *ChangeSmsNumberParams
- func (o *ChangeSmsNumberParams) WithDefaults() *ChangeSmsNumberParams
- func (o *ChangeSmsNumberParams) WithHTTPClient(client *http.Client) *ChangeSmsNumberParams
- func (o *ChangeSmsNumberParams) WithID(id string) *ChangeSmsNumberParams
- func (o *ChangeSmsNumberParams) WithTimeout(timeout time.Duration) *ChangeSmsNumberParams
- func (o *ChangeSmsNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeSmsNumberReader
- type Client
- func (a *Client) ChangeSmsNumber(params *ChangeSmsNumberParams, opts ...ClientOption) (*ChangeSmsNumberOK, error)
- func (a *Client) DisableCustomer(params *DisableCustomerParams, opts ...ClientOption) (*DisableCustomerOK, error)
- func (a *Client) EnableCustomer(params *EnableCustomerParams, opts ...ClientOption) (*EnableCustomerOK, error)
- func (a *Client) GetCustomer(params *GetCustomerParams, opts ...ClientOption) (*GetCustomerOK, error)
- func (a *Client) RegisterCustomer(params *RegisterCustomerParams, opts ...ClientOption) (*RegisterCustomerOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DisableCustomerDefault
- func (o *DisableCustomerDefault) Code() int
- func (o *DisableCustomerDefault) Error() string
- func (o *DisableCustomerDefault) GetPayload() *models.RPCStatus
- func (o *DisableCustomerDefault) IsClientError() bool
- func (o *DisableCustomerDefault) IsCode(code int) bool
- func (o *DisableCustomerDefault) IsRedirect() bool
- func (o *DisableCustomerDefault) IsServerError() bool
- func (o *DisableCustomerDefault) IsSuccess() bool
- func (o *DisableCustomerDefault) String() string
- type DisableCustomerOK
- func (o *DisableCustomerOK) Error() string
- func (o *DisableCustomerOK) GetPayload() models.CustomerspbDisableCustomerResponse
- func (o *DisableCustomerOK) IsClientError() bool
- func (o *DisableCustomerOK) IsCode(code int) bool
- func (o *DisableCustomerOK) IsRedirect() bool
- func (o *DisableCustomerOK) IsServerError() bool
- func (o *DisableCustomerOK) IsSuccess() bool
- func (o *DisableCustomerOK) String() string
- type DisableCustomerParams
- func NewDisableCustomerParams() *DisableCustomerParams
- func NewDisableCustomerParamsWithContext(ctx context.Context) *DisableCustomerParams
- func NewDisableCustomerParamsWithHTTPClient(client *http.Client) *DisableCustomerParams
- func NewDisableCustomerParamsWithTimeout(timeout time.Duration) *DisableCustomerParams
- func (o *DisableCustomerParams) SetBody(body interface{})
- func (o *DisableCustomerParams) SetContext(ctx context.Context)
- func (o *DisableCustomerParams) SetDefaults()
- func (o *DisableCustomerParams) SetHTTPClient(client *http.Client)
- func (o *DisableCustomerParams) SetID(id string)
- func (o *DisableCustomerParams) SetTimeout(timeout time.Duration)
- func (o *DisableCustomerParams) WithBody(body interface{}) *DisableCustomerParams
- func (o *DisableCustomerParams) WithContext(ctx context.Context) *DisableCustomerParams
- func (o *DisableCustomerParams) WithDefaults() *DisableCustomerParams
- func (o *DisableCustomerParams) WithHTTPClient(client *http.Client) *DisableCustomerParams
- func (o *DisableCustomerParams) WithID(id string) *DisableCustomerParams
- func (o *DisableCustomerParams) WithTimeout(timeout time.Duration) *DisableCustomerParams
- func (o *DisableCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisableCustomerReader
- type EnableCustomerDefault
- func (o *EnableCustomerDefault) Code() int
- func (o *EnableCustomerDefault) Error() string
- func (o *EnableCustomerDefault) GetPayload() *models.RPCStatus
- func (o *EnableCustomerDefault) IsClientError() bool
- func (o *EnableCustomerDefault) IsCode(code int) bool
- func (o *EnableCustomerDefault) IsRedirect() bool
- func (o *EnableCustomerDefault) IsServerError() bool
- func (o *EnableCustomerDefault) IsSuccess() bool
- func (o *EnableCustomerDefault) String() string
- type EnableCustomerOK
- func (o *EnableCustomerOK) Error() string
- func (o *EnableCustomerOK) GetPayload() models.CustomerspbEnableCustomerResponse
- func (o *EnableCustomerOK) IsClientError() bool
- func (o *EnableCustomerOK) IsCode(code int) bool
- func (o *EnableCustomerOK) IsRedirect() bool
- func (o *EnableCustomerOK) IsServerError() bool
- func (o *EnableCustomerOK) IsSuccess() bool
- func (o *EnableCustomerOK) String() string
- type EnableCustomerParams
- func NewEnableCustomerParams() *EnableCustomerParams
- func NewEnableCustomerParamsWithContext(ctx context.Context) *EnableCustomerParams
- func NewEnableCustomerParamsWithHTTPClient(client *http.Client) *EnableCustomerParams
- func NewEnableCustomerParamsWithTimeout(timeout time.Duration) *EnableCustomerParams
- func (o *EnableCustomerParams) SetBody(body interface{})
- func (o *EnableCustomerParams) SetContext(ctx context.Context)
- func (o *EnableCustomerParams) SetDefaults()
- func (o *EnableCustomerParams) SetHTTPClient(client *http.Client)
- func (o *EnableCustomerParams) SetID(id string)
- func (o *EnableCustomerParams) SetTimeout(timeout time.Duration)
- func (o *EnableCustomerParams) WithBody(body interface{}) *EnableCustomerParams
- func (o *EnableCustomerParams) WithContext(ctx context.Context) *EnableCustomerParams
- func (o *EnableCustomerParams) WithDefaults() *EnableCustomerParams
- func (o *EnableCustomerParams) WithHTTPClient(client *http.Client) *EnableCustomerParams
- func (o *EnableCustomerParams) WithID(id string) *EnableCustomerParams
- func (o *EnableCustomerParams) WithTimeout(timeout time.Duration) *EnableCustomerParams
- func (o *EnableCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableCustomerReader
- type GetCustomerDefault
- func (o *GetCustomerDefault) Code() int
- func (o *GetCustomerDefault) Error() string
- func (o *GetCustomerDefault) GetPayload() *models.RPCStatus
- func (o *GetCustomerDefault) IsClientError() bool
- func (o *GetCustomerDefault) IsCode(code int) bool
- func (o *GetCustomerDefault) IsRedirect() bool
- func (o *GetCustomerDefault) IsServerError() bool
- func (o *GetCustomerDefault) IsSuccess() bool
- func (o *GetCustomerDefault) String() string
- type GetCustomerOK
- func (o *GetCustomerOK) Error() string
- func (o *GetCustomerOK) GetPayload() *models.CustomerspbGetCustomerResponse
- func (o *GetCustomerOK) IsClientError() bool
- func (o *GetCustomerOK) IsCode(code int) bool
- func (o *GetCustomerOK) IsRedirect() bool
- func (o *GetCustomerOK) IsServerError() bool
- func (o *GetCustomerOK) IsSuccess() bool
- func (o *GetCustomerOK) String() string
- type GetCustomerParams
- func (o *GetCustomerParams) SetContext(ctx context.Context)
- func (o *GetCustomerParams) SetDefaults()
- func (o *GetCustomerParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomerParams) SetID(id string)
- func (o *GetCustomerParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomerParams) WithContext(ctx context.Context) *GetCustomerParams
- func (o *GetCustomerParams) WithDefaults() *GetCustomerParams
- func (o *GetCustomerParams) WithHTTPClient(client *http.Client) *GetCustomerParams
- func (o *GetCustomerParams) WithID(id string) *GetCustomerParams
- func (o *GetCustomerParams) WithTimeout(timeout time.Duration) *GetCustomerParams
- func (o *GetCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomerReader
- type RegisterCustomerDefault
- func (o *RegisterCustomerDefault) Code() int
- func (o *RegisterCustomerDefault) Error() string
- func (o *RegisterCustomerDefault) GetPayload() *models.RPCStatus
- func (o *RegisterCustomerDefault) IsClientError() bool
- func (o *RegisterCustomerDefault) IsCode(code int) bool
- func (o *RegisterCustomerDefault) IsRedirect() bool
- func (o *RegisterCustomerDefault) IsServerError() bool
- func (o *RegisterCustomerDefault) IsSuccess() bool
- func (o *RegisterCustomerDefault) String() string
- type RegisterCustomerOK
- func (o *RegisterCustomerOK) Error() string
- func (o *RegisterCustomerOK) GetPayload() *models.CustomerspbRegisterCustomerResponse
- func (o *RegisterCustomerOK) IsClientError() bool
- func (o *RegisterCustomerOK) IsCode(code int) bool
- func (o *RegisterCustomerOK) IsRedirect() bool
- func (o *RegisterCustomerOK) IsServerError() bool
- func (o *RegisterCustomerOK) IsSuccess() bool
- func (o *RegisterCustomerOK) String() string
- type RegisterCustomerParams
- func NewRegisterCustomerParams() *RegisterCustomerParams
- func NewRegisterCustomerParamsWithContext(ctx context.Context) *RegisterCustomerParams
- func NewRegisterCustomerParamsWithHTTPClient(client *http.Client) *RegisterCustomerParams
- func NewRegisterCustomerParamsWithTimeout(timeout time.Duration) *RegisterCustomerParams
- func (o *RegisterCustomerParams) SetBody(body *models.CustomerspbRegisterCustomerRequest)
- func (o *RegisterCustomerParams) SetContext(ctx context.Context)
- func (o *RegisterCustomerParams) SetDefaults()
- func (o *RegisterCustomerParams) SetHTTPClient(client *http.Client)
- func (o *RegisterCustomerParams) SetTimeout(timeout time.Duration)
- func (o *RegisterCustomerParams) WithBody(body *models.CustomerspbRegisterCustomerRequest) *RegisterCustomerParams
- func (o *RegisterCustomerParams) WithContext(ctx context.Context) *RegisterCustomerParams
- func (o *RegisterCustomerParams) WithDefaults() *RegisterCustomerParams
- func (o *RegisterCustomerParams) WithHTTPClient(client *http.Client) *RegisterCustomerParams
- func (o *RegisterCustomerParams) WithTimeout(timeout time.Duration) *RegisterCustomerParams
- func (o *RegisterCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterCustomerReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeSmsNumberDefault ¶
type ChangeSmsNumberDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
ChangeSmsNumberDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewChangeSmsNumberDefault ¶
func NewChangeSmsNumberDefault(code int) *ChangeSmsNumberDefault
NewChangeSmsNumberDefault creates a ChangeSmsNumberDefault with default headers values
func (*ChangeSmsNumberDefault) Code ¶
func (o *ChangeSmsNumberDefault) Code() int
Code gets the status code for the change sms number default response
func (*ChangeSmsNumberDefault) Error ¶
func (o *ChangeSmsNumberDefault) Error() string
func (*ChangeSmsNumberDefault) GetPayload ¶
func (o *ChangeSmsNumberDefault) GetPayload() *models.RPCStatus
func (*ChangeSmsNumberDefault) IsClientError ¶
func (o *ChangeSmsNumberDefault) IsClientError() bool
IsClientError returns true when this change sms number default response has a 4xx status code
func (*ChangeSmsNumberDefault) IsCode ¶
func (o *ChangeSmsNumberDefault) IsCode(code int) bool
IsCode returns true when this change sms number default response a status code equal to that given
func (*ChangeSmsNumberDefault) IsRedirect ¶
func (o *ChangeSmsNumberDefault) IsRedirect() bool
IsRedirect returns true when this change sms number default response has a 3xx status code
func (*ChangeSmsNumberDefault) IsServerError ¶
func (o *ChangeSmsNumberDefault) IsServerError() bool
IsServerError returns true when this change sms number default response has a 5xx status code
func (*ChangeSmsNumberDefault) IsSuccess ¶
func (o *ChangeSmsNumberDefault) IsSuccess() bool
IsSuccess returns true when this change sms number default response has a 2xx status code
func (*ChangeSmsNumberDefault) String ¶
func (o *ChangeSmsNumberDefault) String() string
type ChangeSmsNumberOK ¶
type ChangeSmsNumberOK struct {
Payload models.CustomerspbChangeSmsNumberResponse
}
ChangeSmsNumberOK describes a response with status code 200, with default header values.
A successful response.
func NewChangeSmsNumberOK ¶
func NewChangeSmsNumberOK() *ChangeSmsNumberOK
NewChangeSmsNumberOK creates a ChangeSmsNumberOK with default headers values
func (*ChangeSmsNumberOK) Error ¶
func (o *ChangeSmsNumberOK) Error() string
func (*ChangeSmsNumberOK) GetPayload ¶
func (o *ChangeSmsNumberOK) GetPayload() models.CustomerspbChangeSmsNumberResponse
func (*ChangeSmsNumberOK) IsClientError ¶
func (o *ChangeSmsNumberOK) IsClientError() bool
IsClientError returns true when this change sms number o k response has a 4xx status code
func (*ChangeSmsNumberOK) IsCode ¶
func (o *ChangeSmsNumberOK) IsCode(code int) bool
IsCode returns true when this change sms number o k response a status code equal to that given
func (*ChangeSmsNumberOK) IsRedirect ¶
func (o *ChangeSmsNumberOK) IsRedirect() bool
IsRedirect returns true when this change sms number o k response has a 3xx status code
func (*ChangeSmsNumberOK) IsServerError ¶
func (o *ChangeSmsNumberOK) IsServerError() bool
IsServerError returns true when this change sms number o k response has a 5xx status code
func (*ChangeSmsNumberOK) IsSuccess ¶
func (o *ChangeSmsNumberOK) IsSuccess() bool
IsSuccess returns true when this change sms number o k response has a 2xx status code
func (*ChangeSmsNumberOK) String ¶
func (o *ChangeSmsNumberOK) String() string
type ChangeSmsNumberParams ¶
type ChangeSmsNumberParams struct { // Body. Body *models.ChangeSmsNumberParamsBody // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeSmsNumberParams contains all the parameters to send to the API endpoint
for the change sms number operation. Typically these are written to a http.Request.
func NewChangeSmsNumberParams ¶
func NewChangeSmsNumberParams() *ChangeSmsNumberParams
NewChangeSmsNumberParams creates a new ChangeSmsNumberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChangeSmsNumberParamsWithContext ¶
func NewChangeSmsNumberParamsWithContext(ctx context.Context) *ChangeSmsNumberParams
NewChangeSmsNumberParamsWithContext creates a new ChangeSmsNumberParams object with the ability to set a context for a request.
func NewChangeSmsNumberParamsWithHTTPClient ¶
func NewChangeSmsNumberParamsWithHTTPClient(client *http.Client) *ChangeSmsNumberParams
NewChangeSmsNumberParamsWithHTTPClient creates a new ChangeSmsNumberParams object with the ability to set a custom HTTPClient for a request.
func NewChangeSmsNumberParamsWithTimeout ¶
func NewChangeSmsNumberParamsWithTimeout(timeout time.Duration) *ChangeSmsNumberParams
NewChangeSmsNumberParamsWithTimeout creates a new ChangeSmsNumberParams object with the ability to set a timeout on a request.
func (*ChangeSmsNumberParams) SetBody ¶
func (o *ChangeSmsNumberParams) SetBody(body *models.ChangeSmsNumberParamsBody)
SetBody adds the body to the change sms number params
func (*ChangeSmsNumberParams) SetContext ¶
func (o *ChangeSmsNumberParams) SetContext(ctx context.Context)
SetContext adds the context to the change sms number params
func (*ChangeSmsNumberParams) SetDefaults ¶
func (o *ChangeSmsNumberParams) SetDefaults()
SetDefaults hydrates default values in the change sms number params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeSmsNumberParams) SetHTTPClient ¶
func (o *ChangeSmsNumberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change sms number params
func (*ChangeSmsNumberParams) SetID ¶
func (o *ChangeSmsNumberParams) SetID(id string)
SetID adds the id to the change sms number params
func (*ChangeSmsNumberParams) SetTimeout ¶
func (o *ChangeSmsNumberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change sms number params
func (*ChangeSmsNumberParams) WithBody ¶
func (o *ChangeSmsNumberParams) WithBody(body *models.ChangeSmsNumberParamsBody) *ChangeSmsNumberParams
WithBody adds the body to the change sms number params
func (*ChangeSmsNumberParams) WithContext ¶
func (o *ChangeSmsNumberParams) WithContext(ctx context.Context) *ChangeSmsNumberParams
WithContext adds the context to the change sms number params
func (*ChangeSmsNumberParams) WithDefaults ¶
func (o *ChangeSmsNumberParams) WithDefaults() *ChangeSmsNumberParams
WithDefaults hydrates default values in the change sms number params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeSmsNumberParams) WithHTTPClient ¶
func (o *ChangeSmsNumberParams) WithHTTPClient(client *http.Client) *ChangeSmsNumberParams
WithHTTPClient adds the HTTPClient to the change sms number params
func (*ChangeSmsNumberParams) WithID ¶
func (o *ChangeSmsNumberParams) WithID(id string) *ChangeSmsNumberParams
WithID adds the id to the change sms number params
func (*ChangeSmsNumberParams) WithTimeout ¶
func (o *ChangeSmsNumberParams) WithTimeout(timeout time.Duration) *ChangeSmsNumberParams
WithTimeout adds the timeout to the change sms number params
func (*ChangeSmsNumberParams) WriteToRequest ¶
func (o *ChangeSmsNumberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeSmsNumberReader ¶
type ChangeSmsNumberReader struct {
// contains filtered or unexported fields
}
ChangeSmsNumberReader is a Reader for the ChangeSmsNumber structure.
func (*ChangeSmsNumberReader) ReadResponse ¶
func (o *ChangeSmsNumberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for customer API
func (*Client) ChangeSmsNumber ¶
func (a *Client) ChangeSmsNumber(params *ChangeSmsNumberParams, opts ...ClientOption) (*ChangeSmsNumberOK, error)
ChangeSmsNumber changes a customers s m s number
func (*Client) DisableCustomer ¶
func (a *Client) DisableCustomer(params *DisableCustomerParams, opts ...ClientOption) (*DisableCustomerOK, error)
DisableCustomer disables a customer
func (*Client) EnableCustomer ¶
func (a *Client) EnableCustomer(params *EnableCustomerParams, opts ...ClientOption) (*EnableCustomerOK, error)
EnableCustomer enables a customer
func (*Client) GetCustomer ¶
func (a *Client) GetCustomer(params *GetCustomerParams, opts ...ClientOption) (*GetCustomerOK, error)
GetCustomer gets a customer
func (*Client) RegisterCustomer ¶
func (a *Client) RegisterCustomer(params *RegisterCustomerParams, opts ...ClientOption) (*RegisterCustomerOK, error)
RegisterCustomer registers a new customer
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DisableCustomer(params *DisableCustomerParams, opts ...ClientOption) (*DisableCustomerOK, error) ChangeSmsNumber(params *ChangeSmsNumberParams, opts ...ClientOption) (*ChangeSmsNumberOK, error) EnableCustomer(params *EnableCustomerParams, opts ...ClientOption) (*EnableCustomerOK, error) GetCustomer(params *GetCustomerParams, opts ...ClientOption) (*GetCustomerOK, error) RegisterCustomer(params *RegisterCustomerParams, opts ...ClientOption) (*RegisterCustomerOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new customer API client.
type DisableCustomerDefault ¶
type DisableCustomerDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
DisableCustomerDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDisableCustomerDefault ¶
func NewDisableCustomerDefault(code int) *DisableCustomerDefault
NewDisableCustomerDefault creates a DisableCustomerDefault with default headers values
func (*DisableCustomerDefault) Code ¶
func (o *DisableCustomerDefault) Code() int
Code gets the status code for the disable customer default response
func (*DisableCustomerDefault) Error ¶
func (o *DisableCustomerDefault) Error() string
func (*DisableCustomerDefault) GetPayload ¶
func (o *DisableCustomerDefault) GetPayload() *models.RPCStatus
func (*DisableCustomerDefault) IsClientError ¶
func (o *DisableCustomerDefault) IsClientError() bool
IsClientError returns true when this disable customer default response has a 4xx status code
func (*DisableCustomerDefault) IsCode ¶
func (o *DisableCustomerDefault) IsCode(code int) bool
IsCode returns true when this disable customer default response a status code equal to that given
func (*DisableCustomerDefault) IsRedirect ¶
func (o *DisableCustomerDefault) IsRedirect() bool
IsRedirect returns true when this disable customer default response has a 3xx status code
func (*DisableCustomerDefault) IsServerError ¶
func (o *DisableCustomerDefault) IsServerError() bool
IsServerError returns true when this disable customer default response has a 5xx status code
func (*DisableCustomerDefault) IsSuccess ¶
func (o *DisableCustomerDefault) IsSuccess() bool
IsSuccess returns true when this disable customer default response has a 2xx status code
func (*DisableCustomerDefault) String ¶
func (o *DisableCustomerDefault) String() string
type DisableCustomerOK ¶
type DisableCustomerOK struct {
Payload models.CustomerspbDisableCustomerResponse
}
DisableCustomerOK describes a response with status code 200, with default header values.
A successful response.
func NewDisableCustomerOK ¶
func NewDisableCustomerOK() *DisableCustomerOK
NewDisableCustomerOK creates a DisableCustomerOK with default headers values
func (*DisableCustomerOK) Error ¶
func (o *DisableCustomerOK) Error() string
func (*DisableCustomerOK) GetPayload ¶
func (o *DisableCustomerOK) GetPayload() models.CustomerspbDisableCustomerResponse
func (*DisableCustomerOK) IsClientError ¶
func (o *DisableCustomerOK) IsClientError() bool
IsClientError returns true when this disable customer o k response has a 4xx status code
func (*DisableCustomerOK) IsCode ¶
func (o *DisableCustomerOK) IsCode(code int) bool
IsCode returns true when this disable customer o k response a status code equal to that given
func (*DisableCustomerOK) IsRedirect ¶
func (o *DisableCustomerOK) IsRedirect() bool
IsRedirect returns true when this disable customer o k response has a 3xx status code
func (*DisableCustomerOK) IsServerError ¶
func (o *DisableCustomerOK) IsServerError() bool
IsServerError returns true when this disable customer o k response has a 5xx status code
func (*DisableCustomerOK) IsSuccess ¶
func (o *DisableCustomerOK) IsSuccess() bool
IsSuccess returns true when this disable customer o k response has a 2xx status code
func (*DisableCustomerOK) String ¶
func (o *DisableCustomerOK) String() string
type DisableCustomerParams ¶
type DisableCustomerParams struct { // Body. Body interface{} // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisableCustomerParams contains all the parameters to send to the API endpoint
for the disable customer operation. Typically these are written to a http.Request.
func NewDisableCustomerParams ¶
func NewDisableCustomerParams() *DisableCustomerParams
NewDisableCustomerParams creates a new DisableCustomerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDisableCustomerParamsWithContext ¶
func NewDisableCustomerParamsWithContext(ctx context.Context) *DisableCustomerParams
NewDisableCustomerParamsWithContext creates a new DisableCustomerParams object with the ability to set a context for a request.
func NewDisableCustomerParamsWithHTTPClient ¶
func NewDisableCustomerParamsWithHTTPClient(client *http.Client) *DisableCustomerParams
NewDisableCustomerParamsWithHTTPClient creates a new DisableCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewDisableCustomerParamsWithTimeout ¶
func NewDisableCustomerParamsWithTimeout(timeout time.Duration) *DisableCustomerParams
NewDisableCustomerParamsWithTimeout creates a new DisableCustomerParams object with the ability to set a timeout on a request.
func (*DisableCustomerParams) SetBody ¶
func (o *DisableCustomerParams) SetBody(body interface{})
SetBody adds the body to the disable customer params
func (*DisableCustomerParams) SetContext ¶
func (o *DisableCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the disable customer params
func (*DisableCustomerParams) SetDefaults ¶
func (o *DisableCustomerParams) SetDefaults()
SetDefaults hydrates default values in the disable customer params (not the query body).
All values with no default are reset to their zero value.
func (*DisableCustomerParams) SetHTTPClient ¶
func (o *DisableCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disable customer params
func (*DisableCustomerParams) SetID ¶
func (o *DisableCustomerParams) SetID(id string)
SetID adds the id to the disable customer params
func (*DisableCustomerParams) SetTimeout ¶
func (o *DisableCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disable customer params
func (*DisableCustomerParams) WithBody ¶
func (o *DisableCustomerParams) WithBody(body interface{}) *DisableCustomerParams
WithBody adds the body to the disable customer params
func (*DisableCustomerParams) WithContext ¶
func (o *DisableCustomerParams) WithContext(ctx context.Context) *DisableCustomerParams
WithContext adds the context to the disable customer params
func (*DisableCustomerParams) WithDefaults ¶
func (o *DisableCustomerParams) WithDefaults() *DisableCustomerParams
WithDefaults hydrates default values in the disable customer params (not the query body).
All values with no default are reset to their zero value.
func (*DisableCustomerParams) WithHTTPClient ¶
func (o *DisableCustomerParams) WithHTTPClient(client *http.Client) *DisableCustomerParams
WithHTTPClient adds the HTTPClient to the disable customer params
func (*DisableCustomerParams) WithID ¶
func (o *DisableCustomerParams) WithID(id string) *DisableCustomerParams
WithID adds the id to the disable customer params
func (*DisableCustomerParams) WithTimeout ¶
func (o *DisableCustomerParams) WithTimeout(timeout time.Duration) *DisableCustomerParams
WithTimeout adds the timeout to the disable customer params
func (*DisableCustomerParams) WriteToRequest ¶
func (o *DisableCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisableCustomerReader ¶
type DisableCustomerReader struct {
// contains filtered or unexported fields
}
DisableCustomerReader is a Reader for the DisableCustomer structure.
func (*DisableCustomerReader) ReadResponse ¶
func (o *DisableCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnableCustomerDefault ¶
type EnableCustomerDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
EnableCustomerDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewEnableCustomerDefault ¶
func NewEnableCustomerDefault(code int) *EnableCustomerDefault
NewEnableCustomerDefault creates a EnableCustomerDefault with default headers values
func (*EnableCustomerDefault) Code ¶
func (o *EnableCustomerDefault) Code() int
Code gets the status code for the enable customer default response
func (*EnableCustomerDefault) Error ¶
func (o *EnableCustomerDefault) Error() string
func (*EnableCustomerDefault) GetPayload ¶
func (o *EnableCustomerDefault) GetPayload() *models.RPCStatus
func (*EnableCustomerDefault) IsClientError ¶
func (o *EnableCustomerDefault) IsClientError() bool
IsClientError returns true when this enable customer default response has a 4xx status code
func (*EnableCustomerDefault) IsCode ¶
func (o *EnableCustomerDefault) IsCode(code int) bool
IsCode returns true when this enable customer default response a status code equal to that given
func (*EnableCustomerDefault) IsRedirect ¶
func (o *EnableCustomerDefault) IsRedirect() bool
IsRedirect returns true when this enable customer default response has a 3xx status code
func (*EnableCustomerDefault) IsServerError ¶
func (o *EnableCustomerDefault) IsServerError() bool
IsServerError returns true when this enable customer default response has a 5xx status code
func (*EnableCustomerDefault) IsSuccess ¶
func (o *EnableCustomerDefault) IsSuccess() bool
IsSuccess returns true when this enable customer default response has a 2xx status code
func (*EnableCustomerDefault) String ¶
func (o *EnableCustomerDefault) String() string
type EnableCustomerOK ¶
type EnableCustomerOK struct {
Payload models.CustomerspbEnableCustomerResponse
}
EnableCustomerOK describes a response with status code 200, with default header values.
A successful response.
func NewEnableCustomerOK ¶
func NewEnableCustomerOK() *EnableCustomerOK
NewEnableCustomerOK creates a EnableCustomerOK with default headers values
func (*EnableCustomerOK) Error ¶
func (o *EnableCustomerOK) Error() string
func (*EnableCustomerOK) GetPayload ¶
func (o *EnableCustomerOK) GetPayload() models.CustomerspbEnableCustomerResponse
func (*EnableCustomerOK) IsClientError ¶
func (o *EnableCustomerOK) IsClientError() bool
IsClientError returns true when this enable customer o k response has a 4xx status code
func (*EnableCustomerOK) IsCode ¶
func (o *EnableCustomerOK) IsCode(code int) bool
IsCode returns true when this enable customer o k response a status code equal to that given
func (*EnableCustomerOK) IsRedirect ¶
func (o *EnableCustomerOK) IsRedirect() bool
IsRedirect returns true when this enable customer o k response has a 3xx status code
func (*EnableCustomerOK) IsServerError ¶
func (o *EnableCustomerOK) IsServerError() bool
IsServerError returns true when this enable customer o k response has a 5xx status code
func (*EnableCustomerOK) IsSuccess ¶
func (o *EnableCustomerOK) IsSuccess() bool
IsSuccess returns true when this enable customer o k response has a 2xx status code
func (*EnableCustomerOK) String ¶
func (o *EnableCustomerOK) String() string
type EnableCustomerParams ¶
type EnableCustomerParams struct { // Body. Body interface{} // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnableCustomerParams contains all the parameters to send to the API endpoint
for the enable customer operation. Typically these are written to a http.Request.
func NewEnableCustomerParams ¶
func NewEnableCustomerParams() *EnableCustomerParams
NewEnableCustomerParams creates a new EnableCustomerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnableCustomerParamsWithContext ¶
func NewEnableCustomerParamsWithContext(ctx context.Context) *EnableCustomerParams
NewEnableCustomerParamsWithContext creates a new EnableCustomerParams object with the ability to set a context for a request.
func NewEnableCustomerParamsWithHTTPClient ¶
func NewEnableCustomerParamsWithHTTPClient(client *http.Client) *EnableCustomerParams
NewEnableCustomerParamsWithHTTPClient creates a new EnableCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewEnableCustomerParamsWithTimeout ¶
func NewEnableCustomerParamsWithTimeout(timeout time.Duration) *EnableCustomerParams
NewEnableCustomerParamsWithTimeout creates a new EnableCustomerParams object with the ability to set a timeout on a request.
func (*EnableCustomerParams) SetBody ¶
func (o *EnableCustomerParams) SetBody(body interface{})
SetBody adds the body to the enable customer params
func (*EnableCustomerParams) SetContext ¶
func (o *EnableCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the enable customer params
func (*EnableCustomerParams) SetDefaults ¶
func (o *EnableCustomerParams) SetDefaults()
SetDefaults hydrates default values in the enable customer params (not the query body).
All values with no default are reset to their zero value.
func (*EnableCustomerParams) SetHTTPClient ¶
func (o *EnableCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable customer params
func (*EnableCustomerParams) SetID ¶
func (o *EnableCustomerParams) SetID(id string)
SetID adds the id to the enable customer params
func (*EnableCustomerParams) SetTimeout ¶
func (o *EnableCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enable customer params
func (*EnableCustomerParams) WithBody ¶
func (o *EnableCustomerParams) WithBody(body interface{}) *EnableCustomerParams
WithBody adds the body to the enable customer params
func (*EnableCustomerParams) WithContext ¶
func (o *EnableCustomerParams) WithContext(ctx context.Context) *EnableCustomerParams
WithContext adds the context to the enable customer params
func (*EnableCustomerParams) WithDefaults ¶
func (o *EnableCustomerParams) WithDefaults() *EnableCustomerParams
WithDefaults hydrates default values in the enable customer params (not the query body).
All values with no default are reset to their zero value.
func (*EnableCustomerParams) WithHTTPClient ¶
func (o *EnableCustomerParams) WithHTTPClient(client *http.Client) *EnableCustomerParams
WithHTTPClient adds the HTTPClient to the enable customer params
func (*EnableCustomerParams) WithID ¶
func (o *EnableCustomerParams) WithID(id string) *EnableCustomerParams
WithID adds the id to the enable customer params
func (*EnableCustomerParams) WithTimeout ¶
func (o *EnableCustomerParams) WithTimeout(timeout time.Duration) *EnableCustomerParams
WithTimeout adds the timeout to the enable customer params
func (*EnableCustomerParams) WriteToRequest ¶
func (o *EnableCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnableCustomerReader ¶
type EnableCustomerReader struct {
// contains filtered or unexported fields
}
EnableCustomerReader is a Reader for the EnableCustomer structure.
func (*EnableCustomerReader) ReadResponse ¶
func (o *EnableCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCustomerDefault ¶
type GetCustomerDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
GetCustomerDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetCustomerDefault ¶
func NewGetCustomerDefault(code int) *GetCustomerDefault
NewGetCustomerDefault creates a GetCustomerDefault with default headers values
func (*GetCustomerDefault) Code ¶
func (o *GetCustomerDefault) Code() int
Code gets the status code for the get customer default response
func (*GetCustomerDefault) Error ¶
func (o *GetCustomerDefault) Error() string
func (*GetCustomerDefault) GetPayload ¶
func (o *GetCustomerDefault) GetPayload() *models.RPCStatus
func (*GetCustomerDefault) IsClientError ¶
func (o *GetCustomerDefault) IsClientError() bool
IsClientError returns true when this get customer default response has a 4xx status code
func (*GetCustomerDefault) IsCode ¶
func (o *GetCustomerDefault) IsCode(code int) bool
IsCode returns true when this get customer default response a status code equal to that given
func (*GetCustomerDefault) IsRedirect ¶
func (o *GetCustomerDefault) IsRedirect() bool
IsRedirect returns true when this get customer default response has a 3xx status code
func (*GetCustomerDefault) IsServerError ¶
func (o *GetCustomerDefault) IsServerError() bool
IsServerError returns true when this get customer default response has a 5xx status code
func (*GetCustomerDefault) IsSuccess ¶
func (o *GetCustomerDefault) IsSuccess() bool
IsSuccess returns true when this get customer default response has a 2xx status code
func (*GetCustomerDefault) String ¶
func (o *GetCustomerDefault) String() string
type GetCustomerOK ¶
type GetCustomerOK struct {
Payload *models.CustomerspbGetCustomerResponse
}
GetCustomerOK describes a response with status code 200, with default header values.
A successful response.
func NewGetCustomerOK ¶
func NewGetCustomerOK() *GetCustomerOK
NewGetCustomerOK creates a GetCustomerOK with default headers values
func (*GetCustomerOK) Error ¶
func (o *GetCustomerOK) Error() string
func (*GetCustomerOK) GetPayload ¶
func (o *GetCustomerOK) GetPayload() *models.CustomerspbGetCustomerResponse
func (*GetCustomerOK) IsClientError ¶
func (o *GetCustomerOK) IsClientError() bool
IsClientError returns true when this get customer o k response has a 4xx status code
func (*GetCustomerOK) IsCode ¶
func (o *GetCustomerOK) IsCode(code int) bool
IsCode returns true when this get customer o k response a status code equal to that given
func (*GetCustomerOK) IsRedirect ¶
func (o *GetCustomerOK) IsRedirect() bool
IsRedirect returns true when this get customer o k response has a 3xx status code
func (*GetCustomerOK) IsServerError ¶
func (o *GetCustomerOK) IsServerError() bool
IsServerError returns true when this get customer o k response has a 5xx status code
func (*GetCustomerOK) IsSuccess ¶
func (o *GetCustomerOK) IsSuccess() bool
IsSuccess returns true when this get customer o k response has a 2xx status code
func (*GetCustomerOK) String ¶
func (o *GetCustomerOK) String() string
type GetCustomerParams ¶
type GetCustomerParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCustomerParams contains all the parameters to send to the API endpoint
for the get customer operation. Typically these are written to a http.Request.
func NewGetCustomerParams ¶
func NewGetCustomerParams() *GetCustomerParams
NewGetCustomerParams creates a new GetCustomerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCustomerParamsWithContext ¶
func NewGetCustomerParamsWithContext(ctx context.Context) *GetCustomerParams
NewGetCustomerParamsWithContext creates a new GetCustomerParams object with the ability to set a context for a request.
func NewGetCustomerParamsWithHTTPClient ¶
func NewGetCustomerParamsWithHTTPClient(client *http.Client) *GetCustomerParams
NewGetCustomerParamsWithHTTPClient creates a new GetCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewGetCustomerParamsWithTimeout ¶
func NewGetCustomerParamsWithTimeout(timeout time.Duration) *GetCustomerParams
NewGetCustomerParamsWithTimeout creates a new GetCustomerParams object with the ability to set a timeout on a request.
func (*GetCustomerParams) SetContext ¶
func (o *GetCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the get customer params
func (*GetCustomerParams) SetDefaults ¶
func (o *GetCustomerParams) SetDefaults()
SetDefaults hydrates default values in the get customer params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerParams) SetHTTPClient ¶
func (o *GetCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get customer params
func (*GetCustomerParams) SetID ¶
func (o *GetCustomerParams) SetID(id string)
SetID adds the id to the get customer params
func (*GetCustomerParams) SetTimeout ¶
func (o *GetCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get customer params
func (*GetCustomerParams) WithContext ¶
func (o *GetCustomerParams) WithContext(ctx context.Context) *GetCustomerParams
WithContext adds the context to the get customer params
func (*GetCustomerParams) WithDefaults ¶
func (o *GetCustomerParams) WithDefaults() *GetCustomerParams
WithDefaults hydrates default values in the get customer params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerParams) WithHTTPClient ¶
func (o *GetCustomerParams) WithHTTPClient(client *http.Client) *GetCustomerParams
WithHTTPClient adds the HTTPClient to the get customer params
func (*GetCustomerParams) WithID ¶
func (o *GetCustomerParams) WithID(id string) *GetCustomerParams
WithID adds the id to the get customer params
func (*GetCustomerParams) WithTimeout ¶
func (o *GetCustomerParams) WithTimeout(timeout time.Duration) *GetCustomerParams
WithTimeout adds the timeout to the get customer params
func (*GetCustomerParams) WriteToRequest ¶
func (o *GetCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCustomerReader ¶
type GetCustomerReader struct {
// contains filtered or unexported fields
}
GetCustomerReader is a Reader for the GetCustomer structure.
func (*GetCustomerReader) ReadResponse ¶
func (o *GetCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterCustomerDefault ¶
type RegisterCustomerDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
RegisterCustomerDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewRegisterCustomerDefault ¶
func NewRegisterCustomerDefault(code int) *RegisterCustomerDefault
NewRegisterCustomerDefault creates a RegisterCustomerDefault with default headers values
func (*RegisterCustomerDefault) Code ¶
func (o *RegisterCustomerDefault) Code() int
Code gets the status code for the register customer default response
func (*RegisterCustomerDefault) Error ¶
func (o *RegisterCustomerDefault) Error() string
func (*RegisterCustomerDefault) GetPayload ¶
func (o *RegisterCustomerDefault) GetPayload() *models.RPCStatus
func (*RegisterCustomerDefault) IsClientError ¶
func (o *RegisterCustomerDefault) IsClientError() bool
IsClientError returns true when this register customer default response has a 4xx status code
func (*RegisterCustomerDefault) IsCode ¶
func (o *RegisterCustomerDefault) IsCode(code int) bool
IsCode returns true when this register customer default response a status code equal to that given
func (*RegisterCustomerDefault) IsRedirect ¶
func (o *RegisterCustomerDefault) IsRedirect() bool
IsRedirect returns true when this register customer default response has a 3xx status code
func (*RegisterCustomerDefault) IsServerError ¶
func (o *RegisterCustomerDefault) IsServerError() bool
IsServerError returns true when this register customer default response has a 5xx status code
func (*RegisterCustomerDefault) IsSuccess ¶
func (o *RegisterCustomerDefault) IsSuccess() bool
IsSuccess returns true when this register customer default response has a 2xx status code
func (*RegisterCustomerDefault) String ¶
func (o *RegisterCustomerDefault) String() string
type RegisterCustomerOK ¶
type RegisterCustomerOK struct {
Payload *models.CustomerspbRegisterCustomerResponse
}
RegisterCustomerOK describes a response with status code 200, with default header values.
A successful response.
func NewRegisterCustomerOK ¶
func NewRegisterCustomerOK() *RegisterCustomerOK
NewRegisterCustomerOK creates a RegisterCustomerOK with default headers values
func (*RegisterCustomerOK) Error ¶
func (o *RegisterCustomerOK) Error() string
func (*RegisterCustomerOK) GetPayload ¶
func (o *RegisterCustomerOK) GetPayload() *models.CustomerspbRegisterCustomerResponse
func (*RegisterCustomerOK) IsClientError ¶
func (o *RegisterCustomerOK) IsClientError() bool
IsClientError returns true when this register customer o k response has a 4xx status code
func (*RegisterCustomerOK) IsCode ¶
func (o *RegisterCustomerOK) IsCode(code int) bool
IsCode returns true when this register customer o k response a status code equal to that given
func (*RegisterCustomerOK) IsRedirect ¶
func (o *RegisterCustomerOK) IsRedirect() bool
IsRedirect returns true when this register customer o k response has a 3xx status code
func (*RegisterCustomerOK) IsServerError ¶
func (o *RegisterCustomerOK) IsServerError() bool
IsServerError returns true when this register customer o k response has a 5xx status code
func (*RegisterCustomerOK) IsSuccess ¶
func (o *RegisterCustomerOK) IsSuccess() bool
IsSuccess returns true when this register customer o k response has a 2xx status code
func (*RegisterCustomerOK) String ¶
func (o *RegisterCustomerOK) String() string
type RegisterCustomerParams ¶
type RegisterCustomerParams struct { // Body. Body *models.CustomerspbRegisterCustomerRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegisterCustomerParams contains all the parameters to send to the API endpoint
for the register customer operation. Typically these are written to a http.Request.
func NewRegisterCustomerParams ¶
func NewRegisterCustomerParams() *RegisterCustomerParams
NewRegisterCustomerParams creates a new RegisterCustomerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRegisterCustomerParamsWithContext ¶
func NewRegisterCustomerParamsWithContext(ctx context.Context) *RegisterCustomerParams
NewRegisterCustomerParamsWithContext creates a new RegisterCustomerParams object with the ability to set a context for a request.
func NewRegisterCustomerParamsWithHTTPClient ¶
func NewRegisterCustomerParamsWithHTTPClient(client *http.Client) *RegisterCustomerParams
NewRegisterCustomerParamsWithHTTPClient creates a new RegisterCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewRegisterCustomerParamsWithTimeout ¶
func NewRegisterCustomerParamsWithTimeout(timeout time.Duration) *RegisterCustomerParams
NewRegisterCustomerParamsWithTimeout creates a new RegisterCustomerParams object with the ability to set a timeout on a request.
func (*RegisterCustomerParams) SetBody ¶
func (o *RegisterCustomerParams) SetBody(body *models.CustomerspbRegisterCustomerRequest)
SetBody adds the body to the register customer params
func (*RegisterCustomerParams) SetContext ¶
func (o *RegisterCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the register customer params
func (*RegisterCustomerParams) SetDefaults ¶
func (o *RegisterCustomerParams) SetDefaults()
SetDefaults hydrates default values in the register customer params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterCustomerParams) SetHTTPClient ¶
func (o *RegisterCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register customer params
func (*RegisterCustomerParams) SetTimeout ¶
func (o *RegisterCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register customer params
func (*RegisterCustomerParams) WithBody ¶
func (o *RegisterCustomerParams) WithBody(body *models.CustomerspbRegisterCustomerRequest) *RegisterCustomerParams
WithBody adds the body to the register customer params
func (*RegisterCustomerParams) WithContext ¶
func (o *RegisterCustomerParams) WithContext(ctx context.Context) *RegisterCustomerParams
WithContext adds the context to the register customer params
func (*RegisterCustomerParams) WithDefaults ¶
func (o *RegisterCustomerParams) WithDefaults() *RegisterCustomerParams
WithDefaults hydrates default values in the register customer params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterCustomerParams) WithHTTPClient ¶
func (o *RegisterCustomerParams) WithHTTPClient(client *http.Client) *RegisterCustomerParams
WithHTTPClient adds the HTTPClient to the register customer params
func (*RegisterCustomerParams) WithTimeout ¶
func (o *RegisterCustomerParams) WithTimeout(timeout time.Duration) *RegisterCustomerParams
WithTimeout adds the timeout to the register customer params
func (*RegisterCustomerParams) WriteToRequest ¶
func (o *RegisterCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterCustomerReader ¶
type RegisterCustomerReader struct {
// contains filtered or unexported fields
}
RegisterCustomerReader is a Reader for the RegisterCustomer structure.
func (*RegisterCustomerReader) ReadResponse ¶
func (o *RegisterCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- change_sms_number_parameters.go
- change_sms_number_responses.go
- customer_client.go
- disable_customer_parameters.go
- disable_customer_responses.go
- enable_customer_parameters.go
- enable_customer_responses.go
- get_customer_parameters.go
- get_customer_responses.go
- register_customer_parameters.go
- register_customer_responses.go