Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) PublicListInventoryConfigurations(params *PublicListInventoryConfigurationsParams, ...) (*PublicListInventoryConfigurationsOK, ...)deprecated
- func (a *Client) PublicListInventoryConfigurationsShort(params *PublicListInventoryConfigurationsParams, ...) (*PublicListInventoryConfigurationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicListInventoryConfigurationsBadRequest
- type PublicListInventoryConfigurationsInternalServerError
- type PublicListInventoryConfigurationsOK
- type PublicListInventoryConfigurationsParams
- func NewPublicListInventoryConfigurationsParams() *PublicListInventoryConfigurationsParams
- func NewPublicListInventoryConfigurationsParamsWithContext(ctx context.Context) *PublicListInventoryConfigurationsParams
- func NewPublicListInventoryConfigurationsParamsWithHTTPClient(client *http.Client) *PublicListInventoryConfigurationsParams
- func NewPublicListInventoryConfigurationsParamsWithTimeout(timeout time.Duration) *PublicListInventoryConfigurationsParams
- func (o *PublicListInventoryConfigurationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListInventoryConfigurationsParams) SetCode(code *string)
- func (o *PublicListInventoryConfigurationsParams) SetContext(ctx context.Context)
- func (o *PublicListInventoryConfigurationsParams) SetFlightId(flightId string)
- func (o *PublicListInventoryConfigurationsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListInventoryConfigurationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListInventoryConfigurationsParams) SetLimit(limit *int64)
- func (o *PublicListInventoryConfigurationsParams) SetNamespace(namespace string)
- func (o *PublicListInventoryConfigurationsParams) SetOffset(offset *int64)
- func (o *PublicListInventoryConfigurationsParams) SetSortBy(sortBy *string)
- func (o *PublicListInventoryConfigurationsParams) SetTimeout(timeout time.Duration)
- func (o *PublicListInventoryConfigurationsParams) WithCode(code *string) *PublicListInventoryConfigurationsParams
- func (o *PublicListInventoryConfigurationsParams) WithContext(ctx context.Context) *PublicListInventoryConfigurationsParams
- func (o *PublicListInventoryConfigurationsParams) WithHTTPClient(client *http.Client) *PublicListInventoryConfigurationsParams
- func (o *PublicListInventoryConfigurationsParams) WithLimit(limit *int64) *PublicListInventoryConfigurationsParams
- func (o *PublicListInventoryConfigurationsParams) WithNamespace(namespace string) *PublicListInventoryConfigurationsParams
- func (o *PublicListInventoryConfigurationsParams) WithOffset(offset *int64) *PublicListInventoryConfigurationsParams
- func (o *PublicListInventoryConfigurationsParams) WithSortBy(sortBy *string) *PublicListInventoryConfigurationsParams
- func (o *PublicListInventoryConfigurationsParams) WithTimeout(timeout time.Duration) *PublicListInventoryConfigurationsParams
- func (o *PublicListInventoryConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListInventoryConfigurationsReader
Constants ¶
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
func (a *Client) PublicListInventoryConfigurations(params *PublicListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListInventoryConfigurationsOK, *PublicListInventoryConfigurationsBadRequest, *PublicListInventoryConfigurationsInternalServerError, error)
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 ¶
type ClientService interface { PublicListInventoryConfigurations(params *PublicListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListInventoryConfigurationsOK, *PublicListInventoryConfigurationsBadRequest, *PublicListInventoryConfigurationsInternalServerError, error) PublicListInventoryConfigurationsShort(params *PublicListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListInventoryConfigurationsOK, 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 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 (o *PublicListInventoryConfigurationsBadRequest) Error() string
func (*PublicListInventoryConfigurationsBadRequest) GetPayload ¶
func (o *PublicListInventoryConfigurationsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*PublicListInventoryConfigurationsBadRequest) ToJSONString ¶
func (o *PublicListInventoryConfigurationsBadRequest) ToJSONString() string
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 (o *PublicListInventoryConfigurationsInternalServerError) Error() string
func (*PublicListInventoryConfigurationsInternalServerError) GetPayload ¶
func (o *PublicListInventoryConfigurationsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*PublicListInventoryConfigurationsInternalServerError) ToJSONString ¶
func (o *PublicListInventoryConfigurationsInternalServerError) ToJSONString() string
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 (o *PublicListInventoryConfigurationsOK) Error() string
func (*PublicListInventoryConfigurationsOK) GetPayload ¶
func (o *PublicListInventoryConfigurationsOK) GetPayload() *inventoryclientmodels.ApimodelsListInventoryConfigurationsResp
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 ¶
func (o *PublicListInventoryConfigurationsParams) SetCode(code *string)
SetCode adds the code to the public list inventory configurations params
func (*PublicListInventoryConfigurationsParams) SetContext ¶
func (o *PublicListInventoryConfigurationsParams) SetContext(ctx context.Context)
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 ¶
func (o *PublicListInventoryConfigurationsParams) WithCode(code *string) *PublicListInventoryConfigurationsParams
WithCode adds the code to the public list inventory configurations params
func (*PublicListInventoryConfigurationsParams) WithContext ¶
func (o *PublicListInventoryConfigurationsParams) WithContext(ctx context.Context) *PublicListInventoryConfigurationsParams
WithContext adds the context to the public list inventory configurations params
func (*PublicListInventoryConfigurationsParams) WithHTTPClient ¶
func (o *PublicListInventoryConfigurationsParams) WithHTTPClient(client *http.Client) *PublicListInventoryConfigurationsParams
WithHTTPClient adds the HTTPClient to the public list inventory configurations params
func (*PublicListInventoryConfigurationsParams) WithLimit ¶
func (o *PublicListInventoryConfigurationsParams) WithLimit(limit *int64) *PublicListInventoryConfigurationsParams
WithLimit adds the limit to the public list inventory configurations params
func (*PublicListInventoryConfigurationsParams) WithNamespace ¶
func (o *PublicListInventoryConfigurationsParams) WithNamespace(namespace string) *PublicListInventoryConfigurationsParams
WithNamespace adds the namespace to the public list inventory configurations params
func (*PublicListInventoryConfigurationsParams) WithOffset ¶
func (o *PublicListInventoryConfigurationsParams) WithOffset(offset *int64) *PublicListInventoryConfigurationsParams
WithOffset adds the offset to the public list inventory configurations params
func (*PublicListInventoryConfigurationsParams) WithSortBy ¶
func (o *PublicListInventoryConfigurationsParams) WithSortBy(sortBy *string) *PublicListInventoryConfigurationsParams
WithSortBy adds the sortBy to the public list inventory configurations params
func (*PublicListInventoryConfigurationsParams) WithTimeout ¶
func (o *PublicListInventoryConfigurationsParams) WithTimeout(timeout time.Duration) *PublicListInventoryConfigurationsParams
WithTimeout adds the timeout to the public list inventory configurations params
func (*PublicListInventoryConfigurationsParams) WriteToRequest ¶
func (o *PublicListInventoryConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.