Documentation ¶
Index ¶
- type AddSimplePlanCreated
- func (o *AddSimplePlanCreated) Code() int
- func (o *AddSimplePlanCreated) Error() string
- func (o *AddSimplePlanCreated) GetPayload() string
- func (o *AddSimplePlanCreated) IsClientError() bool
- func (o *AddSimplePlanCreated) IsCode(code int) bool
- func (o *AddSimplePlanCreated) IsRedirect() bool
- func (o *AddSimplePlanCreated) IsServerError() bool
- func (o *AddSimplePlanCreated) IsSuccess() bool
- func (o *AddSimplePlanCreated) String() string
- type AddSimplePlanParams
- func (o *AddSimplePlanParams) SetBody(body *kbmodel.SimplePlan)
- func (o *AddSimplePlanParams) SetContext(ctx context.Context)
- func (o *AddSimplePlanParams) SetDefaults()
- func (o *AddSimplePlanParams) SetHTTPClient(client *http.Client)
- func (o *AddSimplePlanParams) SetTimeout(timeout time.Duration)
- func (o *AddSimplePlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *AddSimplePlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *AddSimplePlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *AddSimplePlanParams) WithBody(body *kbmodel.SimplePlan) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithContext(ctx context.Context) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithDefaults() *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithHTTPClient(client *http.Client) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithTimeout(timeout time.Duration) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithXKillbillComment(xKillbillComment *string) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WithXKillbillReason(xKillbillReason *string) *AddSimplePlanParams
- func (o *AddSimplePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddSimplePlanReader
- type Client
- func (a *Client) AddSimplePlan(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)
- func (a *Client) ValidateCatalogXML(ctx context.Context, params *ValidateCatalogXMLParams) (*ValidateCatalogXMLOK, error)
- type ClientOption
- type ClientService
- type DeleteCatalogNoContent
- func (o *DeleteCatalogNoContent) Code() int
- func (o *DeleteCatalogNoContent) Error() string
- func (o *DeleteCatalogNoContent) IsClientError() bool
- func (o *DeleteCatalogNoContent) IsCode(code int) bool
- func (o *DeleteCatalogNoContent) IsRedirect() bool
- func (o *DeleteCatalogNoContent) IsServerError() bool
- func (o *DeleteCatalogNoContent) IsSuccess() bool
- func (o *DeleteCatalogNoContent) String() string
- type DeleteCatalogParams
- func (o *DeleteCatalogParams) SetContext(ctx context.Context)
- func (o *DeleteCatalogParams) SetDefaults()
- func (o *DeleteCatalogParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCatalogParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCatalogParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteCatalogParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteCatalogParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteCatalogParams) WithContext(ctx context.Context) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithDefaults() *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithHTTPClient(client *http.Client) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithTimeout(timeout time.Duration) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithXKillbillComment(xKillbillComment *string) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WithXKillbillReason(xKillbillReason *string) *DeleteCatalogParams
- func (o *DeleteCatalogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCatalogReader
- type GetAvailableAddonsOK
- func (o *GetAvailableAddonsOK) Code() int
- func (o *GetAvailableAddonsOK) Error() string
- func (o *GetAvailableAddonsOK) GetPayload() []*kbmodel.PlanDetail
- func (o *GetAvailableAddonsOK) IsClientError() bool
- func (o *GetAvailableAddonsOK) IsCode(code int) bool
- func (o *GetAvailableAddonsOK) IsRedirect() bool
- func (o *GetAvailableAddonsOK) IsServerError() bool
- func (o *GetAvailableAddonsOK) IsSuccess() bool
- func (o *GetAvailableAddonsOK) String() string
- type GetAvailableAddonsParams
- func NewGetAvailableAddonsParams() *GetAvailableAddonsParams
- func NewGetAvailableAddonsParamsWithContext(ctx context.Context) *GetAvailableAddonsParams
- func NewGetAvailableAddonsParamsWithHTTPClient(client *http.Client) *GetAvailableAddonsParams
- func NewGetAvailableAddonsParamsWithTimeout(timeout time.Duration) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetAvailableAddonsParams) SetBaseProductName(baseProductName *string)
- func (o *GetAvailableAddonsParams) SetContext(ctx context.Context)
- func (o *GetAvailableAddonsParams) SetDefaults()
- func (o *GetAvailableAddonsParams) SetHTTPClient(client *http.Client)
- func (o *GetAvailableAddonsParams) SetPriceListName(priceListName *string)
- func (o *GetAvailableAddonsParams) SetTimeout(timeout time.Duration)
- func (o *GetAvailableAddonsParams) WithAccountID(accountID *strfmt.UUID) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithBaseProductName(baseProductName *string) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithContext(ctx context.Context) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithDefaults() *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithHTTPClient(client *http.Client) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithPriceListName(priceListName *string) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WithTimeout(timeout time.Duration) *GetAvailableAddonsParams
- func (o *GetAvailableAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAvailableAddonsReader
- type GetAvailableBasePlansOK
- func (o *GetAvailableBasePlansOK) Code() int
- func (o *GetAvailableBasePlansOK) Error() string
- func (o *GetAvailableBasePlansOK) GetPayload() []*kbmodel.PlanDetail
- func (o *GetAvailableBasePlansOK) IsClientError() bool
- func (o *GetAvailableBasePlansOK) IsCode(code int) bool
- func (o *GetAvailableBasePlansOK) IsRedirect() bool
- func (o *GetAvailableBasePlansOK) IsServerError() bool
- func (o *GetAvailableBasePlansOK) IsSuccess() bool
- func (o *GetAvailableBasePlansOK) String() string
- type GetAvailableBasePlansParams
- func NewGetAvailableBasePlansParams() *GetAvailableBasePlansParams
- func NewGetAvailableBasePlansParamsWithContext(ctx context.Context) *GetAvailableBasePlansParams
- func NewGetAvailableBasePlansParamsWithHTTPClient(client *http.Client) *GetAvailableBasePlansParams
- func NewGetAvailableBasePlansParamsWithTimeout(timeout time.Duration) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetAvailableBasePlansParams) SetContext(ctx context.Context)
- func (o *GetAvailableBasePlansParams) SetDefaults()
- func (o *GetAvailableBasePlansParams) SetHTTPClient(client *http.Client)
- func (o *GetAvailableBasePlansParams) SetTimeout(timeout time.Duration)
- func (o *GetAvailableBasePlansParams) WithAccountID(accountID *strfmt.UUID) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WithContext(ctx context.Context) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WithDefaults() *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WithHTTPClient(client *http.Client) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WithTimeout(timeout time.Duration) *GetAvailableBasePlansParams
- func (o *GetAvailableBasePlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAvailableBasePlansReader
- type GetCatalogJSONOK
- func (o *GetCatalogJSONOK) Code() int
- func (o *GetCatalogJSONOK) Error() string
- func (o *GetCatalogJSONOK) GetPayload() []*kbmodel.Catalog
- func (o *GetCatalogJSONOK) IsClientError() bool
- func (o *GetCatalogJSONOK) IsCode(code int) bool
- func (o *GetCatalogJSONOK) IsRedirect() bool
- func (o *GetCatalogJSONOK) IsServerError() bool
- func (o *GetCatalogJSONOK) IsSuccess() bool
- func (o *GetCatalogJSONOK) String() string
- type GetCatalogJSONParams
- func NewGetCatalogJSONParams() *GetCatalogJSONParams
- func NewGetCatalogJSONParamsWithContext(ctx context.Context) *GetCatalogJSONParams
- func NewGetCatalogJSONParamsWithHTTPClient(client *http.Client) *GetCatalogJSONParams
- func NewGetCatalogJSONParamsWithTimeout(timeout time.Duration) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetCatalogJSONParams) SetContext(ctx context.Context)
- func (o *GetCatalogJSONParams) SetDefaults()
- func (o *GetCatalogJSONParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogJSONParams) SetRequestedDate(requestedDate *strfmt.DateTime)
- func (o *GetCatalogJSONParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogJSONParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithContext(ctx context.Context) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithDefaults() *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithHTTPClient(client *http.Client) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithRequestedDate(requestedDate *strfmt.DateTime) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WithTimeout(timeout time.Duration) *GetCatalogJSONParams
- func (o *GetCatalogJSONParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogJSONReader
- type GetCatalogVersionsOK
- func (o *GetCatalogVersionsOK) Code() int
- func (o *GetCatalogVersionsOK) Error() string
- func (o *GetCatalogVersionsOK) GetPayload() []strfmt.DateTime
- func (o *GetCatalogVersionsOK) IsClientError() bool
- func (o *GetCatalogVersionsOK) IsCode(code int) bool
- func (o *GetCatalogVersionsOK) IsRedirect() bool
- func (o *GetCatalogVersionsOK) IsServerError() bool
- func (o *GetCatalogVersionsOK) IsSuccess() bool
- func (o *GetCatalogVersionsOK) String() string
- type GetCatalogVersionsParams
- func NewGetCatalogVersionsParams() *GetCatalogVersionsParams
- func NewGetCatalogVersionsParamsWithContext(ctx context.Context) *GetCatalogVersionsParams
- func NewGetCatalogVersionsParamsWithHTTPClient(client *http.Client) *GetCatalogVersionsParams
- func NewGetCatalogVersionsParamsWithTimeout(timeout time.Duration) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetCatalogVersionsParams) SetContext(ctx context.Context)
- func (o *GetCatalogVersionsParams) SetDefaults()
- func (o *GetCatalogVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogVersionsParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WithContext(ctx context.Context) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WithDefaults() *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WithHTTPClient(client *http.Client) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WithTimeout(timeout time.Duration) *GetCatalogVersionsParams
- func (o *GetCatalogVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogVersionsReader
- type GetCatalogXMLOK
- func (o *GetCatalogXMLOK) Code() int
- func (o *GetCatalogXMLOK) Error() string
- func (o *GetCatalogXMLOK) GetPayload() string
- func (o *GetCatalogXMLOK) IsClientError() bool
- func (o *GetCatalogXMLOK) IsCode(code int) bool
- func (o *GetCatalogXMLOK) IsRedirect() bool
- func (o *GetCatalogXMLOK) IsServerError() bool
- func (o *GetCatalogXMLOK) IsSuccess() bool
- func (o *GetCatalogXMLOK) String() string
- type GetCatalogXMLParams
- func (o *GetCatalogXMLParams) SetAccountID(accountID *strfmt.UUID)
- func (o *GetCatalogXMLParams) SetContext(ctx context.Context)
- func (o *GetCatalogXMLParams) SetDefaults()
- func (o *GetCatalogXMLParams) SetHTTPClient(client *http.Client)
- func (o *GetCatalogXMLParams) SetRequestedDate(requestedDate *strfmt.DateTime)
- func (o *GetCatalogXMLParams) SetTimeout(timeout time.Duration)
- func (o *GetCatalogXMLParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithContext(ctx context.Context) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithDefaults() *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithHTTPClient(client *http.Client) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithRequestedDate(requestedDate *strfmt.DateTime) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WithTimeout(timeout time.Duration) *GetCatalogXMLParams
- func (o *GetCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCatalogXMLReader
- type GetPhaseForSubscriptionAndDateOK
- func (o *GetPhaseForSubscriptionAndDateOK) Code() int
- func (o *GetPhaseForSubscriptionAndDateOK) Error() string
- func (o *GetPhaseForSubscriptionAndDateOK) GetPayload() *kbmodel.Phase
- func (o *GetPhaseForSubscriptionAndDateOK) IsClientError() bool
- func (o *GetPhaseForSubscriptionAndDateOK) IsCode(code int) bool
- func (o *GetPhaseForSubscriptionAndDateOK) IsRedirect() bool
- func (o *GetPhaseForSubscriptionAndDateOK) IsServerError() bool
- func (o *GetPhaseForSubscriptionAndDateOK) IsSuccess() bool
- func (o *GetPhaseForSubscriptionAndDateOK) String() string
- type GetPhaseForSubscriptionAndDateParams
- func NewGetPhaseForSubscriptionAndDateParams() *GetPhaseForSubscriptionAndDateParams
- func NewGetPhaseForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams
- func NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPhaseForSubscriptionAndDateParams
- func NewGetPhaseForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) SetContext(ctx context.Context)
- func (o *GetPhaseForSubscriptionAndDateParams) SetDefaults()
- func (o *GetPhaseForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
- func (o *GetPhaseForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *GetPhaseForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
- func (o *GetPhaseForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
- func (o *GetPhaseForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithDefaults() *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPhaseForSubscriptionAndDateParams
- func (o *GetPhaseForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPhaseForSubscriptionAndDateReader
- type GetPlanForSubscriptionAndDateOK
- func (o *GetPlanForSubscriptionAndDateOK) Code() int
- func (o *GetPlanForSubscriptionAndDateOK) Error() string
- func (o *GetPlanForSubscriptionAndDateOK) GetPayload() *kbmodel.Plan
- func (o *GetPlanForSubscriptionAndDateOK) IsClientError() bool
- func (o *GetPlanForSubscriptionAndDateOK) IsCode(code int) bool
- func (o *GetPlanForSubscriptionAndDateOK) IsRedirect() bool
- func (o *GetPlanForSubscriptionAndDateOK) IsServerError() bool
- func (o *GetPlanForSubscriptionAndDateOK) IsSuccess() bool
- func (o *GetPlanForSubscriptionAndDateOK) String() string
- type GetPlanForSubscriptionAndDateParams
- func NewGetPlanForSubscriptionAndDateParams() *GetPlanForSubscriptionAndDateParams
- func NewGetPlanForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams
- func NewGetPlanForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPlanForSubscriptionAndDateParams
- func NewGetPlanForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) SetContext(ctx context.Context)
- func (o *GetPlanForSubscriptionAndDateParams) SetDefaults()
- func (o *GetPlanForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
- func (o *GetPlanForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *GetPlanForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
- func (o *GetPlanForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
- func (o *GetPlanForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithDefaults() *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPlanForSubscriptionAndDateParams
- func (o *GetPlanForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlanForSubscriptionAndDateReader
- type GetPriceListForSubscriptionAndDateOK
- func (o *GetPriceListForSubscriptionAndDateOK) Code() int
- func (o *GetPriceListForSubscriptionAndDateOK) Error() string
- func (o *GetPriceListForSubscriptionAndDateOK) GetPayload() *kbmodel.PriceList
- func (o *GetPriceListForSubscriptionAndDateOK) IsClientError() bool
- func (o *GetPriceListForSubscriptionAndDateOK) IsCode(code int) bool
- func (o *GetPriceListForSubscriptionAndDateOK) IsRedirect() bool
- func (o *GetPriceListForSubscriptionAndDateOK) IsServerError() bool
- func (o *GetPriceListForSubscriptionAndDateOK) IsSuccess() bool
- func (o *GetPriceListForSubscriptionAndDateOK) String() string
- type GetPriceListForSubscriptionAndDateParams
- func NewGetPriceListForSubscriptionAndDateParams() *GetPriceListForSubscriptionAndDateParams
- func NewGetPriceListForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams
- func NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPriceListForSubscriptionAndDateParams
- func NewGetPriceListForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) SetContext(ctx context.Context)
- func (o *GetPriceListForSubscriptionAndDateParams) SetDefaults()
- func (o *GetPriceListForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
- func (o *GetPriceListForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *GetPriceListForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
- func (o *GetPriceListForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
- func (o *GetPriceListForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithDefaults() *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPriceListForSubscriptionAndDateParams
- func (o *GetPriceListForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPriceListForSubscriptionAndDateReader
- type GetProductForSubscriptionAndDateOK
- func (o *GetProductForSubscriptionAndDateOK) Code() int
- func (o *GetProductForSubscriptionAndDateOK) Error() string
- func (o *GetProductForSubscriptionAndDateOK) GetPayload() *kbmodel.Product
- func (o *GetProductForSubscriptionAndDateOK) IsClientError() bool
- func (o *GetProductForSubscriptionAndDateOK) IsCode(code int) bool
- func (o *GetProductForSubscriptionAndDateOK) IsRedirect() bool
- func (o *GetProductForSubscriptionAndDateOK) IsServerError() bool
- func (o *GetProductForSubscriptionAndDateOK) IsSuccess() bool
- func (o *GetProductForSubscriptionAndDateOK) String() string
- type GetProductForSubscriptionAndDateParams
- func NewGetProductForSubscriptionAndDateParams() *GetProductForSubscriptionAndDateParams
- func NewGetProductForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams
- func NewGetProductForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetProductForSubscriptionAndDateParams
- func NewGetProductForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) SetContext(ctx context.Context)
- func (o *GetProductForSubscriptionAndDateParams) SetDefaults()
- func (o *GetProductForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
- func (o *GetProductForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *GetProductForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
- func (o *GetProductForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
- func (o *GetProductForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithDefaults() *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetProductForSubscriptionAndDateParams
- func (o *GetProductForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProductForSubscriptionAndDateReader
- type KillbillDefaults
- type UploadCatalogXMLCreated
- func (o *UploadCatalogXMLCreated) Code() int
- func (o *UploadCatalogXMLCreated) Error() string
- func (o *UploadCatalogXMLCreated) GetPayload() string
- func (o *UploadCatalogXMLCreated) IsClientError() bool
- func (o *UploadCatalogXMLCreated) IsCode(code int) bool
- func (o *UploadCatalogXMLCreated) IsRedirect() bool
- func (o *UploadCatalogXMLCreated) IsServerError() bool
- func (o *UploadCatalogXMLCreated) IsSuccess() bool
- func (o *UploadCatalogXMLCreated) String() string
- type UploadCatalogXMLParams
- func NewUploadCatalogXMLParams() *UploadCatalogXMLParams
- func NewUploadCatalogXMLParamsWithContext(ctx context.Context) *UploadCatalogXMLParams
- func NewUploadCatalogXMLParamsWithHTTPClient(client *http.Client) *UploadCatalogXMLParams
- func NewUploadCatalogXMLParamsWithTimeout(timeout time.Duration) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) SetBody(body string)
- func (o *UploadCatalogXMLParams) SetContext(ctx context.Context)
- func (o *UploadCatalogXMLParams) SetDefaults()
- func (o *UploadCatalogXMLParams) SetHTTPClient(client *http.Client)
- func (o *UploadCatalogXMLParams) SetTimeout(timeout time.Duration)
- func (o *UploadCatalogXMLParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UploadCatalogXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UploadCatalogXMLParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UploadCatalogXMLParams) WithBody(body string) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithContext(ctx context.Context) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithDefaults() *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithHTTPClient(client *http.Client) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithTimeout(timeout time.Duration) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithXKillbillComment(xKillbillComment *string) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WithXKillbillReason(xKillbillReason *string) *UploadCatalogXMLParams
- func (o *UploadCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadCatalogXMLReader
- type ValidateCatalogXMLOK
- func (o *ValidateCatalogXMLOK) Code() int
- func (o *ValidateCatalogXMLOK) Error() string
- func (o *ValidateCatalogXMLOK) GetPayload() *kbmodel.CatalogValidation
- func (o *ValidateCatalogXMLOK) IsClientError() bool
- func (o *ValidateCatalogXMLOK) IsCode(code int) bool
- func (o *ValidateCatalogXMLOK) IsRedirect() bool
- func (o *ValidateCatalogXMLOK) IsServerError() bool
- func (o *ValidateCatalogXMLOK) IsSuccess() bool
- func (o *ValidateCatalogXMLOK) String() string
- type ValidateCatalogXMLParams
- func NewValidateCatalogXMLParams() *ValidateCatalogXMLParams
- func NewValidateCatalogXMLParamsWithContext(ctx context.Context) *ValidateCatalogXMLParams
- func NewValidateCatalogXMLParamsWithHTTPClient(client *http.Client) *ValidateCatalogXMLParams
- func NewValidateCatalogXMLParamsWithTimeout(timeout time.Duration) *ValidateCatalogXMLParams
- func (o *ValidateCatalogXMLParams) SetBody(body string)
- func (o *ValidateCatalogXMLParams) SetContext(ctx context.Context)
- func (o *ValidateCatalogXMLParams) SetDefaults()
- func (o *ValidateCatalogXMLParams) SetHTTPClient(client *http.Client)
- func (o *ValidateCatalogXMLParams) SetTimeout(timeout time.Duration)
- func (o *ValidateCatalogXMLParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ValidateCatalogXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ValidateCatalogXMLParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ValidateCatalogXMLParams) WithBody(body string) *ValidateCatalogXMLParams
- func (o *ValidateCatalogXMLParams) WithContext(ctx context.Context) *ValidateCatalogXMLParams
- func (o *ValidateCatalogXMLParams) WithDefaults() *ValidateCatalogXMLParams
- func (o *ValidateCatalogXMLParams) WithHTTPClient(client *http.Client) *ValidateCatalogXMLParams
- func (o *ValidateCatalogXMLParams) WithTimeout(timeout time.Duration) *ValidateCatalogXMLParams
- func (o *ValidateCatalogXMLParams) WithXKillbillComment(xKillbillComment *string) *ValidateCatalogXMLParams
- func (o *ValidateCatalogXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ValidateCatalogXMLParams
- func (o *ValidateCatalogXMLParams) WithXKillbillReason(xKillbillReason *string) *ValidateCatalogXMLParams
- func (o *ValidateCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateCatalogXMLReader
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 describes a response with status code 201, with default header values.
Created new plan successfully
func NewAddSimplePlanCreated ¶
func NewAddSimplePlanCreated() *AddSimplePlanCreated
NewAddSimplePlanCreated creates a AddSimplePlanCreated with default headers values
func (*AddSimplePlanCreated) Code ¶
func (o *AddSimplePlanCreated) Code() int
Code gets the status code for the add simple plan created response
func (*AddSimplePlanCreated) Error ¶
func (o *AddSimplePlanCreated) Error() string
func (*AddSimplePlanCreated) GetPayload ¶
func (o *AddSimplePlanCreated) GetPayload() string
func (*AddSimplePlanCreated) IsClientError ¶
func (o *AddSimplePlanCreated) IsClientError() bool
IsClientError returns true when this add simple plan created response has a 4xx status code
func (*AddSimplePlanCreated) IsCode ¶
func (o *AddSimplePlanCreated) IsCode(code int) bool
IsCode returns true when this add simple plan created response a status code equal to that given
func (*AddSimplePlanCreated) IsRedirect ¶
func (o *AddSimplePlanCreated) IsRedirect() bool
IsRedirect returns true when this add simple plan created response has a 3xx status code
func (*AddSimplePlanCreated) IsServerError ¶
func (o *AddSimplePlanCreated) IsServerError() bool
IsServerError returns true when this add simple plan created response has a 5xx status code
func (*AddSimplePlanCreated) IsSuccess ¶
func (o *AddSimplePlanCreated) IsSuccess() bool
IsSuccess returns true when this add simple plan created response has a 2xx status code
func (*AddSimplePlanCreated) String ¶
func (o *AddSimplePlanCreated) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddSimplePlanParamsWithContext ¶
func NewAddSimplePlanParamsWithContext(ctx context.Context) *AddSimplePlanParams
NewAddSimplePlanParamsWithContext creates a new AddSimplePlanParams object with the ability to set a context for a request.
func NewAddSimplePlanParamsWithHTTPClient ¶
func NewAddSimplePlanParamsWithHTTPClient(client *http.Client) *AddSimplePlanParams
NewAddSimplePlanParamsWithHTTPClient creates a new AddSimplePlanParams object with the ability to set a custom HTTPClient for a request.
func NewAddSimplePlanParamsWithTimeout ¶
func NewAddSimplePlanParamsWithTimeout(timeout time.Duration) *AddSimplePlanParams
NewAddSimplePlanParamsWithTimeout creates a new AddSimplePlanParams object with the ability to set a timeout on a request.
func (*AddSimplePlanParams) SetBody ¶
func (o *AddSimplePlanParams) SetBody(body *kbmodel.SimplePlan)
SetBody adds the body to the add simple plan params
func (*AddSimplePlanParams) SetContext ¶
func (o *AddSimplePlanParams) SetContext(ctx context.Context)
SetContext adds the context to the add simple plan params
func (*AddSimplePlanParams) SetDefaults ¶
func (o *AddSimplePlanParams) SetDefaults()
SetDefaults hydrates default values in the add simple plan params (not the query body).
All values with no default are reset to their zero value.
func (*AddSimplePlanParams) SetHTTPClient ¶
func (o *AddSimplePlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add simple plan params
func (*AddSimplePlanParams) SetTimeout ¶
func (o *AddSimplePlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add simple plan params
func (*AddSimplePlanParams) SetXKillbillComment ¶
func (o *AddSimplePlanParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the add simple plan params
func (*AddSimplePlanParams) SetXKillbillCreatedBy ¶
func (o *AddSimplePlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add simple plan params
func (*AddSimplePlanParams) SetXKillbillReason ¶
func (o *AddSimplePlanParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the add simple plan params
func (*AddSimplePlanParams) WithBody ¶
func (o *AddSimplePlanParams) WithBody(body *kbmodel.SimplePlan) *AddSimplePlanParams
WithBody adds the body to the add simple plan params
func (*AddSimplePlanParams) WithContext ¶
func (o *AddSimplePlanParams) WithContext(ctx context.Context) *AddSimplePlanParams
WithContext adds the context to the add simple plan params
func (*AddSimplePlanParams) WithDefaults ¶
func (o *AddSimplePlanParams) WithDefaults() *AddSimplePlanParams
WithDefaults hydrates default values in the add simple plan params (not the query body).
All values with no default are reset to their zero value.
func (*AddSimplePlanParams) WithHTTPClient ¶
func (o *AddSimplePlanParams) WithHTTPClient(client *http.Client) *AddSimplePlanParams
WithHTTPClient adds the HTTPClient to the add simple plan params
func (*AddSimplePlanParams) WithTimeout ¶
func (o *AddSimplePlanParams) WithTimeout(timeout time.Duration) *AddSimplePlanParams
WithTimeout adds the timeout to the add simple plan params
func (*AddSimplePlanParams) WithXKillbillComment ¶
func (o *AddSimplePlanParams) WithXKillbillComment(xKillbillComment *string) *AddSimplePlanParams
WithXKillbillComment adds the xKillbillComment to the add simple plan params
func (*AddSimplePlanParams) WithXKillbillCreatedBy ¶
func (o *AddSimplePlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddSimplePlanParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add simple plan params
func (*AddSimplePlanParams) WithXKillbillReason ¶
func (o *AddSimplePlanParams) WithXKillbillReason(xKillbillReason *string) *AddSimplePlanParams
WithXKillbillReason adds the xKillbillReason to the add simple plan params
func (*AddSimplePlanParams) WriteToRequest ¶
func (o *AddSimplePlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddSimplePlanReader ¶
type AddSimplePlanReader struct {
// contains filtered or unexported fields
}
AddSimplePlanReader is a Reader for the AddSimplePlan structure.
func (*AddSimplePlanReader) ReadResponse ¶
func (o *AddSimplePlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for catalog API
func 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
func (*Client) DeleteCatalog ¶
func (a *Client) DeleteCatalog(ctx context.Context, params *DeleteCatalogParams) (*DeleteCatalogNoContent, error)
DeleteCatalog deletes all versions for a per tenant catalog
func (*Client) GetAvailableAddons ¶
func (a *Client) GetAvailableAddons(ctx context.Context, params *GetAvailableAddonsParams) (*GetAvailableAddonsOK, error)
GetAvailableAddons retrieves available add ons for a given product
func (*Client) GetAvailableBasePlans ¶
func (a *Client) GetAvailableBasePlans(ctx context.Context, params *GetAvailableBasePlansParams) (*GetAvailableBasePlansOK, error)
GetAvailableBasePlans retrieves available base plans
func (*Client) GetCatalogJSON ¶
func (a *Client) GetCatalogJSON(ctx context.Context, params *GetCatalogJSONParams) (*GetCatalogJSONOK, error)
GetCatalogJSON retrieves the catalog as JSON
func (*Client) GetCatalogVersions ¶
func (a *Client) GetCatalogVersions(ctx context.Context, params *GetCatalogVersionsParams) (*GetCatalogVersionsOK, error)
GetCatalogVersions retrieves a list of catalog versions
func (*Client) GetCatalogXML ¶
func (a *Client) GetCatalogXML(ctx context.Context, params *GetCatalogXMLParams) (*GetCatalogXMLOK, error)
GetCatalogXML retrieves the full catalog as XML
func (*Client) GetPhaseForSubscriptionAndDate ¶
func (a *Client) GetPhaseForSubscriptionAndDate(ctx context.Context, params *GetPhaseForSubscriptionAndDateParams) (*GetPhaseForSubscriptionAndDateOK, error)
GetPhaseForSubscriptionAndDate retrieves phase for a given subscription and date
func (*Client) GetPlanForSubscriptionAndDate ¶
func (a *Client) GetPlanForSubscriptionAndDate(ctx context.Context, params *GetPlanForSubscriptionAndDateParams) (*GetPlanForSubscriptionAndDateOK, error)
GetPlanForSubscriptionAndDate retrieves plan for a given subscription and date
func (*Client) GetPriceListForSubscriptionAndDate ¶
func (a *Client) GetPriceListForSubscriptionAndDate(ctx context.Context, params *GetPriceListForSubscriptionAndDateParams) (*GetPriceListForSubscriptionAndDateOK, error)
GetPriceListForSubscriptionAndDate retrieves price list for a given subscription and date
func (*Client) GetProductForSubscriptionAndDate ¶
func (a *Client) GetProductForSubscriptionAndDate(ctx context.Context, params *GetProductForSubscriptionAndDateParams) (*GetProductForSubscriptionAndDateOK, error)
GetProductForSubscriptionAndDate retrieves product for a given subscription and date
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadCatalogXML ¶
func (a *Client) UploadCatalogXML(ctx context.Context, params *UploadCatalogXMLParams) (*UploadCatalogXMLCreated, error)
UploadCatalogXML uploads the full catalog as XML
func (*Client) ValidateCatalogXML ¶
func (a *Client) ValidateCatalogXML(ctx context.Context, params *ValidateCatalogXMLParams) (*ValidateCatalogXMLOK, error)
ValidateCatalogXML validates a XML catalog
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddSimplePlan(ctx context.Context, params *AddSimplePlanParams) (*AddSimplePlanCreated, error) DeleteCatalog(ctx context.Context, params *DeleteCatalogParams) (*DeleteCatalogNoContent, error) GetAvailableAddons(ctx context.Context, params *GetAvailableAddonsParams) (*GetAvailableAddonsOK, error) GetAvailableBasePlans(ctx context.Context, params *GetAvailableBasePlansParams) (*GetAvailableBasePlansOK, error) GetCatalogJSON(ctx context.Context, params *GetCatalogJSONParams) (*GetCatalogJSONOK, error) GetCatalogVersions(ctx context.Context, params *GetCatalogVersionsParams) (*GetCatalogVersionsOK, error) GetCatalogXML(ctx context.Context, params *GetCatalogXMLParams) (*GetCatalogXMLOK, error) GetPhaseForSubscriptionAndDate(ctx context.Context, params *GetPhaseForSubscriptionAndDateParams) (*GetPhaseForSubscriptionAndDateOK, error) GetPlanForSubscriptionAndDate(ctx context.Context, params *GetPlanForSubscriptionAndDateParams) (*GetPlanForSubscriptionAndDateOK, error) GetPriceListForSubscriptionAndDate(ctx context.Context, params *GetPriceListForSubscriptionAndDateParams) (*GetPriceListForSubscriptionAndDateOK, error) GetProductForSubscriptionAndDate(ctx context.Context, params *GetProductForSubscriptionAndDateParams) (*GetProductForSubscriptionAndDateOK, error) UploadCatalogXML(ctx context.Context, params *UploadCatalogXMLParams) (*UploadCatalogXMLCreated, error) ValidateCatalogXML(ctx context.Context, params *ValidateCatalogXMLParams) (*ValidateCatalogXMLOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
type DeleteCatalogNoContent ¶
type DeleteCatalogNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteCatalogNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteCatalogNoContent ¶
func NewDeleteCatalogNoContent() *DeleteCatalogNoContent
NewDeleteCatalogNoContent creates a DeleteCatalogNoContent with default headers values
func (*DeleteCatalogNoContent) Code ¶
func (o *DeleteCatalogNoContent) Code() int
Code gets the status code for the delete catalog no content response
func (*DeleteCatalogNoContent) Error ¶
func (o *DeleteCatalogNoContent) Error() string
func (*DeleteCatalogNoContent) IsClientError ¶
func (o *DeleteCatalogNoContent) IsClientError() bool
IsClientError returns true when this delete catalog no content response has a 4xx status code
func (*DeleteCatalogNoContent) IsCode ¶
func (o *DeleteCatalogNoContent) IsCode(code int) bool
IsCode returns true when this delete catalog no content response a status code equal to that given
func (*DeleteCatalogNoContent) IsRedirect ¶
func (o *DeleteCatalogNoContent) IsRedirect() bool
IsRedirect returns true when this delete catalog no content response has a 3xx status code
func (*DeleteCatalogNoContent) IsServerError ¶
func (o *DeleteCatalogNoContent) IsServerError() bool
IsServerError returns true when this delete catalog no content response has a 5xx status code
func (*DeleteCatalogNoContent) IsSuccess ¶
func (o *DeleteCatalogNoContent) IsSuccess() bool
IsSuccess returns true when this delete catalog no content response has a 2xx status code
func (*DeleteCatalogNoContent) String ¶
func (o *DeleteCatalogNoContent) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteCatalogParamsWithContext ¶
func NewDeleteCatalogParamsWithContext(ctx context.Context) *DeleteCatalogParams
NewDeleteCatalogParamsWithContext creates a new DeleteCatalogParams object with the ability to set a context for a request.
func NewDeleteCatalogParamsWithHTTPClient ¶
func NewDeleteCatalogParamsWithHTTPClient(client *http.Client) *DeleteCatalogParams
NewDeleteCatalogParamsWithHTTPClient creates a new DeleteCatalogParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCatalogParamsWithTimeout ¶
func NewDeleteCatalogParamsWithTimeout(timeout time.Duration) *DeleteCatalogParams
NewDeleteCatalogParamsWithTimeout creates a new DeleteCatalogParams object with the ability to set a timeout on a request.
func (*DeleteCatalogParams) SetContext ¶
func (o *DeleteCatalogParams) SetContext(ctx context.Context)
SetContext adds the context to the delete catalog params
func (*DeleteCatalogParams) SetDefaults ¶
func (o *DeleteCatalogParams) SetDefaults()
SetDefaults hydrates default values in the delete catalog params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCatalogParams) SetHTTPClient ¶
func (o *DeleteCatalogParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete catalog params
func (*DeleteCatalogParams) SetTimeout ¶
func (o *DeleteCatalogParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete catalog params
func (*DeleteCatalogParams) SetXKillbillComment ¶
func (o *DeleteCatalogParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete catalog params
func (*DeleteCatalogParams) SetXKillbillCreatedBy ¶
func (o *DeleteCatalogParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete catalog params
func (*DeleteCatalogParams) SetXKillbillReason ¶
func (o *DeleteCatalogParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete catalog params
func (*DeleteCatalogParams) WithContext ¶
func (o *DeleteCatalogParams) WithContext(ctx context.Context) *DeleteCatalogParams
WithContext adds the context to the delete catalog params
func (*DeleteCatalogParams) WithDefaults ¶
func (o *DeleteCatalogParams) WithDefaults() *DeleteCatalogParams
WithDefaults hydrates default values in the delete catalog params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCatalogParams) WithHTTPClient ¶
func (o *DeleteCatalogParams) WithHTTPClient(client *http.Client) *DeleteCatalogParams
WithHTTPClient adds the HTTPClient to the delete catalog params
func (*DeleteCatalogParams) WithTimeout ¶
func (o *DeleteCatalogParams) WithTimeout(timeout time.Duration) *DeleteCatalogParams
WithTimeout adds the timeout to the delete catalog params
func (*DeleteCatalogParams) WithXKillbillComment ¶
func (o *DeleteCatalogParams) WithXKillbillComment(xKillbillComment *string) *DeleteCatalogParams
WithXKillbillComment adds the xKillbillComment to the delete catalog params
func (*DeleteCatalogParams) WithXKillbillCreatedBy ¶
func (o *DeleteCatalogParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteCatalogParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete catalog params
func (*DeleteCatalogParams) WithXKillbillReason ¶
func (o *DeleteCatalogParams) WithXKillbillReason(xKillbillReason *string) *DeleteCatalogParams
WithXKillbillReason adds the xKillbillReason to the delete catalog params
func (*DeleteCatalogParams) WriteToRequest ¶
func (o *DeleteCatalogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCatalogReader ¶
type DeleteCatalogReader struct {
// contains filtered or unexported fields
}
DeleteCatalogReader is a Reader for the DeleteCatalog structure.
func (*DeleteCatalogReader) ReadResponse ¶
func (o *DeleteCatalogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAvailableAddonsOK ¶
type GetAvailableAddonsOK struct { Payload []*kbmodel.PlanDetail HttpResponse runtime.ClientResponse }
GetAvailableAddonsOK describes a response with status code 200, with default header values.
successful operation
func NewGetAvailableAddonsOK ¶
func NewGetAvailableAddonsOK() *GetAvailableAddonsOK
NewGetAvailableAddonsOK creates a GetAvailableAddonsOK with default headers values
func (*GetAvailableAddonsOK) Code ¶
func (o *GetAvailableAddonsOK) Code() int
Code gets the status code for the get available addons o k response
func (*GetAvailableAddonsOK) Error ¶
func (o *GetAvailableAddonsOK) Error() string
func (*GetAvailableAddonsOK) GetPayload ¶
func (o *GetAvailableAddonsOK) GetPayload() []*kbmodel.PlanDetail
func (*GetAvailableAddonsOK) IsClientError ¶
func (o *GetAvailableAddonsOK) IsClientError() bool
IsClientError returns true when this get available addons o k response has a 4xx status code
func (*GetAvailableAddonsOK) IsCode ¶
func (o *GetAvailableAddonsOK) IsCode(code int) bool
IsCode returns true when this get available addons o k response a status code equal to that given
func (*GetAvailableAddonsOK) IsRedirect ¶
func (o *GetAvailableAddonsOK) IsRedirect() bool
IsRedirect returns true when this get available addons o k response has a 3xx status code
func (*GetAvailableAddonsOK) IsServerError ¶
func (o *GetAvailableAddonsOK) IsServerError() bool
IsServerError returns true when this get available addons o k response has a 5xx status code
func (*GetAvailableAddonsOK) IsSuccess ¶
func (o *GetAvailableAddonsOK) IsSuccess() bool
IsSuccess returns true when this get available addons o k response has a 2xx status code
func (*GetAvailableAddonsOK) String ¶
func (o *GetAvailableAddonsOK) String() string
type GetAvailableAddonsParams ¶
type GetAvailableAddonsParams struct { // AccountID. // // Format: uuid 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAvailableAddonsParamsWithContext ¶
func NewGetAvailableAddonsParamsWithContext(ctx context.Context) *GetAvailableAddonsParams
NewGetAvailableAddonsParamsWithContext creates a new GetAvailableAddonsParams object with the ability to set a context for a request.
func NewGetAvailableAddonsParamsWithHTTPClient ¶
func NewGetAvailableAddonsParamsWithHTTPClient(client *http.Client) *GetAvailableAddonsParams
NewGetAvailableAddonsParamsWithHTTPClient creates a new GetAvailableAddonsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAvailableAddonsParamsWithTimeout ¶
func NewGetAvailableAddonsParamsWithTimeout(timeout time.Duration) *GetAvailableAddonsParams
NewGetAvailableAddonsParamsWithTimeout creates a new GetAvailableAddonsParams object with the ability to set a timeout on a request.
func (*GetAvailableAddonsParams) SetAccountID ¶
func (o *GetAvailableAddonsParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get available addons params
func (*GetAvailableAddonsParams) SetBaseProductName ¶
func (o *GetAvailableAddonsParams) SetBaseProductName(baseProductName *string)
SetBaseProductName adds the baseProductName to the get available addons params
func (*GetAvailableAddonsParams) SetContext ¶
func (o *GetAvailableAddonsParams) SetContext(ctx context.Context)
SetContext adds the context to the get available addons params
func (*GetAvailableAddonsParams) SetDefaults ¶
func (o *GetAvailableAddonsParams) SetDefaults()
SetDefaults hydrates default values in the get available addons params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableAddonsParams) SetHTTPClient ¶
func (o *GetAvailableAddonsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get available addons params
func (*GetAvailableAddonsParams) SetPriceListName ¶
func (o *GetAvailableAddonsParams) SetPriceListName(priceListName *string)
SetPriceListName adds the priceListName to the get available addons params
func (*GetAvailableAddonsParams) SetTimeout ¶
func (o *GetAvailableAddonsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get available addons params
func (*GetAvailableAddonsParams) WithAccountID ¶
func (o *GetAvailableAddonsParams) WithAccountID(accountID *strfmt.UUID) *GetAvailableAddonsParams
WithAccountID adds the accountID to the get available addons params
func (*GetAvailableAddonsParams) WithBaseProductName ¶
func (o *GetAvailableAddonsParams) WithBaseProductName(baseProductName *string) *GetAvailableAddonsParams
WithBaseProductName adds the baseProductName to the get available addons params
func (*GetAvailableAddonsParams) WithContext ¶
func (o *GetAvailableAddonsParams) WithContext(ctx context.Context) *GetAvailableAddonsParams
WithContext adds the context to the get available addons params
func (*GetAvailableAddonsParams) WithDefaults ¶
func (o *GetAvailableAddonsParams) WithDefaults() *GetAvailableAddonsParams
WithDefaults hydrates default values in the get available addons params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableAddonsParams) WithHTTPClient ¶
func (o *GetAvailableAddonsParams) WithHTTPClient(client *http.Client) *GetAvailableAddonsParams
WithHTTPClient adds the HTTPClient to the get available addons params
func (*GetAvailableAddonsParams) WithPriceListName ¶
func (o *GetAvailableAddonsParams) WithPriceListName(priceListName *string) *GetAvailableAddonsParams
WithPriceListName adds the priceListName to the get available addons params
func (*GetAvailableAddonsParams) WithTimeout ¶
func (o *GetAvailableAddonsParams) WithTimeout(timeout time.Duration) *GetAvailableAddonsParams
WithTimeout adds the timeout to the get available addons params
func (*GetAvailableAddonsParams) WriteToRequest ¶
func (o *GetAvailableAddonsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAvailableAddonsReader ¶
type GetAvailableAddonsReader struct {
// contains filtered or unexported fields
}
GetAvailableAddonsReader is a Reader for the GetAvailableAddons structure.
func (*GetAvailableAddonsReader) ReadResponse ¶
func (o *GetAvailableAddonsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAvailableBasePlansOK ¶
type GetAvailableBasePlansOK struct { Payload []*kbmodel.PlanDetail HttpResponse runtime.ClientResponse }
GetAvailableBasePlansOK describes a response with status code 200, with default header values.
successful operation
func NewGetAvailableBasePlansOK ¶
func NewGetAvailableBasePlansOK() *GetAvailableBasePlansOK
NewGetAvailableBasePlansOK creates a GetAvailableBasePlansOK with default headers values
func (*GetAvailableBasePlansOK) Code ¶
func (o *GetAvailableBasePlansOK) Code() int
Code gets the status code for the get available base plans o k response
func (*GetAvailableBasePlansOK) Error ¶
func (o *GetAvailableBasePlansOK) Error() string
func (*GetAvailableBasePlansOK) GetPayload ¶
func (o *GetAvailableBasePlansOK) GetPayload() []*kbmodel.PlanDetail
func (*GetAvailableBasePlansOK) IsClientError ¶
func (o *GetAvailableBasePlansOK) IsClientError() bool
IsClientError returns true when this get available base plans o k response has a 4xx status code
func (*GetAvailableBasePlansOK) IsCode ¶
func (o *GetAvailableBasePlansOK) IsCode(code int) bool
IsCode returns true when this get available base plans o k response a status code equal to that given
func (*GetAvailableBasePlansOK) IsRedirect ¶
func (o *GetAvailableBasePlansOK) IsRedirect() bool
IsRedirect returns true when this get available base plans o k response has a 3xx status code
func (*GetAvailableBasePlansOK) IsServerError ¶
func (o *GetAvailableBasePlansOK) IsServerError() bool
IsServerError returns true when this get available base plans o k response has a 5xx status code
func (*GetAvailableBasePlansOK) IsSuccess ¶
func (o *GetAvailableBasePlansOK) IsSuccess() bool
IsSuccess returns true when this get available base plans o k response has a 2xx status code
func (*GetAvailableBasePlansOK) String ¶
func (o *GetAvailableBasePlansOK) String() string
type GetAvailableBasePlansParams ¶
type GetAvailableBasePlansParams struct { // AccountID. // // Format: uuid 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAvailableBasePlansParamsWithContext ¶
func NewGetAvailableBasePlansParamsWithContext(ctx context.Context) *GetAvailableBasePlansParams
NewGetAvailableBasePlansParamsWithContext creates a new GetAvailableBasePlansParams object with the ability to set a context for a request.
func NewGetAvailableBasePlansParamsWithHTTPClient ¶
func NewGetAvailableBasePlansParamsWithHTTPClient(client *http.Client) *GetAvailableBasePlansParams
NewGetAvailableBasePlansParamsWithHTTPClient creates a new GetAvailableBasePlansParams object with the ability to set a custom HTTPClient for a request.
func NewGetAvailableBasePlansParamsWithTimeout ¶
func NewGetAvailableBasePlansParamsWithTimeout(timeout time.Duration) *GetAvailableBasePlansParams
NewGetAvailableBasePlansParamsWithTimeout creates a new GetAvailableBasePlansParams object with the ability to set a timeout on a request.
func (*GetAvailableBasePlansParams) SetAccountID ¶
func (o *GetAvailableBasePlansParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get available base plans params
func (*GetAvailableBasePlansParams) SetContext ¶
func (o *GetAvailableBasePlansParams) SetContext(ctx context.Context)
SetContext adds the context to the get available base plans params
func (*GetAvailableBasePlansParams) SetDefaults ¶
func (o *GetAvailableBasePlansParams) SetDefaults()
SetDefaults hydrates default values in the get available base plans params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableBasePlansParams) SetHTTPClient ¶
func (o *GetAvailableBasePlansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get available base plans params
func (*GetAvailableBasePlansParams) SetTimeout ¶
func (o *GetAvailableBasePlansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get available base plans params
func (*GetAvailableBasePlansParams) WithAccountID ¶
func (o *GetAvailableBasePlansParams) WithAccountID(accountID *strfmt.UUID) *GetAvailableBasePlansParams
WithAccountID adds the accountID to the get available base plans params
func (*GetAvailableBasePlansParams) WithContext ¶
func (o *GetAvailableBasePlansParams) WithContext(ctx context.Context) *GetAvailableBasePlansParams
WithContext adds the context to the get available base plans params
func (*GetAvailableBasePlansParams) WithDefaults ¶
func (o *GetAvailableBasePlansParams) WithDefaults() *GetAvailableBasePlansParams
WithDefaults hydrates default values in the get available base plans params (not the query body).
All values with no default are reset to their zero value.
func (*GetAvailableBasePlansParams) WithHTTPClient ¶
func (o *GetAvailableBasePlansParams) WithHTTPClient(client *http.Client) *GetAvailableBasePlansParams
WithHTTPClient adds the HTTPClient to the get available base plans params
func (*GetAvailableBasePlansParams) WithTimeout ¶
func (o *GetAvailableBasePlansParams) WithTimeout(timeout time.Duration) *GetAvailableBasePlansParams
WithTimeout adds the timeout to the get available base plans params
func (*GetAvailableBasePlansParams) WriteToRequest ¶
func (o *GetAvailableBasePlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAvailableBasePlansReader ¶
type GetAvailableBasePlansReader struct {
// contains filtered or unexported fields
}
GetAvailableBasePlansReader is a Reader for the GetAvailableBasePlans structure.
func (*GetAvailableBasePlansReader) ReadResponse ¶
func (o *GetAvailableBasePlansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogJSONOK ¶
type GetCatalogJSONOK struct { Payload []*kbmodel.Catalog HttpResponse runtime.ClientResponse }
GetCatalogJSONOK describes a response with status code 200, with default header values.
successful operation
func NewGetCatalogJSONOK ¶
func NewGetCatalogJSONOK() *GetCatalogJSONOK
NewGetCatalogJSONOK creates a GetCatalogJSONOK with default headers values
func (*GetCatalogJSONOK) Code ¶
func (o *GetCatalogJSONOK) Code() int
Code gets the status code for the get catalog Json o k response
func (*GetCatalogJSONOK) Error ¶
func (o *GetCatalogJSONOK) Error() string
func (*GetCatalogJSONOK) GetPayload ¶
func (o *GetCatalogJSONOK) GetPayload() []*kbmodel.Catalog
func (*GetCatalogJSONOK) IsClientError ¶
func (o *GetCatalogJSONOK) IsClientError() bool
IsClientError returns true when this get catalog Json o k response has a 4xx status code
func (*GetCatalogJSONOK) IsCode ¶
func (o *GetCatalogJSONOK) IsCode(code int) bool
IsCode returns true when this get catalog Json o k response a status code equal to that given
func (*GetCatalogJSONOK) IsRedirect ¶
func (o *GetCatalogJSONOK) IsRedirect() bool
IsRedirect returns true when this get catalog Json o k response has a 3xx status code
func (*GetCatalogJSONOK) IsServerError ¶
func (o *GetCatalogJSONOK) IsServerError() bool
IsServerError returns true when this get catalog Json o k response has a 5xx status code
func (*GetCatalogJSONOK) IsSuccess ¶
func (o *GetCatalogJSONOK) IsSuccess() bool
IsSuccess returns true when this get catalog Json o k response has a 2xx status code
func (*GetCatalogJSONOK) String ¶
func (o *GetCatalogJSONOK) String() string
type GetCatalogJSONParams ¶
type GetCatalogJSONParams struct { // AccountID. // // Format: uuid AccountID *strfmt.UUID // RequestedDate. // // Format: date-time 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCatalogJSONParamsWithContext ¶
func NewGetCatalogJSONParamsWithContext(ctx context.Context) *GetCatalogJSONParams
NewGetCatalogJSONParamsWithContext creates a new GetCatalogJSONParams object with the ability to set a context for a request.
func NewGetCatalogJSONParamsWithHTTPClient ¶
func NewGetCatalogJSONParamsWithHTTPClient(client *http.Client) *GetCatalogJSONParams
NewGetCatalogJSONParamsWithHTTPClient creates a new GetCatalogJSONParams object with the ability to set a custom HTTPClient for a request.
func NewGetCatalogJSONParamsWithTimeout ¶
func NewGetCatalogJSONParamsWithTimeout(timeout time.Duration) *GetCatalogJSONParams
NewGetCatalogJSONParamsWithTimeout creates a new GetCatalogJSONParams object with the ability to set a timeout on a request.
func (*GetCatalogJSONParams) SetAccountID ¶
func (o *GetCatalogJSONParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get catalog Json params
func (*GetCatalogJSONParams) SetContext ¶
func (o *GetCatalogJSONParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog Json params
func (*GetCatalogJSONParams) SetDefaults ¶
func (o *GetCatalogJSONParams) SetDefaults()
SetDefaults hydrates default values in the get catalog Json params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogJSONParams) SetHTTPClient ¶
func (o *GetCatalogJSONParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog Json params
func (*GetCatalogJSONParams) SetRequestedDate ¶
func (o *GetCatalogJSONParams) SetRequestedDate(requestedDate *strfmt.DateTime)
SetRequestedDate adds the requestedDate to the get catalog Json params
func (*GetCatalogJSONParams) SetTimeout ¶
func (o *GetCatalogJSONParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog Json params
func (*GetCatalogJSONParams) WithAccountID ¶
func (o *GetCatalogJSONParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogJSONParams
WithAccountID adds the accountID to the get catalog Json params
func (*GetCatalogJSONParams) WithContext ¶
func (o *GetCatalogJSONParams) WithContext(ctx context.Context) *GetCatalogJSONParams
WithContext adds the context to the get catalog Json params
func (*GetCatalogJSONParams) WithDefaults ¶
func (o *GetCatalogJSONParams) WithDefaults() *GetCatalogJSONParams
WithDefaults hydrates default values in the get catalog Json params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogJSONParams) WithHTTPClient ¶
func (o *GetCatalogJSONParams) WithHTTPClient(client *http.Client) *GetCatalogJSONParams
WithHTTPClient adds the HTTPClient to the get catalog Json params
func (*GetCatalogJSONParams) WithRequestedDate ¶
func (o *GetCatalogJSONParams) WithRequestedDate(requestedDate *strfmt.DateTime) *GetCatalogJSONParams
WithRequestedDate adds the requestedDate to the get catalog Json params
func (*GetCatalogJSONParams) WithTimeout ¶
func (o *GetCatalogJSONParams) WithTimeout(timeout time.Duration) *GetCatalogJSONParams
WithTimeout adds the timeout to the get catalog Json params
func (*GetCatalogJSONParams) WriteToRequest ¶
func (o *GetCatalogJSONParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogJSONReader ¶
type GetCatalogJSONReader struct {
// contains filtered or unexported fields
}
GetCatalogJSONReader is a Reader for the GetCatalogJSON structure.
func (*GetCatalogJSONReader) ReadResponse ¶
func (o *GetCatalogJSONReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogVersionsOK ¶
type GetCatalogVersionsOK struct { Payload []strfmt.DateTime HttpResponse runtime.ClientResponse }
GetCatalogVersionsOK describes a response with status code 200, with default header values.
successful operation
func NewGetCatalogVersionsOK ¶
func NewGetCatalogVersionsOK() *GetCatalogVersionsOK
NewGetCatalogVersionsOK creates a GetCatalogVersionsOK with default headers values
func (*GetCatalogVersionsOK) Code ¶
func (o *GetCatalogVersionsOK) Code() int
Code gets the status code for the get catalog versions o k response
func (*GetCatalogVersionsOK) Error ¶
func (o *GetCatalogVersionsOK) Error() string
func (*GetCatalogVersionsOK) GetPayload ¶
func (o *GetCatalogVersionsOK) GetPayload() []strfmt.DateTime
func (*GetCatalogVersionsOK) IsClientError ¶
func (o *GetCatalogVersionsOK) IsClientError() bool
IsClientError returns true when this get catalog versions o k response has a 4xx status code
func (*GetCatalogVersionsOK) IsCode ¶
func (o *GetCatalogVersionsOK) IsCode(code int) bool
IsCode returns true when this get catalog versions o k response a status code equal to that given
func (*GetCatalogVersionsOK) IsRedirect ¶
func (o *GetCatalogVersionsOK) IsRedirect() bool
IsRedirect returns true when this get catalog versions o k response has a 3xx status code
func (*GetCatalogVersionsOK) IsServerError ¶
func (o *GetCatalogVersionsOK) IsServerError() bool
IsServerError returns true when this get catalog versions o k response has a 5xx status code
func (*GetCatalogVersionsOK) IsSuccess ¶
func (o *GetCatalogVersionsOK) IsSuccess() bool
IsSuccess returns true when this get catalog versions o k response has a 2xx status code
func (*GetCatalogVersionsOK) String ¶
func (o *GetCatalogVersionsOK) String() string
type GetCatalogVersionsParams ¶
type GetCatalogVersionsParams struct { // AccountID. // // Format: uuid 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCatalogVersionsParamsWithContext ¶
func NewGetCatalogVersionsParamsWithContext(ctx context.Context) *GetCatalogVersionsParams
NewGetCatalogVersionsParamsWithContext creates a new GetCatalogVersionsParams object with the ability to set a context for a request.
func NewGetCatalogVersionsParamsWithHTTPClient ¶
func NewGetCatalogVersionsParamsWithHTTPClient(client *http.Client) *GetCatalogVersionsParams
NewGetCatalogVersionsParamsWithHTTPClient creates a new GetCatalogVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCatalogVersionsParamsWithTimeout ¶
func NewGetCatalogVersionsParamsWithTimeout(timeout time.Duration) *GetCatalogVersionsParams
NewGetCatalogVersionsParamsWithTimeout creates a new GetCatalogVersionsParams object with the ability to set a timeout on a request.
func (*GetCatalogVersionsParams) SetAccountID ¶
func (o *GetCatalogVersionsParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get catalog versions params
func (*GetCatalogVersionsParams) SetContext ¶
func (o *GetCatalogVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog versions params
func (*GetCatalogVersionsParams) SetDefaults ¶
func (o *GetCatalogVersionsParams) SetDefaults()
SetDefaults hydrates default values in the get catalog versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogVersionsParams) SetHTTPClient ¶
func (o *GetCatalogVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog versions params
func (*GetCatalogVersionsParams) SetTimeout ¶
func (o *GetCatalogVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog versions params
func (*GetCatalogVersionsParams) WithAccountID ¶
func (o *GetCatalogVersionsParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogVersionsParams
WithAccountID adds the accountID to the get catalog versions params
func (*GetCatalogVersionsParams) WithContext ¶
func (o *GetCatalogVersionsParams) WithContext(ctx context.Context) *GetCatalogVersionsParams
WithContext adds the context to the get catalog versions params
func (*GetCatalogVersionsParams) WithDefaults ¶
func (o *GetCatalogVersionsParams) WithDefaults() *GetCatalogVersionsParams
WithDefaults hydrates default values in the get catalog versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogVersionsParams) WithHTTPClient ¶
func (o *GetCatalogVersionsParams) WithHTTPClient(client *http.Client) *GetCatalogVersionsParams
WithHTTPClient adds the HTTPClient to the get catalog versions params
func (*GetCatalogVersionsParams) WithTimeout ¶
func (o *GetCatalogVersionsParams) WithTimeout(timeout time.Duration) *GetCatalogVersionsParams
WithTimeout adds the timeout to the get catalog versions params
func (*GetCatalogVersionsParams) WriteToRequest ¶
func (o *GetCatalogVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogVersionsReader ¶
type GetCatalogVersionsReader struct {
// contains filtered or unexported fields
}
GetCatalogVersionsReader is a Reader for the GetCatalogVersions structure.
func (*GetCatalogVersionsReader) ReadResponse ¶
func (o *GetCatalogVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCatalogXMLOK ¶
type GetCatalogXMLOK struct { Payload string HttpResponse runtime.ClientResponse }
GetCatalogXMLOK describes a response with status code 200, with default header values.
successful operation
func NewGetCatalogXMLOK ¶
func NewGetCatalogXMLOK() *GetCatalogXMLOK
NewGetCatalogXMLOK creates a GetCatalogXMLOK with default headers values
func (*GetCatalogXMLOK) Code ¶
func (o *GetCatalogXMLOK) Code() int
Code gets the status code for the get catalog Xml o k response
func (*GetCatalogXMLOK) Error ¶
func (o *GetCatalogXMLOK) Error() string
func (*GetCatalogXMLOK) GetPayload ¶
func (o *GetCatalogXMLOK) GetPayload() string
func (*GetCatalogXMLOK) IsClientError ¶
func (o *GetCatalogXMLOK) IsClientError() bool
IsClientError returns true when this get catalog Xml o k response has a 4xx status code
func (*GetCatalogXMLOK) IsCode ¶
func (o *GetCatalogXMLOK) IsCode(code int) bool
IsCode returns true when this get catalog Xml o k response a status code equal to that given
func (*GetCatalogXMLOK) IsRedirect ¶
func (o *GetCatalogXMLOK) IsRedirect() bool
IsRedirect returns true when this get catalog Xml o k response has a 3xx status code
func (*GetCatalogXMLOK) IsServerError ¶
func (o *GetCatalogXMLOK) IsServerError() bool
IsServerError returns true when this get catalog Xml o k response has a 5xx status code
func (*GetCatalogXMLOK) IsSuccess ¶
func (o *GetCatalogXMLOK) IsSuccess() bool
IsSuccess returns true when this get catalog Xml o k response has a 2xx status code
func (*GetCatalogXMLOK) String ¶
func (o *GetCatalogXMLOK) String() string
type GetCatalogXMLParams ¶
type GetCatalogXMLParams struct { // AccountID. // // Format: uuid AccountID *strfmt.UUID // RequestedDate. // // Format: date-time 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCatalogXMLParamsWithContext ¶
func NewGetCatalogXMLParamsWithContext(ctx context.Context) *GetCatalogXMLParams
NewGetCatalogXMLParamsWithContext creates a new GetCatalogXMLParams object with the ability to set a context for a request.
func NewGetCatalogXMLParamsWithHTTPClient ¶
func NewGetCatalogXMLParamsWithHTTPClient(client *http.Client) *GetCatalogXMLParams
NewGetCatalogXMLParamsWithHTTPClient creates a new GetCatalogXMLParams object with the ability to set a custom HTTPClient for a request.
func NewGetCatalogXMLParamsWithTimeout ¶
func NewGetCatalogXMLParamsWithTimeout(timeout time.Duration) *GetCatalogXMLParams
NewGetCatalogXMLParamsWithTimeout creates a new GetCatalogXMLParams object with the ability to set a timeout on a request.
func (*GetCatalogXMLParams) SetAccountID ¶
func (o *GetCatalogXMLParams) SetAccountID(accountID *strfmt.UUID)
SetAccountID adds the accountId to the get catalog Xml params
func (*GetCatalogXMLParams) SetContext ¶
func (o *GetCatalogXMLParams) SetContext(ctx context.Context)
SetContext adds the context to the get catalog Xml params
func (*GetCatalogXMLParams) SetDefaults ¶
func (o *GetCatalogXMLParams) SetDefaults()
SetDefaults hydrates default values in the get catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogXMLParams) SetHTTPClient ¶
func (o *GetCatalogXMLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get catalog Xml params
func (*GetCatalogXMLParams) SetRequestedDate ¶
func (o *GetCatalogXMLParams) SetRequestedDate(requestedDate *strfmt.DateTime)
SetRequestedDate adds the requestedDate to the get catalog Xml params
func (*GetCatalogXMLParams) SetTimeout ¶
func (o *GetCatalogXMLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get catalog Xml params
func (*GetCatalogXMLParams) WithAccountID ¶
func (o *GetCatalogXMLParams) WithAccountID(accountID *strfmt.UUID) *GetCatalogXMLParams
WithAccountID adds the accountID to the get catalog Xml params
func (*GetCatalogXMLParams) WithContext ¶
func (o *GetCatalogXMLParams) WithContext(ctx context.Context) *GetCatalogXMLParams
WithContext adds the context to the get catalog Xml params
func (*GetCatalogXMLParams) WithDefaults ¶
func (o *GetCatalogXMLParams) WithDefaults() *GetCatalogXMLParams
WithDefaults hydrates default values in the get catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*GetCatalogXMLParams) WithHTTPClient ¶
func (o *GetCatalogXMLParams) WithHTTPClient(client *http.Client) *GetCatalogXMLParams
WithHTTPClient adds the HTTPClient to the get catalog Xml params
func (*GetCatalogXMLParams) WithRequestedDate ¶
func (o *GetCatalogXMLParams) WithRequestedDate(requestedDate *strfmt.DateTime) *GetCatalogXMLParams
WithRequestedDate adds the requestedDate to the get catalog Xml params
func (*GetCatalogXMLParams) WithTimeout ¶
func (o *GetCatalogXMLParams) WithTimeout(timeout time.Duration) *GetCatalogXMLParams
WithTimeout adds the timeout to the get catalog Xml params
func (*GetCatalogXMLParams) WriteToRequest ¶
func (o *GetCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCatalogXMLReader ¶
type GetCatalogXMLReader struct {
// contains filtered or unexported fields
}
GetCatalogXMLReader is a Reader for the GetCatalogXML structure.
func (*GetCatalogXMLReader) ReadResponse ¶
func (o *GetCatalogXMLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPhaseForSubscriptionAndDateOK ¶
type GetPhaseForSubscriptionAndDateOK struct { Payload *kbmodel.Phase HttpResponse runtime.ClientResponse }
GetPhaseForSubscriptionAndDateOK describes a response with status code 200, with default header values.
successful operation
func NewGetPhaseForSubscriptionAndDateOK ¶
func NewGetPhaseForSubscriptionAndDateOK() *GetPhaseForSubscriptionAndDateOK
NewGetPhaseForSubscriptionAndDateOK creates a GetPhaseForSubscriptionAndDateOK with default headers values
func (*GetPhaseForSubscriptionAndDateOK) Code ¶
func (o *GetPhaseForSubscriptionAndDateOK) Code() int
Code gets the status code for the get phase for subscription and date o k response
func (*GetPhaseForSubscriptionAndDateOK) Error ¶
func (o *GetPhaseForSubscriptionAndDateOK) Error() string
func (*GetPhaseForSubscriptionAndDateOK) GetPayload ¶
func (o *GetPhaseForSubscriptionAndDateOK) GetPayload() *kbmodel.Phase
func (*GetPhaseForSubscriptionAndDateOK) IsClientError ¶
func (o *GetPhaseForSubscriptionAndDateOK) IsClientError() bool
IsClientError returns true when this get phase for subscription and date o k response has a 4xx status code
func (*GetPhaseForSubscriptionAndDateOK) IsCode ¶
func (o *GetPhaseForSubscriptionAndDateOK) IsCode(code int) bool
IsCode returns true when this get phase for subscription and date o k response a status code equal to that given
func (*GetPhaseForSubscriptionAndDateOK) IsRedirect ¶
func (o *GetPhaseForSubscriptionAndDateOK) IsRedirect() bool
IsRedirect returns true when this get phase for subscription and date o k response has a 3xx status code
func (*GetPhaseForSubscriptionAndDateOK) IsServerError ¶
func (o *GetPhaseForSubscriptionAndDateOK) IsServerError() bool
IsServerError returns true when this get phase for subscription and date o k response has a 5xx status code
func (*GetPhaseForSubscriptionAndDateOK) IsSuccess ¶
func (o *GetPhaseForSubscriptionAndDateOK) IsSuccess() bool
IsSuccess returns true when this get phase for subscription and date o k response has a 2xx status code
func (*GetPhaseForSubscriptionAndDateOK) String ¶
func (o *GetPhaseForSubscriptionAndDateOK) String() string
type GetPhaseForSubscriptionAndDateParams ¶
type GetPhaseForSubscriptionAndDateParams struct { // RequestedDate. // // Format: date RequestedDate *strfmt.Date // SubscriptionID. // // Format: uuid 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPhaseForSubscriptionAndDateParamsWithContext ¶
func NewGetPhaseForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams
NewGetPhaseForSubscriptionAndDateParamsWithContext creates a new GetPhaseForSubscriptionAndDateParams object with the ability to set a context for a request.
func NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient ¶
func NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPhaseForSubscriptionAndDateParams
NewGetPhaseForSubscriptionAndDateParamsWithHTTPClient creates a new GetPhaseForSubscriptionAndDateParams object with the ability to set a custom HTTPClient for a request.
func NewGetPhaseForSubscriptionAndDateParamsWithTimeout ¶
func NewGetPhaseForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPhaseForSubscriptionAndDateParams
NewGetPhaseForSubscriptionAndDateParamsWithTimeout creates a new GetPhaseForSubscriptionAndDateParams object with the ability to set a timeout on a request.
func (*GetPhaseForSubscriptionAndDateParams) SetContext ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetContext(ctx context.Context)
SetContext adds the context to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) SetDefaults ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetDefaults()
SetDefaults hydrates default values in the get phase for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPhaseForSubscriptionAndDateParams) SetHTTPClient ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) SetRequestedDate ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) SetSubscriptionID ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) SetTimeout ¶
func (o *GetPhaseForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithContext ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPhaseForSubscriptionAndDateParams
WithContext adds the context to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithDefaults ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithDefaults() *GetPhaseForSubscriptionAndDateParams
WithDefaults hydrates default values in the get phase for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPhaseForSubscriptionAndDateParams) WithHTTPClient ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPhaseForSubscriptionAndDateParams
WithHTTPClient adds the HTTPClient to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithRequestedDate ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPhaseForSubscriptionAndDateParams
WithRequestedDate adds the requestedDate to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithSubscriptionID ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPhaseForSubscriptionAndDateParams
WithSubscriptionID adds the subscriptionID to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WithTimeout ¶
func (o *GetPhaseForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPhaseForSubscriptionAndDateParams
WithTimeout adds the timeout to the get phase for subscription and date params
func (*GetPhaseForSubscriptionAndDateParams) WriteToRequest ¶
func (o *GetPhaseForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPhaseForSubscriptionAndDateReader ¶
type GetPhaseForSubscriptionAndDateReader struct {
// contains filtered or unexported fields
}
GetPhaseForSubscriptionAndDateReader is a Reader for the GetPhaseForSubscriptionAndDate structure.
func (*GetPhaseForSubscriptionAndDateReader) ReadResponse ¶
func (o *GetPhaseForSubscriptionAndDateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPlanForSubscriptionAndDateOK ¶
type GetPlanForSubscriptionAndDateOK struct { Payload *kbmodel.Plan HttpResponse runtime.ClientResponse }
GetPlanForSubscriptionAndDateOK describes a response with status code 200, with default header values.
successful operation
func NewGetPlanForSubscriptionAndDateOK ¶
func NewGetPlanForSubscriptionAndDateOK() *GetPlanForSubscriptionAndDateOK
NewGetPlanForSubscriptionAndDateOK creates a GetPlanForSubscriptionAndDateOK with default headers values
func (*GetPlanForSubscriptionAndDateOK) Code ¶
func (o *GetPlanForSubscriptionAndDateOK) Code() int
Code gets the status code for the get plan for subscription and date o k response
func (*GetPlanForSubscriptionAndDateOK) Error ¶
func (o *GetPlanForSubscriptionAndDateOK) Error() string
func (*GetPlanForSubscriptionAndDateOK) GetPayload ¶
func (o *GetPlanForSubscriptionAndDateOK) GetPayload() *kbmodel.Plan
func (*GetPlanForSubscriptionAndDateOK) IsClientError ¶
func (o *GetPlanForSubscriptionAndDateOK) IsClientError() bool
IsClientError returns true when this get plan for subscription and date o k response has a 4xx status code
func (*GetPlanForSubscriptionAndDateOK) IsCode ¶
func (o *GetPlanForSubscriptionAndDateOK) IsCode(code int) bool
IsCode returns true when this get plan for subscription and date o k response a status code equal to that given
func (*GetPlanForSubscriptionAndDateOK) IsRedirect ¶
func (o *GetPlanForSubscriptionAndDateOK) IsRedirect() bool
IsRedirect returns true when this get plan for subscription and date o k response has a 3xx status code
func (*GetPlanForSubscriptionAndDateOK) IsServerError ¶
func (o *GetPlanForSubscriptionAndDateOK) IsServerError() bool
IsServerError returns true when this get plan for subscription and date o k response has a 5xx status code
func (*GetPlanForSubscriptionAndDateOK) IsSuccess ¶
func (o *GetPlanForSubscriptionAndDateOK) IsSuccess() bool
IsSuccess returns true when this get plan for subscription and date o k response has a 2xx status code
func (*GetPlanForSubscriptionAndDateOK) String ¶
func (o *GetPlanForSubscriptionAndDateOK) String() string
type GetPlanForSubscriptionAndDateParams ¶
type GetPlanForSubscriptionAndDateParams struct { // RequestedDate. // // Format: date RequestedDate *strfmt.Date // SubscriptionID. // // Format: uuid 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPlanForSubscriptionAndDateParamsWithContext ¶
func NewGetPlanForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams
NewGetPlanForSubscriptionAndDateParamsWithContext creates a new GetPlanForSubscriptionAndDateParams object with the ability to set a context for a request.
func NewGetPlanForSubscriptionAndDateParamsWithHTTPClient ¶
func NewGetPlanForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPlanForSubscriptionAndDateParams
NewGetPlanForSubscriptionAndDateParamsWithHTTPClient creates a new GetPlanForSubscriptionAndDateParams object with the ability to set a custom HTTPClient for a request.
func NewGetPlanForSubscriptionAndDateParamsWithTimeout ¶
func NewGetPlanForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPlanForSubscriptionAndDateParams
NewGetPlanForSubscriptionAndDateParamsWithTimeout creates a new GetPlanForSubscriptionAndDateParams object with the ability to set a timeout on a request.
func (*GetPlanForSubscriptionAndDateParams) SetContext ¶
func (o *GetPlanForSubscriptionAndDateParams) SetContext(ctx context.Context)
SetContext adds the context to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) SetDefaults ¶
func (o *GetPlanForSubscriptionAndDateParams) SetDefaults()
SetDefaults hydrates default values in the get plan for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPlanForSubscriptionAndDateParams) SetHTTPClient ¶
func (o *GetPlanForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) SetRequestedDate ¶
func (o *GetPlanForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) SetSubscriptionID ¶
func (o *GetPlanForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) SetTimeout ¶
func (o *GetPlanForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithContext ¶
func (o *GetPlanForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPlanForSubscriptionAndDateParams
WithContext adds the context to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithDefaults ¶
func (o *GetPlanForSubscriptionAndDateParams) WithDefaults() *GetPlanForSubscriptionAndDateParams
WithDefaults hydrates default values in the get plan for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPlanForSubscriptionAndDateParams) WithHTTPClient ¶
func (o *GetPlanForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPlanForSubscriptionAndDateParams
WithHTTPClient adds the HTTPClient to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithRequestedDate ¶
func (o *GetPlanForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPlanForSubscriptionAndDateParams
WithRequestedDate adds the requestedDate to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithSubscriptionID ¶
func (o *GetPlanForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPlanForSubscriptionAndDateParams
WithSubscriptionID adds the subscriptionID to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WithTimeout ¶
func (o *GetPlanForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPlanForSubscriptionAndDateParams
WithTimeout adds the timeout to the get plan for subscription and date params
func (*GetPlanForSubscriptionAndDateParams) WriteToRequest ¶
func (o *GetPlanForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPlanForSubscriptionAndDateReader ¶
type GetPlanForSubscriptionAndDateReader struct {
// contains filtered or unexported fields
}
GetPlanForSubscriptionAndDateReader is a Reader for the GetPlanForSubscriptionAndDate structure.
func (*GetPlanForSubscriptionAndDateReader) ReadResponse ¶
func (o *GetPlanForSubscriptionAndDateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPriceListForSubscriptionAndDateOK ¶
type GetPriceListForSubscriptionAndDateOK struct { Payload *kbmodel.PriceList HttpResponse runtime.ClientResponse }
GetPriceListForSubscriptionAndDateOK describes a response with status code 200, with default header values.
successful operation
func NewGetPriceListForSubscriptionAndDateOK ¶
func NewGetPriceListForSubscriptionAndDateOK() *GetPriceListForSubscriptionAndDateOK
NewGetPriceListForSubscriptionAndDateOK creates a GetPriceListForSubscriptionAndDateOK with default headers values
func (*GetPriceListForSubscriptionAndDateOK) Code ¶
func (o *GetPriceListForSubscriptionAndDateOK) Code() int
Code gets the status code for the get price list for subscription and date o k response
func (*GetPriceListForSubscriptionAndDateOK) Error ¶
func (o *GetPriceListForSubscriptionAndDateOK) Error() string
func (*GetPriceListForSubscriptionAndDateOK) GetPayload ¶
func (o *GetPriceListForSubscriptionAndDateOK) GetPayload() *kbmodel.PriceList
func (*GetPriceListForSubscriptionAndDateOK) IsClientError ¶
func (o *GetPriceListForSubscriptionAndDateOK) IsClientError() bool
IsClientError returns true when this get price list for subscription and date o k response has a 4xx status code
func (*GetPriceListForSubscriptionAndDateOK) IsCode ¶
func (o *GetPriceListForSubscriptionAndDateOK) IsCode(code int) bool
IsCode returns true when this get price list for subscription and date o k response a status code equal to that given
func (*GetPriceListForSubscriptionAndDateOK) IsRedirect ¶
func (o *GetPriceListForSubscriptionAndDateOK) IsRedirect() bool
IsRedirect returns true when this get price list for subscription and date o k response has a 3xx status code
func (*GetPriceListForSubscriptionAndDateOK) IsServerError ¶
func (o *GetPriceListForSubscriptionAndDateOK) IsServerError() bool
IsServerError returns true when this get price list for subscription and date o k response has a 5xx status code
func (*GetPriceListForSubscriptionAndDateOK) IsSuccess ¶
func (o *GetPriceListForSubscriptionAndDateOK) IsSuccess() bool
IsSuccess returns true when this get price list for subscription and date o k response has a 2xx status code
func (*GetPriceListForSubscriptionAndDateOK) String ¶
func (o *GetPriceListForSubscriptionAndDateOK) String() string
type GetPriceListForSubscriptionAndDateParams ¶
type GetPriceListForSubscriptionAndDateParams struct { // RequestedDate. // // Format: date RequestedDate *strfmt.Date // SubscriptionID. // // Format: uuid 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPriceListForSubscriptionAndDateParamsWithContext ¶
func NewGetPriceListForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams
NewGetPriceListForSubscriptionAndDateParamsWithContext creates a new GetPriceListForSubscriptionAndDateParams object with the ability to set a context for a request.
func NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient ¶
func NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetPriceListForSubscriptionAndDateParams
NewGetPriceListForSubscriptionAndDateParamsWithHTTPClient creates a new GetPriceListForSubscriptionAndDateParams object with the ability to set a custom HTTPClient for a request.
func NewGetPriceListForSubscriptionAndDateParamsWithTimeout ¶
func NewGetPriceListForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetPriceListForSubscriptionAndDateParams
NewGetPriceListForSubscriptionAndDateParamsWithTimeout creates a new GetPriceListForSubscriptionAndDateParams object with the ability to set a timeout on a request.
func (*GetPriceListForSubscriptionAndDateParams) SetContext ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetContext(ctx context.Context)
SetContext adds the context to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) SetDefaults ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetDefaults()
SetDefaults hydrates default values in the get price list for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPriceListForSubscriptionAndDateParams) SetHTTPClient ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) SetRequestedDate ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) SetSubscriptionID ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) SetTimeout ¶
func (o *GetPriceListForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithContext ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetPriceListForSubscriptionAndDateParams
WithContext adds the context to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithDefaults ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithDefaults() *GetPriceListForSubscriptionAndDateParams
WithDefaults hydrates default values in the get price list for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetPriceListForSubscriptionAndDateParams) WithHTTPClient ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetPriceListForSubscriptionAndDateParams
WithHTTPClient adds the HTTPClient to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithRequestedDate ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetPriceListForSubscriptionAndDateParams
WithRequestedDate adds the requestedDate to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithSubscriptionID ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetPriceListForSubscriptionAndDateParams
WithSubscriptionID adds the subscriptionID to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WithTimeout ¶
func (o *GetPriceListForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetPriceListForSubscriptionAndDateParams
WithTimeout adds the timeout to the get price list for subscription and date params
func (*GetPriceListForSubscriptionAndDateParams) WriteToRequest ¶
func (o *GetPriceListForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPriceListForSubscriptionAndDateReader ¶
type GetPriceListForSubscriptionAndDateReader struct {
// contains filtered or unexported fields
}
GetPriceListForSubscriptionAndDateReader is a Reader for the GetPriceListForSubscriptionAndDate structure.
func (*GetPriceListForSubscriptionAndDateReader) ReadResponse ¶
func (o *GetPriceListForSubscriptionAndDateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProductForSubscriptionAndDateOK ¶
type GetProductForSubscriptionAndDateOK struct { Payload *kbmodel.Product HttpResponse runtime.ClientResponse }
GetProductForSubscriptionAndDateOK describes a response with status code 200, with default header values.
successful operation
func NewGetProductForSubscriptionAndDateOK ¶
func NewGetProductForSubscriptionAndDateOK() *GetProductForSubscriptionAndDateOK
NewGetProductForSubscriptionAndDateOK creates a GetProductForSubscriptionAndDateOK with default headers values
func (*GetProductForSubscriptionAndDateOK) Code ¶
func (o *GetProductForSubscriptionAndDateOK) Code() int
Code gets the status code for the get product for subscription and date o k response
func (*GetProductForSubscriptionAndDateOK) Error ¶
func (o *GetProductForSubscriptionAndDateOK) Error() string
func (*GetProductForSubscriptionAndDateOK) GetPayload ¶
func (o *GetProductForSubscriptionAndDateOK) GetPayload() *kbmodel.Product
func (*GetProductForSubscriptionAndDateOK) IsClientError ¶
func (o *GetProductForSubscriptionAndDateOK) IsClientError() bool
IsClientError returns true when this get product for subscription and date o k response has a 4xx status code
func (*GetProductForSubscriptionAndDateOK) IsCode ¶
func (o *GetProductForSubscriptionAndDateOK) IsCode(code int) bool
IsCode returns true when this get product for subscription and date o k response a status code equal to that given
func (*GetProductForSubscriptionAndDateOK) IsRedirect ¶
func (o *GetProductForSubscriptionAndDateOK) IsRedirect() bool
IsRedirect returns true when this get product for subscription and date o k response has a 3xx status code
func (*GetProductForSubscriptionAndDateOK) IsServerError ¶
func (o *GetProductForSubscriptionAndDateOK) IsServerError() bool
IsServerError returns true when this get product for subscription and date o k response has a 5xx status code
func (*GetProductForSubscriptionAndDateOK) IsSuccess ¶
func (o *GetProductForSubscriptionAndDateOK) IsSuccess() bool
IsSuccess returns true when this get product for subscription and date o k response has a 2xx status code
func (*GetProductForSubscriptionAndDateOK) String ¶
func (o *GetProductForSubscriptionAndDateOK) String() string
type GetProductForSubscriptionAndDateParams ¶
type GetProductForSubscriptionAndDateParams struct { // RequestedDate. // // Format: date RequestedDate *strfmt.Date // SubscriptionID. // // Format: uuid 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetProductForSubscriptionAndDateParamsWithContext ¶
func NewGetProductForSubscriptionAndDateParamsWithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams
NewGetProductForSubscriptionAndDateParamsWithContext creates a new GetProductForSubscriptionAndDateParams object with the ability to set a context for a request.
func NewGetProductForSubscriptionAndDateParamsWithHTTPClient ¶
func NewGetProductForSubscriptionAndDateParamsWithHTTPClient(client *http.Client) *GetProductForSubscriptionAndDateParams
NewGetProductForSubscriptionAndDateParamsWithHTTPClient creates a new GetProductForSubscriptionAndDateParams object with the ability to set a custom HTTPClient for a request.
func NewGetProductForSubscriptionAndDateParamsWithTimeout ¶
func NewGetProductForSubscriptionAndDateParamsWithTimeout(timeout time.Duration) *GetProductForSubscriptionAndDateParams
NewGetProductForSubscriptionAndDateParamsWithTimeout creates a new GetProductForSubscriptionAndDateParams object with the ability to set a timeout on a request.
func (*GetProductForSubscriptionAndDateParams) SetContext ¶
func (o *GetProductForSubscriptionAndDateParams) SetContext(ctx context.Context)
SetContext adds the context to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) SetDefaults ¶
func (o *GetProductForSubscriptionAndDateParams) SetDefaults()
SetDefaults hydrates default values in the get product for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetProductForSubscriptionAndDateParams) SetHTTPClient ¶
func (o *GetProductForSubscriptionAndDateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) SetRequestedDate ¶
func (o *GetProductForSubscriptionAndDateParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) SetSubscriptionID ¶
func (o *GetProductForSubscriptionAndDateParams) SetSubscriptionID(subscriptionID *strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) SetTimeout ¶
func (o *GetProductForSubscriptionAndDateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithContext ¶
func (o *GetProductForSubscriptionAndDateParams) WithContext(ctx context.Context) *GetProductForSubscriptionAndDateParams
WithContext adds the context to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithDefaults ¶
func (o *GetProductForSubscriptionAndDateParams) WithDefaults() *GetProductForSubscriptionAndDateParams
WithDefaults hydrates default values in the get product for subscription and date params (not the query body).
All values with no default are reset to their zero value.
func (*GetProductForSubscriptionAndDateParams) WithHTTPClient ¶
func (o *GetProductForSubscriptionAndDateParams) WithHTTPClient(client *http.Client) *GetProductForSubscriptionAndDateParams
WithHTTPClient adds the HTTPClient to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithRequestedDate ¶
func (o *GetProductForSubscriptionAndDateParams) WithRequestedDate(requestedDate *strfmt.Date) *GetProductForSubscriptionAndDateParams
WithRequestedDate adds the requestedDate to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithSubscriptionID ¶
func (o *GetProductForSubscriptionAndDateParams) WithSubscriptionID(subscriptionID *strfmt.UUID) *GetProductForSubscriptionAndDateParams
WithSubscriptionID adds the subscriptionID to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WithTimeout ¶
func (o *GetProductForSubscriptionAndDateParams) WithTimeout(timeout time.Duration) *GetProductForSubscriptionAndDateParams
WithTimeout adds the timeout to the get product for subscription and date params
func (*GetProductForSubscriptionAndDateParams) WriteToRequest ¶
func (o *GetProductForSubscriptionAndDateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProductForSubscriptionAndDateReader ¶
type GetProductForSubscriptionAndDateReader struct {
// contains filtered or unexported fields
}
GetProductForSubscriptionAndDateReader is a Reader for the GetProductForSubscriptionAndDate structure.
func (*GetProductForSubscriptionAndDateReader) ReadResponse ¶
func (o *GetProductForSubscriptionAndDateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type 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 describes a response with status code 201, with default header values.
Catalog XML created successfully
func NewUploadCatalogXMLCreated ¶
func NewUploadCatalogXMLCreated() *UploadCatalogXMLCreated
NewUploadCatalogXMLCreated creates a UploadCatalogXMLCreated with default headers values
func (*UploadCatalogXMLCreated) Code ¶
func (o *UploadCatalogXMLCreated) Code() int
Code gets the status code for the upload catalog Xml created response
func (*UploadCatalogXMLCreated) Error ¶
func (o *UploadCatalogXMLCreated) Error() string
func (*UploadCatalogXMLCreated) GetPayload ¶
func (o *UploadCatalogXMLCreated) GetPayload() string
func (*UploadCatalogXMLCreated) IsClientError ¶
func (o *UploadCatalogXMLCreated) IsClientError() bool
IsClientError returns true when this upload catalog Xml created response has a 4xx status code
func (*UploadCatalogXMLCreated) IsCode ¶
func (o *UploadCatalogXMLCreated) IsCode(code int) bool
IsCode returns true when this upload catalog Xml created response a status code equal to that given
func (*UploadCatalogXMLCreated) IsRedirect ¶
func (o *UploadCatalogXMLCreated) IsRedirect() bool
IsRedirect returns true when this upload catalog Xml created response has a 3xx status code
func (*UploadCatalogXMLCreated) IsServerError ¶
func (o *UploadCatalogXMLCreated) IsServerError() bool
IsServerError returns true when this upload catalog Xml created response has a 5xx status code
func (*UploadCatalogXMLCreated) IsSuccess ¶
func (o *UploadCatalogXMLCreated) IsSuccess() bool
IsSuccess returns true when this upload catalog Xml created response has a 2xx status code
func (*UploadCatalogXMLCreated) String ¶
func (o *UploadCatalogXMLCreated) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUploadCatalogXMLParamsWithContext ¶
func NewUploadCatalogXMLParamsWithContext(ctx context.Context) *UploadCatalogXMLParams
NewUploadCatalogXMLParamsWithContext creates a new UploadCatalogXMLParams object with the ability to set a context for a request.
func NewUploadCatalogXMLParamsWithHTTPClient ¶
func NewUploadCatalogXMLParamsWithHTTPClient(client *http.Client) *UploadCatalogXMLParams
NewUploadCatalogXMLParamsWithHTTPClient creates a new UploadCatalogXMLParams object with the ability to set a custom HTTPClient for a request.
func NewUploadCatalogXMLParamsWithTimeout ¶
func NewUploadCatalogXMLParamsWithTimeout(timeout time.Duration) *UploadCatalogXMLParams
NewUploadCatalogXMLParamsWithTimeout creates a new UploadCatalogXMLParams object with the ability to set a timeout on a request.
func (*UploadCatalogXMLParams) SetBody ¶
func (o *UploadCatalogXMLParams) SetBody(body string)
SetBody adds the body to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetContext ¶
func (o *UploadCatalogXMLParams) SetContext(ctx context.Context)
SetContext adds the context to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetDefaults ¶
func (o *UploadCatalogXMLParams) SetDefaults()
SetDefaults hydrates default values in the upload catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*UploadCatalogXMLParams) SetHTTPClient ¶
func (o *UploadCatalogXMLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetTimeout ¶
func (o *UploadCatalogXMLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetXKillbillComment ¶
func (o *UploadCatalogXMLParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetXKillbillCreatedBy ¶
func (o *UploadCatalogXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the upload catalog Xml params
func (*UploadCatalogXMLParams) SetXKillbillReason ¶
func (o *UploadCatalogXMLParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithBody ¶
func (o *UploadCatalogXMLParams) WithBody(body string) *UploadCatalogXMLParams
WithBody adds the body to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithContext ¶
func (o *UploadCatalogXMLParams) WithContext(ctx context.Context) *UploadCatalogXMLParams
WithContext adds the context to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithDefaults ¶
func (o *UploadCatalogXMLParams) WithDefaults() *UploadCatalogXMLParams
WithDefaults hydrates default values in the upload catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*UploadCatalogXMLParams) WithHTTPClient ¶
func (o *UploadCatalogXMLParams) WithHTTPClient(client *http.Client) *UploadCatalogXMLParams
WithHTTPClient adds the HTTPClient to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithTimeout ¶
func (o *UploadCatalogXMLParams) WithTimeout(timeout time.Duration) *UploadCatalogXMLParams
WithTimeout adds the timeout to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithXKillbillComment ¶
func (o *UploadCatalogXMLParams) WithXKillbillComment(xKillbillComment *string) *UploadCatalogXMLParams
WithXKillbillComment adds the xKillbillComment to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithXKillbillCreatedBy ¶
func (o *UploadCatalogXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UploadCatalogXMLParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the upload catalog Xml params
func (*UploadCatalogXMLParams) WithXKillbillReason ¶
func (o *UploadCatalogXMLParams) WithXKillbillReason(xKillbillReason *string) *UploadCatalogXMLParams
WithXKillbillReason adds the xKillbillReason to the upload catalog Xml params
func (*UploadCatalogXMLParams) WriteToRequest ¶
func (o *UploadCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadCatalogXMLReader ¶
type UploadCatalogXMLReader struct {
// contains filtered or unexported fields
}
UploadCatalogXMLReader is a Reader for the UploadCatalogXML structure.
func (*UploadCatalogXMLReader) ReadResponse ¶
func (o *UploadCatalogXMLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateCatalogXMLOK ¶
type ValidateCatalogXMLOK struct { Payload *kbmodel.CatalogValidation HttpResponse runtime.ClientResponse }
ValidateCatalogXMLOK describes a response with status code 200, with default header values.
successful operation
func NewValidateCatalogXMLOK ¶
func NewValidateCatalogXMLOK() *ValidateCatalogXMLOK
NewValidateCatalogXMLOK creates a ValidateCatalogXMLOK with default headers values
func (*ValidateCatalogXMLOK) Code ¶
func (o *ValidateCatalogXMLOK) Code() int
Code gets the status code for the validate catalog Xml o k response
func (*ValidateCatalogXMLOK) Error ¶
func (o *ValidateCatalogXMLOK) Error() string
func (*ValidateCatalogXMLOK) GetPayload ¶
func (o *ValidateCatalogXMLOK) GetPayload() *kbmodel.CatalogValidation
func (*ValidateCatalogXMLOK) IsClientError ¶
func (o *ValidateCatalogXMLOK) IsClientError() bool
IsClientError returns true when this validate catalog Xml o k response has a 4xx status code
func (*ValidateCatalogXMLOK) IsCode ¶
func (o *ValidateCatalogXMLOK) IsCode(code int) bool
IsCode returns true when this validate catalog Xml o k response a status code equal to that given
func (*ValidateCatalogXMLOK) IsRedirect ¶
func (o *ValidateCatalogXMLOK) IsRedirect() bool
IsRedirect returns true when this validate catalog Xml o k response has a 3xx status code
func (*ValidateCatalogXMLOK) IsServerError ¶
func (o *ValidateCatalogXMLOK) IsServerError() bool
IsServerError returns true when this validate catalog Xml o k response has a 5xx status code
func (*ValidateCatalogXMLOK) IsSuccess ¶
func (o *ValidateCatalogXMLOK) IsSuccess() bool
IsSuccess returns true when this validate catalog Xml o k response has a 2xx status code
func (*ValidateCatalogXMLOK) String ¶
func (o *ValidateCatalogXMLOK) String() string
type ValidateCatalogXMLParams ¶
type ValidateCatalogXMLParams 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 }
ValidateCatalogXMLParams contains all the parameters to send to the API endpoint
for the validate catalog Xml operation. Typically these are written to a http.Request.
func NewValidateCatalogXMLParams ¶
func NewValidateCatalogXMLParams() *ValidateCatalogXMLParams
NewValidateCatalogXMLParams creates a new ValidateCatalogXMLParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewValidateCatalogXMLParamsWithContext ¶
func NewValidateCatalogXMLParamsWithContext(ctx context.Context) *ValidateCatalogXMLParams
NewValidateCatalogXMLParamsWithContext creates a new ValidateCatalogXMLParams object with the ability to set a context for a request.
func NewValidateCatalogXMLParamsWithHTTPClient ¶
func NewValidateCatalogXMLParamsWithHTTPClient(client *http.Client) *ValidateCatalogXMLParams
NewValidateCatalogXMLParamsWithHTTPClient creates a new ValidateCatalogXMLParams object with the ability to set a custom HTTPClient for a request.
func NewValidateCatalogXMLParamsWithTimeout ¶
func NewValidateCatalogXMLParamsWithTimeout(timeout time.Duration) *ValidateCatalogXMLParams
NewValidateCatalogXMLParamsWithTimeout creates a new ValidateCatalogXMLParams object with the ability to set a timeout on a request.
func (*ValidateCatalogXMLParams) SetBody ¶
func (o *ValidateCatalogXMLParams) SetBody(body string)
SetBody adds the body to the validate catalog Xml params
func (*ValidateCatalogXMLParams) SetContext ¶
func (o *ValidateCatalogXMLParams) SetContext(ctx context.Context)
SetContext adds the context to the validate catalog Xml params
func (*ValidateCatalogXMLParams) SetDefaults ¶
func (o *ValidateCatalogXMLParams) SetDefaults()
SetDefaults hydrates default values in the validate catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*ValidateCatalogXMLParams) SetHTTPClient ¶
func (o *ValidateCatalogXMLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate catalog Xml params
func (*ValidateCatalogXMLParams) SetTimeout ¶
func (o *ValidateCatalogXMLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate catalog Xml params
func (*ValidateCatalogXMLParams) SetXKillbillComment ¶
func (o *ValidateCatalogXMLParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the validate catalog Xml params
func (*ValidateCatalogXMLParams) SetXKillbillCreatedBy ¶
func (o *ValidateCatalogXMLParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the validate catalog Xml params
func (*ValidateCatalogXMLParams) SetXKillbillReason ¶
func (o *ValidateCatalogXMLParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the validate catalog Xml params
func (*ValidateCatalogXMLParams) WithBody ¶
func (o *ValidateCatalogXMLParams) WithBody(body string) *ValidateCatalogXMLParams
WithBody adds the body to the validate catalog Xml params
func (*ValidateCatalogXMLParams) WithContext ¶
func (o *ValidateCatalogXMLParams) WithContext(ctx context.Context) *ValidateCatalogXMLParams
WithContext adds the context to the validate catalog Xml params
func (*ValidateCatalogXMLParams) WithDefaults ¶
func (o *ValidateCatalogXMLParams) WithDefaults() *ValidateCatalogXMLParams
WithDefaults hydrates default values in the validate catalog Xml params (not the query body).
All values with no default are reset to their zero value.
func (*ValidateCatalogXMLParams) WithHTTPClient ¶
func (o *ValidateCatalogXMLParams) WithHTTPClient(client *http.Client) *ValidateCatalogXMLParams
WithHTTPClient adds the HTTPClient to the validate catalog Xml params
func (*ValidateCatalogXMLParams) WithTimeout ¶
func (o *ValidateCatalogXMLParams) WithTimeout(timeout time.Duration) *ValidateCatalogXMLParams
WithTimeout adds the timeout to the validate catalog Xml params
func (*ValidateCatalogXMLParams) WithXKillbillComment ¶
func (o *ValidateCatalogXMLParams) WithXKillbillComment(xKillbillComment *string) *ValidateCatalogXMLParams
WithXKillbillComment adds the xKillbillComment to the validate catalog Xml params
func (*ValidateCatalogXMLParams) WithXKillbillCreatedBy ¶
func (o *ValidateCatalogXMLParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ValidateCatalogXMLParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the validate catalog Xml params
func (*ValidateCatalogXMLParams) WithXKillbillReason ¶
func (o *ValidateCatalogXMLParams) WithXKillbillReason(xKillbillReason *string) *ValidateCatalogXMLParams
WithXKillbillReason adds the xKillbillReason to the validate catalog Xml params
func (*ValidateCatalogXMLParams) WriteToRequest ¶
func (o *ValidateCatalogXMLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateCatalogXMLReader ¶
type ValidateCatalogXMLReader struct {
// contains filtered or unexported fields
}
ValidateCatalogXMLReader is a Reader for the ValidateCatalogXML structure.
func (*ValidateCatalogXMLReader) ReadResponse ¶
func (o *ValidateCatalogXMLReader) 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
- validate_catalog_xml_parameters.go
- validate_catalog_xml_responses.go