customer_staff_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: 10 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 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

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

func (*CustomerStaffServiceCreateCustomerStaffDefault) Error

func (*CustomerStaffServiceCreateCustomerStaffDefault) GetPayload

func (*CustomerStaffServiceCreateCustomerStaffDefault) IsClientError

IsClientError returns true when this customer staff service create customer staff default response has a 4xx status code

func (*CustomerStaffServiceCreateCustomerStaffDefault) IsCode

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

func (*CustomerStaffServiceCreateCustomerStaffDefault) IsRedirect

IsRedirect returns true when this customer staff service create customer staff default response has a 3xx status code

func (*CustomerStaffServiceCreateCustomerStaffDefault) IsServerError

IsServerError returns true when this customer staff service create customer staff default response has a 5xx status code

func (*CustomerStaffServiceCreateCustomerStaffDefault) IsSuccess

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

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

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

func (*CustomerStaffServiceCreateCustomerStaffOK) Error

func (*CustomerStaffServiceCreateCustomerStaffOK) GetPayload

func (*CustomerStaffServiceCreateCustomerStaffOK) IsClientError

IsClientError returns true when this customer staff service create customer staff o k response has a 4xx status code

func (*CustomerStaffServiceCreateCustomerStaffOK) IsCode

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

func (*CustomerStaffServiceCreateCustomerStaffOK) IsRedirect

IsRedirect returns true when this customer staff service create customer staff o k response has a 3xx status code

func (*CustomerStaffServiceCreateCustomerStaffOK) IsServerError

IsServerError returns true when this customer staff service create customer staff o k response has a 5xx status code

func (*CustomerStaffServiceCreateCustomerStaffOK) IsSuccess

IsSuccess returns true when this customer staff service create customer staff o k response has a 2xx status code

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

SetBody adds the body to the customer staff service create customer staff params

func (*CustomerStaffServiceCreateCustomerStaffParams) SetContext

SetContext adds the context to the customer staff service create customer staff params

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

SetTimeout adds the timeout to the customer staff service create customer staff params

func (*CustomerStaffServiceCreateCustomerStaffParams) WithBody

WithBody adds the body to the customer staff service create customer staff params

func (*CustomerStaffServiceCreateCustomerStaffParams) WithContext

WithContext adds the context to the customer staff service create customer staff params

func (*CustomerStaffServiceCreateCustomerStaffParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer staff service create customer staff params

func (*CustomerStaffServiceCreateCustomerStaffParams) WithTimeout

WithTimeout adds the timeout to the customer staff service create customer staff params

func (*CustomerStaffServiceCreateCustomerStaffParams) WriteToRequest

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

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

func (*CustomerStaffServiceDeleteCustomerStaffDefault) Error

func (*CustomerStaffServiceDeleteCustomerStaffDefault) GetPayload

func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsClientError

IsClientError returns true when this customer staff service delete customer staff default response has a 4xx status code

func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsCode

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

func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsRedirect

IsRedirect returns true when this customer staff service delete customer staff default response has a 3xx status code

func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsServerError

IsServerError returns true when this customer staff service delete customer staff default response has a 5xx status code

func (*CustomerStaffServiceDeleteCustomerStaffDefault) IsSuccess

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

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

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

func (*CustomerStaffServiceDeleteCustomerStaffOK) Error

func (*CustomerStaffServiceDeleteCustomerStaffOK) GetPayload

func (*CustomerStaffServiceDeleteCustomerStaffOK) IsClientError

IsClientError returns true when this customer staff service delete customer staff o k response has a 4xx status code

func (*CustomerStaffServiceDeleteCustomerStaffOK) IsCode

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

func (*CustomerStaffServiceDeleteCustomerStaffOK) IsRedirect

IsRedirect returns true when this customer staff service delete customer staff o k response has a 3xx status code

func (*CustomerStaffServiceDeleteCustomerStaffOK) IsServerError

IsServerError returns true when this customer staff service delete customer staff o k response has a 5xx status code

func (*CustomerStaffServiceDeleteCustomerStaffOK) IsSuccess

IsSuccess returns true when this customer staff service delete customer staff o k response has a 2xx status code

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

SetBody adds the body to the customer staff service delete customer staff params

func (*CustomerStaffServiceDeleteCustomerStaffParams) SetContext

SetContext adds the context to the customer staff service delete customer staff params

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

SetTimeout adds the timeout to the customer staff service delete customer staff params

func (*CustomerStaffServiceDeleteCustomerStaffParams) WithBody

WithBody adds the body to the customer staff service delete customer staff params

func (*CustomerStaffServiceDeleteCustomerStaffParams) WithContext

WithContext adds the context to the customer staff service delete customer staff params

func (*CustomerStaffServiceDeleteCustomerStaffParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer staff service delete customer staff params

func (*CustomerStaffServiceDeleteCustomerStaffParams) WithTimeout

WithTimeout adds the timeout to the customer staff service delete customer staff params

func (*CustomerStaffServiceDeleteCustomerStaffParams) WriteToRequest

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

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

func (*CustomerStaffServiceGetCustomerStaff2Default) Error

func (*CustomerStaffServiceGetCustomerStaff2Default) GetPayload

func (*CustomerStaffServiceGetCustomerStaff2Default) IsClientError

IsClientError returns true when this customer staff service get customer staff2 default response has a 4xx status code

func (*CustomerStaffServiceGetCustomerStaff2Default) IsCode

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

func (*CustomerStaffServiceGetCustomerStaff2Default) IsRedirect

IsRedirect returns true when this customer staff service get customer staff2 default response has a 3xx status code

func (*CustomerStaffServiceGetCustomerStaff2Default) IsServerError

IsServerError returns true when this customer staff service get customer staff2 default response has a 5xx status code

func (*CustomerStaffServiceGetCustomerStaff2Default) IsSuccess

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

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

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

func (*CustomerStaffServiceGetCustomerStaff2OK) Error

func (*CustomerStaffServiceGetCustomerStaff2OK) GetPayload

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

IsCode returns true when this customer staff service get customer staff2 o k response a status code equal to that given

func (*CustomerStaffServiceGetCustomerStaff2OK) IsRedirect

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

IsSuccess returns true when this customer staff service get customer staff2 o k response has a 2xx status code

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

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

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

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

SetTimeout adds the timeout to the customer staff service get customer staff2 params

func (*CustomerStaffServiceGetCustomerStaff2Params) WithContext

WithContext adds the context to the customer staff service get customer staff2 params

func (*CustomerStaffServiceGetCustomerStaff2Params) WithCustomerID

WithCustomerID adds the customerID to the customer staff service get customer staff2 params

func (*CustomerStaffServiceGetCustomerStaff2Params) WithCustomerOptionalID

WithCustomerOptionalID adds the customerOptionalID to the customer staff service get customer staff2 params

func (*CustomerStaffServiceGetCustomerStaff2Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer staff service get customer staff2 params

func (*CustomerStaffServiceGetCustomerStaff2Params) WithID

WithID adds the id to the customer staff service get customer staff2 params

func (*CustomerStaffServiceGetCustomerStaff2Params) WithOptionalID

WithOptionalID adds the optionalID to the customer staff service get customer staff2 params

func (*CustomerStaffServiceGetCustomerStaff2Params) WithTimeout

WithTimeout adds the timeout to the customer staff service get customer staff2 params

func (*CustomerStaffServiceGetCustomerStaff2Params) WriteToRequest

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

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

func (*CustomerStaffServiceGetCustomerStaffDefault) Error

func (*CustomerStaffServiceGetCustomerStaffDefault) GetPayload

func (*CustomerStaffServiceGetCustomerStaffDefault) IsClientError

IsClientError returns true when this customer staff service get customer staff default response has a 4xx status code

func (*CustomerStaffServiceGetCustomerStaffDefault) IsCode

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

func (*CustomerStaffServiceGetCustomerStaffDefault) IsRedirect

IsRedirect returns true when this customer staff service get customer staff default response has a 3xx status code

func (*CustomerStaffServiceGetCustomerStaffDefault) IsServerError

IsServerError returns true when this customer staff service get customer staff default response has a 5xx status code

func (*CustomerStaffServiceGetCustomerStaffDefault) IsSuccess

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

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

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

func (*CustomerStaffServiceGetCustomerStaffOK) Error

func (*CustomerStaffServiceGetCustomerStaffOK) GetPayload

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

IsCode returns true when this customer staff service get customer staff o k response a status code equal to that given

func (*CustomerStaffServiceGetCustomerStaffOK) IsRedirect

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

IsSuccess returns true when this customer staff service get customer staff o k response has a 2xx status code

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

SetBody adds the body to the customer staff service get customer staff params

func (*CustomerStaffServiceGetCustomerStaffParams) SetContext

SetContext adds the context to the customer staff service get customer staff params

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

SetTimeout adds the timeout to the customer staff service get customer staff params

func (*CustomerStaffServiceGetCustomerStaffParams) WithBody

WithBody adds the body to the customer staff service get customer staff params

func (*CustomerStaffServiceGetCustomerStaffParams) WithContext

WithContext adds the context to the customer staff service get customer staff params

func (*CustomerStaffServiceGetCustomerStaffParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer staff service get customer staff params

func (*CustomerStaffServiceGetCustomerStaffParams) WithTimeout

WithTimeout adds the timeout to the customer staff service get customer staff params

func (*CustomerStaffServiceGetCustomerStaffParams) WriteToRequest

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

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

func (*CustomerStaffServiceUpdateCustomerStaffDefault) Error

func (*CustomerStaffServiceUpdateCustomerStaffDefault) GetPayload

func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsClientError

IsClientError returns true when this customer staff service update customer staff default response has a 4xx status code

func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsCode

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

func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsRedirect

IsRedirect returns true when this customer staff service update customer staff default response has a 3xx status code

func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsServerError

IsServerError returns true when this customer staff service update customer staff default response has a 5xx status code

func (*CustomerStaffServiceUpdateCustomerStaffDefault) IsSuccess

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

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

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

func (*CustomerStaffServiceUpdateCustomerStaffOK) Error

func (*CustomerStaffServiceUpdateCustomerStaffOK) GetPayload

func (*CustomerStaffServiceUpdateCustomerStaffOK) IsClientError

IsClientError returns true when this customer staff service update customer staff o k response has a 4xx status code

func (*CustomerStaffServiceUpdateCustomerStaffOK) IsCode

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

func (*CustomerStaffServiceUpdateCustomerStaffOK) IsRedirect

IsRedirect returns true when this customer staff service update customer staff o k response has a 3xx status code

func (*CustomerStaffServiceUpdateCustomerStaffOK) IsServerError

IsServerError returns true when this customer staff service update customer staff o k response has a 5xx status code

func (*CustomerStaffServiceUpdateCustomerStaffOK) IsSuccess

IsSuccess returns true when this customer staff service update customer staff o k response has a 2xx status code

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

SetContext adds the context to the customer staff service update customer staff params

func (*CustomerStaffServiceUpdateCustomerStaffParams) SetCustomerStaff

SetCustomerStaff adds the customerStaff to the customer staff service update customer staff params

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

SetTimeout adds the timeout to the customer staff service update customer staff params

func (*CustomerStaffServiceUpdateCustomerStaffParams) WithContext

WithContext adds the context to the customer staff service update customer staff params

func (*CustomerStaffServiceUpdateCustomerStaffParams) WithCustomerStaff

WithCustomerStaff adds the customerStaff to the customer staff service update customer staff params

func (*CustomerStaffServiceUpdateCustomerStaffParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the customer staff service update customer staff params

func (*CustomerStaffServiceUpdateCustomerStaffParams) WithTimeout

WithTimeout adds the timeout to the customer staff service update customer staff params

func (*CustomerStaffServiceUpdateCustomerStaffParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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