Documentation ¶
Index ¶
- Constants
- type AdminCreateInventoryConfigurationBadRequest
- type AdminCreateInventoryConfigurationConflict
- type AdminCreateInventoryConfigurationCreated
- type AdminCreateInventoryConfigurationInternalServerError
- type AdminCreateInventoryConfigurationParams
- func NewAdminCreateInventoryConfigurationParams() *AdminCreateInventoryConfigurationParams
- func NewAdminCreateInventoryConfigurationParamsWithContext(ctx context.Context) *AdminCreateInventoryConfigurationParams
- func NewAdminCreateInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminCreateInventoryConfigurationParams
- func NewAdminCreateInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminCreateInventoryConfigurationParams
- func (o *AdminCreateInventoryConfigurationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateInventoryConfigurationParams) SetBody(body *inventoryclientmodels.ApimodelsCreateInventoryConfigurationReq)
- func (o *AdminCreateInventoryConfigurationParams) SetContext(ctx context.Context)
- func (o *AdminCreateInventoryConfigurationParams) SetFlightId(flightId string)
- func (o *AdminCreateInventoryConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateInventoryConfigurationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminCreateInventoryConfigurationParams) SetNamespace(namespace string)
- func (o *AdminCreateInventoryConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateInventoryConfigurationParams) WithBody(body *inventoryclientmodels.ApimodelsCreateInventoryConfigurationReq) *AdminCreateInventoryConfigurationParams
- func (o *AdminCreateInventoryConfigurationParams) WithContext(ctx context.Context) *AdminCreateInventoryConfigurationParams
- func (o *AdminCreateInventoryConfigurationParams) WithHTTPClient(client *http.Client) *AdminCreateInventoryConfigurationParams
- func (o *AdminCreateInventoryConfigurationParams) WithNamespace(namespace string) *AdminCreateInventoryConfigurationParams
- func (o *AdminCreateInventoryConfigurationParams) WithTimeout(timeout time.Duration) *AdminCreateInventoryConfigurationParams
- func (o *AdminCreateInventoryConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateInventoryConfigurationReader
- type AdminDeleteInventoryConfigurationBadRequest
- type AdminDeleteInventoryConfigurationInternalServerError
- type AdminDeleteInventoryConfigurationNoContent
- type AdminDeleteInventoryConfigurationNotFound
- type AdminDeleteInventoryConfigurationParams
- func NewAdminDeleteInventoryConfigurationParams() *AdminDeleteInventoryConfigurationParams
- func NewAdminDeleteInventoryConfigurationParamsWithContext(ctx context.Context) *AdminDeleteInventoryConfigurationParams
- func NewAdminDeleteInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminDeleteInventoryConfigurationParams
- func NewAdminDeleteInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminDeleteInventoryConfigurationParams
- func (o *AdminDeleteInventoryConfigurationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteInventoryConfigurationParams) SetContext(ctx context.Context)
- func (o *AdminDeleteInventoryConfigurationParams) SetFlightId(flightId string)
- func (o *AdminDeleteInventoryConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteInventoryConfigurationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteInventoryConfigurationParams) SetInventoryConfigurationID(inventoryConfigurationID string)
- func (o *AdminDeleteInventoryConfigurationParams) SetNamespace(namespace string)
- func (o *AdminDeleteInventoryConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteInventoryConfigurationParams) WithContext(ctx context.Context) *AdminDeleteInventoryConfigurationParams
- func (o *AdminDeleteInventoryConfigurationParams) WithHTTPClient(client *http.Client) *AdminDeleteInventoryConfigurationParams
- func (o *AdminDeleteInventoryConfigurationParams) WithInventoryConfigurationID(inventoryConfigurationID string) *AdminDeleteInventoryConfigurationParams
- func (o *AdminDeleteInventoryConfigurationParams) WithNamespace(namespace string) *AdminDeleteInventoryConfigurationParams
- func (o *AdminDeleteInventoryConfigurationParams) WithTimeout(timeout time.Duration) *AdminDeleteInventoryConfigurationParams
- func (o *AdminDeleteInventoryConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteInventoryConfigurationReader
- type AdminGetInventoryConfigurationBadRequest
- type AdminGetInventoryConfigurationInternalServerError
- type AdminGetInventoryConfigurationNotFound
- type AdminGetInventoryConfigurationOK
- type AdminGetInventoryConfigurationParams
- func NewAdminGetInventoryConfigurationParams() *AdminGetInventoryConfigurationParams
- func NewAdminGetInventoryConfigurationParamsWithContext(ctx context.Context) *AdminGetInventoryConfigurationParams
- func NewAdminGetInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminGetInventoryConfigurationParams
- func NewAdminGetInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminGetInventoryConfigurationParams
- func (o *AdminGetInventoryConfigurationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetInventoryConfigurationParams) SetContext(ctx context.Context)
- func (o *AdminGetInventoryConfigurationParams) SetFlightId(flightId string)
- func (o *AdminGetInventoryConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetInventoryConfigurationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetInventoryConfigurationParams) SetInventoryConfigurationID(inventoryConfigurationID string)
- func (o *AdminGetInventoryConfigurationParams) SetNamespace(namespace string)
- func (o *AdminGetInventoryConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetInventoryConfigurationParams) WithContext(ctx context.Context) *AdminGetInventoryConfigurationParams
- func (o *AdminGetInventoryConfigurationParams) WithHTTPClient(client *http.Client) *AdminGetInventoryConfigurationParams
- func (o *AdminGetInventoryConfigurationParams) WithInventoryConfigurationID(inventoryConfigurationID string) *AdminGetInventoryConfigurationParams
- func (o *AdminGetInventoryConfigurationParams) WithNamespace(namespace string) *AdminGetInventoryConfigurationParams
- func (o *AdminGetInventoryConfigurationParams) WithTimeout(timeout time.Duration) *AdminGetInventoryConfigurationParams
- func (o *AdminGetInventoryConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetInventoryConfigurationReader
- type AdminListInventoryConfigurationsBadRequest
- type AdminListInventoryConfigurationsInternalServerError
- type AdminListInventoryConfigurationsOK
- type AdminListInventoryConfigurationsParams
- func NewAdminListInventoryConfigurationsParams() *AdminListInventoryConfigurationsParams
- func NewAdminListInventoryConfigurationsParamsWithContext(ctx context.Context) *AdminListInventoryConfigurationsParams
- func NewAdminListInventoryConfigurationsParamsWithHTTPClient(client *http.Client) *AdminListInventoryConfigurationsParams
- func NewAdminListInventoryConfigurationsParamsWithTimeout(timeout time.Duration) *AdminListInventoryConfigurationsParams
- func (o *AdminListInventoryConfigurationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListInventoryConfigurationsParams) SetCode(code *string)
- func (o *AdminListInventoryConfigurationsParams) SetContext(ctx context.Context)
- func (o *AdminListInventoryConfigurationsParams) SetFlightId(flightId string)
- func (o *AdminListInventoryConfigurationsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListInventoryConfigurationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListInventoryConfigurationsParams) SetLimit(limit *int64)
- func (o *AdminListInventoryConfigurationsParams) SetNamespace(namespace string)
- func (o *AdminListInventoryConfigurationsParams) SetOffset(offset *int64)
- func (o *AdminListInventoryConfigurationsParams) SetSortBy(sortBy *string)
- func (o *AdminListInventoryConfigurationsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListInventoryConfigurationsParams) WithCode(code *string) *AdminListInventoryConfigurationsParams
- func (o *AdminListInventoryConfigurationsParams) WithContext(ctx context.Context) *AdminListInventoryConfigurationsParams
- func (o *AdminListInventoryConfigurationsParams) WithHTTPClient(client *http.Client) *AdminListInventoryConfigurationsParams
- func (o *AdminListInventoryConfigurationsParams) WithLimit(limit *int64) *AdminListInventoryConfigurationsParams
- func (o *AdminListInventoryConfigurationsParams) WithNamespace(namespace string) *AdminListInventoryConfigurationsParams
- func (o *AdminListInventoryConfigurationsParams) WithOffset(offset *int64) *AdminListInventoryConfigurationsParams
- func (o *AdminListInventoryConfigurationsParams) WithSortBy(sortBy *string) *AdminListInventoryConfigurationsParams
- func (o *AdminListInventoryConfigurationsParams) WithTimeout(timeout time.Duration) *AdminListInventoryConfigurationsParams
- func (o *AdminListInventoryConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListInventoryConfigurationsReader
- type AdminUpdateInventoryConfigurationBadRequest
- type AdminUpdateInventoryConfigurationConflict
- type AdminUpdateInventoryConfigurationInternalServerError
- type AdminUpdateInventoryConfigurationNotFound
- type AdminUpdateInventoryConfigurationOK
- type AdminUpdateInventoryConfigurationParams
- func NewAdminUpdateInventoryConfigurationParams() *AdminUpdateInventoryConfigurationParams
- func NewAdminUpdateInventoryConfigurationParamsWithContext(ctx context.Context) *AdminUpdateInventoryConfigurationParams
- func NewAdminUpdateInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminUpdateInventoryConfigurationParams
- func NewAdminUpdateInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminUpdateInventoryConfigurationParams
- func (o *AdminUpdateInventoryConfigurationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateInventoryConfigurationParams) SetBody(body *inventoryclientmodels.ApimodelsInventoryConfigurationReq)
- func (o *AdminUpdateInventoryConfigurationParams) SetContext(ctx context.Context)
- func (o *AdminUpdateInventoryConfigurationParams) SetFlightId(flightId string)
- func (o *AdminUpdateInventoryConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateInventoryConfigurationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateInventoryConfigurationParams) SetInventoryConfigurationID(inventoryConfigurationID string)
- func (o *AdminUpdateInventoryConfigurationParams) SetNamespace(namespace string)
- func (o *AdminUpdateInventoryConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateInventoryConfigurationParams) WithBody(body *inventoryclientmodels.ApimodelsInventoryConfigurationReq) *AdminUpdateInventoryConfigurationParams
- func (o *AdminUpdateInventoryConfigurationParams) WithContext(ctx context.Context) *AdminUpdateInventoryConfigurationParams
- func (o *AdminUpdateInventoryConfigurationParams) WithHTTPClient(client *http.Client) *AdminUpdateInventoryConfigurationParams
- func (o *AdminUpdateInventoryConfigurationParams) WithInventoryConfigurationID(inventoryConfigurationID string) *AdminUpdateInventoryConfigurationParams
- func (o *AdminUpdateInventoryConfigurationParams) WithNamespace(namespace string) *AdminUpdateInventoryConfigurationParams
- func (o *AdminUpdateInventoryConfigurationParams) WithTimeout(timeout time.Duration) *AdminUpdateInventoryConfigurationParams
- func (o *AdminUpdateInventoryConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateInventoryConfigurationReader
- type Client
- func (a *Client) AdminCreateInventoryConfiguration(params *AdminCreateInventoryConfigurationParams, ...) (*AdminCreateInventoryConfigurationCreated, ...)deprecated
- func (a *Client) AdminCreateInventoryConfigurationShort(params *AdminCreateInventoryConfigurationParams, ...) (*AdminCreateInventoryConfigurationCreated, error)
- func (a *Client) AdminDeleteInventoryConfiguration(params *AdminDeleteInventoryConfigurationParams, ...) (*AdminDeleteInventoryConfigurationNoContent, ...)deprecated
- func (a *Client) AdminDeleteInventoryConfigurationShort(params *AdminDeleteInventoryConfigurationParams, ...) (*AdminDeleteInventoryConfigurationNoContent, error)
- func (a *Client) AdminGetInventoryConfiguration(params *AdminGetInventoryConfigurationParams, ...) (*AdminGetInventoryConfigurationOK, *AdminGetInventoryConfigurationBadRequest, ...)deprecated
- func (a *Client) AdminGetInventoryConfigurationShort(params *AdminGetInventoryConfigurationParams, ...) (*AdminGetInventoryConfigurationOK, error)
- func (a *Client) AdminListInventoryConfigurations(params *AdminListInventoryConfigurationsParams, ...) (*AdminListInventoryConfigurationsOK, ...)deprecated
- func (a *Client) AdminListInventoryConfigurationsShort(params *AdminListInventoryConfigurationsParams, ...) (*AdminListInventoryConfigurationsOK, error)
- func (a *Client) AdminUpdateInventoryConfiguration(params *AdminUpdateInventoryConfigurationParams, ...) (*AdminUpdateInventoryConfigurationOK, ...)deprecated
- func (a *Client) AdminUpdateInventoryConfigurationShort(params *AdminUpdateInventoryConfigurationParams, ...) (*AdminUpdateInventoryConfigurationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
const ( AdminListInventoryConfigurationsCodeConstant = "code" AdminListInventoryConfigurationsCodeAscConstant = "code:asc" AdminListInventoryConfigurationsCodeDescConstant = "code:desc" AdminListInventoryConfigurationsCreatedAtConstant = "createdAt" AdminListInventoryConfigurationsCreatedAtAscConstant = "createdAt:asc" AdminListInventoryConfigurationsCreatedAtDescConstant = "createdAt:desc" AdminListInventoryConfigurationsUpdatedAtConstant = "updatedAt" AdminListInventoryConfigurationsUpdatedAtAscConstant = "updatedAt:asc" AdminListInventoryConfigurationsUpdatedAtDescConstant = "updatedAt:desc" )
Get the enum in AdminListInventoryConfigurationsParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateInventoryConfigurationBadRequest ¶
type AdminCreateInventoryConfigurationBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminCreateInventoryConfigurationBadRequest handles this case with default header values.
Bad Request
func NewAdminCreateInventoryConfigurationBadRequest ¶
func NewAdminCreateInventoryConfigurationBadRequest() *AdminCreateInventoryConfigurationBadRequest
NewAdminCreateInventoryConfigurationBadRequest creates a AdminCreateInventoryConfigurationBadRequest with default headers values
func (*AdminCreateInventoryConfigurationBadRequest) Error ¶
func (o *AdminCreateInventoryConfigurationBadRequest) Error() string
func (*AdminCreateInventoryConfigurationBadRequest) GetPayload ¶
func (o *AdminCreateInventoryConfigurationBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminCreateInventoryConfigurationBadRequest) ToJSONString ¶
func (o *AdminCreateInventoryConfigurationBadRequest) ToJSONString() string
type AdminCreateInventoryConfigurationConflict ¶
type AdminCreateInventoryConfigurationConflict struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminCreateInventoryConfigurationConflict handles this case with default header values.
Conflict
func NewAdminCreateInventoryConfigurationConflict ¶
func NewAdminCreateInventoryConfigurationConflict() *AdminCreateInventoryConfigurationConflict
NewAdminCreateInventoryConfigurationConflict creates a AdminCreateInventoryConfigurationConflict with default headers values
func (*AdminCreateInventoryConfigurationConflict) Error ¶
func (o *AdminCreateInventoryConfigurationConflict) Error() string
func (*AdminCreateInventoryConfigurationConflict) GetPayload ¶
func (o *AdminCreateInventoryConfigurationConflict) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminCreateInventoryConfigurationConflict) ToJSONString ¶
func (o *AdminCreateInventoryConfigurationConflict) ToJSONString() string
type AdminCreateInventoryConfigurationCreated ¶
type AdminCreateInventoryConfigurationCreated struct {
Payload *inventoryclientmodels.ApimodelsInventoryConfigurationResp
}
AdminCreateInventoryConfigurationCreated handles this case with default header values.
Created
func NewAdminCreateInventoryConfigurationCreated ¶
func NewAdminCreateInventoryConfigurationCreated() *AdminCreateInventoryConfigurationCreated
NewAdminCreateInventoryConfigurationCreated creates a AdminCreateInventoryConfigurationCreated with default headers values
func (*AdminCreateInventoryConfigurationCreated) Error ¶
func (o *AdminCreateInventoryConfigurationCreated) Error() string
func (*AdminCreateInventoryConfigurationCreated) GetPayload ¶
func (o *AdminCreateInventoryConfigurationCreated) GetPayload() *inventoryclientmodels.ApimodelsInventoryConfigurationResp
func (*AdminCreateInventoryConfigurationCreated) ToJSONString ¶
func (o *AdminCreateInventoryConfigurationCreated) ToJSONString() string
type AdminCreateInventoryConfigurationInternalServerError ¶
type AdminCreateInventoryConfigurationInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminCreateInventoryConfigurationInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminCreateInventoryConfigurationInternalServerError ¶
func NewAdminCreateInventoryConfigurationInternalServerError() *AdminCreateInventoryConfigurationInternalServerError
NewAdminCreateInventoryConfigurationInternalServerError creates a AdminCreateInventoryConfigurationInternalServerError with default headers values
func (*AdminCreateInventoryConfigurationInternalServerError) Error ¶
func (o *AdminCreateInventoryConfigurationInternalServerError) Error() string
func (*AdminCreateInventoryConfigurationInternalServerError) GetPayload ¶
func (o *AdminCreateInventoryConfigurationInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminCreateInventoryConfigurationInternalServerError) ToJSONString ¶
func (o *AdminCreateInventoryConfigurationInternalServerError) ToJSONString() string
type AdminCreateInventoryConfigurationParams ¶
type AdminCreateInventoryConfigurationParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsCreateInventoryConfigurationReq /*Namespace Namespace */ Namespace 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 }
AdminCreateInventoryConfigurationParams contains all the parameters to send to the API endpoint for the admin create inventory configuration operation typically these are written to a http.Request
func NewAdminCreateInventoryConfigurationParams ¶
func NewAdminCreateInventoryConfigurationParams() *AdminCreateInventoryConfigurationParams
NewAdminCreateInventoryConfigurationParams creates a new AdminCreateInventoryConfigurationParams object with the default values initialized.
func NewAdminCreateInventoryConfigurationParamsWithContext ¶
func NewAdminCreateInventoryConfigurationParamsWithContext(ctx context.Context) *AdminCreateInventoryConfigurationParams
NewAdminCreateInventoryConfigurationParamsWithContext creates a new AdminCreateInventoryConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateInventoryConfigurationParamsWithHTTPClient ¶
func NewAdminCreateInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminCreateInventoryConfigurationParams
NewAdminCreateInventoryConfigurationParamsWithHTTPClient creates a new AdminCreateInventoryConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateInventoryConfigurationParamsWithTimeout ¶
func NewAdminCreateInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminCreateInventoryConfigurationParams
NewAdminCreateInventoryConfigurationParamsWithTimeout creates a new AdminCreateInventoryConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateInventoryConfigurationParams) SetAuthInfoWriter ¶
func (o *AdminCreateInventoryConfigurationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) SetBody ¶
func (o *AdminCreateInventoryConfigurationParams) SetBody(body *inventoryclientmodels.ApimodelsCreateInventoryConfigurationReq)
SetBody adds the body to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) SetContext ¶
func (o *AdminCreateInventoryConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) SetFlightId ¶ added in v0.63.0
func (o *AdminCreateInventoryConfigurationParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminCreateInventoryConfigurationParams) SetHTTPClient ¶
func (o *AdminCreateInventoryConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) SetHTTPClientTransport ¶
func (o *AdminCreateInventoryConfigurationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) SetNamespace ¶
func (o *AdminCreateInventoryConfigurationParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) SetTimeout ¶
func (o *AdminCreateInventoryConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) WithBody ¶
func (o *AdminCreateInventoryConfigurationParams) WithBody(body *inventoryclientmodels.ApimodelsCreateInventoryConfigurationReq) *AdminCreateInventoryConfigurationParams
WithBody adds the body to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) WithContext ¶
func (o *AdminCreateInventoryConfigurationParams) WithContext(ctx context.Context) *AdminCreateInventoryConfigurationParams
WithContext adds the context to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) WithHTTPClient ¶
func (o *AdminCreateInventoryConfigurationParams) WithHTTPClient(client *http.Client) *AdminCreateInventoryConfigurationParams
WithHTTPClient adds the HTTPClient to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) WithNamespace ¶
func (o *AdminCreateInventoryConfigurationParams) WithNamespace(namespace string) *AdminCreateInventoryConfigurationParams
WithNamespace adds the namespace to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) WithTimeout ¶
func (o *AdminCreateInventoryConfigurationParams) WithTimeout(timeout time.Duration) *AdminCreateInventoryConfigurationParams
WithTimeout adds the timeout to the admin create inventory configuration params
func (*AdminCreateInventoryConfigurationParams) WriteToRequest ¶
func (o *AdminCreateInventoryConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateInventoryConfigurationReader ¶
type AdminCreateInventoryConfigurationReader struct {
// contains filtered or unexported fields
}
AdminCreateInventoryConfigurationReader is a Reader for the AdminCreateInventoryConfiguration structure.
func (*AdminCreateInventoryConfigurationReader) ReadResponse ¶
func (o *AdminCreateInventoryConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteInventoryConfigurationBadRequest ¶
type AdminDeleteInventoryConfigurationBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminDeleteInventoryConfigurationBadRequest handles this case with default header values.
Bad Request
func NewAdminDeleteInventoryConfigurationBadRequest ¶
func NewAdminDeleteInventoryConfigurationBadRequest() *AdminDeleteInventoryConfigurationBadRequest
NewAdminDeleteInventoryConfigurationBadRequest creates a AdminDeleteInventoryConfigurationBadRequest with default headers values
func (*AdminDeleteInventoryConfigurationBadRequest) Error ¶
func (o *AdminDeleteInventoryConfigurationBadRequest) Error() string
func (*AdminDeleteInventoryConfigurationBadRequest) GetPayload ¶
func (o *AdminDeleteInventoryConfigurationBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminDeleteInventoryConfigurationBadRequest) ToJSONString ¶
func (o *AdminDeleteInventoryConfigurationBadRequest) ToJSONString() string
type AdminDeleteInventoryConfigurationInternalServerError ¶
type AdminDeleteInventoryConfigurationInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminDeleteInventoryConfigurationInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminDeleteInventoryConfigurationInternalServerError ¶
func NewAdminDeleteInventoryConfigurationInternalServerError() *AdminDeleteInventoryConfigurationInternalServerError
NewAdminDeleteInventoryConfigurationInternalServerError creates a AdminDeleteInventoryConfigurationInternalServerError with default headers values
func (*AdminDeleteInventoryConfigurationInternalServerError) Error ¶
func (o *AdminDeleteInventoryConfigurationInternalServerError) Error() string
func (*AdminDeleteInventoryConfigurationInternalServerError) GetPayload ¶
func (o *AdminDeleteInventoryConfigurationInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminDeleteInventoryConfigurationInternalServerError) ToJSONString ¶
func (o *AdminDeleteInventoryConfigurationInternalServerError) ToJSONString() string
type AdminDeleteInventoryConfigurationNoContent ¶
type AdminDeleteInventoryConfigurationNoContent struct { }
AdminDeleteInventoryConfigurationNoContent handles this case with default header values.
No Content
func NewAdminDeleteInventoryConfigurationNoContent ¶
func NewAdminDeleteInventoryConfigurationNoContent() *AdminDeleteInventoryConfigurationNoContent
NewAdminDeleteInventoryConfigurationNoContent creates a AdminDeleteInventoryConfigurationNoContent with default headers values
func (*AdminDeleteInventoryConfigurationNoContent) Error ¶
func (o *AdminDeleteInventoryConfigurationNoContent) Error() string
type AdminDeleteInventoryConfigurationNotFound ¶
type AdminDeleteInventoryConfigurationNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminDeleteInventoryConfigurationNotFound handles this case with default header values.
Not Found
func NewAdminDeleteInventoryConfigurationNotFound ¶
func NewAdminDeleteInventoryConfigurationNotFound() *AdminDeleteInventoryConfigurationNotFound
NewAdminDeleteInventoryConfigurationNotFound creates a AdminDeleteInventoryConfigurationNotFound with default headers values
func (*AdminDeleteInventoryConfigurationNotFound) Error ¶
func (o *AdminDeleteInventoryConfigurationNotFound) Error() string
func (*AdminDeleteInventoryConfigurationNotFound) GetPayload ¶
func (o *AdminDeleteInventoryConfigurationNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminDeleteInventoryConfigurationNotFound) ToJSONString ¶
func (o *AdminDeleteInventoryConfigurationNotFound) ToJSONString() string
type AdminDeleteInventoryConfigurationParams ¶
type AdminDeleteInventoryConfigurationParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*InventoryConfigurationID InventoryConfigurationID */ InventoryConfigurationID string /*Namespace Namespace */ Namespace 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 }
AdminDeleteInventoryConfigurationParams contains all the parameters to send to the API endpoint for the admin delete inventory configuration operation typically these are written to a http.Request
func NewAdminDeleteInventoryConfigurationParams ¶
func NewAdminDeleteInventoryConfigurationParams() *AdminDeleteInventoryConfigurationParams
NewAdminDeleteInventoryConfigurationParams creates a new AdminDeleteInventoryConfigurationParams object with the default values initialized.
func NewAdminDeleteInventoryConfigurationParamsWithContext ¶
func NewAdminDeleteInventoryConfigurationParamsWithContext(ctx context.Context) *AdminDeleteInventoryConfigurationParams
NewAdminDeleteInventoryConfigurationParamsWithContext creates a new AdminDeleteInventoryConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteInventoryConfigurationParamsWithHTTPClient ¶
func NewAdminDeleteInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminDeleteInventoryConfigurationParams
NewAdminDeleteInventoryConfigurationParamsWithHTTPClient creates a new AdminDeleteInventoryConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteInventoryConfigurationParamsWithTimeout ¶
func NewAdminDeleteInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminDeleteInventoryConfigurationParams
NewAdminDeleteInventoryConfigurationParamsWithTimeout creates a new AdminDeleteInventoryConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteInventoryConfigurationParams) SetAuthInfoWriter ¶
func (o *AdminDeleteInventoryConfigurationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) SetContext ¶
func (o *AdminDeleteInventoryConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) SetFlightId ¶ added in v0.63.0
func (o *AdminDeleteInventoryConfigurationParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminDeleteInventoryConfigurationParams) SetHTTPClient ¶
func (o *AdminDeleteInventoryConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) SetHTTPClientTransport ¶
func (o *AdminDeleteInventoryConfigurationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) SetInventoryConfigurationID ¶
func (o *AdminDeleteInventoryConfigurationParams) SetInventoryConfigurationID(inventoryConfigurationID string)
SetInventoryConfigurationID adds the inventoryConfigurationId to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) SetNamespace ¶
func (o *AdminDeleteInventoryConfigurationParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) SetTimeout ¶
func (o *AdminDeleteInventoryConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) WithContext ¶
func (o *AdminDeleteInventoryConfigurationParams) WithContext(ctx context.Context) *AdminDeleteInventoryConfigurationParams
WithContext adds the context to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) WithHTTPClient ¶
func (o *AdminDeleteInventoryConfigurationParams) WithHTTPClient(client *http.Client) *AdminDeleteInventoryConfigurationParams
WithHTTPClient adds the HTTPClient to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) WithInventoryConfigurationID ¶
func (o *AdminDeleteInventoryConfigurationParams) WithInventoryConfigurationID(inventoryConfigurationID string) *AdminDeleteInventoryConfigurationParams
WithInventoryConfigurationID adds the inventoryConfigurationID to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) WithNamespace ¶
func (o *AdminDeleteInventoryConfigurationParams) WithNamespace(namespace string) *AdminDeleteInventoryConfigurationParams
WithNamespace adds the namespace to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) WithTimeout ¶
func (o *AdminDeleteInventoryConfigurationParams) WithTimeout(timeout time.Duration) *AdminDeleteInventoryConfigurationParams
WithTimeout adds the timeout to the admin delete inventory configuration params
func (*AdminDeleteInventoryConfigurationParams) WriteToRequest ¶
func (o *AdminDeleteInventoryConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteInventoryConfigurationReader ¶
type AdminDeleteInventoryConfigurationReader struct {
// contains filtered or unexported fields
}
AdminDeleteInventoryConfigurationReader is a Reader for the AdminDeleteInventoryConfiguration structure.
func (*AdminDeleteInventoryConfigurationReader) ReadResponse ¶
func (o *AdminDeleteInventoryConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetInventoryConfigurationBadRequest ¶
type AdminGetInventoryConfigurationBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryConfigurationBadRequest handles this case with default header values.
Bad Request
func NewAdminGetInventoryConfigurationBadRequest ¶
func NewAdminGetInventoryConfigurationBadRequest() *AdminGetInventoryConfigurationBadRequest
NewAdminGetInventoryConfigurationBadRequest creates a AdminGetInventoryConfigurationBadRequest with default headers values
func (*AdminGetInventoryConfigurationBadRequest) Error ¶
func (o *AdminGetInventoryConfigurationBadRequest) Error() string
func (*AdminGetInventoryConfigurationBadRequest) GetPayload ¶
func (o *AdminGetInventoryConfigurationBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryConfigurationBadRequest) ToJSONString ¶
func (o *AdminGetInventoryConfigurationBadRequest) ToJSONString() string
type AdminGetInventoryConfigurationInternalServerError ¶
type AdminGetInventoryConfigurationInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryConfigurationInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetInventoryConfigurationInternalServerError ¶
func NewAdminGetInventoryConfigurationInternalServerError() *AdminGetInventoryConfigurationInternalServerError
NewAdminGetInventoryConfigurationInternalServerError creates a AdminGetInventoryConfigurationInternalServerError with default headers values
func (*AdminGetInventoryConfigurationInternalServerError) Error ¶
func (o *AdminGetInventoryConfigurationInternalServerError) Error() string
func (*AdminGetInventoryConfigurationInternalServerError) GetPayload ¶
func (o *AdminGetInventoryConfigurationInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryConfigurationInternalServerError) ToJSONString ¶
func (o *AdminGetInventoryConfigurationInternalServerError) ToJSONString() string
type AdminGetInventoryConfigurationNotFound ¶
type AdminGetInventoryConfigurationNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryConfigurationNotFound handles this case with default header values.
Not Found
func NewAdminGetInventoryConfigurationNotFound ¶
func NewAdminGetInventoryConfigurationNotFound() *AdminGetInventoryConfigurationNotFound
NewAdminGetInventoryConfigurationNotFound creates a AdminGetInventoryConfigurationNotFound with default headers values
func (*AdminGetInventoryConfigurationNotFound) Error ¶
func (o *AdminGetInventoryConfigurationNotFound) Error() string
func (*AdminGetInventoryConfigurationNotFound) GetPayload ¶
func (o *AdminGetInventoryConfigurationNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryConfigurationNotFound) ToJSONString ¶
func (o *AdminGetInventoryConfigurationNotFound) ToJSONString() string
type AdminGetInventoryConfigurationOK ¶
type AdminGetInventoryConfigurationOK struct {
Payload *inventoryclientmodels.ApimodelsInventoryConfigurationResp
}
AdminGetInventoryConfigurationOK handles this case with default header values.
OK
func NewAdminGetInventoryConfigurationOK ¶
func NewAdminGetInventoryConfigurationOK() *AdminGetInventoryConfigurationOK
NewAdminGetInventoryConfigurationOK creates a AdminGetInventoryConfigurationOK with default headers values
func (*AdminGetInventoryConfigurationOK) Error ¶
func (o *AdminGetInventoryConfigurationOK) Error() string
func (*AdminGetInventoryConfigurationOK) GetPayload ¶
func (o *AdminGetInventoryConfigurationOK) GetPayload() *inventoryclientmodels.ApimodelsInventoryConfigurationResp
func (*AdminGetInventoryConfigurationOK) ToJSONString ¶
func (o *AdminGetInventoryConfigurationOK) ToJSONString() string
type AdminGetInventoryConfigurationParams ¶
type AdminGetInventoryConfigurationParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*InventoryConfigurationID InventoryConfigurationID */ InventoryConfigurationID string /*Namespace Namespace */ Namespace 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 }
AdminGetInventoryConfigurationParams contains all the parameters to send to the API endpoint for the admin get inventory configuration operation typically these are written to a http.Request
func NewAdminGetInventoryConfigurationParams ¶
func NewAdminGetInventoryConfigurationParams() *AdminGetInventoryConfigurationParams
NewAdminGetInventoryConfigurationParams creates a new AdminGetInventoryConfigurationParams object with the default values initialized.
func NewAdminGetInventoryConfigurationParamsWithContext ¶
func NewAdminGetInventoryConfigurationParamsWithContext(ctx context.Context) *AdminGetInventoryConfigurationParams
NewAdminGetInventoryConfigurationParamsWithContext creates a new AdminGetInventoryConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetInventoryConfigurationParamsWithHTTPClient ¶
func NewAdminGetInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminGetInventoryConfigurationParams
NewAdminGetInventoryConfigurationParamsWithHTTPClient creates a new AdminGetInventoryConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetInventoryConfigurationParamsWithTimeout ¶
func NewAdminGetInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminGetInventoryConfigurationParams
NewAdminGetInventoryConfigurationParamsWithTimeout creates a new AdminGetInventoryConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetInventoryConfigurationParams) SetAuthInfoWriter ¶
func (o *AdminGetInventoryConfigurationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) SetContext ¶
func (o *AdminGetInventoryConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) SetFlightId ¶ added in v0.63.0
func (o *AdminGetInventoryConfigurationParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetInventoryConfigurationParams) SetHTTPClient ¶
func (o *AdminGetInventoryConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) SetHTTPClientTransport ¶
func (o *AdminGetInventoryConfigurationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) SetInventoryConfigurationID ¶
func (o *AdminGetInventoryConfigurationParams) SetInventoryConfigurationID(inventoryConfigurationID string)
SetInventoryConfigurationID adds the inventoryConfigurationId to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) SetNamespace ¶
func (o *AdminGetInventoryConfigurationParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) SetTimeout ¶
func (o *AdminGetInventoryConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) WithContext ¶
func (o *AdminGetInventoryConfigurationParams) WithContext(ctx context.Context) *AdminGetInventoryConfigurationParams
WithContext adds the context to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) WithHTTPClient ¶
func (o *AdminGetInventoryConfigurationParams) WithHTTPClient(client *http.Client) *AdminGetInventoryConfigurationParams
WithHTTPClient adds the HTTPClient to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) WithInventoryConfigurationID ¶
func (o *AdminGetInventoryConfigurationParams) WithInventoryConfigurationID(inventoryConfigurationID string) *AdminGetInventoryConfigurationParams
WithInventoryConfigurationID adds the inventoryConfigurationID to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) WithNamespace ¶
func (o *AdminGetInventoryConfigurationParams) WithNamespace(namespace string) *AdminGetInventoryConfigurationParams
WithNamespace adds the namespace to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) WithTimeout ¶
func (o *AdminGetInventoryConfigurationParams) WithTimeout(timeout time.Duration) *AdminGetInventoryConfigurationParams
WithTimeout adds the timeout to the admin get inventory configuration params
func (*AdminGetInventoryConfigurationParams) WriteToRequest ¶
func (o *AdminGetInventoryConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetInventoryConfigurationReader ¶
type AdminGetInventoryConfigurationReader struct {
// contains filtered or unexported fields
}
AdminGetInventoryConfigurationReader is a Reader for the AdminGetInventoryConfiguration structure.
func (*AdminGetInventoryConfigurationReader) ReadResponse ¶
func (o *AdminGetInventoryConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListInventoryConfigurationsBadRequest ¶
type AdminListInventoryConfigurationsBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListInventoryConfigurationsBadRequest handles this case with default header values.
Bad Request
func NewAdminListInventoryConfigurationsBadRequest ¶
func NewAdminListInventoryConfigurationsBadRequest() *AdminListInventoryConfigurationsBadRequest
NewAdminListInventoryConfigurationsBadRequest creates a AdminListInventoryConfigurationsBadRequest with default headers values
func (*AdminListInventoryConfigurationsBadRequest) Error ¶
func (o *AdminListInventoryConfigurationsBadRequest) Error() string
func (*AdminListInventoryConfigurationsBadRequest) GetPayload ¶
func (o *AdminListInventoryConfigurationsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListInventoryConfigurationsBadRequest) ToJSONString ¶
func (o *AdminListInventoryConfigurationsBadRequest) ToJSONString() string
type AdminListInventoryConfigurationsInternalServerError ¶
type AdminListInventoryConfigurationsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListInventoryConfigurationsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListInventoryConfigurationsInternalServerError ¶
func NewAdminListInventoryConfigurationsInternalServerError() *AdminListInventoryConfigurationsInternalServerError
NewAdminListInventoryConfigurationsInternalServerError creates a AdminListInventoryConfigurationsInternalServerError with default headers values
func (*AdminListInventoryConfigurationsInternalServerError) Error ¶
func (o *AdminListInventoryConfigurationsInternalServerError) Error() string
func (*AdminListInventoryConfigurationsInternalServerError) GetPayload ¶
func (o *AdminListInventoryConfigurationsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListInventoryConfigurationsInternalServerError) ToJSONString ¶
func (o *AdminListInventoryConfigurationsInternalServerError) ToJSONString() string
type AdminListInventoryConfigurationsOK ¶
type AdminListInventoryConfigurationsOK struct {
Payload *inventoryclientmodels.ApimodelsListInventoryConfigurationsResp
}
AdminListInventoryConfigurationsOK handles this case with default header values.
OK
func NewAdminListInventoryConfigurationsOK ¶
func NewAdminListInventoryConfigurationsOK() *AdminListInventoryConfigurationsOK
NewAdminListInventoryConfigurationsOK creates a AdminListInventoryConfigurationsOK with default headers values
func (*AdminListInventoryConfigurationsOK) Error ¶
func (o *AdminListInventoryConfigurationsOK) Error() string
func (*AdminListInventoryConfigurationsOK) GetPayload ¶
func (o *AdminListInventoryConfigurationsOK) GetPayload() *inventoryclientmodels.ApimodelsListInventoryConfigurationsResp
func (*AdminListInventoryConfigurationsOK) ToJSONString ¶
func (o *AdminListInventoryConfigurationsOK) ToJSONString() string
type AdminListInventoryConfigurationsParams ¶
type AdminListInventoryConfigurationsParams 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 }
AdminListInventoryConfigurationsParams contains all the parameters to send to the API endpoint for the admin list inventory configurations operation typically these are written to a http.Request
func NewAdminListInventoryConfigurationsParams ¶
func NewAdminListInventoryConfigurationsParams() *AdminListInventoryConfigurationsParams
NewAdminListInventoryConfigurationsParams creates a new AdminListInventoryConfigurationsParams object with the default values initialized.
func NewAdminListInventoryConfigurationsParamsWithContext ¶
func NewAdminListInventoryConfigurationsParamsWithContext(ctx context.Context) *AdminListInventoryConfigurationsParams
NewAdminListInventoryConfigurationsParamsWithContext creates a new AdminListInventoryConfigurationsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListInventoryConfigurationsParamsWithHTTPClient ¶
func NewAdminListInventoryConfigurationsParamsWithHTTPClient(client *http.Client) *AdminListInventoryConfigurationsParams
NewAdminListInventoryConfigurationsParamsWithHTTPClient creates a new AdminListInventoryConfigurationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListInventoryConfigurationsParamsWithTimeout ¶
func NewAdminListInventoryConfigurationsParamsWithTimeout(timeout time.Duration) *AdminListInventoryConfigurationsParams
NewAdminListInventoryConfigurationsParamsWithTimeout creates a new AdminListInventoryConfigurationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListInventoryConfigurationsParams) SetAuthInfoWriter ¶
func (o *AdminListInventoryConfigurationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) SetCode ¶
func (o *AdminListInventoryConfigurationsParams) SetCode(code *string)
SetCode adds the code to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) SetContext ¶
func (o *AdminListInventoryConfigurationsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) SetFlightId ¶ added in v0.63.0
func (o *AdminListInventoryConfigurationsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminListInventoryConfigurationsParams) SetHTTPClient ¶
func (o *AdminListInventoryConfigurationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) SetHTTPClientTransport ¶
func (o *AdminListInventoryConfigurationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) SetLimit ¶
func (o *AdminListInventoryConfigurationsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) SetNamespace ¶
func (o *AdminListInventoryConfigurationsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) SetOffset ¶
func (o *AdminListInventoryConfigurationsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) SetSortBy ¶
func (o *AdminListInventoryConfigurationsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) SetTimeout ¶
func (o *AdminListInventoryConfigurationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) WithCode ¶
func (o *AdminListInventoryConfigurationsParams) WithCode(code *string) *AdminListInventoryConfigurationsParams
WithCode adds the code to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) WithContext ¶
func (o *AdminListInventoryConfigurationsParams) WithContext(ctx context.Context) *AdminListInventoryConfigurationsParams
WithContext adds the context to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) WithHTTPClient ¶
func (o *AdminListInventoryConfigurationsParams) WithHTTPClient(client *http.Client) *AdminListInventoryConfigurationsParams
WithHTTPClient adds the HTTPClient to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) WithLimit ¶
func (o *AdminListInventoryConfigurationsParams) WithLimit(limit *int64) *AdminListInventoryConfigurationsParams
WithLimit adds the limit to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) WithNamespace ¶
func (o *AdminListInventoryConfigurationsParams) WithNamespace(namespace string) *AdminListInventoryConfigurationsParams
WithNamespace adds the namespace to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) WithOffset ¶
func (o *AdminListInventoryConfigurationsParams) WithOffset(offset *int64) *AdminListInventoryConfigurationsParams
WithOffset adds the offset to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) WithSortBy ¶
func (o *AdminListInventoryConfigurationsParams) WithSortBy(sortBy *string) *AdminListInventoryConfigurationsParams
WithSortBy adds the sortBy to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) WithTimeout ¶
func (o *AdminListInventoryConfigurationsParams) WithTimeout(timeout time.Duration) *AdminListInventoryConfigurationsParams
WithTimeout adds the timeout to the admin list inventory configurations params
func (*AdminListInventoryConfigurationsParams) WriteToRequest ¶
func (o *AdminListInventoryConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListInventoryConfigurationsReader ¶
type AdminListInventoryConfigurationsReader struct {
// contains filtered or unexported fields
}
AdminListInventoryConfigurationsReader is a Reader for the AdminListInventoryConfigurations structure.
func (*AdminListInventoryConfigurationsReader) ReadResponse ¶
func (o *AdminListInventoryConfigurationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateInventoryConfigurationBadRequest ¶
type AdminUpdateInventoryConfigurationBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateInventoryConfigurationBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateInventoryConfigurationBadRequest ¶
func NewAdminUpdateInventoryConfigurationBadRequest() *AdminUpdateInventoryConfigurationBadRequest
NewAdminUpdateInventoryConfigurationBadRequest creates a AdminUpdateInventoryConfigurationBadRequest with default headers values
func (*AdminUpdateInventoryConfigurationBadRequest) Error ¶
func (o *AdminUpdateInventoryConfigurationBadRequest) Error() string
func (*AdminUpdateInventoryConfigurationBadRequest) GetPayload ¶
func (o *AdminUpdateInventoryConfigurationBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateInventoryConfigurationBadRequest) ToJSONString ¶
func (o *AdminUpdateInventoryConfigurationBadRequest) ToJSONString() string
type AdminUpdateInventoryConfigurationConflict ¶
type AdminUpdateInventoryConfigurationConflict struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateInventoryConfigurationConflict handles this case with default header values.
Conflict
func NewAdminUpdateInventoryConfigurationConflict ¶
func NewAdminUpdateInventoryConfigurationConflict() *AdminUpdateInventoryConfigurationConflict
NewAdminUpdateInventoryConfigurationConflict creates a AdminUpdateInventoryConfigurationConflict with default headers values
func (*AdminUpdateInventoryConfigurationConflict) Error ¶
func (o *AdminUpdateInventoryConfigurationConflict) Error() string
func (*AdminUpdateInventoryConfigurationConflict) GetPayload ¶
func (o *AdminUpdateInventoryConfigurationConflict) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateInventoryConfigurationConflict) ToJSONString ¶
func (o *AdminUpdateInventoryConfigurationConflict) ToJSONString() string
type AdminUpdateInventoryConfigurationInternalServerError ¶
type AdminUpdateInventoryConfigurationInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateInventoryConfigurationInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateInventoryConfigurationInternalServerError ¶
func NewAdminUpdateInventoryConfigurationInternalServerError() *AdminUpdateInventoryConfigurationInternalServerError
NewAdminUpdateInventoryConfigurationInternalServerError creates a AdminUpdateInventoryConfigurationInternalServerError with default headers values
func (*AdminUpdateInventoryConfigurationInternalServerError) Error ¶
func (o *AdminUpdateInventoryConfigurationInternalServerError) Error() string
func (*AdminUpdateInventoryConfigurationInternalServerError) GetPayload ¶
func (o *AdminUpdateInventoryConfigurationInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateInventoryConfigurationInternalServerError) ToJSONString ¶
func (o *AdminUpdateInventoryConfigurationInternalServerError) ToJSONString() string
type AdminUpdateInventoryConfigurationNotFound ¶
type AdminUpdateInventoryConfigurationNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateInventoryConfigurationNotFound handles this case with default header values.
Not Found
func NewAdminUpdateInventoryConfigurationNotFound ¶
func NewAdminUpdateInventoryConfigurationNotFound() *AdminUpdateInventoryConfigurationNotFound
NewAdminUpdateInventoryConfigurationNotFound creates a AdminUpdateInventoryConfigurationNotFound with default headers values
func (*AdminUpdateInventoryConfigurationNotFound) Error ¶
func (o *AdminUpdateInventoryConfigurationNotFound) Error() string
func (*AdminUpdateInventoryConfigurationNotFound) GetPayload ¶
func (o *AdminUpdateInventoryConfigurationNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateInventoryConfigurationNotFound) ToJSONString ¶
func (o *AdminUpdateInventoryConfigurationNotFound) ToJSONString() string
type AdminUpdateInventoryConfigurationOK ¶
type AdminUpdateInventoryConfigurationOK struct {
Payload *inventoryclientmodels.ApimodelsInventoryConfigurationResp
}
AdminUpdateInventoryConfigurationOK handles this case with default header values.
OK
func NewAdminUpdateInventoryConfigurationOK ¶
func NewAdminUpdateInventoryConfigurationOK() *AdminUpdateInventoryConfigurationOK
NewAdminUpdateInventoryConfigurationOK creates a AdminUpdateInventoryConfigurationOK with default headers values
func (*AdminUpdateInventoryConfigurationOK) Error ¶
func (o *AdminUpdateInventoryConfigurationOK) Error() string
func (*AdminUpdateInventoryConfigurationOK) GetPayload ¶
func (o *AdminUpdateInventoryConfigurationOK) GetPayload() *inventoryclientmodels.ApimodelsInventoryConfigurationResp
func (*AdminUpdateInventoryConfigurationOK) ToJSONString ¶
func (o *AdminUpdateInventoryConfigurationOK) ToJSONString() string
type AdminUpdateInventoryConfigurationParams ¶
type AdminUpdateInventoryConfigurationParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsInventoryConfigurationReq /*InventoryConfigurationID InventoryConfigurationID */ InventoryConfigurationID string /*Namespace Namespace */ Namespace 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 }
AdminUpdateInventoryConfigurationParams contains all the parameters to send to the API endpoint for the admin update inventory configuration operation typically these are written to a http.Request
func NewAdminUpdateInventoryConfigurationParams ¶
func NewAdminUpdateInventoryConfigurationParams() *AdminUpdateInventoryConfigurationParams
NewAdminUpdateInventoryConfigurationParams creates a new AdminUpdateInventoryConfigurationParams object with the default values initialized.
func NewAdminUpdateInventoryConfigurationParamsWithContext ¶
func NewAdminUpdateInventoryConfigurationParamsWithContext(ctx context.Context) *AdminUpdateInventoryConfigurationParams
NewAdminUpdateInventoryConfigurationParamsWithContext creates a new AdminUpdateInventoryConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateInventoryConfigurationParamsWithHTTPClient ¶
func NewAdminUpdateInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminUpdateInventoryConfigurationParams
NewAdminUpdateInventoryConfigurationParamsWithHTTPClient creates a new AdminUpdateInventoryConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateInventoryConfigurationParamsWithTimeout ¶
func NewAdminUpdateInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminUpdateInventoryConfigurationParams
NewAdminUpdateInventoryConfigurationParamsWithTimeout creates a new AdminUpdateInventoryConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateInventoryConfigurationParams) SetAuthInfoWriter ¶
func (o *AdminUpdateInventoryConfigurationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) SetBody ¶
func (o *AdminUpdateInventoryConfigurationParams) SetBody(body *inventoryclientmodels.ApimodelsInventoryConfigurationReq)
SetBody adds the body to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) SetContext ¶
func (o *AdminUpdateInventoryConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) SetFlightId ¶ added in v0.63.0
func (o *AdminUpdateInventoryConfigurationParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminUpdateInventoryConfigurationParams) SetHTTPClient ¶
func (o *AdminUpdateInventoryConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) SetHTTPClientTransport ¶
func (o *AdminUpdateInventoryConfigurationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) SetInventoryConfigurationID ¶
func (o *AdminUpdateInventoryConfigurationParams) SetInventoryConfigurationID(inventoryConfigurationID string)
SetInventoryConfigurationID adds the inventoryConfigurationId to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) SetNamespace ¶
func (o *AdminUpdateInventoryConfigurationParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) SetTimeout ¶
func (o *AdminUpdateInventoryConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) WithBody ¶
func (o *AdminUpdateInventoryConfigurationParams) WithBody(body *inventoryclientmodels.ApimodelsInventoryConfigurationReq) *AdminUpdateInventoryConfigurationParams
WithBody adds the body to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) WithContext ¶
func (o *AdminUpdateInventoryConfigurationParams) WithContext(ctx context.Context) *AdminUpdateInventoryConfigurationParams
WithContext adds the context to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) WithHTTPClient ¶
func (o *AdminUpdateInventoryConfigurationParams) WithHTTPClient(client *http.Client) *AdminUpdateInventoryConfigurationParams
WithHTTPClient adds the HTTPClient to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) WithInventoryConfigurationID ¶
func (o *AdminUpdateInventoryConfigurationParams) WithInventoryConfigurationID(inventoryConfigurationID string) *AdminUpdateInventoryConfigurationParams
WithInventoryConfigurationID adds the inventoryConfigurationID to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) WithNamespace ¶
func (o *AdminUpdateInventoryConfigurationParams) WithNamespace(namespace string) *AdminUpdateInventoryConfigurationParams
WithNamespace adds the namespace to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) WithTimeout ¶
func (o *AdminUpdateInventoryConfigurationParams) WithTimeout(timeout time.Duration) *AdminUpdateInventoryConfigurationParams
WithTimeout adds the timeout to the admin update inventory configuration params
func (*AdminUpdateInventoryConfigurationParams) WriteToRequest ¶
func (o *AdminUpdateInventoryConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateInventoryConfigurationReader ¶
type AdminUpdateInventoryConfigurationReader struct {
// contains filtered or unexported fields
}
AdminUpdateInventoryConfigurationReader is a Reader for the AdminUpdateInventoryConfiguration structure.
func (*AdminUpdateInventoryConfigurationReader) ReadResponse ¶
func (o *AdminUpdateInventoryConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin inventory configurations API
func (*Client) AdminCreateInventoryConfiguration
deprecated
func (a *Client) AdminCreateInventoryConfiguration(params *AdminCreateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryConfigurationCreated, *AdminCreateInventoryConfigurationBadRequest, *AdminCreateInventoryConfigurationConflict, *AdminCreateInventoryConfigurationInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminCreateInventoryConfigurationShort instead.
AdminCreateInventoryConfiguration to create inventory configuration ¶
Creating inventory configuration. There cannot be one inventory configuration duplicate code per namespace.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [CREATE]
func (*Client) AdminCreateInventoryConfigurationShort ¶
func (a *Client) AdminCreateInventoryConfigurationShort(params *AdminCreateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryConfigurationCreated, error)
AdminCreateInventoryConfigurationShort to create inventory configuration
Creating inventory configuration. There cannot be one inventory configuration duplicate code per namespace.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [CREATE]
func (*Client) AdminDeleteInventoryConfiguration
deprecated
func (a *Client) AdminDeleteInventoryConfiguration(params *AdminDeleteInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteInventoryConfigurationNoContent, *AdminDeleteInventoryConfigurationBadRequest, *AdminDeleteInventoryConfigurationNotFound, *AdminDeleteInventoryConfigurationInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteInventoryConfigurationShort instead.
AdminDeleteInventoryConfiguration to delete inventory configuration ¶
Deleting an inventory configuration. If an inventory already reference this type (i.e. STATUS is "TIED"), then the type cannot be deleted anymore.
ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [DELETE]
func (*Client) AdminDeleteInventoryConfigurationShort ¶
func (a *Client) AdminDeleteInventoryConfigurationShort(params *AdminDeleteInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteInventoryConfigurationNoContent, error)
AdminDeleteInventoryConfigurationShort to delete inventory configuration
Deleting an inventory configuration. If an inventory already reference this type (i.e. STATUS is "TIED"), then the type cannot be deleted anymore.
ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [DELETE]
func (*Client) AdminGetInventoryConfiguration
deprecated
func (a *Client) AdminGetInventoryConfiguration(params *AdminGetInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryConfigurationOK, *AdminGetInventoryConfigurationBadRequest, *AdminGetInventoryConfigurationNotFound, *AdminGetInventoryConfigurationInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetInventoryConfigurationShort instead.
AdminGetInventoryConfiguration to get inventory configuration ¶
Getting an inventory configuration info.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]
func (*Client) AdminGetInventoryConfigurationShort ¶
func (a *Client) AdminGetInventoryConfigurationShort(params *AdminGetInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryConfigurationOK, error)
AdminGetInventoryConfigurationShort to get inventory configuration
Getting an inventory configuration info.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]
func (*Client) AdminListInventoryConfigurations
deprecated
func (a *Client) AdminListInventoryConfigurations(params *AdminListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoryConfigurationsOK, *AdminListInventoryConfigurationsBadRequest, *AdminListInventoryConfigurationsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminListInventoryConfigurationsShort instead.
AdminListInventoryConfigurations to list inventory configurations ¶
Listing all inventory configurations in a namespace. The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]
func (*Client) AdminListInventoryConfigurationsShort ¶
func (a *Client) AdminListInventoryConfigurationsShort(params *AdminListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoryConfigurationsOK, error)
AdminListInventoryConfigurationsShort to list inventory configurations
Listing all inventory configurations in a namespace. The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]
func (*Client) AdminUpdateInventoryConfiguration
deprecated
func (a *Client) AdminUpdateInventoryConfiguration(params *AdminUpdateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryConfigurationOK, *AdminUpdateInventoryConfigurationBadRequest, *AdminUpdateInventoryConfigurationNotFound, *AdminUpdateInventoryConfigurationConflict, *AdminUpdateInventoryConfigurationInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateInventoryConfigurationShort instead.
AdminUpdateInventoryConfiguration to update inventory configuration ¶
Updating inventory configuration. There cannot be duplicate code per namespace.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [UPDATE]
func (*Client) AdminUpdateInventoryConfigurationShort ¶
func (a *Client) AdminUpdateInventoryConfigurationShort(params *AdminUpdateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryConfigurationOK, error)
AdminUpdateInventoryConfigurationShort to update inventory configuration
Updating inventory configuration. There cannot be duplicate code per namespace.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [UPDATE]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminListInventoryConfigurations(params *AdminListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoryConfigurationsOK, *AdminListInventoryConfigurationsBadRequest, *AdminListInventoryConfigurationsInternalServerError, error) AdminListInventoryConfigurationsShort(params *AdminListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoryConfigurationsOK, error) AdminCreateInventoryConfiguration(params *AdminCreateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryConfigurationCreated, *AdminCreateInventoryConfigurationBadRequest, *AdminCreateInventoryConfigurationConflict, *AdminCreateInventoryConfigurationInternalServerError, error) AdminCreateInventoryConfigurationShort(params *AdminCreateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryConfigurationCreated, error) AdminGetInventoryConfiguration(params *AdminGetInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryConfigurationOK, *AdminGetInventoryConfigurationBadRequest, *AdminGetInventoryConfigurationNotFound, *AdminGetInventoryConfigurationInternalServerError, error) AdminGetInventoryConfigurationShort(params *AdminGetInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryConfigurationOK, error) AdminUpdateInventoryConfiguration(params *AdminUpdateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryConfigurationOK, *AdminUpdateInventoryConfigurationBadRequest, *AdminUpdateInventoryConfigurationNotFound, *AdminUpdateInventoryConfigurationConflict, *AdminUpdateInventoryConfigurationInternalServerError, error) AdminUpdateInventoryConfigurationShort(params *AdminUpdateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryConfigurationOK, error) AdminDeleteInventoryConfiguration(params *AdminDeleteInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteInventoryConfigurationNoContent, *AdminDeleteInventoryConfigurationBadRequest, *AdminDeleteInventoryConfigurationNotFound, *AdminDeleteInventoryConfigurationInternalServerError, error) AdminDeleteInventoryConfigurationShort(params *AdminDeleteInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteInventoryConfigurationNoContent, 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 admin inventory configurations API client.
Source Files ¶
- admin_create_inventory_configuration_parameters.go
- admin_create_inventory_configuration_responses.go
- admin_delete_inventory_configuration_parameters.go
- admin_delete_inventory_configuration_responses.go
- admin_get_inventory_configuration_parameters.go
- admin_get_inventory_configuration_responses.go
- admin_inventory_configurations_client.go
- admin_list_inventory_configurations_parameters.go
- admin_list_inventory_configurations_responses.go
- admin_update_inventory_configuration_parameters.go
- admin_update_inventory_configuration_responses.go