Documentation
¶
Index ¶
- type Client
- func (a *Client) CustomerManagerCreateCustomerCurrency(params *CustomerManagerCreateCustomerCurrencyParams, ...) (*CustomerManagerCreateCustomerCurrencyOK, error)
- func (a *Client) CustomerManagerCreateOrUpdateCustomer(params *CustomerManagerCreateOrUpdateCustomerParams, ...) (*CustomerManagerCreateOrUpdateCustomerOK, error)
- func (a *Client) CustomerManagerDescribeCustomerCurrencies(params *CustomerManagerDescribeCustomerCurrenciesParams, ...) (*CustomerManagerDescribeCustomerCurrenciesOK, error)
- func (a *Client) CustomerManagerDescribeCustomerResources(params *CustomerManagerDescribeCustomerResourcesParams, ...) (*CustomerManagerDescribeCustomerResourcesOK, error)
- func (a *Client) CustomerManagerDescribeCustomerResourcesTrans(params *CustomerManagerDescribeCustomerResourcesTransParams, ...) (*CustomerManagerDescribeCustomerResourcesTransOK, error)
- func (a *Client) CustomerManagerDescribeCustomers(params *CustomerManagerDescribeCustomersParams, ...) (*CustomerManagerDescribeCustomersOK, error)
- func (a *Client) CustomerManagerRefundCustomerResource(params *CustomerManagerRefundCustomerResourceParams, ...) (*CustomerManagerRefundCustomerResourceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CustomerManagerCreateCustomerCurrencyDefault
- func (o *CustomerManagerCreateCustomerCurrencyDefault) Code() int
- func (o *CustomerManagerCreateCustomerCurrencyDefault) Error() string
- func (o *CustomerManagerCreateCustomerCurrencyDefault) GetPayload() *models.RuntimeError
- func (o *CustomerManagerCreateCustomerCurrencyDefault) IsClientError() bool
- func (o *CustomerManagerCreateCustomerCurrencyDefault) IsCode(code int) bool
- func (o *CustomerManagerCreateCustomerCurrencyDefault) IsRedirect() bool
- func (o *CustomerManagerCreateCustomerCurrencyDefault) IsServerError() bool
- func (o *CustomerManagerCreateCustomerCurrencyDefault) IsSuccess() bool
- func (o *CustomerManagerCreateCustomerCurrencyDefault) String() string
- type CustomerManagerCreateCustomerCurrencyOK
- func (o *CustomerManagerCreateCustomerCurrencyOK) Error() string
- func (o *CustomerManagerCreateCustomerCurrencyOK) GetPayload() *models.NewbillingCreateCustomerCurrencyResponse
- func (o *CustomerManagerCreateCustomerCurrencyOK) IsClientError() bool
- func (o *CustomerManagerCreateCustomerCurrencyOK) IsCode(code int) bool
- func (o *CustomerManagerCreateCustomerCurrencyOK) IsRedirect() bool
- func (o *CustomerManagerCreateCustomerCurrencyOK) IsServerError() bool
- func (o *CustomerManagerCreateCustomerCurrencyOK) IsSuccess() bool
- func (o *CustomerManagerCreateCustomerCurrencyOK) String() string
- type CustomerManagerCreateCustomerCurrencyParams
- func NewCustomerManagerCreateCustomerCurrencyParams() *CustomerManagerCreateCustomerCurrencyParams
- func NewCustomerManagerCreateCustomerCurrencyParamsWithContext(ctx context.Context) *CustomerManagerCreateCustomerCurrencyParams
- func NewCustomerManagerCreateCustomerCurrencyParamsWithHTTPClient(client *http.Client) *CustomerManagerCreateCustomerCurrencyParams
- func NewCustomerManagerCreateCustomerCurrencyParamsWithTimeout(timeout time.Duration) *CustomerManagerCreateCustomerCurrencyParams
- func (o *CustomerManagerCreateCustomerCurrencyParams) SetBody(body *models.NewbillingCreateCustomerCurrencyRequest)
- func (o *CustomerManagerCreateCustomerCurrencyParams) SetContext(ctx context.Context)
- func (o *CustomerManagerCreateCustomerCurrencyParams) SetDefaults()
- func (o *CustomerManagerCreateCustomerCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *CustomerManagerCreateCustomerCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *CustomerManagerCreateCustomerCurrencyParams) WithBody(body *models.NewbillingCreateCustomerCurrencyRequest) *CustomerManagerCreateCustomerCurrencyParams
- func (o *CustomerManagerCreateCustomerCurrencyParams) WithContext(ctx context.Context) *CustomerManagerCreateCustomerCurrencyParams
- func (o *CustomerManagerCreateCustomerCurrencyParams) WithDefaults() *CustomerManagerCreateCustomerCurrencyParams
- func (o *CustomerManagerCreateCustomerCurrencyParams) WithHTTPClient(client *http.Client) *CustomerManagerCreateCustomerCurrencyParams
- func (o *CustomerManagerCreateCustomerCurrencyParams) WithTimeout(timeout time.Duration) *CustomerManagerCreateCustomerCurrencyParams
- func (o *CustomerManagerCreateCustomerCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerManagerCreateCustomerCurrencyReader
- type CustomerManagerCreateOrUpdateCustomerDefault
- func (o *CustomerManagerCreateOrUpdateCustomerDefault) Code() int
- func (o *CustomerManagerCreateOrUpdateCustomerDefault) Error() string
- func (o *CustomerManagerCreateOrUpdateCustomerDefault) GetPayload() *models.RuntimeError
- func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsClientError() bool
- func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsCode(code int) bool
- func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsRedirect() bool
- func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsServerError() bool
- func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsSuccess() bool
- func (o *CustomerManagerCreateOrUpdateCustomerDefault) String() string
- type CustomerManagerCreateOrUpdateCustomerOK
- func (o *CustomerManagerCreateOrUpdateCustomerOK) Error() string
- func (o *CustomerManagerCreateOrUpdateCustomerOK) GetPayload() *models.NewbillingCreateOrUpdateCustomerResponse
- func (o *CustomerManagerCreateOrUpdateCustomerOK) IsClientError() bool
- func (o *CustomerManagerCreateOrUpdateCustomerOK) IsCode(code int) bool
- func (o *CustomerManagerCreateOrUpdateCustomerOK) IsRedirect() bool
- func (o *CustomerManagerCreateOrUpdateCustomerOK) IsServerError() bool
- func (o *CustomerManagerCreateOrUpdateCustomerOK) IsSuccess() bool
- func (o *CustomerManagerCreateOrUpdateCustomerOK) String() string
- type CustomerManagerCreateOrUpdateCustomerParams
- func NewCustomerManagerCreateOrUpdateCustomerParams() *CustomerManagerCreateOrUpdateCustomerParams
- func NewCustomerManagerCreateOrUpdateCustomerParamsWithContext(ctx context.Context) *CustomerManagerCreateOrUpdateCustomerParams
- func NewCustomerManagerCreateOrUpdateCustomerParamsWithHTTPClient(client *http.Client) *CustomerManagerCreateOrUpdateCustomerParams
- func NewCustomerManagerCreateOrUpdateCustomerParamsWithTimeout(timeout time.Duration) *CustomerManagerCreateOrUpdateCustomerParams
- func (o *CustomerManagerCreateOrUpdateCustomerParams) SetBody(body *models.NewbillingCreateOrUpdateCustomerRequest)
- func (o *CustomerManagerCreateOrUpdateCustomerParams) SetContext(ctx context.Context)
- func (o *CustomerManagerCreateOrUpdateCustomerParams) SetDefaults()
- func (o *CustomerManagerCreateOrUpdateCustomerParams) SetHTTPClient(client *http.Client)
- func (o *CustomerManagerCreateOrUpdateCustomerParams) SetTimeout(timeout time.Duration)
- func (o *CustomerManagerCreateOrUpdateCustomerParams) WithBody(body *models.NewbillingCreateOrUpdateCustomerRequest) *CustomerManagerCreateOrUpdateCustomerParams
- func (o *CustomerManagerCreateOrUpdateCustomerParams) WithContext(ctx context.Context) *CustomerManagerCreateOrUpdateCustomerParams
- func (o *CustomerManagerCreateOrUpdateCustomerParams) WithDefaults() *CustomerManagerCreateOrUpdateCustomerParams
- func (o *CustomerManagerCreateOrUpdateCustomerParams) WithHTTPClient(client *http.Client) *CustomerManagerCreateOrUpdateCustomerParams
- func (o *CustomerManagerCreateOrUpdateCustomerParams) WithTimeout(timeout time.Duration) *CustomerManagerCreateOrUpdateCustomerParams
- func (o *CustomerManagerCreateOrUpdateCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerManagerCreateOrUpdateCustomerReader
- type CustomerManagerDescribeCustomerCurrenciesDefault
- func (o *CustomerManagerDescribeCustomerCurrenciesDefault) Code() int
- func (o *CustomerManagerDescribeCustomerCurrenciesDefault) Error() string
- func (o *CustomerManagerDescribeCustomerCurrenciesDefault) GetPayload() *models.RuntimeError
- func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsClientError() bool
- func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsCode(code int) bool
- func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsRedirect() bool
- func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsServerError() bool
- func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsSuccess() bool
- func (o *CustomerManagerDescribeCustomerCurrenciesDefault) String() string
- type CustomerManagerDescribeCustomerCurrenciesOK
- func (o *CustomerManagerDescribeCustomerCurrenciesOK) Error() string
- func (o *CustomerManagerDescribeCustomerCurrenciesOK) GetPayload() *models.NewbillingDescribeCustomerCurrenciesResponse
- func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsClientError() bool
- func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsCode(code int) bool
- func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsRedirect() bool
- func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsServerError() bool
- func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsSuccess() bool
- func (o *CustomerManagerDescribeCustomerCurrenciesOK) String() string
- type CustomerManagerDescribeCustomerCurrenciesParams
- func NewCustomerManagerDescribeCustomerCurrenciesParams() *CustomerManagerDescribeCustomerCurrenciesParams
- func NewCustomerManagerDescribeCustomerCurrenciesParamsWithContext(ctx context.Context) *CustomerManagerDescribeCustomerCurrenciesParams
- func NewCustomerManagerDescribeCustomerCurrenciesParamsWithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerCurrenciesParams
- func NewCustomerManagerDescribeCustomerCurrenciesParamsWithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetAccessSysID(accessSysID *string)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetContext(ctx context.Context)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetCurrencyType(currencyType []string)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetCustomerID(customerID []string)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetDefaults()
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetHTTPClient(client *http.Client)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetLimit(limit *string)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetOffset(offset *string)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetReverse(reverse *bool)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetSearchWord(searchWord *string)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetSortKey(sortKey *string)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetStatus(status []string)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetTimeout(timeout time.Duration)
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithAccessSysID(accessSysID *string) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithContext(ctx context.Context) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithCurrencyType(currencyType []string) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithCustomerID(customerID []string) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithDefaults() *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithLimit(limit *string) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithOffset(offset *string) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithReverse(reverse *bool) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithSearchWord(searchWord *string) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithSortKey(sortKey *string) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithStatus(status []string) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerCurrenciesParams
- func (o *CustomerManagerDescribeCustomerCurrenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerManagerDescribeCustomerCurrenciesReader
- type CustomerManagerDescribeCustomerResourcesDefault
- func (o *CustomerManagerDescribeCustomerResourcesDefault) Code() int
- func (o *CustomerManagerDescribeCustomerResourcesDefault) Error() string
- func (o *CustomerManagerDescribeCustomerResourcesDefault) GetPayload() *models.RuntimeError
- func (o *CustomerManagerDescribeCustomerResourcesDefault) IsClientError() bool
- func (o *CustomerManagerDescribeCustomerResourcesDefault) IsCode(code int) bool
- func (o *CustomerManagerDescribeCustomerResourcesDefault) IsRedirect() bool
- func (o *CustomerManagerDescribeCustomerResourcesDefault) IsServerError() bool
- func (o *CustomerManagerDescribeCustomerResourcesDefault) IsSuccess() bool
- func (o *CustomerManagerDescribeCustomerResourcesDefault) String() string
- type CustomerManagerDescribeCustomerResourcesOK
- func (o *CustomerManagerDescribeCustomerResourcesOK) Error() string
- func (o *CustomerManagerDescribeCustomerResourcesOK) GetPayload() *models.NewbillingDescribeCustomerResourcesResponse
- func (o *CustomerManagerDescribeCustomerResourcesOK) IsClientError() bool
- func (o *CustomerManagerDescribeCustomerResourcesOK) IsCode(code int) bool
- func (o *CustomerManagerDescribeCustomerResourcesOK) IsRedirect() bool
- func (o *CustomerManagerDescribeCustomerResourcesOK) IsServerError() bool
- func (o *CustomerManagerDescribeCustomerResourcesOK) IsSuccess() bool
- func (o *CustomerManagerDescribeCustomerResourcesOK) String() string
- type CustomerManagerDescribeCustomerResourcesParams
- func NewCustomerManagerDescribeCustomerResourcesParams() *CustomerManagerDescribeCustomerResourcesParams
- func NewCustomerManagerDescribeCustomerResourcesParamsWithContext(ctx context.Context) *CustomerManagerDescribeCustomerResourcesParams
- func NewCustomerManagerDescribeCustomerResourcesParamsWithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerResourcesParams
- func NewCustomerManagerDescribeCustomerResourcesParamsWithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetAccessSysID(accessSysID *string)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetContext(ctx context.Context)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetCrID(crID []string)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetCustomerID(customerID []string)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetDefaults()
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetHTTPClient(client *http.Client)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetLimit(limit *string)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetOffset(offset *string)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetReverse(reverse *bool)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetSearchWord(searchWord *string)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetSortKey(sortKey *string)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetStatus(status []string)
- func (o *CustomerManagerDescribeCustomerResourcesParams) SetTimeout(timeout time.Duration)
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithAccessSysID(accessSysID *string) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithContext(ctx context.Context) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithCrID(crID []string) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithCustomerID(customerID []string) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithDefaults() *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithLimit(limit *string) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithOffset(offset *string) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithReverse(reverse *bool) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithSearchWord(searchWord *string) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithSortKey(sortKey *string) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithStatus(status []string) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerResourcesParams
- func (o *CustomerManagerDescribeCustomerResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerManagerDescribeCustomerResourcesReader
- type CustomerManagerDescribeCustomerResourcesTransDefault
- func (o *CustomerManagerDescribeCustomerResourcesTransDefault) Code() int
- func (o *CustomerManagerDescribeCustomerResourcesTransDefault) Error() string
- func (o *CustomerManagerDescribeCustomerResourcesTransDefault) GetPayload() *models.RuntimeError
- func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsClientError() bool
- func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsCode(code int) bool
- func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsRedirect() bool
- func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsServerError() bool
- func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsSuccess() bool
- func (o *CustomerManagerDescribeCustomerResourcesTransDefault) String() string
- type CustomerManagerDescribeCustomerResourcesTransOK
- func (o *CustomerManagerDescribeCustomerResourcesTransOK) Error() string
- func (o *CustomerManagerDescribeCustomerResourcesTransOK) GetPayload() *models.NewbillingDescribeCustomerResourcesTransResponse
- func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsClientError() bool
- func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsCode(code int) bool
- func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsRedirect() bool
- func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsServerError() bool
- func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsSuccess() bool
- func (o *CustomerManagerDescribeCustomerResourcesTransOK) String() string
- type CustomerManagerDescribeCustomerResourcesTransParams
- func NewCustomerManagerDescribeCustomerResourcesTransParams() *CustomerManagerDescribeCustomerResourcesTransParams
- func NewCustomerManagerDescribeCustomerResourcesTransParamsWithContext(ctx context.Context) *CustomerManagerDescribeCustomerResourcesTransParams
- func NewCustomerManagerDescribeCustomerResourcesTransParamsWithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerResourcesTransParams
- func NewCustomerManagerDescribeCustomerResourcesTransParamsWithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetAttrID(attrID []string)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetContext(ctx context.Context)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetCrID(crID []string)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetCustomerID(customerID []string)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetDefaults()
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetHTTPClient(client *http.Client)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetLimit(limit *string)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetMaxTime(maxTime *strfmt.DateTime)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetMinTime(minTime *strfmt.DateTime)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetOffset(offset *string)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetOrderID(orderID []string)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetReverse(reverse *bool)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetSearchWord(searchWord *string)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetSortKey(sortKey *string)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetTimeout(timeout time.Duration)
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithAttrID(attrID []string) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithContext(ctx context.Context) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithCrID(crID []string) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithCustomerID(customerID []string) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithDefaults() *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithLimit(limit *string) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithMaxTime(maxTime *strfmt.DateTime) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithMinTime(minTime *strfmt.DateTime) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithOffset(offset *string) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithOrderID(orderID []string) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithReverse(reverse *bool) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithSearchWord(searchWord *string) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithSortKey(sortKey *string) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerResourcesTransParams
- func (o *CustomerManagerDescribeCustomerResourcesTransParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerManagerDescribeCustomerResourcesTransReader
- type CustomerManagerDescribeCustomersDefault
- func (o *CustomerManagerDescribeCustomersDefault) Code() int
- func (o *CustomerManagerDescribeCustomersDefault) Error() string
- func (o *CustomerManagerDescribeCustomersDefault) GetPayload() *models.RuntimeError
- func (o *CustomerManagerDescribeCustomersDefault) IsClientError() bool
- func (o *CustomerManagerDescribeCustomersDefault) IsCode(code int) bool
- func (o *CustomerManagerDescribeCustomersDefault) IsRedirect() bool
- func (o *CustomerManagerDescribeCustomersDefault) IsServerError() bool
- func (o *CustomerManagerDescribeCustomersDefault) IsSuccess() bool
- func (o *CustomerManagerDescribeCustomersDefault) String() string
- type CustomerManagerDescribeCustomersOK
- func (o *CustomerManagerDescribeCustomersOK) Error() string
- func (o *CustomerManagerDescribeCustomersOK) GetPayload() *models.NewbillingDescribeCustomersResponse
- func (o *CustomerManagerDescribeCustomersOK) IsClientError() bool
- func (o *CustomerManagerDescribeCustomersOK) IsCode(code int) bool
- func (o *CustomerManagerDescribeCustomersOK) IsRedirect() bool
- func (o *CustomerManagerDescribeCustomersOK) IsServerError() bool
- func (o *CustomerManagerDescribeCustomersOK) IsSuccess() bool
- func (o *CustomerManagerDescribeCustomersOK) String() string
- type CustomerManagerDescribeCustomersParams
- func NewCustomerManagerDescribeCustomersParams() *CustomerManagerDescribeCustomersParams
- func NewCustomerManagerDescribeCustomersParamsWithContext(ctx context.Context) *CustomerManagerDescribeCustomersParams
- func NewCustomerManagerDescribeCustomersParamsWithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomersParams
- func NewCustomerManagerDescribeCustomersParamsWithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) SetContext(ctx context.Context)
- func (o *CustomerManagerDescribeCustomersParams) SetCustomerID(customerID []string)
- func (o *CustomerManagerDescribeCustomersParams) SetDefaults()
- func (o *CustomerManagerDescribeCustomersParams) SetHTTPClient(client *http.Client)
- func (o *CustomerManagerDescribeCustomersParams) SetIsParent(isParent *bool)
- func (o *CustomerManagerDescribeCustomersParams) SetLimit(limit *string)
- func (o *CustomerManagerDescribeCustomersParams) SetName(name []string)
- func (o *CustomerManagerDescribeCustomersParams) SetOffset(offset *string)
- func (o *CustomerManagerDescribeCustomersParams) SetParentCustomerID(parentCustomerID []string)
- func (o *CustomerManagerDescribeCustomersParams) SetReverse(reverse *bool)
- func (o *CustomerManagerDescribeCustomersParams) SetSearchWord(searchWord *string)
- func (o *CustomerManagerDescribeCustomersParams) SetSortKey(sortKey *string)
- func (o *CustomerManagerDescribeCustomersParams) SetTimeout(timeout time.Duration)
- func (o *CustomerManagerDescribeCustomersParams) WithContext(ctx context.Context) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithCustomerID(customerID []string) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithDefaults() *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithIsParent(isParent *bool) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithLimit(limit *string) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithName(name []string) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithOffset(offset *string) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithParentCustomerID(parentCustomerID []string) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithReverse(reverse *bool) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithSearchWord(searchWord *string) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithSortKey(sortKey *string) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomersParams
- func (o *CustomerManagerDescribeCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerManagerDescribeCustomersReader
- type CustomerManagerRefundCustomerResourceDefault
- func (o *CustomerManagerRefundCustomerResourceDefault) Code() int
- func (o *CustomerManagerRefundCustomerResourceDefault) Error() string
- func (o *CustomerManagerRefundCustomerResourceDefault) GetPayload() *models.RuntimeError
- func (o *CustomerManagerRefundCustomerResourceDefault) IsClientError() bool
- func (o *CustomerManagerRefundCustomerResourceDefault) IsCode(code int) bool
- func (o *CustomerManagerRefundCustomerResourceDefault) IsRedirect() bool
- func (o *CustomerManagerRefundCustomerResourceDefault) IsServerError() bool
- func (o *CustomerManagerRefundCustomerResourceDefault) IsSuccess() bool
- func (o *CustomerManagerRefundCustomerResourceDefault) String() string
- type CustomerManagerRefundCustomerResourceOK
- func (o *CustomerManagerRefundCustomerResourceOK) Error() string
- func (o *CustomerManagerRefundCustomerResourceOK) GetPayload() *models.NewbillingRefundCustomerResourceResponse
- func (o *CustomerManagerRefundCustomerResourceOK) IsClientError() bool
- func (o *CustomerManagerRefundCustomerResourceOK) IsCode(code int) bool
- func (o *CustomerManagerRefundCustomerResourceOK) IsRedirect() bool
- func (o *CustomerManagerRefundCustomerResourceOK) IsServerError() bool
- func (o *CustomerManagerRefundCustomerResourceOK) IsSuccess() bool
- func (o *CustomerManagerRefundCustomerResourceOK) String() string
- type CustomerManagerRefundCustomerResourceParams
- func NewCustomerManagerRefundCustomerResourceParams() *CustomerManagerRefundCustomerResourceParams
- func NewCustomerManagerRefundCustomerResourceParamsWithContext(ctx context.Context) *CustomerManagerRefundCustomerResourceParams
- func NewCustomerManagerRefundCustomerResourceParamsWithHTTPClient(client *http.Client) *CustomerManagerRefundCustomerResourceParams
- func NewCustomerManagerRefundCustomerResourceParamsWithTimeout(timeout time.Duration) *CustomerManagerRefundCustomerResourceParams
- func (o *CustomerManagerRefundCustomerResourceParams) SetBody(body *models.NewbillingRefundCustomerResourceRequest)
- func (o *CustomerManagerRefundCustomerResourceParams) SetContext(ctx context.Context)
- func (o *CustomerManagerRefundCustomerResourceParams) SetDefaults()
- func (o *CustomerManagerRefundCustomerResourceParams) SetHTTPClient(client *http.Client)
- func (o *CustomerManagerRefundCustomerResourceParams) SetTimeout(timeout time.Duration)
- func (o *CustomerManagerRefundCustomerResourceParams) WithBody(body *models.NewbillingRefundCustomerResourceRequest) *CustomerManagerRefundCustomerResourceParams
- func (o *CustomerManagerRefundCustomerResourceParams) WithContext(ctx context.Context) *CustomerManagerRefundCustomerResourceParams
- func (o *CustomerManagerRefundCustomerResourceParams) WithDefaults() *CustomerManagerRefundCustomerResourceParams
- func (o *CustomerManagerRefundCustomerResourceParams) WithHTTPClient(client *http.Client) *CustomerManagerRefundCustomerResourceParams
- func (o *CustomerManagerRefundCustomerResourceParams) WithTimeout(timeout time.Duration) *CustomerManagerRefundCustomerResourceParams
- func (o *CustomerManagerRefundCustomerResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerManagerRefundCustomerResourceReader
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 ¶
func (a *Client) CustomerManagerDescribeCustomerCurrencies(params *CustomerManagerDescribeCustomerCurrenciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerDescribeCustomerCurrenciesOK, error)
CustomerManagerDescribeCustomerCurrencies 客户优惠券s 查询
func (*Client) CustomerManagerDescribeCustomerResources ¶
func (a *Client) CustomerManagerDescribeCustomerResources(params *CustomerManagerDescribeCustomerResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerDescribeCustomerResourcesOK, error)
CustomerManagerDescribeCustomerResources 客户资源s 查询
func (*Client) CustomerManagerDescribeCustomerResourcesTrans ¶
func (a *Client) CustomerManagerDescribeCustomerResourcesTrans(params *CustomerManagerDescribeCustomerResourcesTransParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CustomerManagerDescribeCustomerResourcesTransOK, error)
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 ¶
func (o *CustomerManagerCreateCustomerCurrencyDefault) Code() int
Code gets the status code for the customer manager create customer currency default response
func (*CustomerManagerCreateCustomerCurrencyDefault) Error ¶
func (o *CustomerManagerCreateCustomerCurrencyDefault) Error() string
func (*CustomerManagerCreateCustomerCurrencyDefault) GetPayload ¶
func (o *CustomerManagerCreateCustomerCurrencyDefault) GetPayload() *models.RuntimeError
func (*CustomerManagerCreateCustomerCurrencyDefault) IsClientError ¶
func (o *CustomerManagerCreateCustomerCurrencyDefault) IsClientError() bool
IsClientError returns true when this customer manager create customer currency default response has a 4xx status code
func (*CustomerManagerCreateCustomerCurrencyDefault) IsCode ¶
func (o *CustomerManagerCreateCustomerCurrencyDefault) IsCode(code int) bool
IsCode returns true when this customer manager create customer currency default response a status code equal to that given
func (*CustomerManagerCreateCustomerCurrencyDefault) IsRedirect ¶
func (o *CustomerManagerCreateCustomerCurrencyDefault) IsRedirect() bool
IsRedirect returns true when this customer manager create customer currency default response has a 3xx status code
func (*CustomerManagerCreateCustomerCurrencyDefault) IsServerError ¶
func (o *CustomerManagerCreateCustomerCurrencyDefault) IsServerError() bool
IsServerError returns true when this customer manager create customer currency default response has a 5xx status code
func (*CustomerManagerCreateCustomerCurrencyDefault) IsSuccess ¶
func (o *CustomerManagerCreateCustomerCurrencyDefault) IsSuccess() bool
IsSuccess returns true when this customer manager create customer currency default response has a 2xx status code
func (*CustomerManagerCreateCustomerCurrencyDefault) String ¶
func (o *CustomerManagerCreateCustomerCurrencyDefault) String() 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 (o *CustomerManagerCreateCustomerCurrencyOK) Error() string
func (*CustomerManagerCreateCustomerCurrencyOK) GetPayload ¶
func (o *CustomerManagerCreateCustomerCurrencyOK) GetPayload() *models.NewbillingCreateCustomerCurrencyResponse
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 ¶
func (o *CustomerManagerCreateCustomerCurrencyOK) IsCode(code int) bool
IsCode returns true when this customer manager create customer currency o k response a status code equal to that given
func (*CustomerManagerCreateCustomerCurrencyOK) IsRedirect ¶
func (o *CustomerManagerCreateCustomerCurrencyOK) IsRedirect() bool
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 ¶
func (o *CustomerManagerCreateCustomerCurrencyOK) IsSuccess() bool
IsSuccess returns true when this customer manager create customer currency o k response has a 2xx status code
func (*CustomerManagerCreateCustomerCurrencyOK) String ¶
func (o *CustomerManagerCreateCustomerCurrencyOK) String() 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 ¶
func (o *CustomerManagerCreateCustomerCurrencyParams) SetBody(body *models.NewbillingCreateCustomerCurrencyRequest)
SetBody adds the body to the customer manager create customer currency params
func (*CustomerManagerCreateCustomerCurrencyParams) SetContext ¶
func (o *CustomerManagerCreateCustomerCurrencyParams) SetContext(ctx context.Context)
SetContext adds the context to the customer manager create customer currency params
func (*CustomerManagerCreateCustomerCurrencyParams) SetDefaults ¶
func (o *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 ¶
func (o *CustomerManagerCreateCustomerCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer manager create customer currency params
func (*CustomerManagerCreateCustomerCurrencyParams) WithBody ¶
func (o *CustomerManagerCreateCustomerCurrencyParams) WithBody(body *models.NewbillingCreateCustomerCurrencyRequest) *CustomerManagerCreateCustomerCurrencyParams
WithBody adds the body to the customer manager create customer currency params
func (*CustomerManagerCreateCustomerCurrencyParams) WithContext ¶
func (o *CustomerManagerCreateCustomerCurrencyParams) WithContext(ctx context.Context) *CustomerManagerCreateCustomerCurrencyParams
WithContext adds the context to the customer manager create customer currency params
func (*CustomerManagerCreateCustomerCurrencyParams) WithDefaults ¶
func (o *CustomerManagerCreateCustomerCurrencyParams) WithDefaults() *CustomerManagerCreateCustomerCurrencyParams
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 ¶
func (o *CustomerManagerCreateCustomerCurrencyParams) WithHTTPClient(client *http.Client) *CustomerManagerCreateCustomerCurrencyParams
WithHTTPClient adds the HTTPClient to the customer manager create customer currency params
func (*CustomerManagerCreateCustomerCurrencyParams) WithTimeout ¶
func (o *CustomerManagerCreateCustomerCurrencyParams) WithTimeout(timeout time.Duration) *CustomerManagerCreateCustomerCurrencyParams
WithTimeout adds the timeout to the customer manager create customer currency params
func (*CustomerManagerCreateCustomerCurrencyParams) WriteToRequest ¶
func (o *CustomerManagerCreateCustomerCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CustomerManagerCreateOrUpdateCustomerDefault) Code() int
Code gets the status code for the customer manager create or update customer default response
func (*CustomerManagerCreateOrUpdateCustomerDefault) Error ¶
func (o *CustomerManagerCreateOrUpdateCustomerDefault) Error() string
func (*CustomerManagerCreateOrUpdateCustomerDefault) GetPayload ¶
func (o *CustomerManagerCreateOrUpdateCustomerDefault) GetPayload() *models.RuntimeError
func (*CustomerManagerCreateOrUpdateCustomerDefault) IsClientError ¶
func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsClientError() bool
IsClientError returns true when this customer manager create or update customer default response has a 4xx status code
func (*CustomerManagerCreateOrUpdateCustomerDefault) IsCode ¶
func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsCode(code int) bool
IsCode returns true when this customer manager create or update customer default response a status code equal to that given
func (*CustomerManagerCreateOrUpdateCustomerDefault) IsRedirect ¶
func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsRedirect() bool
IsRedirect returns true when this customer manager create or update customer default response has a 3xx status code
func (*CustomerManagerCreateOrUpdateCustomerDefault) IsServerError ¶
func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsServerError() bool
IsServerError returns true when this customer manager create or update customer default response has a 5xx status code
func (*CustomerManagerCreateOrUpdateCustomerDefault) IsSuccess ¶
func (o *CustomerManagerCreateOrUpdateCustomerDefault) IsSuccess() bool
IsSuccess returns true when this customer manager create or update customer default response has a 2xx status code
func (*CustomerManagerCreateOrUpdateCustomerDefault) String ¶
func (o *CustomerManagerCreateOrUpdateCustomerDefault) String() 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 (o *CustomerManagerCreateOrUpdateCustomerOK) Error() string
func (*CustomerManagerCreateOrUpdateCustomerOK) GetPayload ¶
func (o *CustomerManagerCreateOrUpdateCustomerOK) GetPayload() *models.NewbillingCreateOrUpdateCustomerResponse
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 ¶
func (o *CustomerManagerCreateOrUpdateCustomerOK) IsCode(code int) bool
IsCode returns true when this customer manager create or update customer o k response a status code equal to that given
func (*CustomerManagerCreateOrUpdateCustomerOK) IsRedirect ¶
func (o *CustomerManagerCreateOrUpdateCustomerOK) IsRedirect() bool
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 ¶
func (o *CustomerManagerCreateOrUpdateCustomerOK) IsSuccess() bool
IsSuccess returns true when this customer manager create or update customer o k response has a 2xx status code
func (*CustomerManagerCreateOrUpdateCustomerOK) String ¶
func (o *CustomerManagerCreateOrUpdateCustomerOK) String() 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 ¶
func (o *CustomerManagerCreateOrUpdateCustomerParams) SetBody(body *models.NewbillingCreateOrUpdateCustomerRequest)
SetBody adds the body to the customer manager create or update customer params
func (*CustomerManagerCreateOrUpdateCustomerParams) SetContext ¶
func (o *CustomerManagerCreateOrUpdateCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the customer manager create or update customer params
func (*CustomerManagerCreateOrUpdateCustomerParams) SetDefaults ¶
func (o *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 ¶
func (o *CustomerManagerCreateOrUpdateCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer manager create or update customer params
func (*CustomerManagerCreateOrUpdateCustomerParams) WithBody ¶
func (o *CustomerManagerCreateOrUpdateCustomerParams) WithBody(body *models.NewbillingCreateOrUpdateCustomerRequest) *CustomerManagerCreateOrUpdateCustomerParams
WithBody adds the body to the customer manager create or update customer params
func (*CustomerManagerCreateOrUpdateCustomerParams) WithContext ¶
func (o *CustomerManagerCreateOrUpdateCustomerParams) WithContext(ctx context.Context) *CustomerManagerCreateOrUpdateCustomerParams
WithContext adds the context to the customer manager create or update customer params
func (*CustomerManagerCreateOrUpdateCustomerParams) WithDefaults ¶
func (o *CustomerManagerCreateOrUpdateCustomerParams) WithDefaults() *CustomerManagerCreateOrUpdateCustomerParams
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 ¶
func (o *CustomerManagerCreateOrUpdateCustomerParams) WithHTTPClient(client *http.Client) *CustomerManagerCreateOrUpdateCustomerParams
WithHTTPClient adds the HTTPClient to the customer manager create or update customer params
func (*CustomerManagerCreateOrUpdateCustomerParams) WithTimeout ¶
func (o *CustomerManagerCreateOrUpdateCustomerParams) WithTimeout(timeout time.Duration) *CustomerManagerCreateOrUpdateCustomerParams
WithTimeout adds the timeout to the customer manager create or update customer params
func (*CustomerManagerCreateOrUpdateCustomerParams) WriteToRequest ¶
func (o *CustomerManagerCreateOrUpdateCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CustomerManagerDescribeCustomerCurrenciesDefault) Code() int
Code gets the status code for the customer manager describe customer currencies default response
func (*CustomerManagerDescribeCustomerCurrenciesDefault) Error ¶
func (o *CustomerManagerDescribeCustomerCurrenciesDefault) Error() string
func (*CustomerManagerDescribeCustomerCurrenciesDefault) GetPayload ¶
func (o *CustomerManagerDescribeCustomerCurrenciesDefault) GetPayload() *models.RuntimeError
func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsClientError ¶
func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsClientError() bool
IsClientError returns true when this customer manager describe customer currencies default response has a 4xx status code
func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsCode ¶
func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsCode(code int) bool
IsCode returns true when this customer manager describe customer currencies default response a status code equal to that given
func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsRedirect ¶
func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsRedirect() bool
IsRedirect returns true when this customer manager describe customer currencies default response has a 3xx status code
func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsServerError ¶
func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsServerError() bool
IsServerError returns true when this customer manager describe customer currencies default response has a 5xx status code
func (*CustomerManagerDescribeCustomerCurrenciesDefault) IsSuccess ¶
func (o *CustomerManagerDescribeCustomerCurrenciesDefault) IsSuccess() bool
IsSuccess returns true when this customer manager describe customer currencies default response has a 2xx status code
func (*CustomerManagerDescribeCustomerCurrenciesDefault) String ¶
func (o *CustomerManagerDescribeCustomerCurrenciesDefault) String() 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 (o *CustomerManagerDescribeCustomerCurrenciesOK) Error() string
func (*CustomerManagerDescribeCustomerCurrenciesOK) GetPayload ¶
func (o *CustomerManagerDescribeCustomerCurrenciesOK) GetPayload() *models.NewbillingDescribeCustomerCurrenciesResponse
func (*CustomerManagerDescribeCustomerCurrenciesOK) IsClientError ¶
func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsClientError() bool
IsClientError returns true when this customer manager describe customer currencies o k response has a 4xx status code
func (*CustomerManagerDescribeCustomerCurrenciesOK) IsCode ¶
func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsCode(code int) bool
IsCode returns true when this customer manager describe customer currencies o k response a status code equal to that given
func (*CustomerManagerDescribeCustomerCurrenciesOK) IsRedirect ¶
func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsRedirect() bool
IsRedirect returns true when this customer manager describe customer currencies o k response has a 3xx status code
func (*CustomerManagerDescribeCustomerCurrenciesOK) IsServerError ¶
func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsServerError() bool
IsServerError returns true when this customer manager describe customer currencies o k response has a 5xx status code
func (*CustomerManagerDescribeCustomerCurrenciesOK) IsSuccess ¶
func (o *CustomerManagerDescribeCustomerCurrenciesOK) IsSuccess() bool
IsSuccess returns true when this customer manager describe customer currencies o k response has a 2xx status code
func (*CustomerManagerDescribeCustomerCurrenciesOK) String ¶
func (o *CustomerManagerDescribeCustomerCurrenciesOK) String() 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 ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetContext(ctx context.Context)
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 ¶
func (o *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 ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) SetLimit ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetLimit(limit *string)
SetLimit adds the limit to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) SetOffset ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetOffset(offset *string)
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 ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetSortKey(sortKey *string)
SetSortKey adds the sortKey to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) SetStatus ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetStatus(status []string)
SetStatus adds the status to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) SetTimeout ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithAccessSysID ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithAccessSysID(accessSysID *string) *CustomerManagerDescribeCustomerCurrenciesParams
WithAccessSysID adds the accessSysID to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithContext ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithContext(ctx context.Context) *CustomerManagerDescribeCustomerCurrenciesParams
WithContext adds the context to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithCurrencyType ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithCurrencyType(currencyType []string) *CustomerManagerDescribeCustomerCurrenciesParams
WithCurrencyType adds the currencyType to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithCustomerID ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithCustomerID(customerID []string) *CustomerManagerDescribeCustomerCurrenciesParams
WithCustomerID adds the customerID to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithDefaults ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithDefaults() *CustomerManagerDescribeCustomerCurrenciesParams
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 ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerCurrenciesParams
WithHTTPClient adds the HTTPClient to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithLimit ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithLimit(limit *string) *CustomerManagerDescribeCustomerCurrenciesParams
WithLimit adds the limit to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithOffset ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithOffset(offset *string) *CustomerManagerDescribeCustomerCurrenciesParams
WithOffset adds the offset to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithReverse ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithReverse(reverse *bool) *CustomerManagerDescribeCustomerCurrenciesParams
WithReverse adds the reverse to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithSearchWord ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithSearchWord(searchWord *string) *CustomerManagerDescribeCustomerCurrenciesParams
WithSearchWord adds the searchWord to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithSortKey ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithSortKey(sortKey *string) *CustomerManagerDescribeCustomerCurrenciesParams
WithSortKey adds the sortKey to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithStatus ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithStatus(status []string) *CustomerManagerDescribeCustomerCurrenciesParams
WithStatus adds the status to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WithTimeout ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerCurrenciesParams
WithTimeout adds the timeout to the customer manager describe customer currencies params
func (*CustomerManagerDescribeCustomerCurrenciesParams) WriteToRequest ¶
func (o *CustomerManagerDescribeCustomerCurrenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CustomerManagerDescribeCustomerResourcesDefault) Code() int
Code gets the status code for the customer manager describe customer resources default response
func (*CustomerManagerDescribeCustomerResourcesDefault) Error ¶
func (o *CustomerManagerDescribeCustomerResourcesDefault) Error() string
func (*CustomerManagerDescribeCustomerResourcesDefault) GetPayload ¶
func (o *CustomerManagerDescribeCustomerResourcesDefault) GetPayload() *models.RuntimeError
func (*CustomerManagerDescribeCustomerResourcesDefault) IsClientError ¶
func (o *CustomerManagerDescribeCustomerResourcesDefault) IsClientError() bool
IsClientError returns true when this customer manager describe customer resources default response has a 4xx status code
func (*CustomerManagerDescribeCustomerResourcesDefault) IsCode ¶
func (o *CustomerManagerDescribeCustomerResourcesDefault) IsCode(code int) bool
IsCode returns true when this customer manager describe customer resources default response a status code equal to that given
func (*CustomerManagerDescribeCustomerResourcesDefault) IsRedirect ¶
func (o *CustomerManagerDescribeCustomerResourcesDefault) IsRedirect() bool
IsRedirect returns true when this customer manager describe customer resources default response has a 3xx status code
func (*CustomerManagerDescribeCustomerResourcesDefault) IsServerError ¶
func (o *CustomerManagerDescribeCustomerResourcesDefault) IsServerError() bool
IsServerError returns true when this customer manager describe customer resources default response has a 5xx status code
func (*CustomerManagerDescribeCustomerResourcesDefault) IsSuccess ¶
func (o *CustomerManagerDescribeCustomerResourcesDefault) IsSuccess() bool
IsSuccess returns true when this customer manager describe customer resources default response has a 2xx status code
func (*CustomerManagerDescribeCustomerResourcesDefault) String ¶
func (o *CustomerManagerDescribeCustomerResourcesDefault) String() 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 (o *CustomerManagerDescribeCustomerResourcesOK) Error() string
func (*CustomerManagerDescribeCustomerResourcesOK) GetPayload ¶
func (o *CustomerManagerDescribeCustomerResourcesOK) GetPayload() *models.NewbillingDescribeCustomerResourcesResponse
func (*CustomerManagerDescribeCustomerResourcesOK) IsClientError ¶
func (o *CustomerManagerDescribeCustomerResourcesOK) IsClientError() bool
IsClientError returns true when this customer manager describe customer resources o k response has a 4xx status code
func (*CustomerManagerDescribeCustomerResourcesOK) IsCode ¶
func (o *CustomerManagerDescribeCustomerResourcesOK) IsCode(code int) bool
IsCode returns true when this customer manager describe customer resources o k response a status code equal to that given
func (*CustomerManagerDescribeCustomerResourcesOK) IsRedirect ¶
func (o *CustomerManagerDescribeCustomerResourcesOK) IsRedirect() bool
IsRedirect returns true when this customer manager describe customer resources o k response has a 3xx status code
func (*CustomerManagerDescribeCustomerResourcesOK) IsServerError ¶
func (o *CustomerManagerDescribeCustomerResourcesOK) IsServerError() bool
IsServerError returns true when this customer manager describe customer resources o k response has a 5xx status code
func (*CustomerManagerDescribeCustomerResourcesOK) IsSuccess ¶
func (o *CustomerManagerDescribeCustomerResourcesOK) IsSuccess() bool
IsSuccess returns true when this customer manager describe customer resources o k response has a 2xx status code
func (*CustomerManagerDescribeCustomerResourcesOK) String ¶
func (o *CustomerManagerDescribeCustomerResourcesOK) String() 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 ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) SetContext(ctx context.Context)
SetContext adds the context to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) SetCrID ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) SetCrID(crID []string)
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 ¶
func (o *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 ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) SetLimit ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) SetLimit(limit *string)
SetLimit adds the limit to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) SetOffset ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) SetOffset(offset *string)
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 ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) SetSortKey(sortKey *string)
SetSortKey adds the sortKey to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) SetStatus ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) SetStatus(status []string)
SetStatus adds the status to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) SetTimeout ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithAccessSysID ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithAccessSysID(accessSysID *string) *CustomerManagerDescribeCustomerResourcesParams
WithAccessSysID adds the accessSysID to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithContext ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithContext(ctx context.Context) *CustomerManagerDescribeCustomerResourcesParams
WithContext adds the context to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithCrID ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithCrID(crID []string) *CustomerManagerDescribeCustomerResourcesParams
WithCrID adds the crID to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithCustomerID ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithCustomerID(customerID []string) *CustomerManagerDescribeCustomerResourcesParams
WithCustomerID adds the customerID to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithDefaults ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithDefaults() *CustomerManagerDescribeCustomerResourcesParams
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 ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerResourcesParams
WithHTTPClient adds the HTTPClient to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithLimit ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithLimit(limit *string) *CustomerManagerDescribeCustomerResourcesParams
WithLimit adds the limit to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithOffset ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithOffset(offset *string) *CustomerManagerDescribeCustomerResourcesParams
WithOffset adds the offset to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithReverse ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithReverse(reverse *bool) *CustomerManagerDescribeCustomerResourcesParams
WithReverse adds the reverse to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithSearchWord ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithSearchWord(searchWord *string) *CustomerManagerDescribeCustomerResourcesParams
WithSearchWord adds the searchWord to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithSortKey ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithSortKey(sortKey *string) *CustomerManagerDescribeCustomerResourcesParams
WithSortKey adds the sortKey to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithStatus ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithStatus(status []string) *CustomerManagerDescribeCustomerResourcesParams
WithStatus adds the status to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WithTimeout ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerResourcesParams
WithTimeout adds the timeout to the customer manager describe customer resources params
func (*CustomerManagerDescribeCustomerResourcesParams) WriteToRequest ¶
func (o *CustomerManagerDescribeCustomerResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CustomerManagerDescribeCustomerResourcesTransDefault) Code() int
Code gets the status code for the customer manager describe customer resources trans default response
func (*CustomerManagerDescribeCustomerResourcesTransDefault) Error ¶
func (o *CustomerManagerDescribeCustomerResourcesTransDefault) Error() string
func (*CustomerManagerDescribeCustomerResourcesTransDefault) GetPayload ¶
func (o *CustomerManagerDescribeCustomerResourcesTransDefault) GetPayload() *models.RuntimeError
func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsClientError ¶
func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsClientError() bool
IsClientError returns true when this customer manager describe customer resources trans default response has a 4xx status code
func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsCode ¶
func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsCode(code int) bool
IsCode returns true when this customer manager describe customer resources trans default response a status code equal to that given
func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsRedirect ¶
func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsRedirect() bool
IsRedirect returns true when this customer manager describe customer resources trans default response has a 3xx status code
func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsServerError ¶
func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsServerError() bool
IsServerError returns true when this customer manager describe customer resources trans default response has a 5xx status code
func (*CustomerManagerDescribeCustomerResourcesTransDefault) IsSuccess ¶
func (o *CustomerManagerDescribeCustomerResourcesTransDefault) IsSuccess() bool
IsSuccess returns true when this customer manager describe customer resources trans default response has a 2xx status code
func (*CustomerManagerDescribeCustomerResourcesTransDefault) String ¶
func (o *CustomerManagerDescribeCustomerResourcesTransDefault) String() 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 (o *CustomerManagerDescribeCustomerResourcesTransOK) Error() string
func (*CustomerManagerDescribeCustomerResourcesTransOK) GetPayload ¶
func (o *CustomerManagerDescribeCustomerResourcesTransOK) GetPayload() *models.NewbillingDescribeCustomerResourcesTransResponse
func (*CustomerManagerDescribeCustomerResourcesTransOK) IsClientError ¶
func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsClientError() bool
IsClientError returns true when this customer manager describe customer resources trans o k response has a 4xx status code
func (*CustomerManagerDescribeCustomerResourcesTransOK) IsCode ¶
func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsCode(code int) bool
IsCode returns true when this customer manager describe customer resources trans o k response a status code equal to that given
func (*CustomerManagerDescribeCustomerResourcesTransOK) IsRedirect ¶
func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsRedirect() bool
IsRedirect returns true when this customer manager describe customer resources trans o k response has a 3xx status code
func (*CustomerManagerDescribeCustomerResourcesTransOK) IsServerError ¶
func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsServerError() bool
IsServerError returns true when this customer manager describe customer resources trans o k response has a 5xx status code
func (*CustomerManagerDescribeCustomerResourcesTransOK) IsSuccess ¶
func (o *CustomerManagerDescribeCustomerResourcesTransOK) IsSuccess() bool
IsSuccess returns true when this customer manager describe customer resources trans o k response has a 2xx status code
func (*CustomerManagerDescribeCustomerResourcesTransOK) String ¶
func (o *CustomerManagerDescribeCustomerResourcesTransOK) String() 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 ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetAttrID(attrID []string)
SetAttrID adds the attrId to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) SetContext ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetContext(ctx context.Context)
SetContext adds the context to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) SetCrID ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetCrID(crID []string)
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 ¶
func (o *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 ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) SetLimit ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetLimit(limit *string)
SetLimit adds the limit to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) SetMaxTime ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetMaxTime(maxTime *strfmt.DateTime)
SetMaxTime adds the maxTime to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) SetMinTime ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetMinTime(minTime *strfmt.DateTime)
SetMinTime adds the minTime to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) SetOffset ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetOffset(offset *string)
SetOffset adds the offset to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) SetOrderID ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetOrderID(orderID []string)
SetOrderID adds the orderId to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) SetReverse ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetReverse(reverse *bool)
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 ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetSortKey(sortKey *string)
SetSortKey adds the sortKey to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) SetTimeout ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithAttrID ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithAttrID(attrID []string) *CustomerManagerDescribeCustomerResourcesTransParams
WithAttrID adds the attrID to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithContext ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithContext(ctx context.Context) *CustomerManagerDescribeCustomerResourcesTransParams
WithContext adds the context to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithCrID ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithCrID(crID []string) *CustomerManagerDescribeCustomerResourcesTransParams
WithCrID adds the crID to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithCustomerID ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithCustomerID(customerID []string) *CustomerManagerDescribeCustomerResourcesTransParams
WithCustomerID adds the customerID to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithDefaults ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithDefaults() *CustomerManagerDescribeCustomerResourcesTransParams
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 ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomerResourcesTransParams
WithHTTPClient adds the HTTPClient to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithLimit ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithLimit(limit *string) *CustomerManagerDescribeCustomerResourcesTransParams
WithLimit adds the limit to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithMaxTime ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithMaxTime(maxTime *strfmt.DateTime) *CustomerManagerDescribeCustomerResourcesTransParams
WithMaxTime adds the maxTime to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithMinTime ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithMinTime(minTime *strfmt.DateTime) *CustomerManagerDescribeCustomerResourcesTransParams
WithMinTime adds the minTime to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithOffset ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithOffset(offset *string) *CustomerManagerDescribeCustomerResourcesTransParams
WithOffset adds the offset to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithOrderID ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithOrderID(orderID []string) *CustomerManagerDescribeCustomerResourcesTransParams
WithOrderID adds the orderID to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithReverse ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithReverse(reverse *bool) *CustomerManagerDescribeCustomerResourcesTransParams
WithReverse adds the reverse to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithSearchWord ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithSearchWord(searchWord *string) *CustomerManagerDescribeCustomerResourcesTransParams
WithSearchWord adds the searchWord to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithSortKey ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithSortKey(sortKey *string) *CustomerManagerDescribeCustomerResourcesTransParams
WithSortKey adds the sortKey to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WithTimeout ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomerResourcesTransParams
WithTimeout adds the timeout to the customer manager describe customer resources trans params
func (*CustomerManagerDescribeCustomerResourcesTransParams) WriteToRequest ¶
func (o *CustomerManagerDescribeCustomerResourcesTransParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CustomerManagerDescribeCustomersDefault) Code() int
Code gets the status code for the customer manager describe customers default response
func (*CustomerManagerDescribeCustomersDefault) Error ¶
func (o *CustomerManagerDescribeCustomersDefault) Error() string
func (*CustomerManagerDescribeCustomersDefault) GetPayload ¶
func (o *CustomerManagerDescribeCustomersDefault) GetPayload() *models.RuntimeError
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 ¶
func (o *CustomerManagerDescribeCustomersDefault) IsCode(code int) bool
IsCode returns true when this customer manager describe customers default response a status code equal to that given
func (*CustomerManagerDescribeCustomersDefault) IsRedirect ¶
func (o *CustomerManagerDescribeCustomersDefault) IsRedirect() bool
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 ¶
func (o *CustomerManagerDescribeCustomersDefault) IsSuccess() bool
IsSuccess returns true when this customer manager describe customers default response has a 2xx status code
func (*CustomerManagerDescribeCustomersDefault) String ¶
func (o *CustomerManagerDescribeCustomersDefault) String() 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 (o *CustomerManagerDescribeCustomersOK) Error() string
func (*CustomerManagerDescribeCustomersOK) GetPayload ¶
func (o *CustomerManagerDescribeCustomersOK) GetPayload() *models.NewbillingDescribeCustomersResponse
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 ¶
func (o *CustomerManagerDescribeCustomersOK) IsCode(code int) bool
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 ¶
func (o *CustomerManagerDescribeCustomersOK) IsSuccess() bool
IsSuccess returns true when this customer manager describe customers o k response has a 2xx status code
func (*CustomerManagerDescribeCustomersOK) String ¶
func (o *CustomerManagerDescribeCustomersOK) String() 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 ¶
func (o *CustomerManagerDescribeCustomersParams) SetContext(ctx context.Context)
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 ¶
func (o *CustomerManagerDescribeCustomersParams) SetName(name []string)
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 ¶
func (o *CustomerManagerDescribeCustomersParams) WithContext(ctx context.Context) *CustomerManagerDescribeCustomersParams
WithContext adds the context to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WithCustomerID ¶
func (o *CustomerManagerDescribeCustomersParams) WithCustomerID(customerID []string) *CustomerManagerDescribeCustomersParams
WithCustomerID adds the customerID to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WithDefaults ¶
func (o *CustomerManagerDescribeCustomersParams) WithDefaults() *CustomerManagerDescribeCustomersParams
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 ¶
func (o *CustomerManagerDescribeCustomersParams) WithHTTPClient(client *http.Client) *CustomerManagerDescribeCustomersParams
WithHTTPClient adds the HTTPClient to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WithIsParent ¶
func (o *CustomerManagerDescribeCustomersParams) WithIsParent(isParent *bool) *CustomerManagerDescribeCustomersParams
WithIsParent adds the isParent to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WithLimit ¶
func (o *CustomerManagerDescribeCustomersParams) WithLimit(limit *string) *CustomerManagerDescribeCustomersParams
WithLimit adds the limit to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WithName ¶
func (o *CustomerManagerDescribeCustomersParams) WithName(name []string) *CustomerManagerDescribeCustomersParams
WithName adds the name to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WithOffset ¶
func (o *CustomerManagerDescribeCustomersParams) WithOffset(offset *string) *CustomerManagerDescribeCustomersParams
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 ¶
func (o *CustomerManagerDescribeCustomersParams) WithReverse(reverse *bool) *CustomerManagerDescribeCustomersParams
WithReverse adds the reverse to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WithSearchWord ¶
func (o *CustomerManagerDescribeCustomersParams) WithSearchWord(searchWord *string) *CustomerManagerDescribeCustomersParams
WithSearchWord adds the searchWord to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WithSortKey ¶
func (o *CustomerManagerDescribeCustomersParams) WithSortKey(sortKey *string) *CustomerManagerDescribeCustomersParams
WithSortKey adds the sortKey to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WithTimeout ¶
func (o *CustomerManagerDescribeCustomersParams) WithTimeout(timeout time.Duration) *CustomerManagerDescribeCustomersParams
WithTimeout adds the timeout to the customer manager describe customers params
func (*CustomerManagerDescribeCustomersParams) WriteToRequest ¶
func (o *CustomerManagerDescribeCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CustomerManagerRefundCustomerResourceDefault) Code() int
Code gets the status code for the customer manager refund customer resource default response
func (*CustomerManagerRefundCustomerResourceDefault) Error ¶
func (o *CustomerManagerRefundCustomerResourceDefault) Error() string
func (*CustomerManagerRefundCustomerResourceDefault) GetPayload ¶
func (o *CustomerManagerRefundCustomerResourceDefault) GetPayload() *models.RuntimeError
func (*CustomerManagerRefundCustomerResourceDefault) IsClientError ¶
func (o *CustomerManagerRefundCustomerResourceDefault) IsClientError() bool
IsClientError returns true when this customer manager refund customer resource default response has a 4xx status code
func (*CustomerManagerRefundCustomerResourceDefault) IsCode ¶
func (o *CustomerManagerRefundCustomerResourceDefault) IsCode(code int) bool
IsCode returns true when this customer manager refund customer resource default response a status code equal to that given
func (*CustomerManagerRefundCustomerResourceDefault) IsRedirect ¶
func (o *CustomerManagerRefundCustomerResourceDefault) IsRedirect() bool
IsRedirect returns true when this customer manager refund customer resource default response has a 3xx status code
func (*CustomerManagerRefundCustomerResourceDefault) IsServerError ¶
func (o *CustomerManagerRefundCustomerResourceDefault) IsServerError() bool
IsServerError returns true when this customer manager refund customer resource default response has a 5xx status code
func (*CustomerManagerRefundCustomerResourceDefault) IsSuccess ¶
func (o *CustomerManagerRefundCustomerResourceDefault) IsSuccess() bool
IsSuccess returns true when this customer manager refund customer resource default response has a 2xx status code
func (*CustomerManagerRefundCustomerResourceDefault) String ¶
func (o *CustomerManagerRefundCustomerResourceDefault) String() 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 (o *CustomerManagerRefundCustomerResourceOK) Error() string
func (*CustomerManagerRefundCustomerResourceOK) GetPayload ¶
func (o *CustomerManagerRefundCustomerResourceOK) GetPayload() *models.NewbillingRefundCustomerResourceResponse
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 ¶
func (o *CustomerManagerRefundCustomerResourceOK) IsCode(code int) bool
IsCode returns true when this customer manager refund customer resource o k response a status code equal to that given
func (*CustomerManagerRefundCustomerResourceOK) IsRedirect ¶
func (o *CustomerManagerRefundCustomerResourceOK) IsRedirect() bool
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 ¶
func (o *CustomerManagerRefundCustomerResourceOK) IsSuccess() bool
IsSuccess returns true when this customer manager refund customer resource o k response has a 2xx status code
func (*CustomerManagerRefundCustomerResourceOK) String ¶
func (o *CustomerManagerRefundCustomerResourceOK) String() 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 ¶
func (o *CustomerManagerRefundCustomerResourceParams) SetBody(body *models.NewbillingRefundCustomerResourceRequest)
SetBody adds the body to the customer manager refund customer resource params
func (*CustomerManagerRefundCustomerResourceParams) SetContext ¶
func (o *CustomerManagerRefundCustomerResourceParams) SetContext(ctx context.Context)
SetContext adds the context to the customer manager refund customer resource params
func (*CustomerManagerRefundCustomerResourceParams) SetDefaults ¶
func (o *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 ¶
func (o *CustomerManagerRefundCustomerResourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer manager refund customer resource params
func (*CustomerManagerRefundCustomerResourceParams) WithBody ¶
func (o *CustomerManagerRefundCustomerResourceParams) WithBody(body *models.NewbillingRefundCustomerResourceRequest) *CustomerManagerRefundCustomerResourceParams
WithBody adds the body to the customer manager refund customer resource params
func (*CustomerManagerRefundCustomerResourceParams) WithContext ¶
func (o *CustomerManagerRefundCustomerResourceParams) WithContext(ctx context.Context) *CustomerManagerRefundCustomerResourceParams
WithContext adds the context to the customer manager refund customer resource params
func (*CustomerManagerRefundCustomerResourceParams) WithDefaults ¶
func (o *CustomerManagerRefundCustomerResourceParams) WithDefaults() *CustomerManagerRefundCustomerResourceParams
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 ¶
func (o *CustomerManagerRefundCustomerResourceParams) WithHTTPClient(client *http.Client) *CustomerManagerRefundCustomerResourceParams
WithHTTPClient adds the HTTPClient to the customer manager refund customer resource params
func (*CustomerManagerRefundCustomerResourceParams) WithTimeout ¶
func (o *CustomerManagerRefundCustomerResourceParams) WithTimeout(timeout time.Duration) *CustomerManagerRefundCustomerResourceParams
WithTimeout adds the timeout to the customer manager refund customer resource params
func (*CustomerManagerRefundCustomerResourceParams) WriteToRequest ¶
func (o *CustomerManagerRefundCustomerResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- customer_manager_client.go
- customer_manager_create_customer_currency_parameters.go
- customer_manager_create_customer_currency_responses.go
- customer_manager_create_or_update_customer_parameters.go
- customer_manager_create_or_update_customer_responses.go
- customer_manager_describe_customer_currencies_parameters.go
- customer_manager_describe_customer_currencies_responses.go
- customer_manager_describe_customer_resources_parameters.go
- customer_manager_describe_customer_resources_responses.go
- customer_manager_describe_customer_resources_trans_parameters.go
- customer_manager_describe_customer_resources_trans_responses.go
- customer_manager_describe_customers_parameters.go
- customer_manager_describe_customers_responses.go
- customer_manager_refund_customer_resource_parameters.go
- customer_manager_refund_customer_resource_responses.go