catalog

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

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

WithBody adds the body to the add simple plan params

func (*AddSimplePlanParams) WithContext

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

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

WithContext adds the context to the get available addons params

func (*GetAvailableAddonsParams) WithDefaults

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

WithTimeout adds the timeout to the get available addons params

func (*GetAvailableAddonsParams) WriteToRequest

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

WithAccountID adds the accountID to the get available base plans params

func (*GetAvailableBasePlansParams) WithContext

WithContext adds the context to the get available base plans params

func (*GetAvailableBasePlansParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get available base plans params

func (*GetAvailableBasePlansParams) WithTimeout

WithTimeout adds the timeout to the get available base plans params

func (*GetAvailableBasePlansParams) WriteToRequest

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

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

WithContext adds the context to the get catalog versions params

func (*GetCatalogVersionsParams) WithDefaults

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

WithTimeout adds the timeout to the get catalog versions params

func (*GetCatalogVersionsParams) WriteToRequest

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

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

Code gets the status code for the get phase for subscription and date o k response

func (*GetPhaseForSubscriptionAndDateOK) Error

func (*GetPhaseForSubscriptionAndDateOK) GetPayload

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

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

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

WithContext adds the context to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WithRequestedDate

WithRequestedDate adds the requestedDate to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WithTimeout

WithTimeout adds the timeout to the get phase for subscription and date params

func (*GetPhaseForSubscriptionAndDateParams) WriteToRequest

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

Code gets the status code for the get plan for subscription and date o k response

func (*GetPlanForSubscriptionAndDateOK) Error

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

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

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

WithContext adds the context to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WithRequestedDate

WithRequestedDate adds the requestedDate to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WithTimeout

WithTimeout adds the timeout to the get plan for subscription and date params

func (*GetPlanForSubscriptionAndDateParams) WriteToRequest

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

Code gets the status code for the get price list for subscription and date o k response

func (*GetPriceListForSubscriptionAndDateOK) Error

func (*GetPriceListForSubscriptionAndDateOK) GetPayload

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

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

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

IsSuccess returns true when this get price list for subscription and date o k response has a 2xx status code

func (*GetPriceListForSubscriptionAndDateOK) 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

SetContext adds the context to the get price list for subscription and date params

func (*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

SetTimeout adds the timeout to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithContext

WithContext adds the context to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithRequestedDate

WithRequestedDate adds the requestedDate to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WithTimeout

WithTimeout adds the timeout to the get price list for subscription and date params

func (*GetPriceListForSubscriptionAndDateParams) WriteToRequest

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

Code gets the status code for the get product for subscription and date o k response

func (*GetProductForSubscriptionAndDateOK) Error

func (*GetProductForSubscriptionAndDateOK) GetPayload

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

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

IsSuccess returns true when this get product for subscription and date o k response has a 2xx status code

func (*GetProductForSubscriptionAndDateOK) 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

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

WithContext adds the context to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WithRequestedDate

WithRequestedDate adds the requestedDate to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WithTimeout

WithTimeout adds the timeout to the get product for subscription and date params

func (*GetProductForSubscriptionAndDateParams) WriteToRequest

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

WithBody adds the body to the upload catalog Xml params

func (*UploadCatalogXMLParams) WithContext

WithContext adds the context to the upload catalog Xml params

func (*UploadCatalogXMLParams) WithDefaults

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

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

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 (*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

WithBody adds the body to the validate catalog Xml params

func (*ValidateCatalogXMLParams) WithContext

WithContext adds the context to the validate catalog Xml params

func (*ValidateCatalogXMLParams) WithDefaults

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL