Documentation
¶
Index ¶
- type Client
- func (a *Client) CustomerServiceCreateCustomer(params *CustomerServiceCreateCustomerParams, opts ...ClientOption) (*CustomerServiceCreateCustomerOK, error)
- func (a *Client) CustomerServiceDeleteCustomer(params *CustomerServiceDeleteCustomerParams, opts ...ClientOption) (*CustomerServiceDeleteCustomerOK, error)
- func (a *Client) CustomerServiceGetCustomer(params *CustomerServiceGetCustomerParams, opts ...ClientOption) (*CustomerServiceGetCustomerOK, error)
- func (a *Client) CustomerServiceGetCustomer2(params *CustomerServiceGetCustomer2Params, opts ...ClientOption) (*CustomerServiceGetCustomer2OK, error)
- func (a *Client) CustomerServiceListCustomers(params *CustomerServiceListCustomersParams, opts ...ClientOption) (*CustomerServiceListCustomersOK, error)
- func (a *Client) CustomerServiceListCustomers2(params *CustomerServiceListCustomers2Params, opts ...ClientOption) (*CustomerServiceListCustomers2OK, error)
- func (a *Client) CustomerServiceUpdateCustomer(params *CustomerServiceUpdateCustomerParams, opts ...ClientOption) (*CustomerServiceUpdateCustomerOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CustomerServiceCreateCustomerDefault
- func (o *CustomerServiceCreateCustomerDefault) Code() int
- func (o *CustomerServiceCreateCustomerDefault) Error() string
- func (o *CustomerServiceCreateCustomerDefault) GetPayload() *models.GooglerpcStatus
- func (o *CustomerServiceCreateCustomerDefault) IsClientError() bool
- func (o *CustomerServiceCreateCustomerDefault) IsCode(code int) bool
- func (o *CustomerServiceCreateCustomerDefault) IsRedirect() bool
- func (o *CustomerServiceCreateCustomerDefault) IsServerError() bool
- func (o *CustomerServiceCreateCustomerDefault) IsSuccess() bool
- func (o *CustomerServiceCreateCustomerDefault) String() string
- type CustomerServiceCreateCustomerOK
- func (o *CustomerServiceCreateCustomerOK) Code() int
- func (o *CustomerServiceCreateCustomerOK) Error() string
- func (o *CustomerServiceCreateCustomerOK) GetPayload() *models.V1CreateCustomerResponse
- func (o *CustomerServiceCreateCustomerOK) IsClientError() bool
- func (o *CustomerServiceCreateCustomerOK) IsCode(code int) bool
- func (o *CustomerServiceCreateCustomerOK) IsRedirect() bool
- func (o *CustomerServiceCreateCustomerOK) IsServerError() bool
- func (o *CustomerServiceCreateCustomerOK) IsSuccess() bool
- func (o *CustomerServiceCreateCustomerOK) String() string
- type CustomerServiceCreateCustomerParams
- func NewCustomerServiceCreateCustomerParams() *CustomerServiceCreateCustomerParams
- func NewCustomerServiceCreateCustomerParamsWithContext(ctx context.Context) *CustomerServiceCreateCustomerParams
- func NewCustomerServiceCreateCustomerParamsWithHTTPClient(client *http.Client) *CustomerServiceCreateCustomerParams
- func NewCustomerServiceCreateCustomerParamsWithTimeout(timeout time.Duration) *CustomerServiceCreateCustomerParams
- func (o *CustomerServiceCreateCustomerParams) SetBody(body *models.V1CreateCustomerRequest)
- func (o *CustomerServiceCreateCustomerParams) SetContext(ctx context.Context)
- func (o *CustomerServiceCreateCustomerParams) SetDefaults()
- func (o *CustomerServiceCreateCustomerParams) SetHTTPClient(client *http.Client)
- func (o *CustomerServiceCreateCustomerParams) SetTimeout(timeout time.Duration)
- func (o *CustomerServiceCreateCustomerParams) WithBody(body *models.V1CreateCustomerRequest) *CustomerServiceCreateCustomerParams
- func (o *CustomerServiceCreateCustomerParams) WithContext(ctx context.Context) *CustomerServiceCreateCustomerParams
- func (o *CustomerServiceCreateCustomerParams) WithDefaults() *CustomerServiceCreateCustomerParams
- func (o *CustomerServiceCreateCustomerParams) WithHTTPClient(client *http.Client) *CustomerServiceCreateCustomerParams
- func (o *CustomerServiceCreateCustomerParams) WithTimeout(timeout time.Duration) *CustomerServiceCreateCustomerParams
- func (o *CustomerServiceCreateCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerServiceCreateCustomerReader
- type CustomerServiceDeleteCustomerDefault
- func (o *CustomerServiceDeleteCustomerDefault) Code() int
- func (o *CustomerServiceDeleteCustomerDefault) Error() string
- func (o *CustomerServiceDeleteCustomerDefault) GetPayload() *models.GooglerpcStatus
- func (o *CustomerServiceDeleteCustomerDefault) IsClientError() bool
- func (o *CustomerServiceDeleteCustomerDefault) IsCode(code int) bool
- func (o *CustomerServiceDeleteCustomerDefault) IsRedirect() bool
- func (o *CustomerServiceDeleteCustomerDefault) IsServerError() bool
- func (o *CustomerServiceDeleteCustomerDefault) IsSuccess() bool
- func (o *CustomerServiceDeleteCustomerDefault) String() string
- type CustomerServiceDeleteCustomerOK
- func (o *CustomerServiceDeleteCustomerOK) Code() int
- func (o *CustomerServiceDeleteCustomerOK) Error() string
- func (o *CustomerServiceDeleteCustomerOK) GetPayload() models.V1DeleteCustomerResponse
- func (o *CustomerServiceDeleteCustomerOK) IsClientError() bool
- func (o *CustomerServiceDeleteCustomerOK) IsCode(code int) bool
- func (o *CustomerServiceDeleteCustomerOK) IsRedirect() bool
- func (o *CustomerServiceDeleteCustomerOK) IsServerError() bool
- func (o *CustomerServiceDeleteCustomerOK) IsSuccess() bool
- func (o *CustomerServiceDeleteCustomerOK) String() string
- type CustomerServiceDeleteCustomerParams
- func NewCustomerServiceDeleteCustomerParams() *CustomerServiceDeleteCustomerParams
- func NewCustomerServiceDeleteCustomerParamsWithContext(ctx context.Context) *CustomerServiceDeleteCustomerParams
- func NewCustomerServiceDeleteCustomerParamsWithHTTPClient(client *http.Client) *CustomerServiceDeleteCustomerParams
- func NewCustomerServiceDeleteCustomerParamsWithTimeout(timeout time.Duration) *CustomerServiceDeleteCustomerParams
- func (o *CustomerServiceDeleteCustomerParams) SetBody(body *models.V1DeleteCustomerRequest)
- func (o *CustomerServiceDeleteCustomerParams) SetContext(ctx context.Context)
- func (o *CustomerServiceDeleteCustomerParams) SetDefaults()
- func (o *CustomerServiceDeleteCustomerParams) SetHTTPClient(client *http.Client)
- func (o *CustomerServiceDeleteCustomerParams) SetTimeout(timeout time.Duration)
- func (o *CustomerServiceDeleteCustomerParams) WithBody(body *models.V1DeleteCustomerRequest) *CustomerServiceDeleteCustomerParams
- func (o *CustomerServiceDeleteCustomerParams) WithContext(ctx context.Context) *CustomerServiceDeleteCustomerParams
- func (o *CustomerServiceDeleteCustomerParams) WithDefaults() *CustomerServiceDeleteCustomerParams
- func (o *CustomerServiceDeleteCustomerParams) WithHTTPClient(client *http.Client) *CustomerServiceDeleteCustomerParams
- func (o *CustomerServiceDeleteCustomerParams) WithTimeout(timeout time.Duration) *CustomerServiceDeleteCustomerParams
- func (o *CustomerServiceDeleteCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerServiceDeleteCustomerReader
- type CustomerServiceGetCustomer2Default
- func (o *CustomerServiceGetCustomer2Default) Code() int
- func (o *CustomerServiceGetCustomer2Default) Error() string
- func (o *CustomerServiceGetCustomer2Default) GetPayload() *models.GooglerpcStatus
- func (o *CustomerServiceGetCustomer2Default) IsClientError() bool
- func (o *CustomerServiceGetCustomer2Default) IsCode(code int) bool
- func (o *CustomerServiceGetCustomer2Default) IsRedirect() bool
- func (o *CustomerServiceGetCustomer2Default) IsServerError() bool
- func (o *CustomerServiceGetCustomer2Default) IsSuccess() bool
- func (o *CustomerServiceGetCustomer2Default) String() string
- type CustomerServiceGetCustomer2OK
- func (o *CustomerServiceGetCustomer2OK) Code() int
- func (o *CustomerServiceGetCustomer2OK) Error() string
- func (o *CustomerServiceGetCustomer2OK) GetPayload() *models.V1GetCustomerResponse
- func (o *CustomerServiceGetCustomer2OK) IsClientError() bool
- func (o *CustomerServiceGetCustomer2OK) IsCode(code int) bool
- func (o *CustomerServiceGetCustomer2OK) IsRedirect() bool
- func (o *CustomerServiceGetCustomer2OK) IsServerError() bool
- func (o *CustomerServiceGetCustomer2OK) IsSuccess() bool
- func (o *CustomerServiceGetCustomer2OK) String() string
- type CustomerServiceGetCustomer2Params
- func NewCustomerServiceGetCustomer2Params() *CustomerServiceGetCustomer2Params
- func NewCustomerServiceGetCustomer2ParamsWithContext(ctx context.Context) *CustomerServiceGetCustomer2Params
- func NewCustomerServiceGetCustomer2ParamsWithHTTPClient(client *http.Client) *CustomerServiceGetCustomer2Params
- func NewCustomerServiceGetCustomer2ParamsWithTimeout(timeout time.Duration) *CustomerServiceGetCustomer2Params
- func (o *CustomerServiceGetCustomer2Params) SetContext(ctx context.Context)
- func (o *CustomerServiceGetCustomer2Params) SetDefaults()
- func (o *CustomerServiceGetCustomer2Params) SetHTTPClient(client *http.Client)
- func (o *CustomerServiceGetCustomer2Params) SetID(id *string)
- func (o *CustomerServiceGetCustomer2Params) SetOptionalID(optionalID *string)
- func (o *CustomerServiceGetCustomer2Params) SetTimeout(timeout time.Duration)
- func (o *CustomerServiceGetCustomer2Params) WithContext(ctx context.Context) *CustomerServiceGetCustomer2Params
- func (o *CustomerServiceGetCustomer2Params) WithDefaults() *CustomerServiceGetCustomer2Params
- func (o *CustomerServiceGetCustomer2Params) WithHTTPClient(client *http.Client) *CustomerServiceGetCustomer2Params
- func (o *CustomerServiceGetCustomer2Params) WithID(id *string) *CustomerServiceGetCustomer2Params
- func (o *CustomerServiceGetCustomer2Params) WithOptionalID(optionalID *string) *CustomerServiceGetCustomer2Params
- func (o *CustomerServiceGetCustomer2Params) WithTimeout(timeout time.Duration) *CustomerServiceGetCustomer2Params
- func (o *CustomerServiceGetCustomer2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerServiceGetCustomer2Reader
- type CustomerServiceGetCustomerDefault
- func (o *CustomerServiceGetCustomerDefault) Code() int
- func (o *CustomerServiceGetCustomerDefault) Error() string
- func (o *CustomerServiceGetCustomerDefault) GetPayload() *models.GooglerpcStatus
- func (o *CustomerServiceGetCustomerDefault) IsClientError() bool
- func (o *CustomerServiceGetCustomerDefault) IsCode(code int) bool
- func (o *CustomerServiceGetCustomerDefault) IsRedirect() bool
- func (o *CustomerServiceGetCustomerDefault) IsServerError() bool
- func (o *CustomerServiceGetCustomerDefault) IsSuccess() bool
- func (o *CustomerServiceGetCustomerDefault) String() string
- type CustomerServiceGetCustomerOK
- func (o *CustomerServiceGetCustomerOK) Code() int
- func (o *CustomerServiceGetCustomerOK) Error() string
- func (o *CustomerServiceGetCustomerOK) GetPayload() *models.V1GetCustomerResponse
- func (o *CustomerServiceGetCustomerOK) IsClientError() bool
- func (o *CustomerServiceGetCustomerOK) IsCode(code int) bool
- func (o *CustomerServiceGetCustomerOK) IsRedirect() bool
- func (o *CustomerServiceGetCustomerOK) IsServerError() bool
- func (o *CustomerServiceGetCustomerOK) IsSuccess() bool
- func (o *CustomerServiceGetCustomerOK) String() string
- type CustomerServiceGetCustomerParams
- func NewCustomerServiceGetCustomerParams() *CustomerServiceGetCustomerParams
- func NewCustomerServiceGetCustomerParamsWithContext(ctx context.Context) *CustomerServiceGetCustomerParams
- func NewCustomerServiceGetCustomerParamsWithHTTPClient(client *http.Client) *CustomerServiceGetCustomerParams
- func NewCustomerServiceGetCustomerParamsWithTimeout(timeout time.Duration) *CustomerServiceGetCustomerParams
- func (o *CustomerServiceGetCustomerParams) SetBody(body *models.V1GetCustomerRequest)
- func (o *CustomerServiceGetCustomerParams) SetContext(ctx context.Context)
- func (o *CustomerServiceGetCustomerParams) SetDefaults()
- func (o *CustomerServiceGetCustomerParams) SetHTTPClient(client *http.Client)
- func (o *CustomerServiceGetCustomerParams) SetTimeout(timeout time.Duration)
- func (o *CustomerServiceGetCustomerParams) WithBody(body *models.V1GetCustomerRequest) *CustomerServiceGetCustomerParams
- func (o *CustomerServiceGetCustomerParams) WithContext(ctx context.Context) *CustomerServiceGetCustomerParams
- func (o *CustomerServiceGetCustomerParams) WithDefaults() *CustomerServiceGetCustomerParams
- func (o *CustomerServiceGetCustomerParams) WithHTTPClient(client *http.Client) *CustomerServiceGetCustomerParams
- func (o *CustomerServiceGetCustomerParams) WithTimeout(timeout time.Duration) *CustomerServiceGetCustomerParams
- func (o *CustomerServiceGetCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerServiceGetCustomerReader
- type CustomerServiceListCustomers2Default
- func (o *CustomerServiceListCustomers2Default) Code() int
- func (o *CustomerServiceListCustomers2Default) Error() string
- func (o *CustomerServiceListCustomers2Default) GetPayload() *models.GooglerpcStatus
- func (o *CustomerServiceListCustomers2Default) IsClientError() bool
- func (o *CustomerServiceListCustomers2Default) IsCode(code int) bool
- func (o *CustomerServiceListCustomers2Default) IsRedirect() bool
- func (o *CustomerServiceListCustomers2Default) IsServerError() bool
- func (o *CustomerServiceListCustomers2Default) IsSuccess() bool
- func (o *CustomerServiceListCustomers2Default) String() string
- type CustomerServiceListCustomers2OK
- func (o *CustomerServiceListCustomers2OK) Code() int
- func (o *CustomerServiceListCustomers2OK) Error() string
- func (o *CustomerServiceListCustomers2OK) GetPayload() *models.V1ListCustomersResponse
- func (o *CustomerServiceListCustomers2OK) IsClientError() bool
- func (o *CustomerServiceListCustomers2OK) IsCode(code int) bool
- func (o *CustomerServiceListCustomers2OK) IsRedirect() bool
- func (o *CustomerServiceListCustomers2OK) IsServerError() bool
- func (o *CustomerServiceListCustomers2OK) IsSuccess() bool
- func (o *CustomerServiceListCustomers2OK) String() string
- type CustomerServiceListCustomers2Params
- func NewCustomerServiceListCustomers2Params() *CustomerServiceListCustomers2Params
- func NewCustomerServiceListCustomers2ParamsWithContext(ctx context.Context) *CustomerServiceListCustomers2Params
- func NewCustomerServiceListCustomers2ParamsWithHTTPClient(client *http.Client) *CustomerServiceListCustomers2Params
- func NewCustomerServiceListCustomers2ParamsWithTimeout(timeout time.Duration) *CustomerServiceListCustomers2Params
- func (o *CustomerServiceListCustomers2Params) SetContext(ctx context.Context)
- func (o *CustomerServiceListCustomers2Params) SetDefaults()
- func (o *CustomerServiceListCustomers2Params) SetHTTPClient(client *http.Client)
- func (o *CustomerServiceListCustomers2Params) SetPageSize(pageSize int32)
- func (o *CustomerServiceListCustomers2Params) SetPageToken(pageToken *string)
- func (o *CustomerServiceListCustomers2Params) SetTimeout(timeout time.Duration)
- func (o *CustomerServiceListCustomers2Params) WithContext(ctx context.Context) *CustomerServiceListCustomers2Params
- func (o *CustomerServiceListCustomers2Params) WithDefaults() *CustomerServiceListCustomers2Params
- func (o *CustomerServiceListCustomers2Params) WithHTTPClient(client *http.Client) *CustomerServiceListCustomers2Params
- func (o *CustomerServiceListCustomers2Params) WithPageSize(pageSize int32) *CustomerServiceListCustomers2Params
- func (o *CustomerServiceListCustomers2Params) WithPageToken(pageToken *string) *CustomerServiceListCustomers2Params
- func (o *CustomerServiceListCustomers2Params) WithTimeout(timeout time.Duration) *CustomerServiceListCustomers2Params
- func (o *CustomerServiceListCustomers2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerServiceListCustomers2Reader
- type CustomerServiceListCustomersDefault
- func (o *CustomerServiceListCustomersDefault) Code() int
- func (o *CustomerServiceListCustomersDefault) Error() string
- func (o *CustomerServiceListCustomersDefault) GetPayload() *models.GooglerpcStatus
- func (o *CustomerServiceListCustomersDefault) IsClientError() bool
- func (o *CustomerServiceListCustomersDefault) IsCode(code int) bool
- func (o *CustomerServiceListCustomersDefault) IsRedirect() bool
- func (o *CustomerServiceListCustomersDefault) IsServerError() bool
- func (o *CustomerServiceListCustomersDefault) IsSuccess() bool
- func (o *CustomerServiceListCustomersDefault) String() string
- type CustomerServiceListCustomersOK
- func (o *CustomerServiceListCustomersOK) Code() int
- func (o *CustomerServiceListCustomersOK) Error() string
- func (o *CustomerServiceListCustomersOK) GetPayload() *models.V1ListCustomersResponse
- func (o *CustomerServiceListCustomersOK) IsClientError() bool
- func (o *CustomerServiceListCustomersOK) IsCode(code int) bool
- func (o *CustomerServiceListCustomersOK) IsRedirect() bool
- func (o *CustomerServiceListCustomersOK) IsServerError() bool
- func (o *CustomerServiceListCustomersOK) IsSuccess() bool
- func (o *CustomerServiceListCustomersOK) String() string
- type CustomerServiceListCustomersParams
- func NewCustomerServiceListCustomersParams() *CustomerServiceListCustomersParams
- func NewCustomerServiceListCustomersParamsWithContext(ctx context.Context) *CustomerServiceListCustomersParams
- func NewCustomerServiceListCustomersParamsWithHTTPClient(client *http.Client) *CustomerServiceListCustomersParams
- func NewCustomerServiceListCustomersParamsWithTimeout(timeout time.Duration) *CustomerServiceListCustomersParams
- func (o *CustomerServiceListCustomersParams) SetBody(body *models.V1ListCustomersRequest)
- func (o *CustomerServiceListCustomersParams) SetContext(ctx context.Context)
- func (o *CustomerServiceListCustomersParams) SetDefaults()
- func (o *CustomerServiceListCustomersParams) SetHTTPClient(client *http.Client)
- func (o *CustomerServiceListCustomersParams) SetTimeout(timeout time.Duration)
- func (o *CustomerServiceListCustomersParams) WithBody(body *models.V1ListCustomersRequest) *CustomerServiceListCustomersParams
- func (o *CustomerServiceListCustomersParams) WithContext(ctx context.Context) *CustomerServiceListCustomersParams
- func (o *CustomerServiceListCustomersParams) WithDefaults() *CustomerServiceListCustomersParams
- func (o *CustomerServiceListCustomersParams) WithHTTPClient(client *http.Client) *CustomerServiceListCustomersParams
- func (o *CustomerServiceListCustomersParams) WithTimeout(timeout time.Duration) *CustomerServiceListCustomersParams
- func (o *CustomerServiceListCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerServiceListCustomersReader
- type CustomerServiceUpdateCustomerDefault
- func (o *CustomerServiceUpdateCustomerDefault) Code() int
- func (o *CustomerServiceUpdateCustomerDefault) Error() string
- func (o *CustomerServiceUpdateCustomerDefault) GetPayload() *models.GooglerpcStatus
- func (o *CustomerServiceUpdateCustomerDefault) IsClientError() bool
- func (o *CustomerServiceUpdateCustomerDefault) IsCode(code int) bool
- func (o *CustomerServiceUpdateCustomerDefault) IsRedirect() bool
- func (o *CustomerServiceUpdateCustomerDefault) IsServerError() bool
- func (o *CustomerServiceUpdateCustomerDefault) IsSuccess() bool
- func (o *CustomerServiceUpdateCustomerDefault) String() string
- type CustomerServiceUpdateCustomerOK
- func (o *CustomerServiceUpdateCustomerOK) Code() int
- func (o *CustomerServiceUpdateCustomerOK) Error() string
- func (o *CustomerServiceUpdateCustomerOK) GetPayload() *models.V1UpdateCustomerResponse
- func (o *CustomerServiceUpdateCustomerOK) IsClientError() bool
- func (o *CustomerServiceUpdateCustomerOK) IsCode(code int) bool
- func (o *CustomerServiceUpdateCustomerOK) IsRedirect() bool
- func (o *CustomerServiceUpdateCustomerOK) IsServerError() bool
- func (o *CustomerServiceUpdateCustomerOK) IsSuccess() bool
- func (o *CustomerServiceUpdateCustomerOK) String() string
- type CustomerServiceUpdateCustomerParams
- func NewCustomerServiceUpdateCustomerParams() *CustomerServiceUpdateCustomerParams
- func NewCustomerServiceUpdateCustomerParamsWithContext(ctx context.Context) *CustomerServiceUpdateCustomerParams
- func NewCustomerServiceUpdateCustomerParamsWithHTTPClient(client *http.Client) *CustomerServiceUpdateCustomerParams
- func NewCustomerServiceUpdateCustomerParamsWithTimeout(timeout time.Duration) *CustomerServiceUpdateCustomerParams
- func (o *CustomerServiceUpdateCustomerParams) SetContext(ctx context.Context)
- func (o *CustomerServiceUpdateCustomerParams) SetCustomer(customer *models.Publicv1Customer)
- func (o *CustomerServiceUpdateCustomerParams) SetDefaults()
- func (o *CustomerServiceUpdateCustomerParams) SetHTTPClient(client *http.Client)
- func (o *CustomerServiceUpdateCustomerParams) SetTimeout(timeout time.Duration)
- func (o *CustomerServiceUpdateCustomerParams) WithContext(ctx context.Context) *CustomerServiceUpdateCustomerParams
- func (o *CustomerServiceUpdateCustomerParams) WithCustomer(customer *models.Publicv1Customer) *CustomerServiceUpdateCustomerParams
- func (o *CustomerServiceUpdateCustomerParams) WithDefaults() *CustomerServiceUpdateCustomerParams
- func (o *CustomerServiceUpdateCustomerParams) WithHTTPClient(client *http.Client) *CustomerServiceUpdateCustomerParams
- func (o *CustomerServiceUpdateCustomerParams) WithTimeout(timeout time.Duration) *CustomerServiceUpdateCustomerParams
- func (o *CustomerServiceUpdateCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerServiceUpdateCustomerReader
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 customer service API
func (*Client) CustomerServiceCreateCustomer ¶
func (a *Client) CustomerServiceCreateCustomer(params *CustomerServiceCreateCustomerParams, opts ...ClientOption) (*CustomerServiceCreateCustomerOK, error)
CustomerServiceCreateCustomer 顧客の作成s
新規に顧客を作成します。
func (*Client) CustomerServiceDeleteCustomer ¶
func (a *Client) CustomerServiceDeleteCustomer(params *CustomerServiceDeleteCustomerParams, opts ...ClientOption) (*CustomerServiceDeleteCustomerOK, error)
CustomerServiceDeleteCustomer 顧客の削除s
顧客を更新します。
func (*Client) CustomerServiceGetCustomer ¶
func (a *Client) CustomerServiceGetCustomer(params *CustomerServiceGetCustomerParams, opts ...ClientOption) (*CustomerServiceGetCustomerOK, error)
CustomerServiceGetCustomer 顧客の取得s
顧客を取得します。
func (*Client) CustomerServiceGetCustomer2 ¶
func (a *Client) CustomerServiceGetCustomer2(params *CustomerServiceGetCustomer2Params, opts ...ClientOption) (*CustomerServiceGetCustomer2OK, error)
CustomerServiceGetCustomer2 顧客の取得s
顧客を取得します。
func (*Client) CustomerServiceListCustomers ¶
func (a *Client) CustomerServiceListCustomers(params *CustomerServiceListCustomersParams, opts ...ClientOption) (*CustomerServiceListCustomersOK, error)
CustomerServiceListCustomers 顧客の一覧取得s
顧客の一覧を取得します。
func (*Client) CustomerServiceListCustomers2 ¶
func (a *Client) CustomerServiceListCustomers2(params *CustomerServiceListCustomers2Params, opts ...ClientOption) (*CustomerServiceListCustomers2OK, error)
CustomerServiceListCustomers2 顧客の一覧取得s
顧客の一覧を取得します。
func (*Client) CustomerServiceUpdateCustomer ¶
func (a *Client) CustomerServiceUpdateCustomer(params *CustomerServiceUpdateCustomerParams, opts ...ClientOption) (*CustomerServiceUpdateCustomerOK, error)
CustomerServiceUpdateCustomer 顧客の更新s
顧客を更新します。
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 { CustomerServiceCreateCustomer(params *CustomerServiceCreateCustomerParams, opts ...ClientOption) (*CustomerServiceCreateCustomerOK, error) CustomerServiceDeleteCustomer(params *CustomerServiceDeleteCustomerParams, opts ...ClientOption) (*CustomerServiceDeleteCustomerOK, error) CustomerServiceGetCustomer(params *CustomerServiceGetCustomerParams, opts ...ClientOption) (*CustomerServiceGetCustomerOK, error) CustomerServiceGetCustomer2(params *CustomerServiceGetCustomer2Params, opts ...ClientOption) (*CustomerServiceGetCustomer2OK, error) CustomerServiceListCustomers(params *CustomerServiceListCustomersParams, opts ...ClientOption) (*CustomerServiceListCustomersOK, error) CustomerServiceListCustomers2(params *CustomerServiceListCustomers2Params, opts ...ClientOption) (*CustomerServiceListCustomers2OK, error) CustomerServiceUpdateCustomer(params *CustomerServiceUpdateCustomerParams, opts ...ClientOption) (*CustomerServiceUpdateCustomerOK, 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 service API client.
type CustomerServiceCreateCustomerDefault ¶
type CustomerServiceCreateCustomerDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerServiceCreateCustomerDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerServiceCreateCustomerDefault ¶
func NewCustomerServiceCreateCustomerDefault(code int) *CustomerServiceCreateCustomerDefault
NewCustomerServiceCreateCustomerDefault creates a CustomerServiceCreateCustomerDefault with default headers values
func (*CustomerServiceCreateCustomerDefault) Code ¶
func (o *CustomerServiceCreateCustomerDefault) Code() int
Code gets the status code for the customer service create customer default response
func (*CustomerServiceCreateCustomerDefault) Error ¶
func (o *CustomerServiceCreateCustomerDefault) Error() string
func (*CustomerServiceCreateCustomerDefault) GetPayload ¶
func (o *CustomerServiceCreateCustomerDefault) GetPayload() *models.GooglerpcStatus
func (*CustomerServiceCreateCustomerDefault) IsClientError ¶
func (o *CustomerServiceCreateCustomerDefault) IsClientError() bool
IsClientError returns true when this customer service create customer default response has a 4xx status code
func (*CustomerServiceCreateCustomerDefault) IsCode ¶
func (o *CustomerServiceCreateCustomerDefault) IsCode(code int) bool
IsCode returns true when this customer service create customer default response a status code equal to that given
func (*CustomerServiceCreateCustomerDefault) IsRedirect ¶
func (o *CustomerServiceCreateCustomerDefault) IsRedirect() bool
IsRedirect returns true when this customer service create customer default response has a 3xx status code
func (*CustomerServiceCreateCustomerDefault) IsServerError ¶
func (o *CustomerServiceCreateCustomerDefault) IsServerError() bool
IsServerError returns true when this customer service create customer default response has a 5xx status code
func (*CustomerServiceCreateCustomerDefault) IsSuccess ¶
func (o *CustomerServiceCreateCustomerDefault) IsSuccess() bool
IsSuccess returns true when this customer service create customer default response has a 2xx status code
func (*CustomerServiceCreateCustomerDefault) String ¶
func (o *CustomerServiceCreateCustomerDefault) String() string
type CustomerServiceCreateCustomerOK ¶
type CustomerServiceCreateCustomerOK struct {
Payload *models.V1CreateCustomerResponse
}
CustomerServiceCreateCustomerOK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerServiceCreateCustomerOK ¶
func NewCustomerServiceCreateCustomerOK() *CustomerServiceCreateCustomerOK
NewCustomerServiceCreateCustomerOK creates a CustomerServiceCreateCustomerOK with default headers values
func (*CustomerServiceCreateCustomerOK) Code ¶
func (o *CustomerServiceCreateCustomerOK) Code() int
Code gets the status code for the customer service create customer o k response
func (*CustomerServiceCreateCustomerOK) Error ¶
func (o *CustomerServiceCreateCustomerOK) Error() string
func (*CustomerServiceCreateCustomerOK) GetPayload ¶
func (o *CustomerServiceCreateCustomerOK) GetPayload() *models.V1CreateCustomerResponse
func (*CustomerServiceCreateCustomerOK) IsClientError ¶
func (o *CustomerServiceCreateCustomerOK) IsClientError() bool
IsClientError returns true when this customer service create customer o k response has a 4xx status code
func (*CustomerServiceCreateCustomerOK) IsCode ¶
func (o *CustomerServiceCreateCustomerOK) IsCode(code int) bool
IsCode returns true when this customer service create customer o k response a status code equal to that given
func (*CustomerServiceCreateCustomerOK) IsRedirect ¶
func (o *CustomerServiceCreateCustomerOK) IsRedirect() bool
IsRedirect returns true when this customer service create customer o k response has a 3xx status code
func (*CustomerServiceCreateCustomerOK) IsServerError ¶
func (o *CustomerServiceCreateCustomerOK) IsServerError() bool
IsServerError returns true when this customer service create customer o k response has a 5xx status code
func (*CustomerServiceCreateCustomerOK) IsSuccess ¶
func (o *CustomerServiceCreateCustomerOK) IsSuccess() bool
IsSuccess returns true when this customer service create customer o k response has a 2xx status code
func (*CustomerServiceCreateCustomerOK) String ¶
func (o *CustomerServiceCreateCustomerOK) String() string
type CustomerServiceCreateCustomerParams ¶
type CustomerServiceCreateCustomerParams struct { // Body. Body *models.V1CreateCustomerRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerServiceCreateCustomerParams contains all the parameters to send to the API endpoint
for the customer service create customer operation. Typically these are written to a http.Request.
func NewCustomerServiceCreateCustomerParams ¶
func NewCustomerServiceCreateCustomerParams() *CustomerServiceCreateCustomerParams
NewCustomerServiceCreateCustomerParams creates a new CustomerServiceCreateCustomerParams 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 NewCustomerServiceCreateCustomerParamsWithContext ¶
func NewCustomerServiceCreateCustomerParamsWithContext(ctx context.Context) *CustomerServiceCreateCustomerParams
NewCustomerServiceCreateCustomerParamsWithContext creates a new CustomerServiceCreateCustomerParams object with the ability to set a context for a request.
func NewCustomerServiceCreateCustomerParamsWithHTTPClient ¶
func NewCustomerServiceCreateCustomerParamsWithHTTPClient(client *http.Client) *CustomerServiceCreateCustomerParams
NewCustomerServiceCreateCustomerParamsWithHTTPClient creates a new CustomerServiceCreateCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerServiceCreateCustomerParamsWithTimeout ¶
func NewCustomerServiceCreateCustomerParamsWithTimeout(timeout time.Duration) *CustomerServiceCreateCustomerParams
NewCustomerServiceCreateCustomerParamsWithTimeout creates a new CustomerServiceCreateCustomerParams object with the ability to set a timeout on a request.
func (*CustomerServiceCreateCustomerParams) SetBody ¶
func (o *CustomerServiceCreateCustomerParams) SetBody(body *models.V1CreateCustomerRequest)
SetBody adds the body to the customer service create customer params
func (*CustomerServiceCreateCustomerParams) SetContext ¶
func (o *CustomerServiceCreateCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the customer service create customer params
func (*CustomerServiceCreateCustomerParams) SetDefaults ¶
func (o *CustomerServiceCreateCustomerParams) SetDefaults()
SetDefaults hydrates default values in the customer service create customer params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceCreateCustomerParams) SetHTTPClient ¶
func (o *CustomerServiceCreateCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer service create customer params
func (*CustomerServiceCreateCustomerParams) SetTimeout ¶
func (o *CustomerServiceCreateCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer service create customer params
func (*CustomerServiceCreateCustomerParams) WithBody ¶
func (o *CustomerServiceCreateCustomerParams) WithBody(body *models.V1CreateCustomerRequest) *CustomerServiceCreateCustomerParams
WithBody adds the body to the customer service create customer params
func (*CustomerServiceCreateCustomerParams) WithContext ¶
func (o *CustomerServiceCreateCustomerParams) WithContext(ctx context.Context) *CustomerServiceCreateCustomerParams
WithContext adds the context to the customer service create customer params
func (*CustomerServiceCreateCustomerParams) WithDefaults ¶
func (o *CustomerServiceCreateCustomerParams) WithDefaults() *CustomerServiceCreateCustomerParams
WithDefaults hydrates default values in the customer service create customer params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceCreateCustomerParams) WithHTTPClient ¶
func (o *CustomerServiceCreateCustomerParams) WithHTTPClient(client *http.Client) *CustomerServiceCreateCustomerParams
WithHTTPClient adds the HTTPClient to the customer service create customer params
func (*CustomerServiceCreateCustomerParams) WithTimeout ¶
func (o *CustomerServiceCreateCustomerParams) WithTimeout(timeout time.Duration) *CustomerServiceCreateCustomerParams
WithTimeout adds the timeout to the customer service create customer params
func (*CustomerServiceCreateCustomerParams) WriteToRequest ¶
func (o *CustomerServiceCreateCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerServiceCreateCustomerReader ¶
type CustomerServiceCreateCustomerReader struct {
// contains filtered or unexported fields
}
CustomerServiceCreateCustomerReader is a Reader for the CustomerServiceCreateCustomer structure.
func (*CustomerServiceCreateCustomerReader) ReadResponse ¶
func (o *CustomerServiceCreateCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerServiceDeleteCustomerDefault ¶
type CustomerServiceDeleteCustomerDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerServiceDeleteCustomerDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerServiceDeleteCustomerDefault ¶
func NewCustomerServiceDeleteCustomerDefault(code int) *CustomerServiceDeleteCustomerDefault
NewCustomerServiceDeleteCustomerDefault creates a CustomerServiceDeleteCustomerDefault with default headers values
func (*CustomerServiceDeleteCustomerDefault) Code ¶
func (o *CustomerServiceDeleteCustomerDefault) Code() int
Code gets the status code for the customer service delete customer default response
func (*CustomerServiceDeleteCustomerDefault) Error ¶
func (o *CustomerServiceDeleteCustomerDefault) Error() string
func (*CustomerServiceDeleteCustomerDefault) GetPayload ¶
func (o *CustomerServiceDeleteCustomerDefault) GetPayload() *models.GooglerpcStatus
func (*CustomerServiceDeleteCustomerDefault) IsClientError ¶
func (o *CustomerServiceDeleteCustomerDefault) IsClientError() bool
IsClientError returns true when this customer service delete customer default response has a 4xx status code
func (*CustomerServiceDeleteCustomerDefault) IsCode ¶
func (o *CustomerServiceDeleteCustomerDefault) IsCode(code int) bool
IsCode returns true when this customer service delete customer default response a status code equal to that given
func (*CustomerServiceDeleteCustomerDefault) IsRedirect ¶
func (o *CustomerServiceDeleteCustomerDefault) IsRedirect() bool
IsRedirect returns true when this customer service delete customer default response has a 3xx status code
func (*CustomerServiceDeleteCustomerDefault) IsServerError ¶
func (o *CustomerServiceDeleteCustomerDefault) IsServerError() bool
IsServerError returns true when this customer service delete customer default response has a 5xx status code
func (*CustomerServiceDeleteCustomerDefault) IsSuccess ¶
func (o *CustomerServiceDeleteCustomerDefault) IsSuccess() bool
IsSuccess returns true when this customer service delete customer default response has a 2xx status code
func (*CustomerServiceDeleteCustomerDefault) String ¶
func (o *CustomerServiceDeleteCustomerDefault) String() string
type CustomerServiceDeleteCustomerOK ¶
type CustomerServiceDeleteCustomerOK struct {
Payload models.V1DeleteCustomerResponse
}
CustomerServiceDeleteCustomerOK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerServiceDeleteCustomerOK ¶
func NewCustomerServiceDeleteCustomerOK() *CustomerServiceDeleteCustomerOK
NewCustomerServiceDeleteCustomerOK creates a CustomerServiceDeleteCustomerOK with default headers values
func (*CustomerServiceDeleteCustomerOK) Code ¶
func (o *CustomerServiceDeleteCustomerOK) Code() int
Code gets the status code for the customer service delete customer o k response
func (*CustomerServiceDeleteCustomerOK) Error ¶
func (o *CustomerServiceDeleteCustomerOK) Error() string
func (*CustomerServiceDeleteCustomerOK) GetPayload ¶
func (o *CustomerServiceDeleteCustomerOK) GetPayload() models.V1DeleteCustomerResponse
func (*CustomerServiceDeleteCustomerOK) IsClientError ¶
func (o *CustomerServiceDeleteCustomerOK) IsClientError() bool
IsClientError returns true when this customer service delete customer o k response has a 4xx status code
func (*CustomerServiceDeleteCustomerOK) IsCode ¶
func (o *CustomerServiceDeleteCustomerOK) IsCode(code int) bool
IsCode returns true when this customer service delete customer o k response a status code equal to that given
func (*CustomerServiceDeleteCustomerOK) IsRedirect ¶
func (o *CustomerServiceDeleteCustomerOK) IsRedirect() bool
IsRedirect returns true when this customer service delete customer o k response has a 3xx status code
func (*CustomerServiceDeleteCustomerOK) IsServerError ¶
func (o *CustomerServiceDeleteCustomerOK) IsServerError() bool
IsServerError returns true when this customer service delete customer o k response has a 5xx status code
func (*CustomerServiceDeleteCustomerOK) IsSuccess ¶
func (o *CustomerServiceDeleteCustomerOK) IsSuccess() bool
IsSuccess returns true when this customer service delete customer o k response has a 2xx status code
func (*CustomerServiceDeleteCustomerOK) String ¶
func (o *CustomerServiceDeleteCustomerOK) String() string
type CustomerServiceDeleteCustomerParams ¶
type CustomerServiceDeleteCustomerParams struct { // Body. Body *models.V1DeleteCustomerRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerServiceDeleteCustomerParams contains all the parameters to send to the API endpoint
for the customer service delete customer operation. Typically these are written to a http.Request.
func NewCustomerServiceDeleteCustomerParams ¶
func NewCustomerServiceDeleteCustomerParams() *CustomerServiceDeleteCustomerParams
NewCustomerServiceDeleteCustomerParams creates a new CustomerServiceDeleteCustomerParams 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 NewCustomerServiceDeleteCustomerParamsWithContext ¶
func NewCustomerServiceDeleteCustomerParamsWithContext(ctx context.Context) *CustomerServiceDeleteCustomerParams
NewCustomerServiceDeleteCustomerParamsWithContext creates a new CustomerServiceDeleteCustomerParams object with the ability to set a context for a request.
func NewCustomerServiceDeleteCustomerParamsWithHTTPClient ¶
func NewCustomerServiceDeleteCustomerParamsWithHTTPClient(client *http.Client) *CustomerServiceDeleteCustomerParams
NewCustomerServiceDeleteCustomerParamsWithHTTPClient creates a new CustomerServiceDeleteCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerServiceDeleteCustomerParamsWithTimeout ¶
func NewCustomerServiceDeleteCustomerParamsWithTimeout(timeout time.Duration) *CustomerServiceDeleteCustomerParams
NewCustomerServiceDeleteCustomerParamsWithTimeout creates a new CustomerServiceDeleteCustomerParams object with the ability to set a timeout on a request.
func (*CustomerServiceDeleteCustomerParams) SetBody ¶
func (o *CustomerServiceDeleteCustomerParams) SetBody(body *models.V1DeleteCustomerRequest)
SetBody adds the body to the customer service delete customer params
func (*CustomerServiceDeleteCustomerParams) SetContext ¶
func (o *CustomerServiceDeleteCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the customer service delete customer params
func (*CustomerServiceDeleteCustomerParams) SetDefaults ¶
func (o *CustomerServiceDeleteCustomerParams) SetDefaults()
SetDefaults hydrates default values in the customer service delete customer params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceDeleteCustomerParams) SetHTTPClient ¶
func (o *CustomerServiceDeleteCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer service delete customer params
func (*CustomerServiceDeleteCustomerParams) SetTimeout ¶
func (o *CustomerServiceDeleteCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer service delete customer params
func (*CustomerServiceDeleteCustomerParams) WithBody ¶
func (o *CustomerServiceDeleteCustomerParams) WithBody(body *models.V1DeleteCustomerRequest) *CustomerServiceDeleteCustomerParams
WithBody adds the body to the customer service delete customer params
func (*CustomerServiceDeleteCustomerParams) WithContext ¶
func (o *CustomerServiceDeleteCustomerParams) WithContext(ctx context.Context) *CustomerServiceDeleteCustomerParams
WithContext adds the context to the customer service delete customer params
func (*CustomerServiceDeleteCustomerParams) WithDefaults ¶
func (o *CustomerServiceDeleteCustomerParams) WithDefaults() *CustomerServiceDeleteCustomerParams
WithDefaults hydrates default values in the customer service delete customer params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceDeleteCustomerParams) WithHTTPClient ¶
func (o *CustomerServiceDeleteCustomerParams) WithHTTPClient(client *http.Client) *CustomerServiceDeleteCustomerParams
WithHTTPClient adds the HTTPClient to the customer service delete customer params
func (*CustomerServiceDeleteCustomerParams) WithTimeout ¶
func (o *CustomerServiceDeleteCustomerParams) WithTimeout(timeout time.Duration) *CustomerServiceDeleteCustomerParams
WithTimeout adds the timeout to the customer service delete customer params
func (*CustomerServiceDeleteCustomerParams) WriteToRequest ¶
func (o *CustomerServiceDeleteCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerServiceDeleteCustomerReader ¶
type CustomerServiceDeleteCustomerReader struct {
// contains filtered or unexported fields
}
CustomerServiceDeleteCustomerReader is a Reader for the CustomerServiceDeleteCustomer structure.
func (*CustomerServiceDeleteCustomerReader) ReadResponse ¶
func (o *CustomerServiceDeleteCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerServiceGetCustomer2Default ¶
type CustomerServiceGetCustomer2Default struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerServiceGetCustomer2Default describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerServiceGetCustomer2Default ¶
func NewCustomerServiceGetCustomer2Default(code int) *CustomerServiceGetCustomer2Default
NewCustomerServiceGetCustomer2Default creates a CustomerServiceGetCustomer2Default with default headers values
func (*CustomerServiceGetCustomer2Default) Code ¶
func (o *CustomerServiceGetCustomer2Default) Code() int
Code gets the status code for the customer service get customer2 default response
func (*CustomerServiceGetCustomer2Default) Error ¶
func (o *CustomerServiceGetCustomer2Default) Error() string
func (*CustomerServiceGetCustomer2Default) GetPayload ¶
func (o *CustomerServiceGetCustomer2Default) GetPayload() *models.GooglerpcStatus
func (*CustomerServiceGetCustomer2Default) IsClientError ¶
func (o *CustomerServiceGetCustomer2Default) IsClientError() bool
IsClientError returns true when this customer service get customer2 default response has a 4xx status code
func (*CustomerServiceGetCustomer2Default) IsCode ¶
func (o *CustomerServiceGetCustomer2Default) IsCode(code int) bool
IsCode returns true when this customer service get customer2 default response a status code equal to that given
func (*CustomerServiceGetCustomer2Default) IsRedirect ¶
func (o *CustomerServiceGetCustomer2Default) IsRedirect() bool
IsRedirect returns true when this customer service get customer2 default response has a 3xx status code
func (*CustomerServiceGetCustomer2Default) IsServerError ¶
func (o *CustomerServiceGetCustomer2Default) IsServerError() bool
IsServerError returns true when this customer service get customer2 default response has a 5xx status code
func (*CustomerServiceGetCustomer2Default) IsSuccess ¶
func (o *CustomerServiceGetCustomer2Default) IsSuccess() bool
IsSuccess returns true when this customer service get customer2 default response has a 2xx status code
func (*CustomerServiceGetCustomer2Default) String ¶
func (o *CustomerServiceGetCustomer2Default) String() string
type CustomerServiceGetCustomer2OK ¶
type CustomerServiceGetCustomer2OK struct {
Payload *models.V1GetCustomerResponse
}
CustomerServiceGetCustomer2OK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerServiceGetCustomer2OK ¶
func NewCustomerServiceGetCustomer2OK() *CustomerServiceGetCustomer2OK
NewCustomerServiceGetCustomer2OK creates a CustomerServiceGetCustomer2OK with default headers values
func (*CustomerServiceGetCustomer2OK) Code ¶
func (o *CustomerServiceGetCustomer2OK) Code() int
Code gets the status code for the customer service get customer2 o k response
func (*CustomerServiceGetCustomer2OK) Error ¶
func (o *CustomerServiceGetCustomer2OK) Error() string
func (*CustomerServiceGetCustomer2OK) GetPayload ¶
func (o *CustomerServiceGetCustomer2OK) GetPayload() *models.V1GetCustomerResponse
func (*CustomerServiceGetCustomer2OK) IsClientError ¶
func (o *CustomerServiceGetCustomer2OK) IsClientError() bool
IsClientError returns true when this customer service get customer2 o k response has a 4xx status code
func (*CustomerServiceGetCustomer2OK) IsCode ¶
func (o *CustomerServiceGetCustomer2OK) IsCode(code int) bool
IsCode returns true when this customer service get customer2 o k response a status code equal to that given
func (*CustomerServiceGetCustomer2OK) IsRedirect ¶
func (o *CustomerServiceGetCustomer2OK) IsRedirect() bool
IsRedirect returns true when this customer service get customer2 o k response has a 3xx status code
func (*CustomerServiceGetCustomer2OK) IsServerError ¶
func (o *CustomerServiceGetCustomer2OK) IsServerError() bool
IsServerError returns true when this customer service get customer2 o k response has a 5xx status code
func (*CustomerServiceGetCustomer2OK) IsSuccess ¶
func (o *CustomerServiceGetCustomer2OK) IsSuccess() bool
IsSuccess returns true when this customer service get customer2 o k response has a 2xx status code
func (*CustomerServiceGetCustomer2OK) String ¶
func (o *CustomerServiceGetCustomer2OK) String() string
type CustomerServiceGetCustomer2Params ¶
type CustomerServiceGetCustomer2Params struct { /* ID. 顧客ID */ ID *string /* OptionalID. 顧客管理ID(顧客IDの代わりに指定可) */ OptionalID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerServiceGetCustomer2Params contains all the parameters to send to the API endpoint
for the customer service get customer2 operation. Typically these are written to a http.Request.
func NewCustomerServiceGetCustomer2Params ¶
func NewCustomerServiceGetCustomer2Params() *CustomerServiceGetCustomer2Params
NewCustomerServiceGetCustomer2Params creates a new CustomerServiceGetCustomer2Params 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 NewCustomerServiceGetCustomer2ParamsWithContext ¶
func NewCustomerServiceGetCustomer2ParamsWithContext(ctx context.Context) *CustomerServiceGetCustomer2Params
NewCustomerServiceGetCustomer2ParamsWithContext creates a new CustomerServiceGetCustomer2Params object with the ability to set a context for a request.
func NewCustomerServiceGetCustomer2ParamsWithHTTPClient ¶
func NewCustomerServiceGetCustomer2ParamsWithHTTPClient(client *http.Client) *CustomerServiceGetCustomer2Params
NewCustomerServiceGetCustomer2ParamsWithHTTPClient creates a new CustomerServiceGetCustomer2Params object with the ability to set a custom HTTPClient for a request.
func NewCustomerServiceGetCustomer2ParamsWithTimeout ¶
func NewCustomerServiceGetCustomer2ParamsWithTimeout(timeout time.Duration) *CustomerServiceGetCustomer2Params
NewCustomerServiceGetCustomer2ParamsWithTimeout creates a new CustomerServiceGetCustomer2Params object with the ability to set a timeout on a request.
func (*CustomerServiceGetCustomer2Params) SetContext ¶
func (o *CustomerServiceGetCustomer2Params) SetContext(ctx context.Context)
SetContext adds the context to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) SetDefaults ¶
func (o *CustomerServiceGetCustomer2Params) SetDefaults()
SetDefaults hydrates default values in the customer service get customer2 params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceGetCustomer2Params) SetHTTPClient ¶
func (o *CustomerServiceGetCustomer2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) SetID ¶
func (o *CustomerServiceGetCustomer2Params) SetID(id *string)
SetID adds the id to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) SetOptionalID ¶
func (o *CustomerServiceGetCustomer2Params) SetOptionalID(optionalID *string)
SetOptionalID adds the optionalId to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) SetTimeout ¶
func (o *CustomerServiceGetCustomer2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) WithContext ¶
func (o *CustomerServiceGetCustomer2Params) WithContext(ctx context.Context) *CustomerServiceGetCustomer2Params
WithContext adds the context to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) WithDefaults ¶
func (o *CustomerServiceGetCustomer2Params) WithDefaults() *CustomerServiceGetCustomer2Params
WithDefaults hydrates default values in the customer service get customer2 params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceGetCustomer2Params) WithHTTPClient ¶
func (o *CustomerServiceGetCustomer2Params) WithHTTPClient(client *http.Client) *CustomerServiceGetCustomer2Params
WithHTTPClient adds the HTTPClient to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) WithID ¶
func (o *CustomerServiceGetCustomer2Params) WithID(id *string) *CustomerServiceGetCustomer2Params
WithID adds the id to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) WithOptionalID ¶
func (o *CustomerServiceGetCustomer2Params) WithOptionalID(optionalID *string) *CustomerServiceGetCustomer2Params
WithOptionalID adds the optionalID to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) WithTimeout ¶
func (o *CustomerServiceGetCustomer2Params) WithTimeout(timeout time.Duration) *CustomerServiceGetCustomer2Params
WithTimeout adds the timeout to the customer service get customer2 params
func (*CustomerServiceGetCustomer2Params) WriteToRequest ¶
func (o *CustomerServiceGetCustomer2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerServiceGetCustomer2Reader ¶
type CustomerServiceGetCustomer2Reader struct {
// contains filtered or unexported fields
}
CustomerServiceGetCustomer2Reader is a Reader for the CustomerServiceGetCustomer2 structure.
func (*CustomerServiceGetCustomer2Reader) ReadResponse ¶
func (o *CustomerServiceGetCustomer2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerServiceGetCustomerDefault ¶
type CustomerServiceGetCustomerDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerServiceGetCustomerDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerServiceGetCustomerDefault ¶
func NewCustomerServiceGetCustomerDefault(code int) *CustomerServiceGetCustomerDefault
NewCustomerServiceGetCustomerDefault creates a CustomerServiceGetCustomerDefault with default headers values
func (*CustomerServiceGetCustomerDefault) Code ¶
func (o *CustomerServiceGetCustomerDefault) Code() int
Code gets the status code for the customer service get customer default response
func (*CustomerServiceGetCustomerDefault) Error ¶
func (o *CustomerServiceGetCustomerDefault) Error() string
func (*CustomerServiceGetCustomerDefault) GetPayload ¶
func (o *CustomerServiceGetCustomerDefault) GetPayload() *models.GooglerpcStatus
func (*CustomerServiceGetCustomerDefault) IsClientError ¶
func (o *CustomerServiceGetCustomerDefault) IsClientError() bool
IsClientError returns true when this customer service get customer default response has a 4xx status code
func (*CustomerServiceGetCustomerDefault) IsCode ¶
func (o *CustomerServiceGetCustomerDefault) IsCode(code int) bool
IsCode returns true when this customer service get customer default response a status code equal to that given
func (*CustomerServiceGetCustomerDefault) IsRedirect ¶
func (o *CustomerServiceGetCustomerDefault) IsRedirect() bool
IsRedirect returns true when this customer service get customer default response has a 3xx status code
func (*CustomerServiceGetCustomerDefault) IsServerError ¶
func (o *CustomerServiceGetCustomerDefault) IsServerError() bool
IsServerError returns true when this customer service get customer default response has a 5xx status code
func (*CustomerServiceGetCustomerDefault) IsSuccess ¶
func (o *CustomerServiceGetCustomerDefault) IsSuccess() bool
IsSuccess returns true when this customer service get customer default response has a 2xx status code
func (*CustomerServiceGetCustomerDefault) String ¶
func (o *CustomerServiceGetCustomerDefault) String() string
type CustomerServiceGetCustomerOK ¶
type CustomerServiceGetCustomerOK struct {
Payload *models.V1GetCustomerResponse
}
CustomerServiceGetCustomerOK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerServiceGetCustomerOK ¶
func NewCustomerServiceGetCustomerOK() *CustomerServiceGetCustomerOK
NewCustomerServiceGetCustomerOK creates a CustomerServiceGetCustomerOK with default headers values
func (*CustomerServiceGetCustomerOK) Code ¶
func (o *CustomerServiceGetCustomerOK) Code() int
Code gets the status code for the customer service get customer o k response
func (*CustomerServiceGetCustomerOK) Error ¶
func (o *CustomerServiceGetCustomerOK) Error() string
func (*CustomerServiceGetCustomerOK) GetPayload ¶
func (o *CustomerServiceGetCustomerOK) GetPayload() *models.V1GetCustomerResponse
func (*CustomerServiceGetCustomerOK) IsClientError ¶
func (o *CustomerServiceGetCustomerOK) IsClientError() bool
IsClientError returns true when this customer service get customer o k response has a 4xx status code
func (*CustomerServiceGetCustomerOK) IsCode ¶
func (o *CustomerServiceGetCustomerOK) IsCode(code int) bool
IsCode returns true when this customer service get customer o k response a status code equal to that given
func (*CustomerServiceGetCustomerOK) IsRedirect ¶
func (o *CustomerServiceGetCustomerOK) IsRedirect() bool
IsRedirect returns true when this customer service get customer o k response has a 3xx status code
func (*CustomerServiceGetCustomerOK) IsServerError ¶
func (o *CustomerServiceGetCustomerOK) IsServerError() bool
IsServerError returns true when this customer service get customer o k response has a 5xx status code
func (*CustomerServiceGetCustomerOK) IsSuccess ¶
func (o *CustomerServiceGetCustomerOK) IsSuccess() bool
IsSuccess returns true when this customer service get customer o k response has a 2xx status code
func (*CustomerServiceGetCustomerOK) String ¶
func (o *CustomerServiceGetCustomerOK) String() string
type CustomerServiceGetCustomerParams ¶
type CustomerServiceGetCustomerParams struct { // Body. Body *models.V1GetCustomerRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerServiceGetCustomerParams contains all the parameters to send to the API endpoint
for the customer service get customer operation. Typically these are written to a http.Request.
func NewCustomerServiceGetCustomerParams ¶
func NewCustomerServiceGetCustomerParams() *CustomerServiceGetCustomerParams
NewCustomerServiceGetCustomerParams creates a new CustomerServiceGetCustomerParams 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 NewCustomerServiceGetCustomerParamsWithContext ¶
func NewCustomerServiceGetCustomerParamsWithContext(ctx context.Context) *CustomerServiceGetCustomerParams
NewCustomerServiceGetCustomerParamsWithContext creates a new CustomerServiceGetCustomerParams object with the ability to set a context for a request.
func NewCustomerServiceGetCustomerParamsWithHTTPClient ¶
func NewCustomerServiceGetCustomerParamsWithHTTPClient(client *http.Client) *CustomerServiceGetCustomerParams
NewCustomerServiceGetCustomerParamsWithHTTPClient creates a new CustomerServiceGetCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerServiceGetCustomerParamsWithTimeout ¶
func NewCustomerServiceGetCustomerParamsWithTimeout(timeout time.Duration) *CustomerServiceGetCustomerParams
NewCustomerServiceGetCustomerParamsWithTimeout creates a new CustomerServiceGetCustomerParams object with the ability to set a timeout on a request.
func (*CustomerServiceGetCustomerParams) SetBody ¶
func (o *CustomerServiceGetCustomerParams) SetBody(body *models.V1GetCustomerRequest)
SetBody adds the body to the customer service get customer params
func (*CustomerServiceGetCustomerParams) SetContext ¶
func (o *CustomerServiceGetCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the customer service get customer params
func (*CustomerServiceGetCustomerParams) SetDefaults ¶
func (o *CustomerServiceGetCustomerParams) SetDefaults()
SetDefaults hydrates default values in the customer service get customer params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceGetCustomerParams) SetHTTPClient ¶
func (o *CustomerServiceGetCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer service get customer params
func (*CustomerServiceGetCustomerParams) SetTimeout ¶
func (o *CustomerServiceGetCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer service get customer params
func (*CustomerServiceGetCustomerParams) WithBody ¶
func (o *CustomerServiceGetCustomerParams) WithBody(body *models.V1GetCustomerRequest) *CustomerServiceGetCustomerParams
WithBody adds the body to the customer service get customer params
func (*CustomerServiceGetCustomerParams) WithContext ¶
func (o *CustomerServiceGetCustomerParams) WithContext(ctx context.Context) *CustomerServiceGetCustomerParams
WithContext adds the context to the customer service get customer params
func (*CustomerServiceGetCustomerParams) WithDefaults ¶
func (o *CustomerServiceGetCustomerParams) WithDefaults() *CustomerServiceGetCustomerParams
WithDefaults hydrates default values in the customer service get customer params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceGetCustomerParams) WithHTTPClient ¶
func (o *CustomerServiceGetCustomerParams) WithHTTPClient(client *http.Client) *CustomerServiceGetCustomerParams
WithHTTPClient adds the HTTPClient to the customer service get customer params
func (*CustomerServiceGetCustomerParams) WithTimeout ¶
func (o *CustomerServiceGetCustomerParams) WithTimeout(timeout time.Duration) *CustomerServiceGetCustomerParams
WithTimeout adds the timeout to the customer service get customer params
func (*CustomerServiceGetCustomerParams) WriteToRequest ¶
func (o *CustomerServiceGetCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerServiceGetCustomerReader ¶
type CustomerServiceGetCustomerReader struct {
// contains filtered or unexported fields
}
CustomerServiceGetCustomerReader is a Reader for the CustomerServiceGetCustomer structure.
func (*CustomerServiceGetCustomerReader) ReadResponse ¶
func (o *CustomerServiceGetCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerServiceListCustomers2Default ¶
type CustomerServiceListCustomers2Default struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerServiceListCustomers2Default describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerServiceListCustomers2Default ¶
func NewCustomerServiceListCustomers2Default(code int) *CustomerServiceListCustomers2Default
NewCustomerServiceListCustomers2Default creates a CustomerServiceListCustomers2Default with default headers values
func (*CustomerServiceListCustomers2Default) Code ¶
func (o *CustomerServiceListCustomers2Default) Code() int
Code gets the status code for the customer service list customers2 default response
func (*CustomerServiceListCustomers2Default) Error ¶
func (o *CustomerServiceListCustomers2Default) Error() string
func (*CustomerServiceListCustomers2Default) GetPayload ¶
func (o *CustomerServiceListCustomers2Default) GetPayload() *models.GooglerpcStatus
func (*CustomerServiceListCustomers2Default) IsClientError ¶
func (o *CustomerServiceListCustomers2Default) IsClientError() bool
IsClientError returns true when this customer service list customers2 default response has a 4xx status code
func (*CustomerServiceListCustomers2Default) IsCode ¶
func (o *CustomerServiceListCustomers2Default) IsCode(code int) bool
IsCode returns true when this customer service list customers2 default response a status code equal to that given
func (*CustomerServiceListCustomers2Default) IsRedirect ¶
func (o *CustomerServiceListCustomers2Default) IsRedirect() bool
IsRedirect returns true when this customer service list customers2 default response has a 3xx status code
func (*CustomerServiceListCustomers2Default) IsServerError ¶
func (o *CustomerServiceListCustomers2Default) IsServerError() bool
IsServerError returns true when this customer service list customers2 default response has a 5xx status code
func (*CustomerServiceListCustomers2Default) IsSuccess ¶
func (o *CustomerServiceListCustomers2Default) IsSuccess() bool
IsSuccess returns true when this customer service list customers2 default response has a 2xx status code
func (*CustomerServiceListCustomers2Default) String ¶
func (o *CustomerServiceListCustomers2Default) String() string
type CustomerServiceListCustomers2OK ¶
type CustomerServiceListCustomers2OK struct {
Payload *models.V1ListCustomersResponse
}
CustomerServiceListCustomers2OK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerServiceListCustomers2OK ¶
func NewCustomerServiceListCustomers2OK() *CustomerServiceListCustomers2OK
NewCustomerServiceListCustomers2OK creates a CustomerServiceListCustomers2OK with default headers values
func (*CustomerServiceListCustomers2OK) Code ¶
func (o *CustomerServiceListCustomers2OK) Code() int
Code gets the status code for the customer service list customers2 o k response
func (*CustomerServiceListCustomers2OK) Error ¶
func (o *CustomerServiceListCustomers2OK) Error() string
func (*CustomerServiceListCustomers2OK) GetPayload ¶
func (o *CustomerServiceListCustomers2OK) GetPayload() *models.V1ListCustomersResponse
func (*CustomerServiceListCustomers2OK) IsClientError ¶
func (o *CustomerServiceListCustomers2OK) IsClientError() bool
IsClientError returns true when this customer service list customers2 o k response has a 4xx status code
func (*CustomerServiceListCustomers2OK) IsCode ¶
func (o *CustomerServiceListCustomers2OK) IsCode(code int) bool
IsCode returns true when this customer service list customers2 o k response a status code equal to that given
func (*CustomerServiceListCustomers2OK) IsRedirect ¶
func (o *CustomerServiceListCustomers2OK) IsRedirect() bool
IsRedirect returns true when this customer service list customers2 o k response has a 3xx status code
func (*CustomerServiceListCustomers2OK) IsServerError ¶
func (o *CustomerServiceListCustomers2OK) IsServerError() bool
IsServerError returns true when this customer service list customers2 o k response has a 5xx status code
func (*CustomerServiceListCustomers2OK) IsSuccess ¶
func (o *CustomerServiceListCustomers2OK) IsSuccess() bool
IsSuccess returns true when this customer service list customers2 o k response has a 2xx status code
func (*CustomerServiceListCustomers2OK) String ¶
func (o *CustomerServiceListCustomers2OK) String() string
type CustomerServiceListCustomers2Params ¶
type CustomerServiceListCustomers2Params struct { /* PageSize. 一覧取得する最大数 Format: int32 */ PageSize int32 /* PageToken. 一覧取得に使用するトークン */ PageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerServiceListCustomers2Params contains all the parameters to send to the API endpoint
for the customer service list customers2 operation. Typically these are written to a http.Request.
func NewCustomerServiceListCustomers2Params ¶
func NewCustomerServiceListCustomers2Params() *CustomerServiceListCustomers2Params
NewCustomerServiceListCustomers2Params creates a new CustomerServiceListCustomers2Params 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 NewCustomerServiceListCustomers2ParamsWithContext ¶
func NewCustomerServiceListCustomers2ParamsWithContext(ctx context.Context) *CustomerServiceListCustomers2Params
NewCustomerServiceListCustomers2ParamsWithContext creates a new CustomerServiceListCustomers2Params object with the ability to set a context for a request.
func NewCustomerServiceListCustomers2ParamsWithHTTPClient ¶
func NewCustomerServiceListCustomers2ParamsWithHTTPClient(client *http.Client) *CustomerServiceListCustomers2Params
NewCustomerServiceListCustomers2ParamsWithHTTPClient creates a new CustomerServiceListCustomers2Params object with the ability to set a custom HTTPClient for a request.
func NewCustomerServiceListCustomers2ParamsWithTimeout ¶
func NewCustomerServiceListCustomers2ParamsWithTimeout(timeout time.Duration) *CustomerServiceListCustomers2Params
NewCustomerServiceListCustomers2ParamsWithTimeout creates a new CustomerServiceListCustomers2Params object with the ability to set a timeout on a request.
func (*CustomerServiceListCustomers2Params) SetContext ¶
func (o *CustomerServiceListCustomers2Params) SetContext(ctx context.Context)
SetContext adds the context to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) SetDefaults ¶
func (o *CustomerServiceListCustomers2Params) SetDefaults()
SetDefaults hydrates default values in the customer service list customers2 params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceListCustomers2Params) SetHTTPClient ¶
func (o *CustomerServiceListCustomers2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) SetPageSize ¶
func (o *CustomerServiceListCustomers2Params) SetPageSize(pageSize int32)
SetPageSize adds the pageSize to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) SetPageToken ¶
func (o *CustomerServiceListCustomers2Params) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) SetTimeout ¶
func (o *CustomerServiceListCustomers2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) WithContext ¶
func (o *CustomerServiceListCustomers2Params) WithContext(ctx context.Context) *CustomerServiceListCustomers2Params
WithContext adds the context to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) WithDefaults ¶
func (o *CustomerServiceListCustomers2Params) WithDefaults() *CustomerServiceListCustomers2Params
WithDefaults hydrates default values in the customer service list customers2 params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceListCustomers2Params) WithHTTPClient ¶
func (o *CustomerServiceListCustomers2Params) WithHTTPClient(client *http.Client) *CustomerServiceListCustomers2Params
WithHTTPClient adds the HTTPClient to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) WithPageSize ¶
func (o *CustomerServiceListCustomers2Params) WithPageSize(pageSize int32) *CustomerServiceListCustomers2Params
WithPageSize adds the pageSize to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) WithPageToken ¶
func (o *CustomerServiceListCustomers2Params) WithPageToken(pageToken *string) *CustomerServiceListCustomers2Params
WithPageToken adds the pageToken to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) WithTimeout ¶
func (o *CustomerServiceListCustomers2Params) WithTimeout(timeout time.Duration) *CustomerServiceListCustomers2Params
WithTimeout adds the timeout to the customer service list customers2 params
func (*CustomerServiceListCustomers2Params) WriteToRequest ¶
func (o *CustomerServiceListCustomers2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerServiceListCustomers2Reader ¶
type CustomerServiceListCustomers2Reader struct {
// contains filtered or unexported fields
}
CustomerServiceListCustomers2Reader is a Reader for the CustomerServiceListCustomers2 structure.
func (*CustomerServiceListCustomers2Reader) ReadResponse ¶
func (o *CustomerServiceListCustomers2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerServiceListCustomersDefault ¶
type CustomerServiceListCustomersDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerServiceListCustomersDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerServiceListCustomersDefault ¶
func NewCustomerServiceListCustomersDefault(code int) *CustomerServiceListCustomersDefault
NewCustomerServiceListCustomersDefault creates a CustomerServiceListCustomersDefault with default headers values
func (*CustomerServiceListCustomersDefault) Code ¶
func (o *CustomerServiceListCustomersDefault) Code() int
Code gets the status code for the customer service list customers default response
func (*CustomerServiceListCustomersDefault) Error ¶
func (o *CustomerServiceListCustomersDefault) Error() string
func (*CustomerServiceListCustomersDefault) GetPayload ¶
func (o *CustomerServiceListCustomersDefault) GetPayload() *models.GooglerpcStatus
func (*CustomerServiceListCustomersDefault) IsClientError ¶
func (o *CustomerServiceListCustomersDefault) IsClientError() bool
IsClientError returns true when this customer service list customers default response has a 4xx status code
func (*CustomerServiceListCustomersDefault) IsCode ¶
func (o *CustomerServiceListCustomersDefault) IsCode(code int) bool
IsCode returns true when this customer service list customers default response a status code equal to that given
func (*CustomerServiceListCustomersDefault) IsRedirect ¶
func (o *CustomerServiceListCustomersDefault) IsRedirect() bool
IsRedirect returns true when this customer service list customers default response has a 3xx status code
func (*CustomerServiceListCustomersDefault) IsServerError ¶
func (o *CustomerServiceListCustomersDefault) IsServerError() bool
IsServerError returns true when this customer service list customers default response has a 5xx status code
func (*CustomerServiceListCustomersDefault) IsSuccess ¶
func (o *CustomerServiceListCustomersDefault) IsSuccess() bool
IsSuccess returns true when this customer service list customers default response has a 2xx status code
func (*CustomerServiceListCustomersDefault) String ¶
func (o *CustomerServiceListCustomersDefault) String() string
type CustomerServiceListCustomersOK ¶
type CustomerServiceListCustomersOK struct {
Payload *models.V1ListCustomersResponse
}
CustomerServiceListCustomersOK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerServiceListCustomersOK ¶
func NewCustomerServiceListCustomersOK() *CustomerServiceListCustomersOK
NewCustomerServiceListCustomersOK creates a CustomerServiceListCustomersOK with default headers values
func (*CustomerServiceListCustomersOK) Code ¶
func (o *CustomerServiceListCustomersOK) Code() int
Code gets the status code for the customer service list customers o k response
func (*CustomerServiceListCustomersOK) Error ¶
func (o *CustomerServiceListCustomersOK) Error() string
func (*CustomerServiceListCustomersOK) GetPayload ¶
func (o *CustomerServiceListCustomersOK) GetPayload() *models.V1ListCustomersResponse
func (*CustomerServiceListCustomersOK) IsClientError ¶
func (o *CustomerServiceListCustomersOK) IsClientError() bool
IsClientError returns true when this customer service list customers o k response has a 4xx status code
func (*CustomerServiceListCustomersOK) IsCode ¶
func (o *CustomerServiceListCustomersOK) IsCode(code int) bool
IsCode returns true when this customer service list customers o k response a status code equal to that given
func (*CustomerServiceListCustomersOK) IsRedirect ¶
func (o *CustomerServiceListCustomersOK) IsRedirect() bool
IsRedirect returns true when this customer service list customers o k response has a 3xx status code
func (*CustomerServiceListCustomersOK) IsServerError ¶
func (o *CustomerServiceListCustomersOK) IsServerError() bool
IsServerError returns true when this customer service list customers o k response has a 5xx status code
func (*CustomerServiceListCustomersOK) IsSuccess ¶
func (o *CustomerServiceListCustomersOK) IsSuccess() bool
IsSuccess returns true when this customer service list customers o k response has a 2xx status code
func (*CustomerServiceListCustomersOK) String ¶
func (o *CustomerServiceListCustomersOK) String() string
type CustomerServiceListCustomersParams ¶
type CustomerServiceListCustomersParams struct { // Body. Body *models.V1ListCustomersRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerServiceListCustomersParams contains all the parameters to send to the API endpoint
for the customer service list customers operation. Typically these are written to a http.Request.
func NewCustomerServiceListCustomersParams ¶
func NewCustomerServiceListCustomersParams() *CustomerServiceListCustomersParams
NewCustomerServiceListCustomersParams creates a new CustomerServiceListCustomersParams 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 NewCustomerServiceListCustomersParamsWithContext ¶
func NewCustomerServiceListCustomersParamsWithContext(ctx context.Context) *CustomerServiceListCustomersParams
NewCustomerServiceListCustomersParamsWithContext creates a new CustomerServiceListCustomersParams object with the ability to set a context for a request.
func NewCustomerServiceListCustomersParamsWithHTTPClient ¶
func NewCustomerServiceListCustomersParamsWithHTTPClient(client *http.Client) *CustomerServiceListCustomersParams
NewCustomerServiceListCustomersParamsWithHTTPClient creates a new CustomerServiceListCustomersParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerServiceListCustomersParamsWithTimeout ¶
func NewCustomerServiceListCustomersParamsWithTimeout(timeout time.Duration) *CustomerServiceListCustomersParams
NewCustomerServiceListCustomersParamsWithTimeout creates a new CustomerServiceListCustomersParams object with the ability to set a timeout on a request.
func (*CustomerServiceListCustomersParams) SetBody ¶
func (o *CustomerServiceListCustomersParams) SetBody(body *models.V1ListCustomersRequest)
SetBody adds the body to the customer service list customers params
func (*CustomerServiceListCustomersParams) SetContext ¶
func (o *CustomerServiceListCustomersParams) SetContext(ctx context.Context)
SetContext adds the context to the customer service list customers params
func (*CustomerServiceListCustomersParams) SetDefaults ¶
func (o *CustomerServiceListCustomersParams) SetDefaults()
SetDefaults hydrates default values in the customer service list customers params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceListCustomersParams) SetHTTPClient ¶
func (o *CustomerServiceListCustomersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer service list customers params
func (*CustomerServiceListCustomersParams) SetTimeout ¶
func (o *CustomerServiceListCustomersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer service list customers params
func (*CustomerServiceListCustomersParams) WithBody ¶
func (o *CustomerServiceListCustomersParams) WithBody(body *models.V1ListCustomersRequest) *CustomerServiceListCustomersParams
WithBody adds the body to the customer service list customers params
func (*CustomerServiceListCustomersParams) WithContext ¶
func (o *CustomerServiceListCustomersParams) WithContext(ctx context.Context) *CustomerServiceListCustomersParams
WithContext adds the context to the customer service list customers params
func (*CustomerServiceListCustomersParams) WithDefaults ¶
func (o *CustomerServiceListCustomersParams) WithDefaults() *CustomerServiceListCustomersParams
WithDefaults hydrates default values in the customer service list customers params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceListCustomersParams) WithHTTPClient ¶
func (o *CustomerServiceListCustomersParams) WithHTTPClient(client *http.Client) *CustomerServiceListCustomersParams
WithHTTPClient adds the HTTPClient to the customer service list customers params
func (*CustomerServiceListCustomersParams) WithTimeout ¶
func (o *CustomerServiceListCustomersParams) WithTimeout(timeout time.Duration) *CustomerServiceListCustomersParams
WithTimeout adds the timeout to the customer service list customers params
func (*CustomerServiceListCustomersParams) WriteToRequest ¶
func (o *CustomerServiceListCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerServiceListCustomersReader ¶
type CustomerServiceListCustomersReader struct {
// contains filtered or unexported fields
}
CustomerServiceListCustomersReader is a Reader for the CustomerServiceListCustomers structure.
func (*CustomerServiceListCustomersReader) ReadResponse ¶
func (o *CustomerServiceListCustomersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerServiceUpdateCustomerDefault ¶
type CustomerServiceUpdateCustomerDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerServiceUpdateCustomerDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerServiceUpdateCustomerDefault ¶
func NewCustomerServiceUpdateCustomerDefault(code int) *CustomerServiceUpdateCustomerDefault
NewCustomerServiceUpdateCustomerDefault creates a CustomerServiceUpdateCustomerDefault with default headers values
func (*CustomerServiceUpdateCustomerDefault) Code ¶
func (o *CustomerServiceUpdateCustomerDefault) Code() int
Code gets the status code for the customer service update customer default response
func (*CustomerServiceUpdateCustomerDefault) Error ¶
func (o *CustomerServiceUpdateCustomerDefault) Error() string
func (*CustomerServiceUpdateCustomerDefault) GetPayload ¶
func (o *CustomerServiceUpdateCustomerDefault) GetPayload() *models.GooglerpcStatus
func (*CustomerServiceUpdateCustomerDefault) IsClientError ¶
func (o *CustomerServiceUpdateCustomerDefault) IsClientError() bool
IsClientError returns true when this customer service update customer default response has a 4xx status code
func (*CustomerServiceUpdateCustomerDefault) IsCode ¶
func (o *CustomerServiceUpdateCustomerDefault) IsCode(code int) bool
IsCode returns true when this customer service update customer default response a status code equal to that given
func (*CustomerServiceUpdateCustomerDefault) IsRedirect ¶
func (o *CustomerServiceUpdateCustomerDefault) IsRedirect() bool
IsRedirect returns true when this customer service update customer default response has a 3xx status code
func (*CustomerServiceUpdateCustomerDefault) IsServerError ¶
func (o *CustomerServiceUpdateCustomerDefault) IsServerError() bool
IsServerError returns true when this customer service update customer default response has a 5xx status code
func (*CustomerServiceUpdateCustomerDefault) IsSuccess ¶
func (o *CustomerServiceUpdateCustomerDefault) IsSuccess() bool
IsSuccess returns true when this customer service update customer default response has a 2xx status code
func (*CustomerServiceUpdateCustomerDefault) String ¶
func (o *CustomerServiceUpdateCustomerDefault) String() string
type CustomerServiceUpdateCustomerOK ¶
type CustomerServiceUpdateCustomerOK struct {
Payload *models.V1UpdateCustomerResponse
}
CustomerServiceUpdateCustomerOK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerServiceUpdateCustomerOK ¶
func NewCustomerServiceUpdateCustomerOK() *CustomerServiceUpdateCustomerOK
NewCustomerServiceUpdateCustomerOK creates a CustomerServiceUpdateCustomerOK with default headers values
func (*CustomerServiceUpdateCustomerOK) Code ¶
func (o *CustomerServiceUpdateCustomerOK) Code() int
Code gets the status code for the customer service update customer o k response
func (*CustomerServiceUpdateCustomerOK) Error ¶
func (o *CustomerServiceUpdateCustomerOK) Error() string
func (*CustomerServiceUpdateCustomerOK) GetPayload ¶
func (o *CustomerServiceUpdateCustomerOK) GetPayload() *models.V1UpdateCustomerResponse
func (*CustomerServiceUpdateCustomerOK) IsClientError ¶
func (o *CustomerServiceUpdateCustomerOK) IsClientError() bool
IsClientError returns true when this customer service update customer o k response has a 4xx status code
func (*CustomerServiceUpdateCustomerOK) IsCode ¶
func (o *CustomerServiceUpdateCustomerOK) IsCode(code int) bool
IsCode returns true when this customer service update customer o k response a status code equal to that given
func (*CustomerServiceUpdateCustomerOK) IsRedirect ¶
func (o *CustomerServiceUpdateCustomerOK) IsRedirect() bool
IsRedirect returns true when this customer service update customer o k response has a 3xx status code
func (*CustomerServiceUpdateCustomerOK) IsServerError ¶
func (o *CustomerServiceUpdateCustomerOK) IsServerError() bool
IsServerError returns true when this customer service update customer o k response has a 5xx status code
func (*CustomerServiceUpdateCustomerOK) IsSuccess ¶
func (o *CustomerServiceUpdateCustomerOK) IsSuccess() bool
IsSuccess returns true when this customer service update customer o k response has a 2xx status code
func (*CustomerServiceUpdateCustomerOK) String ¶
func (o *CustomerServiceUpdateCustomerOK) String() string
type CustomerServiceUpdateCustomerParams ¶
type CustomerServiceUpdateCustomerParams struct { /* Customer. 顧客 */ Customer *models.Publicv1Customer Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerServiceUpdateCustomerParams contains all the parameters to send to the API endpoint
for the customer service update customer operation. Typically these are written to a http.Request.
func NewCustomerServiceUpdateCustomerParams ¶
func NewCustomerServiceUpdateCustomerParams() *CustomerServiceUpdateCustomerParams
NewCustomerServiceUpdateCustomerParams creates a new CustomerServiceUpdateCustomerParams 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 NewCustomerServiceUpdateCustomerParamsWithContext ¶
func NewCustomerServiceUpdateCustomerParamsWithContext(ctx context.Context) *CustomerServiceUpdateCustomerParams
NewCustomerServiceUpdateCustomerParamsWithContext creates a new CustomerServiceUpdateCustomerParams object with the ability to set a context for a request.
func NewCustomerServiceUpdateCustomerParamsWithHTTPClient ¶
func NewCustomerServiceUpdateCustomerParamsWithHTTPClient(client *http.Client) *CustomerServiceUpdateCustomerParams
NewCustomerServiceUpdateCustomerParamsWithHTTPClient creates a new CustomerServiceUpdateCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerServiceUpdateCustomerParamsWithTimeout ¶
func NewCustomerServiceUpdateCustomerParamsWithTimeout(timeout time.Duration) *CustomerServiceUpdateCustomerParams
NewCustomerServiceUpdateCustomerParamsWithTimeout creates a new CustomerServiceUpdateCustomerParams object with the ability to set a timeout on a request.
func (*CustomerServiceUpdateCustomerParams) SetContext ¶
func (o *CustomerServiceUpdateCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the customer service update customer params
func (*CustomerServiceUpdateCustomerParams) SetCustomer ¶
func (o *CustomerServiceUpdateCustomerParams) SetCustomer(customer *models.Publicv1Customer)
SetCustomer adds the customer to the customer service update customer params
func (*CustomerServiceUpdateCustomerParams) SetDefaults ¶
func (o *CustomerServiceUpdateCustomerParams) SetDefaults()
SetDefaults hydrates default values in the customer service update customer params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceUpdateCustomerParams) SetHTTPClient ¶
func (o *CustomerServiceUpdateCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer service update customer params
func (*CustomerServiceUpdateCustomerParams) SetTimeout ¶
func (o *CustomerServiceUpdateCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer service update customer params
func (*CustomerServiceUpdateCustomerParams) WithContext ¶
func (o *CustomerServiceUpdateCustomerParams) WithContext(ctx context.Context) *CustomerServiceUpdateCustomerParams
WithContext adds the context to the customer service update customer params
func (*CustomerServiceUpdateCustomerParams) WithCustomer ¶
func (o *CustomerServiceUpdateCustomerParams) WithCustomer(customer *models.Publicv1Customer) *CustomerServiceUpdateCustomerParams
WithCustomer adds the customer to the customer service update customer params
func (*CustomerServiceUpdateCustomerParams) WithDefaults ¶
func (o *CustomerServiceUpdateCustomerParams) WithDefaults() *CustomerServiceUpdateCustomerParams
WithDefaults hydrates default values in the customer service update customer params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerServiceUpdateCustomerParams) WithHTTPClient ¶
func (o *CustomerServiceUpdateCustomerParams) WithHTTPClient(client *http.Client) *CustomerServiceUpdateCustomerParams
WithHTTPClient adds the HTTPClient to the customer service update customer params
func (*CustomerServiceUpdateCustomerParams) WithTimeout ¶
func (o *CustomerServiceUpdateCustomerParams) WithTimeout(timeout time.Duration) *CustomerServiceUpdateCustomerParams
WithTimeout adds the timeout to the customer service update customer params
func (*CustomerServiceUpdateCustomerParams) WriteToRequest ¶
func (o *CustomerServiceUpdateCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerServiceUpdateCustomerReader ¶
type CustomerServiceUpdateCustomerReader struct {
// contains filtered or unexported fields
}
CustomerServiceUpdateCustomerReader is a Reader for the CustomerServiceUpdateCustomer structure.
func (*CustomerServiceUpdateCustomerReader) ReadResponse ¶
func (o *CustomerServiceUpdateCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- customer_service_client.go
- customer_service_create_customer_parameters.go
- customer_service_create_customer_responses.go
- customer_service_delete_customer_parameters.go
- customer_service_delete_customer_responses.go
- customer_service_get_customer2_parameters.go
- customer_service_get_customer2_responses.go
- customer_service_get_customer_parameters.go
- customer_service_get_customer_responses.go
- customer_service_list_customers2_parameters.go
- customer_service_list_customers2_responses.go
- customer_service_list_customers_parameters.go
- customer_service_list_customers_responses.go
- customer_service_update_customer_parameters.go
- customer_service_update_customer_responses.go