Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAllBillingCycles(params *GetAllBillingCyclesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAllBillingCyclesOK, error)
- func (a *Client) GetByProductVariantID(params *GetByProductVariantIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetByProductVariantIDOK, error)
- func (a *Client) GetCspNameDictionary(params *GetCspNameDictionaryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCspNameDictionaryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAllBillingCyclesOK
- type GetAllBillingCyclesParams
- func NewGetAllBillingCyclesParams() *GetAllBillingCyclesParams
- func NewGetAllBillingCyclesParamsWithContext(ctx context.Context) *GetAllBillingCyclesParams
- func NewGetAllBillingCyclesParamsWithHTTPClient(client *http.Client) *GetAllBillingCyclesParams
- func NewGetAllBillingCyclesParamsWithTimeout(timeout time.Duration) *GetAllBillingCyclesParams
- func (o *GetAllBillingCyclesParams) SetContext(ctx context.Context)
- func (o *GetAllBillingCyclesParams) SetDefaults()
- func (o *GetAllBillingCyclesParams) SetHTTPClient(client *http.Client)
- func (o *GetAllBillingCyclesParams) SetIncludeUnknown(includeUnknown *bool)
- func (o *GetAllBillingCyclesParams) SetTimeout(timeout time.Duration)
- func (o *GetAllBillingCyclesParams) WithContext(ctx context.Context) *GetAllBillingCyclesParams
- func (o *GetAllBillingCyclesParams) WithDefaults() *GetAllBillingCyclesParams
- func (o *GetAllBillingCyclesParams) WithHTTPClient(client *http.Client) *GetAllBillingCyclesParams
- func (o *GetAllBillingCyclesParams) WithIncludeUnknown(includeUnknown *bool) *GetAllBillingCyclesParams
- func (o *GetAllBillingCyclesParams) WithTimeout(timeout time.Duration) *GetAllBillingCyclesParams
- func (o *GetAllBillingCyclesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllBillingCyclesReader
- type GetByProductVariantIDOK
- type GetByProductVariantIDParams
- func NewGetByProductVariantIDParams() *GetByProductVariantIDParams
- func NewGetByProductVariantIDParamsWithContext(ctx context.Context) *GetByProductVariantIDParams
- func NewGetByProductVariantIDParamsWithHTTPClient(client *http.Client) *GetByProductVariantIDParams
- func NewGetByProductVariantIDParamsWithTimeout(timeout time.Duration) *GetByProductVariantIDParams
- func (o *GetByProductVariantIDParams) SetContext(ctx context.Context)
- func (o *GetByProductVariantIDParams) SetDefaults()
- func (o *GetByProductVariantIDParams) SetHTTPClient(client *http.Client)
- func (o *GetByProductVariantIDParams) SetProductVariantID(productVariantID int32)
- func (o *GetByProductVariantIDParams) SetTimeout(timeout time.Duration)
- func (o *GetByProductVariantIDParams) WithContext(ctx context.Context) *GetByProductVariantIDParams
- func (o *GetByProductVariantIDParams) WithDefaults() *GetByProductVariantIDParams
- func (o *GetByProductVariantIDParams) WithHTTPClient(client *http.Client) *GetByProductVariantIDParams
- func (o *GetByProductVariantIDParams) WithProductVariantID(productVariantID int32) *GetByProductVariantIDParams
- func (o *GetByProductVariantIDParams) WithTimeout(timeout time.Duration) *GetByProductVariantIDParams
- func (o *GetByProductVariantIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetByProductVariantIDReader
- type GetCspNameDictionaryOK
- type GetCspNameDictionaryParams
- func NewGetCspNameDictionaryParams() *GetCspNameDictionaryParams
- func NewGetCspNameDictionaryParamsWithContext(ctx context.Context) *GetCspNameDictionaryParams
- func NewGetCspNameDictionaryParamsWithHTTPClient(client *http.Client) *GetCspNameDictionaryParams
- func NewGetCspNameDictionaryParamsWithTimeout(timeout time.Duration) *GetCspNameDictionaryParams
- func (o *GetCspNameDictionaryParams) SetContext(ctx context.Context)
- func (o *GetCspNameDictionaryParams) SetDefaults()
- func (o *GetCspNameDictionaryParams) SetHTTPClient(client *http.Client)
- func (o *GetCspNameDictionaryParams) SetTimeout(timeout time.Duration)
- func (o *GetCspNameDictionaryParams) WithContext(ctx context.Context) *GetCspNameDictionaryParams
- func (o *GetCspNameDictionaryParams) WithDefaults() *GetCspNameDictionaryParams
- func (o *GetCspNameDictionaryParams) WithHTTPClient(client *http.Client) *GetCspNameDictionaryParams
- func (o *GetCspNameDictionaryParams) WithTimeout(timeout time.Duration) *GetCspNameDictionaryParams
- func (o *GetCspNameDictionaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCspNameDictionaryReader
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 billing cycles API
func (*Client) GetAllBillingCycles ¶
func (a *Client) GetAllBillingCycles(params *GetAllBillingCyclesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllBillingCyclesOK, error)
GetAllBillingCycles get all billing cycles API
func (*Client) GetByProductVariantID ¶
func (a *Client) GetByProductVariantID(params *GetByProductVariantIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByProductVariantIDOK, error)
GetByProductVariantID get by product variant Id API
func (*Client) GetCspNameDictionary ¶
func (a *Client) GetCspNameDictionary(params *GetCspNameDictionaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCspNameDictionaryOK, error)
GetCspNameDictionary get csp name dictionary API
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 { GetAllBillingCycles(params *GetAllBillingCyclesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllBillingCyclesOK, error) GetByProductVariantID(params *GetByProductVariantIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByProductVariantIDOK, error) GetCspNameDictionary(params *GetCspNameDictionaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCspNameDictionaryOK, 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 billing cycles API client.
type GetAllBillingCyclesOK ¶
type GetAllBillingCyclesOK struct {
Payload *models.APICollectionOfBillingCycle
}
GetAllBillingCyclesOK describes a response with status code 200, with default header values.
Success
func NewGetAllBillingCyclesOK ¶
func NewGetAllBillingCyclesOK() *GetAllBillingCyclesOK
NewGetAllBillingCyclesOK creates a GetAllBillingCyclesOK with default headers values
func (*GetAllBillingCyclesOK) Error ¶
func (o *GetAllBillingCyclesOK) Error() string
func (*GetAllBillingCyclesOK) GetPayload ¶
func (o *GetAllBillingCyclesOK) GetPayload() *models.APICollectionOfBillingCycle
type GetAllBillingCyclesParams ¶
type GetAllBillingCyclesParams struct { // IncludeUnknown. IncludeUnknown *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllBillingCyclesParams contains all the parameters to send to the API endpoint
for the get all billing cycles operation. Typically these are written to a http.Request.
func NewGetAllBillingCyclesParams ¶
func NewGetAllBillingCyclesParams() *GetAllBillingCyclesParams
NewGetAllBillingCyclesParams creates a new GetAllBillingCyclesParams 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 NewGetAllBillingCyclesParamsWithContext ¶
func NewGetAllBillingCyclesParamsWithContext(ctx context.Context) *GetAllBillingCyclesParams
NewGetAllBillingCyclesParamsWithContext creates a new GetAllBillingCyclesParams object with the ability to set a context for a request.
func NewGetAllBillingCyclesParamsWithHTTPClient ¶
func NewGetAllBillingCyclesParamsWithHTTPClient(client *http.Client) *GetAllBillingCyclesParams
NewGetAllBillingCyclesParamsWithHTTPClient creates a new GetAllBillingCyclesParams object with the ability to set a custom HTTPClient for a request.
func NewGetAllBillingCyclesParamsWithTimeout ¶
func NewGetAllBillingCyclesParamsWithTimeout(timeout time.Duration) *GetAllBillingCyclesParams
NewGetAllBillingCyclesParamsWithTimeout creates a new GetAllBillingCyclesParams object with the ability to set a timeout on a request.
func (*GetAllBillingCyclesParams) SetContext ¶
func (o *GetAllBillingCyclesParams) SetContext(ctx context.Context)
SetContext adds the context to the get all billing cycles params
func (*GetAllBillingCyclesParams) SetDefaults ¶
func (o *GetAllBillingCyclesParams) SetDefaults()
SetDefaults hydrates default values in the get all billing cycles params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllBillingCyclesParams) SetHTTPClient ¶
func (o *GetAllBillingCyclesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all billing cycles params
func (*GetAllBillingCyclesParams) SetIncludeUnknown ¶
func (o *GetAllBillingCyclesParams) SetIncludeUnknown(includeUnknown *bool)
SetIncludeUnknown adds the includeUnknown to the get all billing cycles params
func (*GetAllBillingCyclesParams) SetTimeout ¶
func (o *GetAllBillingCyclesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all billing cycles params
func (*GetAllBillingCyclesParams) WithContext ¶
func (o *GetAllBillingCyclesParams) WithContext(ctx context.Context) *GetAllBillingCyclesParams
WithContext adds the context to the get all billing cycles params
func (*GetAllBillingCyclesParams) WithDefaults ¶
func (o *GetAllBillingCyclesParams) WithDefaults() *GetAllBillingCyclesParams
WithDefaults hydrates default values in the get all billing cycles params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllBillingCyclesParams) WithHTTPClient ¶
func (o *GetAllBillingCyclesParams) WithHTTPClient(client *http.Client) *GetAllBillingCyclesParams
WithHTTPClient adds the HTTPClient to the get all billing cycles params
func (*GetAllBillingCyclesParams) WithIncludeUnknown ¶
func (o *GetAllBillingCyclesParams) WithIncludeUnknown(includeUnknown *bool) *GetAllBillingCyclesParams
WithIncludeUnknown adds the includeUnknown to the get all billing cycles params
func (*GetAllBillingCyclesParams) WithTimeout ¶
func (o *GetAllBillingCyclesParams) WithTimeout(timeout time.Duration) *GetAllBillingCyclesParams
WithTimeout adds the timeout to the get all billing cycles params
func (*GetAllBillingCyclesParams) WriteToRequest ¶
func (o *GetAllBillingCyclesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllBillingCyclesReader ¶
type GetAllBillingCyclesReader struct {
// contains filtered or unexported fields
}
GetAllBillingCyclesReader is a Reader for the GetAllBillingCycles structure.
func (*GetAllBillingCyclesReader) ReadResponse ¶
func (o *GetAllBillingCyclesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetByProductVariantIDOK ¶
type GetByProductVariantIDOK struct {
Payload *models.APICollectionOfBillingCycle
}
GetByProductVariantIDOK describes a response with status code 200, with default header values.
Success
func NewGetByProductVariantIDOK ¶
func NewGetByProductVariantIDOK() *GetByProductVariantIDOK
NewGetByProductVariantIDOK creates a GetByProductVariantIDOK with default headers values
func (*GetByProductVariantIDOK) Error ¶
func (o *GetByProductVariantIDOK) Error() string
func (*GetByProductVariantIDOK) GetPayload ¶
func (o *GetByProductVariantIDOK) GetPayload() *models.APICollectionOfBillingCycle
type GetByProductVariantIDParams ¶
type GetByProductVariantIDParams struct { // ProductVariantID. // // Format: int32 ProductVariantID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetByProductVariantIDParams contains all the parameters to send to the API endpoint
for the get by product variant Id operation. Typically these are written to a http.Request.
func NewGetByProductVariantIDParams ¶
func NewGetByProductVariantIDParams() *GetByProductVariantIDParams
NewGetByProductVariantIDParams creates a new GetByProductVariantIDParams 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 NewGetByProductVariantIDParamsWithContext ¶
func NewGetByProductVariantIDParamsWithContext(ctx context.Context) *GetByProductVariantIDParams
NewGetByProductVariantIDParamsWithContext creates a new GetByProductVariantIDParams object with the ability to set a context for a request.
func NewGetByProductVariantIDParamsWithHTTPClient ¶
func NewGetByProductVariantIDParamsWithHTTPClient(client *http.Client) *GetByProductVariantIDParams
NewGetByProductVariantIDParamsWithHTTPClient creates a new GetByProductVariantIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetByProductVariantIDParamsWithTimeout ¶
func NewGetByProductVariantIDParamsWithTimeout(timeout time.Duration) *GetByProductVariantIDParams
NewGetByProductVariantIDParamsWithTimeout creates a new GetByProductVariantIDParams object with the ability to set a timeout on a request.
func (*GetByProductVariantIDParams) SetContext ¶
func (o *GetByProductVariantIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get by product variant Id params
func (*GetByProductVariantIDParams) SetDefaults ¶
func (o *GetByProductVariantIDParams) SetDefaults()
SetDefaults hydrates default values in the get by product variant Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetByProductVariantIDParams) SetHTTPClient ¶
func (o *GetByProductVariantIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get by product variant Id params
func (*GetByProductVariantIDParams) SetProductVariantID ¶
func (o *GetByProductVariantIDParams) SetProductVariantID(productVariantID int32)
SetProductVariantID adds the productVariantId to the get by product variant Id params
func (*GetByProductVariantIDParams) SetTimeout ¶
func (o *GetByProductVariantIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get by product variant Id params
func (*GetByProductVariantIDParams) WithContext ¶
func (o *GetByProductVariantIDParams) WithContext(ctx context.Context) *GetByProductVariantIDParams
WithContext adds the context to the get by product variant Id params
func (*GetByProductVariantIDParams) WithDefaults ¶
func (o *GetByProductVariantIDParams) WithDefaults() *GetByProductVariantIDParams
WithDefaults hydrates default values in the get by product variant Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetByProductVariantIDParams) WithHTTPClient ¶
func (o *GetByProductVariantIDParams) WithHTTPClient(client *http.Client) *GetByProductVariantIDParams
WithHTTPClient adds the HTTPClient to the get by product variant Id params
func (*GetByProductVariantIDParams) WithProductVariantID ¶
func (o *GetByProductVariantIDParams) WithProductVariantID(productVariantID int32) *GetByProductVariantIDParams
WithProductVariantID adds the productVariantID to the get by product variant Id params
func (*GetByProductVariantIDParams) WithTimeout ¶
func (o *GetByProductVariantIDParams) WithTimeout(timeout time.Duration) *GetByProductVariantIDParams
WithTimeout adds the timeout to the get by product variant Id params
func (*GetByProductVariantIDParams) WriteToRequest ¶
func (o *GetByProductVariantIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetByProductVariantIDReader ¶
type GetByProductVariantIDReader struct {
// contains filtered or unexported fields
}
GetByProductVariantIDReader is a Reader for the GetByProductVariantID structure.
func (*GetByProductVariantIDReader) ReadResponse ¶
func (o *GetByProductVariantIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCspNameDictionaryOK ¶
GetCspNameDictionaryOK describes a response with status code 200, with default header values.
Success
func NewGetCspNameDictionaryOK ¶
func NewGetCspNameDictionaryOK() *GetCspNameDictionaryOK
NewGetCspNameDictionaryOK creates a GetCspNameDictionaryOK with default headers values
func (*GetCspNameDictionaryOK) Error ¶
func (o *GetCspNameDictionaryOK) Error() string
func (*GetCspNameDictionaryOK) GetPayload ¶
func (o *GetCspNameDictionaryOK) GetPayload() map[string]string
type GetCspNameDictionaryParams ¶
type GetCspNameDictionaryParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCspNameDictionaryParams contains all the parameters to send to the API endpoint
for the get csp name dictionary operation. Typically these are written to a http.Request.
func NewGetCspNameDictionaryParams ¶
func NewGetCspNameDictionaryParams() *GetCspNameDictionaryParams
NewGetCspNameDictionaryParams creates a new GetCspNameDictionaryParams 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 NewGetCspNameDictionaryParamsWithContext ¶
func NewGetCspNameDictionaryParamsWithContext(ctx context.Context) *GetCspNameDictionaryParams
NewGetCspNameDictionaryParamsWithContext creates a new GetCspNameDictionaryParams object with the ability to set a context for a request.
func NewGetCspNameDictionaryParamsWithHTTPClient ¶
func NewGetCspNameDictionaryParamsWithHTTPClient(client *http.Client) *GetCspNameDictionaryParams
NewGetCspNameDictionaryParamsWithHTTPClient creates a new GetCspNameDictionaryParams object with the ability to set a custom HTTPClient for a request.
func NewGetCspNameDictionaryParamsWithTimeout ¶
func NewGetCspNameDictionaryParamsWithTimeout(timeout time.Duration) *GetCspNameDictionaryParams
NewGetCspNameDictionaryParamsWithTimeout creates a new GetCspNameDictionaryParams object with the ability to set a timeout on a request.
func (*GetCspNameDictionaryParams) SetContext ¶
func (o *GetCspNameDictionaryParams) SetContext(ctx context.Context)
SetContext adds the context to the get csp name dictionary params
func (*GetCspNameDictionaryParams) SetDefaults ¶
func (o *GetCspNameDictionaryParams) SetDefaults()
SetDefaults hydrates default values in the get csp name dictionary params (not the query body).
All values with no default are reset to their zero value.
func (*GetCspNameDictionaryParams) SetHTTPClient ¶
func (o *GetCspNameDictionaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get csp name dictionary params
func (*GetCspNameDictionaryParams) SetTimeout ¶
func (o *GetCspNameDictionaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get csp name dictionary params
func (*GetCspNameDictionaryParams) WithContext ¶
func (o *GetCspNameDictionaryParams) WithContext(ctx context.Context) *GetCspNameDictionaryParams
WithContext adds the context to the get csp name dictionary params
func (*GetCspNameDictionaryParams) WithDefaults ¶
func (o *GetCspNameDictionaryParams) WithDefaults() *GetCspNameDictionaryParams
WithDefaults hydrates default values in the get csp name dictionary params (not the query body).
All values with no default are reset to their zero value.
func (*GetCspNameDictionaryParams) WithHTTPClient ¶
func (o *GetCspNameDictionaryParams) WithHTTPClient(client *http.Client) *GetCspNameDictionaryParams
WithHTTPClient adds the HTTPClient to the get csp name dictionary params
func (*GetCspNameDictionaryParams) WithTimeout ¶
func (o *GetCspNameDictionaryParams) WithTimeout(timeout time.Duration) *GetCspNameDictionaryParams
WithTimeout adds the timeout to the get csp name dictionary params
func (*GetCspNameDictionaryParams) WriteToRequest ¶
func (o *GetCspNameDictionaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCspNameDictionaryReader ¶
type GetCspNameDictionaryReader struct {
// contains filtered or unexported fields
}
GetCspNameDictionaryReader is a Reader for the GetCspNameDictionary structure.
func (*GetCspNameDictionaryReader) ReadResponse ¶
func (o *GetCspNameDictionaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.