public_item_types

package
v0.68.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PublicListItemTypesCreatedAtConstant     = "createdAt"
	PublicListItemTypesCreatedAtAscConstant  = "createdAt:asc"
	PublicListItemTypesCreatedAtDescConstant = "createdAt:desc"
	PublicListItemTypesNameConstant          = "name"
	PublicListItemTypesNameAscConstant       = "name:asc"
	PublicListItemTypesNameDescConstant      = "name:desc"
)

Get the enum in PublicListItemTypesParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for public item types API

func (*Client) PublicListItemTypes deprecated

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

PublicListItemTypes to list item types

This endpoint will list all item types in a namespace. The response body will be in the form of standard pagination.

func (*Client) PublicListItemTypesShort

func (a *Client) PublicListItemTypesShort(params *PublicListItemTypesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListItemTypesOK, error)

PublicListItemTypesShort to list item types

This endpoint will list all item types 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

type ClientService interface {
	PublicListItemTypes(params *PublicListItemTypesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListItemTypesOK, *PublicListItemTypesBadRequest, *PublicListItemTypesInternalServerError, error)
	PublicListItemTypesShort(params *PublicListItemTypesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListItemTypesOK, 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 public item types API client.

type PublicListItemTypesBadRequest

type PublicListItemTypesBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

PublicListItemTypesBadRequest handles this case with default header values.

Bad Request

func NewPublicListItemTypesBadRequest

func NewPublicListItemTypesBadRequest() *PublicListItemTypesBadRequest

NewPublicListItemTypesBadRequest creates a PublicListItemTypesBadRequest with default headers values

func (*PublicListItemTypesBadRequest) Error

func (*PublicListItemTypesBadRequest) GetPayload

func (*PublicListItemTypesBadRequest) ToJSONString

func (o *PublicListItemTypesBadRequest) ToJSONString() string

type PublicListItemTypesInternalServerError

type PublicListItemTypesInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

PublicListItemTypesInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicListItemTypesInternalServerError

func NewPublicListItemTypesInternalServerError() *PublicListItemTypesInternalServerError

NewPublicListItemTypesInternalServerError creates a PublicListItemTypesInternalServerError with default headers values

func (*PublicListItemTypesInternalServerError) Error

func (*PublicListItemTypesInternalServerError) GetPayload

func (*PublicListItemTypesInternalServerError) ToJSONString

type PublicListItemTypesOK

type PublicListItemTypesOK struct {
	Payload *inventoryclientmodels.ApimodelsListItemTypesResp
}

PublicListItemTypesOK handles this case with default header values.

OK

func NewPublicListItemTypesOK

func NewPublicListItemTypesOK() *PublicListItemTypesOK

NewPublicListItemTypesOK creates a PublicListItemTypesOK with default headers values

func (*PublicListItemTypesOK) Error

func (o *PublicListItemTypesOK) Error() string

func (*PublicListItemTypesOK) GetPayload

func (*PublicListItemTypesOK) ToJSONString

func (o *PublicListItemTypesOK) ToJSONString() string

type PublicListItemTypesParams

type PublicListItemTypesParams struct {

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

	*/
	Namespace 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
}

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

func NewPublicListItemTypesParams

func NewPublicListItemTypesParams() *PublicListItemTypesParams

NewPublicListItemTypesParams creates a new PublicListItemTypesParams object with the default values initialized.

func NewPublicListItemTypesParamsWithContext

func NewPublicListItemTypesParamsWithContext(ctx context.Context) *PublicListItemTypesParams

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

func NewPublicListItemTypesParamsWithHTTPClient

func NewPublicListItemTypesParamsWithHTTPClient(client *http.Client) *PublicListItemTypesParams

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

func NewPublicListItemTypesParamsWithTimeout

func NewPublicListItemTypesParamsWithTimeout(timeout time.Duration) *PublicListItemTypesParams

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

func (*PublicListItemTypesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public list item types params

func (*PublicListItemTypesParams) SetContext

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

SetContext adds the context to the public list item types params

func (*PublicListItemTypesParams) SetFlightId added in v0.63.0

func (o *PublicListItemTypesParams) SetFlightId(flightId string)

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

func (*PublicListItemTypesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list item types params

func (*PublicListItemTypesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public list item types params

func (*PublicListItemTypesParams) SetLimit

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

SetLimit adds the limit to the public list item types params

func (*PublicListItemTypesParams) SetNamespace

func (o *PublicListItemTypesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list item types params

func (*PublicListItemTypesParams) SetOffset

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

SetOffset adds the offset to the public list item types params

func (*PublicListItemTypesParams) SetSortBy

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

SetSortBy adds the sortBy to the public list item types params

func (*PublicListItemTypesParams) SetTimeout

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

SetTimeout adds the timeout to the public list item types params

func (*PublicListItemTypesParams) WithContext

WithContext adds the context to the public list item types params

func (*PublicListItemTypesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public list item types params

func (*PublicListItemTypesParams) WithLimit

WithLimit adds the limit to the public list item types params

func (*PublicListItemTypesParams) WithNamespace

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

WithNamespace adds the namespace to the public list item types params

func (*PublicListItemTypesParams) WithOffset

WithOffset adds the offset to the public list item types params

func (*PublicListItemTypesParams) WithSortBy

WithSortBy adds the sortBy to the public list item types params

func (*PublicListItemTypesParams) WithTimeout

WithTimeout adds the timeout to the public list item types params

func (*PublicListItemTypesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListItemTypesReader

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

PublicListItemTypesReader is a Reader for the PublicListItemTypes structure.

func (*PublicListItemTypesReader) ReadResponse

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