products

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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 products API

func (*Client) GetProvisioningV1Products

func (a *Client) GetProvisioningV1Products(params *GetProvisioningV1ProductsParams, opts ...ClientOption) (*GetProvisioningV1ProductsOK, error)

GetProvisioningV1Products lists products

Retrieve a list of configs

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetProvisioningV1Products(params *GetProvisioningV1ProductsParams, opts ...ClientOption) (*GetProvisioningV1ProductsOK, 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 products API client.

type GetProvisioningV1ProductsBadRequest

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

Bad Request

func NewGetProvisioningV1ProductsBadRequest

func NewGetProvisioningV1ProductsBadRequest() *GetProvisioningV1ProductsBadRequest

NewGetProvisioningV1ProductsBadRequest creates a GetProvisioningV1ProductsBadRequest with default headers values

func (*GetProvisioningV1ProductsBadRequest) Error

func (*GetProvisioningV1ProductsBadRequest) GetPayload

type GetProvisioningV1ProductsInternalServerError

type GetProvisioningV1ProductsInternalServerError struct {
	Payload *models.ErrrErrorResponse
}
GetProvisioningV1ProductsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetProvisioningV1ProductsInternalServerError

func NewGetProvisioningV1ProductsInternalServerError() *GetProvisioningV1ProductsInternalServerError

NewGetProvisioningV1ProductsInternalServerError creates a GetProvisioningV1ProductsInternalServerError with default headers values

func (*GetProvisioningV1ProductsInternalServerError) Error

func (*GetProvisioningV1ProductsInternalServerError) GetPayload

type GetProvisioningV1ProductsOK

type GetProvisioningV1ProductsOK struct {
	Payload []*models.V1Product
}
GetProvisioningV1ProductsOK describes a response with status code 200, with default header values.

OK

func NewGetProvisioningV1ProductsOK

func NewGetProvisioningV1ProductsOK() *GetProvisioningV1ProductsOK

NewGetProvisioningV1ProductsOK creates a GetProvisioningV1ProductsOK with default headers values

func (*GetProvisioningV1ProductsOK) Error

func (*GetProvisioningV1ProductsOK) GetPayload

func (o *GetProvisioningV1ProductsOK) GetPayload() []*models.V1Product

type GetProvisioningV1ProductsParams

type GetProvisioningV1ProductsParams struct {

	/* PageOrder.

	   page_order
	*/
	PageOrder *string

	/* PageSize.

	   page_size

	   Default: 10
	*/
	PageSize *int64

	/* PageToken.

	   page_token
	*/
	PageToken *string

	/* TopologyID.

	   Topology ID
	*/
	TopologyID *string

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

GetProvisioningV1ProductsParams contains all the parameters to send to the API endpoint

for the get provisioning v1 products operation.

Typically these are written to a http.Request.

func NewGetProvisioningV1ProductsParams

func NewGetProvisioningV1ProductsParams() *GetProvisioningV1ProductsParams

NewGetProvisioningV1ProductsParams creates a new GetProvisioningV1ProductsParams 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 NewGetProvisioningV1ProductsParamsWithContext

func NewGetProvisioningV1ProductsParamsWithContext(ctx context.Context) *GetProvisioningV1ProductsParams

NewGetProvisioningV1ProductsParamsWithContext creates a new GetProvisioningV1ProductsParams object with the ability to set a context for a request.

func NewGetProvisioningV1ProductsParamsWithHTTPClient

func NewGetProvisioningV1ProductsParamsWithHTTPClient(client *http.Client) *GetProvisioningV1ProductsParams

NewGetProvisioningV1ProductsParamsWithHTTPClient creates a new GetProvisioningV1ProductsParams object with the ability to set a custom HTTPClient for a request.

func NewGetProvisioningV1ProductsParamsWithTimeout

func NewGetProvisioningV1ProductsParamsWithTimeout(timeout time.Duration) *GetProvisioningV1ProductsParams

NewGetProvisioningV1ProductsParamsWithTimeout creates a new GetProvisioningV1ProductsParams object with the ability to set a timeout on a request.

func (*GetProvisioningV1ProductsParams) SetContext

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

SetContext adds the context to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) SetDefaults

func (o *GetProvisioningV1ProductsParams) SetDefaults()

SetDefaults hydrates default values in the get provisioning v1 products params (not the query body).

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

func (*GetProvisioningV1ProductsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) SetPageOrder

func (o *GetProvisioningV1ProductsParams) SetPageOrder(pageOrder *string)

SetPageOrder adds the pageOrder to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) SetPageSize

func (o *GetProvisioningV1ProductsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) SetPageToken

func (o *GetProvisioningV1ProductsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) SetTimeout

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

SetTimeout adds the timeout to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) SetTopologyID

func (o *GetProvisioningV1ProductsParams) SetTopologyID(topologyID *string)

SetTopologyID adds the topologyId to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) WithContext

WithContext adds the context to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) WithDefaults

WithDefaults hydrates default values in the get provisioning v1 products params (not the query body).

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

func (*GetProvisioningV1ProductsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) WithPageOrder

WithPageOrder adds the pageOrder to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) WithPageSize

WithPageSize adds the pageSize to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) WithPageToken

WithPageToken adds the pageToken to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) WithTimeout

WithTimeout adds the timeout to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) WithTopologyID

WithTopologyID adds the topologyID to the get provisioning v1 products params

func (*GetProvisioningV1ProductsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProvisioningV1ProductsReader

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

GetProvisioningV1ProductsReader is a Reader for the GetProvisioningV1Products structure.

func (*GetProvisioningV1ProductsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProvisioningV1ProductsUnauthorized

type GetProvisioningV1ProductsUnauthorized struct {
	Payload *models.ErrrErrorResponse
}
GetProvisioningV1ProductsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetProvisioningV1ProductsUnauthorized

func NewGetProvisioningV1ProductsUnauthorized() *GetProvisioningV1ProductsUnauthorized

NewGetProvisioningV1ProductsUnauthorized creates a GetProvisioningV1ProductsUnauthorized with default headers values

func (*GetProvisioningV1ProductsUnauthorized) Error

func (*GetProvisioningV1ProductsUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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