catalog_items

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for catalog items API

func (*Client) GetCatalogItemUsingGET1

func (a *Client) GetCatalogItemUsingGET1(params *GetCatalogItemUsingGET1Params, opts ...ClientOption) (*GetCatalogItemUsingGET1OK, error)

GetCatalogItemUsingGET1 finds a catalog item with specified ID

Returns the catalog item with the specified ID.

func (*Client) GetCatalogItemsUsingGET1

func (a *Client) GetCatalogItemsUsingGET1(params *GetCatalogItemsUsingGET1Params, opts ...ClientOption) (*GetCatalogItemsUsingGET1OK, error)

GetCatalogItemsUsingGET1 fetches a list of catalog items

Returns a paginated list of catalog items.

func (*Client) GetUpfrontPriceResponseForCatalogItemUsingGET added in v0.2.0

func (a *Client) GetUpfrontPriceResponseForCatalogItemUsingGET(params *GetUpfrontPriceResponseForCatalogItemUsingGETParams, opts ...ClientOption) (*GetUpfrontPriceResponseForCatalogItemUsingGETOK, error)

GetUpfrontPriceResponseForCatalogItemUsingGET gets a response with upfront prices for a given catalog item

Returns upfront prices of a given catalog item.

func (*Client) GetVersionByIDUsingGET

func (a *Client) GetVersionByIDUsingGET(params *GetVersionByIDUsingGETParams, opts ...ClientOption) (*GetVersionByIDUsingGETOK, error)

GetVersionByIDUsingGET fetches detailed catalog item version

Returns a detailed catalog item version.

func (*Client) GetVersionsUsingGET

func (a *Client) GetVersionsUsingGET(params *GetVersionsUsingGETParams, opts ...ClientOption) (*GetVersionsUsingGETOK, error)

GetVersionsUsingGET fetches a list of catalog items with versions

Returns a paginated list of catalog item versions.

func (*Client) RequestCatalogItemUsingPOST

func (a *Client) RequestCatalogItemUsingPOST(params *RequestCatalogItemUsingPOSTParams, opts ...ClientOption) (*RequestCatalogItemUsingPOSTOK, error)

RequestCatalogItemUsingPOST creates a deployment

Creates a deployment from a catalog item.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SubmitUpfrontPriceRequestForCatalogItemUsingPOST added in v0.2.0

func (a *Client) SubmitUpfrontPriceRequestForCatalogItemUsingPOST(params *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams, opts ...ClientOption) (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK, error)

SubmitUpfrontPriceRequestForCatalogItemUsingPOST creates a request to calculate upfront price for a given catalog item

Returns upfront price response for a given catalog item.

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	GetCatalogItemUsingGET1(params *GetCatalogItemUsingGET1Params, opts ...ClientOption) (*GetCatalogItemUsingGET1OK, error)

	GetCatalogItemsUsingGET1(params *GetCatalogItemsUsingGET1Params, opts ...ClientOption) (*GetCatalogItemsUsingGET1OK, error)

	GetUpfrontPriceResponseForCatalogItemUsingGET(params *GetUpfrontPriceResponseForCatalogItemUsingGETParams, opts ...ClientOption) (*GetUpfrontPriceResponseForCatalogItemUsingGETOK, error)

	GetVersionByIDUsingGET(params *GetVersionByIDUsingGETParams, opts ...ClientOption) (*GetVersionByIDUsingGETOK, error)

	GetVersionsUsingGET(params *GetVersionsUsingGETParams, opts ...ClientOption) (*GetVersionsUsingGETOK, error)

	RequestCatalogItemUsingPOST(params *RequestCatalogItemUsingPOSTParams, opts ...ClientOption) (*RequestCatalogItemUsingPOSTOK, error)

	SubmitUpfrontPriceRequestForCatalogItemUsingPOST(params *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams, opts ...ClientOption) (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new catalog items API client.

type GetCatalogItemUsingGET1NotFound

type GetCatalogItemUsingGET1NotFound struct {
	Payload *models.Error
}
GetCatalogItemUsingGET1NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetCatalogItemUsingGET1NotFound

func NewGetCatalogItemUsingGET1NotFound() *GetCatalogItemUsingGET1NotFound

NewGetCatalogItemUsingGET1NotFound creates a GetCatalogItemUsingGET1NotFound with default headers values

func (*GetCatalogItemUsingGET1NotFound) Error

func (*GetCatalogItemUsingGET1NotFound) GetPayload added in v0.2.9

func (o *GetCatalogItemUsingGET1NotFound) GetPayload() *models.Error

type GetCatalogItemUsingGET1OK

type GetCatalogItemUsingGET1OK struct {
	Payload *models.CatalogItem
}
GetCatalogItemUsingGET1OK describes a response with status code 200, with default header values.

OK

func NewGetCatalogItemUsingGET1OK

func NewGetCatalogItemUsingGET1OK() *GetCatalogItemUsingGET1OK

NewGetCatalogItemUsingGET1OK creates a GetCatalogItemUsingGET1OK with default headers values

func (*GetCatalogItemUsingGET1OK) Error

func (o *GetCatalogItemUsingGET1OK) Error() string

func (*GetCatalogItemUsingGET1OK) GetPayload

func (o *GetCatalogItemUsingGET1OK) GetPayload() *models.CatalogItem

type GetCatalogItemUsingGET1Params

type GetCatalogItemUsingGET1Params struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ExpandProjects.

	   Retrieves the 'projects' field of the catalog item
	*/
	ExpandProjects *bool

	/* ID.

	   Catalog item ID

	   Format: uuid
	*/
	ID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCatalogItemUsingGET1Params contains all the parameters to send to the API endpoint

for the get catalog item using get1 operation.

Typically these are written to a http.Request.

func NewGetCatalogItemUsingGET1Params

func NewGetCatalogItemUsingGET1Params() *GetCatalogItemUsingGET1Params

NewGetCatalogItemUsingGET1Params creates a new GetCatalogItemUsingGET1Params 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 NewGetCatalogItemUsingGET1ParamsWithContext

func NewGetCatalogItemUsingGET1ParamsWithContext(ctx context.Context) *GetCatalogItemUsingGET1Params

NewGetCatalogItemUsingGET1ParamsWithContext creates a new GetCatalogItemUsingGET1Params object with the ability to set a context for a request.

func NewGetCatalogItemUsingGET1ParamsWithHTTPClient

func NewGetCatalogItemUsingGET1ParamsWithHTTPClient(client *http.Client) *GetCatalogItemUsingGET1Params

NewGetCatalogItemUsingGET1ParamsWithHTTPClient creates a new GetCatalogItemUsingGET1Params object with the ability to set a custom HTTPClient for a request.

func NewGetCatalogItemUsingGET1ParamsWithTimeout

func NewGetCatalogItemUsingGET1ParamsWithTimeout(timeout time.Duration) *GetCatalogItemUsingGET1Params

NewGetCatalogItemUsingGET1ParamsWithTimeout creates a new GetCatalogItemUsingGET1Params object with the ability to set a timeout on a request.

func (*GetCatalogItemUsingGET1Params) SetAPIVersion added in v0.2.9

func (o *GetCatalogItemUsingGET1Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) SetContext

func (o *GetCatalogItemUsingGET1Params) SetContext(ctx context.Context)

SetContext adds the context to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) SetDefaults added in v0.2.20

func (o *GetCatalogItemUsingGET1Params) SetDefaults()

SetDefaults hydrates default values in the get catalog item using get1 params (not the query body).

All values with no default are reset to their zero value.

func (*GetCatalogItemUsingGET1Params) SetExpandProjects

func (o *GetCatalogItemUsingGET1Params) SetExpandProjects(expandProjects *bool)

SetExpandProjects adds the expandProjects to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) SetHTTPClient

func (o *GetCatalogItemUsingGET1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) SetID

SetID adds the id to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) SetTimeout

func (o *GetCatalogItemUsingGET1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) WithAPIVersion added in v0.2.9

func (o *GetCatalogItemUsingGET1Params) WithAPIVersion(aPIVersion *string) *GetCatalogItemUsingGET1Params

WithAPIVersion adds the aPIVersion to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) WithContext

WithContext adds the context to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get catalog item using get1 params (not the query body).

All values with no default are reset to their zero value.

func (*GetCatalogItemUsingGET1Params) WithExpandProjects

func (o *GetCatalogItemUsingGET1Params) WithExpandProjects(expandProjects *bool) *GetCatalogItemUsingGET1Params

WithExpandProjects adds the expandProjects to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) WithID

WithID adds the id to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the get catalog item using get1 params

func (*GetCatalogItemUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCatalogItemUsingGET1Reader

type GetCatalogItemUsingGET1Reader struct {
	// contains filtered or unexported fields
}

GetCatalogItemUsingGET1Reader is a Reader for the GetCatalogItemUsingGET1 structure.

func (*GetCatalogItemUsingGET1Reader) ReadResponse

func (o *GetCatalogItemUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCatalogItemUsingGET1Unauthorized

type GetCatalogItemUsingGET1Unauthorized struct {
}
GetCatalogItemUsingGET1Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetCatalogItemUsingGET1Unauthorized

func NewGetCatalogItemUsingGET1Unauthorized() *GetCatalogItemUsingGET1Unauthorized

NewGetCatalogItemUsingGET1Unauthorized creates a GetCatalogItemUsingGET1Unauthorized with default headers values

func (*GetCatalogItemUsingGET1Unauthorized) Error

type GetCatalogItemsUsingGET1OK

type GetCatalogItemsUsingGET1OK struct {
	Payload *models.PageOfCatalogItem
}
GetCatalogItemsUsingGET1OK describes a response with status code 200, with default header values.

OK

func NewGetCatalogItemsUsingGET1OK

func NewGetCatalogItemsUsingGET1OK() *GetCatalogItemsUsingGET1OK

NewGetCatalogItemsUsingGET1OK creates a GetCatalogItemsUsingGET1OK with default headers values

func (*GetCatalogItemsUsingGET1OK) Error

func (*GetCatalogItemsUsingGET1OK) GetPayload

type GetCatalogItemsUsingGET1Params

type GetCatalogItemsUsingGET1Params struct {

	/* DollarOrderby.

	   Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
	*/
	DollarOrderby []string

	/* DollarSkip.

	   Number of records you want to skip

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   Number of records you want

	   Format: int32
	*/
	DollarTop *int32

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ExpandProjects.

	   Whether or not to return detailed project data for each result.
	*/
	ExpandProjects *bool

	/* Projects.

	   A list of project IDs. Results will belong to one of these projects.
	*/
	Projects []string

	/* Search.

	   Matches will have this string somewhere in their name or description.
	*/
	Search *string

	/* Types.

	   A list of Catalog Item Type IDs. Results will be one of these types.
	*/
	Types []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCatalogItemsUsingGET1Params contains all the parameters to send to the API endpoint

for the get catalog items using get1 operation.

Typically these are written to a http.Request.

func NewGetCatalogItemsUsingGET1Params

func NewGetCatalogItemsUsingGET1Params() *GetCatalogItemsUsingGET1Params

NewGetCatalogItemsUsingGET1Params creates a new GetCatalogItemsUsingGET1Params 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 NewGetCatalogItemsUsingGET1ParamsWithContext

func NewGetCatalogItemsUsingGET1ParamsWithContext(ctx context.Context) *GetCatalogItemsUsingGET1Params

NewGetCatalogItemsUsingGET1ParamsWithContext creates a new GetCatalogItemsUsingGET1Params object with the ability to set a context for a request.

func NewGetCatalogItemsUsingGET1ParamsWithHTTPClient

func NewGetCatalogItemsUsingGET1ParamsWithHTTPClient(client *http.Client) *GetCatalogItemsUsingGET1Params

NewGetCatalogItemsUsingGET1ParamsWithHTTPClient creates a new GetCatalogItemsUsingGET1Params object with the ability to set a custom HTTPClient for a request.

func NewGetCatalogItemsUsingGET1ParamsWithTimeout

func NewGetCatalogItemsUsingGET1ParamsWithTimeout(timeout time.Duration) *GetCatalogItemsUsingGET1Params

NewGetCatalogItemsUsingGET1ParamsWithTimeout creates a new GetCatalogItemsUsingGET1Params object with the ability to set a timeout on a request.

func (*GetCatalogItemsUsingGET1Params) SetAPIVersion added in v0.2.9

func (o *GetCatalogItemsUsingGET1Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetContext

func (o *GetCatalogItemsUsingGET1Params) SetContext(ctx context.Context)

SetContext adds the context to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetDefaults added in v0.2.20

func (o *GetCatalogItemsUsingGET1Params) SetDefaults()

SetDefaults hydrates default values in the get catalog items using get1 params (not the query body).

All values with no default are reset to their zero value.

func (*GetCatalogItemsUsingGET1Params) SetDollarOrderby added in v0.2.0

func (o *GetCatalogItemsUsingGET1Params) SetDollarOrderby(dollarOrderby []string)

SetDollarOrderby adds the dollarOrderby to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetDollarSkip added in v0.2.0

func (o *GetCatalogItemsUsingGET1Params) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetDollarTop added in v0.2.0

func (o *GetCatalogItemsUsingGET1Params) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetExpandProjects

func (o *GetCatalogItemsUsingGET1Params) SetExpandProjects(expandProjects *bool)

SetExpandProjects adds the expandProjects to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetHTTPClient

func (o *GetCatalogItemsUsingGET1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetProjects

func (o *GetCatalogItemsUsingGET1Params) SetProjects(projects []string)

SetProjects adds the projects to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetSearch

func (o *GetCatalogItemsUsingGET1Params) SetSearch(search *string)

SetSearch adds the search to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetTimeout

func (o *GetCatalogItemsUsingGET1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) SetTypes

func (o *GetCatalogItemsUsingGET1Params) SetTypes(types []string)

SetTypes adds the types to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithContext

WithContext adds the context to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get catalog items using get1 params (not the query body).

All values with no default are reset to their zero value.

func (*GetCatalogItemsUsingGET1Params) WithDollarOrderby added in v0.2.0

func (o *GetCatalogItemsUsingGET1Params) WithDollarOrderby(dollarOrderby []string) *GetCatalogItemsUsingGET1Params

WithDollarOrderby adds the dollarOrderby to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithDollarSkip added in v0.2.0

WithDollarSkip adds the dollarSkip to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithDollarTop added in v0.2.0

WithDollarTop adds the dollarTop to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithExpandProjects

func (o *GetCatalogItemsUsingGET1Params) WithExpandProjects(expandProjects *bool) *GetCatalogItemsUsingGET1Params

WithExpandProjects adds the expandProjects to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithProjects

WithProjects adds the projects to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithSearch

WithSearch adds the search to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WithTypes

WithTypes adds the types to the get catalog items using get1 params

func (*GetCatalogItemsUsingGET1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCatalogItemsUsingGET1Reader

type GetCatalogItemsUsingGET1Reader struct {
	// contains filtered or unexported fields
}

GetCatalogItemsUsingGET1Reader is a Reader for the GetCatalogItemsUsingGET1 structure.

func (*GetCatalogItemsUsingGET1Reader) ReadResponse

func (o *GetCatalogItemsUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCatalogItemsUsingGET1Unauthorized

type GetCatalogItemsUsingGET1Unauthorized struct {
}
GetCatalogItemsUsingGET1Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetCatalogItemsUsingGET1Unauthorized

func NewGetCatalogItemsUsingGET1Unauthorized() *GetCatalogItemsUsingGET1Unauthorized

NewGetCatalogItemsUsingGET1Unauthorized creates a GetCatalogItemsUsingGET1Unauthorized with default headers values

func (*GetCatalogItemsUsingGET1Unauthorized) Error

type GetUpfrontPriceResponseForCatalogItemUsingGETNotFound added in v0.2.0

type GetUpfrontPriceResponseForCatalogItemUsingGETNotFound struct {
	Payload *models.Error
}
GetUpfrontPriceResponseForCatalogItemUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetUpfrontPriceResponseForCatalogItemUsingGETNotFound added in v0.2.0

func NewGetUpfrontPriceResponseForCatalogItemUsingGETNotFound() *GetUpfrontPriceResponseForCatalogItemUsingGETNotFound

NewGetUpfrontPriceResponseForCatalogItemUsingGETNotFound creates a GetUpfrontPriceResponseForCatalogItemUsingGETNotFound with default headers values

func (*GetUpfrontPriceResponseForCatalogItemUsingGETNotFound) Error added in v0.2.0

func (*GetUpfrontPriceResponseForCatalogItemUsingGETNotFound) GetPayload added in v0.2.9

type GetUpfrontPriceResponseForCatalogItemUsingGETOK added in v0.2.0

type GetUpfrontPriceResponseForCatalogItemUsingGETOK struct {
	Payload *models.CatalogItemUpfrontPriceResponse
}
GetUpfrontPriceResponseForCatalogItemUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetUpfrontPriceResponseForCatalogItemUsingGETOK added in v0.2.0

func NewGetUpfrontPriceResponseForCatalogItemUsingGETOK() *GetUpfrontPriceResponseForCatalogItemUsingGETOK

NewGetUpfrontPriceResponseForCatalogItemUsingGETOK creates a GetUpfrontPriceResponseForCatalogItemUsingGETOK with default headers values

func (*GetUpfrontPriceResponseForCatalogItemUsingGETOK) Error added in v0.2.0

func (*GetUpfrontPriceResponseForCatalogItemUsingGETOK) GetPayload added in v0.2.0

type GetUpfrontPriceResponseForCatalogItemUsingGETParams added in v0.2.0

type GetUpfrontPriceResponseForCatalogItemUsingGETParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ID.

	   Catalog Item ID

	   Format: uuid
	*/
	ID strfmt.UUID

	/* UpfrontPriceID.

	   Upfront Price Request ID

	   Format: uuid
	*/
	UpfrontPriceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUpfrontPriceResponseForCatalogItemUsingGETParams contains all the parameters to send to the API endpoint

for the get upfront price response for catalog item using g e t operation.

Typically these are written to a http.Request.

func NewGetUpfrontPriceResponseForCatalogItemUsingGETParams added in v0.2.0

func NewGetUpfrontPriceResponseForCatalogItemUsingGETParams() *GetUpfrontPriceResponseForCatalogItemUsingGETParams

NewGetUpfrontPriceResponseForCatalogItemUsingGETParams creates a new GetUpfrontPriceResponseForCatalogItemUsingGETParams 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 NewGetUpfrontPriceResponseForCatalogItemUsingGETParamsWithContext added in v0.2.0

func NewGetUpfrontPriceResponseForCatalogItemUsingGETParamsWithContext(ctx context.Context) *GetUpfrontPriceResponseForCatalogItemUsingGETParams

NewGetUpfrontPriceResponseForCatalogItemUsingGETParamsWithContext creates a new GetUpfrontPriceResponseForCatalogItemUsingGETParams object with the ability to set a context for a request.

func NewGetUpfrontPriceResponseForCatalogItemUsingGETParamsWithHTTPClient added in v0.2.0

func NewGetUpfrontPriceResponseForCatalogItemUsingGETParamsWithHTTPClient(client *http.Client) *GetUpfrontPriceResponseForCatalogItemUsingGETParams

NewGetUpfrontPriceResponseForCatalogItemUsingGETParamsWithHTTPClient creates a new GetUpfrontPriceResponseForCatalogItemUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetUpfrontPriceResponseForCatalogItemUsingGETParamsWithTimeout added in v0.2.0

func NewGetUpfrontPriceResponseForCatalogItemUsingGETParamsWithTimeout(timeout time.Duration) *GetUpfrontPriceResponseForCatalogItemUsingGETParams

NewGetUpfrontPriceResponseForCatalogItemUsingGETParamsWithTimeout creates a new GetUpfrontPriceResponseForCatalogItemUsingGETParams object with the ability to set a timeout on a request.

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) SetAPIVersion added in v0.2.9

func (o *GetUpfrontPriceResponseForCatalogItemUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) SetContext added in v0.2.0

SetContext adds the context to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the get upfront price response for catalog item using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) SetHTTPClient added in v0.2.0

SetHTTPClient adds the HTTPClient to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) SetID added in v0.2.0

SetID adds the id to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) SetTimeout added in v0.2.0

SetTimeout adds the timeout to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) SetUpfrontPriceID added in v0.2.0

func (o *GetUpfrontPriceResponseForCatalogItemUsingGETParams) SetUpfrontPriceID(upfrontPriceID strfmt.UUID)

SetUpfrontPriceID adds the upfrontPriceId to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) WithContext added in v0.2.0

WithContext adds the context to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get upfront price response for catalog item using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) WithID added in v0.2.0

WithID adds the id to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) WithUpfrontPriceID added in v0.2.0

WithUpfrontPriceID adds the upfrontPriceID to the get upfront price response for catalog item using get params

func (*GetUpfrontPriceResponseForCatalogItemUsingGETParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type GetUpfrontPriceResponseForCatalogItemUsingGETReader added in v0.2.0

type GetUpfrontPriceResponseForCatalogItemUsingGETReader struct {
	// contains filtered or unexported fields
}

GetUpfrontPriceResponseForCatalogItemUsingGETReader is a Reader for the GetUpfrontPriceResponseForCatalogItemUsingGET structure.

func (*GetUpfrontPriceResponseForCatalogItemUsingGETReader) ReadResponse added in v0.2.0

func (o *GetUpfrontPriceResponseForCatalogItemUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUpfrontPriceResponseForCatalogItemUsingGETUnauthorized added in v0.2.0

type GetUpfrontPriceResponseForCatalogItemUsingGETUnauthorized struct {
}
GetUpfrontPriceResponseForCatalogItemUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetUpfrontPriceResponseForCatalogItemUsingGETUnauthorized added in v0.2.0

func NewGetUpfrontPriceResponseForCatalogItemUsingGETUnauthorized() *GetUpfrontPriceResponseForCatalogItemUsingGETUnauthorized

NewGetUpfrontPriceResponseForCatalogItemUsingGETUnauthorized creates a GetUpfrontPriceResponseForCatalogItemUsingGETUnauthorized with default headers values

func (*GetUpfrontPriceResponseForCatalogItemUsingGETUnauthorized) Error added in v0.2.0

type GetVersionByIDUsingGETNotFound

type GetVersionByIDUsingGETNotFound struct {
	Payload *models.Error
}
GetVersionByIDUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetVersionByIDUsingGETNotFound

func NewGetVersionByIDUsingGETNotFound() *GetVersionByIDUsingGETNotFound

NewGetVersionByIDUsingGETNotFound creates a GetVersionByIDUsingGETNotFound with default headers values

func (*GetVersionByIDUsingGETNotFound) Error

func (*GetVersionByIDUsingGETNotFound) GetPayload added in v0.2.9

func (o *GetVersionByIDUsingGETNotFound) GetPayload() *models.Error

type GetVersionByIDUsingGETOK

type GetVersionByIDUsingGETOK struct {
	Payload *models.CatalogItemVersion
}
GetVersionByIDUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetVersionByIDUsingGETOK

func NewGetVersionByIDUsingGETOK() *GetVersionByIDUsingGETOK

NewGetVersionByIDUsingGETOK creates a GetVersionByIDUsingGETOK with default headers values

func (*GetVersionByIDUsingGETOK) Error

func (o *GetVersionByIDUsingGETOK) Error() string

func (*GetVersionByIDUsingGETOK) GetPayload

type GetVersionByIDUsingGETParams

type GetVersionByIDUsingGETParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ID.

	   Catalog Item ID

	   Format: uuid
	*/
	ID strfmt.UUID

	/* VersionID.

	   Catalog Item Version ID
	*/
	VersionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVersionByIDUsingGETParams contains all the parameters to send to the API endpoint

for the get version by Id using g e t operation.

Typically these are written to a http.Request.

func NewGetVersionByIDUsingGETParams

func NewGetVersionByIDUsingGETParams() *GetVersionByIDUsingGETParams

NewGetVersionByIDUsingGETParams creates a new GetVersionByIDUsingGETParams 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 NewGetVersionByIDUsingGETParamsWithContext

func NewGetVersionByIDUsingGETParamsWithContext(ctx context.Context) *GetVersionByIDUsingGETParams

NewGetVersionByIDUsingGETParamsWithContext creates a new GetVersionByIDUsingGETParams object with the ability to set a context for a request.

func NewGetVersionByIDUsingGETParamsWithHTTPClient

func NewGetVersionByIDUsingGETParamsWithHTTPClient(client *http.Client) *GetVersionByIDUsingGETParams

NewGetVersionByIDUsingGETParamsWithHTTPClient creates a new GetVersionByIDUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetVersionByIDUsingGETParamsWithTimeout

func NewGetVersionByIDUsingGETParamsWithTimeout(timeout time.Duration) *GetVersionByIDUsingGETParams

NewGetVersionByIDUsingGETParamsWithTimeout creates a new GetVersionByIDUsingGETParams object with the ability to set a timeout on a request.

func (*GetVersionByIDUsingGETParams) SetAPIVersion added in v0.2.9

func (o *GetVersionByIDUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) SetContext

func (o *GetVersionByIDUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) SetDefaults added in v0.2.20

func (o *GetVersionByIDUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get version by Id using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionByIDUsingGETParams) SetHTTPClient

func (o *GetVersionByIDUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) SetID

SetID adds the id to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) SetTimeout

func (o *GetVersionByIDUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) SetVersionID

func (o *GetVersionByIDUsingGETParams) SetVersionID(versionID string)

SetVersionID adds the versionId to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) WithAPIVersion added in v0.2.9

func (o *GetVersionByIDUsingGETParams) WithAPIVersion(aPIVersion *string) *GetVersionByIDUsingGETParams

WithAPIVersion adds the aPIVersion to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) WithContext

WithContext adds the context to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get version by Id using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionByIDUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) WithID

WithID adds the id to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) WithVersionID

WithVersionID adds the versionID to the get version by Id using get params

func (*GetVersionByIDUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVersionByIDUsingGETReader

type GetVersionByIDUsingGETReader struct {
	// contains filtered or unexported fields
}

GetVersionByIDUsingGETReader is a Reader for the GetVersionByIDUsingGET structure.

func (*GetVersionByIDUsingGETReader) ReadResponse

func (o *GetVersionByIDUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVersionByIDUsingGETUnauthorized

type GetVersionByIDUsingGETUnauthorized struct {
}
GetVersionByIDUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetVersionByIDUsingGETUnauthorized

func NewGetVersionByIDUsingGETUnauthorized() *GetVersionByIDUsingGETUnauthorized

NewGetVersionByIDUsingGETUnauthorized creates a GetVersionByIDUsingGETUnauthorized with default headers values

func (*GetVersionByIDUsingGETUnauthorized) Error

type GetVersionsUsingGETNotFound

type GetVersionsUsingGETNotFound struct {
	Payload *models.Error
}
GetVersionsUsingGETNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetVersionsUsingGETNotFound

func NewGetVersionsUsingGETNotFound() *GetVersionsUsingGETNotFound

NewGetVersionsUsingGETNotFound creates a GetVersionsUsingGETNotFound with default headers values

func (*GetVersionsUsingGETNotFound) Error

func (*GetVersionsUsingGETNotFound) GetPayload added in v0.2.9

func (o *GetVersionsUsingGETNotFound) GetPayload() *models.Error

type GetVersionsUsingGETOK

type GetVersionsUsingGETOK struct {
	Payload *models.PageOfCatalogItemVersion
}
GetVersionsUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetVersionsUsingGETOK

func NewGetVersionsUsingGETOK() *GetVersionsUsingGETOK

NewGetVersionsUsingGETOK creates a GetVersionsUsingGETOK with default headers values

func (*GetVersionsUsingGETOK) Error

func (o *GetVersionsUsingGETOK) Error() string

func (*GetVersionsUsingGETOK) GetPayload

type GetVersionsUsingGETParams

type GetVersionsUsingGETParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ID.

	   Catalog Item ID

	   Format: uuid
	*/
	ID strfmt.UUID

	/* Page.

	   Results page you want to retrieve (0..N)

	   Format: int32
	*/
	Page *int32

	/* Size.

	   Number of records per page.

	   Format: int32
	*/
	Size *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVersionsUsingGETParams contains all the parameters to send to the API endpoint

for the get versions using g e t operation.

Typically these are written to a http.Request.

func NewGetVersionsUsingGETParams

func NewGetVersionsUsingGETParams() *GetVersionsUsingGETParams

NewGetVersionsUsingGETParams creates a new GetVersionsUsingGETParams 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 NewGetVersionsUsingGETParamsWithContext

func NewGetVersionsUsingGETParamsWithContext(ctx context.Context) *GetVersionsUsingGETParams

NewGetVersionsUsingGETParamsWithContext creates a new GetVersionsUsingGETParams object with the ability to set a context for a request.

func NewGetVersionsUsingGETParamsWithHTTPClient

func NewGetVersionsUsingGETParamsWithHTTPClient(client *http.Client) *GetVersionsUsingGETParams

NewGetVersionsUsingGETParamsWithHTTPClient creates a new GetVersionsUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetVersionsUsingGETParamsWithTimeout

func NewGetVersionsUsingGETParamsWithTimeout(timeout time.Duration) *GetVersionsUsingGETParams

NewGetVersionsUsingGETParamsWithTimeout creates a new GetVersionsUsingGETParams object with the ability to set a timeout on a request.

func (*GetVersionsUsingGETParams) SetAPIVersion added in v0.2.9

func (o *GetVersionsUsingGETParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get versions using get params

func (*GetVersionsUsingGETParams) SetContext

func (o *GetVersionsUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the get versions using get params

func (*GetVersionsUsingGETParams) SetDefaults added in v0.2.20

func (o *GetVersionsUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get versions using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionsUsingGETParams) SetHTTPClient

func (o *GetVersionsUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get versions using get params

func (*GetVersionsUsingGETParams) SetID

func (o *GetVersionsUsingGETParams) SetID(id strfmt.UUID)

SetID adds the id to the get versions using get params

func (*GetVersionsUsingGETParams) SetPage

func (o *GetVersionsUsingGETParams) SetPage(page *int32)

SetPage adds the page to the get versions using get params

func (*GetVersionsUsingGETParams) SetSize

func (o *GetVersionsUsingGETParams) SetSize(size *int32)

SetSize adds the size to the get versions using get params

func (*GetVersionsUsingGETParams) SetTimeout

func (o *GetVersionsUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get versions using get params

func (*GetVersionsUsingGETParams) WithAPIVersion added in v0.2.9

func (o *GetVersionsUsingGETParams) WithAPIVersion(aPIVersion *string) *GetVersionsUsingGETParams

WithAPIVersion adds the aPIVersion to the get versions using get params

func (*GetVersionsUsingGETParams) WithContext

WithContext adds the context to the get versions using get params

func (*GetVersionsUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get versions using get params (not the query body).

All values with no default are reset to their zero value.

func (*GetVersionsUsingGETParams) WithHTTPClient

func (o *GetVersionsUsingGETParams) WithHTTPClient(client *http.Client) *GetVersionsUsingGETParams

WithHTTPClient adds the HTTPClient to the get versions using get params

func (*GetVersionsUsingGETParams) WithID

WithID adds the id to the get versions using get params

func (*GetVersionsUsingGETParams) WithPage

WithPage adds the page to the get versions using get params

func (*GetVersionsUsingGETParams) WithSize

WithSize adds the size to the get versions using get params

func (*GetVersionsUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get versions using get params

func (*GetVersionsUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVersionsUsingGETReader

type GetVersionsUsingGETReader struct {
	// contains filtered or unexported fields
}

GetVersionsUsingGETReader is a Reader for the GetVersionsUsingGET structure.

func (*GetVersionsUsingGETReader) ReadResponse

func (o *GetVersionsUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVersionsUsingGETUnauthorized

type GetVersionsUsingGETUnauthorized struct {
}
GetVersionsUsingGETUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetVersionsUsingGETUnauthorized

func NewGetVersionsUsingGETUnauthorized() *GetVersionsUsingGETUnauthorized

NewGetVersionsUsingGETUnauthorized creates a GetVersionsUsingGETUnauthorized with default headers values

func (*GetVersionsUsingGETUnauthorized) Error

type RequestCatalogItemUsingPOSTBadRequest added in v0.2.9

type RequestCatalogItemUsingPOSTBadRequest struct {
	Payload *models.Error
}
RequestCatalogItemUsingPOSTBadRequest describes a response with status code 400, with default header values.

Invalid request - bad data.

func NewRequestCatalogItemUsingPOSTBadRequest added in v0.2.9

func NewRequestCatalogItemUsingPOSTBadRequest() *RequestCatalogItemUsingPOSTBadRequest

NewRequestCatalogItemUsingPOSTBadRequest creates a RequestCatalogItemUsingPOSTBadRequest with default headers values

func (*RequestCatalogItemUsingPOSTBadRequest) Error added in v0.2.9

func (*RequestCatalogItemUsingPOSTBadRequest) GetPayload added in v0.2.9

type RequestCatalogItemUsingPOSTForbidden

type RequestCatalogItemUsingPOSTForbidden struct {
}
RequestCatalogItemUsingPOSTForbidden describes a response with status code 403, with default header values.

Forbidden.

func NewRequestCatalogItemUsingPOSTForbidden

func NewRequestCatalogItemUsingPOSTForbidden() *RequestCatalogItemUsingPOSTForbidden

NewRequestCatalogItemUsingPOSTForbidden creates a RequestCatalogItemUsingPOSTForbidden with default headers values

func (*RequestCatalogItemUsingPOSTForbidden) Error

type RequestCatalogItemUsingPOSTNotFound

type RequestCatalogItemUsingPOSTNotFound struct {
	Payload *models.Error
}
RequestCatalogItemUsingPOSTNotFound describes a response with status code 404, with default header values.

Not Found

func NewRequestCatalogItemUsingPOSTNotFound

func NewRequestCatalogItemUsingPOSTNotFound() *RequestCatalogItemUsingPOSTNotFound

NewRequestCatalogItemUsingPOSTNotFound creates a RequestCatalogItemUsingPOSTNotFound with default headers values

func (*RequestCatalogItemUsingPOSTNotFound) Error

func (*RequestCatalogItemUsingPOSTNotFound) GetPayload added in v0.2.9

type RequestCatalogItemUsingPOSTOK

type RequestCatalogItemUsingPOSTOK struct {
	Payload *models.CatalogItemRequestResponse
}
RequestCatalogItemUsingPOSTOK describes a response with status code 200, with default header values.

OK

func NewRequestCatalogItemUsingPOSTOK

func NewRequestCatalogItemUsingPOSTOK() *RequestCatalogItemUsingPOSTOK

NewRequestCatalogItemUsingPOSTOK creates a RequestCatalogItemUsingPOSTOK with default headers values

func (*RequestCatalogItemUsingPOSTOK) Error

func (*RequestCatalogItemUsingPOSTOK) GetPayload

type RequestCatalogItemUsingPOSTParams

type RequestCatalogItemUsingPOSTParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ID.

	   Catalog item ID

	   Format: uuid
	*/
	ID strfmt.UUID

	/* Request.

	   request
	*/
	Request *models.CatalogItemRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RequestCatalogItemUsingPOSTParams contains all the parameters to send to the API endpoint

for the request catalog item using p o s t operation.

Typically these are written to a http.Request.

func NewRequestCatalogItemUsingPOSTParams

func NewRequestCatalogItemUsingPOSTParams() *RequestCatalogItemUsingPOSTParams

NewRequestCatalogItemUsingPOSTParams creates a new RequestCatalogItemUsingPOSTParams 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 NewRequestCatalogItemUsingPOSTParamsWithContext

func NewRequestCatalogItemUsingPOSTParamsWithContext(ctx context.Context) *RequestCatalogItemUsingPOSTParams

NewRequestCatalogItemUsingPOSTParamsWithContext creates a new RequestCatalogItemUsingPOSTParams object with the ability to set a context for a request.

func NewRequestCatalogItemUsingPOSTParamsWithHTTPClient

func NewRequestCatalogItemUsingPOSTParamsWithHTTPClient(client *http.Client) *RequestCatalogItemUsingPOSTParams

NewRequestCatalogItemUsingPOSTParamsWithHTTPClient creates a new RequestCatalogItemUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewRequestCatalogItemUsingPOSTParamsWithTimeout

func NewRequestCatalogItemUsingPOSTParamsWithTimeout(timeout time.Duration) *RequestCatalogItemUsingPOSTParams

NewRequestCatalogItemUsingPOSTParamsWithTimeout creates a new RequestCatalogItemUsingPOSTParams object with the ability to set a timeout on a request.

func (*RequestCatalogItemUsingPOSTParams) SetAPIVersion added in v0.2.9

func (o *RequestCatalogItemUsingPOSTParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) SetContext

SetContext adds the context to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) SetDefaults added in v0.2.20

func (o *RequestCatalogItemUsingPOSTParams) SetDefaults()

SetDefaults hydrates default values in the request catalog item using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*RequestCatalogItemUsingPOSTParams) SetHTTPClient

func (o *RequestCatalogItemUsingPOSTParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) SetID

SetID adds the id to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) SetRequest

SetRequest adds the request to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) SetTimeout

func (o *RequestCatalogItemUsingPOSTParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) WithContext

WithContext adds the context to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the request catalog item using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*RequestCatalogItemUsingPOSTParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) WithID

WithID adds the id to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) WithRequest

WithRequest adds the request to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the request catalog item using p o s t params

func (*RequestCatalogItemUsingPOSTParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestCatalogItemUsingPOSTReader

type RequestCatalogItemUsingPOSTReader struct {
	// contains filtered or unexported fields
}

RequestCatalogItemUsingPOSTReader is a Reader for the RequestCatalogItemUsingPOST structure.

func (*RequestCatalogItemUsingPOSTReader) ReadResponse

func (o *RequestCatalogItemUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RequestCatalogItemUsingPOSTUnauthorized

type RequestCatalogItemUsingPOSTUnauthorized struct {
}
RequestCatalogItemUsingPOSTUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewRequestCatalogItemUsingPOSTUnauthorized

func NewRequestCatalogItemUsingPOSTUnauthorized() *RequestCatalogItemUsingPOSTUnauthorized

NewRequestCatalogItemUsingPOSTUnauthorized creates a RequestCatalogItemUsingPOSTUnauthorized with default headers values

func (*RequestCatalogItemUsingPOSTUnauthorized) Error

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound added in v0.2.0

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound struct {
	Payload *models.Error
}
SubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound describes a response with status code 404, with default header values.

Not Found

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound added in v0.2.0

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound() *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound

NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound creates a SubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound with default headers values

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound) Error added in v0.2.0

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTNotFound) GetPayload added in v0.2.9

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK added in v0.2.0

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK struct {
	Payload *models.CatalogItemUpfrontPriceResponse
}
SubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK describes a response with status code 200, with default header values.

OK

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK added in v0.2.0

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK() *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK

NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK creates a SubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK with default headers values

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK) Error added in v0.2.0

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTOK) GetPayload added in v0.2.0

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams added in v0.2.0

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ID.

	   Catalog Item ID

	   Format: uuid
	*/
	ID strfmt.UUID

	/* Request.

	   request
	*/
	Request *models.CatalogItemRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams contains all the parameters to send to the API endpoint

for the submit upfront price request for catalog item using p o s t operation.

Typically these are written to a http.Request.

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams added in v0.2.0

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams() *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams

NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams creates a new SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams 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 NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParamsWithContext added in v0.2.0

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParamsWithContext(ctx context.Context) *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams

NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParamsWithContext creates a new SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams object with the ability to set a context for a request.

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParamsWithHTTPClient added in v0.2.0

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParamsWithHTTPClient(client *http.Client) *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams

NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParamsWithHTTPClient creates a new SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams object with the ability to set a custom HTTPClient for a request.

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParamsWithTimeout added in v0.2.0

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParamsWithTimeout(timeout time.Duration) *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams

NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTParamsWithTimeout creates a new SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams object with the ability to set a timeout on a request.

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) SetAPIVersion added in v0.2.9

func (o *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) SetContext added in v0.2.0

SetContext adds the context to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) SetDefaults added in v0.2.20

SetDefaults hydrates default values in the submit upfront price request for catalog item using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) SetHTTPClient added in v0.2.0

SetHTTPClient adds the HTTPClient to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) SetID added in v0.2.0

SetID adds the id to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) SetRequest added in v0.2.0

SetRequest adds the request to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) SetTimeout added in v0.2.0

SetTimeout adds the timeout to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) WithAPIVersion added in v0.2.9

WithAPIVersion adds the aPIVersion to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) WithContext added in v0.2.0

WithContext adds the context to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the submit upfront price request for catalog item using p o s t params (not the query body).

All values with no default are reset to their zero value.

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) WithID added in v0.2.0

WithID adds the id to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) WithRequest added in v0.2.0

WithRequest adds the request to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the submit upfront price request for catalog item using p o s t params

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTReader added in v0.2.0

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTReader struct {
	// contains filtered or unexported fields
}

SubmitUpfrontPriceRequestForCatalogItemUsingPOSTReader is a Reader for the SubmitUpfrontPriceRequestForCatalogItemUsingPOST structure.

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTReader) ReadResponse added in v0.2.0

func (o *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTUnauthorized added in v0.2.0

type SubmitUpfrontPriceRequestForCatalogItemUsingPOSTUnauthorized struct {
}
SubmitUpfrontPriceRequestForCatalogItemUsingPOSTUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTUnauthorized added in v0.2.0

func NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTUnauthorized() *SubmitUpfrontPriceRequestForCatalogItemUsingPOSTUnauthorized

NewSubmitUpfrontPriceRequestForCatalogItemUsingPOSTUnauthorized creates a SubmitUpfrontPriceRequestForCatalogItemUsingPOSTUnauthorized with default headers values

func (*SubmitUpfrontPriceRequestForCatalogItemUsingPOSTUnauthorized) Error added in v0.2.0

Jump to

Keyboard shortcuts

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