Documentation ¶
Index ¶
- type AddSimplePlanCreated
- type AddSimplePlanParams
- func (o *AddSimplePlanParams) SetBody(body *kbmodel.SimplePlan)
- func (o *AddSimplePlanParams) SetContext(ctx context.Context)
- 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) 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(ctx context.Context, params *AddSimplePlanParams) (*AddSimplePlanCreated, error)
- func (a *Client) DeleteCatalog(ctx context.Context, params *DeleteCatalogParams) (*DeleteCatalogNoContent, error)
- func (a *Client) GetAvailableAddons(ctx context.Context, params *GetAvailableAddonsParams) (*GetAvailableAddonsOK, error)
- func (a *Client) GetAvailableBasePlans(ctx context.Context, params *GetAvailableBasePlansParams) (*GetAvailableBasePlansOK, error)
- func (a *Client) GetCatalogJSON(ctx context.Context, params *GetCatalogJSONParams) (*GetCatalogJSONOK, error)
- func (a *Client) GetCatalogVersions(ctx context.Context, params *GetCatalogVersionsParams) (*GetCatalogVersionsOK, error)
- func (a *Client) GetCatalogXML(ctx context.Context, params *GetCatalogXMLParams) (*GetCatalogXMLOK, error)
- func (a *Client) GetPhaseForSubscriptionAndDate(ctx context.Context, params *GetPhaseForSubscriptionAndDateParams) (*GetPhaseForSubscriptionAndDateOK, error)
- func (a *Client) GetPlanForSubscriptionAndDate(ctx context.Context, params *GetPlanForSubscriptionAndDateParams) (*GetPlanForSubscriptionAndDateOK, error)
- func (a *Client) GetPriceListForSubscriptionAndDate(ctx context.Context, params *GetPriceListForSubscriptionAndDateParams) (*GetPriceListForSubscriptionAndDateOK, error)
- func (a *Client) GetProductForSubscriptionAndDate(ctx context.Context, params *GetProductForSubscriptionAndDateParams) (*GetProductForSubscriptionAndDateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadCatalogXML(ctx context.Context, params *UploadCatalogXMLParams) (*UploadCatalogXMLCreated, error)
- type DeleteCatalogNoContent
- type DeleteCatalogParams
- func (o *DeleteCatalogParams) SetContext(ctx context.Context)
- 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 ICatalog
- type KillbillDefaults
- 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) 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) 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 HttpResponse runtime.ClientResponse }
AddSimplePlanCreated handles this case 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 WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewAddSimplePlanParamsWithContext ¶
func NewAddSimplePlanParamsWithContext(ctx context.Context) *AddSimplePlanParams
NewAddSimplePlanParamsWithContext creates a new AddSimplePlanParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new catalog API client.
func (*Client) AddSimplePlan ¶
func (a *Client) AddSimplePlan(ctx context.Context, params *AddSimplePlanParams) (*AddSimplePlanCreated, error)
AddSimplePlan adds a simple plan entry in the current version of the catalog
resource description
func (*Client) DeleteCatalog ¶
func (a *Client) DeleteCatalog(ctx context.Context, params *DeleteCatalogParams) (*DeleteCatalogNoContent, error)
DeleteCatalog deletes all versions for a per tenant catalog
resource description
func (*Client) GetAvailableAddons ¶
func (a *Client) GetAvailableAddons(ctx context.Context, params *GetAvailableAddonsParams) (*GetAvailableAddonsOK, error)
GetAvailableAddons retrieves available add ons for a given product
resource description
func (*Client) GetAvailableBasePlans ¶
func (a *Client) GetAvailableBasePlans(ctx context.Context, params *GetAvailableBasePlansParams) (*GetAvailableBasePlansOK, error)
GetAvailableBasePlans retrieves available base plans
resource description
func (*Client) GetCatalogJSON ¶
func (a *Client) GetCatalogJSON(ctx context.Context, params *GetCatalogJSONParams) (*GetCatalogJSONOK, error)
GetCatalogJSON retrieves the catalog as JSON
resource description
func (*Client) GetCatalogVersions ¶
func (a *Client) GetCatalogVersions(ctx context.Context, params *GetCatalogVersionsParams) (*GetCatalogVersionsOK, error)
GetCatalogVersions retrieves a list of catalog versions
resource description
func (*Client) GetCatalogXML ¶
func (a *Client) GetCatalogXML(ctx context.Context, params *GetCatalogXMLParams) (*GetCatalogXMLOK, error)
GetCatalogXML retrieves the full catalog as XML
resource description
func (*Client) GetPhaseForSubscriptionAndDate ¶
func (a *Client) GetPhaseForSubscriptionAndDate(ctx context.Context, params *GetPhaseForSubscriptionAndDateParams) (*GetPhaseForSubscriptionAndDateOK, error)
GetPhaseForSubscriptionAndDate retrieves phase for a given subscription and date
resource description
func (*Client) GetPlanForSubscriptionAndDate ¶
func (a *Client) GetPlanForSubscriptionAndDate(ctx context.Context, params *GetPlanForSubscriptionAndDateParams) (*GetPlanForSubscriptionAndDateOK, error)
GetPlanForSubscriptionAndDate retrieves plan for a given subscription and date
resource description
func (*Client) GetPriceListForSubscriptionAndDate ¶
func (a *Client) GetPriceListForSubscriptionAndDate(ctx context.Context, params *GetPriceListForSubscriptionAndDateParams) (*GetPriceListForSubscriptionAndDateOK, error)
GetPriceListForSubscriptionAndDate retrieves price list for a given subscription and date
resource description
func (*Client) GetProductForSubscriptionAndDate ¶
func (a *Client) GetProductForSubscriptionAndDate(ctx context.Context, params *GetProductForSubscriptionAndDateParams) (*GetProductForSubscriptionAndDateOK, error)
GetProductForSubscriptionAndDate retrieves product for a given subscription and date
resource description
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadCatalogXML ¶
func (a *Client) UploadCatalogXML(ctx context.Context, params *UploadCatalogXMLParams) (*UploadCatalogXMLCreated, error)
UploadCatalogXML uploads the full catalog as XML
resource description
type DeleteCatalogNoContent ¶
type DeleteCatalogNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteCatalogNoContent handles this case 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 WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewDeleteCatalogParamsWithContext ¶
func NewDeleteCatalogParamsWithContext(ctx context.Context) *DeleteCatalogParams
NewDeleteCatalogParamsWithContext creates a new DeleteCatalogParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 HttpResponse runtime.ClientResponse }
GetAvailableAddonsOK handles this case 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*/ AccountID *strfmt.UUID /*BaseProductName*/ BaseProductName *string /*PriceListName*/ PriceListName *string WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewGetAvailableAddonsParamsWithContext ¶
func NewGetAvailableAddonsParamsWithContext(ctx context.Context) *GetAvailableAddonsParams
NewGetAvailableAddonsParamsWithContext creates a new GetAvailableAddonsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 HttpResponse runtime.ClientResponse }
GetAvailableBasePlansOK handles this case 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*/ AccountID *strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewGetAvailableBasePlansParamsWithContext ¶
func NewGetAvailableBasePlansParamsWithContext(ctx context.Context) *GetAvailableBasePlansParams
NewGetAvailableBasePlansParamsWithContext creates a new GetAvailableBasePlansParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ¶
type GetCatalogJSONOK struct { Payload []*kbmodel.Catalog HttpResponse runtime.ClientResponse }
GetCatalogJSONOK handles this case 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*/ AccountID *strfmt.UUID /*RequestedDate*/ RequestedDate *strfmt.DateTime WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewGetCatalogJSONParamsWithContext ¶
func NewGetCatalogJSONParamsWithContext(ctx context.Context) *GetCatalogJSONParams
NewGetCatalogJSONParamsWithContext creates a new GetCatalogJSONParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ¶
type GetCatalogVersionsOK struct { Payload []strfmt.DateTime HttpResponse runtime.ClientResponse }
GetCatalogVersionsOK handles this case 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*/ AccountID *strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewGetCatalogVersionsParamsWithContext ¶
func NewGetCatalogVersionsParamsWithContext(ctx context.Context) *GetCatalogVersionsParams
NewGetCatalogVersionsParamsWithContext creates a new GetCatalogVersionsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 HttpResponse runtime.ClientResponse }
GetCatalogXMLOK handles this case 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*/ AccountID *strfmt.UUID /*RequestedDate*/ RequestedDate *strfmt.DateTime WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewGetCatalogXMLParamsWithContext ¶
func NewGetCatalogXMLParamsWithContext(ctx context.Context) *GetCatalogXMLParams
NewGetCatalogXMLParamsWithContext creates a new GetCatalogXMLParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ¶
type GetPhaseForSubscriptionAndDateOK struct { Payload *kbmodel.Phase HttpResponse runtime.ClientResponse }
GetPhaseForSubscriptionAndDateOK handles this case 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*/ RequestedDate *strfmt.Date /*SubscriptionID*/ SubscriptionID *strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewGetPhaseForSubscriptionAndDateParamsWithContext ¶
func NewGetPhaseForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams
NewGetPhaseForSubscriptionAndDateParamsWithContext creates a new GetPhaseForSubscriptionAndDateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ¶
type GetPlanForSubscriptionAndDateOK struct { Payload *kbmodel.Plan HttpResponse runtime.ClientResponse }
GetPlanForSubscriptionAndDateOK handles this case 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*/ RequestedDate *strfmt.Date /*SubscriptionID*/ SubscriptionID *strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewGetPlanForSubscriptionAndDateParamsWithContext ¶
func NewGetPlanForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams
NewGetPlanForSubscriptionAndDateParamsWithContext creates a new GetPlanForSubscriptionAndDateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ¶
type GetPriceListForSubscriptionAndDateOK struct { Payload *kbmodel.PriceList HttpResponse runtime.ClientResponse }
GetPriceListForSubscriptionAndDateOK handles this case 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*/ RequestedDate *strfmt.Date /*SubscriptionID*/ SubscriptionID *strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewGetPriceListForSubscriptionAndDateParamsWithContext ¶
func NewGetPriceListForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams
NewGetPriceListForSubscriptionAndDateParamsWithContext creates a new GetPriceListForSubscriptionAndDateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ¶
type GetProductForSubscriptionAndDateOK struct { Payload *kbmodel.Product HttpResponse runtime.ClientResponse }
GetProductForSubscriptionAndDateOK handles this case 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*/ RequestedDate *strfmt.Date /*SubscriptionID*/ SubscriptionID *strfmt.UUID WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewGetProductForSubscriptionAndDateParamsWithContext ¶
func NewGetProductForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams
NewGetProductForSubscriptionAndDateParamsWithContext creates a new GetProductForSubscriptionAndDateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ICatalog ¶
type ICatalog interface { /* AddSimplePlan adds a simple plan entry in the current version of the catalog resource description */ AddSimplePlan(ctx context.Context, params *AddSimplePlanParams) (*AddSimplePlanCreated, error) /* DeleteCatalog deletes all versions for a per tenant catalog resource description */ DeleteCatalog(ctx context.Context, params *DeleteCatalogParams) (*DeleteCatalogNoContent, error) /* GetAvailableAddons retrieves available add ons for a given product resource description */ GetAvailableAddons(ctx context.Context, params *GetAvailableAddonsParams) (*GetAvailableAddonsOK, error) /* GetAvailableBasePlans retrieves available base plans resource description */ GetAvailableBasePlans(ctx context.Context, params *GetAvailableBasePlansParams) (*GetAvailableBasePlansOK, error) /* GetCatalogJSON retrieves the catalog as JSON resource description */ GetCatalogJSON(ctx context.Context, params *GetCatalogJSONParams) (*GetCatalogJSONOK, error) /* GetCatalogVersions retrieves a list of catalog versions resource description */ GetCatalogVersions(ctx context.Context, params *GetCatalogVersionsParams) (*GetCatalogVersionsOK, error) /* GetCatalogXML retrieves the full catalog as XML resource description */ GetCatalogXML(ctx context.Context, params *GetCatalogXMLParams) (*GetCatalogXMLOK, error) /* GetPhaseForSubscriptionAndDate retrieves phase for a given subscription and date resource description */ GetPhaseForSubscriptionAndDate(ctx context.Context, params *GetPhaseForSubscriptionAndDateParams) (*GetPhaseForSubscriptionAndDateOK, error) /* GetPlanForSubscriptionAndDate retrieves plan for a given subscription and date resource description */ GetPlanForSubscriptionAndDate(ctx context.Context, params *GetPlanForSubscriptionAndDateParams) (*GetPlanForSubscriptionAndDateOK, error) /* GetPriceListForSubscriptionAndDate retrieves price list for a given subscription and date resource description */ GetPriceListForSubscriptionAndDate(ctx context.Context, params *GetPriceListForSubscriptionAndDateParams) (*GetPriceListForSubscriptionAndDateOK, error) /* GetProductForSubscriptionAndDate retrieves product for a given subscription and date resource description */ GetProductForSubscriptionAndDate(ctx context.Context, params *GetProductForSubscriptionAndDateParams) (*GetProductForSubscriptionAndDateOK, error) /* UploadCatalogXML uploads the full catalog as XML resource description */ UploadCatalogXML(ctx context.Context, params *UploadCatalogXMLParams) (*UploadCatalogXMLCreated, error) }
ICatalog - interface for Catalog client.
type KillbillDefaults ¶
type KillbillDefaults interface { // Default CreatedBy. If not set explicitly in params, this will be used. XKillbillCreatedBy() *string // Default Comment. If not set explicitly in params, this will be used. XKillbillComment() *string // Default Reason. If not set explicitly in params, this will be used. XKillbillReason() *string // Default WithWithProfilingInfo. If not set explicitly in params, this will be used. KillbillWithProfilingInfo() *string // Default WithStackTrace. If not set explicitly in params, this will be used. KillbillWithStackTrace() *bool }
killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.
type UploadCatalogXMLCreated ¶
type UploadCatalogXMLCreated struct { Payload string HttpResponse runtime.ClientResponse }
UploadCatalogXMLCreated handles this case 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 WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // 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 values initialized.
func NewUploadCatalogXMLParamsWithContext ¶
func NewUploadCatalogXMLParamsWithContext(ctx context.Context) *UploadCatalogXMLParams
NewUploadCatalogXMLParamsWithContext creates a new UploadCatalogXMLParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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