public_inventories

package
v0.59.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicListInventoriesCreatedAtConstant     = "createdAt"
	PublicListInventoriesCreatedAtAscConstant  = "createdAt:asc"
	PublicListInventoriesCreatedAtDescConstant = "createdAt:desc"
	PublicListInventoriesUpdatedAtConstant     = "updatedAt"
	PublicListInventoriesUpdatedAtAscConstant  = "updatedAt:asc"
	PublicListInventoriesUpdatedAtDescConstant = "updatedAt:desc"
)

Get the enum in PublicListInventoriesParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for public inventories API

func (*Client) PublicListInventories deprecated

Deprecated: 2022-08-10 - Use PublicListInventoriesShort instead.

PublicListInventories to list all my inventories

Listing all my inventories in a namespace. The response body will be in the form of standard pagination.

func (*Client) PublicListInventoriesShort

func (a *Client) PublicListInventoriesShort(params *PublicListInventoriesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListInventoriesOK, error)

PublicListInventoriesShort to list all my inventories

Listing all my inventories in a namespace. The response body will be in the form of standard pagination.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new public inventories API client.

type PublicListInventoriesBadRequest

type PublicListInventoriesBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

PublicListInventoriesBadRequest handles this case with default header values.

Bad Request

func NewPublicListInventoriesBadRequest

func NewPublicListInventoriesBadRequest() *PublicListInventoriesBadRequest

NewPublicListInventoriesBadRequest creates a PublicListInventoriesBadRequest with default headers values

func (*PublicListInventoriesBadRequest) Error

func (*PublicListInventoriesBadRequest) GetPayload

func (*PublicListInventoriesBadRequest) ToJSONString

func (o *PublicListInventoriesBadRequest) ToJSONString() string

type PublicListInventoriesInternalServerError

type PublicListInventoriesInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

PublicListInventoriesInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicListInventoriesInternalServerError

func NewPublicListInventoriesInternalServerError() *PublicListInventoriesInternalServerError

NewPublicListInventoriesInternalServerError creates a PublicListInventoriesInternalServerError with default headers values

func (*PublicListInventoriesInternalServerError) Error

func (*PublicListInventoriesInternalServerError) GetPayload

func (*PublicListInventoriesInternalServerError) ToJSONString

type PublicListInventoriesOK

type PublicListInventoriesOK struct {
	Payload *inventoryclientmodels.ApimodelsListInventoryResp
}

PublicListInventoriesOK handles this case with default header values.

OK

func NewPublicListInventoriesOK

func NewPublicListInventoriesOK() *PublicListInventoriesOK

NewPublicListInventoriesOK creates a PublicListInventoriesOK with default headers values

func (*PublicListInventoriesOK) Error

func (o *PublicListInventoriesOK) Error() string

func (*PublicListInventoriesOK) GetPayload

func (*PublicListInventoriesOK) ToJSONString

func (o *PublicListInventoriesOK) ToJSONString() string

type PublicListInventoriesParams

type PublicListInventoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*InventoryConfigurationCode
	  InventoryConfigurationCode

	*/
	InventoryConfigurationCode *string
	/*Limit
	  default 25

	*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*SortBy
	  Only support one level of sortBy; default createdAt

	*/
	SortBy *string

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

PublicListInventoriesParams contains all the parameters to send to the API endpoint for the public list inventories operation typically these are written to a http.Request

func NewPublicListInventoriesParams

func NewPublicListInventoriesParams() *PublicListInventoriesParams

NewPublicListInventoriesParams creates a new PublicListInventoriesParams object with the default values initialized.

func NewPublicListInventoriesParamsWithContext

func NewPublicListInventoriesParamsWithContext(ctx context.Context) *PublicListInventoriesParams

NewPublicListInventoriesParamsWithContext creates a new PublicListInventoriesParams object with the default values initialized, and the ability to set a context for a request

func NewPublicListInventoriesParamsWithHTTPClient

func NewPublicListInventoriesParamsWithHTTPClient(client *http.Client) *PublicListInventoriesParams

NewPublicListInventoriesParamsWithHTTPClient creates a new PublicListInventoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicListInventoriesParamsWithTimeout

func NewPublicListInventoriesParamsWithTimeout(timeout time.Duration) *PublicListInventoriesParams

NewPublicListInventoriesParamsWithTimeout creates a new PublicListInventoriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicListInventoriesParams) SetAuthInfoWriter

func (o *PublicListInventoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public list inventories params

func (*PublicListInventoriesParams) SetContext

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

SetContext adds the context to the public list inventories params

func (*PublicListInventoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list inventories params

func (*PublicListInventoriesParams) SetHTTPClientTransport

func (o *PublicListInventoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public list inventories params

func (*PublicListInventoriesParams) SetInventoryConfigurationCode

func (o *PublicListInventoriesParams) SetInventoryConfigurationCode(inventoryConfigurationCode *string)

SetInventoryConfigurationCode adds the inventoryConfigurationCode to the public list inventories params

func (*PublicListInventoriesParams) SetLimit

func (o *PublicListInventoriesParams) SetLimit(limit *int64)

SetLimit adds the limit to the public list inventories params

func (*PublicListInventoriesParams) SetNamespace

func (o *PublicListInventoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list inventories params

func (*PublicListInventoriesParams) SetOffset

func (o *PublicListInventoriesParams) SetOffset(offset *int64)

SetOffset adds the offset to the public list inventories params

func (*PublicListInventoriesParams) SetSortBy

func (o *PublicListInventoriesParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the public list inventories params

func (*PublicListInventoriesParams) SetTimeout

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

SetTimeout adds the timeout to the public list inventories params

func (*PublicListInventoriesParams) WithContext

WithContext adds the context to the public list inventories params

func (*PublicListInventoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list inventories params

func (*PublicListInventoriesParams) WithInventoryConfigurationCode

func (o *PublicListInventoriesParams) WithInventoryConfigurationCode(inventoryConfigurationCode *string) *PublicListInventoriesParams

WithInventoryConfigurationCode adds the inventoryConfigurationCode to the public list inventories params

func (*PublicListInventoriesParams) WithLimit

WithLimit adds the limit to the public list inventories params

func (*PublicListInventoriesParams) WithNamespace

func (o *PublicListInventoriesParams) WithNamespace(namespace string) *PublicListInventoriesParams

WithNamespace adds the namespace to the public list inventories params

func (*PublicListInventoriesParams) WithOffset

WithOffset adds the offset to the public list inventories params

func (*PublicListInventoriesParams) WithSortBy

WithSortBy adds the sortBy to the public list inventories params

func (*PublicListInventoriesParams) WithTimeout

WithTimeout adds the timeout to the public list inventories params

func (*PublicListInventoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListInventoriesReader

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

PublicListInventoriesReader is a Reader for the PublicListInventories structure.

func (*PublicListInventoriesReader) ReadResponse

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