public_inventory_configurations

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicListInventoryConfigurationsCodeConstant          = "code"
	PublicListInventoryConfigurationsCodeAscConstant       = "code:asc"
	PublicListInventoryConfigurationsCodeDescConstant      = "code:desc"
	PublicListInventoryConfigurationsCreatedAtConstant     = "createdAt"
	PublicListInventoryConfigurationsCreatedAtAscConstant  = "createdAt:asc"
	PublicListInventoryConfigurationsCreatedAtDescConstant = "createdAt:desc"
	PublicListInventoryConfigurationsUpdatedAtConstant     = "updatedAt"
	PublicListInventoryConfigurationsUpdatedAtAscConstant  = "updatedAt:asc"
	PublicListInventoryConfigurationsUpdatedAtDescConstant = "updatedAt:desc"
)

Get the enum in PublicListInventoryConfigurationsParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for public inventory configurations API

func (*Client) PublicListInventoryConfigurations deprecated

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

PublicListInventoryConfigurations to list inventory configurations

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

func (*Client) PublicListInventoryConfigurationsShort

func (a *Client) PublicListInventoryConfigurationsShort(params *PublicListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListInventoryConfigurationsOK, error)

PublicListInventoryConfigurationsShort to list inventory configurations

Listing all inventory configurations 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 inventory configurations API client.

type PublicListInventoryConfigurationsBadRequest

type PublicListInventoryConfigurationsBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

PublicListInventoryConfigurationsBadRequest handles this case with default header values.

Bad Request

func NewPublicListInventoryConfigurationsBadRequest

func NewPublicListInventoryConfigurationsBadRequest() *PublicListInventoryConfigurationsBadRequest

NewPublicListInventoryConfigurationsBadRequest creates a PublicListInventoryConfigurationsBadRequest with default headers values

func (*PublicListInventoryConfigurationsBadRequest) Error

func (*PublicListInventoryConfigurationsBadRequest) GetPayload

func (*PublicListInventoryConfigurationsBadRequest) ToJSONString

type PublicListInventoryConfigurationsInternalServerError

type PublicListInventoryConfigurationsInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

PublicListInventoryConfigurationsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicListInventoryConfigurationsInternalServerError

func NewPublicListInventoryConfigurationsInternalServerError() *PublicListInventoryConfigurationsInternalServerError

NewPublicListInventoryConfigurationsInternalServerError creates a PublicListInventoryConfigurationsInternalServerError with default headers values

func (*PublicListInventoryConfigurationsInternalServerError) Error

func (*PublicListInventoryConfigurationsInternalServerError) GetPayload

func (*PublicListInventoryConfigurationsInternalServerError) ToJSONString

type PublicListInventoryConfigurationsOK

type PublicListInventoryConfigurationsOK struct {
	Payload *inventoryclientmodels.ApimodelsListInventoryConfigurationsResp
}

PublicListInventoryConfigurationsOK handles this case with default header values.

OK

func NewPublicListInventoryConfigurationsOK

func NewPublicListInventoryConfigurationsOK() *PublicListInventoryConfigurationsOK

NewPublicListInventoryConfigurationsOK creates a PublicListInventoryConfigurationsOK with default headers values

func (*PublicListInventoryConfigurationsOK) Error

func (*PublicListInventoryConfigurationsOK) GetPayload

func (*PublicListInventoryConfigurationsOK) ToJSONString

func (o *PublicListInventoryConfigurationsOK) ToJSONString() string

type PublicListInventoryConfigurationsParams

type PublicListInventoryConfigurationsParams struct {

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

	*/
	Namespace string
	/*Code
	  will partially match inventoryConfigurationCode

	*/
	Code *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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicListInventoryConfigurationsParams

func NewPublicListInventoryConfigurationsParams() *PublicListInventoryConfigurationsParams

NewPublicListInventoryConfigurationsParams creates a new PublicListInventoryConfigurationsParams object with the default values initialized.

func NewPublicListInventoryConfigurationsParamsWithContext

func NewPublicListInventoryConfigurationsParamsWithContext(ctx context.Context) *PublicListInventoryConfigurationsParams

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

func NewPublicListInventoryConfigurationsParamsWithHTTPClient

func NewPublicListInventoryConfigurationsParamsWithHTTPClient(client *http.Client) *PublicListInventoryConfigurationsParams

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

func NewPublicListInventoryConfigurationsParamsWithTimeout

func NewPublicListInventoryConfigurationsParamsWithTimeout(timeout time.Duration) *PublicListInventoryConfigurationsParams

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

func (*PublicListInventoryConfigurationsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) SetCode

SetCode adds the code to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) SetContext

SetContext adds the context to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) SetFlightId added in v0.63.0

func (o *PublicListInventoryConfigurationsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicListInventoryConfigurationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) SetLimit

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

SetLimit adds the limit to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) SetNamespace

func (o *PublicListInventoryConfigurationsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) SetOffset

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

SetOffset adds the offset to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) SetSortBy

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

SetSortBy adds the sortBy to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) SetTimeout

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

SetTimeout adds the timeout to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) WithCode

WithCode adds the code to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) WithContext

WithContext adds the context to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) WithLimit

WithLimit adds the limit to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) WithNamespace

WithNamespace adds the namespace to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) WithOffset

WithOffset adds the offset to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) WithSortBy

WithSortBy adds the sortBy to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) WithTimeout

WithTimeout adds the timeout to the public list inventory configurations params

func (*PublicListInventoryConfigurationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListInventoryConfigurationsReader

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

PublicListInventoryConfigurationsReader is a Reader for the PublicListInventoryConfigurations structure.

func (*PublicListInventoryConfigurationsReader) ReadResponse

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