Documentation
¶
Index ¶
- type Client
- func (a *Client) CustomerStaffServiceCreateCustomerStaff(params *CustomerStaffServiceCreateCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceCreateCustomerStaffOK, error)
- func (a *Client) CustomerStaffServiceDeleteCustomerStaff(params *CustomerStaffServiceDeleteCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceDeleteCustomerStaffOK, error)
- func (a *Client) CustomerStaffServiceGetCustomerStaff(params *CustomerStaffServiceGetCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceGetCustomerStaffOK, error)
- func (a *Client) CustomerStaffServiceGetCustomerStaff2(params *CustomerStaffServiceGetCustomerStaff2Params, opts ...ClientOption) (*CustomerStaffServiceGetCustomerStaff2OK, error)
- func (a *Client) CustomerStaffServiceUpdateCustomerStaff(params *CustomerStaffServiceUpdateCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceUpdateCustomerStaffOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CustomerStaffServiceCreateCustomerStaffDefault
- func (o *CustomerStaffServiceCreateCustomerStaffDefault) Code() int
- func (o *CustomerStaffServiceCreateCustomerStaffDefault) Error() string
- func (o *CustomerStaffServiceCreateCustomerStaffDefault) GetPayload() *models.GooglerpcStatus
- func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsClientError() bool
- func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsCode(code int) bool
- func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsRedirect() bool
- func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsServerError() bool
- func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsSuccess() bool
- func (o *CustomerStaffServiceCreateCustomerStaffDefault) String() string
- type CustomerStaffServiceCreateCustomerStaffOK
- func (o *CustomerStaffServiceCreateCustomerStaffOK) Code() int
- func (o *CustomerStaffServiceCreateCustomerStaffOK) Error() string
- func (o *CustomerStaffServiceCreateCustomerStaffOK) GetPayload() *models.V1CreateCustomerStaffResponse
- func (o *CustomerStaffServiceCreateCustomerStaffOK) IsClientError() bool
- func (o *CustomerStaffServiceCreateCustomerStaffOK) IsCode(code int) bool
- func (o *CustomerStaffServiceCreateCustomerStaffOK) IsRedirect() bool
- func (o *CustomerStaffServiceCreateCustomerStaffOK) IsServerError() bool
- func (o *CustomerStaffServiceCreateCustomerStaffOK) IsSuccess() bool
- func (o *CustomerStaffServiceCreateCustomerStaffOK) String() string
- type CustomerStaffServiceCreateCustomerStaffParams
- func NewCustomerStaffServiceCreateCustomerStaffParams() *CustomerStaffServiceCreateCustomerStaffParams
- func NewCustomerStaffServiceCreateCustomerStaffParamsWithContext(ctx context.Context) *CustomerStaffServiceCreateCustomerStaffParams
- func NewCustomerStaffServiceCreateCustomerStaffParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceCreateCustomerStaffParams
- func NewCustomerStaffServiceCreateCustomerStaffParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceCreateCustomerStaffParams
- func (o *CustomerStaffServiceCreateCustomerStaffParams) SetBody(body *models.V1CreateCustomerStaffRequest)
- func (o *CustomerStaffServiceCreateCustomerStaffParams) SetContext(ctx context.Context)
- func (o *CustomerStaffServiceCreateCustomerStaffParams) SetDefaults()
- func (o *CustomerStaffServiceCreateCustomerStaffParams) SetHTTPClient(client *http.Client)
- func (o *CustomerStaffServiceCreateCustomerStaffParams) SetTimeout(timeout time.Duration)
- func (o *CustomerStaffServiceCreateCustomerStaffParams) WithBody(body *models.V1CreateCustomerStaffRequest) *CustomerStaffServiceCreateCustomerStaffParams
- func (o *CustomerStaffServiceCreateCustomerStaffParams) WithContext(ctx context.Context) *CustomerStaffServiceCreateCustomerStaffParams
- func (o *CustomerStaffServiceCreateCustomerStaffParams) WithDefaults() *CustomerStaffServiceCreateCustomerStaffParams
- func (o *CustomerStaffServiceCreateCustomerStaffParams) WithHTTPClient(client *http.Client) *CustomerStaffServiceCreateCustomerStaffParams
- func (o *CustomerStaffServiceCreateCustomerStaffParams) WithTimeout(timeout time.Duration) *CustomerStaffServiceCreateCustomerStaffParams
- func (o *CustomerStaffServiceCreateCustomerStaffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerStaffServiceCreateCustomerStaffReader
- type CustomerStaffServiceDeleteCustomerStaffDefault
- func (o *CustomerStaffServiceDeleteCustomerStaffDefault) Code() int
- func (o *CustomerStaffServiceDeleteCustomerStaffDefault) Error() string
- func (o *CustomerStaffServiceDeleteCustomerStaffDefault) GetPayload() *models.GooglerpcStatus
- func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsClientError() bool
- func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsCode(code int) bool
- func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsRedirect() bool
- func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsServerError() bool
- func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsSuccess() bool
- func (o *CustomerStaffServiceDeleteCustomerStaffDefault) String() string
- type CustomerStaffServiceDeleteCustomerStaffOK
- func (o *CustomerStaffServiceDeleteCustomerStaffOK) Code() int
- func (o *CustomerStaffServiceDeleteCustomerStaffOK) Error() string
- func (o *CustomerStaffServiceDeleteCustomerStaffOK) GetPayload() models.V1DeleteCustomerStaffResponse
- func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsClientError() bool
- func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsCode(code int) bool
- func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsRedirect() bool
- func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsServerError() bool
- func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsSuccess() bool
- func (o *CustomerStaffServiceDeleteCustomerStaffOK) String() string
- type CustomerStaffServiceDeleteCustomerStaffParams
- func NewCustomerStaffServiceDeleteCustomerStaffParams() *CustomerStaffServiceDeleteCustomerStaffParams
- func NewCustomerStaffServiceDeleteCustomerStaffParamsWithContext(ctx context.Context) *CustomerStaffServiceDeleteCustomerStaffParams
- func NewCustomerStaffServiceDeleteCustomerStaffParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceDeleteCustomerStaffParams
- func NewCustomerStaffServiceDeleteCustomerStaffParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceDeleteCustomerStaffParams
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetBody(body *models.V1DeleteCustomerStaffRequest)
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetContext(ctx context.Context)
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetDefaults()
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetHTTPClient(client *http.Client)
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetTimeout(timeout time.Duration)
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithBody(body *models.V1DeleteCustomerStaffRequest) *CustomerStaffServiceDeleteCustomerStaffParams
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithContext(ctx context.Context) *CustomerStaffServiceDeleteCustomerStaffParams
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithDefaults() *CustomerStaffServiceDeleteCustomerStaffParams
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithHTTPClient(client *http.Client) *CustomerStaffServiceDeleteCustomerStaffParams
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithTimeout(timeout time.Duration) *CustomerStaffServiceDeleteCustomerStaffParams
- func (o *CustomerStaffServiceDeleteCustomerStaffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerStaffServiceDeleteCustomerStaffReader
- type CustomerStaffServiceGetCustomerStaff2Default
- func (o *CustomerStaffServiceGetCustomerStaff2Default) Code() int
- func (o *CustomerStaffServiceGetCustomerStaff2Default) Error() string
- func (o *CustomerStaffServiceGetCustomerStaff2Default) GetPayload() *models.GooglerpcStatus
- func (o *CustomerStaffServiceGetCustomerStaff2Default) IsClientError() bool
- func (o *CustomerStaffServiceGetCustomerStaff2Default) IsCode(code int) bool
- func (o *CustomerStaffServiceGetCustomerStaff2Default) IsRedirect() bool
- func (o *CustomerStaffServiceGetCustomerStaff2Default) IsServerError() bool
- func (o *CustomerStaffServiceGetCustomerStaff2Default) IsSuccess() bool
- func (o *CustomerStaffServiceGetCustomerStaff2Default) String() string
- type CustomerStaffServiceGetCustomerStaff2OK
- func (o *CustomerStaffServiceGetCustomerStaff2OK) Code() int
- func (o *CustomerStaffServiceGetCustomerStaff2OK) Error() string
- func (o *CustomerStaffServiceGetCustomerStaff2OK) GetPayload() *models.V1GetCustomerStaffResponse
- func (o *CustomerStaffServiceGetCustomerStaff2OK) IsClientError() bool
- func (o *CustomerStaffServiceGetCustomerStaff2OK) IsCode(code int) bool
- func (o *CustomerStaffServiceGetCustomerStaff2OK) IsRedirect() bool
- func (o *CustomerStaffServiceGetCustomerStaff2OK) IsServerError() bool
- func (o *CustomerStaffServiceGetCustomerStaff2OK) IsSuccess() bool
- func (o *CustomerStaffServiceGetCustomerStaff2OK) String() string
- type CustomerStaffServiceGetCustomerStaff2Params
- func NewCustomerStaffServiceGetCustomerStaff2Params() *CustomerStaffServiceGetCustomerStaff2Params
- func NewCustomerStaffServiceGetCustomerStaff2ParamsWithContext(ctx context.Context) *CustomerStaffServiceGetCustomerStaff2Params
- func NewCustomerStaffServiceGetCustomerStaff2ParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceGetCustomerStaff2Params
- func NewCustomerStaffServiceGetCustomerStaff2ParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceGetCustomerStaff2Params
- func (o *CustomerStaffServiceGetCustomerStaff2Params) SetContext(ctx context.Context)
- func (o *CustomerStaffServiceGetCustomerStaff2Params) SetCustomerID(customerID string)
- func (o *CustomerStaffServiceGetCustomerStaff2Params) SetCustomerOptionalID(customerOptionalID *string)
- func (o *CustomerStaffServiceGetCustomerStaff2Params) SetDefaults()
- func (o *CustomerStaffServiceGetCustomerStaff2Params) SetHTTPClient(client *http.Client)
- func (o *CustomerStaffServiceGetCustomerStaff2Params) SetID(id string)
- func (o *CustomerStaffServiceGetCustomerStaff2Params) SetOptionalID(optionalID *string)
- func (o *CustomerStaffServiceGetCustomerStaff2Params) SetTimeout(timeout time.Duration)
- func (o *CustomerStaffServiceGetCustomerStaff2Params) WithContext(ctx context.Context) *CustomerStaffServiceGetCustomerStaff2Params
- func (o *CustomerStaffServiceGetCustomerStaff2Params) WithCustomerID(customerID string) *CustomerStaffServiceGetCustomerStaff2Params
- func (o *CustomerStaffServiceGetCustomerStaff2Params) WithCustomerOptionalID(customerOptionalID *string) *CustomerStaffServiceGetCustomerStaff2Params
- func (o *CustomerStaffServiceGetCustomerStaff2Params) WithDefaults() *CustomerStaffServiceGetCustomerStaff2Params
- func (o *CustomerStaffServiceGetCustomerStaff2Params) WithHTTPClient(client *http.Client) *CustomerStaffServiceGetCustomerStaff2Params
- func (o *CustomerStaffServiceGetCustomerStaff2Params) WithID(id string) *CustomerStaffServiceGetCustomerStaff2Params
- func (o *CustomerStaffServiceGetCustomerStaff2Params) WithOptionalID(optionalID *string) *CustomerStaffServiceGetCustomerStaff2Params
- func (o *CustomerStaffServiceGetCustomerStaff2Params) WithTimeout(timeout time.Duration) *CustomerStaffServiceGetCustomerStaff2Params
- func (o *CustomerStaffServiceGetCustomerStaff2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerStaffServiceGetCustomerStaff2Reader
- type CustomerStaffServiceGetCustomerStaffDefault
- func (o *CustomerStaffServiceGetCustomerStaffDefault) Code() int
- func (o *CustomerStaffServiceGetCustomerStaffDefault) Error() string
- func (o *CustomerStaffServiceGetCustomerStaffDefault) GetPayload() *models.GooglerpcStatus
- func (o *CustomerStaffServiceGetCustomerStaffDefault) IsClientError() bool
- func (o *CustomerStaffServiceGetCustomerStaffDefault) IsCode(code int) bool
- func (o *CustomerStaffServiceGetCustomerStaffDefault) IsRedirect() bool
- func (o *CustomerStaffServiceGetCustomerStaffDefault) IsServerError() bool
- func (o *CustomerStaffServiceGetCustomerStaffDefault) IsSuccess() bool
- func (o *CustomerStaffServiceGetCustomerStaffDefault) String() string
- type CustomerStaffServiceGetCustomerStaffOK
- func (o *CustomerStaffServiceGetCustomerStaffOK) Code() int
- func (o *CustomerStaffServiceGetCustomerStaffOK) Error() string
- func (o *CustomerStaffServiceGetCustomerStaffOK) GetPayload() *models.V1GetCustomerStaffResponse
- func (o *CustomerStaffServiceGetCustomerStaffOK) IsClientError() bool
- func (o *CustomerStaffServiceGetCustomerStaffOK) IsCode(code int) bool
- func (o *CustomerStaffServiceGetCustomerStaffOK) IsRedirect() bool
- func (o *CustomerStaffServiceGetCustomerStaffOK) IsServerError() bool
- func (o *CustomerStaffServiceGetCustomerStaffOK) IsSuccess() bool
- func (o *CustomerStaffServiceGetCustomerStaffOK) String() string
- type CustomerStaffServiceGetCustomerStaffParams
- func NewCustomerStaffServiceGetCustomerStaffParams() *CustomerStaffServiceGetCustomerStaffParams
- func NewCustomerStaffServiceGetCustomerStaffParamsWithContext(ctx context.Context) *CustomerStaffServiceGetCustomerStaffParams
- func NewCustomerStaffServiceGetCustomerStaffParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceGetCustomerStaffParams
- func NewCustomerStaffServiceGetCustomerStaffParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceGetCustomerStaffParams
- func (o *CustomerStaffServiceGetCustomerStaffParams) SetBody(body *models.V1GetCustomerStaffRequest)
- func (o *CustomerStaffServiceGetCustomerStaffParams) SetContext(ctx context.Context)
- func (o *CustomerStaffServiceGetCustomerStaffParams) SetDefaults()
- func (o *CustomerStaffServiceGetCustomerStaffParams) SetHTTPClient(client *http.Client)
- func (o *CustomerStaffServiceGetCustomerStaffParams) SetTimeout(timeout time.Duration)
- func (o *CustomerStaffServiceGetCustomerStaffParams) WithBody(body *models.V1GetCustomerStaffRequest) *CustomerStaffServiceGetCustomerStaffParams
- func (o *CustomerStaffServiceGetCustomerStaffParams) WithContext(ctx context.Context) *CustomerStaffServiceGetCustomerStaffParams
- func (o *CustomerStaffServiceGetCustomerStaffParams) WithDefaults() *CustomerStaffServiceGetCustomerStaffParams
- func (o *CustomerStaffServiceGetCustomerStaffParams) WithHTTPClient(client *http.Client) *CustomerStaffServiceGetCustomerStaffParams
- func (o *CustomerStaffServiceGetCustomerStaffParams) WithTimeout(timeout time.Duration) *CustomerStaffServiceGetCustomerStaffParams
- func (o *CustomerStaffServiceGetCustomerStaffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerStaffServiceGetCustomerStaffReader
- type CustomerStaffServiceUpdateCustomerStaffDefault
- func (o *CustomerStaffServiceUpdateCustomerStaffDefault) Code() int
- func (o *CustomerStaffServiceUpdateCustomerStaffDefault) Error() string
- func (o *CustomerStaffServiceUpdateCustomerStaffDefault) GetPayload() *models.GooglerpcStatus
- func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsClientError() bool
- func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsCode(code int) bool
- func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsRedirect() bool
- func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsServerError() bool
- func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsSuccess() bool
- func (o *CustomerStaffServiceUpdateCustomerStaffDefault) String() string
- type CustomerStaffServiceUpdateCustomerStaffOK
- func (o *CustomerStaffServiceUpdateCustomerStaffOK) Code() int
- func (o *CustomerStaffServiceUpdateCustomerStaffOK) Error() string
- func (o *CustomerStaffServiceUpdateCustomerStaffOK) GetPayload() *models.V1UpdateCustomerStaffResponse
- func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsClientError() bool
- func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsCode(code int) bool
- func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsRedirect() bool
- func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsServerError() bool
- func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsSuccess() bool
- func (o *CustomerStaffServiceUpdateCustomerStaffOK) String() string
- type CustomerStaffServiceUpdateCustomerStaffParams
- func NewCustomerStaffServiceUpdateCustomerStaffParams() *CustomerStaffServiceUpdateCustomerStaffParams
- func NewCustomerStaffServiceUpdateCustomerStaffParamsWithContext(ctx context.Context) *CustomerStaffServiceUpdateCustomerStaffParams
- func NewCustomerStaffServiceUpdateCustomerStaffParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceUpdateCustomerStaffParams
- func NewCustomerStaffServiceUpdateCustomerStaffParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceUpdateCustomerStaffParams
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetContext(ctx context.Context)
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetCustomerStaff(customerStaff *models.Publicv1CustomerStaff)
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetDefaults()
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetHTTPClient(client *http.Client)
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetTimeout(timeout time.Duration)
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithContext(ctx context.Context) *CustomerStaffServiceUpdateCustomerStaffParams
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithCustomerStaff(customerStaff *models.Publicv1CustomerStaff) *CustomerStaffServiceUpdateCustomerStaffParams
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithDefaults() *CustomerStaffServiceUpdateCustomerStaffParams
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithHTTPClient(client *http.Client) *CustomerStaffServiceUpdateCustomerStaffParams
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithTimeout(timeout time.Duration) *CustomerStaffServiceUpdateCustomerStaffParams
- func (o *CustomerStaffServiceUpdateCustomerStaffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerStaffServiceUpdateCustomerStaffReader
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 staff service API
func (*Client) CustomerStaffServiceCreateCustomerStaff ¶
func (a *Client) CustomerStaffServiceCreateCustomerStaff(params *CustomerStaffServiceCreateCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceCreateCustomerStaffOK, error)
CustomerStaffServiceCreateCustomerStaff 顧客担当者の作成s
新規に顧客担当者を作成します。
func (*Client) CustomerStaffServiceDeleteCustomerStaff ¶
func (a *Client) CustomerStaffServiceDeleteCustomerStaff(params *CustomerStaffServiceDeleteCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceDeleteCustomerStaffOK, error)
CustomerStaffServiceDeleteCustomerStaff 顧客の削除s
顧客を更新します。
func (*Client) CustomerStaffServiceGetCustomerStaff ¶
func (a *Client) CustomerStaffServiceGetCustomerStaff(params *CustomerStaffServiceGetCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceGetCustomerStaffOK, error)
CustomerStaffServiceGetCustomerStaff 顧客担当者の取得s
顧客担当者を取得します。
func (*Client) CustomerStaffServiceGetCustomerStaff2 ¶
func (a *Client) CustomerStaffServiceGetCustomerStaff2(params *CustomerStaffServiceGetCustomerStaff2Params, opts ...ClientOption) (*CustomerStaffServiceGetCustomerStaff2OK, error)
CustomerStaffServiceGetCustomerStaff2 顧客担当者の取得s
顧客担当者を取得します。
func (*Client) CustomerStaffServiceUpdateCustomerStaff ¶
func (a *Client) CustomerStaffServiceUpdateCustomerStaff(params *CustomerStaffServiceUpdateCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceUpdateCustomerStaffOK, error)
CustomerStaffServiceUpdateCustomerStaff 顧客担当者の更新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 { CustomerStaffServiceCreateCustomerStaff(params *CustomerStaffServiceCreateCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceCreateCustomerStaffOK, error) CustomerStaffServiceDeleteCustomerStaff(params *CustomerStaffServiceDeleteCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceDeleteCustomerStaffOK, error) CustomerStaffServiceGetCustomerStaff(params *CustomerStaffServiceGetCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceGetCustomerStaffOK, error) CustomerStaffServiceGetCustomerStaff2(params *CustomerStaffServiceGetCustomerStaff2Params, opts ...ClientOption) (*CustomerStaffServiceGetCustomerStaff2OK, error) CustomerStaffServiceUpdateCustomerStaff(params *CustomerStaffServiceUpdateCustomerStaffParams, opts ...ClientOption) (*CustomerStaffServiceUpdateCustomerStaffOK, 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 staff service API client.
type CustomerStaffServiceCreateCustomerStaffDefault ¶
type CustomerStaffServiceCreateCustomerStaffDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerStaffServiceCreateCustomerStaffDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerStaffServiceCreateCustomerStaffDefault ¶
func NewCustomerStaffServiceCreateCustomerStaffDefault(code int) *CustomerStaffServiceCreateCustomerStaffDefault
NewCustomerStaffServiceCreateCustomerStaffDefault creates a CustomerStaffServiceCreateCustomerStaffDefault with default headers values
func (*CustomerStaffServiceCreateCustomerStaffDefault) Code ¶
func (o *CustomerStaffServiceCreateCustomerStaffDefault) Code() int
Code gets the status code for the customer staff service create customer staff default response
func (*CustomerStaffServiceCreateCustomerStaffDefault) Error ¶
func (o *CustomerStaffServiceCreateCustomerStaffDefault) Error() string
func (*CustomerStaffServiceCreateCustomerStaffDefault) GetPayload ¶
func (o *CustomerStaffServiceCreateCustomerStaffDefault) GetPayload() *models.GooglerpcStatus
func (*CustomerStaffServiceCreateCustomerStaffDefault) IsClientError ¶
func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsClientError() bool
IsClientError returns true when this customer staff service create customer staff default response has a 4xx status code
func (*CustomerStaffServiceCreateCustomerStaffDefault) IsCode ¶
func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsCode(code int) bool
IsCode returns true when this customer staff service create customer staff default response a status code equal to that given
func (*CustomerStaffServiceCreateCustomerStaffDefault) IsRedirect ¶
func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsRedirect() bool
IsRedirect returns true when this customer staff service create customer staff default response has a 3xx status code
func (*CustomerStaffServiceCreateCustomerStaffDefault) IsServerError ¶
func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsServerError() bool
IsServerError returns true when this customer staff service create customer staff default response has a 5xx status code
func (*CustomerStaffServiceCreateCustomerStaffDefault) IsSuccess ¶
func (o *CustomerStaffServiceCreateCustomerStaffDefault) IsSuccess() bool
IsSuccess returns true when this customer staff service create customer staff default response has a 2xx status code
func (*CustomerStaffServiceCreateCustomerStaffDefault) String ¶
func (o *CustomerStaffServiceCreateCustomerStaffDefault) String() string
type CustomerStaffServiceCreateCustomerStaffOK ¶
type CustomerStaffServiceCreateCustomerStaffOK struct {
Payload *models.V1CreateCustomerStaffResponse
}
CustomerStaffServiceCreateCustomerStaffOK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerStaffServiceCreateCustomerStaffOK ¶
func NewCustomerStaffServiceCreateCustomerStaffOK() *CustomerStaffServiceCreateCustomerStaffOK
NewCustomerStaffServiceCreateCustomerStaffOK creates a CustomerStaffServiceCreateCustomerStaffOK with default headers values
func (*CustomerStaffServiceCreateCustomerStaffOK) Code ¶
func (o *CustomerStaffServiceCreateCustomerStaffOK) Code() int
Code gets the status code for the customer staff service create customer staff o k response
func (*CustomerStaffServiceCreateCustomerStaffOK) Error ¶
func (o *CustomerStaffServiceCreateCustomerStaffOK) Error() string
func (*CustomerStaffServiceCreateCustomerStaffOK) GetPayload ¶
func (o *CustomerStaffServiceCreateCustomerStaffOK) GetPayload() *models.V1CreateCustomerStaffResponse
func (*CustomerStaffServiceCreateCustomerStaffOK) IsClientError ¶
func (o *CustomerStaffServiceCreateCustomerStaffOK) IsClientError() bool
IsClientError returns true when this customer staff service create customer staff o k response has a 4xx status code
func (*CustomerStaffServiceCreateCustomerStaffOK) IsCode ¶
func (o *CustomerStaffServiceCreateCustomerStaffOK) IsCode(code int) bool
IsCode returns true when this customer staff service create customer staff o k response a status code equal to that given
func (*CustomerStaffServiceCreateCustomerStaffOK) IsRedirect ¶
func (o *CustomerStaffServiceCreateCustomerStaffOK) IsRedirect() bool
IsRedirect returns true when this customer staff service create customer staff o k response has a 3xx status code
func (*CustomerStaffServiceCreateCustomerStaffOK) IsServerError ¶
func (o *CustomerStaffServiceCreateCustomerStaffOK) IsServerError() bool
IsServerError returns true when this customer staff service create customer staff o k response has a 5xx status code
func (*CustomerStaffServiceCreateCustomerStaffOK) IsSuccess ¶
func (o *CustomerStaffServiceCreateCustomerStaffOK) IsSuccess() bool
IsSuccess returns true when this customer staff service create customer staff o k response has a 2xx status code
func (*CustomerStaffServiceCreateCustomerStaffOK) String ¶
func (o *CustomerStaffServiceCreateCustomerStaffOK) String() string
type CustomerStaffServiceCreateCustomerStaffParams ¶
type CustomerStaffServiceCreateCustomerStaffParams struct { // Body. Body *models.V1CreateCustomerStaffRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerStaffServiceCreateCustomerStaffParams contains all the parameters to send to the API endpoint
for the customer staff service create customer staff operation. Typically these are written to a http.Request.
func NewCustomerStaffServiceCreateCustomerStaffParams ¶
func NewCustomerStaffServiceCreateCustomerStaffParams() *CustomerStaffServiceCreateCustomerStaffParams
NewCustomerStaffServiceCreateCustomerStaffParams creates a new CustomerStaffServiceCreateCustomerStaffParams 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 NewCustomerStaffServiceCreateCustomerStaffParamsWithContext ¶
func NewCustomerStaffServiceCreateCustomerStaffParamsWithContext(ctx context.Context) *CustomerStaffServiceCreateCustomerStaffParams
NewCustomerStaffServiceCreateCustomerStaffParamsWithContext creates a new CustomerStaffServiceCreateCustomerStaffParams object with the ability to set a context for a request.
func NewCustomerStaffServiceCreateCustomerStaffParamsWithHTTPClient ¶
func NewCustomerStaffServiceCreateCustomerStaffParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceCreateCustomerStaffParams
NewCustomerStaffServiceCreateCustomerStaffParamsWithHTTPClient creates a new CustomerStaffServiceCreateCustomerStaffParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerStaffServiceCreateCustomerStaffParamsWithTimeout ¶
func NewCustomerStaffServiceCreateCustomerStaffParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceCreateCustomerStaffParams
NewCustomerStaffServiceCreateCustomerStaffParamsWithTimeout creates a new CustomerStaffServiceCreateCustomerStaffParams object with the ability to set a timeout on a request.
func (*CustomerStaffServiceCreateCustomerStaffParams) SetBody ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) SetBody(body *models.V1CreateCustomerStaffRequest)
SetBody adds the body to the customer staff service create customer staff params
func (*CustomerStaffServiceCreateCustomerStaffParams) SetContext ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) SetContext(ctx context.Context)
SetContext adds the context to the customer staff service create customer staff params
func (*CustomerStaffServiceCreateCustomerStaffParams) SetDefaults ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) SetDefaults()
SetDefaults hydrates default values in the customer staff service create customer staff params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceCreateCustomerStaffParams) SetHTTPClient ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer staff service create customer staff params
func (*CustomerStaffServiceCreateCustomerStaffParams) SetTimeout ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer staff service create customer staff params
func (*CustomerStaffServiceCreateCustomerStaffParams) WithBody ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) WithBody(body *models.V1CreateCustomerStaffRequest) *CustomerStaffServiceCreateCustomerStaffParams
WithBody adds the body to the customer staff service create customer staff params
func (*CustomerStaffServiceCreateCustomerStaffParams) WithContext ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) WithContext(ctx context.Context) *CustomerStaffServiceCreateCustomerStaffParams
WithContext adds the context to the customer staff service create customer staff params
func (*CustomerStaffServiceCreateCustomerStaffParams) WithDefaults ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) WithDefaults() *CustomerStaffServiceCreateCustomerStaffParams
WithDefaults hydrates default values in the customer staff service create customer staff params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceCreateCustomerStaffParams) WithHTTPClient ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) WithHTTPClient(client *http.Client) *CustomerStaffServiceCreateCustomerStaffParams
WithHTTPClient adds the HTTPClient to the customer staff service create customer staff params
func (*CustomerStaffServiceCreateCustomerStaffParams) WithTimeout ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) WithTimeout(timeout time.Duration) *CustomerStaffServiceCreateCustomerStaffParams
WithTimeout adds the timeout to the customer staff service create customer staff params
func (*CustomerStaffServiceCreateCustomerStaffParams) WriteToRequest ¶
func (o *CustomerStaffServiceCreateCustomerStaffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerStaffServiceCreateCustomerStaffReader ¶
type CustomerStaffServiceCreateCustomerStaffReader struct {
// contains filtered or unexported fields
}
CustomerStaffServiceCreateCustomerStaffReader is a Reader for the CustomerStaffServiceCreateCustomerStaff structure.
func (*CustomerStaffServiceCreateCustomerStaffReader) ReadResponse ¶
func (o *CustomerStaffServiceCreateCustomerStaffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerStaffServiceDeleteCustomerStaffDefault ¶
type CustomerStaffServiceDeleteCustomerStaffDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerStaffServiceDeleteCustomerStaffDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerStaffServiceDeleteCustomerStaffDefault ¶
func NewCustomerStaffServiceDeleteCustomerStaffDefault(code int) *CustomerStaffServiceDeleteCustomerStaffDefault
NewCustomerStaffServiceDeleteCustomerStaffDefault creates a CustomerStaffServiceDeleteCustomerStaffDefault with default headers values
func (*CustomerStaffServiceDeleteCustomerStaffDefault) Code ¶
func (o *CustomerStaffServiceDeleteCustomerStaffDefault) Code() int
Code gets the status code for the customer staff service delete customer staff default response
func (*CustomerStaffServiceDeleteCustomerStaffDefault) Error ¶
func (o *CustomerStaffServiceDeleteCustomerStaffDefault) Error() string
func (*CustomerStaffServiceDeleteCustomerStaffDefault) GetPayload ¶
func (o *CustomerStaffServiceDeleteCustomerStaffDefault) GetPayload() *models.GooglerpcStatus
func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsClientError ¶
func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsClientError() bool
IsClientError returns true when this customer staff service delete customer staff default response has a 4xx status code
func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsCode ¶
func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsCode(code int) bool
IsCode returns true when this customer staff service delete customer staff default response a status code equal to that given
func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsRedirect ¶
func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsRedirect() bool
IsRedirect returns true when this customer staff service delete customer staff default response has a 3xx status code
func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsServerError ¶
func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsServerError() bool
IsServerError returns true when this customer staff service delete customer staff default response has a 5xx status code
func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsSuccess ¶
func (o *CustomerStaffServiceDeleteCustomerStaffDefault) IsSuccess() bool
IsSuccess returns true when this customer staff service delete customer staff default response has a 2xx status code
func (*CustomerStaffServiceDeleteCustomerStaffDefault) String ¶
func (o *CustomerStaffServiceDeleteCustomerStaffDefault) String() string
type CustomerStaffServiceDeleteCustomerStaffOK ¶
type CustomerStaffServiceDeleteCustomerStaffOK struct {
Payload models.V1DeleteCustomerStaffResponse
}
CustomerStaffServiceDeleteCustomerStaffOK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerStaffServiceDeleteCustomerStaffOK ¶
func NewCustomerStaffServiceDeleteCustomerStaffOK() *CustomerStaffServiceDeleteCustomerStaffOK
NewCustomerStaffServiceDeleteCustomerStaffOK creates a CustomerStaffServiceDeleteCustomerStaffOK with default headers values
func (*CustomerStaffServiceDeleteCustomerStaffOK) Code ¶
func (o *CustomerStaffServiceDeleteCustomerStaffOK) Code() int
Code gets the status code for the customer staff service delete customer staff o k response
func (*CustomerStaffServiceDeleteCustomerStaffOK) Error ¶
func (o *CustomerStaffServiceDeleteCustomerStaffOK) Error() string
func (*CustomerStaffServiceDeleteCustomerStaffOK) GetPayload ¶
func (o *CustomerStaffServiceDeleteCustomerStaffOK) GetPayload() models.V1DeleteCustomerStaffResponse
func (*CustomerStaffServiceDeleteCustomerStaffOK) IsClientError ¶
func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsClientError() bool
IsClientError returns true when this customer staff service delete customer staff o k response has a 4xx status code
func (*CustomerStaffServiceDeleteCustomerStaffOK) IsCode ¶
func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsCode(code int) bool
IsCode returns true when this customer staff service delete customer staff o k response a status code equal to that given
func (*CustomerStaffServiceDeleteCustomerStaffOK) IsRedirect ¶
func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsRedirect() bool
IsRedirect returns true when this customer staff service delete customer staff o k response has a 3xx status code
func (*CustomerStaffServiceDeleteCustomerStaffOK) IsServerError ¶
func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsServerError() bool
IsServerError returns true when this customer staff service delete customer staff o k response has a 5xx status code
func (*CustomerStaffServiceDeleteCustomerStaffOK) IsSuccess ¶
func (o *CustomerStaffServiceDeleteCustomerStaffOK) IsSuccess() bool
IsSuccess returns true when this customer staff service delete customer staff o k response has a 2xx status code
func (*CustomerStaffServiceDeleteCustomerStaffOK) String ¶
func (o *CustomerStaffServiceDeleteCustomerStaffOK) String() string
type CustomerStaffServiceDeleteCustomerStaffParams ¶
type CustomerStaffServiceDeleteCustomerStaffParams struct { // Body. Body *models.V1DeleteCustomerStaffRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerStaffServiceDeleteCustomerStaffParams contains all the parameters to send to the API endpoint
for the customer staff service delete customer staff operation. Typically these are written to a http.Request.
func NewCustomerStaffServiceDeleteCustomerStaffParams ¶
func NewCustomerStaffServiceDeleteCustomerStaffParams() *CustomerStaffServiceDeleteCustomerStaffParams
NewCustomerStaffServiceDeleteCustomerStaffParams creates a new CustomerStaffServiceDeleteCustomerStaffParams 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 NewCustomerStaffServiceDeleteCustomerStaffParamsWithContext ¶
func NewCustomerStaffServiceDeleteCustomerStaffParamsWithContext(ctx context.Context) *CustomerStaffServiceDeleteCustomerStaffParams
NewCustomerStaffServiceDeleteCustomerStaffParamsWithContext creates a new CustomerStaffServiceDeleteCustomerStaffParams object with the ability to set a context for a request.
func NewCustomerStaffServiceDeleteCustomerStaffParamsWithHTTPClient ¶
func NewCustomerStaffServiceDeleteCustomerStaffParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceDeleteCustomerStaffParams
NewCustomerStaffServiceDeleteCustomerStaffParamsWithHTTPClient creates a new CustomerStaffServiceDeleteCustomerStaffParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerStaffServiceDeleteCustomerStaffParamsWithTimeout ¶
func NewCustomerStaffServiceDeleteCustomerStaffParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceDeleteCustomerStaffParams
NewCustomerStaffServiceDeleteCustomerStaffParamsWithTimeout creates a new CustomerStaffServiceDeleteCustomerStaffParams object with the ability to set a timeout on a request.
func (*CustomerStaffServiceDeleteCustomerStaffParams) SetBody ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetBody(body *models.V1DeleteCustomerStaffRequest)
SetBody adds the body to the customer staff service delete customer staff params
func (*CustomerStaffServiceDeleteCustomerStaffParams) SetContext ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetContext(ctx context.Context)
SetContext adds the context to the customer staff service delete customer staff params
func (*CustomerStaffServiceDeleteCustomerStaffParams) SetDefaults ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetDefaults()
SetDefaults hydrates default values in the customer staff service delete customer staff params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceDeleteCustomerStaffParams) SetHTTPClient ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer staff service delete customer staff params
func (*CustomerStaffServiceDeleteCustomerStaffParams) SetTimeout ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer staff service delete customer staff params
func (*CustomerStaffServiceDeleteCustomerStaffParams) WithBody ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithBody(body *models.V1DeleteCustomerStaffRequest) *CustomerStaffServiceDeleteCustomerStaffParams
WithBody adds the body to the customer staff service delete customer staff params
func (*CustomerStaffServiceDeleteCustomerStaffParams) WithContext ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithContext(ctx context.Context) *CustomerStaffServiceDeleteCustomerStaffParams
WithContext adds the context to the customer staff service delete customer staff params
func (*CustomerStaffServiceDeleteCustomerStaffParams) WithDefaults ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithDefaults() *CustomerStaffServiceDeleteCustomerStaffParams
WithDefaults hydrates default values in the customer staff service delete customer staff params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceDeleteCustomerStaffParams) WithHTTPClient ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithHTTPClient(client *http.Client) *CustomerStaffServiceDeleteCustomerStaffParams
WithHTTPClient adds the HTTPClient to the customer staff service delete customer staff params
func (*CustomerStaffServiceDeleteCustomerStaffParams) WithTimeout ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) WithTimeout(timeout time.Duration) *CustomerStaffServiceDeleteCustomerStaffParams
WithTimeout adds the timeout to the customer staff service delete customer staff params
func (*CustomerStaffServiceDeleteCustomerStaffParams) WriteToRequest ¶
func (o *CustomerStaffServiceDeleteCustomerStaffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerStaffServiceDeleteCustomerStaffReader ¶
type CustomerStaffServiceDeleteCustomerStaffReader struct {
// contains filtered or unexported fields
}
CustomerStaffServiceDeleteCustomerStaffReader is a Reader for the CustomerStaffServiceDeleteCustomerStaff structure.
func (*CustomerStaffServiceDeleteCustomerStaffReader) ReadResponse ¶
func (o *CustomerStaffServiceDeleteCustomerStaffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerStaffServiceGetCustomerStaff2Default ¶
type CustomerStaffServiceGetCustomerStaff2Default struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerStaffServiceGetCustomerStaff2Default describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerStaffServiceGetCustomerStaff2Default ¶
func NewCustomerStaffServiceGetCustomerStaff2Default(code int) *CustomerStaffServiceGetCustomerStaff2Default
NewCustomerStaffServiceGetCustomerStaff2Default creates a CustomerStaffServiceGetCustomerStaff2Default with default headers values
func (*CustomerStaffServiceGetCustomerStaff2Default) Code ¶
func (o *CustomerStaffServiceGetCustomerStaff2Default) Code() int
Code gets the status code for the customer staff service get customer staff2 default response
func (*CustomerStaffServiceGetCustomerStaff2Default) Error ¶
func (o *CustomerStaffServiceGetCustomerStaff2Default) Error() string
func (*CustomerStaffServiceGetCustomerStaff2Default) GetPayload ¶
func (o *CustomerStaffServiceGetCustomerStaff2Default) GetPayload() *models.GooglerpcStatus
func (*CustomerStaffServiceGetCustomerStaff2Default) IsClientError ¶
func (o *CustomerStaffServiceGetCustomerStaff2Default) IsClientError() bool
IsClientError returns true when this customer staff service get customer staff2 default response has a 4xx status code
func (*CustomerStaffServiceGetCustomerStaff2Default) IsCode ¶
func (o *CustomerStaffServiceGetCustomerStaff2Default) IsCode(code int) bool
IsCode returns true when this customer staff service get customer staff2 default response a status code equal to that given
func (*CustomerStaffServiceGetCustomerStaff2Default) IsRedirect ¶
func (o *CustomerStaffServiceGetCustomerStaff2Default) IsRedirect() bool
IsRedirect returns true when this customer staff service get customer staff2 default response has a 3xx status code
func (*CustomerStaffServiceGetCustomerStaff2Default) IsServerError ¶
func (o *CustomerStaffServiceGetCustomerStaff2Default) IsServerError() bool
IsServerError returns true when this customer staff service get customer staff2 default response has a 5xx status code
func (*CustomerStaffServiceGetCustomerStaff2Default) IsSuccess ¶
func (o *CustomerStaffServiceGetCustomerStaff2Default) IsSuccess() bool
IsSuccess returns true when this customer staff service get customer staff2 default response has a 2xx status code
func (*CustomerStaffServiceGetCustomerStaff2Default) String ¶
func (o *CustomerStaffServiceGetCustomerStaff2Default) String() string
type CustomerStaffServiceGetCustomerStaff2OK ¶
type CustomerStaffServiceGetCustomerStaff2OK struct {
Payload *models.V1GetCustomerStaffResponse
}
CustomerStaffServiceGetCustomerStaff2OK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerStaffServiceGetCustomerStaff2OK ¶
func NewCustomerStaffServiceGetCustomerStaff2OK() *CustomerStaffServiceGetCustomerStaff2OK
NewCustomerStaffServiceGetCustomerStaff2OK creates a CustomerStaffServiceGetCustomerStaff2OK with default headers values
func (*CustomerStaffServiceGetCustomerStaff2OK) Code ¶
func (o *CustomerStaffServiceGetCustomerStaff2OK) Code() int
Code gets the status code for the customer staff service get customer staff2 o k response
func (*CustomerStaffServiceGetCustomerStaff2OK) Error ¶
func (o *CustomerStaffServiceGetCustomerStaff2OK) Error() string
func (*CustomerStaffServiceGetCustomerStaff2OK) GetPayload ¶
func (o *CustomerStaffServiceGetCustomerStaff2OK) GetPayload() *models.V1GetCustomerStaffResponse
func (*CustomerStaffServiceGetCustomerStaff2OK) IsClientError ¶
func (o *CustomerStaffServiceGetCustomerStaff2OK) IsClientError() bool
IsClientError returns true when this customer staff service get customer staff2 o k response has a 4xx status code
func (*CustomerStaffServiceGetCustomerStaff2OK) IsCode ¶
func (o *CustomerStaffServiceGetCustomerStaff2OK) IsCode(code int) bool
IsCode returns true when this customer staff service get customer staff2 o k response a status code equal to that given
func (*CustomerStaffServiceGetCustomerStaff2OK) IsRedirect ¶
func (o *CustomerStaffServiceGetCustomerStaff2OK) IsRedirect() bool
IsRedirect returns true when this customer staff service get customer staff2 o k response has a 3xx status code
func (*CustomerStaffServiceGetCustomerStaff2OK) IsServerError ¶
func (o *CustomerStaffServiceGetCustomerStaff2OK) IsServerError() bool
IsServerError returns true when this customer staff service get customer staff2 o k response has a 5xx status code
func (*CustomerStaffServiceGetCustomerStaff2OK) IsSuccess ¶
func (o *CustomerStaffServiceGetCustomerStaff2OK) IsSuccess() bool
IsSuccess returns true when this customer staff service get customer staff2 o k response has a 2xx status code
func (*CustomerStaffServiceGetCustomerStaff2OK) String ¶
func (o *CustomerStaffServiceGetCustomerStaff2OK) String() string
type CustomerStaffServiceGetCustomerStaff2Params ¶
type CustomerStaffServiceGetCustomerStaff2Params struct { /* CustomerID. 顧客ID */ CustomerID string /* CustomerOptionalID. 顧客管理ID(顧客IDの代わりに指定可) */ CustomerOptionalID *string /* ID. 顧客担当者ID */ ID string /* OptionalID. 顧客担当者管理ID(顧客担当者IDの代わりに指定可) */ OptionalID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerStaffServiceGetCustomerStaff2Params contains all the parameters to send to the API endpoint
for the customer staff service get customer staff2 operation. Typically these are written to a http.Request.
func NewCustomerStaffServiceGetCustomerStaff2Params ¶
func NewCustomerStaffServiceGetCustomerStaff2Params() *CustomerStaffServiceGetCustomerStaff2Params
NewCustomerStaffServiceGetCustomerStaff2Params creates a new CustomerStaffServiceGetCustomerStaff2Params 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 NewCustomerStaffServiceGetCustomerStaff2ParamsWithContext ¶
func NewCustomerStaffServiceGetCustomerStaff2ParamsWithContext(ctx context.Context) *CustomerStaffServiceGetCustomerStaff2Params
NewCustomerStaffServiceGetCustomerStaff2ParamsWithContext creates a new CustomerStaffServiceGetCustomerStaff2Params object with the ability to set a context for a request.
func NewCustomerStaffServiceGetCustomerStaff2ParamsWithHTTPClient ¶
func NewCustomerStaffServiceGetCustomerStaff2ParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceGetCustomerStaff2Params
NewCustomerStaffServiceGetCustomerStaff2ParamsWithHTTPClient creates a new CustomerStaffServiceGetCustomerStaff2Params object with the ability to set a custom HTTPClient for a request.
func NewCustomerStaffServiceGetCustomerStaff2ParamsWithTimeout ¶
func NewCustomerStaffServiceGetCustomerStaff2ParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceGetCustomerStaff2Params
NewCustomerStaffServiceGetCustomerStaff2ParamsWithTimeout creates a new CustomerStaffServiceGetCustomerStaff2Params object with the ability to set a timeout on a request.
func (*CustomerStaffServiceGetCustomerStaff2Params) SetContext ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) SetContext(ctx context.Context)
SetContext adds the context to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) SetCustomerID ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) SetCustomerID(customerID string)
SetCustomerID adds the customerId to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) SetCustomerOptionalID ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) SetCustomerOptionalID(customerOptionalID *string)
SetCustomerOptionalID adds the customerOptionalId to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) SetDefaults ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) SetDefaults()
SetDefaults hydrates default values in the customer staff service get customer staff2 params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceGetCustomerStaff2Params) SetHTTPClient ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) SetID ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) SetID(id string)
SetID adds the id to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) SetOptionalID ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) SetOptionalID(optionalID *string)
SetOptionalID adds the optionalId to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) SetTimeout ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) WithContext ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) WithContext(ctx context.Context) *CustomerStaffServiceGetCustomerStaff2Params
WithContext adds the context to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) WithCustomerID ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) WithCustomerID(customerID string) *CustomerStaffServiceGetCustomerStaff2Params
WithCustomerID adds the customerID to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) WithCustomerOptionalID ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) WithCustomerOptionalID(customerOptionalID *string) *CustomerStaffServiceGetCustomerStaff2Params
WithCustomerOptionalID adds the customerOptionalID to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) WithDefaults ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) WithDefaults() *CustomerStaffServiceGetCustomerStaff2Params
WithDefaults hydrates default values in the customer staff service get customer staff2 params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceGetCustomerStaff2Params) WithHTTPClient ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) WithHTTPClient(client *http.Client) *CustomerStaffServiceGetCustomerStaff2Params
WithHTTPClient adds the HTTPClient to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) WithID ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) WithID(id string) *CustomerStaffServiceGetCustomerStaff2Params
WithID adds the id to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) WithOptionalID ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) WithOptionalID(optionalID *string) *CustomerStaffServiceGetCustomerStaff2Params
WithOptionalID adds the optionalID to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) WithTimeout ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) WithTimeout(timeout time.Duration) *CustomerStaffServiceGetCustomerStaff2Params
WithTimeout adds the timeout to the customer staff service get customer staff2 params
func (*CustomerStaffServiceGetCustomerStaff2Params) WriteToRequest ¶
func (o *CustomerStaffServiceGetCustomerStaff2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerStaffServiceGetCustomerStaff2Reader ¶
type CustomerStaffServiceGetCustomerStaff2Reader struct {
// contains filtered or unexported fields
}
CustomerStaffServiceGetCustomerStaff2Reader is a Reader for the CustomerStaffServiceGetCustomerStaff2 structure.
func (*CustomerStaffServiceGetCustomerStaff2Reader) ReadResponse ¶
func (o *CustomerStaffServiceGetCustomerStaff2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerStaffServiceGetCustomerStaffDefault ¶
type CustomerStaffServiceGetCustomerStaffDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerStaffServiceGetCustomerStaffDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerStaffServiceGetCustomerStaffDefault ¶
func NewCustomerStaffServiceGetCustomerStaffDefault(code int) *CustomerStaffServiceGetCustomerStaffDefault
NewCustomerStaffServiceGetCustomerStaffDefault creates a CustomerStaffServiceGetCustomerStaffDefault with default headers values
func (*CustomerStaffServiceGetCustomerStaffDefault) Code ¶
func (o *CustomerStaffServiceGetCustomerStaffDefault) Code() int
Code gets the status code for the customer staff service get customer staff default response
func (*CustomerStaffServiceGetCustomerStaffDefault) Error ¶
func (o *CustomerStaffServiceGetCustomerStaffDefault) Error() string
func (*CustomerStaffServiceGetCustomerStaffDefault) GetPayload ¶
func (o *CustomerStaffServiceGetCustomerStaffDefault) GetPayload() *models.GooglerpcStatus
func (*CustomerStaffServiceGetCustomerStaffDefault) IsClientError ¶
func (o *CustomerStaffServiceGetCustomerStaffDefault) IsClientError() bool
IsClientError returns true when this customer staff service get customer staff default response has a 4xx status code
func (*CustomerStaffServiceGetCustomerStaffDefault) IsCode ¶
func (o *CustomerStaffServiceGetCustomerStaffDefault) IsCode(code int) bool
IsCode returns true when this customer staff service get customer staff default response a status code equal to that given
func (*CustomerStaffServiceGetCustomerStaffDefault) IsRedirect ¶
func (o *CustomerStaffServiceGetCustomerStaffDefault) IsRedirect() bool
IsRedirect returns true when this customer staff service get customer staff default response has a 3xx status code
func (*CustomerStaffServiceGetCustomerStaffDefault) IsServerError ¶
func (o *CustomerStaffServiceGetCustomerStaffDefault) IsServerError() bool
IsServerError returns true when this customer staff service get customer staff default response has a 5xx status code
func (*CustomerStaffServiceGetCustomerStaffDefault) IsSuccess ¶
func (o *CustomerStaffServiceGetCustomerStaffDefault) IsSuccess() bool
IsSuccess returns true when this customer staff service get customer staff default response has a 2xx status code
func (*CustomerStaffServiceGetCustomerStaffDefault) String ¶
func (o *CustomerStaffServiceGetCustomerStaffDefault) String() string
type CustomerStaffServiceGetCustomerStaffOK ¶
type CustomerStaffServiceGetCustomerStaffOK struct {
Payload *models.V1GetCustomerStaffResponse
}
CustomerStaffServiceGetCustomerStaffOK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerStaffServiceGetCustomerStaffOK ¶
func NewCustomerStaffServiceGetCustomerStaffOK() *CustomerStaffServiceGetCustomerStaffOK
NewCustomerStaffServiceGetCustomerStaffOK creates a CustomerStaffServiceGetCustomerStaffOK with default headers values
func (*CustomerStaffServiceGetCustomerStaffOK) Code ¶
func (o *CustomerStaffServiceGetCustomerStaffOK) Code() int
Code gets the status code for the customer staff service get customer staff o k response
func (*CustomerStaffServiceGetCustomerStaffOK) Error ¶
func (o *CustomerStaffServiceGetCustomerStaffOK) Error() string
func (*CustomerStaffServiceGetCustomerStaffOK) GetPayload ¶
func (o *CustomerStaffServiceGetCustomerStaffOK) GetPayload() *models.V1GetCustomerStaffResponse
func (*CustomerStaffServiceGetCustomerStaffOK) IsClientError ¶
func (o *CustomerStaffServiceGetCustomerStaffOK) IsClientError() bool
IsClientError returns true when this customer staff service get customer staff o k response has a 4xx status code
func (*CustomerStaffServiceGetCustomerStaffOK) IsCode ¶
func (o *CustomerStaffServiceGetCustomerStaffOK) IsCode(code int) bool
IsCode returns true when this customer staff service get customer staff o k response a status code equal to that given
func (*CustomerStaffServiceGetCustomerStaffOK) IsRedirect ¶
func (o *CustomerStaffServiceGetCustomerStaffOK) IsRedirect() bool
IsRedirect returns true when this customer staff service get customer staff o k response has a 3xx status code
func (*CustomerStaffServiceGetCustomerStaffOK) IsServerError ¶
func (o *CustomerStaffServiceGetCustomerStaffOK) IsServerError() bool
IsServerError returns true when this customer staff service get customer staff o k response has a 5xx status code
func (*CustomerStaffServiceGetCustomerStaffOK) IsSuccess ¶
func (o *CustomerStaffServiceGetCustomerStaffOK) IsSuccess() bool
IsSuccess returns true when this customer staff service get customer staff o k response has a 2xx status code
func (*CustomerStaffServiceGetCustomerStaffOK) String ¶
func (o *CustomerStaffServiceGetCustomerStaffOK) String() string
type CustomerStaffServiceGetCustomerStaffParams ¶
type CustomerStaffServiceGetCustomerStaffParams struct { // Body. Body *models.V1GetCustomerStaffRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerStaffServiceGetCustomerStaffParams contains all the parameters to send to the API endpoint
for the customer staff service get customer staff operation. Typically these are written to a http.Request.
func NewCustomerStaffServiceGetCustomerStaffParams ¶
func NewCustomerStaffServiceGetCustomerStaffParams() *CustomerStaffServiceGetCustomerStaffParams
NewCustomerStaffServiceGetCustomerStaffParams creates a new CustomerStaffServiceGetCustomerStaffParams 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 NewCustomerStaffServiceGetCustomerStaffParamsWithContext ¶
func NewCustomerStaffServiceGetCustomerStaffParamsWithContext(ctx context.Context) *CustomerStaffServiceGetCustomerStaffParams
NewCustomerStaffServiceGetCustomerStaffParamsWithContext creates a new CustomerStaffServiceGetCustomerStaffParams object with the ability to set a context for a request.
func NewCustomerStaffServiceGetCustomerStaffParamsWithHTTPClient ¶
func NewCustomerStaffServiceGetCustomerStaffParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceGetCustomerStaffParams
NewCustomerStaffServiceGetCustomerStaffParamsWithHTTPClient creates a new CustomerStaffServiceGetCustomerStaffParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerStaffServiceGetCustomerStaffParamsWithTimeout ¶
func NewCustomerStaffServiceGetCustomerStaffParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceGetCustomerStaffParams
NewCustomerStaffServiceGetCustomerStaffParamsWithTimeout creates a new CustomerStaffServiceGetCustomerStaffParams object with the ability to set a timeout on a request.
func (*CustomerStaffServiceGetCustomerStaffParams) SetBody ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) SetBody(body *models.V1GetCustomerStaffRequest)
SetBody adds the body to the customer staff service get customer staff params
func (*CustomerStaffServiceGetCustomerStaffParams) SetContext ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) SetContext(ctx context.Context)
SetContext adds the context to the customer staff service get customer staff params
func (*CustomerStaffServiceGetCustomerStaffParams) SetDefaults ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) SetDefaults()
SetDefaults hydrates default values in the customer staff service get customer staff params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceGetCustomerStaffParams) SetHTTPClient ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer staff service get customer staff params
func (*CustomerStaffServiceGetCustomerStaffParams) SetTimeout ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer staff service get customer staff params
func (*CustomerStaffServiceGetCustomerStaffParams) WithBody ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) WithBody(body *models.V1GetCustomerStaffRequest) *CustomerStaffServiceGetCustomerStaffParams
WithBody adds the body to the customer staff service get customer staff params
func (*CustomerStaffServiceGetCustomerStaffParams) WithContext ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) WithContext(ctx context.Context) *CustomerStaffServiceGetCustomerStaffParams
WithContext adds the context to the customer staff service get customer staff params
func (*CustomerStaffServiceGetCustomerStaffParams) WithDefaults ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) WithDefaults() *CustomerStaffServiceGetCustomerStaffParams
WithDefaults hydrates default values in the customer staff service get customer staff params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceGetCustomerStaffParams) WithHTTPClient ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) WithHTTPClient(client *http.Client) *CustomerStaffServiceGetCustomerStaffParams
WithHTTPClient adds the HTTPClient to the customer staff service get customer staff params
func (*CustomerStaffServiceGetCustomerStaffParams) WithTimeout ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) WithTimeout(timeout time.Duration) *CustomerStaffServiceGetCustomerStaffParams
WithTimeout adds the timeout to the customer staff service get customer staff params
func (*CustomerStaffServiceGetCustomerStaffParams) WriteToRequest ¶
func (o *CustomerStaffServiceGetCustomerStaffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerStaffServiceGetCustomerStaffReader ¶
type CustomerStaffServiceGetCustomerStaffReader struct {
// contains filtered or unexported fields
}
CustomerStaffServiceGetCustomerStaffReader is a Reader for the CustomerStaffServiceGetCustomerStaff structure.
func (*CustomerStaffServiceGetCustomerStaffReader) ReadResponse ¶
func (o *CustomerStaffServiceGetCustomerStaffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerStaffServiceUpdateCustomerStaffDefault ¶
type CustomerStaffServiceUpdateCustomerStaffDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
CustomerStaffServiceUpdateCustomerStaffDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCustomerStaffServiceUpdateCustomerStaffDefault ¶
func NewCustomerStaffServiceUpdateCustomerStaffDefault(code int) *CustomerStaffServiceUpdateCustomerStaffDefault
NewCustomerStaffServiceUpdateCustomerStaffDefault creates a CustomerStaffServiceUpdateCustomerStaffDefault with default headers values
func (*CustomerStaffServiceUpdateCustomerStaffDefault) Code ¶
func (o *CustomerStaffServiceUpdateCustomerStaffDefault) Code() int
Code gets the status code for the customer staff service update customer staff default response
func (*CustomerStaffServiceUpdateCustomerStaffDefault) Error ¶
func (o *CustomerStaffServiceUpdateCustomerStaffDefault) Error() string
func (*CustomerStaffServiceUpdateCustomerStaffDefault) GetPayload ¶
func (o *CustomerStaffServiceUpdateCustomerStaffDefault) GetPayload() *models.GooglerpcStatus
func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsClientError ¶
func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsClientError() bool
IsClientError returns true when this customer staff service update customer staff default response has a 4xx status code
func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsCode ¶
func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsCode(code int) bool
IsCode returns true when this customer staff service update customer staff default response a status code equal to that given
func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsRedirect ¶
func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsRedirect() bool
IsRedirect returns true when this customer staff service update customer staff default response has a 3xx status code
func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsServerError ¶
func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsServerError() bool
IsServerError returns true when this customer staff service update customer staff default response has a 5xx status code
func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsSuccess ¶
func (o *CustomerStaffServiceUpdateCustomerStaffDefault) IsSuccess() bool
IsSuccess returns true when this customer staff service update customer staff default response has a 2xx status code
func (*CustomerStaffServiceUpdateCustomerStaffDefault) String ¶
func (o *CustomerStaffServiceUpdateCustomerStaffDefault) String() string
type CustomerStaffServiceUpdateCustomerStaffOK ¶
type CustomerStaffServiceUpdateCustomerStaffOK struct {
Payload *models.V1UpdateCustomerStaffResponse
}
CustomerStaffServiceUpdateCustomerStaffOK describes a response with status code 200, with default header values.
A successful response.
func NewCustomerStaffServiceUpdateCustomerStaffOK ¶
func NewCustomerStaffServiceUpdateCustomerStaffOK() *CustomerStaffServiceUpdateCustomerStaffOK
NewCustomerStaffServiceUpdateCustomerStaffOK creates a CustomerStaffServiceUpdateCustomerStaffOK with default headers values
func (*CustomerStaffServiceUpdateCustomerStaffOK) Code ¶
func (o *CustomerStaffServiceUpdateCustomerStaffOK) Code() int
Code gets the status code for the customer staff service update customer staff o k response
func (*CustomerStaffServiceUpdateCustomerStaffOK) Error ¶
func (o *CustomerStaffServiceUpdateCustomerStaffOK) Error() string
func (*CustomerStaffServiceUpdateCustomerStaffOK) GetPayload ¶
func (o *CustomerStaffServiceUpdateCustomerStaffOK) GetPayload() *models.V1UpdateCustomerStaffResponse
func (*CustomerStaffServiceUpdateCustomerStaffOK) IsClientError ¶
func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsClientError() bool
IsClientError returns true when this customer staff service update customer staff o k response has a 4xx status code
func (*CustomerStaffServiceUpdateCustomerStaffOK) IsCode ¶
func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsCode(code int) bool
IsCode returns true when this customer staff service update customer staff o k response a status code equal to that given
func (*CustomerStaffServiceUpdateCustomerStaffOK) IsRedirect ¶
func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsRedirect() bool
IsRedirect returns true when this customer staff service update customer staff o k response has a 3xx status code
func (*CustomerStaffServiceUpdateCustomerStaffOK) IsServerError ¶
func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsServerError() bool
IsServerError returns true when this customer staff service update customer staff o k response has a 5xx status code
func (*CustomerStaffServiceUpdateCustomerStaffOK) IsSuccess ¶
func (o *CustomerStaffServiceUpdateCustomerStaffOK) IsSuccess() bool
IsSuccess returns true when this customer staff service update customer staff o k response has a 2xx status code
func (*CustomerStaffServiceUpdateCustomerStaffOK) String ¶
func (o *CustomerStaffServiceUpdateCustomerStaffOK) String() string
type CustomerStaffServiceUpdateCustomerStaffParams ¶
type CustomerStaffServiceUpdateCustomerStaffParams struct { /* CustomerStaff. 顧客担当者 */ CustomerStaff *models.Publicv1CustomerStaff Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerStaffServiceUpdateCustomerStaffParams contains all the parameters to send to the API endpoint
for the customer staff service update customer staff operation. Typically these are written to a http.Request.
func NewCustomerStaffServiceUpdateCustomerStaffParams ¶
func NewCustomerStaffServiceUpdateCustomerStaffParams() *CustomerStaffServiceUpdateCustomerStaffParams
NewCustomerStaffServiceUpdateCustomerStaffParams creates a new CustomerStaffServiceUpdateCustomerStaffParams 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 NewCustomerStaffServiceUpdateCustomerStaffParamsWithContext ¶
func NewCustomerStaffServiceUpdateCustomerStaffParamsWithContext(ctx context.Context) *CustomerStaffServiceUpdateCustomerStaffParams
NewCustomerStaffServiceUpdateCustomerStaffParamsWithContext creates a new CustomerStaffServiceUpdateCustomerStaffParams object with the ability to set a context for a request.
func NewCustomerStaffServiceUpdateCustomerStaffParamsWithHTTPClient ¶
func NewCustomerStaffServiceUpdateCustomerStaffParamsWithHTTPClient(client *http.Client) *CustomerStaffServiceUpdateCustomerStaffParams
NewCustomerStaffServiceUpdateCustomerStaffParamsWithHTTPClient creates a new CustomerStaffServiceUpdateCustomerStaffParams object with the ability to set a custom HTTPClient for a request.
func NewCustomerStaffServiceUpdateCustomerStaffParamsWithTimeout ¶
func NewCustomerStaffServiceUpdateCustomerStaffParamsWithTimeout(timeout time.Duration) *CustomerStaffServiceUpdateCustomerStaffParams
NewCustomerStaffServiceUpdateCustomerStaffParamsWithTimeout creates a new CustomerStaffServiceUpdateCustomerStaffParams object with the ability to set a timeout on a request.
func (*CustomerStaffServiceUpdateCustomerStaffParams) SetContext ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetContext(ctx context.Context)
SetContext adds the context to the customer staff service update customer staff params
func (*CustomerStaffServiceUpdateCustomerStaffParams) SetCustomerStaff ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetCustomerStaff(customerStaff *models.Publicv1CustomerStaff)
SetCustomerStaff adds the customerStaff to the customer staff service update customer staff params
func (*CustomerStaffServiceUpdateCustomerStaffParams) SetDefaults ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetDefaults()
SetDefaults hydrates default values in the customer staff service update customer staff params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceUpdateCustomerStaffParams) SetHTTPClient ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer staff service update customer staff params
func (*CustomerStaffServiceUpdateCustomerStaffParams) SetTimeout ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer staff service update customer staff params
func (*CustomerStaffServiceUpdateCustomerStaffParams) WithContext ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithContext(ctx context.Context) *CustomerStaffServiceUpdateCustomerStaffParams
WithContext adds the context to the customer staff service update customer staff params
func (*CustomerStaffServiceUpdateCustomerStaffParams) WithCustomerStaff ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithCustomerStaff(customerStaff *models.Publicv1CustomerStaff) *CustomerStaffServiceUpdateCustomerStaffParams
WithCustomerStaff adds the customerStaff to the customer staff service update customer staff params
func (*CustomerStaffServiceUpdateCustomerStaffParams) WithDefaults ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithDefaults() *CustomerStaffServiceUpdateCustomerStaffParams
WithDefaults hydrates default values in the customer staff service update customer staff params (not the query body).
All values with no default are reset to their zero value.
func (*CustomerStaffServiceUpdateCustomerStaffParams) WithHTTPClient ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithHTTPClient(client *http.Client) *CustomerStaffServiceUpdateCustomerStaffParams
WithHTTPClient adds the HTTPClient to the customer staff service update customer staff params
func (*CustomerStaffServiceUpdateCustomerStaffParams) WithTimeout ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) WithTimeout(timeout time.Duration) *CustomerStaffServiceUpdateCustomerStaffParams
WithTimeout adds the timeout to the customer staff service update customer staff params
func (*CustomerStaffServiceUpdateCustomerStaffParams) WriteToRequest ¶
func (o *CustomerStaffServiceUpdateCustomerStaffParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerStaffServiceUpdateCustomerStaffReader ¶
type CustomerStaffServiceUpdateCustomerStaffReader struct {
// contains filtered or unexported fields
}
CustomerStaffServiceUpdateCustomerStaffReader is a Reader for the CustomerStaffServiceUpdateCustomerStaff structure.
func (*CustomerStaffServiceUpdateCustomerStaffReader) ReadResponse ¶
func (o *CustomerStaffServiceUpdateCustomerStaffReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- customer_staff_service_client.go
- customer_staff_service_create_customer_staff_parameters.go
- customer_staff_service_create_customer_staff_responses.go
- customer_staff_service_delete_customer_staff_parameters.go
- customer_staff_service_delete_customer_staff_responses.go
- customer_staff_service_get_customer_staff2_parameters.go
- customer_staff_service_get_customer_staff2_responses.go
- customer_staff_service_get_customer_staff_parameters.go
- customer_staff_service_get_customer_staff_responses.go
- customer_staff_service_update_customer_staff_parameters.go
- customer_staff_service_update_customer_staff_responses.go