customer_manager package - github.com/KubeSphereCloud/newbilling-client-go/client/customer_manager - Go Packages

customer_manager

package
v0.0.0-...-cc7b9bc Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for customer manager API

func (*Client) CustomerManagerCreateCustomerCurrency

func (a *Client) CustomerManagerCreateCustomerCurrency(params *CustomerManagerCreateCustomerCurrencyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerCreateCustomerCurrencyOK, error)

CustomerManagerCreateCustomerCurrency 赠送客户优惠券s

func (*Client) CustomerManagerCreateOrUpdateCustomer

func (a *Client) CustomerManagerCreateOrUpdateCustomer(params *CustomerManagerCreateOrUpdateCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerCreateOrUpdateCustomerOK, error)

CustomerManagerCreateOrUpdateCustomer 客户s 创建或更新 批量

func (*Client) CustomerManagerDescribeCustomerCurrencies

CustomerManagerDescribeCustomerCurrencies 客户优惠券s 查询

func (*Client) CustomerManagerDescribeCustomerResources

CustomerManagerDescribeCustomerResources 客户资源s 查询

func (*Client) CustomerManagerDescribeCustomerResourcesTrans

CustomerManagerDescribeCustomerResourcesTrans 客户资源消费s 查询

func (*Client) CustomerManagerDescribeCustomers

func (a *Client) CustomerManagerDescribeCustomers(params *CustomerManagerDescribeCustomersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerDescribeCustomersOK, error)

CustomerManagerDescribeCustomers 客户s 查询

func (*Client) CustomerManagerRefundCustomerResource

func (a *Client) CustomerManagerRefundCustomerResource(params *CustomerManagerRefundCustomerResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerRefundCustomerResourceOK, error)

CustomerManagerRefundCustomerResource 客户资源包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 {
	CustomerManagerCreateCustomerCurrency(params *CustomerManagerCreateCustomerCurrencyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerCreateCustomerCurrencyOK, error)

	CustomerManagerCreateOrUpdateCustomer(params *CustomerManagerCreateOrUpdateCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerCreateOrUpdateCustomerOK, error)

	CustomerManagerDescribeCustomerCurrencies(params *CustomerManagerDescribeCustomerCurrenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerDescribeCustomerCurrenciesOK, error)

	CustomerManagerDescribeCustomerResources(params *CustomerManagerDescribeCustomerResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerDescribeCustomerResourcesOK, error)

	CustomerManagerDescribeCustomerResourcesTrans(params *CustomerManagerDescribeCustomerResourcesTransParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerDescribeCustomerResourcesTransOK, error)

	CustomerManagerDescribeCustomers(params *CustomerManagerDescribeCustomersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerDescribeCustomersOK, error)

	CustomerManagerRefundCustomerResource(params *CustomerManagerRefundCustomerResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerRefundCustomerResourceOK, 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 manager API client.

type CustomerManagerCreateCustomerCurrencyDefault

type CustomerManagerCreateCustomerCurrencyDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

CustomerManagerCreateCustomerCurrencyDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewCustomerManagerCreateCustomerCurrencyDefault

func NewCustomerManagerCreateCustomerCurrencyDefault(code int) *CustomerManagerCreateCustomerCurrencyDefault

NewCustomerManagerCreateCustomerCurrencyDefault creates a CustomerManagerCreateCustomerCurrencyDefault with default headers values

func (*CustomerManagerCreateCustomerCurrencyDefault) Code

Code gets the status code for the customer manager create customer currency default response

func (*CustomerManagerCreateCustomerCurrencyDefault) Error

func (*CustomerManagerCreateCustomerCurrencyDefault) GetPayload

func (*CustomerManagerCreateCustomerCurrencyDefault) IsClientError

IsClientError returns true when this customer manager create customer currency default response has a 4xx status code

func (*CustomerManagerCreateCustomerCurrencyDefault) IsCode

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

func (*CustomerManagerCreateCustomerCurrencyDefault) IsRedirect

IsRedirect returns true when this customer manager create customer currency default response has a 3xx status code

func (*CustomerManagerCreateCustomerCurrencyDefault) IsServerError

IsServerError returns true when this customer manager create customer currency default response has a 5xx status code

func (*CustomerManagerCreateCustomerCurrencyDefault) IsSuccess

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

func (*CustomerManagerCreateCustomerCurrencyDefault) String

type CustomerManagerCreateCustomerCurrencyOK

type CustomerManagerCreateCustomerCurrencyOK struct {
	Payload *models.NewbillingCreateCustomerCurrencyResponse
}

CustomerManagerCreateCustomerCurrencyOK describes a response with status code 200, with default header values.

A successful response.

func NewCustomerManagerCreateCustomerCurrencyOK

func NewCustomerManagerCreateCustomerCurrencyOK() *CustomerManagerCreateCustomerCurrencyOK

NewCustomerManagerCreateCustomerCurrencyOK creates a CustomerManagerCreateCustomerCurrencyOK with default headers values

func (*CustomerManagerCreateCustomerCurrencyOK) Error

func (*CustomerManagerCreateCustomerCurrencyOK) GetPayload

func (*CustomerManagerCreateCustomerCurrencyOK) IsClientError

func (o *CustomerManagerCreateCustomerCurrencyOK) IsClientError() bool

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

func (*CustomerManagerCreateCustomerCurrencyOK) IsCode

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

func (*CustomerManagerCreateCustomerCurrencyOK) IsRedirect

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

func (*CustomerManagerCreateCustomerCurrencyOK) IsServerError

func (o *CustomerManagerCreateCustomerCurrencyOK) IsServerError() bool

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

func (*CustomerManagerCreateCustomerCurrencyOK) IsSuccess

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

func (*CustomerManagerCreateCustomerCurrencyOK) String

type CustomerManagerCreateCustomerCurrencyParams

type CustomerManagerCreateCustomerCurrencyParams struct {

	// Body.
	Body *models.NewbillingCreateCustomerCurrencyRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerManagerCreateCustomerCurrencyParams contains all the parameters to send to the API endpoint

for the customer manager create customer currency operation.

Typically these are written to a http.Request.

func NewCustomerManagerCreateCustomerCurrencyParams

func NewCustomerManagerCreateCustomerCurrencyParams() *CustomerManagerCreateCustomerCurrencyParams

NewCustomerManagerCreateCustomerCurrencyParams creates a new CustomerManagerCreateCustomerCurrencyParams 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 NewCustomerManagerCreateCustomerCurrencyParamsWithContext

func NewCustomerManagerCreateCustomerCurrencyParamsWithContext(ctx context.Context) *CustomerManagerCreateCustomerCurrencyParams

NewCustomerManagerCreateCustomerCurrencyParamsWithContext creates a new CustomerManagerCreateCustomerCurrencyParams object with the ability to set a context for a request.

func NewCustomerManagerCreateCustomerCurrencyParamsWithHTTPClient

func NewCustomerManagerCreateCustomerCurrencyParamsWithHTTPClient(client *http.Client) *CustomerManagerCreateCustomerCurrencyParams

NewCustomerManagerCreateCustomerCurrencyParamsWithHTTPClient creates a new CustomerManagerCreateCustomerCurrencyParams object with the ability to set a custom HTTPClient for a request.

func NewCustomerManagerCreateCustomerCurrencyParamsWithTimeout

func NewCustomerManagerCreateCustomerCurrencyParamsWithTimeout(timeout time.Duration) *CustomerManagerCreateCustomerCurrencyParams

NewCustomerManagerCreateCustomerCurrencyParamsWithTimeout creates a new CustomerManagerCreateCustomerCurrencyParams object with the ability to set a timeout on a request.

func (*CustomerManagerCreateCustomerCurrencyParams) SetBody

SetBody adds the body to the customer manager create customer currency params

func (*CustomerManagerCreateCustomerCurrencyParams) SetContext

SetContext adds the context to the customer manager create customer currency params

func (*CustomerManagerCreateCustomerCurrencyParams) SetDefaults

SetDefaults hydrates default values in the customer manager create customer currency params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerCreateCustomerCurrencyParams) SetHTTPClient

func (o *CustomerManagerCreateCustomerCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the customer manager create customer currency params

func (*CustomerManagerCreateCustomerCurrencyParams) SetTimeout

SetTimeout adds the timeout to the customer manager create customer currency params

func (*CustomerManagerCreateCustomerCurrencyParams) WithBody

WithBody adds the body to the customer manager create customer currency params

func (*CustomerManagerCreateCustomerCurrencyParams) WithContext

WithContext adds the context to the customer manager create customer currency params

func (*CustomerManagerCreateCustomerCurrencyParams) WithDefaults

WithDefaults hydrates default values in the customer manager create customer currency params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerCreateCustomerCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer manager create customer currency params

func (*CustomerManagerCreateCustomerCurrencyParams) WithTimeout

WithTimeout adds the timeout to the customer manager create customer currency params

func (*CustomerManagerCreateCustomerCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CustomerManagerCreateCustomerCurrencyReader

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

CustomerManagerCreateCustomerCurrencyReader is a Reader for the CustomerManagerCreateCustomerCurrency structure.

func (*CustomerManagerCreateCustomerCurrencyReader) ReadResponse

func (o *CustomerManagerCreateCustomerCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CustomerManagerCreateOrUpdateCustomerDefault

type CustomerManagerCreateOrUpdateCustomerDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

CustomerManagerCreateOrUpdateCustomerDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewCustomerManagerCreateOrUpdateCustomerDefault

func NewCustomerManagerCreateOrUpdateCustomerDefault(code int) *CustomerManagerCreateOrUpdateCustomerDefault

NewCustomerManagerCreateOrUpdateCustomerDefault creates a CustomerManagerCreateOrUpdateCustomerDefault with default headers values

func (*CustomerManagerCreateOrUpdateCustomerDefault) Code

Code gets the status code for the customer manager create or update customer default response

func (*CustomerManagerCreateOrUpdateCustomerDefault) Error

func (*CustomerManagerCreateOrUpdateCustomerDefault) GetPayload

func (*CustomerManagerCreateOrUpdateCustomerDefault) IsClientError

IsClientError returns true when this customer manager create or update customer default response has a 4xx status code

func (*CustomerManagerCreateOrUpdateCustomerDefault) IsCode

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

func (*CustomerManagerCreateOrUpdateCustomerDefault) IsRedirect

IsRedirect returns true when this customer manager create or update customer default response has a 3xx status code

func (*CustomerManagerCreateOrUpdateCustomerDefault) IsServerError

IsServerError returns true when this customer manager create or update customer default response has a 5xx status code

func (*CustomerManagerCreateOrUpdateCustomerDefault) IsSuccess

IsSuccess returns true when this customer manager create or update customer default response has a 2xx status code

func (*CustomerManagerCreateOrUpdateCustomerDefault) String

type CustomerManagerCreateOrUpdateCustomerOK

type CustomerManagerCreateOrUpdateCustomerOK struct {
	Payload *models.NewbillingCreateOrUpdateCustomerResponse
}

CustomerManagerCreateOrUpdateCustomerOK describes a response with status code 200, with default header values.

A successful response.

func NewCustomerManagerCreateOrUpdateCustomerOK

func NewCustomerManagerCreateOrUpdateCustomerOK() *CustomerManagerCreateOrUpdateCustomerOK

NewCustomerManagerCreateOrUpdateCustomerOK creates a CustomerManagerCreateOrUpdateCustomerOK with default headers values

func (*CustomerManagerCreateOrUpdateCustomerOK) Error

func (*CustomerManagerCreateOrUpdateCustomerOK) GetPayload

func (*CustomerManagerCreateOrUpdateCustomerOK) IsClientError

func (o *CustomerManagerCreateOrUpdateCustomerOK) IsClientError() bool

IsClientError returns true when this customer manager create or update customer o k response has a 4xx status code

func (*CustomerManagerCreateOrUpdateCustomerOK) IsCode

IsCode returns true when this customer manager create or update customer o k response a status code equal to that given

func (*CustomerManagerCreateOrUpdateCustomerOK) IsRedirect

IsRedirect returns true when this customer manager create or update customer o k response has a 3xx status code

func (*CustomerManagerCreateOrUpdateCustomerOK) IsServerError

func (o *CustomerManagerCreateOrUpdateCustomerOK) IsServerError() bool

IsServerError returns true when this customer manager create or update customer o k response has a 5xx status code

func (*CustomerManagerCreateOrUpdateCustomerOK) IsSuccess

IsSuccess returns true when this customer manager create or update customer o k response has a 2xx status code

func (*CustomerManagerCreateOrUpdateCustomerOK) String

type CustomerManagerCreateOrUpdateCustomerParams

type CustomerManagerCreateOrUpdateCustomerParams struct {

	// Body.
	Body *models.NewbillingCreateOrUpdateCustomerRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerManagerCreateOrUpdateCustomerParams contains all the parameters to send to the API endpoint

for the customer manager create or update customer operation.

Typically these are written to a http.Request.

func NewCustomerManagerCreateOrUpdateCustomerParams

func NewCustomerManagerCreateOrUpdateCustomerParams() *CustomerManagerCreateOrUpdateCustomerParams

NewCustomerManagerCreateOrUpdateCustomerParams creates a new CustomerManagerCreateOrUpdateCustomerParams 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 NewCustomerManagerCreateOrUpdateCustomerParamsWithContext

func NewCustomerManagerCreateOrUpdateCustomerParamsWithContext(ctx context.Context) *CustomerManagerCreateOrUpdateCustomerParams

NewCustomerManagerCreateOrUpdateCustomerParamsWithContext creates a new CustomerManagerCreateOrUpdateCustomerParams object with the ability to set a context for a request.

func NewCustomerManagerCreateOrUpdateCustomerParamsWithHTTPClient

func NewCustomerManagerCreateOrUpdateCustomerParamsWithHTTPClient(client *http.Client) *CustomerManagerCreateOrUpdateCustomerParams

NewCustomerManagerCreateOrUpdateCustomerParamsWithHTTPClient creates a new CustomerManagerCreateOrUpdateCustomerParams object with the ability to set a custom HTTPClient for a request.

func NewCustomerManagerCreateOrUpdateCustomerParamsWithTimeout

func NewCustomerManagerCreateOrUpdateCustomerParamsWithTimeout(timeout time.Duration) *CustomerManagerCreateOrUpdateCustomerParams

NewCustomerManagerCreateOrUpdateCustomerParamsWithTimeout creates a new CustomerManagerCreateOrUpdateCustomerParams object with the ability to set a timeout on a request.

func (*CustomerManagerCreateOrUpdateCustomerParams) SetBody

SetBody adds the body to the customer manager create or update customer params

func (*CustomerManagerCreateOrUpdateCustomerParams) SetContext

SetContext adds the context to the customer manager create or update customer params

func (*CustomerManagerCreateOrUpdateCustomerParams) SetDefaults

SetDefaults hydrates default values in the customer manager create or update customer params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerCreateOrUpdateCustomerParams) SetHTTPClient

func (o *CustomerManagerCreateOrUpdateCustomerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the customer manager create or update customer params

func (*CustomerManagerCreateOrUpdateCustomerParams) SetTimeout

SetTimeout adds the timeout to the customer manager create or update customer params

func (*CustomerManagerCreateOrUpdateCustomerParams) WithBody

WithBody adds the body to the customer manager create or update customer params

func (*CustomerManagerCreateOrUpdateCustomerParams) WithContext

WithContext adds the context to the customer manager create or update customer params

func (*CustomerManagerCreateOrUpdateCustomerParams) WithDefaults

WithDefaults hydrates default values in the customer manager create or update customer params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerCreateOrUpdateCustomerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer manager create or update customer params

func (*CustomerManagerCreateOrUpdateCustomerParams) WithTimeout

WithTimeout adds the timeout to the customer manager create or update customer params

func (*CustomerManagerCreateOrUpdateCustomerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CustomerManagerCreateOrUpdateCustomerReader

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

CustomerManagerCreateOrUpdateCustomerReader is a Reader for the CustomerManagerCreateOrUpdateCustomer structure.

func (*CustomerManagerCreateOrUpdateCustomerReader) ReadResponse

func (o *CustomerManagerCreateOrUpdateCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CustomerManagerDescribeCustomerCurrenciesDefault

type CustomerManagerDescribeCustomerCurrenciesDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

CustomerManagerDescribeCustomerCurrenciesDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewCustomerManagerDescribeCustomerCurrenciesDefault

func NewCustomerManagerDescribeCustomerCurrenciesDefault(code int) *CustomerManagerDescribeCustomerCurrenciesDefault

NewCustomerManagerDescribeCustomerCurrenciesDefault creates a CustomerManagerDescribeCustomerCurrenciesDefault with default headers values

func (*CustomerManagerDescribeCustomerCurrenciesDefault) Code

Code gets the status code for the customer manager describe customer currencies default response

func (*CustomerManagerDescribeCustomerCurrenciesDefault) Error

func (*CustomerManagerDescribeCustomerCurrenciesDefault) GetPayload

func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsClientError

IsClientError returns true when this customer manager describe customer currencies default response has a 4xx status code

func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsCode

IsCode returns true when this customer manager describe customer currencies default response a status code equal to that given

func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsRedirect

IsRedirect returns true when this customer manager describe customer currencies default response has a 3xx status code

func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsServerError

IsServerError returns true when this customer manager describe customer currencies default response has a 5xx status code

func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsSuccess

IsSuccess returns true when this customer manager describe customer currencies default response has a 2xx status code

func (*CustomerManagerDescribeCustomerCurrenciesDefault) String

type CustomerManagerDescribeCustomerCurrenciesOK

type CustomerManagerDescribeCustomerCurrenciesOK struct {
	Payload *models.NewbillingDescribeCustomerCurrenciesResponse
}

CustomerManagerDescribeCustomerCurrenciesOK describes a response with status code 200, with default header values.

A successful response.

func NewCustomerManagerDescribeCustomerCurrenciesOK

func NewCustomerManagerDescribeCustomerCurrenciesOK() *CustomerManagerDescribeCustomerCurrenciesOK

NewCustomerManagerDescribeCustomerCurrenciesOK creates a CustomerManagerDescribeCustomerCurrenciesOK with default headers values

func (*CustomerManagerDescribeCustomerCurrenciesOK) Error

func (*CustomerManagerDescribeCustomerCurrenciesOK) GetPayload

func (*CustomerManagerDescribeCustomerCurrenciesOK) IsClientError

IsClientError returns true when this customer manager describe customer currencies o k response has a 4xx status code

func (*CustomerManagerDescribeCustomerCurrenciesOK) IsCode

IsCode returns true when this customer manager describe customer currencies o k response a status code equal to that given

func (*CustomerManagerDescribeCustomerCurrenciesOK) IsRedirect

IsRedirect returns true when this customer manager describe customer currencies o k response has a 3xx status code

func (*CustomerManagerDescribeCustomerCurrenciesOK) IsServerError

IsServerError returns true when this customer manager describe customer currencies o k response has a 5xx status code

func (*CustomerManagerDescribeCustomerCurrenciesOK) IsSuccess

IsSuccess returns true when this customer manager describe customer currencies o k response has a 2xx status code

func (*CustomerManagerDescribeCustomerCurrenciesOK) String

type CustomerManagerDescribeCustomerCurrenciesParams

type CustomerManagerDescribeCustomerCurrenciesParams struct {

	/* AccessSysID.

	   接入系统id,选填项.
	*/
	AccessSysID *string

	/* CurrencyType.

	   优惠券各类: coupon bonus.
	*/
	CurrencyType []string

	/* CustomerID.

	   客户ID.
	*/
	CustomerID []string

	/* Limit.

	   数据库查询每页大小 - 默认 20, 最大值 200.

	   Format: uint64
	*/
	Limit *string

	/* Offset.

	   数据库查询偏移位置 - 默认 0.

	   Format: uint64
	*/
	Offset *string

	/* Reverse.

	   是否倒序排序 - value = 0 sort ASC, value = 1 sort DESC.
	*/
	Reverse *bool

	/* SearchWord.

	   模糊查询关键字.
	*/
	SearchWord *string

	/* SortKey.

	   排序字段 - 默认 create_time.
	*/
	SortKey *string

	/* Status.

	   资源包状态 - using 可用,done 用完.
	*/
	Status []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerManagerDescribeCustomerCurrenciesParams contains all the parameters to send to the API endpoint

for the customer manager describe customer currencies operation.

Typically these are written to a http.Request.

func NewCustomerManagerDescribeCustomerCurrenciesParams

func NewCustomerManagerDescribeCustomerCurrenciesParams() *CustomerManagerDescribeCustomerCurrenciesParams

NewCustomerManagerDescribeCustomerCurrenciesParams creates a new CustomerManagerDescribeCustomerCurrenciesParams 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 NewCustomerManagerDescribeCustomerCurrenciesParamsWithContext

func NewCustomerManagerDescribeCustomerCurrenciesParamsWithContext(ctx context.Context) *CustomerManagerDescribeCustomerCurrenciesParams

NewCustomerManagerDescribeCustomerCurrenciesParamsWithContext creates a new CustomerManagerDescribeCustomerCurrenciesParams object with the ability to set a context for a request.

func NewCustomerManagerDescribeCustomerCurrenciesParamsWithHTTPClient

func NewCustomerManagerDescribeCustomerCurrenciesParamsWithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerCurrenciesParams

NewCustomerManagerDescribeCustomerCurrenciesParamsWithHTTPClient creates a new CustomerManagerDescribeCustomerCurrenciesParams object with the ability to set a custom HTTPClient for a request.

func NewCustomerManagerDescribeCustomerCurrenciesParamsWithTimeout

func NewCustomerManagerDescribeCustomerCurrenciesParamsWithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerCurrenciesParams

NewCustomerManagerDescribeCustomerCurrenciesParamsWithTimeout creates a new CustomerManagerDescribeCustomerCurrenciesParams object with the ability to set a timeout on a request.

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetAccessSysID

func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetAccessSysID(accessSysID *string)

SetAccessSysID adds the accessSysId to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetContext

SetContext adds the context to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetCurrencyType

func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetCurrencyType(currencyType []string)

SetCurrencyType adds the currencyType to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetCustomerID

func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetCustomerID(customerID []string)

SetCustomerID adds the customerId to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetDefaults

SetDefaults hydrates default values in the customer manager describe customer currencies params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetLimit

SetLimit adds the limit to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetOffset

SetOffset adds the offset to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetReverse

func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetSearchWord

func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetSortKey

SetSortKey adds the sortKey to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetStatus

SetStatus adds the status to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) SetTimeout

SetTimeout adds the timeout to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithAccessSysID

WithAccessSysID adds the accessSysID to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithContext

WithContext adds the context to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithCurrencyType

WithCurrencyType adds the currencyType to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithCustomerID

WithCustomerID adds the customerID to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithDefaults

WithDefaults hydrates default values in the customer manager describe customer currencies params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithLimit

WithLimit adds the limit to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithOffset

WithOffset adds the offset to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithReverse

WithReverse adds the reverse to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithSearchWord

WithSearchWord adds the searchWord to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithSortKey

WithSortKey adds the sortKey to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithStatus

WithStatus adds the status to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WithTimeout

WithTimeout adds the timeout to the customer manager describe customer currencies params

func (*CustomerManagerDescribeCustomerCurrenciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CustomerManagerDescribeCustomerCurrenciesReader

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

CustomerManagerDescribeCustomerCurrenciesReader is a Reader for the CustomerManagerDescribeCustomerCurrencies structure.

func (*CustomerManagerDescribeCustomerCurrenciesReader) ReadResponse

func (o *CustomerManagerDescribeCustomerCurrenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CustomerManagerDescribeCustomerResourcesDefault

type CustomerManagerDescribeCustomerResourcesDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

CustomerManagerDescribeCustomerResourcesDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewCustomerManagerDescribeCustomerResourcesDefault

func NewCustomerManagerDescribeCustomerResourcesDefault(code int) *CustomerManagerDescribeCustomerResourcesDefault

NewCustomerManagerDescribeCustomerResourcesDefault creates a CustomerManagerDescribeCustomerResourcesDefault with default headers values

func (*CustomerManagerDescribeCustomerResourcesDefault) Code

Code gets the status code for the customer manager describe customer resources default response

func (*CustomerManagerDescribeCustomerResourcesDefault) Error

func (*CustomerManagerDescribeCustomerResourcesDefault) GetPayload

func (*CustomerManagerDescribeCustomerResourcesDefault) IsClientError

IsClientError returns true when this customer manager describe customer resources default response has a 4xx status code

func (*CustomerManagerDescribeCustomerResourcesDefault) IsCode

IsCode returns true when this customer manager describe customer resources default response a status code equal to that given

func (*CustomerManagerDescribeCustomerResourcesDefault) IsRedirect

IsRedirect returns true when this customer manager describe customer resources default response has a 3xx status code

func (*CustomerManagerDescribeCustomerResourcesDefault) IsServerError

IsServerError returns true when this customer manager describe customer resources default response has a 5xx status code

func (*CustomerManagerDescribeCustomerResourcesDefault) IsSuccess

IsSuccess returns true when this customer manager describe customer resources default response has a 2xx status code

func (*CustomerManagerDescribeCustomerResourcesDefault) String

type CustomerManagerDescribeCustomerResourcesOK

type CustomerManagerDescribeCustomerResourcesOK struct {
	Payload *models.NewbillingDescribeCustomerResourcesResponse
}

CustomerManagerDescribeCustomerResourcesOK describes a response with status code 200, with default header values.

A successful response.

func NewCustomerManagerDescribeCustomerResourcesOK

func NewCustomerManagerDescribeCustomerResourcesOK() *CustomerManagerDescribeCustomerResourcesOK

NewCustomerManagerDescribeCustomerResourcesOK creates a CustomerManagerDescribeCustomerResourcesOK with default headers values

func (*CustomerManagerDescribeCustomerResourcesOK) Error

func (*CustomerManagerDescribeCustomerResourcesOK) GetPayload

func (*CustomerManagerDescribeCustomerResourcesOK) IsClientError

IsClientError returns true when this customer manager describe customer resources o k response has a 4xx status code

func (*CustomerManagerDescribeCustomerResourcesOK) IsCode

IsCode returns true when this customer manager describe customer resources o k response a status code equal to that given

func (*CustomerManagerDescribeCustomerResourcesOK) IsRedirect

IsRedirect returns true when this customer manager describe customer resources o k response has a 3xx status code

func (*CustomerManagerDescribeCustomerResourcesOK) IsServerError

IsServerError returns true when this customer manager describe customer resources o k response has a 5xx status code

func (*CustomerManagerDescribeCustomerResourcesOK) IsSuccess

IsSuccess returns true when this customer manager describe customer resources o k response has a 2xx status code

func (*CustomerManagerDescribeCustomerResourcesOK) String

type CustomerManagerDescribeCustomerResourcesParams

type CustomerManagerDescribeCustomerResourcesParams struct {

	// AccessSysID.
	AccessSysID *string

	/* CrID.

	   资源包ID.
	*/
	CrID []string

	/* CustomerID.

	   客户ID.
	*/
	CustomerID []string

	/* Limit.

	   数据库查询每页大小 - 默认 20, 最大值 200.

	   Format: uint64
	*/
	Limit *string

	/* Offset.

	   数据库查询偏移位置 - 默认 0.

	   Format: uint64
	*/
	Offset *string

	/* Reverse.

	   是否倒序排序 - value = 0 sort ASC, value = 1 sort DESC.
	*/
	Reverse *bool

	/* SearchWord.

	   模糊查询关键字 - 支持字段:attr_name.
	*/
	SearchWord *string

	/* SortKey.

	   排序字段 - 默认 create_time.
	*/
	SortKey *string

	/* Status.

	   资源包状态 - using 可用,done 用完.
	*/
	Status []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerManagerDescribeCustomerResourcesParams contains all the parameters to send to the API endpoint

for the customer manager describe customer resources operation.

Typically these are written to a http.Request.

func NewCustomerManagerDescribeCustomerResourcesParams

func NewCustomerManagerDescribeCustomerResourcesParams() *CustomerManagerDescribeCustomerResourcesParams

NewCustomerManagerDescribeCustomerResourcesParams creates a new CustomerManagerDescribeCustomerResourcesParams 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 NewCustomerManagerDescribeCustomerResourcesParamsWithContext

func NewCustomerManagerDescribeCustomerResourcesParamsWithContext(ctx context.Context) *CustomerManagerDescribeCustomerResourcesParams

NewCustomerManagerDescribeCustomerResourcesParamsWithContext creates a new CustomerManagerDescribeCustomerResourcesParams object with the ability to set a context for a request.

func NewCustomerManagerDescribeCustomerResourcesParamsWithHTTPClient

func NewCustomerManagerDescribeCustomerResourcesParamsWithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerResourcesParams

NewCustomerManagerDescribeCustomerResourcesParamsWithHTTPClient creates a new CustomerManagerDescribeCustomerResourcesParams object with the ability to set a custom HTTPClient for a request.

func NewCustomerManagerDescribeCustomerResourcesParamsWithTimeout

func NewCustomerManagerDescribeCustomerResourcesParamsWithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerResourcesParams

NewCustomerManagerDescribeCustomerResourcesParamsWithTimeout creates a new CustomerManagerDescribeCustomerResourcesParams object with the ability to set a timeout on a request.

func (*CustomerManagerDescribeCustomerResourcesParams) SetAccessSysID

func (o *CustomerManagerDescribeCustomerResourcesParams) SetAccessSysID(accessSysID *string)

SetAccessSysID adds the accessSysId to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetContext

SetContext adds the context to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetCrID

SetCrID adds the crId to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetCustomerID

func (o *CustomerManagerDescribeCustomerResourcesParams) SetCustomerID(customerID []string)

SetCustomerID adds the customerId to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetDefaults

SetDefaults hydrates default values in the customer manager describe customer resources params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerDescribeCustomerResourcesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetLimit

SetLimit adds the limit to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetOffset

SetOffset adds the offset to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetReverse

func (o *CustomerManagerDescribeCustomerResourcesParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetSearchWord

func (o *CustomerManagerDescribeCustomerResourcesParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetSortKey

SetSortKey adds the sortKey to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetStatus

SetStatus adds the status to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) SetTimeout

SetTimeout adds the timeout to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithAccessSysID

WithAccessSysID adds the accessSysID to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithContext

WithContext adds the context to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithCrID

WithCrID adds the crID to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithCustomerID

WithCustomerID adds the customerID to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithDefaults

WithDefaults hydrates default values in the customer manager describe customer resources params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerDescribeCustomerResourcesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithLimit

WithLimit adds the limit to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithOffset

WithOffset adds the offset to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithReverse

WithReverse adds the reverse to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithSearchWord

WithSearchWord adds the searchWord to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithSortKey

WithSortKey adds the sortKey to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithStatus

WithStatus adds the status to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WithTimeout

WithTimeout adds the timeout to the customer manager describe customer resources params

func (*CustomerManagerDescribeCustomerResourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CustomerManagerDescribeCustomerResourcesReader

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

CustomerManagerDescribeCustomerResourcesReader is a Reader for the CustomerManagerDescribeCustomerResources structure.

func (*CustomerManagerDescribeCustomerResourcesReader) ReadResponse

func (o *CustomerManagerDescribeCustomerResourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CustomerManagerDescribeCustomerResourcesTransDefault

type CustomerManagerDescribeCustomerResourcesTransDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

CustomerManagerDescribeCustomerResourcesTransDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewCustomerManagerDescribeCustomerResourcesTransDefault

func NewCustomerManagerDescribeCustomerResourcesTransDefault(code int) *CustomerManagerDescribeCustomerResourcesTransDefault

NewCustomerManagerDescribeCustomerResourcesTransDefault creates a CustomerManagerDescribeCustomerResourcesTransDefault with default headers values

func (*CustomerManagerDescribeCustomerResourcesTransDefault) Code

Code gets the status code for the customer manager describe customer resources trans default response

func (*CustomerManagerDescribeCustomerResourcesTransDefault) Error

func (*CustomerManagerDescribeCustomerResourcesTransDefault) GetPayload

func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsClientError

IsClientError returns true when this customer manager describe customer resources trans default response has a 4xx status code

func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsCode

IsCode returns true when this customer manager describe customer resources trans default response a status code equal to that given

func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsRedirect

IsRedirect returns true when this customer manager describe customer resources trans default response has a 3xx status code

func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsServerError

IsServerError returns true when this customer manager describe customer resources trans default response has a 5xx status code

func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsSuccess

IsSuccess returns true when this customer manager describe customer resources trans default response has a 2xx status code

func (*CustomerManagerDescribeCustomerResourcesTransDefault) String

type CustomerManagerDescribeCustomerResourcesTransOK

type CustomerManagerDescribeCustomerResourcesTransOK struct {
	Payload *models.NewbillingDescribeCustomerResourcesTransResponse
}

CustomerManagerDescribeCustomerResourcesTransOK describes a response with status code 200, with default header values.

A successful response.

func NewCustomerManagerDescribeCustomerResourcesTransOK

func NewCustomerManagerDescribeCustomerResourcesTransOK() *CustomerManagerDescribeCustomerResourcesTransOK

NewCustomerManagerDescribeCustomerResourcesTransOK creates a CustomerManagerDescribeCustomerResourcesTransOK with default headers values

func (*CustomerManagerDescribeCustomerResourcesTransOK) Error

func (*CustomerManagerDescribeCustomerResourcesTransOK) GetPayload

func (*CustomerManagerDescribeCustomerResourcesTransOK) IsClientError

IsClientError returns true when this customer manager describe customer resources trans o k response has a 4xx status code

func (*CustomerManagerDescribeCustomerResourcesTransOK) IsCode

IsCode returns true when this customer manager describe customer resources trans o k response a status code equal to that given

func (*CustomerManagerDescribeCustomerResourcesTransOK) IsRedirect

IsRedirect returns true when this customer manager describe customer resources trans o k response has a 3xx status code

func (*CustomerManagerDescribeCustomerResourcesTransOK) IsServerError

IsServerError returns true when this customer manager describe customer resources trans o k response has a 5xx status code

func (*CustomerManagerDescribeCustomerResourcesTransOK) IsSuccess

IsSuccess returns true when this customer manager describe customer resources trans o k response has a 2xx status code

func (*CustomerManagerDescribeCustomerResourcesTransOK) String

type CustomerManagerDescribeCustomerResourcesTransParams

type CustomerManagerDescribeCustomerResourcesTransParams struct {

	// AttrID.
	AttrID []string

	/* CrID.

	   资源包ID.
	*/
	CrID []string

	// CustomerID.
	CustomerID []string

	/* Limit.

	   数据库查询每页大小 - 默认 20, 最大值 200.

	   Format: uint64
	*/
	Limit *string

	// MaxTime.
	//
	// Format: date-time
	MaxTime *strfmt.DateTime

	// MinTime.
	//
	// Format: date-time
	MinTime *strfmt.DateTime

	/* Offset.

	   数据库查询偏移位置 - 默认 0.

	   Format: uint64
	*/
	Offset *string

	// OrderID.
	OrderID []string

	/* Reverse.

	   是否倒序排序 - value = 0 sort ASC, value = 1 sort DESC.
	*/
	Reverse *bool

	/* SearchWord.

	   模糊查询关键字 - 支持字段:attr_name.
	*/
	SearchWord *string

	/* SortKey.

	   排序字段 - 默认 create_time.
	*/
	SortKey *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerManagerDescribeCustomerResourcesTransParams contains all the parameters to send to the API endpoint

for the customer manager describe customer resources trans operation.

Typically these are written to a http.Request.

func NewCustomerManagerDescribeCustomerResourcesTransParams

func NewCustomerManagerDescribeCustomerResourcesTransParams() *CustomerManagerDescribeCustomerResourcesTransParams

NewCustomerManagerDescribeCustomerResourcesTransParams creates a new CustomerManagerDescribeCustomerResourcesTransParams 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 NewCustomerManagerDescribeCustomerResourcesTransParamsWithContext

func NewCustomerManagerDescribeCustomerResourcesTransParamsWithContext(ctx context.Context) *CustomerManagerDescribeCustomerResourcesTransParams

NewCustomerManagerDescribeCustomerResourcesTransParamsWithContext creates a new CustomerManagerDescribeCustomerResourcesTransParams object with the ability to set a context for a request.

func NewCustomerManagerDescribeCustomerResourcesTransParamsWithHTTPClient

func NewCustomerManagerDescribeCustomerResourcesTransParamsWithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerResourcesTransParams

NewCustomerManagerDescribeCustomerResourcesTransParamsWithHTTPClient creates a new CustomerManagerDescribeCustomerResourcesTransParams object with the ability to set a custom HTTPClient for a request.

func NewCustomerManagerDescribeCustomerResourcesTransParamsWithTimeout

func NewCustomerManagerDescribeCustomerResourcesTransParamsWithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerResourcesTransParams

NewCustomerManagerDescribeCustomerResourcesTransParamsWithTimeout creates a new CustomerManagerDescribeCustomerResourcesTransParams object with the ability to set a timeout on a request.

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetAttrID

SetAttrID adds the attrId to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetContext

SetContext adds the context to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetCrID

SetCrID adds the crId to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetCustomerID

func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetCustomerID(customerID []string)

SetCustomerID adds the customerId to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetDefaults

SetDefaults hydrates default values in the customer manager describe customer resources trans params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetLimit

SetLimit adds the limit to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetMaxTime

SetMaxTime adds the maxTime to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetMinTime

SetMinTime adds the minTime to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetOffset

SetOffset adds the offset to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetOrderID

SetOrderID adds the orderId to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetReverse

SetReverse adds the reverse to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetSearchWord

func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetSortKey

SetSortKey adds the sortKey to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) SetTimeout

SetTimeout adds the timeout to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithAttrID

WithAttrID adds the attrID to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithContext

WithContext adds the context to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithCrID

WithCrID adds the crID to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithCustomerID

WithCustomerID adds the customerID to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithDefaults

WithDefaults hydrates default values in the customer manager describe customer resources trans params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithLimit

WithLimit adds the limit to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithMaxTime

WithMaxTime adds the maxTime to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithMinTime

WithMinTime adds the minTime to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithOffset

WithOffset adds the offset to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithOrderID

WithOrderID adds the orderID to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithReverse

WithReverse adds the reverse to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithSearchWord

WithSearchWord adds the searchWord to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithSortKey

WithSortKey adds the sortKey to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WithTimeout

WithTimeout adds the timeout to the customer manager describe customer resources trans params

func (*CustomerManagerDescribeCustomerResourcesTransParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CustomerManagerDescribeCustomerResourcesTransReader

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

CustomerManagerDescribeCustomerResourcesTransReader is a Reader for the CustomerManagerDescribeCustomerResourcesTrans structure.

func (*CustomerManagerDescribeCustomerResourcesTransReader) ReadResponse

func (o *CustomerManagerDescribeCustomerResourcesTransReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CustomerManagerDescribeCustomersDefault

type CustomerManagerDescribeCustomersDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

CustomerManagerDescribeCustomersDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewCustomerManagerDescribeCustomersDefault

func NewCustomerManagerDescribeCustomersDefault(code int) *CustomerManagerDescribeCustomersDefault

NewCustomerManagerDescribeCustomersDefault creates a CustomerManagerDescribeCustomersDefault with default headers values

func (*CustomerManagerDescribeCustomersDefault) Code

Code gets the status code for the customer manager describe customers default response

func (*CustomerManagerDescribeCustomersDefault) Error

func (*CustomerManagerDescribeCustomersDefault) GetPayload

func (*CustomerManagerDescribeCustomersDefault) IsClientError

func (o *CustomerManagerDescribeCustomersDefault) IsClientError() bool

IsClientError returns true when this customer manager describe customers default response has a 4xx status code

func (*CustomerManagerDescribeCustomersDefault) IsCode

IsCode returns true when this customer manager describe customers default response a status code equal to that given

func (*CustomerManagerDescribeCustomersDefault) IsRedirect

IsRedirect returns true when this customer manager describe customers default response has a 3xx status code

func (*CustomerManagerDescribeCustomersDefault) IsServerError

func (o *CustomerManagerDescribeCustomersDefault) IsServerError() bool

IsServerError returns true when this customer manager describe customers default response has a 5xx status code

func (*CustomerManagerDescribeCustomersDefault) IsSuccess

IsSuccess returns true when this customer manager describe customers default response has a 2xx status code

func (*CustomerManagerDescribeCustomersDefault) String

type CustomerManagerDescribeCustomersOK

type CustomerManagerDescribeCustomersOK struct {
	Payload *models.NewbillingDescribeCustomersResponse
}

CustomerManagerDescribeCustomersOK describes a response with status code 200, with default header values.

A successful response.

func NewCustomerManagerDescribeCustomersOK

func NewCustomerManagerDescribeCustomersOK() *CustomerManagerDescribeCustomersOK

NewCustomerManagerDescribeCustomersOK creates a CustomerManagerDescribeCustomersOK with default headers values

func (*CustomerManagerDescribeCustomersOK) Error

func (*CustomerManagerDescribeCustomersOK) GetPayload

func (*CustomerManagerDescribeCustomersOK) IsClientError

func (o *CustomerManagerDescribeCustomersOK) IsClientError() bool

IsClientError returns true when this customer manager describe customers o k response has a 4xx status code

func (*CustomerManagerDescribeCustomersOK) IsCode

IsCode returns true when this customer manager describe customers o k response a status code equal to that given

func (*CustomerManagerDescribeCustomersOK) IsRedirect

func (o *CustomerManagerDescribeCustomersOK) IsRedirect() bool

IsRedirect returns true when this customer manager describe customers o k response has a 3xx status code

func (*CustomerManagerDescribeCustomersOK) IsServerError

func (o *CustomerManagerDescribeCustomersOK) IsServerError() bool

IsServerError returns true when this customer manager describe customers o k response has a 5xx status code

func (*CustomerManagerDescribeCustomersOK) IsSuccess

IsSuccess returns true when this customer manager describe customers o k response has a 2xx status code

func (*CustomerManagerDescribeCustomersOK) String

type CustomerManagerDescribeCustomersParams

type CustomerManagerDescribeCustomersParams struct {

	/* CustomerID.

	   客户ID.
	*/
	CustomerID []string

	/* IsParent.

	   是否是主帐户.
	*/
	IsParent *bool

	/* Limit.

	   数据库查询每页大小 - 默认 20, 最大值 200.

	   Format: uint64
	*/
	Limit *string

	/* Name.

	   客户姓名.
	*/
	Name []string

	/* Offset.

	   数据库查询偏移位置 - 默认 0.

	   Format: uint64
	*/
	Offset *string

	/* ParentCustomerID.

	   父客户Id.
	*/
	ParentCustomerID []string

	/* Reverse.

	   是否倒序排序 - value = 0 sort ASC, value = 1 sort DESC.
	*/
	Reverse *bool

	/* SearchWord.

	   模糊查询关键字 - 支持字段:customer_id/customer_source/access_sys_id/parent_customer_id/name.
	*/
	SearchWord *string

	/* SortKey.

	   排序字段 - 默认 create_time.
	*/
	SortKey *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerManagerDescribeCustomersParams contains all the parameters to send to the API endpoint

for the customer manager describe customers operation.

Typically these are written to a http.Request.

func NewCustomerManagerDescribeCustomersParams

func NewCustomerManagerDescribeCustomersParams() *CustomerManagerDescribeCustomersParams

NewCustomerManagerDescribeCustomersParams creates a new CustomerManagerDescribeCustomersParams 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 NewCustomerManagerDescribeCustomersParamsWithContext

func NewCustomerManagerDescribeCustomersParamsWithContext(ctx context.Context) *CustomerManagerDescribeCustomersParams

NewCustomerManagerDescribeCustomersParamsWithContext creates a new CustomerManagerDescribeCustomersParams object with the ability to set a context for a request.

func NewCustomerManagerDescribeCustomersParamsWithHTTPClient

func NewCustomerManagerDescribeCustomersParamsWithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomersParams

NewCustomerManagerDescribeCustomersParamsWithHTTPClient creates a new CustomerManagerDescribeCustomersParams object with the ability to set a custom HTTPClient for a request.

func NewCustomerManagerDescribeCustomersParamsWithTimeout

func NewCustomerManagerDescribeCustomersParamsWithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomersParams

NewCustomerManagerDescribeCustomersParamsWithTimeout creates a new CustomerManagerDescribeCustomersParams object with the ability to set a timeout on a request.

func (*CustomerManagerDescribeCustomersParams) SetContext

SetContext adds the context to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetCustomerID

func (o *CustomerManagerDescribeCustomersParams) SetCustomerID(customerID []string)

SetCustomerID adds the customerId to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetDefaults

func (o *CustomerManagerDescribeCustomersParams) SetDefaults()

SetDefaults hydrates default values in the customer manager describe customers params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerDescribeCustomersParams) SetHTTPClient

func (o *CustomerManagerDescribeCustomersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetIsParent

func (o *CustomerManagerDescribeCustomersParams) SetIsParent(isParent *bool)

SetIsParent adds the isParent to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetLimit

func (o *CustomerManagerDescribeCustomersParams) SetLimit(limit *string)

SetLimit adds the limit to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetName

SetName adds the name to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetOffset

func (o *CustomerManagerDescribeCustomersParams) SetOffset(offset *string)

SetOffset adds the offset to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetParentCustomerID

func (o *CustomerManagerDescribeCustomersParams) SetParentCustomerID(parentCustomerID []string)

SetParentCustomerID adds the parentCustomerId to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetReverse

func (o *CustomerManagerDescribeCustomersParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetSearchWord

func (o *CustomerManagerDescribeCustomersParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetSortKey

func (o *CustomerManagerDescribeCustomersParams) SetSortKey(sortKey *string)

SetSortKey adds the sortKey to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) SetTimeout

func (o *CustomerManagerDescribeCustomersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithContext

WithContext adds the context to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithCustomerID

WithCustomerID adds the customerID to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithDefaults

WithDefaults hydrates default values in the customer manager describe customers params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerDescribeCustomersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithIsParent

WithIsParent adds the isParent to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithLimit

WithLimit adds the limit to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithName

WithName adds the name to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithOffset

WithOffset adds the offset to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithParentCustomerID

func (o *CustomerManagerDescribeCustomersParams) WithParentCustomerID(parentCustomerID []string) *CustomerManagerDescribeCustomersParams

WithParentCustomerID adds the parentCustomerID to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithReverse

WithReverse adds the reverse to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithSearchWord

WithSearchWord adds the searchWord to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithSortKey

WithSortKey adds the sortKey to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WithTimeout

WithTimeout adds the timeout to the customer manager describe customers params

func (*CustomerManagerDescribeCustomersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CustomerManagerDescribeCustomersReader

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

CustomerManagerDescribeCustomersReader is a Reader for the CustomerManagerDescribeCustomers structure.

func (*CustomerManagerDescribeCustomersReader) ReadResponse

func (o *CustomerManagerDescribeCustomersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CustomerManagerRefundCustomerResourceDefault

type CustomerManagerRefundCustomerResourceDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

CustomerManagerRefundCustomerResourceDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewCustomerManagerRefundCustomerResourceDefault

func NewCustomerManagerRefundCustomerResourceDefault(code int) *CustomerManagerRefundCustomerResourceDefault

NewCustomerManagerRefundCustomerResourceDefault creates a CustomerManagerRefundCustomerResourceDefault with default headers values

func (*CustomerManagerRefundCustomerResourceDefault) Code

Code gets the status code for the customer manager refund customer resource default response

func (*CustomerManagerRefundCustomerResourceDefault) Error

func (*CustomerManagerRefundCustomerResourceDefault) GetPayload

func (*CustomerManagerRefundCustomerResourceDefault) IsClientError

IsClientError returns true when this customer manager refund customer resource default response has a 4xx status code

func (*CustomerManagerRefundCustomerResourceDefault) IsCode

IsCode returns true when this customer manager refund customer resource default response a status code equal to that given

func (*CustomerManagerRefundCustomerResourceDefault) IsRedirect

IsRedirect returns true when this customer manager refund customer resource default response has a 3xx status code

func (*CustomerManagerRefundCustomerResourceDefault) IsServerError

IsServerError returns true when this customer manager refund customer resource default response has a 5xx status code

func (*CustomerManagerRefundCustomerResourceDefault) IsSuccess

IsSuccess returns true when this customer manager refund customer resource default response has a 2xx status code

func (*CustomerManagerRefundCustomerResourceDefault) String

type CustomerManagerRefundCustomerResourceOK

type CustomerManagerRefundCustomerResourceOK struct {
	Payload *models.NewbillingRefundCustomerResourceResponse
}

CustomerManagerRefundCustomerResourceOK describes a response with status code 200, with default header values.

A successful response.

func NewCustomerManagerRefundCustomerResourceOK

func NewCustomerManagerRefundCustomerResourceOK() *CustomerManagerRefundCustomerResourceOK

NewCustomerManagerRefundCustomerResourceOK creates a CustomerManagerRefundCustomerResourceOK with default headers values

func (*CustomerManagerRefundCustomerResourceOK) Error

func (*CustomerManagerRefundCustomerResourceOK) GetPayload

func (*CustomerManagerRefundCustomerResourceOK) IsClientError

func (o *CustomerManagerRefundCustomerResourceOK) IsClientError() bool

IsClientError returns true when this customer manager refund customer resource o k response has a 4xx status code

func (*CustomerManagerRefundCustomerResourceOK) IsCode

IsCode returns true when this customer manager refund customer resource o k response a status code equal to that given

func (*CustomerManagerRefundCustomerResourceOK) IsRedirect

IsRedirect returns true when this customer manager refund customer resource o k response has a 3xx status code

func (*CustomerManagerRefundCustomerResourceOK) IsServerError

func (o *CustomerManagerRefundCustomerResourceOK) IsServerError() bool

IsServerError returns true when this customer manager refund customer resource o k response has a 5xx status code

func (*CustomerManagerRefundCustomerResourceOK) IsSuccess

IsSuccess returns true when this customer manager refund customer resource o k response has a 2xx status code

func (*CustomerManagerRefundCustomerResourceOK) String

type CustomerManagerRefundCustomerResourceParams

type CustomerManagerRefundCustomerResourceParams struct {

	// Body.
	Body *models.NewbillingRefundCustomerResourceRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerManagerRefundCustomerResourceParams contains all the parameters to send to the API endpoint

for the customer manager refund customer resource operation.

Typically these are written to a http.Request.

func NewCustomerManagerRefundCustomerResourceParams

func NewCustomerManagerRefundCustomerResourceParams() *CustomerManagerRefundCustomerResourceParams

NewCustomerManagerRefundCustomerResourceParams creates a new CustomerManagerRefundCustomerResourceParams 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 NewCustomerManagerRefundCustomerResourceParamsWithContext

func NewCustomerManagerRefundCustomerResourceParamsWithContext(ctx context.Context) *CustomerManagerRefundCustomerResourceParams

NewCustomerManagerRefundCustomerResourceParamsWithContext creates a new CustomerManagerRefundCustomerResourceParams object with the ability to set a context for a request.

func NewCustomerManagerRefundCustomerResourceParamsWithHTTPClient

func NewCustomerManagerRefundCustomerResourceParamsWithHTTPClient(client *http.Client) *CustomerManagerRefundCustomerResourceParams

NewCustomerManagerRefundCustomerResourceParamsWithHTTPClient creates a new CustomerManagerRefundCustomerResourceParams object with the ability to set a custom HTTPClient for a request.

func NewCustomerManagerRefundCustomerResourceParamsWithTimeout

func NewCustomerManagerRefundCustomerResourceParamsWithTimeout(timeout time.Duration) *CustomerManagerRefundCustomerResourceParams

NewCustomerManagerRefundCustomerResourceParamsWithTimeout creates a new CustomerManagerRefundCustomerResourceParams object with the ability to set a timeout on a request.

func (*CustomerManagerRefundCustomerResourceParams) SetBody

SetBody adds the body to the customer manager refund customer resource params

func (*CustomerManagerRefundCustomerResourceParams) SetContext

SetContext adds the context to the customer manager refund customer resource params

func (*CustomerManagerRefundCustomerResourceParams) SetDefaults

SetDefaults hydrates default values in the customer manager refund customer resource params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerRefundCustomerResourceParams) SetHTTPClient

func (o *CustomerManagerRefundCustomerResourceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the customer manager refund customer resource params

func (*CustomerManagerRefundCustomerResourceParams) SetTimeout

SetTimeout adds the timeout to the customer manager refund customer resource params

func (*CustomerManagerRefundCustomerResourceParams) WithBody

WithBody adds the body to the customer manager refund customer resource params

func (*CustomerManagerRefundCustomerResourceParams) WithContext

WithContext adds the context to the customer manager refund customer resource params

func (*CustomerManagerRefundCustomerResourceParams) WithDefaults

WithDefaults hydrates default values in the customer manager refund customer resource params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerManagerRefundCustomerResourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer manager refund customer resource params

func (*CustomerManagerRefundCustomerResourceParams) WithTimeout

WithTimeout adds the timeout to the customer manager refund customer resource params

func (*CustomerManagerRefundCustomerResourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CustomerManagerRefundCustomerResourceReader

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

CustomerManagerRefundCustomerResourceReader is a Reader for the CustomerManagerRefundCustomerResource structure.

func (*CustomerManagerRefundCustomerResourceReader) ReadResponse

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