customer_service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

Code gets the status code for the customer service create customer default response

func (*CustomerServiceCreateCustomerDefault) Error

func (*CustomerServiceCreateCustomerDefault) GetPayload

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

IsCode returns true when this customer service create customer default response a status code equal to that given

func (*CustomerServiceCreateCustomerDefault) IsRedirect

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

IsSuccess returns true when this customer service create customer default response has a 2xx status code

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

Code gets the status code for the customer service create customer o k response

func (*CustomerServiceCreateCustomerOK) Error

func (*CustomerServiceCreateCustomerOK) GetPayload

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

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

SetBody adds the body to the customer service create customer params

func (*CustomerServiceCreateCustomerParams) SetContext

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

WithBody adds the body to the customer service create customer params

func (*CustomerServiceCreateCustomerParams) WithContext

WithContext adds the context to the customer service create customer params

func (*CustomerServiceCreateCustomerParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer service create customer params

func (*CustomerServiceCreateCustomerParams) WithTimeout

WithTimeout adds the timeout to the customer service create customer params

func (*CustomerServiceCreateCustomerParams) WriteToRequest

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

Code gets the status code for the customer service delete customer default response

func (*CustomerServiceDeleteCustomerDefault) Error

func (*CustomerServiceDeleteCustomerDefault) GetPayload

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

IsCode returns true when this customer service delete customer default response a status code equal to that given

func (*CustomerServiceDeleteCustomerDefault) IsRedirect

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

IsSuccess returns true when this customer service delete customer default response has a 2xx status code

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

Code gets the status code for the customer service delete customer o k response

func (*CustomerServiceDeleteCustomerOK) Error

func (*CustomerServiceDeleteCustomerOK) GetPayload

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

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

SetBody adds the body to the customer service delete customer params

func (*CustomerServiceDeleteCustomerParams) SetContext

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

WithBody adds the body to the customer service delete customer params

func (*CustomerServiceDeleteCustomerParams) WithContext

WithContext adds the context to the customer service delete customer params

func (*CustomerServiceDeleteCustomerParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer service delete customer params

func (*CustomerServiceDeleteCustomerParams) WithTimeout

WithTimeout adds the timeout to the customer service delete customer params

func (*CustomerServiceDeleteCustomerParams) WriteToRequest

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

Code gets the status code for the customer service get customer2 default response

func (*CustomerServiceGetCustomer2Default) Error

func (*CustomerServiceGetCustomer2Default) GetPayload

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

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

IsSuccess returns true when this customer service get customer2 default response has a 2xx status code

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

Code gets the status code for the customer service get customer2 o k response

func (*CustomerServiceGetCustomer2OK) Error

func (*CustomerServiceGetCustomer2OK) GetPayload

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

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

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

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

WithContext adds the context to the customer service get customer2 params

func (*CustomerServiceGetCustomer2Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer service get customer2 params

func (*CustomerServiceGetCustomer2Params) WithID

WithID adds the id to the customer service get customer2 params

func (*CustomerServiceGetCustomer2Params) WithOptionalID

WithOptionalID adds the optionalID to the customer service get customer2 params

func (*CustomerServiceGetCustomer2Params) WithTimeout

WithTimeout adds the timeout to the customer service get customer2 params

func (*CustomerServiceGetCustomer2Params) WriteToRequest

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

Code gets the status code for the customer service get customer default response

func (*CustomerServiceGetCustomerDefault) Error

func (*CustomerServiceGetCustomerDefault) GetPayload

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

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

Code gets the status code for the customer service get customer o k response

func (*CustomerServiceGetCustomerOK) Error

func (*CustomerServiceGetCustomerOK) GetPayload

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

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

SetBody adds the body to the customer service get customer params

func (*CustomerServiceGetCustomerParams) SetContext

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

WithBody adds the body to the customer service get customer params

func (*CustomerServiceGetCustomerParams) WithContext

WithContext adds the context to the customer service get customer params

func (*CustomerServiceGetCustomerParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer service get customer params

func (*CustomerServiceGetCustomerParams) WithTimeout

WithTimeout adds the timeout to the customer service get customer params

func (*CustomerServiceGetCustomerParams) WriteToRequest

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

Code gets the status code for the customer service list customers2 default response

func (*CustomerServiceListCustomers2Default) Error

func (*CustomerServiceListCustomers2Default) GetPayload

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

IsCode returns true when this customer service list customers2 default response a status code equal to that given

func (*CustomerServiceListCustomers2Default) IsRedirect

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

IsSuccess returns true when this customer service list customers2 default response has a 2xx status code

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

Code gets the status code for the customer service list customers2 o k response

func (*CustomerServiceListCustomers2OK) Error

func (*CustomerServiceListCustomers2OK) GetPayload

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

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

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

WithContext adds the context to the customer service list customers2 params

func (*CustomerServiceListCustomers2Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer service list customers2 params

func (*CustomerServiceListCustomers2Params) WithPageSize

WithPageSize adds the pageSize to the customer service list customers2 params

func (*CustomerServiceListCustomers2Params) WithPageToken

WithPageToken adds the pageToken to the customer service list customers2 params

func (*CustomerServiceListCustomers2Params) WithTimeout

WithTimeout adds the timeout to the customer service list customers2 params

func (*CustomerServiceListCustomers2Params) WriteToRequest

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

Code gets the status code for the customer service list customers default response

func (*CustomerServiceListCustomersDefault) Error

func (*CustomerServiceListCustomersDefault) GetPayload

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

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

IsSuccess returns true when this customer service list customers default response has a 2xx status code

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

Code gets the status code for the customer service list customers o k response

func (*CustomerServiceListCustomersOK) Error

func (*CustomerServiceListCustomersOK) GetPayload

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

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

SetBody adds the body to the customer service list customers params

func (*CustomerServiceListCustomersParams) SetContext

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

WithBody adds the body to the customer service list customers params

func (*CustomerServiceListCustomersParams) WithContext

WithContext adds the context to the customer service list customers params

func (*CustomerServiceListCustomersParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer service list customers params

func (*CustomerServiceListCustomersParams) WithTimeout

WithTimeout adds the timeout to the customer service list customers params

func (*CustomerServiceListCustomersParams) WriteToRequest

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

Code gets the status code for the customer service update customer default response

func (*CustomerServiceUpdateCustomerDefault) Error

func (*CustomerServiceUpdateCustomerDefault) GetPayload

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

IsCode returns true when this customer service update customer default response a status code equal to that given

func (*CustomerServiceUpdateCustomerDefault) IsRedirect

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

IsSuccess returns true when this customer service update customer default response has a 2xx status code

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

Code gets the status code for the customer service update customer o k response

func (*CustomerServiceUpdateCustomerOK) Error

func (*CustomerServiceUpdateCustomerOK) GetPayload

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

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

SetContext adds the context to the customer service update customer params

func (*CustomerServiceUpdateCustomerParams) SetCustomer

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

WithContext adds the context to the customer service update customer params

func (*CustomerServiceUpdateCustomerParams) WithCustomer

WithCustomer adds the customer to the customer service update customer params

func (*CustomerServiceUpdateCustomerParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer service update customer params

func (*CustomerServiceUpdateCustomerParams) WithTimeout

WithTimeout adds the timeout to the customer service update customer params

func (*CustomerServiceUpdateCustomerParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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