Documentation
¶
Index ¶
- type AddSimplePlanCreated
- type AddSimplePlanParams
- func (o *AddSimplePlanParams) SetBody(body *kbmodel.SimplePlan)
- func (o *AddSimplePlanParams) SetContext(ctx context.Context)
- func (o *AddSimplePlanParams) SetDefaults()
- func (o *AddSimplePlanParams) SetHTTPClient(client *http.Client)
- func (o *AddSimplePlanParams) SetTimeout(timeout time.Duration)
- func (o *AddSimplePlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *AddSimplePlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *AddSimplePlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *AddSimplePlanParams) WithBody(body *kbmodel.SimplePlan) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithContext(ctx context.Context) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithDefaults() *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithHTTPClient(client *http.Client) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithTimeout(timeout time.Duration) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithXKillbillComment(xKillbillComment *string) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithXKillbillReason(xKillbillReason *string) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddSimplePlanReader
- type Client
- func (a *Client) AddSimplePlan(params *AddSimplePlanParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddSimplePlanCreated, error)
- func (a *Client) DeleteCatalog(params *DeleteCatalogParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCatalogNoContent, error)
- func (a *Client) GetAvailableAddons(params *GetAvailableAddonsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAvailableAddonsOK, error)
- func (a *Client) GetAvailableBasePlans(params *GetAvailableBasePlansParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAvailableBasePlansOK, error)
- func (a *Client) GetCatalogJSON(params *GetCatalogJSONParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCatalogJSONOK, error)
- func (a *Client) GetCatalogVersions(params *GetCatalogVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCatalogVersionsOK, error)
- func (a *Client) GetCatalogXML(params *GetCatalogXMLParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCatalogXMLOK, error)
- func (a *Client) GetPhaseForSubscriptionAndDate(params *GetPhaseForSubscriptionAndDateParams, ...) (*GetPhaseForSubscriptionAndDateOK, error)
- func (a *Client) GetPlanForSubscriptionAndDate(params *GetPlanForSubscriptionAndDateParams, ...) (*GetPlanForSubscriptionAndDateOK, error)
- func (a *Client) GetPriceListForSubscriptionAndDate(params *GetPriceListForSubscriptionAndDateParams, ...) (*GetPriceListForSubscriptionAndDateOK, error)
- func (a *Client) GetProductForSubscriptionAndDate(params *GetProductForSubscriptionAndDateParams, ...) (*GetProductForSubscriptionAndDateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadCatalogXML(params *UploadCatalogXMLParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadCatalogXMLCreated, error)
- type ClientOption
- type ClientService
- type DeleteCatalogNoContent
- type DeleteCatalogParams
- func (o *DeleteCatalogParams) SetContext(ctx context.Context)
- func (o *DeleteCatalogParams) SetDefaults()
- func (o *DeleteCatalogParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCatalogParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCatalogParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteCatalogParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteCatalogParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteCatalogParams) WithContext(ctx context.Context) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithDefaults() *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithHTTPClient(client *http.Client) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithTimeout(timeout time.Duration) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithXKillbillComment(xKillbillComment *string) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithXKillbillReason(xKillbillReason *string) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCatalogReader
- type GetAvailableAddonsOK
- type GetAvailableAddonsParams
- func NewGetAvailableAddonsParams() *GetAvailableAddonsParams
- func NewGetAvailableAddonsParamsWithContext(ctx context.Context) *GetAvailableAddonsParams
- func NewGetAvailableAddonsParamsWithHTTPClient(client *http.Client) *GetAvailableAddonsParams
- func NewGetAvailableAddonsParamsWithTimeout(timeout time.Duration) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetAvailableAddonsParams) SetBaseProductName(baseProductName *string)
- func (o *GetAvailableAddonsParams) SetContext(ctx context.Context)
- func (o *GetAvailableAddonsParams) SetDefaults()
- func (o *GetAvailableAddonsParams) SetHTTPClient(client *http.Client)
- func (o *GetAvailableAddonsParams) SetPriceListName(priceListName *string)
- func (o *GetAvailableAddonsParams) SetTimeout(timeout time.Duration)
- func (o *GetAvailableAddonsParams) WithAccountID(accountID *strfmt.UUID) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithBaseProductName(baseProductName *string) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithContext(ctx context.Context) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithDefaults() *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithHTTPClient(client *http.Client) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithPriceListName(priceListName *string) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithTimeout(timeout time.Duration) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAvailableAddonsReader
- type GetAvailableBasePlansOK
- type GetAvailableBasePlansParams
- func NewGetAvailableBasePlansParams() *GetAvailableBasePlansParams
- func NewGetAvailableBasePlansParamsWithContext(ctx context.Context) *GetAvailableBasePlansParams
- func NewGetAvailableBasePlansParamsWithHTTPClient(client *http.Client) *GetAvailableBasePlansParams
- func NewGetAvailableBasePlansParamsWithTimeout(timeout time.Duration) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetAvailableBasePlansParams) SetContext(ctx context.Context)
- func (o *GetAvailableBasePlansParams) SetDefaults()
- func (o *GetAvailableBasePlansParams) SetHTTPClient(client *http.Client)
- func (o *GetAvailableBasePlansParams) SetTimeout(timeout time.Duration)
- func (o *GetAvailableBasePlansParams) WithAccountID(accountID *strfmt.UUID) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WithContext(ctx context.Context) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WithDefaults() *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WithHTTPClient(client *http.Client) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WithTimeout(timeout time.Duration) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAvailableBasePlansReader
- type GetCatalogJSONOK
- type GetCatalogJSONParams
- func NewGetCatalogJSONParams() *GetCatalogJSONParams
- func NewGetCatalogJSONParamsWithContext(ctx context.Context) *GetCatalogJSONParams
- func NewGetCatalogJSONParamsWithHTTPClient(client *http.Client) *GetCatalogJSONParams
- func NewGetCatalogJSONParamsWithTimeout(timeout time.Duration) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetCatalogJSONParams) SetContext(ctx context.Context)
- func (o *GetCatalogJSONParams) SetDefaults()
- func (o *GetCatalogJSONParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogJSONParams) SetRequestedDate(requestedDate *strfmt.DateTime)
- func (o *GetCatalogJSONParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogJSONParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithContext(ctx context.Context) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithDefaults() *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithHTTPClient(client *http.Client) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithRequestedDate(requestedDate *strfmt.DateTime) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithTimeout(timeout time.Duration) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogJSONReader
- type GetCatalogVersionsOK
- type GetCatalogVersionsParams
- func NewGetCatalogVersionsParams() *GetCatalogVersionsParams
- func NewGetCatalogVersionsParamsWithContext(ctx context.Context) *GetCatalogVersionsParams
- func NewGetCatalogVersionsParamsWithHTTPClient(client *http.Client) *GetCatalogVersionsParams
- func NewGetCatalogVersionsParamsWithTimeout(timeout time.Duration) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetCatalogVersionsParams) SetContext(ctx context.Context)
- func (o *GetCatalogVersionsParams) SetDefaults()
- func (o *GetCatalogVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogVersionsParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WithContext(ctx context.Context) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WithDefaults() *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WithHTTPClient(client *http.Client) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WithTimeout(timeout time.Duration) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogVersionsReader
- type GetCatalogXMLOK
- type GetCatalogXMLParams
- func (o *GetCatalogXMLParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetCatalogXMLParams) SetContext(ctx context.Context)
- func (o *GetCatalogXMLParams) SetDefaults()
- func (o *GetCatalogXMLParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogXMLParams) SetRequestedDate(requestedDate *strfmt.DateTime)
- func (o *GetCatalogXMLParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogXMLParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithContext(ctx context.Context) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithDefaults() *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithHTTPClient(client *http.Client) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithRequestedDate(requestedDate *strfmt.DateTime) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithTimeout(timeout time.Duration) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogXMLReader
- type GetPhaseForSubscriptionAndDateOK
- type GetPhaseForSubscriptionAndDateParams
- func NewGetPhaseForSubscriptionAndDateParams() *GetPhaseForSubscriptionAndDateParams
- func NewGetPhaseForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams
- func NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPhaseForSubscriptionAndDateParams
- func NewGetPhaseForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) SetContext(ctx context.Context)
- func (o *GetPhaseForSubscriptionAndDateParams) SetDefaults()
- func (o *GetPhaseForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
- func (o *GetPhaseForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *GetPhaseForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
- func (o *GetPhaseForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
- func (o *GetPhaseForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithDefaults() *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPhaseForSubscriptionAndDateReader
- type GetPlanForSubscriptionAndDateOK
- type GetPlanForSubscriptionAndDateParams
- func NewGetPlanForSubscriptionAndDateParams() *GetPlanForSubscriptionAndDateParams
- func NewGetPlanForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams
- func NewGetPlanForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPlanForSubscriptionAndDateParams
- func NewGetPlanForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) SetContext(ctx context.Context)
- func (o *GetPlanForSubscriptionAndDateParams) SetDefaults()
- func (o *GetPlanForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
- func (o *GetPlanForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *GetPlanForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
- func (o *GetPlanForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
- func (o *GetPlanForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithDefaults() *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlanForSubscriptionAndDateReader
- type GetPriceListForSubscriptionAndDateOK
- type GetPriceListForSubscriptionAndDateParams
- func NewGetPriceListForSubscriptionAndDateParams() *GetPriceListForSubscriptionAndDateParams
- func NewGetPriceListForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams
- func NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPriceListForSubscriptionAndDateParams
- func NewGetPriceListForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) SetContext(ctx context.Context)
- func (o *GetPriceListForSubscriptionAndDateParams) SetDefaults()
- func (o *GetPriceListForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
- func (o *GetPriceListForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *GetPriceListForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
- func (o *GetPriceListForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
- func (o *GetPriceListForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithDefaults() *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPriceListForSubscriptionAndDateReader
- type GetProductForSubscriptionAndDateOK
- type GetProductForSubscriptionAndDateParams
- func NewGetProductForSubscriptionAndDateParams() *GetProductForSubscriptionAndDateParams
- func NewGetProductForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams
- func NewGetProductForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetProductForSubscriptionAndDateParams
- func NewGetProductForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) SetContext(ctx context.Context)
- func (o *GetProductForSubscriptionAndDateParams) SetDefaults()
- func (o *GetProductForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
- func (o *GetProductForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *GetProductForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
- func (o *GetProductForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
- func (o *GetProductForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithDefaults() *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProductForSubscriptionAndDateReader
- type UploadCatalogXMLCreated
- type UploadCatalogXMLParams
- func NewUploadCatalogXMLParams() *UploadCatalogXMLParams
- func NewUploadCatalogXMLParamsWithContext(ctx context.Context) *UploadCatalogXMLParams
- func NewUploadCatalogXMLParamsWithHTTPClient(client *http.Client) *UploadCatalogXMLParams
- func NewUploadCatalogXMLParamsWithTimeout(timeout time.Duration) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) SetBody(body string)
- func (o *UploadCatalogXMLParams) SetContext(ctx context.Context)
- func (o *UploadCatalogXMLParams) SetDefaults()
- func (o *UploadCatalogXMLParams) SetHTTPClient(client *http.Client)
- func (o *UploadCatalogXMLParams) SetTimeout(timeout time.Duration)
- func (o *UploadCatalogXMLParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UploadCatalogXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UploadCatalogXMLParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UploadCatalogXMLParams) WithBody(body string) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithContext(ctx context.Context) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithDefaults() *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithHTTPClient(client *http.Client) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithTimeout(timeout time.Duration) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithXKillbillComment(xKillbillComment *string) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithXKillbillReason(xKillbillReason *string) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadCatalogXMLReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSimplePlanCreated ¶
type AddSimplePlanCreated struct {
Payload string
}
AddSimplePlanCreated describes a response with status code 201, with default header values.
Created new plan successfully
func NewAddSimplePlanCreated ¶
func NewAddSimplePlanCreated() *AddSimplePlanCreated
NewAddSimplePlanCreated creates a AddSimplePlanCreated with default headers values
func (*AddSimplePlanCreated) Error ¶
func (o *AddSimplePlanCreated) Error() string
func (*AddSimplePlanCreated) GetPayload ¶
func (o *AddSimplePlanCreated) GetPayload() string
type AddSimplePlanParams ¶
type AddSimplePlanParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// Body.
Body *kbmodel.SimplePlan
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AddSimplePlanParams contains all the parameters to send to the API endpoint
for the add simple plan operation. Typically these are written to a http.Request.
func NewAddSimplePlanParams ¶
func NewAddSimplePlanParams() *AddSimplePlanParams
NewAddSimplePlanParams creates a new AddSimplePlanParams 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 NewAddSimplePlanParamsWithContext ¶
func NewAddSimplePlanParamsWithContext(ctx context.Context) *AddSimplePlanParams
NewAddSimplePlanParamsWithContext creates a new AddSimplePlanParams object with the ability to set a context for a request.
func NewAddSimplePlanParamsWithHTTPClient ¶
func NewAddSimplePlanParamsWithHTTPClient(client *http.Client) *AddSimplePlanParams
NewAddSimplePlanParamsWithHTTPClient creates a new AddSimplePlanParams object with the ability to set a custom HTTPClient for a request.
func NewAddSimplePlanParamsWithTimeout ¶
func NewAddSimplePlanParamsWithTimeout(timeout time.Duration) *AddSimplePlanParams
NewAddSimplePlanParamsWithTimeout creates a new AddSimplePlanParams object with the ability to set a timeout on a request.
func (*AddSimplePlanParams) SetBody ¶
func (o *AddSimplePlanParams) SetBody(body *kbmodel.SimplePlan)
SetBody adds the body to the add simple plan params
func (*AddSimplePlanParams) SetContext ¶
func (o *AddSimplePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the add simple plan params
func (*AddSimplePlanParams) SetDefaults ¶
func (o *AddSimplePlanParams) SetDefaults()
SetDefaults hydrates default values in the add simple plan params (not the query body).
All values with no default are reset to their zero value.
func (*AddSimplePlanParams) SetHTTPClient ¶
func (o *AddSimplePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add simple plan params
func (*AddSimplePlanParams) SetTimeout ¶
func (o *AddSimplePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add simple plan params
func (*AddSimplePlanParams) SetXKillbillComment ¶
func (o *AddSimplePlanParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the add simple plan params
func (*AddSimplePlanParams) SetXKillbillCreatedBy ¶
func (o *AddSimplePlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add simple plan params
func (*AddSimplePlanParams) SetXKillbillReason ¶
func (o *AddSimplePlanParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the add simple plan params
func (*AddSimplePlanParams) WithBody ¶
func (o *AddSimplePlanParams) WithBody(body *kbmodel.SimplePlan) *AddSimplePlanParams
WithBody adds the body to the add simple plan params
func (*AddSimplePlanParams) WithContext ¶
func (o *AddSimplePlanParams) WithContext(ctx context.Context) *AddSimplePlanParams
WithContext adds the context to the add simple plan params
func (*AddSimplePlanParams) WithDefaults ¶
func (o *AddSimplePlanParams) WithDefaults() *AddSimplePlanParams
WithDefaults hydrates default values in the add simple plan params (not the query body).
All values with no default are reset to their zero value.
func (*AddSimplePlanParams) WithHTTPClient ¶
func (o *AddSimplePlanParams) WithHTTPClient(client *http.Client) *AddSimplePlanParams
WithHTTPClient adds the HTTPClient to the add simple plan params
func (*AddSimplePlanParams) WithTimeout ¶
func (o *AddSimplePlanParams) WithTimeout(timeout time.Duration) *AddSimplePlanParams
WithTimeout adds the timeout to the add simple plan params
func (*AddSimplePlanParams) WithXKillbillComment ¶
func (o *AddSimplePlanParams) WithXKillbillComment(xKillbillComment *string) *AddSimplePlanParams
WithXKillbillComment adds the xKillbillComment to the add simple plan params
func (*AddSimplePlanParams) WithXKillbillCreatedBy ¶
func (o *AddSimplePlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddSimplePlanParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add simple plan params
func (*AddSimplePlanParams) WithXKillbillReason ¶
func (o *AddSimplePlanParams) WithXKillbillReason(xKillbillReason *string) *AddSimplePlanParams
WithXKillbillReason adds the xKillbillReason to the add simple plan params
func (*AddSimplePlanParams) WriteToRequest ¶
func (o *AddSimplePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddSimplePlanReader ¶
type AddSimplePlanReader struct {
// contains filtered or unexported fields
}
AddSimplePlanReader is a Reader for the AddSimplePlan structure.
func (*AddSimplePlanReader) ReadResponse ¶
func (o *AddSimplePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for catalog API
func (*Client) AddSimplePlan ¶
func (a *Client) AddSimplePlan(params *AddSimplePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddSimplePlanCreated, error)
AddSimplePlan adds a simple plan entry in the current version of the catalog
func (*Client) DeleteCatalog ¶
func (a *Client) DeleteCatalog(params *DeleteCatalogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCatalogNoContent, error)
DeleteCatalog deletes all versions for a per tenant catalog
func (*Client) GetAvailableAddons ¶
func (a *Client) GetAvailableAddons(params *GetAvailableAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailableAddonsOK, error)
GetAvailableAddons retrieves available add ons for a given product
func (*Client) GetAvailableBasePlans ¶
func (a *Client) GetAvailableBasePlans(params *GetAvailableBasePlansParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailableBasePlansOK, error)
GetAvailableBasePlans retrieves available base plans
func (*Client) GetCatalogJSON ¶
func (a *Client) GetCatalogJSON(params *GetCatalogJSONParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogJSONOK, error)
GetCatalogJSON retrieves the catalog as JSON
func (*Client) GetCatalogVersions ¶
func (a *Client) GetCatalogVersions(params *GetCatalogVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogVersionsOK, error)
GetCatalogVersions retrieves a list of catalog versions
func (*Client) GetCatalogXML ¶
func (a *Client) GetCatalogXML(params *GetCatalogXMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogXMLOK, error)
GetCatalogXML retrieves the full catalog as XML
func (*Client) GetPhaseForSubscriptionAndDate ¶
func (a *Client) GetPhaseForSubscriptionAndDate(params *GetPhaseForSubscriptionAndDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPhaseForSubscriptionAndDateOK, error)
GetPhaseForSubscriptionAndDate retrieves phase for a given subscription and date
func (*Client) GetPlanForSubscriptionAndDate ¶
func (a *Client) GetPlanForSubscriptionAndDate(params *GetPlanForSubscriptionAndDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanForSubscriptionAndDateOK, error)
GetPlanForSubscriptionAndDate retrieves plan for a given subscription and date
func (*Client) GetPriceListForSubscriptionAndDate ¶
func (a *Client) GetPriceListForSubscriptionAndDate(params *GetPriceListForSubscriptionAndDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPriceListForSubscriptionAndDateOK, error)
GetPriceListForSubscriptionAndDate retrieves price list for a given subscription and date
func (*Client) GetProductForSubscriptionAndDate ¶
func (a *Client) GetProductForSubscriptionAndDate(params *GetProductForSubscriptionAndDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProductForSubscriptionAndDateOK, error)
GetProductForSubscriptionAndDate retrieves product for a given subscription and date
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadCatalogXML ¶
func (a *Client) UploadCatalogXML(params *UploadCatalogXMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadCatalogXMLCreated, error)
UploadCatalogXML uploads the full catalog as XML
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
AddSimplePlan(params *AddSimplePlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddSimplePlanCreated, error)
DeleteCatalog(params *DeleteCatalogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCatalogNoContent, error)
GetAvailableAddons(params *GetAvailableAddonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailableAddonsOK, error)
GetAvailableBasePlans(params *GetAvailableBasePlansParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAvailableBasePlansOK, error)
GetCatalogJSON(params *GetCatalogJSONParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogJSONOK, error)
GetCatalogVersions(params *GetCatalogVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogVersionsOK, error)
GetCatalogXML(params *GetCatalogXMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCatalogXMLOK, error)
GetPhaseForSubscriptionAndDate(params *GetPhaseForSubscriptionAndDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPhaseForSubscriptionAndDateOK, error)
GetPlanForSubscriptionAndDate(params *GetPlanForSubscriptionAndDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlanForSubscriptionAndDateOK, error)
GetPriceListForSubscriptionAndDate(params *GetPriceListForSubscriptionAndDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPriceListForSubscriptionAndDateOK, error)
GetProductForSubscriptionAndDate(params *GetProductForSubscriptionAndDateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProductForSubscriptionAndDateOK, error)
UploadCatalogXML(params *UploadCatalogXMLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadCatalogXMLCreated, 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 catalog API client.
type DeleteCatalogNoContent ¶
type DeleteCatalogNoContent struct {
}
DeleteCatalogNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteCatalogNoContent ¶
func NewDeleteCatalogNoContent() *DeleteCatalogNoContent
NewDeleteCatalogNoContent creates a DeleteCatalogNoContent with default headers values
func (*DeleteCatalogNoContent) Error ¶
func (o *DeleteCatalogNoContent) Error() string
type DeleteCatalogParams ¶
type DeleteCatalogParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteCatalogParams contains all the parameters to send to the API endpoint
for the delete catalog operation. Typically these are written to a http.Request.
func NewDeleteCatalogParams ¶
func NewDeleteCatalogParams() *DeleteCatalogParams
NewDeleteCatalogParams creates a new DeleteCatalogParams 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 NewDeleteCatalogParamsWithContext ¶
func NewDeleteCatalogParamsWithContext(ctx context.Context) *DeleteCatalogParams
NewDeleteCatalogParamsWithContext creates a new DeleteCatalogParams object with the ability to set a context for a request.
func NewDeleteCatalogParamsWithHTTPClient ¶
func NewDeleteCatalogParamsWithHTTPClient(client *http.Client) *DeleteCatalogParams
NewDeleteCatalogParamsWithHTTPClient creates a new DeleteCatalogParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCatalogParamsWithTimeout ¶
func NewDeleteCatalogParamsWithTimeout(timeout time.Duration) *DeleteCatalogParams
NewDeleteCatalogParamsWithTimeout creates a new DeleteCatalogParams object with the ability to set a timeout on a request.
func (*DeleteCatalogParams) SetContext ¶
func (o *DeleteCatalogParams) SetContext(ctx context.Context)
SetContext adds the context to the delete catalog params
func (*DeleteCatalogParams) SetDefaults ¶
func (o *DeleteCatalogParams) SetDefaults()
SetDefaults hydrates default values in the delete catalog params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCatalogParams) SetHTTPClient ¶
func (o *DeleteCatalogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete catalog params
func (*DeleteCatalogParams) SetTimeout ¶
func (o *DeleteCatalogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete catalog params
func (*DeleteCatalogParams) SetXKillbillComment ¶
func (o *DeleteCatalogParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete catalog params
func (*DeleteCatalogParams) SetXKillbillCreatedBy ¶
func (o *DeleteCatalogParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete catalog params
func (*DeleteCatalogParams) SetXKillbillReason ¶
func (o *DeleteCatalogParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete catalog params
func (*DeleteCatalogParams) WithContext ¶
func (o *DeleteCatalogParams) WithContext(ctx context.Context) *DeleteCatalogParams
WithContext adds the context to the delete catalog params
func (*DeleteCatalogParams) WithDefaults ¶
func (o *DeleteCatalogParams) WithDefaults() *DeleteCatalogParams
WithDefaults hydrates default values in the delete catalog params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCatalogParams) WithHTTPClient ¶
func (o *DeleteCatalogParams) WithHTTPClient(client *http.Client) *DeleteCatalogParams
WithHTTPClient adds the HTTPClient to the delete catalog params
func (*DeleteCatalogParams) WithTimeout ¶
func (o *DeleteCatalogParams) WithTimeout(timeout time.Duration) *DeleteCatalogParams
WithTimeout adds the timeout to the delete catalog params
func (*DeleteCatalogParams) WithXKillbillComment ¶
func (o *DeleteCatalogParams) WithXKillbillComment(xKillbillComment *string) *DeleteCatalogParams
WithXKillbillComment adds the xKillbillComment to the delete catalog params
func (*DeleteCatalogParams) WithXKillbillCreatedBy ¶
func (o *DeleteCatalogParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteCatalogParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete catalog params
func (*DeleteCatalogParams) WithXKillbillReason ¶
func (o *DeleteCatalogParams) WithXKillbillReason(xKillbillReason *string) *DeleteCatalogParams
WithXKillbillReason adds the xKillbillReason to the delete catalog params
func (*DeleteCatalogParams) WriteToRequest ¶
func (o *DeleteCatalogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCatalogReader ¶
type DeleteCatalogReader struct {
// contains filtered or unexported fields
}
DeleteCatalogReader is a Reader for the DeleteCatalog structure.
func (*DeleteCatalogReader) ReadResponse ¶
func (o *DeleteCatalogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAvailableAddonsOK ¶
type GetAvailableAddonsOK struct {
Payload []*kbmodel.PlanDetail
}
GetAvailableAddonsOK describes a response with status code 200, with default header values.
successful operation
func NewGetAvailableAddonsOK ¶
func NewGetAvailableAddonsOK() *GetAvailableAddonsOK
NewGetAvailableAddonsOK creates a GetAvailableAddonsOK with default headers values
func (*GetAvailableAddonsOK) Error ¶
func (o *GetAvailableAddonsOK) Error() string
func (*GetAvailableAddonsOK) GetPayload ¶
func (o *GetAvailableAddonsOK) GetPayload() []*kbmodel.PlanDetail
type GetAvailableAddonsParams ¶
type GetAvailableAddonsParams struct {
// AccountID.
//
// Format: uuid
AccountID *strfmt.UUID
// BaseProductName.
BaseProductName *string
// PriceListName.
PriceListName *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAvailableAddonsParams contains all the parameters to send to the API endpoint
for the get available addons operation. Typically these are written to a http.Request.
func NewGetAvailableAddonsParams ¶
func NewGetAvailableAddonsParams() *GetAvailableAddonsParams
NewGetAvailableAddonsParams creates a new GetAvailableAddonsParams 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 NewGetAvailableAddonsParamsWithContext ¶
func NewGetAvailableAddonsParamsWithContext(ctx context.Context) *GetAvailableAddonsParams
NewGetAvailableAddonsParamsWithContext creates a new GetAvailableAddonsParams object with the ability to set a context for a request.
func NewGetAvailableAddonsParamsWithHTTPClient ¶
func NewGetAvailableAddonsParamsWithHTTPClient(client *http.Client) *GetAvailableAddonsParams
NewGetAvailableAddonsParamsWithHTTPClient creates a new GetAvailableAddonsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAvailableAddonsParamsWithTimeout ¶
func NewGetAvailableAddonsParamsWithTimeout(timeout time.Duration) *GetAvailableAddonsParams
NewGetAvailableAddonsParamsWithTimeout creates a new GetAvailableAddonsParams object with the ability to set a timeout on a request.
func (*GetAvailableAddonsParams) SetAccountID ¶
func (o *GetAvailableAddonsParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get available addons params
func (*GetAvailableAddonsParams) SetBaseProductName ¶
func (o *GetAvailableAddonsParams) SetBaseProductName(baseProductName *string)
SetBaseProductName adds the baseProductName to the get available addons params
func (*GetAvailableAddonsParams) SetContext ¶
func (o *GetAvailableAddonsParams) SetContext(ctx context.Context)
SetContext adds the context to the get available addons params
func (*GetAvailableAddonsParams) SetDefaults ¶
func (o *GetAvailableAddonsParams) SetDefaults()
SetDefaults hydrates default values in the get available addons params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableAddonsParams) SetHTTPClient ¶
func (o *GetAvailableAddonsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get available addons params
func (*GetAvailableAddonsParams) SetPriceListName ¶
func (o *GetAvailableAddonsParams) SetPriceListName(priceListName *string)
SetPriceListName adds the priceListName to the get available addons params
func (*GetAvailableAddonsParams) SetTimeout ¶
func (o *GetAvailableAddonsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get available addons params
func (*GetAvailableAddonsParams) WithAccountID ¶
func (o *GetAvailableAddonsParams) WithAccountID(accountID *strfmt.UUID) *GetAvailableAddonsParams
WithAccountID adds the accountID to the get available addons params
func (*GetAvailableAddonsParams) WithBaseProductName ¶
func (o *GetAvailableAddonsParams) WithBaseProductName(baseProductName *string) *GetAvailableAddonsParams
WithBaseProductName adds the baseProductName to the get available addons params
func (*GetAvailableAddonsParams) WithContext ¶
func (o *GetAvailableAddonsParams) WithContext(ctx context.Context) *GetAvailableAddonsParams
WithContext adds the context to the get available addons params
func (*GetAvailableAddonsParams) WithDefaults ¶
func (o *GetAvailableAddonsParams) WithDefaults() *GetAvailableAddonsParams
WithDefaults hydrates default values in the get available addons params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableAddonsParams) WithHTTPClient ¶
func (o *GetAvailableAddonsParams) WithHTTPClient(client *http.Client) *GetAvailableAddonsParams
WithHTTPClient adds the HTTPClient to the get available addons params
func (*GetAvailableAddonsParams) WithPriceListName ¶
func (o *GetAvailableAddonsParams) WithPriceListName(priceListName *string) *GetAvailableAddonsParams
WithPriceListName adds the priceListName to the get available addons params
func (*GetAvailableAddonsParams) WithTimeout ¶
func (o *GetAvailableAddonsParams) WithTimeout(timeout time.Duration) *GetAvailableAddonsParams
WithTimeout adds the timeout to the get available addons params
func (*GetAvailableAddonsParams) WriteToRequest ¶
func (o *GetAvailableAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAvailableAddonsReader ¶
type GetAvailableAddonsReader struct {
// contains filtered or unexported fields
}
GetAvailableAddonsReader is a Reader for the GetAvailableAddons structure.
func (*GetAvailableAddonsReader) ReadResponse ¶
func (o *GetAvailableAddonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAvailableBasePlansOK ¶
type GetAvailableBasePlansOK struct {
Payload []*kbmodel.PlanDetail
}
GetAvailableBasePlansOK describes a response with status code 200, with default header values.
successful operation
func NewGetAvailableBasePlansOK ¶
func NewGetAvailableBasePlansOK() *GetAvailableBasePlansOK
NewGetAvailableBasePlansOK creates a GetAvailableBasePlansOK with default headers values
func (*GetAvailableBasePlansOK) Error ¶
func (o *GetAvailableBasePlansOK) Error() string
func (*GetAvailableBasePlansOK) GetPayload ¶
func (o *GetAvailableBasePlansOK) GetPayload() []*kbmodel.PlanDetail
type GetAvailableBasePlansParams ¶
type GetAvailableBasePlansParams struct {
// AccountID.
//
// Format: uuid
AccountID *strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAvailableBasePlansParams contains all the parameters to send to the API endpoint
for the get available base plans operation. Typically these are written to a http.Request.
func NewGetAvailableBasePlansParams ¶
func NewGetAvailableBasePlansParams() *GetAvailableBasePlansParams
NewGetAvailableBasePlansParams creates a new GetAvailableBasePlansParams 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 NewGetAvailableBasePlansParamsWithContext ¶
func NewGetAvailableBasePlansParamsWithContext(ctx context.Context) *GetAvailableBasePlansParams
NewGetAvailableBasePlansParamsWithContext creates a new GetAvailableBasePlansParams object with the ability to set a context for a request.
func NewGetAvailableBasePlansParamsWithHTTPClient ¶
func NewGetAvailableBasePlansParamsWithHTTPClient(client *http.Client) *GetAvailableBasePlansParams
NewGetAvailableBasePlansParamsWithHTTPClient creates a new GetAvailableBasePlansParams object with the ability to set a custom HTTPClient for a request.
func NewGetAvailableBasePlansParamsWithTimeout ¶
func NewGetAvailableBasePlansParamsWithTimeout(timeout time.Duration) *GetAvailableBasePlansParams
NewGetAvailableBasePlansParamsWithTimeout creates a new GetAvailableBasePlansParams object with the ability to set a timeout on a request.
func (*GetAvailableBasePlansParams) SetAccountID ¶
func (o *GetAvailableBasePlansParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get available base plans params
func (*GetAvailableBasePlansParams) SetContext ¶
func (o *GetAvailableBasePlansParams) SetContext(ctx context.Context)
SetContext adds the context to the get available base plans params
func (*GetAvailableBasePlansParams) SetDefaults ¶
func (o *GetAvailableBasePlansParams) SetDefaults()
SetDefaults hydrates default values in the get available base plans params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableBasePlansParams) SetHTTPClient ¶
func (o *GetAvailableBasePlansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get available base plans params
func (*GetAvailableBasePlansParams) SetTimeout ¶
func (o *GetAvailableBasePlansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get available base plans params
func (*GetAvailableBasePlansParams) WithAccountID ¶
func (o *GetAvailableBasePlansParams) WithAccountID(accountID *strfmt.UUID) *GetAvailableBasePlansParams
WithAccountID adds the accountID to the get available base plans params
func (*GetAvailableBasePlansParams) WithContext ¶
func (o *GetAvailableBasePlansParams) WithContext(ctx context.Context) *GetAvailableBasePlansParams
WithContext adds the context to the get available base plans params
func (*GetAvailableBasePlansParams) WithDefaults ¶
func (o *GetAvailableBasePlansParams) WithDefaults() *GetAvailableBasePlansParams
WithDefaults hydrates default values in the get available base plans params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableBasePlansParams) WithHTTPClient ¶
func (o *GetAvailableBasePlansParams) WithHTTPClient(client *http.Client) *GetAvailableBasePlansParams
WithHTTPClient adds the HTTPClient to the get available base plans params
func (*GetAvailableBasePlansParams) WithTimeout ¶
func (o *GetAvailableBasePlansParams) WithTimeout(timeout time.Duration) *GetAvailableBasePlansParams
WithTimeout adds the timeout to the get available base plans params
func (*GetAvailableBasePlansParams) WriteToRequest ¶
func (o *GetAvailableBasePlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAvailableBasePlansReader ¶
type GetAvailableBasePlansReader struct {
// contains filtered or unexported fields
}
GetAvailableBasePlansReader is a Reader for the GetAvailableBasePlans structure.
func (*GetAvailableBasePlansReader) ReadResponse ¶
func (o *GetAvailableBasePlansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogJSONOK ¶
GetCatalogJSONOK describes a response with status code 200, with default header values.
successful operation
func NewGetCatalogJSONOK ¶
func NewGetCatalogJSONOK() *GetCatalogJSONOK
NewGetCatalogJSONOK creates a GetCatalogJSONOK with default headers values
func (*GetCatalogJSONOK) Error ¶
func (o *GetCatalogJSONOK) Error() string
func (*GetCatalogJSONOK) GetPayload ¶
func (o *GetCatalogJSONOK) GetPayload() []*kbmodel.Catalog
type GetCatalogJSONParams ¶
type GetCatalogJSONParams struct {
// AccountID.
//
// Format: uuid
AccountID *strfmt.UUID
// RequestedDate.
//
// Format: date-time
RequestedDate *strfmt.DateTime
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCatalogJSONParams contains all the parameters to send to the API endpoint
for the get catalog Json operation. Typically these are written to a http.Request.
func NewGetCatalogJSONParams ¶
func NewGetCatalogJSONParams() *GetCatalogJSONParams
NewGetCatalogJSONParams creates a new GetCatalogJSONParams 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 NewGetCatalogJSONParamsWithContext ¶
func NewGetCatalogJSONParamsWithContext(ctx context.Context) *GetCatalogJSONParams
NewGetCatalogJSONParamsWithContext creates a new GetCatalogJSONParams object with the ability to set a context for a request.
func NewGetCatalogJSONParamsWithHTTPClient ¶
func NewGetCatalogJSONParamsWithHTTPClient(client *http.Client) *GetCatalogJSONParams
NewGetCatalogJSONParamsWithHTTPClient creates a new GetCatalogJSONParams object with the ability to set a custom HTTPClient for a request.
func NewGetCatalogJSONParamsWithTimeout ¶
func NewGetCatalogJSONParamsWithTimeout(timeout time.Duration) *GetCatalogJSONParams
NewGetCatalogJSONParamsWithTimeout creates a new GetCatalogJSONParams object with the ability to set a timeout on a request.
func (*GetCatalogJSONParams) SetAccountID ¶
func (o *GetCatalogJSONParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get catalog Json params
func (*GetCatalogJSONParams) SetContext ¶
func (o *GetCatalogJSONParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog Json params
func (*GetCatalogJSONParams) SetDefaults ¶
func (o *GetCatalogJSONParams) SetDefaults()
SetDefaults hydrates default values in the get catalog Json params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogJSONParams) SetHTTPClient ¶
func (o *GetCatalogJSONParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog Json params
func (*GetCatalogJSONParams) SetRequestedDate ¶
func (o *GetCatalogJSONParams) SetRequestedDate(requestedDate *strfmt.DateTime)
SetRequestedDate adds the requestedDate to the get catalog Json params
func (*GetCatalogJSONParams) SetTimeout ¶
func (o *GetCatalogJSONParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog Json params
func (*GetCatalogJSONParams) WithAccountID ¶
func (o *GetCatalogJSONParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogJSONParams
WithAccountID adds the accountID to the get catalog Json params
func (*GetCatalogJSONParams) WithContext ¶
func (o *GetCatalogJSONParams) WithContext(ctx context.Context) *GetCatalogJSONParams
WithContext adds the context to the get catalog Json params
func (*GetCatalogJSONParams) WithDefaults ¶
func (o *GetCatalogJSONParams) WithDefaults() *GetCatalogJSONParams
WithDefaults hydrates default values in the get catalog Json params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogJSONParams) WithHTTPClient ¶
func (o *GetCatalogJSONParams) WithHTTPClient(client *http.Client) *GetCatalogJSONParams
WithHTTPClient adds the HTTPClient to the get catalog Json params
func (*GetCatalogJSONParams) WithRequestedDate ¶
func (o *GetCatalogJSONParams) WithRequestedDate(requestedDate *strfmt.DateTime) *GetCatalogJSONParams
WithRequestedDate adds the requestedDate to the get catalog Json params
func (*GetCatalogJSONParams) WithTimeout ¶
func (o *GetCatalogJSONParams) WithTimeout(timeout time.Duration) *GetCatalogJSONParams
WithTimeout adds the timeout to the get catalog Json params
func (*GetCatalogJSONParams) WriteToRequest ¶
func (o *GetCatalogJSONParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogJSONReader ¶
type GetCatalogJSONReader struct {
// contains filtered or unexported fields
}
GetCatalogJSONReader is a Reader for the GetCatalogJSON structure.
func (*GetCatalogJSONReader) ReadResponse ¶
func (o *GetCatalogJSONReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogVersionsOK ¶
GetCatalogVersionsOK describes a response with status code 200, with default header values.
successful operation
func NewGetCatalogVersionsOK ¶
func NewGetCatalogVersionsOK() *GetCatalogVersionsOK
NewGetCatalogVersionsOK creates a GetCatalogVersionsOK with default headers values
func (*GetCatalogVersionsOK) Error ¶
func (o *GetCatalogVersionsOK) Error() string
func (*GetCatalogVersionsOK) GetPayload ¶
func (o *GetCatalogVersionsOK) GetPayload() []strfmt.DateTime
type GetCatalogVersionsParams ¶
type GetCatalogVersionsParams struct {
// AccountID.
//
// Format: uuid
AccountID *strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCatalogVersionsParams contains all the parameters to send to the API endpoint
for the get catalog versions operation. Typically these are written to a http.Request.
func NewGetCatalogVersionsParams ¶
func NewGetCatalogVersionsParams() *GetCatalogVersionsParams
NewGetCatalogVersionsParams creates a new GetCatalogVersionsParams 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 NewGetCatalogVersionsParamsWithContext ¶
func NewGetCatalogVersionsParamsWithContext(ctx context.Context) *GetCatalogVersionsParams
NewGetCatalogVersionsParamsWithContext creates a new GetCatalogVersionsParams object with the ability to set a context for a request.
func NewGetCatalogVersionsParamsWithHTTPClient ¶
func NewGetCatalogVersionsParamsWithHTTPClient(client *http.Client) *GetCatalogVersionsParams
NewGetCatalogVersionsParamsWithHTTPClient creates a new GetCatalogVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCatalogVersionsParamsWithTimeout ¶
func NewGetCatalogVersionsParamsWithTimeout(timeout time.Duration) *GetCatalogVersionsParams
NewGetCatalogVersionsParamsWithTimeout creates a new GetCatalogVersionsParams object with the ability to set a timeout on a request.
func (*GetCatalogVersionsParams) SetAccountID ¶
func (o *GetCatalogVersionsParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get catalog versions params
func (*GetCatalogVersionsParams) SetContext ¶
func (o *GetCatalogVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog versions params
func (*GetCatalogVersionsParams) SetDefaults ¶
func (o *GetCatalogVersionsParams) SetDefaults()
SetDefaults hydrates default values in the get catalog versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogVersionsParams) SetHTTPClient ¶
func (o *GetCatalogVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog versions params
func (*GetCatalogVersionsParams) SetTimeout ¶
func (o *GetCatalogVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog versions params
func (*GetCatalogVersionsParams) WithAccountID ¶
func (o *GetCatalogVersionsParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogVersionsParams
WithAccountID adds the accountID to the get catalog versions params
func (*GetCatalogVersionsParams) WithContext ¶
func (o *GetCatalogVersionsParams) WithContext(ctx context.Context) *GetCatalogVersionsParams
WithContext adds the context to the get catalog versions params
func (*GetCatalogVersionsParams) WithDefaults ¶
func (o *GetCatalogVersionsParams) WithDefaults() *GetCatalogVersionsParams
WithDefaults hydrates default values in the get catalog versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogVersionsParams) WithHTTPClient ¶
func (o *GetCatalogVersionsParams) WithHTTPClient(client *http.Client) *GetCatalogVersionsParams
WithHTTPClient adds the HTTPClient to the get catalog versions params
func (*GetCatalogVersionsParams) WithTimeout ¶
func (o *GetCatalogVersionsParams) WithTimeout(timeout time.Duration) *GetCatalogVersionsParams
WithTimeout adds the timeout to the get catalog versions params
func (*GetCatalogVersionsParams) WriteToRequest ¶
func (o *GetCatalogVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogVersionsReader ¶
type GetCatalogVersionsReader struct {
// contains filtered or unexported fields
}
GetCatalogVersionsReader is a Reader for the GetCatalogVersions structure.
func (*GetCatalogVersionsReader) ReadResponse ¶
func (o *GetCatalogVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogXMLOK ¶
type GetCatalogXMLOK struct {
Payload string
}
GetCatalogXMLOK describes a response with status code 200, with default header values.
successful operation
func NewGetCatalogXMLOK ¶
func NewGetCatalogXMLOK() *GetCatalogXMLOK
NewGetCatalogXMLOK creates a GetCatalogXMLOK with default headers values
func (*GetCatalogXMLOK) Error ¶
func (o *GetCatalogXMLOK) Error() string
func (*GetCatalogXMLOK) GetPayload ¶
func (o *GetCatalogXMLOK) GetPayload() string
type GetCatalogXMLParams ¶
type GetCatalogXMLParams struct {
// AccountID.
//
// Format: uuid
AccountID *strfmt.UUID
// RequestedDate.
//
// Format: date-time
RequestedDate *strfmt.DateTime
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCatalogXMLParams contains all the parameters to send to the API endpoint
for the get catalog Xml operation. Typically these are written to a http.Request.
func NewGetCatalogXMLParams ¶
func NewGetCatalogXMLParams() *GetCatalogXMLParams
NewGetCatalogXMLParams creates a new GetCatalogXMLParams 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 NewGetCatalogXMLParamsWithContext ¶
func NewGetCatalogXMLParamsWithContext(ctx context.Context) *GetCatalogXMLParams
NewGetCatalogXMLParamsWithContext creates a new GetCatalogXMLParams object with the ability to set a context for a request.
func NewGetCatalogXMLParamsWithHTTPClient ¶
func NewGetCatalogXMLParamsWithHTTPClient(client *http.Client) *GetCatalogXMLParams
NewGetCatalogXMLParamsWithHTTPClient creates a new GetCatalogXMLParams object with the ability to set a custom HTTPClient for a request.
func NewGetCatalogXMLParamsWithTimeout ¶
func NewGetCatalogXMLParamsWithTimeout(timeout time.Duration) *GetCatalogXMLParams
NewGetCatalogXMLParamsWithTimeout creates a new GetCatalogXMLParams object with the ability to set a timeout on a request.
func (*GetCatalogXMLParams) SetAccountID ¶
func (o *GetCatalogXMLParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get catalog Xml params
func (*GetCatalogXMLParams) SetContext ¶
func (o *GetCatalogXMLParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog Xml params
func (*GetCatalogXMLParams) SetDefaults ¶
func (o *GetCatalogXMLParams) SetDefaults()
SetDefaults hydrates default values in the get catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogXMLParams) SetHTTPClient ¶
func (o *GetCatalogXMLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog Xml params
func (*GetCatalogXMLParams) SetRequestedDate ¶
func (o *GetCatalogXMLParams) SetRequestedDate(requestedDate *strfmt.DateTime)
SetRequestedDate adds the requestedDate to the get catalog Xml params
func (*GetCatalogXMLParams) SetTimeout ¶
func (o *GetCatalogXMLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog Xml params
func (*GetCatalogXMLParams) WithAccountID ¶
func (o *GetCatalogXMLParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogXMLParams
WithAccountID adds the accountID to the get catalog Xml params
func (*GetCatalogXMLParams) WithContext ¶
func (o *GetCatalogXMLParams) WithContext(ctx context.Context) *GetCatalogXMLParams
WithContext adds the context to the get catalog Xml params
func (*GetCatalogXMLParams) WithDefaults ¶
func (o *GetCatalogXMLParams) WithDefaults() *GetCatalogXMLParams
WithDefaults hydrates default values in the get catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogXMLParams) WithHTTPClient ¶
func (o *GetCatalogXMLParams) WithHTTPClient(client *http.Client) *GetCatalogXMLParams
WithHTTPClient adds the HTTPClient to the get catalog Xml params
func (*GetCatalogXMLParams) WithRequestedDate ¶
func (o *GetCatalogXMLParams) WithRequestedDate(requestedDate *strfmt.DateTime) *GetCatalogXMLParams
WithRequestedDate adds the requestedDate to the get catalog Xml params
func (*GetCatalogXMLParams) WithTimeout ¶
func (o *GetCatalogXMLParams) WithTimeout(timeout time.Duration) *GetCatalogXMLParams
WithTimeout adds the timeout to the get catalog Xml params
func (*GetCatalogXMLParams) WriteToRequest ¶
func (o *GetCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogXMLReader ¶
type GetCatalogXMLReader struct {
// contains filtered or unexported fields
}
GetCatalogXMLReader is a Reader for the GetCatalogXML structure.
func (*GetCatalogXMLReader) ReadResponse ¶
func (o *GetCatalogXMLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPhaseForSubscriptionAndDateOK ¶
GetPhaseForSubscriptionAndDateOK describes a response with status code 200, with default header values.
successful operation
func NewGetPhaseForSubscriptionAndDateOK ¶
func NewGetPhaseForSubscriptionAndDateOK() *GetPhaseForSubscriptionAndDateOK
NewGetPhaseForSubscriptionAndDateOK creates a GetPhaseForSubscriptionAndDateOK with default headers values
func (*GetPhaseForSubscriptionAndDateOK) Error ¶
func (o *GetPhaseForSubscriptionAndDateOK) Error() string
func (*GetPhaseForSubscriptionAndDateOK) GetPayload ¶
func (o *GetPhaseForSubscriptionAndDateOK) GetPayload() *kbmodel.Phase
type GetPhaseForSubscriptionAndDateParams ¶
type GetPhaseForSubscriptionAndDateParams struct {
// RequestedDate.
//
// Format: date
RequestedDate *strfmt.Date
// SubscriptionID.
//
// Format: uuid
SubscriptionID *strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetPhaseForSubscriptionAndDateParams contains all the parameters to send to the API endpoint
for the get phase for subscription and date operation. Typically these are written to a http.Request.
func NewGetPhaseForSubscriptionAndDateParams ¶
func NewGetPhaseForSubscriptionAndDateParams() *GetPhaseForSubscriptionAndDateParams
NewGetPhaseForSubscriptionAndDateParams creates a new GetPhaseForSubscriptionAndDateParams 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 NewGetPhaseForSubscriptionAndDateParamsWithContext ¶
func NewGetPhaseForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams
NewGetPhaseForSubscriptionAndDateParamsWithContext creates a new GetPhaseForSubscriptionAndDateParams object with the ability to set a context for a request.
func NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient ¶
func NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPhaseForSubscriptionAndDateParams
NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient creates a new GetPhaseForSubscriptionAndDateParams object with the ability to set a custom HTTPClient for a request.
func NewGetPhaseForSubscriptionAndDateParamsWithTimeout ¶
func NewGetPhaseForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPhaseForSubscriptionAndDateParams
NewGetPhaseForSubscriptionAndDateParamsWithTimeout creates a new GetPhaseForSubscriptionAndDateParams object with the ability to set a timeout on a request.
func (*GetPhaseForSubscriptionAndDateParams) SetContext ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetContext(ctx context.Context)
SetContext adds the context to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) SetDefaults ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetDefaults()
SetDefaults hydrates default values in the get phase for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPhaseForSubscriptionAndDateParams) SetHTTPClient ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) SetRequestedDate ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) SetSubscriptionID ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) SetTimeout ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithContext ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams
WithContext adds the context to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithDefaults ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithDefaults() *GetPhaseForSubscriptionAndDateParams
WithDefaults hydrates default values in the get phase for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPhaseForSubscriptionAndDateParams) WithHTTPClient ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPhaseForSubscriptionAndDateParams
WithHTTPClient adds the HTTPClient to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithRequestedDate ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPhaseForSubscriptionAndDateParams
WithRequestedDate adds the requestedDate to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithSubscriptionID ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPhaseForSubscriptionAndDateParams
WithSubscriptionID adds the subscriptionID to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithTimeout ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPhaseForSubscriptionAndDateParams
WithTimeout adds the timeout to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WriteToRequest ¶
func (o *GetPhaseForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPhaseForSubscriptionAndDateReader ¶
type GetPhaseForSubscriptionAndDateReader struct {
// contains filtered or unexported fields
}
GetPhaseForSubscriptionAndDateReader is a Reader for the GetPhaseForSubscriptionAndDate structure.
func (*GetPhaseForSubscriptionAndDateReader) ReadResponse ¶
func (o *GetPhaseForSubscriptionAndDateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPlanForSubscriptionAndDateOK ¶
GetPlanForSubscriptionAndDateOK describes a response with status code 200, with default header values.
successful operation
func NewGetPlanForSubscriptionAndDateOK ¶
func NewGetPlanForSubscriptionAndDateOK() *GetPlanForSubscriptionAndDateOK
NewGetPlanForSubscriptionAndDateOK creates a GetPlanForSubscriptionAndDateOK with default headers values
func (*GetPlanForSubscriptionAndDateOK) Error ¶
func (o *GetPlanForSubscriptionAndDateOK) Error() string
func (*GetPlanForSubscriptionAndDateOK) GetPayload ¶
func (o *GetPlanForSubscriptionAndDateOK) GetPayload() *kbmodel.Plan
type GetPlanForSubscriptionAndDateParams ¶
type GetPlanForSubscriptionAndDateParams struct {
// RequestedDate.
//
// Format: date
RequestedDate *strfmt.Date
// SubscriptionID.
//
// Format: uuid
SubscriptionID *strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetPlanForSubscriptionAndDateParams contains all the parameters to send to the API endpoint
for the get plan for subscription and date operation. Typically these are written to a http.Request.
func NewGetPlanForSubscriptionAndDateParams ¶
func NewGetPlanForSubscriptionAndDateParams() *GetPlanForSubscriptionAndDateParams
NewGetPlanForSubscriptionAndDateParams creates a new GetPlanForSubscriptionAndDateParams 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 NewGetPlanForSubscriptionAndDateParamsWithContext ¶
func NewGetPlanForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams
NewGetPlanForSubscriptionAndDateParamsWithContext creates a new GetPlanForSubscriptionAndDateParams object with the ability to set a context for a request.
func NewGetPlanForSubscriptionAndDateParamsWithHTTPClient ¶
func NewGetPlanForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPlanForSubscriptionAndDateParams
NewGetPlanForSubscriptionAndDateParamsWithHTTPClient creates a new GetPlanForSubscriptionAndDateParams object with the ability to set a custom HTTPClient for a request.
func NewGetPlanForSubscriptionAndDateParamsWithTimeout ¶
func NewGetPlanForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPlanForSubscriptionAndDateParams
NewGetPlanForSubscriptionAndDateParamsWithTimeout creates a new GetPlanForSubscriptionAndDateParams object with the ability to set a timeout on a request.
func (*GetPlanForSubscriptionAndDateParams) SetContext ¶
func (o *GetPlanForSubscriptionAndDateParams) SetContext(ctx context.Context)
SetContext adds the context to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) SetDefaults ¶
func (o *GetPlanForSubscriptionAndDateParams) SetDefaults()
SetDefaults hydrates default values in the get plan for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPlanForSubscriptionAndDateParams) SetHTTPClient ¶
func (o *GetPlanForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) SetRequestedDate ¶
func (o *GetPlanForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) SetSubscriptionID ¶
func (o *GetPlanForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) SetTimeout ¶
func (o *GetPlanForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithContext ¶
func (o *GetPlanForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams
WithContext adds the context to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithDefaults ¶
func (o *GetPlanForSubscriptionAndDateParams) WithDefaults() *GetPlanForSubscriptionAndDateParams
WithDefaults hydrates default values in the get plan for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPlanForSubscriptionAndDateParams) WithHTTPClient ¶
func (o *GetPlanForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPlanForSubscriptionAndDateParams
WithHTTPClient adds the HTTPClient to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithRequestedDate ¶
func (o *GetPlanForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPlanForSubscriptionAndDateParams
WithRequestedDate adds the requestedDate to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithSubscriptionID ¶
func (o *GetPlanForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPlanForSubscriptionAndDateParams
WithSubscriptionID adds the subscriptionID to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithTimeout ¶
func (o *GetPlanForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPlanForSubscriptionAndDateParams
WithTimeout adds the timeout to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WriteToRequest ¶
func (o *GetPlanForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPlanForSubscriptionAndDateReader ¶
type GetPlanForSubscriptionAndDateReader struct {
// contains filtered or unexported fields
}
GetPlanForSubscriptionAndDateReader is a Reader for the GetPlanForSubscriptionAndDate structure.
func (*GetPlanForSubscriptionAndDateReader) ReadResponse ¶
func (o *GetPlanForSubscriptionAndDateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPriceListForSubscriptionAndDateOK ¶
GetPriceListForSubscriptionAndDateOK describes a response with status code 200, with default header values.
successful operation
func NewGetPriceListForSubscriptionAndDateOK ¶
func NewGetPriceListForSubscriptionAndDateOK() *GetPriceListForSubscriptionAndDateOK
NewGetPriceListForSubscriptionAndDateOK creates a GetPriceListForSubscriptionAndDateOK with default headers values
func (*GetPriceListForSubscriptionAndDateOK) Error ¶
func (o *GetPriceListForSubscriptionAndDateOK) Error() string
func (*GetPriceListForSubscriptionAndDateOK) GetPayload ¶
func (o *GetPriceListForSubscriptionAndDateOK) GetPayload() *kbmodel.PriceList
type GetPriceListForSubscriptionAndDateParams ¶
type GetPriceListForSubscriptionAndDateParams struct {
// RequestedDate.
//
// Format: date
RequestedDate *strfmt.Date
// SubscriptionID.
//
// Format: uuid
SubscriptionID *strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetPriceListForSubscriptionAndDateParams contains all the parameters to send to the API endpoint
for the get price list for subscription and date operation. Typically these are written to a http.Request.
func NewGetPriceListForSubscriptionAndDateParams ¶
func NewGetPriceListForSubscriptionAndDateParams() *GetPriceListForSubscriptionAndDateParams
NewGetPriceListForSubscriptionAndDateParams creates a new GetPriceListForSubscriptionAndDateParams 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 NewGetPriceListForSubscriptionAndDateParamsWithContext ¶
func NewGetPriceListForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams
NewGetPriceListForSubscriptionAndDateParamsWithContext creates a new GetPriceListForSubscriptionAndDateParams object with the ability to set a context for a request.
func NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient ¶
func NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPriceListForSubscriptionAndDateParams
NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient creates a new GetPriceListForSubscriptionAndDateParams object with the ability to set a custom HTTPClient for a request.
func NewGetPriceListForSubscriptionAndDateParamsWithTimeout ¶
func NewGetPriceListForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPriceListForSubscriptionAndDateParams
NewGetPriceListForSubscriptionAndDateParamsWithTimeout creates a new GetPriceListForSubscriptionAndDateParams object with the ability to set a timeout on a request.
func (*GetPriceListForSubscriptionAndDateParams) SetContext ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetContext(ctx context.Context)
SetContext adds the context to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) SetDefaults ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetDefaults()
SetDefaults hydrates default values in the get price list for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPriceListForSubscriptionAndDateParams) SetHTTPClient ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) SetRequestedDate ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) SetSubscriptionID ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) SetTimeout ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithContext ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams
WithContext adds the context to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithDefaults ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithDefaults() *GetPriceListForSubscriptionAndDateParams
WithDefaults hydrates default values in the get price list for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPriceListForSubscriptionAndDateParams) WithHTTPClient ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPriceListForSubscriptionAndDateParams
WithHTTPClient adds the HTTPClient to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithRequestedDate ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPriceListForSubscriptionAndDateParams
WithRequestedDate adds the requestedDate to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithSubscriptionID ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPriceListForSubscriptionAndDateParams
WithSubscriptionID adds the subscriptionID to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithTimeout ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPriceListForSubscriptionAndDateParams
WithTimeout adds the timeout to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WriteToRequest ¶
func (o *GetPriceListForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPriceListForSubscriptionAndDateReader ¶
type GetPriceListForSubscriptionAndDateReader struct {
// contains filtered or unexported fields
}
GetPriceListForSubscriptionAndDateReader is a Reader for the GetPriceListForSubscriptionAndDate structure.
func (*GetPriceListForSubscriptionAndDateReader) ReadResponse ¶
func (o *GetPriceListForSubscriptionAndDateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProductForSubscriptionAndDateOK ¶
GetProductForSubscriptionAndDateOK describes a response with status code 200, with default header values.
successful operation
func NewGetProductForSubscriptionAndDateOK ¶
func NewGetProductForSubscriptionAndDateOK() *GetProductForSubscriptionAndDateOK
NewGetProductForSubscriptionAndDateOK creates a GetProductForSubscriptionAndDateOK with default headers values
func (*GetProductForSubscriptionAndDateOK) Error ¶
func (o *GetProductForSubscriptionAndDateOK) Error() string
func (*GetProductForSubscriptionAndDateOK) GetPayload ¶
func (o *GetProductForSubscriptionAndDateOK) GetPayload() *kbmodel.Product
type GetProductForSubscriptionAndDateParams ¶
type GetProductForSubscriptionAndDateParams struct {
// RequestedDate.
//
// Format: date
RequestedDate *strfmt.Date
// SubscriptionID.
//
// Format: uuid
SubscriptionID *strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetProductForSubscriptionAndDateParams contains all the parameters to send to the API endpoint
for the get product for subscription and date operation. Typically these are written to a http.Request.
func NewGetProductForSubscriptionAndDateParams ¶
func NewGetProductForSubscriptionAndDateParams() *GetProductForSubscriptionAndDateParams
NewGetProductForSubscriptionAndDateParams creates a new GetProductForSubscriptionAndDateParams 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 NewGetProductForSubscriptionAndDateParamsWithContext ¶
func NewGetProductForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams
NewGetProductForSubscriptionAndDateParamsWithContext creates a new GetProductForSubscriptionAndDateParams object with the ability to set a context for a request.
func NewGetProductForSubscriptionAndDateParamsWithHTTPClient ¶
func NewGetProductForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetProductForSubscriptionAndDateParams
NewGetProductForSubscriptionAndDateParamsWithHTTPClient creates a new GetProductForSubscriptionAndDateParams object with the ability to set a custom HTTPClient for a request.
func NewGetProductForSubscriptionAndDateParamsWithTimeout ¶
func NewGetProductForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetProductForSubscriptionAndDateParams
NewGetProductForSubscriptionAndDateParamsWithTimeout creates a new GetProductForSubscriptionAndDateParams object with the ability to set a timeout on a request.
func (*GetProductForSubscriptionAndDateParams) SetContext ¶
func (o *GetProductForSubscriptionAndDateParams) SetContext(ctx context.Context)
SetContext adds the context to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) SetDefaults ¶
func (o *GetProductForSubscriptionAndDateParams) SetDefaults()
SetDefaults hydrates default values in the get product for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetProductForSubscriptionAndDateParams) SetHTTPClient ¶
func (o *GetProductForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) SetRequestedDate ¶
func (o *GetProductForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) SetSubscriptionID ¶
func (o *GetProductForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) SetTimeout ¶
func (o *GetProductForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithContext ¶
func (o *GetProductForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams
WithContext adds the context to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithDefaults ¶
func (o *GetProductForSubscriptionAndDateParams) WithDefaults() *GetProductForSubscriptionAndDateParams
WithDefaults hydrates default values in the get product for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetProductForSubscriptionAndDateParams) WithHTTPClient ¶
func (o *GetProductForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetProductForSubscriptionAndDateParams
WithHTTPClient adds the HTTPClient to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithRequestedDate ¶
func (o *GetProductForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetProductForSubscriptionAndDateParams
WithRequestedDate adds the requestedDate to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithSubscriptionID ¶
func (o *GetProductForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetProductForSubscriptionAndDateParams
WithSubscriptionID adds the subscriptionID to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithTimeout ¶
func (o *GetProductForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetProductForSubscriptionAndDateParams
WithTimeout adds the timeout to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WriteToRequest ¶
func (o *GetProductForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProductForSubscriptionAndDateReader ¶
type GetProductForSubscriptionAndDateReader struct {
// contains filtered or unexported fields
}
GetProductForSubscriptionAndDateReader is a Reader for the GetProductForSubscriptionAndDate structure.
func (*GetProductForSubscriptionAndDateReader) ReadResponse ¶
func (o *GetProductForSubscriptionAndDateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadCatalogXMLCreated ¶
type UploadCatalogXMLCreated struct {
Payload string
}
UploadCatalogXMLCreated describes a response with status code 201, with default header values.
Catalog XML created successfully
func NewUploadCatalogXMLCreated ¶
func NewUploadCatalogXMLCreated() *UploadCatalogXMLCreated
NewUploadCatalogXMLCreated creates a UploadCatalogXMLCreated with default headers values
func (*UploadCatalogXMLCreated) Error ¶
func (o *UploadCatalogXMLCreated) Error() string
func (*UploadCatalogXMLCreated) GetPayload ¶
func (o *UploadCatalogXMLCreated) GetPayload() string
type UploadCatalogXMLParams ¶
type UploadCatalogXMLParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// Body.
Body string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UploadCatalogXMLParams contains all the parameters to send to the API endpoint
for the upload catalog Xml operation. Typically these are written to a http.Request.
func NewUploadCatalogXMLParams ¶
func NewUploadCatalogXMLParams() *UploadCatalogXMLParams
NewUploadCatalogXMLParams creates a new UploadCatalogXMLParams 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 NewUploadCatalogXMLParamsWithContext ¶
func NewUploadCatalogXMLParamsWithContext(ctx context.Context) *UploadCatalogXMLParams
NewUploadCatalogXMLParamsWithContext creates a new UploadCatalogXMLParams object with the ability to set a context for a request.
func NewUploadCatalogXMLParamsWithHTTPClient ¶
func NewUploadCatalogXMLParamsWithHTTPClient(client *http.Client) *UploadCatalogXMLParams
NewUploadCatalogXMLParamsWithHTTPClient creates a new UploadCatalogXMLParams object with the ability to set a custom HTTPClient for a request.
func NewUploadCatalogXMLParamsWithTimeout ¶
func NewUploadCatalogXMLParamsWithTimeout(timeout time.Duration) *UploadCatalogXMLParams
NewUploadCatalogXMLParamsWithTimeout creates a new UploadCatalogXMLParams object with the ability to set a timeout on a request.
func (*UploadCatalogXMLParams) SetBody ¶
func (o *UploadCatalogXMLParams) SetBody(body string)
SetBody adds the body to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetContext ¶
func (o *UploadCatalogXMLParams) SetContext(ctx context.Context)
SetContext adds the context to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetDefaults ¶
func (o *UploadCatalogXMLParams) SetDefaults()
SetDefaults hydrates default values in the upload catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*UploadCatalogXMLParams) SetHTTPClient ¶
func (o *UploadCatalogXMLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetTimeout ¶
func (o *UploadCatalogXMLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetXKillbillComment ¶
func (o *UploadCatalogXMLParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetXKillbillCreatedBy ¶
func (o *UploadCatalogXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetXKillbillReason ¶
func (o *UploadCatalogXMLParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithBody ¶
func (o *UploadCatalogXMLParams) WithBody(body string) *UploadCatalogXMLParams
WithBody adds the body to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithContext ¶
func (o *UploadCatalogXMLParams) WithContext(ctx context.Context) *UploadCatalogXMLParams
WithContext adds the context to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithDefaults ¶
func (o *UploadCatalogXMLParams) WithDefaults() *UploadCatalogXMLParams
WithDefaults hydrates default values in the upload catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*UploadCatalogXMLParams) WithHTTPClient ¶
func (o *UploadCatalogXMLParams) WithHTTPClient(client *http.Client) *UploadCatalogXMLParams
WithHTTPClient adds the HTTPClient to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithTimeout ¶
func (o *UploadCatalogXMLParams) WithTimeout(timeout time.Duration) *UploadCatalogXMLParams
WithTimeout adds the timeout to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithXKillbillComment ¶
func (o *UploadCatalogXMLParams) WithXKillbillComment(xKillbillComment *string) *UploadCatalogXMLParams
WithXKillbillComment adds the xKillbillComment to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithXKillbillCreatedBy ¶
func (o *UploadCatalogXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadCatalogXMLParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithXKillbillReason ¶
func (o *UploadCatalogXMLParams) WithXKillbillReason(xKillbillReason *string) *UploadCatalogXMLParams
WithXKillbillReason adds the xKillbillReason to the upload catalog Xml params
func (*UploadCatalogXMLParams) WriteToRequest ¶
func (o *UploadCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadCatalogXMLReader ¶
type UploadCatalogXMLReader struct {
// contains filtered or unexported fields
}
UploadCatalogXMLReader is a Reader for the UploadCatalogXML structure.
func (*UploadCatalogXMLReader) ReadResponse ¶
func (o *UploadCatalogXMLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- add_simple_plan_parameters.go
- add_simple_plan_responses.go
- catalog_client.go
- delete_catalog_parameters.go
- delete_catalog_responses.go
- get_available_addons_parameters.go
- get_available_addons_responses.go
- get_available_base_plans_parameters.go
- get_available_base_plans_responses.go
- get_catalog_json_parameters.go
- get_catalog_json_responses.go
- get_catalog_versions_parameters.go
- get_catalog_versions_responses.go
- get_catalog_xml_parameters.go
- get_catalog_xml_responses.go
- get_phase_for_subscription_and_date_parameters.go
- get_phase_for_subscription_and_date_responses.go
- get_plan_for_subscription_and_date_parameters.go
- get_plan_for_subscription_and_date_responses.go
- get_price_list_for_subscription_and_date_parameters.go
- get_price_list_for_subscription_and_date_responses.go
- get_product_for_subscription_and_date_parameters.go
- get_product_for_subscription_and_date_responses.go
- upload_catalog_xml_parameters.go
- upload_catalog_xml_responses.go