Documentation
¶
Index ¶
- Constants
- type AdminCreateInventoryBadRequest
- type AdminCreateInventoryCreated
- type AdminCreateInventoryInternalServerError
- type AdminCreateInventoryParams
- func NewAdminCreateInventoryParams() *AdminCreateInventoryParams
- func NewAdminCreateInventoryParamsWithContext(ctx context.Context) *AdminCreateInventoryParams
- func NewAdminCreateInventoryParamsWithHTTPClient(client *http.Client) *AdminCreateInventoryParams
- func NewAdminCreateInventoryParamsWithTimeout(timeout time.Duration) *AdminCreateInventoryParams
- func (o *AdminCreateInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsCreateInventoryReq)
- func (o *AdminCreateInventoryParams) SetContext(ctx context.Context)
- func (o *AdminCreateInventoryParams) SetFlightId(flightId string)
- func (o *AdminCreateInventoryParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminCreateInventoryParams) SetNamespace(namespace string)
- func (o *AdminCreateInventoryParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsCreateInventoryReq) *AdminCreateInventoryParams
- func (o *AdminCreateInventoryParams) WithContext(ctx context.Context) *AdminCreateInventoryParams
- func (o *AdminCreateInventoryParams) WithHTTPClient(client *http.Client) *AdminCreateInventoryParams
- func (o *AdminCreateInventoryParams) WithNamespace(namespace string) *AdminCreateInventoryParams
- func (o *AdminCreateInventoryParams) WithTimeout(timeout time.Duration) *AdminCreateInventoryParams
- func (o *AdminCreateInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateInventoryReader
- type AdminCreateInventoryResponse
- type AdminGetInventoryBadRequest
- type AdminGetInventoryInternalServerError
- type AdminGetInventoryNotFound
- type AdminGetInventoryOK
- type AdminGetInventoryParams
- func NewAdminGetInventoryParams() *AdminGetInventoryParams
- func NewAdminGetInventoryParamsWithContext(ctx context.Context) *AdminGetInventoryParams
- func NewAdminGetInventoryParamsWithHTTPClient(client *http.Client) *AdminGetInventoryParams
- func NewAdminGetInventoryParamsWithTimeout(timeout time.Duration) *AdminGetInventoryParams
- func (o *AdminGetInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetInventoryParams) SetContext(ctx context.Context)
- func (o *AdminGetInventoryParams) SetFlightId(flightId string)
- func (o *AdminGetInventoryParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetInventoryParams) SetInventoryID(inventoryID string)
- func (o *AdminGetInventoryParams) SetNamespace(namespace string)
- func (o *AdminGetInventoryParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetInventoryParams) WithContext(ctx context.Context) *AdminGetInventoryParams
- func (o *AdminGetInventoryParams) WithHTTPClient(client *http.Client) *AdminGetInventoryParams
- func (o *AdminGetInventoryParams) WithInventoryID(inventoryID string) *AdminGetInventoryParams
- func (o *AdminGetInventoryParams) WithNamespace(namespace string) *AdminGetInventoryParams
- func (o *AdminGetInventoryParams) WithTimeout(timeout time.Duration) *AdminGetInventoryParams
- func (o *AdminGetInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetInventoryReader
- type AdminGetInventoryResponse
- type AdminListInventoriesBadRequest
- type AdminListInventoriesInternalServerError
- type AdminListInventoriesOK
- type AdminListInventoriesParams
- func NewAdminListInventoriesParams() *AdminListInventoriesParams
- func NewAdminListInventoriesParamsWithContext(ctx context.Context) *AdminListInventoriesParams
- func NewAdminListInventoriesParamsWithHTTPClient(client *http.Client) *AdminListInventoriesParams
- func NewAdminListInventoriesParamsWithTimeout(timeout time.Duration) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListInventoriesParams) SetContext(ctx context.Context)
- func (o *AdminListInventoriesParams) SetFlightId(flightId string)
- func (o *AdminListInventoriesParams) SetHTTPClient(client *http.Client)
- func (o *AdminListInventoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListInventoriesParams) SetInventoryConfigurationCode(inventoryConfigurationCode *string)
- func (o *AdminListInventoriesParams) SetLimit(limit *int64)
- func (o *AdminListInventoriesParams) SetNamespace(namespace string)
- func (o *AdminListInventoriesParams) SetOffset(offset *int64)
- func (o *AdminListInventoriesParams) SetSortBy(sortBy *string)
- func (o *AdminListInventoriesParams) SetTimeout(timeout time.Duration)
- func (o *AdminListInventoriesParams) SetUserID(userID *string)
- func (o *AdminListInventoriesParams) WithContext(ctx context.Context) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) WithHTTPClient(client *http.Client) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) WithInventoryConfigurationCode(inventoryConfigurationCode *string) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) WithLimit(limit *int64) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) WithNamespace(namespace string) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) WithOffset(offset *int64) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) WithSortBy(sortBy *string) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) WithTimeout(timeout time.Duration) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) WithUserID(userID *string) *AdminListInventoriesParams
- func (o *AdminListInventoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListInventoriesReader
- type AdminListInventoriesResponse
- type AdminPurchasableBadRequest
- type AdminPurchasableConflict
- type AdminPurchasableInternalServerError
- type AdminPurchasableNoContent
- type AdminPurchasableNotFound
- type AdminPurchasableParams
- func NewAdminPurchasableParams() *AdminPurchasableParams
- func NewAdminPurchasableParamsWithContext(ctx context.Context) *AdminPurchasableParams
- func NewAdminPurchasableParamsWithHTTPClient(client *http.Client) *AdminPurchasableParams
- func NewAdminPurchasableParamsWithTimeout(timeout time.Duration) *AdminPurchasableParams
- func (o *AdminPurchasableParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminPurchasableParams) SetBody(body *inventoryclientmodels.ApimodelsPurchaseValidationReq)
- func (o *AdminPurchasableParams) SetContext(ctx context.Context)
- func (o *AdminPurchasableParams) SetFlightId(flightId string)
- func (o *AdminPurchasableParams) SetHTTPClient(client *http.Client)
- func (o *AdminPurchasableParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminPurchasableParams) SetNamespace(namespace string)
- func (o *AdminPurchasableParams) SetTimeout(timeout time.Duration)
- func (o *AdminPurchasableParams) SetUserID(userID string)
- func (o *AdminPurchasableParams) WithBody(body *inventoryclientmodels.ApimodelsPurchaseValidationReq) *AdminPurchasableParams
- func (o *AdminPurchasableParams) WithContext(ctx context.Context) *AdminPurchasableParams
- func (o *AdminPurchasableParams) WithHTTPClient(client *http.Client) *AdminPurchasableParams
- func (o *AdminPurchasableParams) WithNamespace(namespace string) *AdminPurchasableParams
- func (o *AdminPurchasableParams) WithTimeout(timeout time.Duration) *AdminPurchasableParams
- func (o *AdminPurchasableParams) WithUserID(userID string) *AdminPurchasableParams
- func (o *AdminPurchasableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminPurchasableReader
- type AdminPurchasableResponse
- type AdminUpdateInventoryBadRequest
- type AdminUpdateInventoryInternalServerError
- type AdminUpdateInventoryNotFound
- type AdminUpdateInventoryOK
- type AdminUpdateInventoryParams
- func NewAdminUpdateInventoryParams() *AdminUpdateInventoryParams
- func NewAdminUpdateInventoryParamsWithContext(ctx context.Context) *AdminUpdateInventoryParams
- func NewAdminUpdateInventoryParamsWithHTTPClient(client *http.Client) *AdminUpdateInventoryParams
- func NewAdminUpdateInventoryParamsWithTimeout(timeout time.Duration) *AdminUpdateInventoryParams
- func (o *AdminUpdateInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsUpdateInventoryReq)
- func (o *AdminUpdateInventoryParams) SetContext(ctx context.Context)
- func (o *AdminUpdateInventoryParams) SetFlightId(flightId string)
- func (o *AdminUpdateInventoryParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateInventoryParams) SetInventoryID(inventoryID string)
- func (o *AdminUpdateInventoryParams) SetNamespace(namespace string)
- func (o *AdminUpdateInventoryParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsUpdateInventoryReq) *AdminUpdateInventoryParams
- func (o *AdminUpdateInventoryParams) WithContext(ctx context.Context) *AdminUpdateInventoryParams
- func (o *AdminUpdateInventoryParams) WithHTTPClient(client *http.Client) *AdminUpdateInventoryParams
- func (o *AdminUpdateInventoryParams) WithInventoryID(inventoryID string) *AdminUpdateInventoryParams
- func (o *AdminUpdateInventoryParams) WithNamespace(namespace string) *AdminUpdateInventoryParams
- func (o *AdminUpdateInventoryParams) WithTimeout(timeout time.Duration) *AdminUpdateInventoryParams
- func (o *AdminUpdateInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateInventoryReader
- type AdminUpdateInventoryResponse
- type AdminUpdateUserInventoriesByInventoryCodeBadRequest
- type AdminUpdateUserInventoriesByInventoryCodeForbidden
- type AdminUpdateUserInventoriesByInventoryCodeInternalServerError
- func (o *AdminUpdateUserInventoriesByInventoryCodeInternalServerError) Error() string
- func (o *AdminUpdateUserInventoriesByInventoryCodeInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
- func (o *AdminUpdateUserInventoriesByInventoryCodeInternalServerError) ToJSONString() string
- type AdminUpdateUserInventoriesByInventoryCodeNotFound
- type AdminUpdateUserInventoriesByInventoryCodeOK
- type AdminUpdateUserInventoriesByInventoryCodeParams
- func NewAdminUpdateUserInventoriesByInventoryCodeParams() *AdminUpdateUserInventoriesByInventoryCodeParams
- func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithContext(ctx context.Context) *AdminUpdateUserInventoriesByInventoryCodeParams
- func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithHTTPClient(client *http.Client) *AdminUpdateUserInventoriesByInventoryCodeParams
- func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithTimeout(timeout time.Duration) *AdminUpdateUserInventoriesByInventoryCodeParams
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetBody(body *inventoryclientmodels.ApimodelsUpdateInventoryReq)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetContext(ctx context.Context)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetFlightId(flightId string)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetInventoryConfigurationCode(inventoryConfigurationCode string)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetNamespace(namespace string)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetUserID(userID string)
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithBody(body *inventoryclientmodels.ApimodelsUpdateInventoryReq) *AdminUpdateUserInventoriesByInventoryCodeParams
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithContext(ctx context.Context) *AdminUpdateUserInventoriesByInventoryCodeParams
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithHTTPClient(client *http.Client) *AdminUpdateUserInventoriesByInventoryCodeParams
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithInventoryConfigurationCode(inventoryConfigurationCode string) *AdminUpdateUserInventoriesByInventoryCodeParams
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithNamespace(namespace string) *AdminUpdateUserInventoriesByInventoryCodeParams
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithTimeout(timeout time.Duration) *AdminUpdateUserInventoriesByInventoryCodeParams
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithUserID(userID string) *AdminUpdateUserInventoriesByInventoryCodeParams
- func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateUserInventoriesByInventoryCodeReader
- type AdminUpdateUserInventoriesByInventoryCodeResponse
- type AdminUpdateUserInventoriesByInventoryCodeUnauthorized
- type Client
- func (a *Client) AdminCreateInventoryShort(params *AdminCreateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryResponse, error)
- func (a *Client) AdminGetInventoryShort(params *AdminGetInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryResponse, error)
- func (a *Client) AdminListInventoriesShort(params *AdminListInventoriesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoriesResponse, error)
- func (a *Client) AdminPurchasableShort(params *AdminPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*AdminPurchasableResponse, error)
- func (a *Client) AdminUpdateInventoryShort(params *AdminUpdateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryResponse, error)
- func (a *Client) AdminUpdateUserInventoriesByInventoryCodeShort(params *AdminUpdateUserInventoriesByInventoryCodeParams, ...) (*AdminUpdateUserInventoriesByInventoryCodeResponse, error)
- func (a *Client) DeleteInventoryShort(params *DeleteInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInventoryResponse, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteInventoryBadRequest
- type DeleteInventoryInternalServerError
- type DeleteInventoryNoContent
- type DeleteInventoryNotFound
- type DeleteInventoryParams
- func NewDeleteInventoryParams() *DeleteInventoryParams
- func NewDeleteInventoryParamsWithContext(ctx context.Context) *DeleteInventoryParams
- func NewDeleteInventoryParamsWithHTTPClient(client *http.Client) *DeleteInventoryParams
- func NewDeleteInventoryParamsWithTimeout(timeout time.Duration) *DeleteInventoryParams
- func (o *DeleteInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsDeleteInventoryReq)
- func (o *DeleteInventoryParams) SetContext(ctx context.Context)
- func (o *DeleteInventoryParams) SetFlightId(flightId string)
- func (o *DeleteInventoryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteInventoryParams) SetInventoryID(inventoryID string)
- func (o *DeleteInventoryParams) SetNamespace(namespace string)
- func (o *DeleteInventoryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsDeleteInventoryReq) *DeleteInventoryParams
- func (o *DeleteInventoryParams) WithContext(ctx context.Context) *DeleteInventoryParams
- func (o *DeleteInventoryParams) WithHTTPClient(client *http.Client) *DeleteInventoryParams
- func (o *DeleteInventoryParams) WithInventoryID(inventoryID string) *DeleteInventoryParams
- func (o *DeleteInventoryParams) WithNamespace(namespace string) *DeleteInventoryParams
- func (o *DeleteInventoryParams) WithTimeout(timeout time.Duration) *DeleteInventoryParams
- func (o *DeleteInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInventoryReader
- type DeleteInventoryResponse
Constants ¶
const ( AdminListInventoriesCreatedAtConstant = "createdAt" AdminListInventoriesCreatedAtAscConstant = "createdAt:asc" AdminListInventoriesCreatedAtDescConstant = "createdAt:desc" AdminListInventoriesInventoryConfigurationCodeConstant = "inventoryConfigurationCode" AdminListInventoriesInventoryConfigurationCodeAscConstant = "inventoryConfigurationCode:asc" AdminListInventoriesInventoryConfigurationCodeDescConstant = "inventoryConfigurationCode:desc" AdminListInventoriesUpdatedAtConstant = "updatedAt" AdminListInventoriesUpdatedAtAscConstant = "updatedAt:asc" AdminListInventoriesUpdatedAtDescConstant = "updatedAt:desc" )
Get the enum in AdminListInventoriesParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateInventoryBadRequest ¶
type AdminCreateInventoryBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminCreateInventoryBadRequest handles this case with default header values.
Bad Request
func NewAdminCreateInventoryBadRequest ¶
func NewAdminCreateInventoryBadRequest() *AdminCreateInventoryBadRequest
NewAdminCreateInventoryBadRequest creates a AdminCreateInventoryBadRequest with default headers values
func (*AdminCreateInventoryBadRequest) Error ¶
func (o *AdminCreateInventoryBadRequest) Error() string
func (*AdminCreateInventoryBadRequest) GetPayload ¶
func (o *AdminCreateInventoryBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminCreateInventoryBadRequest) ToJSONString ¶
func (o *AdminCreateInventoryBadRequest) ToJSONString() string
type AdminCreateInventoryCreated ¶
type AdminCreateInventoryCreated struct {
Payload *inventoryclientmodels.ApimodelsInventoryResp
}
AdminCreateInventoryCreated handles this case with default header values.
Created
func NewAdminCreateInventoryCreated ¶
func NewAdminCreateInventoryCreated() *AdminCreateInventoryCreated
NewAdminCreateInventoryCreated creates a AdminCreateInventoryCreated with default headers values
func (*AdminCreateInventoryCreated) Error ¶
func (o *AdminCreateInventoryCreated) Error() string
func (*AdminCreateInventoryCreated) GetPayload ¶
func (o *AdminCreateInventoryCreated) GetPayload() *inventoryclientmodels.ApimodelsInventoryResp
func (*AdminCreateInventoryCreated) ToJSONString ¶
func (o *AdminCreateInventoryCreated) ToJSONString() string
type AdminCreateInventoryInternalServerError ¶
type AdminCreateInventoryInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminCreateInventoryInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminCreateInventoryInternalServerError ¶
func NewAdminCreateInventoryInternalServerError() *AdminCreateInventoryInternalServerError
NewAdminCreateInventoryInternalServerError creates a AdminCreateInventoryInternalServerError with default headers values
func (*AdminCreateInventoryInternalServerError) Error ¶
func (o *AdminCreateInventoryInternalServerError) Error() string
func (*AdminCreateInventoryInternalServerError) GetPayload ¶
func (o *AdminCreateInventoryInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminCreateInventoryInternalServerError) ToJSONString ¶
func (o *AdminCreateInventoryInternalServerError) ToJSONString() string
type AdminCreateInventoryParams ¶
type AdminCreateInventoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsCreateInventoryReq /*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 }
AdminCreateInventoryParams contains all the parameters to send to the API endpoint for the admin create inventory operation typically these are written to a http.Request
func NewAdminCreateInventoryParams ¶
func NewAdminCreateInventoryParams() *AdminCreateInventoryParams
NewAdminCreateInventoryParams creates a new AdminCreateInventoryParams object with the default values initialized.
func NewAdminCreateInventoryParamsWithContext ¶
func NewAdminCreateInventoryParamsWithContext(ctx context.Context) *AdminCreateInventoryParams
NewAdminCreateInventoryParamsWithContext creates a new AdminCreateInventoryParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateInventoryParamsWithHTTPClient ¶
func NewAdminCreateInventoryParamsWithHTTPClient(client *http.Client) *AdminCreateInventoryParams
NewAdminCreateInventoryParamsWithHTTPClient creates a new AdminCreateInventoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateInventoryParamsWithTimeout ¶
func NewAdminCreateInventoryParamsWithTimeout(timeout time.Duration) *AdminCreateInventoryParams
NewAdminCreateInventoryParamsWithTimeout creates a new AdminCreateInventoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateInventoryParams) SetAuthInfoWriter ¶
func (o *AdminCreateInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin create inventory params
func (*AdminCreateInventoryParams) SetBody ¶
func (o *AdminCreateInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsCreateInventoryReq)
SetBody adds the body to the admin create inventory params
func (*AdminCreateInventoryParams) SetContext ¶
func (o *AdminCreateInventoryParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create inventory params
func (*AdminCreateInventoryParams) SetFlightId ¶
func (o *AdminCreateInventoryParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminCreateInventoryParams) SetHTTPClient ¶
func (o *AdminCreateInventoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create inventory params
func (*AdminCreateInventoryParams) SetHTTPClientTransport ¶
func (o *AdminCreateInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin create inventory params
func (*AdminCreateInventoryParams) SetNamespace ¶
func (o *AdminCreateInventoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create inventory params
func (*AdminCreateInventoryParams) SetTimeout ¶
func (o *AdminCreateInventoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create inventory params
func (*AdminCreateInventoryParams) WithBody ¶
func (o *AdminCreateInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsCreateInventoryReq) *AdminCreateInventoryParams
WithBody adds the body to the admin create inventory params
func (*AdminCreateInventoryParams) WithContext ¶
func (o *AdminCreateInventoryParams) WithContext(ctx context.Context) *AdminCreateInventoryParams
WithContext adds the context to the admin create inventory params
func (*AdminCreateInventoryParams) WithHTTPClient ¶
func (o *AdminCreateInventoryParams) WithHTTPClient(client *http.Client) *AdminCreateInventoryParams
WithHTTPClient adds the HTTPClient to the admin create inventory params
func (*AdminCreateInventoryParams) WithNamespace ¶
func (o *AdminCreateInventoryParams) WithNamespace(namespace string) *AdminCreateInventoryParams
WithNamespace adds the namespace to the admin create inventory params
func (*AdminCreateInventoryParams) WithTimeout ¶
func (o *AdminCreateInventoryParams) WithTimeout(timeout time.Duration) *AdminCreateInventoryParams
WithTimeout adds the timeout to the admin create inventory params
func (*AdminCreateInventoryParams) WriteToRequest ¶
func (o *AdminCreateInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateInventoryReader ¶
type AdminCreateInventoryReader struct {
// contains filtered or unexported fields
}
AdminCreateInventoryReader is a Reader for the AdminCreateInventory structure.
func (*AdminCreateInventoryReader) ReadResponse ¶
func (o *AdminCreateInventoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateInventoryResponse ¶
type AdminCreateInventoryResponse struct { inventoryclientmodels.ApiResponse Data *inventoryclientmodels.ApimodelsInventoryResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminCreateInventoryResponse) Unpack ¶
func (m *AdminCreateInventoryResponse) Unpack() (*inventoryclientmodels.ApimodelsInventoryResp, *inventoryclientmodels.ApiError)
type AdminGetInventoryBadRequest ¶
type AdminGetInventoryBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryBadRequest handles this case with default header values.
Bad Request
func NewAdminGetInventoryBadRequest ¶
func NewAdminGetInventoryBadRequest() *AdminGetInventoryBadRequest
NewAdminGetInventoryBadRequest creates a AdminGetInventoryBadRequest with default headers values
func (*AdminGetInventoryBadRequest) Error ¶
func (o *AdminGetInventoryBadRequest) Error() string
func (*AdminGetInventoryBadRequest) GetPayload ¶
func (o *AdminGetInventoryBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryBadRequest) ToJSONString ¶
func (o *AdminGetInventoryBadRequest) ToJSONString() string
type AdminGetInventoryInternalServerError ¶
type AdminGetInventoryInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetInventoryInternalServerError ¶
func NewAdminGetInventoryInternalServerError() *AdminGetInventoryInternalServerError
NewAdminGetInventoryInternalServerError creates a AdminGetInventoryInternalServerError with default headers values
func (*AdminGetInventoryInternalServerError) Error ¶
func (o *AdminGetInventoryInternalServerError) Error() string
func (*AdminGetInventoryInternalServerError) GetPayload ¶
func (o *AdminGetInventoryInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryInternalServerError) ToJSONString ¶
func (o *AdminGetInventoryInternalServerError) ToJSONString() string
type AdminGetInventoryNotFound ¶
type AdminGetInventoryNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryNotFound handles this case with default header values.
Not Found
func NewAdminGetInventoryNotFound ¶
func NewAdminGetInventoryNotFound() *AdminGetInventoryNotFound
NewAdminGetInventoryNotFound creates a AdminGetInventoryNotFound with default headers values
func (*AdminGetInventoryNotFound) Error ¶
func (o *AdminGetInventoryNotFound) Error() string
func (*AdminGetInventoryNotFound) GetPayload ¶
func (o *AdminGetInventoryNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryNotFound) ToJSONString ¶
func (o *AdminGetInventoryNotFound) ToJSONString() string
type AdminGetInventoryOK ¶
type AdminGetInventoryOK struct {
Payload *inventoryclientmodels.ApimodelsInventoryResp
}
AdminGetInventoryOK handles this case with default header values.
OK
func NewAdminGetInventoryOK ¶
func NewAdminGetInventoryOK() *AdminGetInventoryOK
NewAdminGetInventoryOK creates a AdminGetInventoryOK with default headers values
func (*AdminGetInventoryOK) Error ¶
func (o *AdminGetInventoryOK) Error() string
func (*AdminGetInventoryOK) GetPayload ¶
func (o *AdminGetInventoryOK) GetPayload() *inventoryclientmodels.ApimodelsInventoryResp
func (*AdminGetInventoryOK) ToJSONString ¶
func (o *AdminGetInventoryOK) ToJSONString() string
type AdminGetInventoryParams ¶
type AdminGetInventoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*InventoryID InventoryID */ InventoryID 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 }
AdminGetInventoryParams contains all the parameters to send to the API endpoint for the admin get inventory operation typically these are written to a http.Request
func NewAdminGetInventoryParams ¶
func NewAdminGetInventoryParams() *AdminGetInventoryParams
NewAdminGetInventoryParams creates a new AdminGetInventoryParams object with the default values initialized.
func NewAdminGetInventoryParamsWithContext ¶
func NewAdminGetInventoryParamsWithContext(ctx context.Context) *AdminGetInventoryParams
NewAdminGetInventoryParamsWithContext creates a new AdminGetInventoryParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetInventoryParamsWithHTTPClient ¶
func NewAdminGetInventoryParamsWithHTTPClient(client *http.Client) *AdminGetInventoryParams
NewAdminGetInventoryParamsWithHTTPClient creates a new AdminGetInventoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetInventoryParamsWithTimeout ¶
func NewAdminGetInventoryParamsWithTimeout(timeout time.Duration) *AdminGetInventoryParams
NewAdminGetInventoryParamsWithTimeout creates a new AdminGetInventoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetInventoryParams) SetAuthInfoWriter ¶
func (o *AdminGetInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get inventory params
func (*AdminGetInventoryParams) SetContext ¶
func (o *AdminGetInventoryParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get inventory params
func (*AdminGetInventoryParams) SetFlightId ¶
func (o *AdminGetInventoryParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetInventoryParams) SetHTTPClient ¶
func (o *AdminGetInventoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get inventory params
func (*AdminGetInventoryParams) SetHTTPClientTransport ¶
func (o *AdminGetInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get inventory params
func (*AdminGetInventoryParams) SetInventoryID ¶
func (o *AdminGetInventoryParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the admin get inventory params
func (*AdminGetInventoryParams) SetNamespace ¶
func (o *AdminGetInventoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get inventory params
func (*AdminGetInventoryParams) SetTimeout ¶
func (o *AdminGetInventoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get inventory params
func (*AdminGetInventoryParams) WithContext ¶
func (o *AdminGetInventoryParams) WithContext(ctx context.Context) *AdminGetInventoryParams
WithContext adds the context to the admin get inventory params
func (*AdminGetInventoryParams) WithHTTPClient ¶
func (o *AdminGetInventoryParams) WithHTTPClient(client *http.Client) *AdminGetInventoryParams
WithHTTPClient adds the HTTPClient to the admin get inventory params
func (*AdminGetInventoryParams) WithInventoryID ¶
func (o *AdminGetInventoryParams) WithInventoryID(inventoryID string) *AdminGetInventoryParams
WithInventoryID adds the inventoryID to the admin get inventory params
func (*AdminGetInventoryParams) WithNamespace ¶
func (o *AdminGetInventoryParams) WithNamespace(namespace string) *AdminGetInventoryParams
WithNamespace adds the namespace to the admin get inventory params
func (*AdminGetInventoryParams) WithTimeout ¶
func (o *AdminGetInventoryParams) WithTimeout(timeout time.Duration) *AdminGetInventoryParams
WithTimeout adds the timeout to the admin get inventory params
func (*AdminGetInventoryParams) WriteToRequest ¶
func (o *AdminGetInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetInventoryReader ¶
type AdminGetInventoryReader struct {
// contains filtered or unexported fields
}
AdminGetInventoryReader is a Reader for the AdminGetInventory structure.
func (*AdminGetInventoryReader) ReadResponse ¶
func (o *AdminGetInventoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetInventoryResponse ¶
type AdminGetInventoryResponse struct { inventoryclientmodels.ApiResponse Data *inventoryclientmodels.ApimodelsInventoryResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminGetInventoryResponse) Unpack ¶
func (m *AdminGetInventoryResponse) Unpack() (*inventoryclientmodels.ApimodelsInventoryResp, *inventoryclientmodels.ApiError)
type AdminListInventoriesBadRequest ¶
type AdminListInventoriesBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListInventoriesBadRequest handles this case with default header values.
Bad Request
func NewAdminListInventoriesBadRequest ¶
func NewAdminListInventoriesBadRequest() *AdminListInventoriesBadRequest
NewAdminListInventoriesBadRequest creates a AdminListInventoriesBadRequest with default headers values
func (*AdminListInventoriesBadRequest) Error ¶
func (o *AdminListInventoriesBadRequest) Error() string
func (*AdminListInventoriesBadRequest) GetPayload ¶
func (o *AdminListInventoriesBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListInventoriesBadRequest) ToJSONString ¶
func (o *AdminListInventoriesBadRequest) ToJSONString() string
type AdminListInventoriesInternalServerError ¶
type AdminListInventoriesInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListInventoriesInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListInventoriesInternalServerError ¶
func NewAdminListInventoriesInternalServerError() *AdminListInventoriesInternalServerError
NewAdminListInventoriesInternalServerError creates a AdminListInventoriesInternalServerError with default headers values
func (*AdminListInventoriesInternalServerError) Error ¶
func (o *AdminListInventoriesInternalServerError) Error() string
func (*AdminListInventoriesInternalServerError) GetPayload ¶
func (o *AdminListInventoriesInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListInventoriesInternalServerError) ToJSONString ¶
func (o *AdminListInventoriesInternalServerError) ToJSONString() string
type AdminListInventoriesOK ¶
type AdminListInventoriesOK struct {
Payload *inventoryclientmodels.ApimodelsListInventoryResp
}
AdminListInventoriesOK handles this case with default header values.
OK
func NewAdminListInventoriesOK ¶
func NewAdminListInventoriesOK() *AdminListInventoriesOK
NewAdminListInventoriesOK creates a AdminListInventoriesOK with default headers values
func (*AdminListInventoriesOK) Error ¶
func (o *AdminListInventoriesOK) Error() string
func (*AdminListInventoriesOK) GetPayload ¶
func (o *AdminListInventoriesOK) GetPayload() *inventoryclientmodels.ApimodelsListInventoryResp
func (*AdminListInventoriesOK) ToJSONString ¶
func (o *AdminListInventoriesOK) ToJSONString() string
type AdminListInventoriesParams ¶
type AdminListInventoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*InventoryConfigurationCode InventoryConfigurationCode */ InventoryConfigurationCode *string /*Limit default 25 */ Limit *int64 /*Offset*/ Offset *int64 /*SortBy Only support one level of sortBy; default createdAt */ SortBy *string /*UserID UserID */ UserID *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 }
AdminListInventoriesParams contains all the parameters to send to the API endpoint for the admin list inventories operation typically these are written to a http.Request
func NewAdminListInventoriesParams ¶
func NewAdminListInventoriesParams() *AdminListInventoriesParams
NewAdminListInventoriesParams creates a new AdminListInventoriesParams object with the default values initialized.
func NewAdminListInventoriesParamsWithContext ¶
func NewAdminListInventoriesParamsWithContext(ctx context.Context) *AdminListInventoriesParams
NewAdminListInventoriesParamsWithContext creates a new AdminListInventoriesParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListInventoriesParamsWithHTTPClient ¶
func NewAdminListInventoriesParamsWithHTTPClient(client *http.Client) *AdminListInventoriesParams
NewAdminListInventoriesParamsWithHTTPClient creates a new AdminListInventoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListInventoriesParamsWithTimeout ¶
func NewAdminListInventoriesParamsWithTimeout(timeout time.Duration) *AdminListInventoriesParams
NewAdminListInventoriesParamsWithTimeout creates a new AdminListInventoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListInventoriesParams) SetAuthInfoWriter ¶
func (o *AdminListInventoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list inventories params
func (*AdminListInventoriesParams) SetContext ¶
func (o *AdminListInventoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list inventories params
func (*AdminListInventoriesParams) SetFlightId ¶
func (o *AdminListInventoriesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminListInventoriesParams) SetHTTPClient ¶
func (o *AdminListInventoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list inventories params
func (*AdminListInventoriesParams) SetHTTPClientTransport ¶
func (o *AdminListInventoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin list inventories params
func (*AdminListInventoriesParams) SetInventoryConfigurationCode ¶
func (o *AdminListInventoriesParams) SetInventoryConfigurationCode(inventoryConfigurationCode *string)
SetInventoryConfigurationCode adds the inventoryConfigurationCode to the admin list inventories params
func (*AdminListInventoriesParams) SetLimit ¶
func (o *AdminListInventoriesParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list inventories params
func (*AdminListInventoriesParams) SetNamespace ¶
func (o *AdminListInventoriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list inventories params
func (*AdminListInventoriesParams) SetOffset ¶
func (o *AdminListInventoriesParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list inventories params
func (*AdminListInventoriesParams) SetSortBy ¶
func (o *AdminListInventoriesParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list inventories params
func (*AdminListInventoriesParams) SetTimeout ¶
func (o *AdminListInventoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list inventories params
func (*AdminListInventoriesParams) SetUserID ¶
func (o *AdminListInventoriesParams) SetUserID(userID *string)
SetUserID adds the userId to the admin list inventories params
func (*AdminListInventoriesParams) WithContext ¶
func (o *AdminListInventoriesParams) WithContext(ctx context.Context) *AdminListInventoriesParams
WithContext adds the context to the admin list inventories params
func (*AdminListInventoriesParams) WithHTTPClient ¶
func (o *AdminListInventoriesParams) WithHTTPClient(client *http.Client) *AdminListInventoriesParams
WithHTTPClient adds the HTTPClient to the admin list inventories params
func (*AdminListInventoriesParams) WithInventoryConfigurationCode ¶
func (o *AdminListInventoriesParams) WithInventoryConfigurationCode(inventoryConfigurationCode *string) *AdminListInventoriesParams
WithInventoryConfigurationCode adds the inventoryConfigurationCode to the admin list inventories params
func (*AdminListInventoriesParams) WithLimit ¶
func (o *AdminListInventoriesParams) WithLimit(limit *int64) *AdminListInventoriesParams
WithLimit adds the limit to the admin list inventories params
func (*AdminListInventoriesParams) WithNamespace ¶
func (o *AdminListInventoriesParams) WithNamespace(namespace string) *AdminListInventoriesParams
WithNamespace adds the namespace to the admin list inventories params
func (*AdminListInventoriesParams) WithOffset ¶
func (o *AdminListInventoriesParams) WithOffset(offset *int64) *AdminListInventoriesParams
WithOffset adds the offset to the admin list inventories params
func (*AdminListInventoriesParams) WithSortBy ¶
func (o *AdminListInventoriesParams) WithSortBy(sortBy *string) *AdminListInventoriesParams
WithSortBy adds the sortBy to the admin list inventories params
func (*AdminListInventoriesParams) WithTimeout ¶
func (o *AdminListInventoriesParams) WithTimeout(timeout time.Duration) *AdminListInventoriesParams
WithTimeout adds the timeout to the admin list inventories params
func (*AdminListInventoriesParams) WithUserID ¶
func (o *AdminListInventoriesParams) WithUserID(userID *string) *AdminListInventoriesParams
WithUserID adds the userID to the admin list inventories params
func (*AdminListInventoriesParams) WriteToRequest ¶
func (o *AdminListInventoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListInventoriesReader ¶
type AdminListInventoriesReader struct {
// contains filtered or unexported fields
}
AdminListInventoriesReader is a Reader for the AdminListInventories structure.
func (*AdminListInventoriesReader) ReadResponse ¶
func (o *AdminListInventoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListInventoriesResponse ¶
type AdminListInventoriesResponse struct { inventoryclientmodels.ApiResponse Data *inventoryclientmodels.ApimodelsListInventoryResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminListInventoriesResponse) Unpack ¶
func (m *AdminListInventoriesResponse) Unpack() (*inventoryclientmodels.ApimodelsListInventoryResp, *inventoryclientmodels.ApiError)
type AdminPurchasableBadRequest ¶
type AdminPurchasableBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminPurchasableBadRequest handles this case with default header values.
Bad Request
func NewAdminPurchasableBadRequest ¶
func NewAdminPurchasableBadRequest() *AdminPurchasableBadRequest
NewAdminPurchasableBadRequest creates a AdminPurchasableBadRequest with default headers values
func (*AdminPurchasableBadRequest) Error ¶
func (o *AdminPurchasableBadRequest) Error() string
func (*AdminPurchasableBadRequest) GetPayload ¶
func (o *AdminPurchasableBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminPurchasableBadRequest) ToJSONString ¶
func (o *AdminPurchasableBadRequest) ToJSONString() string
type AdminPurchasableConflict ¶
type AdminPurchasableConflict struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminPurchasableConflict handles this case with default header values.
Conflict
func NewAdminPurchasableConflict ¶
func NewAdminPurchasableConflict() *AdminPurchasableConflict
NewAdminPurchasableConflict creates a AdminPurchasableConflict with default headers values
func (*AdminPurchasableConflict) Error ¶
func (o *AdminPurchasableConflict) Error() string
func (*AdminPurchasableConflict) GetPayload ¶
func (o *AdminPurchasableConflict) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminPurchasableConflict) ToJSONString ¶
func (o *AdminPurchasableConflict) ToJSONString() string
type AdminPurchasableInternalServerError ¶
type AdminPurchasableInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminPurchasableInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminPurchasableInternalServerError ¶
func NewAdminPurchasableInternalServerError() *AdminPurchasableInternalServerError
NewAdminPurchasableInternalServerError creates a AdminPurchasableInternalServerError with default headers values
func (*AdminPurchasableInternalServerError) Error ¶
func (o *AdminPurchasableInternalServerError) Error() string
func (*AdminPurchasableInternalServerError) GetPayload ¶
func (o *AdminPurchasableInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminPurchasableInternalServerError) ToJSONString ¶
func (o *AdminPurchasableInternalServerError) ToJSONString() string
type AdminPurchasableNoContent ¶
type AdminPurchasableNoContent struct { }
AdminPurchasableNoContent handles this case with default header values.
No Content
func NewAdminPurchasableNoContent ¶
func NewAdminPurchasableNoContent() *AdminPurchasableNoContent
NewAdminPurchasableNoContent creates a AdminPurchasableNoContent with default headers values
func (*AdminPurchasableNoContent) Error ¶
func (o *AdminPurchasableNoContent) Error() string
type AdminPurchasableNotFound ¶
type AdminPurchasableNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminPurchasableNotFound handles this case with default header values.
Not Found
func NewAdminPurchasableNotFound ¶
func NewAdminPurchasableNotFound() *AdminPurchasableNotFound
NewAdminPurchasableNotFound creates a AdminPurchasableNotFound with default headers values
func (*AdminPurchasableNotFound) Error ¶
func (o *AdminPurchasableNotFound) Error() string
func (*AdminPurchasableNotFound) GetPayload ¶
func (o *AdminPurchasableNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminPurchasableNotFound) ToJSONString ¶
func (o *AdminPurchasableNotFound) ToJSONString() string
type AdminPurchasableParams ¶
type AdminPurchasableParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsPurchaseValidationReq /*Namespace Namespace */ Namespace string /*UserID UserID */ UserID 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 }
AdminPurchasableParams contains all the parameters to send to the API endpoint for the admin purchasable operation typically these are written to a http.Request
func NewAdminPurchasableParams ¶
func NewAdminPurchasableParams() *AdminPurchasableParams
NewAdminPurchasableParams creates a new AdminPurchasableParams object with the default values initialized.
func NewAdminPurchasableParamsWithContext ¶
func NewAdminPurchasableParamsWithContext(ctx context.Context) *AdminPurchasableParams
NewAdminPurchasableParamsWithContext creates a new AdminPurchasableParams object with the default values initialized, and the ability to set a context for a request
func NewAdminPurchasableParamsWithHTTPClient ¶
func NewAdminPurchasableParamsWithHTTPClient(client *http.Client) *AdminPurchasableParams
NewAdminPurchasableParamsWithHTTPClient creates a new AdminPurchasableParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminPurchasableParamsWithTimeout ¶
func NewAdminPurchasableParamsWithTimeout(timeout time.Duration) *AdminPurchasableParams
NewAdminPurchasableParamsWithTimeout creates a new AdminPurchasableParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminPurchasableParams) SetAuthInfoWriter ¶
func (o *AdminPurchasableParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin purchasable params
func (*AdminPurchasableParams) SetBody ¶
func (o *AdminPurchasableParams) SetBody(body *inventoryclientmodels.ApimodelsPurchaseValidationReq)
SetBody adds the body to the admin purchasable params
func (*AdminPurchasableParams) SetContext ¶
func (o *AdminPurchasableParams) SetContext(ctx context.Context)
SetContext adds the context to the admin purchasable params
func (*AdminPurchasableParams) SetFlightId ¶
func (o *AdminPurchasableParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminPurchasableParams) SetHTTPClient ¶
func (o *AdminPurchasableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin purchasable params
func (*AdminPurchasableParams) SetHTTPClientTransport ¶
func (o *AdminPurchasableParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin purchasable params
func (*AdminPurchasableParams) SetNamespace ¶
func (o *AdminPurchasableParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin purchasable params
func (*AdminPurchasableParams) SetTimeout ¶
func (o *AdminPurchasableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin purchasable params
func (*AdminPurchasableParams) SetUserID ¶
func (o *AdminPurchasableParams) SetUserID(userID string)
SetUserID adds the userId to the admin purchasable params
func (*AdminPurchasableParams) WithBody ¶
func (o *AdminPurchasableParams) WithBody(body *inventoryclientmodels.ApimodelsPurchaseValidationReq) *AdminPurchasableParams
WithBody adds the body to the admin purchasable params
func (*AdminPurchasableParams) WithContext ¶
func (o *AdminPurchasableParams) WithContext(ctx context.Context) *AdminPurchasableParams
WithContext adds the context to the admin purchasable params
func (*AdminPurchasableParams) WithHTTPClient ¶
func (o *AdminPurchasableParams) WithHTTPClient(client *http.Client) *AdminPurchasableParams
WithHTTPClient adds the HTTPClient to the admin purchasable params
func (*AdminPurchasableParams) WithNamespace ¶
func (o *AdminPurchasableParams) WithNamespace(namespace string) *AdminPurchasableParams
WithNamespace adds the namespace to the admin purchasable params
func (*AdminPurchasableParams) WithTimeout ¶
func (o *AdminPurchasableParams) WithTimeout(timeout time.Duration) *AdminPurchasableParams
WithTimeout adds the timeout to the admin purchasable params
func (*AdminPurchasableParams) WithUserID ¶
func (o *AdminPurchasableParams) WithUserID(userID string) *AdminPurchasableParams
WithUserID adds the userID to the admin purchasable params
func (*AdminPurchasableParams) WriteToRequest ¶
func (o *AdminPurchasableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminPurchasableReader ¶
type AdminPurchasableReader struct {
// contains filtered or unexported fields
}
AdminPurchasableReader is a Reader for the AdminPurchasable structure.
func (*AdminPurchasableReader) ReadResponse ¶
func (o *AdminPurchasableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminPurchasableResponse ¶
type AdminPurchasableResponse struct { inventoryclientmodels.ApiResponse Error400 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error409 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminPurchasableResponse) Unpack ¶
func (m *AdminPurchasableResponse) Unpack() *inventoryclientmodels.ApiError
type AdminUpdateInventoryBadRequest ¶
type AdminUpdateInventoryBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateInventoryBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateInventoryBadRequest ¶
func NewAdminUpdateInventoryBadRequest() *AdminUpdateInventoryBadRequest
NewAdminUpdateInventoryBadRequest creates a AdminUpdateInventoryBadRequest with default headers values
func (*AdminUpdateInventoryBadRequest) Error ¶
func (o *AdminUpdateInventoryBadRequest) Error() string
func (*AdminUpdateInventoryBadRequest) GetPayload ¶
func (o *AdminUpdateInventoryBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateInventoryBadRequest) ToJSONString ¶
func (o *AdminUpdateInventoryBadRequest) ToJSONString() string
type AdminUpdateInventoryInternalServerError ¶
type AdminUpdateInventoryInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateInventoryInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateInventoryInternalServerError ¶
func NewAdminUpdateInventoryInternalServerError() *AdminUpdateInventoryInternalServerError
NewAdminUpdateInventoryInternalServerError creates a AdminUpdateInventoryInternalServerError with default headers values
func (*AdminUpdateInventoryInternalServerError) Error ¶
func (o *AdminUpdateInventoryInternalServerError) Error() string
func (*AdminUpdateInventoryInternalServerError) GetPayload ¶
func (o *AdminUpdateInventoryInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateInventoryInternalServerError) ToJSONString ¶
func (o *AdminUpdateInventoryInternalServerError) ToJSONString() string
type AdminUpdateInventoryNotFound ¶
type AdminUpdateInventoryNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateInventoryNotFound handles this case with default header values.
Not Found
func NewAdminUpdateInventoryNotFound ¶
func NewAdminUpdateInventoryNotFound() *AdminUpdateInventoryNotFound
NewAdminUpdateInventoryNotFound creates a AdminUpdateInventoryNotFound with default headers values
func (*AdminUpdateInventoryNotFound) Error ¶
func (o *AdminUpdateInventoryNotFound) Error() string
func (*AdminUpdateInventoryNotFound) GetPayload ¶
func (o *AdminUpdateInventoryNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateInventoryNotFound) ToJSONString ¶
func (o *AdminUpdateInventoryNotFound) ToJSONString() string
type AdminUpdateInventoryOK ¶
type AdminUpdateInventoryOK struct {
Payload *inventoryclientmodels.ApimodelsInventoryResp
}
AdminUpdateInventoryOK handles this case with default header values.
OK
func NewAdminUpdateInventoryOK ¶
func NewAdminUpdateInventoryOK() *AdminUpdateInventoryOK
NewAdminUpdateInventoryOK creates a AdminUpdateInventoryOK with default headers values
func (*AdminUpdateInventoryOK) Error ¶
func (o *AdminUpdateInventoryOK) Error() string
func (*AdminUpdateInventoryOK) GetPayload ¶
func (o *AdminUpdateInventoryOK) GetPayload() *inventoryclientmodels.ApimodelsInventoryResp
func (*AdminUpdateInventoryOK) ToJSONString ¶
func (o *AdminUpdateInventoryOK) ToJSONString() string
type AdminUpdateInventoryParams ¶
type AdminUpdateInventoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsUpdateInventoryReq /*InventoryID InventoryID */ InventoryID 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 }
AdminUpdateInventoryParams contains all the parameters to send to the API endpoint for the admin update inventory operation typically these are written to a http.Request
func NewAdminUpdateInventoryParams ¶
func NewAdminUpdateInventoryParams() *AdminUpdateInventoryParams
NewAdminUpdateInventoryParams creates a new AdminUpdateInventoryParams object with the default values initialized.
func NewAdminUpdateInventoryParamsWithContext ¶
func NewAdminUpdateInventoryParamsWithContext(ctx context.Context) *AdminUpdateInventoryParams
NewAdminUpdateInventoryParamsWithContext creates a new AdminUpdateInventoryParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateInventoryParamsWithHTTPClient ¶
func NewAdminUpdateInventoryParamsWithHTTPClient(client *http.Client) *AdminUpdateInventoryParams
NewAdminUpdateInventoryParamsWithHTTPClient creates a new AdminUpdateInventoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateInventoryParamsWithTimeout ¶
func NewAdminUpdateInventoryParamsWithTimeout(timeout time.Duration) *AdminUpdateInventoryParams
NewAdminUpdateInventoryParamsWithTimeout creates a new AdminUpdateInventoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateInventoryParams) SetAuthInfoWriter ¶
func (o *AdminUpdateInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update inventory params
func (*AdminUpdateInventoryParams) SetBody ¶
func (o *AdminUpdateInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsUpdateInventoryReq)
SetBody adds the body to the admin update inventory params
func (*AdminUpdateInventoryParams) SetContext ¶
func (o *AdminUpdateInventoryParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update inventory params
func (*AdminUpdateInventoryParams) SetFlightId ¶
func (o *AdminUpdateInventoryParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminUpdateInventoryParams) SetHTTPClient ¶
func (o *AdminUpdateInventoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update inventory params
func (*AdminUpdateInventoryParams) SetHTTPClientTransport ¶
func (o *AdminUpdateInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update inventory params
func (*AdminUpdateInventoryParams) SetInventoryID ¶
func (o *AdminUpdateInventoryParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the admin update inventory params
func (*AdminUpdateInventoryParams) SetNamespace ¶
func (o *AdminUpdateInventoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update inventory params
func (*AdminUpdateInventoryParams) SetTimeout ¶
func (o *AdminUpdateInventoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update inventory params
func (*AdminUpdateInventoryParams) WithBody ¶
func (o *AdminUpdateInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsUpdateInventoryReq) *AdminUpdateInventoryParams
WithBody adds the body to the admin update inventory params
func (*AdminUpdateInventoryParams) WithContext ¶
func (o *AdminUpdateInventoryParams) WithContext(ctx context.Context) *AdminUpdateInventoryParams
WithContext adds the context to the admin update inventory params
func (*AdminUpdateInventoryParams) WithHTTPClient ¶
func (o *AdminUpdateInventoryParams) WithHTTPClient(client *http.Client) *AdminUpdateInventoryParams
WithHTTPClient adds the HTTPClient to the admin update inventory params
func (*AdminUpdateInventoryParams) WithInventoryID ¶
func (o *AdminUpdateInventoryParams) WithInventoryID(inventoryID string) *AdminUpdateInventoryParams
WithInventoryID adds the inventoryID to the admin update inventory params
func (*AdminUpdateInventoryParams) WithNamespace ¶
func (o *AdminUpdateInventoryParams) WithNamespace(namespace string) *AdminUpdateInventoryParams
WithNamespace adds the namespace to the admin update inventory params
func (*AdminUpdateInventoryParams) WithTimeout ¶
func (o *AdminUpdateInventoryParams) WithTimeout(timeout time.Duration) *AdminUpdateInventoryParams
WithTimeout adds the timeout to the admin update inventory params
func (*AdminUpdateInventoryParams) WriteToRequest ¶
func (o *AdminUpdateInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateInventoryReader ¶
type AdminUpdateInventoryReader struct {
// contains filtered or unexported fields
}
AdminUpdateInventoryReader is a Reader for the AdminUpdateInventory structure.
func (*AdminUpdateInventoryReader) ReadResponse ¶
func (o *AdminUpdateInventoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateInventoryResponse ¶
type AdminUpdateInventoryResponse struct { inventoryclientmodels.ApiResponse Data *inventoryclientmodels.ApimodelsInventoryResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminUpdateInventoryResponse) Unpack ¶
func (m *AdminUpdateInventoryResponse) Unpack() (*inventoryclientmodels.ApimodelsInventoryResp, *inventoryclientmodels.ApiError)
type AdminUpdateUserInventoriesByInventoryCodeBadRequest ¶
type AdminUpdateUserInventoriesByInventoryCodeBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateUserInventoriesByInventoryCodeBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateUserInventoriesByInventoryCodeBadRequest ¶
func NewAdminUpdateUserInventoriesByInventoryCodeBadRequest() *AdminUpdateUserInventoriesByInventoryCodeBadRequest
NewAdminUpdateUserInventoriesByInventoryCodeBadRequest creates a AdminUpdateUserInventoriesByInventoryCodeBadRequest with default headers values
func (*AdminUpdateUserInventoriesByInventoryCodeBadRequest) Error ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeBadRequest) Error() string
func (*AdminUpdateUserInventoriesByInventoryCodeBadRequest) GetPayload ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateUserInventoriesByInventoryCodeBadRequest) ToJSONString ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeBadRequest) ToJSONString() string
type AdminUpdateUserInventoriesByInventoryCodeForbidden ¶
type AdminUpdateUserInventoriesByInventoryCodeForbidden struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateUserInventoriesByInventoryCodeForbidden handles this case with default header values.
Forbidden
func NewAdminUpdateUserInventoriesByInventoryCodeForbidden ¶
func NewAdminUpdateUserInventoriesByInventoryCodeForbidden() *AdminUpdateUserInventoriesByInventoryCodeForbidden
NewAdminUpdateUserInventoriesByInventoryCodeForbidden creates a AdminUpdateUserInventoriesByInventoryCodeForbidden with default headers values
func (*AdminUpdateUserInventoriesByInventoryCodeForbidden) Error ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeForbidden) Error() string
func (*AdminUpdateUserInventoriesByInventoryCodeForbidden) GetPayload ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeForbidden) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateUserInventoriesByInventoryCodeForbidden) ToJSONString ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeForbidden) ToJSONString() string
type AdminUpdateUserInventoriesByInventoryCodeInternalServerError ¶
type AdminUpdateUserInventoriesByInventoryCodeInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateUserInventoriesByInventoryCodeInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateUserInventoriesByInventoryCodeInternalServerError ¶
func NewAdminUpdateUserInventoriesByInventoryCodeInternalServerError() *AdminUpdateUserInventoriesByInventoryCodeInternalServerError
NewAdminUpdateUserInventoriesByInventoryCodeInternalServerError creates a AdminUpdateUserInventoriesByInventoryCodeInternalServerError with default headers values
func (*AdminUpdateUserInventoriesByInventoryCodeInternalServerError) Error ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeInternalServerError) Error() string
func (*AdminUpdateUserInventoriesByInventoryCodeInternalServerError) GetPayload ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateUserInventoriesByInventoryCodeInternalServerError) ToJSONString ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeInternalServerError) ToJSONString() string
type AdminUpdateUserInventoriesByInventoryCodeNotFound ¶
type AdminUpdateUserInventoriesByInventoryCodeNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminUpdateUserInventoriesByInventoryCodeNotFound handles this case with default header values.
Not Found
func NewAdminUpdateUserInventoriesByInventoryCodeNotFound ¶
func NewAdminUpdateUserInventoriesByInventoryCodeNotFound() *AdminUpdateUserInventoriesByInventoryCodeNotFound
NewAdminUpdateUserInventoriesByInventoryCodeNotFound creates a AdminUpdateUserInventoriesByInventoryCodeNotFound with default headers values
func (*AdminUpdateUserInventoriesByInventoryCodeNotFound) Error ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeNotFound) Error() string
func (*AdminUpdateUserInventoriesByInventoryCodeNotFound) GetPayload ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateUserInventoriesByInventoryCodeNotFound) ToJSONString ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeNotFound) ToJSONString() string
type AdminUpdateUserInventoriesByInventoryCodeOK ¶
type AdminUpdateUserInventoriesByInventoryCodeOK struct {
Payload []*inventoryclientmodels.ApimodelsInventoryResp
}
AdminUpdateUserInventoriesByInventoryCodeOK handles this case with default header values.
OK
func NewAdminUpdateUserInventoriesByInventoryCodeOK ¶
func NewAdminUpdateUserInventoriesByInventoryCodeOK() *AdminUpdateUserInventoriesByInventoryCodeOK
NewAdminUpdateUserInventoriesByInventoryCodeOK creates a AdminUpdateUserInventoriesByInventoryCodeOK with default headers values
func (*AdminUpdateUserInventoriesByInventoryCodeOK) Error ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeOK) Error() string
func (*AdminUpdateUserInventoriesByInventoryCodeOK) GetPayload ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeOK) GetPayload() []*inventoryclientmodels.ApimodelsInventoryResp
func (*AdminUpdateUserInventoriesByInventoryCodeOK) ToJSONString ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeOK) ToJSONString() string
type AdminUpdateUserInventoriesByInventoryCodeParams ¶
type AdminUpdateUserInventoriesByInventoryCodeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsUpdateInventoryReq /*InventoryConfigurationCode InventoryConfigurationCode */ InventoryConfigurationCode string /*Namespace Namespace */ Namespace string /*UserID UserID */ UserID 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 }
AdminUpdateUserInventoriesByInventoryCodeParams contains all the parameters to send to the API endpoint for the admin update user inventories by inventory code operation typically these are written to a http.Request
func NewAdminUpdateUserInventoriesByInventoryCodeParams ¶
func NewAdminUpdateUserInventoriesByInventoryCodeParams() *AdminUpdateUserInventoriesByInventoryCodeParams
NewAdminUpdateUserInventoriesByInventoryCodeParams creates a new AdminUpdateUserInventoriesByInventoryCodeParams object with the default values initialized.
func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithContext ¶
func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithContext(ctx context.Context) *AdminUpdateUserInventoriesByInventoryCodeParams
NewAdminUpdateUserInventoriesByInventoryCodeParamsWithContext creates a new AdminUpdateUserInventoriesByInventoryCodeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithHTTPClient ¶
func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithHTTPClient(client *http.Client) *AdminUpdateUserInventoriesByInventoryCodeParams
NewAdminUpdateUserInventoriesByInventoryCodeParamsWithHTTPClient creates a new AdminUpdateUserInventoriesByInventoryCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithTimeout ¶
func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithTimeout(timeout time.Duration) *AdminUpdateUserInventoriesByInventoryCodeParams
NewAdminUpdateUserInventoriesByInventoryCodeParamsWithTimeout creates a new AdminUpdateUserInventoriesByInventoryCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetAuthInfoWriter ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetBody ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetBody(body *inventoryclientmodels.ApimodelsUpdateInventoryReq)
SetBody adds the body to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetContext ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetFlightId ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetHTTPClient ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetHTTPClientTransport ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetInventoryConfigurationCode ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetInventoryConfigurationCode(inventoryConfigurationCode string)
SetInventoryConfigurationCode adds the inventoryConfigurationCode to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetNamespace ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetTimeout ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetUserID ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetUserID(userID string)
SetUserID adds the userId to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithBody ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithBody(body *inventoryclientmodels.ApimodelsUpdateInventoryReq) *AdminUpdateUserInventoriesByInventoryCodeParams
WithBody adds the body to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithContext ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithContext(ctx context.Context) *AdminUpdateUserInventoriesByInventoryCodeParams
WithContext adds the context to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithHTTPClient ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithHTTPClient(client *http.Client) *AdminUpdateUserInventoriesByInventoryCodeParams
WithHTTPClient adds the HTTPClient to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithInventoryConfigurationCode ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithInventoryConfigurationCode(inventoryConfigurationCode string) *AdminUpdateUserInventoriesByInventoryCodeParams
WithInventoryConfigurationCode adds the inventoryConfigurationCode to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithNamespace ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithNamespace(namespace string) *AdminUpdateUserInventoriesByInventoryCodeParams
WithNamespace adds the namespace to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithTimeout ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithTimeout(timeout time.Duration) *AdminUpdateUserInventoriesByInventoryCodeParams
WithTimeout adds the timeout to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithUserID ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithUserID(userID string) *AdminUpdateUserInventoriesByInventoryCodeParams
WithUserID adds the userID to the admin update user inventories by inventory code params
func (*AdminUpdateUserInventoriesByInventoryCodeParams) WriteToRequest ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateUserInventoriesByInventoryCodeReader ¶
type AdminUpdateUserInventoriesByInventoryCodeReader struct {
// contains filtered or unexported fields
}
AdminUpdateUserInventoriesByInventoryCodeReader is a Reader for the AdminUpdateUserInventoriesByInventoryCode structure.
func (*AdminUpdateUserInventoriesByInventoryCodeReader) ReadResponse ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateUserInventoriesByInventoryCodeResponse ¶
type AdminUpdateUserInventoriesByInventoryCodeResponse struct { inventoryclientmodels.ApiResponse Data []*inventoryclientmodels.ApimodelsInventoryResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error401 *inventoryclientmodels.ApimodelsErrorResponse Error403 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
type AdminUpdateUserInventoriesByInventoryCodeUnauthorized ¶
type AdminUpdateUserInventoriesByInventoryCodeUnauthorized struct {
}AdminUpdateUserInventoriesByInventoryCodeUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateUserInventoriesByInventoryCodeUnauthorized ¶
func NewAdminUpdateUserInventoriesByInventoryCodeUnauthorized() *AdminUpdateUserInventoriesByInventoryCodeUnauthorized
NewAdminUpdateUserInventoriesByInventoryCodeUnauthorized creates a AdminUpdateUserInventoriesByInventoryCodeUnauthorized with default headers values
func (*AdminUpdateUserInventoriesByInventoryCodeUnauthorized) Error ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeUnauthorized) Error() string
func (*AdminUpdateUserInventoriesByInventoryCodeUnauthorized) GetPayload ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeUnauthorized) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminUpdateUserInventoriesByInventoryCodeUnauthorized) ToJSONString ¶
func (o *AdminUpdateUserInventoriesByInventoryCodeUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin inventories API
func (*Client) AdminCreateInventoryShort ¶
func (a *Client) AdminCreateInventoryShort(params *AdminCreateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryResponse, error)
AdminCreateInventoryShort to create inventory
Creating an inventory. The inventory configuration must exists otherwise it will fail. The max slots and max upgrade slots of an inventory will be initialized according to the inventory configuration it used, but it can be changed later when using AdminUpdateInventory endpoint.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [CREATE]
func (*Client) AdminGetInventoryShort ¶
func (a *Client) AdminGetInventoryShort(params *AdminGetInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryResponse, error)
AdminGetInventoryShort to get an inventory
Getting an inventory info.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [READ]
func (*Client) AdminListInventoriesShort ¶
func (a *Client) AdminListInventoriesShort(params *AdminListInventoriesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoriesResponse, error)
AdminListInventoriesShort to list all inventories
Listing all inventories in a namespace. The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [READ]
func (*Client) AdminPurchasableShort ¶
func (a *Client) AdminPurchasableShort(params *AdminPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*AdminPurchasableResponse, error)
AdminPurchasableShort to validate user inventory capacity when purchase ecommerce item
Validate purchase ecommerce item.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [UPDATE]
func (*Client) AdminUpdateInventoryShort ¶
func (a *Client) AdminUpdateInventoryShort(params *AdminUpdateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryResponse, error)
AdminUpdateInventoryShort to update inventory
Updating an inventory. Positive value will increase MaxSlots from existing value Negative value will decrease MaxSlots from existing value Limited slots can not be changed to unlimited, vice versa
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [UPDATE]
func (*Client) AdminUpdateUserInventoriesByInventoryCodeShort ¶
func (a *Client) AdminUpdateUserInventoriesByInventoryCodeShort(params *AdminUpdateUserInventoriesByInventoryCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserInventoriesByInventoryCodeResponse, error)
AdminUpdateUserInventoriesByInventoryCodeShort to update user inventories by inventory code
Updating user inventories. Positive value will increase MaxSlots from existing value Negative value will decrease MaxSlots from existing value Limited slots can not be changed to unlimited, vice versa
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [UPDATE]
func (*Client) DeleteInventoryShort ¶
func (a *Client) DeleteInventoryShort(params *DeleteInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInventoryResponse, error)
DeleteInventoryShort to delete inventory
Deleting an inventory. If an inventory still has items, it cannot be deleted.
ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [DELETE]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminListInventoriesShort(params *AdminListInventoriesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoriesResponse, error) AdminCreateInventoryShort(params *AdminCreateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryResponse, error) AdminGetInventoryShort(params *AdminGetInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryResponse, error) AdminUpdateInventoryShort(params *AdminUpdateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryResponse, error) DeleteInventoryShort(params *DeleteInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInventoryResponse, error) AdminUpdateUserInventoriesByInventoryCodeShort(params *AdminUpdateUserInventoriesByInventoryCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserInventoriesByInventoryCodeResponse, error) AdminPurchasableShort(params *AdminPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*AdminPurchasableResponse, 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 inventories API client.
type DeleteInventoryBadRequest ¶
type DeleteInventoryBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
DeleteInventoryBadRequest handles this case with default header values.
Bad Request
func NewDeleteInventoryBadRequest ¶
func NewDeleteInventoryBadRequest() *DeleteInventoryBadRequest
NewDeleteInventoryBadRequest creates a DeleteInventoryBadRequest with default headers values
func (*DeleteInventoryBadRequest) Error ¶
func (o *DeleteInventoryBadRequest) Error() string
func (*DeleteInventoryBadRequest) GetPayload ¶
func (o *DeleteInventoryBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*DeleteInventoryBadRequest) ToJSONString ¶
func (o *DeleteInventoryBadRequest) ToJSONString() string
type DeleteInventoryInternalServerError ¶
type DeleteInventoryInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
DeleteInventoryInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteInventoryInternalServerError ¶
func NewDeleteInventoryInternalServerError() *DeleteInventoryInternalServerError
NewDeleteInventoryInternalServerError creates a DeleteInventoryInternalServerError with default headers values
func (*DeleteInventoryInternalServerError) Error ¶
func (o *DeleteInventoryInternalServerError) Error() string
func (*DeleteInventoryInternalServerError) GetPayload ¶
func (o *DeleteInventoryInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*DeleteInventoryInternalServerError) ToJSONString ¶
func (o *DeleteInventoryInternalServerError) ToJSONString() string
type DeleteInventoryNoContent ¶
type DeleteInventoryNoContent struct { }
DeleteInventoryNoContent handles this case with default header values.
No Content
func NewDeleteInventoryNoContent ¶
func NewDeleteInventoryNoContent() *DeleteInventoryNoContent
NewDeleteInventoryNoContent creates a DeleteInventoryNoContent with default headers values
func (*DeleteInventoryNoContent) Error ¶
func (o *DeleteInventoryNoContent) Error() string
type DeleteInventoryNotFound ¶
type DeleteInventoryNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
DeleteInventoryNotFound handles this case with default header values.
Not Found
func NewDeleteInventoryNotFound ¶
func NewDeleteInventoryNotFound() *DeleteInventoryNotFound
NewDeleteInventoryNotFound creates a DeleteInventoryNotFound with default headers values
func (*DeleteInventoryNotFound) Error ¶
func (o *DeleteInventoryNotFound) Error() string
func (*DeleteInventoryNotFound) GetPayload ¶
func (o *DeleteInventoryNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*DeleteInventoryNotFound) ToJSONString ¶
func (o *DeleteInventoryNotFound) ToJSONString() string
type DeleteInventoryParams ¶
type DeleteInventoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsDeleteInventoryReq /*InventoryID InventoryID */ InventoryID 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 }
DeleteInventoryParams contains all the parameters to send to the API endpoint for the delete inventory operation typically these are written to a http.Request
func NewDeleteInventoryParams ¶
func NewDeleteInventoryParams() *DeleteInventoryParams
NewDeleteInventoryParams creates a new DeleteInventoryParams object with the default values initialized.
func NewDeleteInventoryParamsWithContext ¶
func NewDeleteInventoryParamsWithContext(ctx context.Context) *DeleteInventoryParams
NewDeleteInventoryParamsWithContext creates a new DeleteInventoryParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteInventoryParamsWithHTTPClient ¶
func NewDeleteInventoryParamsWithHTTPClient(client *http.Client) *DeleteInventoryParams
NewDeleteInventoryParamsWithHTTPClient creates a new DeleteInventoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteInventoryParamsWithTimeout ¶
func NewDeleteInventoryParamsWithTimeout(timeout time.Duration) *DeleteInventoryParams
NewDeleteInventoryParamsWithTimeout creates a new DeleteInventoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteInventoryParams) SetAuthInfoWriter ¶
func (o *DeleteInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete inventory params
func (*DeleteInventoryParams) SetBody ¶
func (o *DeleteInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsDeleteInventoryReq)
SetBody adds the body to the delete inventory params
func (*DeleteInventoryParams) SetContext ¶
func (o *DeleteInventoryParams) SetContext(ctx context.Context)
SetContext adds the context to the delete inventory params
func (*DeleteInventoryParams) SetFlightId ¶
func (o *DeleteInventoryParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteInventoryParams) SetHTTPClient ¶
func (o *DeleteInventoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete inventory params
func (*DeleteInventoryParams) SetHTTPClientTransport ¶
func (o *DeleteInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete inventory params
func (*DeleteInventoryParams) SetInventoryID ¶
func (o *DeleteInventoryParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the delete inventory params
func (*DeleteInventoryParams) SetNamespace ¶
func (o *DeleteInventoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete inventory params
func (*DeleteInventoryParams) SetTimeout ¶
func (o *DeleteInventoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete inventory params
func (*DeleteInventoryParams) WithBody ¶
func (o *DeleteInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsDeleteInventoryReq) *DeleteInventoryParams
WithBody adds the body to the delete inventory params
func (*DeleteInventoryParams) WithContext ¶
func (o *DeleteInventoryParams) WithContext(ctx context.Context) *DeleteInventoryParams
WithContext adds the context to the delete inventory params
func (*DeleteInventoryParams) WithHTTPClient ¶
func (o *DeleteInventoryParams) WithHTTPClient(client *http.Client) *DeleteInventoryParams
WithHTTPClient adds the HTTPClient to the delete inventory params
func (*DeleteInventoryParams) WithInventoryID ¶
func (o *DeleteInventoryParams) WithInventoryID(inventoryID string) *DeleteInventoryParams
WithInventoryID adds the inventoryID to the delete inventory params
func (*DeleteInventoryParams) WithNamespace ¶
func (o *DeleteInventoryParams) WithNamespace(namespace string) *DeleteInventoryParams
WithNamespace adds the namespace to the delete inventory params
func (*DeleteInventoryParams) WithTimeout ¶
func (o *DeleteInventoryParams) WithTimeout(timeout time.Duration) *DeleteInventoryParams
WithTimeout adds the timeout to the delete inventory params
func (*DeleteInventoryParams) WriteToRequest ¶
func (o *DeleteInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteInventoryReader ¶
type DeleteInventoryReader struct {
// contains filtered or unexported fields
}
DeleteInventoryReader is a Reader for the DeleteInventory structure.
func (*DeleteInventoryReader) ReadResponse ¶
func (o *DeleteInventoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteInventoryResponse ¶
type DeleteInventoryResponse struct { inventoryclientmodels.ApiResponse Error400 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*DeleteInventoryResponse) Unpack ¶
func (m *DeleteInventoryResponse) Unpack() *inventoryclientmodels.ApiError
Source Files
¶
- admin_create_inventory_parameters.go
- admin_create_inventory_responses.go
- admin_get_inventory_parameters.go
- admin_get_inventory_responses.go
- admin_inventories_client.go
- admin_list_inventories_parameters.go
- admin_list_inventories_responses.go
- admin_purchasable_parameters.go
- admin_purchasable_responses.go
- admin_update_inventory_parameters.go
- admin_update_inventory_responses.go
- admin_update_user_inventories_by_inventory_code_parameters.go
- admin_update_user_inventories_by_inventory_code_responses.go
- delete_inventory_parameters.go
- delete_inventory_responses.go