Documentation ¶
Index ¶
- Constants
- type AdminBulkRemoveItemsBadRequest
- type AdminBulkRemoveItemsInternalServerError
- type AdminBulkRemoveItemsNotFound
- type AdminBulkRemoveItemsOK
- type AdminBulkRemoveItemsParams
- func NewAdminBulkRemoveItemsParams() *AdminBulkRemoveItemsParams
- func NewAdminBulkRemoveItemsParamsWithContext(ctx context.Context) *AdminBulkRemoveItemsParams
- func NewAdminBulkRemoveItemsParamsWithHTTPClient(client *http.Client) *AdminBulkRemoveItemsParams
- func NewAdminBulkRemoveItemsParamsWithTimeout(timeout time.Duration) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminBulkRemoveItemsParams) SetBody(body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq)
- func (o *AdminBulkRemoveItemsParams) SetContext(ctx context.Context)
- func (o *AdminBulkRemoveItemsParams) SetHTTPClient(client *http.Client)
- func (o *AdminBulkRemoveItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminBulkRemoveItemsParams) SetInventoryID(inventoryID string)
- func (o *AdminBulkRemoveItemsParams) SetNamespace(namespace string)
- func (o *AdminBulkRemoveItemsParams) SetTimeout(timeout time.Duration)
- func (o *AdminBulkRemoveItemsParams) SetUserID(userID string)
- func (o *AdminBulkRemoveItemsParams) WithBody(body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithContext(ctx context.Context) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithHTTPClient(client *http.Client) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithInventoryID(inventoryID string) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithNamespace(namespace string) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithTimeout(timeout time.Duration) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithUserID(userID string) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminBulkRemoveItemsReader
- type AdminBulkUpdateMyItemsBadRequest
- type AdminBulkUpdateMyItemsInternalServerError
- type AdminBulkUpdateMyItemsNotFound
- type AdminBulkUpdateMyItemsOK
- type AdminBulkUpdateMyItemsParams
- func NewAdminBulkUpdateMyItemsParams() *AdminBulkUpdateMyItemsParams
- func NewAdminBulkUpdateMyItemsParamsWithContext(ctx context.Context) *AdminBulkUpdateMyItemsParams
- func NewAdminBulkUpdateMyItemsParamsWithHTTPClient(client *http.Client) *AdminBulkUpdateMyItemsParams
- func NewAdminBulkUpdateMyItemsParamsWithTimeout(timeout time.Duration) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminBulkUpdateMyItemsParams) SetBody(body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq)
- func (o *AdminBulkUpdateMyItemsParams) SetContext(ctx context.Context)
- func (o *AdminBulkUpdateMyItemsParams) SetHTTPClient(client *http.Client)
- func (o *AdminBulkUpdateMyItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminBulkUpdateMyItemsParams) SetInventoryID(inventoryID string)
- func (o *AdminBulkUpdateMyItemsParams) SetNamespace(namespace string)
- func (o *AdminBulkUpdateMyItemsParams) SetTimeout(timeout time.Duration)
- func (o *AdminBulkUpdateMyItemsParams) SetUserID(userID string)
- func (o *AdminBulkUpdateMyItemsParams) WithBody(body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithContext(ctx context.Context) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithHTTPClient(client *http.Client) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithInventoryID(inventoryID string) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithNamespace(namespace string) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithTimeout(timeout time.Duration) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithUserID(userID string) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminBulkUpdateMyItemsReader
- type AdminConsumeUserItemBadRequest
- type AdminConsumeUserItemInternalServerError
- type AdminConsumeUserItemNotFound
- type AdminConsumeUserItemOK
- type AdminConsumeUserItemParams
- func NewAdminConsumeUserItemParams() *AdminConsumeUserItemParams
- func NewAdminConsumeUserItemParamsWithContext(ctx context.Context) *AdminConsumeUserItemParams
- func NewAdminConsumeUserItemParamsWithHTTPClient(client *http.Client) *AdminConsumeUserItemParams
- func NewAdminConsumeUserItemParamsWithTimeout(timeout time.Duration) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminConsumeUserItemParams) SetBody(body *inventoryclientmodels.ApimodelsConsumeItemReq)
- func (o *AdminConsumeUserItemParams) SetContext(ctx context.Context)
- func (o *AdminConsumeUserItemParams) SetHTTPClient(client *http.Client)
- func (o *AdminConsumeUserItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminConsumeUserItemParams) SetInventoryID(inventoryID string)
- func (o *AdminConsumeUserItemParams) SetNamespace(namespace string)
- func (o *AdminConsumeUserItemParams) SetTimeout(timeout time.Duration)
- func (o *AdminConsumeUserItemParams) SetUserID(userID string)
- func (o *AdminConsumeUserItemParams) WithBody(body *inventoryclientmodels.ApimodelsConsumeItemReq) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithContext(ctx context.Context) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithHTTPClient(client *http.Client) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithInventoryID(inventoryID string) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithNamespace(namespace string) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithTimeout(timeout time.Duration) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithUserID(userID string) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminConsumeUserItemReader
- type AdminGetInventoryItemBadRequest
- type AdminGetInventoryItemInternalServerError
- type AdminGetInventoryItemNotFound
- type AdminGetInventoryItemOK
- type AdminGetInventoryItemParams
- func NewAdminGetInventoryItemParams() *AdminGetInventoryItemParams
- func NewAdminGetInventoryItemParamsWithContext(ctx context.Context) *AdminGetInventoryItemParams
- func NewAdminGetInventoryItemParamsWithHTTPClient(client *http.Client) *AdminGetInventoryItemParams
- func NewAdminGetInventoryItemParamsWithTimeout(timeout time.Duration) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetInventoryItemParams) SetContext(ctx context.Context)
- func (o *AdminGetInventoryItemParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetInventoryItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetInventoryItemParams) SetInventoryID(inventoryID string)
- func (o *AdminGetInventoryItemParams) SetNamespace(namespace string)
- func (o *AdminGetInventoryItemParams) SetSlotID(slotID string)
- func (o *AdminGetInventoryItemParams) SetSourceItemID(sourceItemID string)
- func (o *AdminGetInventoryItemParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetInventoryItemParams) WithContext(ctx context.Context) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithHTTPClient(client *http.Client) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithInventoryID(inventoryID string) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithNamespace(namespace string) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithSlotID(slotID string) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithSourceItemID(sourceItemID string) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithTimeout(timeout time.Duration) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetInventoryItemReader
- type AdminListItemsBadRequest
- type AdminListItemsInternalServerError
- type AdminListItemsOK
- type AdminListItemsParams
- func NewAdminListItemsParams() *AdminListItemsParams
- func NewAdminListItemsParamsWithContext(ctx context.Context) *AdminListItemsParams
- func NewAdminListItemsParamsWithHTTPClient(client *http.Client) *AdminListItemsParams
- func NewAdminListItemsParamsWithTimeout(timeout time.Duration) *AdminListItemsParams
- func (o *AdminListItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListItemsParams) SetContext(ctx context.Context)
- func (o *AdminListItemsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListItemsParams) SetInventoryID(inventoryID string)
- func (o *AdminListItemsParams) SetLimit(limit *int64)
- func (o *AdminListItemsParams) SetNamespace(namespace string)
- func (o *AdminListItemsParams) SetOffset(offset *int64)
- func (o *AdminListItemsParams) SetQtyGte(qtyGte *int64)
- func (o *AdminListItemsParams) SetSortBy(sortBy *string)
- func (o *AdminListItemsParams) SetSourceItemID(sourceItemID *string)
- func (o *AdminListItemsParams) SetTags(tags *string)
- func (o *AdminListItemsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListItemsParams) WithContext(ctx context.Context) *AdminListItemsParams
- func (o *AdminListItemsParams) WithHTTPClient(client *http.Client) *AdminListItemsParams
- func (o *AdminListItemsParams) WithInventoryID(inventoryID string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithLimit(limit *int64) *AdminListItemsParams
- func (o *AdminListItemsParams) WithNamespace(namespace string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithOffset(offset *int64) *AdminListItemsParams
- func (o *AdminListItemsParams) WithQtyGte(qtyGte *int64) *AdminListItemsParams
- func (o *AdminListItemsParams) WithSortBy(sortBy *string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithSourceItemID(sourceItemID *string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithTags(tags *string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithTimeout(timeout time.Duration) *AdminListItemsParams
- func (o *AdminListItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListItemsReader
- type AdminSaveItemBadRequest
- type AdminSaveItemInternalServerError
- type AdminSaveItemOK
- type AdminSaveItemParams
- func (o *AdminSaveItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminSaveItemParams) SetBody(body *inventoryclientmodels.ApimodelsSaveItemReq)
- func (o *AdminSaveItemParams) SetContext(ctx context.Context)
- func (o *AdminSaveItemParams) SetHTTPClient(client *http.Client)
- func (o *AdminSaveItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminSaveItemParams) SetNamespace(namespace string)
- func (o *AdminSaveItemParams) SetTimeout(timeout time.Duration)
- func (o *AdminSaveItemParams) SetUserID(userID string)
- func (o *AdminSaveItemParams) WithBody(body *inventoryclientmodels.ApimodelsSaveItemReq) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithContext(ctx context.Context) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithHTTPClient(client *http.Client) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithNamespace(namespace string) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithTimeout(timeout time.Duration) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithUserID(userID string) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminSaveItemReader
- type AdminSaveItemToInventoryBadRequest
- type AdminSaveItemToInventoryInternalServerError
- type AdminSaveItemToInventoryOK
- type AdminSaveItemToInventoryParams
- func NewAdminSaveItemToInventoryParams() *AdminSaveItemToInventoryParams
- func NewAdminSaveItemToInventoryParamsWithContext(ctx context.Context) *AdminSaveItemToInventoryParams
- func NewAdminSaveItemToInventoryParamsWithHTTPClient(client *http.Client) *AdminSaveItemToInventoryParams
- func NewAdminSaveItemToInventoryParamsWithTimeout(timeout time.Duration) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminSaveItemToInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq)
- func (o *AdminSaveItemToInventoryParams) SetContext(ctx context.Context)
- func (o *AdminSaveItemToInventoryParams) SetHTTPClient(client *http.Client)
- func (o *AdminSaveItemToInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminSaveItemToInventoryParams) SetInventoryID(inventoryID string)
- func (o *AdminSaveItemToInventoryParams) SetNamespace(namespace string)
- func (o *AdminSaveItemToInventoryParams) SetTimeout(timeout time.Duration)
- func (o *AdminSaveItemToInventoryParams) SetUserID(userID string)
- func (o *AdminSaveItemToInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithContext(ctx context.Context) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithHTTPClient(client *http.Client) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithInventoryID(inventoryID string) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithNamespace(namespace string) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithTimeout(timeout time.Duration) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithUserID(userID string) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminSaveItemToInventoryReader
- type Client
- func (a *Client) AdminBulkRemoveItems(params *AdminBulkRemoveItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkRemoveItemsOK, *AdminBulkRemoveItemsBadRequest, ...)deprecated
- func (a *Client) AdminBulkRemoveItemsShort(params *AdminBulkRemoveItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkRemoveItemsOK, error)
- func (a *Client) AdminBulkUpdateMyItems(params *AdminBulkUpdateMyItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkUpdateMyItemsOK, *AdminBulkUpdateMyItemsBadRequest, ...)deprecated
- func (a *Client) AdminBulkUpdateMyItemsShort(params *AdminBulkUpdateMyItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkUpdateMyItemsOK, error)
- func (a *Client) AdminConsumeUserItem(params *AdminConsumeUserItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminConsumeUserItemOK, *AdminConsumeUserItemBadRequest, ...)deprecated
- func (a *Client) AdminConsumeUserItemShort(params *AdminConsumeUserItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminConsumeUserItemOK, error)
- func (a *Client) AdminGetInventoryItem(params *AdminGetInventoryItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryItemOK, *AdminGetInventoryItemBadRequest, ...)deprecated
- func (a *Client) AdminGetInventoryItemShort(params *AdminGetInventoryItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryItemOK, error)
- func (a *Client) AdminListItems(params *AdminListItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListItemsOK, *AdminListItemsBadRequest, ...)deprecated
- func (a *Client) AdminListItemsShort(params *AdminListItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListItemsOK, error)
- func (a *Client) AdminSaveItem(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemOK, *AdminSaveItemBadRequest, *AdminSaveItemInternalServerError, ...)deprecated
- func (a *Client) AdminSaveItemShort(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemOK, error)
- func (a *Client) AdminSaveItemToInventory(params *AdminSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemToInventoryOK, *AdminSaveItemToInventoryBadRequest, ...)deprecated
- func (a *Client) AdminSaveItemToInventoryShort(params *AdminSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemToInventoryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
const ( AdminListItemsCreatedAtConstant = "createdAt" AdminListItemsCreatedAtAscConstant = "createdAt:asc" AdminListItemsCreatedAtDescConstant = "createdAt:desc" AdminListItemsQtyConstant = "qty" AdminListItemsQtyAscConstant = "qty:asc" AdminListItemsQtyDescConstant = "qty:desc" AdminListItemsUpdatedAtConstant = "updatedAt" AdminListItemsUpdatedAtAscConstant = "updatedAt:asc" AdminListItemsUpdatedAtDescConstant = "updatedAt:desc" )
Get the enum in AdminListItemsParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminBulkRemoveItemsBadRequest ¶
type AdminBulkRemoveItemsBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkRemoveItemsBadRequest handles this case with default header values.
Bad Request
func NewAdminBulkRemoveItemsBadRequest ¶
func NewAdminBulkRemoveItemsBadRequest() *AdminBulkRemoveItemsBadRequest
NewAdminBulkRemoveItemsBadRequest creates a AdminBulkRemoveItemsBadRequest with default headers values
func (*AdminBulkRemoveItemsBadRequest) Error ¶
func (o *AdminBulkRemoveItemsBadRequest) Error() string
func (*AdminBulkRemoveItemsBadRequest) GetPayload ¶
func (o *AdminBulkRemoveItemsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkRemoveItemsBadRequest) ToJSONString ¶
func (o *AdminBulkRemoveItemsBadRequest) ToJSONString() string
type AdminBulkRemoveItemsInternalServerError ¶
type AdminBulkRemoveItemsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkRemoveItemsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminBulkRemoveItemsInternalServerError ¶
func NewAdminBulkRemoveItemsInternalServerError() *AdminBulkRemoveItemsInternalServerError
NewAdminBulkRemoveItemsInternalServerError creates a AdminBulkRemoveItemsInternalServerError with default headers values
func (*AdminBulkRemoveItemsInternalServerError) Error ¶
func (o *AdminBulkRemoveItemsInternalServerError) Error() string
func (*AdminBulkRemoveItemsInternalServerError) GetPayload ¶
func (o *AdminBulkRemoveItemsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkRemoveItemsInternalServerError) ToJSONString ¶
func (o *AdminBulkRemoveItemsInternalServerError) ToJSONString() string
type AdminBulkRemoveItemsNotFound ¶
type AdminBulkRemoveItemsNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkRemoveItemsNotFound handles this case with default header values.
Not Found
func NewAdminBulkRemoveItemsNotFound ¶
func NewAdminBulkRemoveItemsNotFound() *AdminBulkRemoveItemsNotFound
NewAdminBulkRemoveItemsNotFound creates a AdminBulkRemoveItemsNotFound with default headers values
func (*AdminBulkRemoveItemsNotFound) Error ¶
func (o *AdminBulkRemoveItemsNotFound) Error() string
func (*AdminBulkRemoveItemsNotFound) GetPayload ¶
func (o *AdminBulkRemoveItemsNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkRemoveItemsNotFound) ToJSONString ¶
func (o *AdminBulkRemoveItemsNotFound) ToJSONString() string
type AdminBulkRemoveItemsOK ¶
type AdminBulkRemoveItemsOK struct {
Payload []*inventoryclientmodels.ApimodelsUpdateItemResp
}
AdminBulkRemoveItemsOK handles this case with default header values.
OK
func NewAdminBulkRemoveItemsOK ¶
func NewAdminBulkRemoveItemsOK() *AdminBulkRemoveItemsOK
NewAdminBulkRemoveItemsOK creates a AdminBulkRemoveItemsOK with default headers values
func (*AdminBulkRemoveItemsOK) Error ¶
func (o *AdminBulkRemoveItemsOK) Error() string
func (*AdminBulkRemoveItemsOK) GetPayload ¶
func (o *AdminBulkRemoveItemsOK) GetPayload() []*inventoryclientmodels.ApimodelsUpdateItemResp
func (*AdminBulkRemoveItemsOK) ToJSONString ¶
func (o *AdminBulkRemoveItemsOK) ToJSONString() string
type AdminBulkRemoveItemsParams ¶
type AdminBulkRemoveItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*UserID userID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminBulkRemoveItemsParams contains all the parameters to send to the API endpoint for the admin bulk remove items operation typically these are written to a http.Request
func NewAdminBulkRemoveItemsParams ¶
func NewAdminBulkRemoveItemsParams() *AdminBulkRemoveItemsParams
NewAdminBulkRemoveItemsParams creates a new AdminBulkRemoveItemsParams object with the default values initialized.
func NewAdminBulkRemoveItemsParamsWithContext ¶
func NewAdminBulkRemoveItemsParamsWithContext(ctx context.Context) *AdminBulkRemoveItemsParams
NewAdminBulkRemoveItemsParamsWithContext creates a new AdminBulkRemoveItemsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminBulkRemoveItemsParamsWithHTTPClient ¶
func NewAdminBulkRemoveItemsParamsWithHTTPClient(client *http.Client) *AdminBulkRemoveItemsParams
NewAdminBulkRemoveItemsParamsWithHTTPClient creates a new AdminBulkRemoveItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminBulkRemoveItemsParamsWithTimeout ¶
func NewAdminBulkRemoveItemsParamsWithTimeout(timeout time.Duration) *AdminBulkRemoveItemsParams
NewAdminBulkRemoveItemsParamsWithTimeout creates a new AdminBulkRemoveItemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminBulkRemoveItemsParams) SetAuthInfoWriter ¶
func (o *AdminBulkRemoveItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetBody ¶
func (o *AdminBulkRemoveItemsParams) SetBody(body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq)
SetBody adds the body to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetContext ¶
func (o *AdminBulkRemoveItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetHTTPClient ¶
func (o *AdminBulkRemoveItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetHTTPClientTransport ¶
func (o *AdminBulkRemoveItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetInventoryID ¶
func (o *AdminBulkRemoveItemsParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetNamespace ¶
func (o *AdminBulkRemoveItemsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetTimeout ¶
func (o *AdminBulkRemoveItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetUserID ¶
func (o *AdminBulkRemoveItemsParams) SetUserID(userID string)
SetUserID adds the userId to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithBody ¶
func (o *AdminBulkRemoveItemsParams) WithBody(body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq) *AdminBulkRemoveItemsParams
WithBody adds the body to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithContext ¶
func (o *AdminBulkRemoveItemsParams) WithContext(ctx context.Context) *AdminBulkRemoveItemsParams
WithContext adds the context to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithHTTPClient ¶
func (o *AdminBulkRemoveItemsParams) WithHTTPClient(client *http.Client) *AdminBulkRemoveItemsParams
WithHTTPClient adds the HTTPClient to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithInventoryID ¶
func (o *AdminBulkRemoveItemsParams) WithInventoryID(inventoryID string) *AdminBulkRemoveItemsParams
WithInventoryID adds the inventoryID to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithNamespace ¶
func (o *AdminBulkRemoveItemsParams) WithNamespace(namespace string) *AdminBulkRemoveItemsParams
WithNamespace adds the namespace to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithTimeout ¶
func (o *AdminBulkRemoveItemsParams) WithTimeout(timeout time.Duration) *AdminBulkRemoveItemsParams
WithTimeout adds the timeout to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithUserID ¶
func (o *AdminBulkRemoveItemsParams) WithUserID(userID string) *AdminBulkRemoveItemsParams
WithUserID adds the userID to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WriteToRequest ¶
func (o *AdminBulkRemoveItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminBulkRemoveItemsReader ¶
type AdminBulkRemoveItemsReader struct {
// contains filtered or unexported fields
}
AdminBulkRemoveItemsReader is a Reader for the AdminBulkRemoveItems structure.
func (*AdminBulkRemoveItemsReader) ReadResponse ¶
func (o *AdminBulkRemoveItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminBulkUpdateMyItemsBadRequest ¶
type AdminBulkUpdateMyItemsBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkUpdateMyItemsBadRequest handles this case with default header values.
Bad Request
func NewAdminBulkUpdateMyItemsBadRequest ¶
func NewAdminBulkUpdateMyItemsBadRequest() *AdminBulkUpdateMyItemsBadRequest
NewAdminBulkUpdateMyItemsBadRequest creates a AdminBulkUpdateMyItemsBadRequest with default headers values
func (*AdminBulkUpdateMyItemsBadRequest) Error ¶
func (o *AdminBulkUpdateMyItemsBadRequest) Error() string
func (*AdminBulkUpdateMyItemsBadRequest) GetPayload ¶
func (o *AdminBulkUpdateMyItemsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkUpdateMyItemsBadRequest) ToJSONString ¶
func (o *AdminBulkUpdateMyItemsBadRequest) ToJSONString() string
type AdminBulkUpdateMyItemsInternalServerError ¶
type AdminBulkUpdateMyItemsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkUpdateMyItemsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminBulkUpdateMyItemsInternalServerError ¶
func NewAdminBulkUpdateMyItemsInternalServerError() *AdminBulkUpdateMyItemsInternalServerError
NewAdminBulkUpdateMyItemsInternalServerError creates a AdminBulkUpdateMyItemsInternalServerError with default headers values
func (*AdminBulkUpdateMyItemsInternalServerError) Error ¶
func (o *AdminBulkUpdateMyItemsInternalServerError) Error() string
func (*AdminBulkUpdateMyItemsInternalServerError) GetPayload ¶
func (o *AdminBulkUpdateMyItemsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkUpdateMyItemsInternalServerError) ToJSONString ¶
func (o *AdminBulkUpdateMyItemsInternalServerError) ToJSONString() string
type AdminBulkUpdateMyItemsNotFound ¶
type AdminBulkUpdateMyItemsNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkUpdateMyItemsNotFound handles this case with default header values.
Not Found
func NewAdminBulkUpdateMyItemsNotFound ¶
func NewAdminBulkUpdateMyItemsNotFound() *AdminBulkUpdateMyItemsNotFound
NewAdminBulkUpdateMyItemsNotFound creates a AdminBulkUpdateMyItemsNotFound with default headers values
func (*AdminBulkUpdateMyItemsNotFound) Error ¶
func (o *AdminBulkUpdateMyItemsNotFound) Error() string
func (*AdminBulkUpdateMyItemsNotFound) GetPayload ¶
func (o *AdminBulkUpdateMyItemsNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkUpdateMyItemsNotFound) ToJSONString ¶
func (o *AdminBulkUpdateMyItemsNotFound) ToJSONString() string
type AdminBulkUpdateMyItemsOK ¶
type AdminBulkUpdateMyItemsOK struct {
Payload []*inventoryclientmodels.ApimodelsUpdateItemResp
}
AdminBulkUpdateMyItemsOK handles this case with default header values.
OK
func NewAdminBulkUpdateMyItemsOK ¶
func NewAdminBulkUpdateMyItemsOK() *AdminBulkUpdateMyItemsOK
NewAdminBulkUpdateMyItemsOK creates a AdminBulkUpdateMyItemsOK with default headers values
func (*AdminBulkUpdateMyItemsOK) Error ¶
func (o *AdminBulkUpdateMyItemsOK) Error() string
func (*AdminBulkUpdateMyItemsOK) GetPayload ¶
func (o *AdminBulkUpdateMyItemsOK) GetPayload() []*inventoryclientmodels.ApimodelsUpdateItemResp
func (*AdminBulkUpdateMyItemsOK) ToJSONString ¶
func (o *AdminBulkUpdateMyItemsOK) ToJSONString() string
type AdminBulkUpdateMyItemsParams ¶
type AdminBulkUpdateMyItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*UserID userID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminBulkUpdateMyItemsParams contains all the parameters to send to the API endpoint for the admin bulk update my items operation typically these are written to a http.Request
func NewAdminBulkUpdateMyItemsParams ¶
func NewAdminBulkUpdateMyItemsParams() *AdminBulkUpdateMyItemsParams
NewAdminBulkUpdateMyItemsParams creates a new AdminBulkUpdateMyItemsParams object with the default values initialized.
func NewAdminBulkUpdateMyItemsParamsWithContext ¶
func NewAdminBulkUpdateMyItemsParamsWithContext(ctx context.Context) *AdminBulkUpdateMyItemsParams
NewAdminBulkUpdateMyItemsParamsWithContext creates a new AdminBulkUpdateMyItemsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminBulkUpdateMyItemsParamsWithHTTPClient ¶
func NewAdminBulkUpdateMyItemsParamsWithHTTPClient(client *http.Client) *AdminBulkUpdateMyItemsParams
NewAdminBulkUpdateMyItemsParamsWithHTTPClient creates a new AdminBulkUpdateMyItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminBulkUpdateMyItemsParamsWithTimeout ¶
func NewAdminBulkUpdateMyItemsParamsWithTimeout(timeout time.Duration) *AdminBulkUpdateMyItemsParams
NewAdminBulkUpdateMyItemsParamsWithTimeout creates a new AdminBulkUpdateMyItemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminBulkUpdateMyItemsParams) SetAuthInfoWriter ¶
func (o *AdminBulkUpdateMyItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetBody ¶
func (o *AdminBulkUpdateMyItemsParams) SetBody(body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq)
SetBody adds the body to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetContext ¶
func (o *AdminBulkUpdateMyItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetHTTPClient ¶
func (o *AdminBulkUpdateMyItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetHTTPClientTransport ¶
func (o *AdminBulkUpdateMyItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetInventoryID ¶
func (o *AdminBulkUpdateMyItemsParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetNamespace ¶
func (o *AdminBulkUpdateMyItemsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetTimeout ¶
func (o *AdminBulkUpdateMyItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetUserID ¶
func (o *AdminBulkUpdateMyItemsParams) SetUserID(userID string)
SetUserID adds the userId to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithBody ¶
func (o *AdminBulkUpdateMyItemsParams) WithBody(body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq) *AdminBulkUpdateMyItemsParams
WithBody adds the body to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithContext ¶
func (o *AdminBulkUpdateMyItemsParams) WithContext(ctx context.Context) *AdminBulkUpdateMyItemsParams
WithContext adds the context to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithHTTPClient ¶
func (o *AdminBulkUpdateMyItemsParams) WithHTTPClient(client *http.Client) *AdminBulkUpdateMyItemsParams
WithHTTPClient adds the HTTPClient to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithInventoryID ¶
func (o *AdminBulkUpdateMyItemsParams) WithInventoryID(inventoryID string) *AdminBulkUpdateMyItemsParams
WithInventoryID adds the inventoryID to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithNamespace ¶
func (o *AdminBulkUpdateMyItemsParams) WithNamespace(namespace string) *AdminBulkUpdateMyItemsParams
WithNamespace adds the namespace to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithTimeout ¶
func (o *AdminBulkUpdateMyItemsParams) WithTimeout(timeout time.Duration) *AdminBulkUpdateMyItemsParams
WithTimeout adds the timeout to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithUserID ¶
func (o *AdminBulkUpdateMyItemsParams) WithUserID(userID string) *AdminBulkUpdateMyItemsParams
WithUserID adds the userID to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WriteToRequest ¶
func (o *AdminBulkUpdateMyItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminBulkUpdateMyItemsReader ¶
type AdminBulkUpdateMyItemsReader struct {
// contains filtered or unexported fields
}
AdminBulkUpdateMyItemsReader is a Reader for the AdminBulkUpdateMyItems structure.
func (*AdminBulkUpdateMyItemsReader) ReadResponse ¶
func (o *AdminBulkUpdateMyItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminConsumeUserItemBadRequest ¶
type AdminConsumeUserItemBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminConsumeUserItemBadRequest handles this case with default header values.
Bad Request
func NewAdminConsumeUserItemBadRequest ¶
func NewAdminConsumeUserItemBadRequest() *AdminConsumeUserItemBadRequest
NewAdminConsumeUserItemBadRequest creates a AdminConsumeUserItemBadRequest with default headers values
func (*AdminConsumeUserItemBadRequest) Error ¶
func (o *AdminConsumeUserItemBadRequest) Error() string
func (*AdminConsumeUserItemBadRequest) GetPayload ¶
func (o *AdminConsumeUserItemBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminConsumeUserItemBadRequest) ToJSONString ¶
func (o *AdminConsumeUserItemBadRequest) ToJSONString() string
type AdminConsumeUserItemInternalServerError ¶
type AdminConsumeUserItemInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminConsumeUserItemInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminConsumeUserItemInternalServerError ¶
func NewAdminConsumeUserItemInternalServerError() *AdminConsumeUserItemInternalServerError
NewAdminConsumeUserItemInternalServerError creates a AdminConsumeUserItemInternalServerError with default headers values
func (*AdminConsumeUserItemInternalServerError) Error ¶
func (o *AdminConsumeUserItemInternalServerError) Error() string
func (*AdminConsumeUserItemInternalServerError) GetPayload ¶
func (o *AdminConsumeUserItemInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminConsumeUserItemInternalServerError) ToJSONString ¶
func (o *AdminConsumeUserItemInternalServerError) ToJSONString() string
type AdminConsumeUserItemNotFound ¶
type AdminConsumeUserItemNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminConsumeUserItemNotFound handles this case with default header values.
Not Found
func NewAdminConsumeUserItemNotFound ¶
func NewAdminConsumeUserItemNotFound() *AdminConsumeUserItemNotFound
NewAdminConsumeUserItemNotFound creates a AdminConsumeUserItemNotFound with default headers values
func (*AdminConsumeUserItemNotFound) Error ¶
func (o *AdminConsumeUserItemNotFound) Error() string
func (*AdminConsumeUserItemNotFound) GetPayload ¶
func (o *AdminConsumeUserItemNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminConsumeUserItemNotFound) ToJSONString ¶
func (o *AdminConsumeUserItemNotFound) ToJSONString() string
type AdminConsumeUserItemOK ¶
type AdminConsumeUserItemOK struct {
Payload *inventoryclientmodels.ApimodelsItemResp
}
AdminConsumeUserItemOK handles this case with default header values.
OK
func NewAdminConsumeUserItemOK ¶
func NewAdminConsumeUserItemOK() *AdminConsumeUserItemOK
NewAdminConsumeUserItemOK creates a AdminConsumeUserItemOK with default headers values
func (*AdminConsumeUserItemOK) Error ¶
func (o *AdminConsumeUserItemOK) Error() string
func (*AdminConsumeUserItemOK) GetPayload ¶
func (o *AdminConsumeUserItemOK) GetPayload() *inventoryclientmodels.ApimodelsItemResp
func (*AdminConsumeUserItemOK) ToJSONString ¶
func (o *AdminConsumeUserItemOK) ToJSONString() string
type AdminConsumeUserItemParams ¶
type AdminConsumeUserItemParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsConsumeItemReq /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*UserID userID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminConsumeUserItemParams contains all the parameters to send to the API endpoint for the admin consume user item operation typically these are written to a http.Request
func NewAdminConsumeUserItemParams ¶
func NewAdminConsumeUserItemParams() *AdminConsumeUserItemParams
NewAdminConsumeUserItemParams creates a new AdminConsumeUserItemParams object with the default values initialized.
func NewAdminConsumeUserItemParamsWithContext ¶
func NewAdminConsumeUserItemParamsWithContext(ctx context.Context) *AdminConsumeUserItemParams
NewAdminConsumeUserItemParamsWithContext creates a new AdminConsumeUserItemParams object with the default values initialized, and the ability to set a context for a request
func NewAdminConsumeUserItemParamsWithHTTPClient ¶
func NewAdminConsumeUserItemParamsWithHTTPClient(client *http.Client) *AdminConsumeUserItemParams
NewAdminConsumeUserItemParamsWithHTTPClient creates a new AdminConsumeUserItemParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminConsumeUserItemParamsWithTimeout ¶
func NewAdminConsumeUserItemParamsWithTimeout(timeout time.Duration) *AdminConsumeUserItemParams
NewAdminConsumeUserItemParamsWithTimeout creates a new AdminConsumeUserItemParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminConsumeUserItemParams) SetAuthInfoWriter ¶
func (o *AdminConsumeUserItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin consume user item params
func (*AdminConsumeUserItemParams) SetBody ¶
func (o *AdminConsumeUserItemParams) SetBody(body *inventoryclientmodels.ApimodelsConsumeItemReq)
SetBody adds the body to the admin consume user item params
func (*AdminConsumeUserItemParams) SetContext ¶
func (o *AdminConsumeUserItemParams) SetContext(ctx context.Context)
SetContext adds the context to the admin consume user item params
func (*AdminConsumeUserItemParams) SetHTTPClient ¶
func (o *AdminConsumeUserItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin consume user item params
func (*AdminConsumeUserItemParams) SetHTTPClientTransport ¶
func (o *AdminConsumeUserItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin consume user item params
func (*AdminConsumeUserItemParams) SetInventoryID ¶
func (o *AdminConsumeUserItemParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the admin consume user item params
func (*AdminConsumeUserItemParams) SetNamespace ¶
func (o *AdminConsumeUserItemParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin consume user item params
func (*AdminConsumeUserItemParams) SetTimeout ¶
func (o *AdminConsumeUserItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin consume user item params
func (*AdminConsumeUserItemParams) SetUserID ¶
func (o *AdminConsumeUserItemParams) SetUserID(userID string)
SetUserID adds the userId to the admin consume user item params
func (*AdminConsumeUserItemParams) WithBody ¶
func (o *AdminConsumeUserItemParams) WithBody(body *inventoryclientmodels.ApimodelsConsumeItemReq) *AdminConsumeUserItemParams
WithBody adds the body to the admin consume user item params
func (*AdminConsumeUserItemParams) WithContext ¶
func (o *AdminConsumeUserItemParams) WithContext(ctx context.Context) *AdminConsumeUserItemParams
WithContext adds the context to the admin consume user item params
func (*AdminConsumeUserItemParams) WithHTTPClient ¶
func (o *AdminConsumeUserItemParams) WithHTTPClient(client *http.Client) *AdminConsumeUserItemParams
WithHTTPClient adds the HTTPClient to the admin consume user item params
func (*AdminConsumeUserItemParams) WithInventoryID ¶
func (o *AdminConsumeUserItemParams) WithInventoryID(inventoryID string) *AdminConsumeUserItemParams
WithInventoryID adds the inventoryID to the admin consume user item params
func (*AdminConsumeUserItemParams) WithNamespace ¶
func (o *AdminConsumeUserItemParams) WithNamespace(namespace string) *AdminConsumeUserItemParams
WithNamespace adds the namespace to the admin consume user item params
func (*AdminConsumeUserItemParams) WithTimeout ¶
func (o *AdminConsumeUserItemParams) WithTimeout(timeout time.Duration) *AdminConsumeUserItemParams
WithTimeout adds the timeout to the admin consume user item params
func (*AdminConsumeUserItemParams) WithUserID ¶
func (o *AdminConsumeUserItemParams) WithUserID(userID string) *AdminConsumeUserItemParams
WithUserID adds the userID to the admin consume user item params
func (*AdminConsumeUserItemParams) WriteToRequest ¶
func (o *AdminConsumeUserItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminConsumeUserItemReader ¶
type AdminConsumeUserItemReader struct {
// contains filtered or unexported fields
}
AdminConsumeUserItemReader is a Reader for the AdminConsumeUserItem structure.
func (*AdminConsumeUserItemReader) ReadResponse ¶
func (o *AdminConsumeUserItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetInventoryItemBadRequest ¶
type AdminGetInventoryItemBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryItemBadRequest handles this case with default header values.
Bad Request
func NewAdminGetInventoryItemBadRequest ¶
func NewAdminGetInventoryItemBadRequest() *AdminGetInventoryItemBadRequest
NewAdminGetInventoryItemBadRequest creates a AdminGetInventoryItemBadRequest with default headers values
func (*AdminGetInventoryItemBadRequest) Error ¶
func (o *AdminGetInventoryItemBadRequest) Error() string
func (*AdminGetInventoryItemBadRequest) GetPayload ¶
func (o *AdminGetInventoryItemBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryItemBadRequest) ToJSONString ¶
func (o *AdminGetInventoryItemBadRequest) ToJSONString() string
type AdminGetInventoryItemInternalServerError ¶
type AdminGetInventoryItemInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryItemInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetInventoryItemInternalServerError ¶
func NewAdminGetInventoryItemInternalServerError() *AdminGetInventoryItemInternalServerError
NewAdminGetInventoryItemInternalServerError creates a AdminGetInventoryItemInternalServerError with default headers values
func (*AdminGetInventoryItemInternalServerError) Error ¶
func (o *AdminGetInventoryItemInternalServerError) Error() string
func (*AdminGetInventoryItemInternalServerError) GetPayload ¶
func (o *AdminGetInventoryItemInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryItemInternalServerError) ToJSONString ¶
func (o *AdminGetInventoryItemInternalServerError) ToJSONString() string
type AdminGetInventoryItemNotFound ¶
type AdminGetInventoryItemNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryItemNotFound handles this case with default header values.
Not Found
func NewAdminGetInventoryItemNotFound ¶
func NewAdminGetInventoryItemNotFound() *AdminGetInventoryItemNotFound
NewAdminGetInventoryItemNotFound creates a AdminGetInventoryItemNotFound with default headers values
func (*AdminGetInventoryItemNotFound) Error ¶
func (o *AdminGetInventoryItemNotFound) Error() string
func (*AdminGetInventoryItemNotFound) GetPayload ¶
func (o *AdminGetInventoryItemNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryItemNotFound) ToJSONString ¶
func (o *AdminGetInventoryItemNotFound) ToJSONString() string
type AdminGetInventoryItemOK ¶
type AdminGetInventoryItemOK struct {
Payload *inventoryclientmodels.ApimodelsItemResp
}
AdminGetInventoryItemOK handles this case with default header values.
OK
func NewAdminGetInventoryItemOK ¶
func NewAdminGetInventoryItemOK() *AdminGetInventoryItemOK
NewAdminGetInventoryItemOK creates a AdminGetInventoryItemOK with default headers values
func (*AdminGetInventoryItemOK) Error ¶
func (o *AdminGetInventoryItemOK) Error() string
func (*AdminGetInventoryItemOK) GetPayload ¶
func (o *AdminGetInventoryItemOK) GetPayload() *inventoryclientmodels.ApimodelsItemResp
func (*AdminGetInventoryItemOK) ToJSONString ¶
func (o *AdminGetInventoryItemOK) ToJSONString() string
type AdminGetInventoryItemParams ¶
type AdminGetInventoryItemParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*SlotID slotID */ SlotID string /*SourceItemID sourceItemID */ SourceItemID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminGetInventoryItemParams contains all the parameters to send to the API endpoint for the admin get inventory item operation typically these are written to a http.Request
func NewAdminGetInventoryItemParams ¶
func NewAdminGetInventoryItemParams() *AdminGetInventoryItemParams
NewAdminGetInventoryItemParams creates a new AdminGetInventoryItemParams object with the default values initialized.
func NewAdminGetInventoryItemParamsWithContext ¶
func NewAdminGetInventoryItemParamsWithContext(ctx context.Context) *AdminGetInventoryItemParams
NewAdminGetInventoryItemParamsWithContext creates a new AdminGetInventoryItemParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetInventoryItemParamsWithHTTPClient ¶
func NewAdminGetInventoryItemParamsWithHTTPClient(client *http.Client) *AdminGetInventoryItemParams
NewAdminGetInventoryItemParamsWithHTTPClient creates a new AdminGetInventoryItemParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetInventoryItemParamsWithTimeout ¶
func NewAdminGetInventoryItemParamsWithTimeout(timeout time.Duration) *AdminGetInventoryItemParams
NewAdminGetInventoryItemParamsWithTimeout creates a new AdminGetInventoryItemParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetInventoryItemParams) SetAuthInfoWriter ¶
func (o *AdminGetInventoryItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetContext ¶
func (o *AdminGetInventoryItemParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetHTTPClient ¶
func (o *AdminGetInventoryItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetHTTPClientTransport ¶
func (o *AdminGetInventoryItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetInventoryID ¶
func (o *AdminGetInventoryItemParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetNamespace ¶
func (o *AdminGetInventoryItemParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetSlotID ¶
func (o *AdminGetInventoryItemParams) SetSlotID(slotID string)
SetSlotID adds the slotId to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetSourceItemID ¶
func (o *AdminGetInventoryItemParams) SetSourceItemID(sourceItemID string)
SetSourceItemID adds the sourceItemId to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetTimeout ¶
func (o *AdminGetInventoryItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithContext ¶
func (o *AdminGetInventoryItemParams) WithContext(ctx context.Context) *AdminGetInventoryItemParams
WithContext adds the context to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithHTTPClient ¶
func (o *AdminGetInventoryItemParams) WithHTTPClient(client *http.Client) *AdminGetInventoryItemParams
WithHTTPClient adds the HTTPClient to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithInventoryID ¶
func (o *AdminGetInventoryItemParams) WithInventoryID(inventoryID string) *AdminGetInventoryItemParams
WithInventoryID adds the inventoryID to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithNamespace ¶
func (o *AdminGetInventoryItemParams) WithNamespace(namespace string) *AdminGetInventoryItemParams
WithNamespace adds the namespace to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithSlotID ¶
func (o *AdminGetInventoryItemParams) WithSlotID(slotID string) *AdminGetInventoryItemParams
WithSlotID adds the slotID to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithSourceItemID ¶
func (o *AdminGetInventoryItemParams) WithSourceItemID(sourceItemID string) *AdminGetInventoryItemParams
WithSourceItemID adds the sourceItemID to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithTimeout ¶
func (o *AdminGetInventoryItemParams) WithTimeout(timeout time.Duration) *AdminGetInventoryItemParams
WithTimeout adds the timeout to the admin get inventory item params
func (*AdminGetInventoryItemParams) WriteToRequest ¶
func (o *AdminGetInventoryItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetInventoryItemReader ¶
type AdminGetInventoryItemReader struct {
// contains filtered or unexported fields
}
AdminGetInventoryItemReader is a Reader for the AdminGetInventoryItem structure.
func (*AdminGetInventoryItemReader) ReadResponse ¶
func (o *AdminGetInventoryItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListItemsBadRequest ¶
type AdminListItemsBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListItemsBadRequest handles this case with default header values.
Bad Request
func NewAdminListItemsBadRequest ¶
func NewAdminListItemsBadRequest() *AdminListItemsBadRequest
NewAdminListItemsBadRequest creates a AdminListItemsBadRequest with default headers values
func (*AdminListItemsBadRequest) Error ¶
func (o *AdminListItemsBadRequest) Error() string
func (*AdminListItemsBadRequest) GetPayload ¶
func (o *AdminListItemsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListItemsBadRequest) ToJSONString ¶
func (o *AdminListItemsBadRequest) ToJSONString() string
type AdminListItemsInternalServerError ¶
type AdminListItemsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListItemsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListItemsInternalServerError ¶
func NewAdminListItemsInternalServerError() *AdminListItemsInternalServerError
NewAdminListItemsInternalServerError creates a AdminListItemsInternalServerError with default headers values
func (*AdminListItemsInternalServerError) Error ¶
func (o *AdminListItemsInternalServerError) Error() string
func (*AdminListItemsInternalServerError) GetPayload ¶
func (o *AdminListItemsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListItemsInternalServerError) ToJSONString ¶
func (o *AdminListItemsInternalServerError) ToJSONString() string
type AdminListItemsOK ¶
type AdminListItemsOK struct {
Payload *inventoryclientmodels.ApimodelsListItemResp
}
AdminListItemsOK handles this case with default header values.
OK
func NewAdminListItemsOK ¶
func NewAdminListItemsOK() *AdminListItemsOK
NewAdminListItemsOK creates a AdminListItemsOK with default headers values
func (*AdminListItemsOK) Error ¶
func (o *AdminListItemsOK) Error() string
func (*AdminListItemsOK) GetPayload ¶
func (o *AdminListItemsOK) GetPayload() *inventoryclientmodels.ApimodelsListItemResp
func (*AdminListItemsOK) ToJSONString ¶
func (o *AdminListItemsOK) ToJSONString() string
type AdminListItemsParams ¶
type AdminListItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*Limit default 25 */ Limit *int64 /*Offset*/ Offset *int64 /*QtyGte Qty */ QtyGte *int64 /*SortBy Only support one level of sortBy; default createdAt */ SortBy *string /*SourceItemID SourceItemID */ SourceItemID *string /*Tags Tags */ Tags *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminListItemsParams contains all the parameters to send to the API endpoint for the admin list items operation typically these are written to a http.Request
func NewAdminListItemsParams ¶
func NewAdminListItemsParams() *AdminListItemsParams
NewAdminListItemsParams creates a new AdminListItemsParams object with the default values initialized.
func NewAdminListItemsParamsWithContext ¶
func NewAdminListItemsParamsWithContext(ctx context.Context) *AdminListItemsParams
NewAdminListItemsParamsWithContext creates a new AdminListItemsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListItemsParamsWithHTTPClient ¶
func NewAdminListItemsParamsWithHTTPClient(client *http.Client) *AdminListItemsParams
NewAdminListItemsParamsWithHTTPClient creates a new AdminListItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListItemsParamsWithTimeout ¶
func NewAdminListItemsParamsWithTimeout(timeout time.Duration) *AdminListItemsParams
NewAdminListItemsParamsWithTimeout creates a new AdminListItemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListItemsParams) SetAuthInfoWriter ¶
func (o *AdminListItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list items params
func (*AdminListItemsParams) SetContext ¶
func (o *AdminListItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list items params
func (*AdminListItemsParams) SetHTTPClient ¶
func (o *AdminListItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list items params
func (*AdminListItemsParams) SetHTTPClientTransport ¶
func (o *AdminListItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin list items params
func (*AdminListItemsParams) SetInventoryID ¶
func (o *AdminListItemsParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the admin list items params
func (*AdminListItemsParams) SetLimit ¶
func (o *AdminListItemsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list items params
func (*AdminListItemsParams) SetNamespace ¶
func (o *AdminListItemsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list items params
func (*AdminListItemsParams) SetOffset ¶
func (o *AdminListItemsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list items params
func (*AdminListItemsParams) SetQtyGte ¶
func (o *AdminListItemsParams) SetQtyGte(qtyGte *int64)
SetQtyGte adds the qtyGte to the admin list items params
func (*AdminListItemsParams) SetSortBy ¶
func (o *AdminListItemsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list items params
func (*AdminListItemsParams) SetSourceItemID ¶
func (o *AdminListItemsParams) SetSourceItemID(sourceItemID *string)
SetSourceItemID adds the sourceItemId to the admin list items params
func (*AdminListItemsParams) SetTags ¶
func (o *AdminListItemsParams) SetTags(tags *string)
SetTags adds the tags to the admin list items params
func (*AdminListItemsParams) SetTimeout ¶
func (o *AdminListItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list items params
func (*AdminListItemsParams) WithContext ¶
func (o *AdminListItemsParams) WithContext(ctx context.Context) *AdminListItemsParams
WithContext adds the context to the admin list items params
func (*AdminListItemsParams) WithHTTPClient ¶
func (o *AdminListItemsParams) WithHTTPClient(client *http.Client) *AdminListItemsParams
WithHTTPClient adds the HTTPClient to the admin list items params
func (*AdminListItemsParams) WithInventoryID ¶
func (o *AdminListItemsParams) WithInventoryID(inventoryID string) *AdminListItemsParams
WithInventoryID adds the inventoryID to the admin list items params
func (*AdminListItemsParams) WithLimit ¶
func (o *AdminListItemsParams) WithLimit(limit *int64) *AdminListItemsParams
WithLimit adds the limit to the admin list items params
func (*AdminListItemsParams) WithNamespace ¶
func (o *AdminListItemsParams) WithNamespace(namespace string) *AdminListItemsParams
WithNamespace adds the namespace to the admin list items params
func (*AdminListItemsParams) WithOffset ¶
func (o *AdminListItemsParams) WithOffset(offset *int64) *AdminListItemsParams
WithOffset adds the offset to the admin list items params
func (*AdminListItemsParams) WithQtyGte ¶
func (o *AdminListItemsParams) WithQtyGte(qtyGte *int64) *AdminListItemsParams
WithQtyGte adds the qtyGte to the admin list items params
func (*AdminListItemsParams) WithSortBy ¶
func (o *AdminListItemsParams) WithSortBy(sortBy *string) *AdminListItemsParams
WithSortBy adds the sortBy to the admin list items params
func (*AdminListItemsParams) WithSourceItemID ¶
func (o *AdminListItemsParams) WithSourceItemID(sourceItemID *string) *AdminListItemsParams
WithSourceItemID adds the sourceItemID to the admin list items params
func (*AdminListItemsParams) WithTags ¶
func (o *AdminListItemsParams) WithTags(tags *string) *AdminListItemsParams
WithTags adds the tags to the admin list items params
func (*AdminListItemsParams) WithTimeout ¶
func (o *AdminListItemsParams) WithTimeout(timeout time.Duration) *AdminListItemsParams
WithTimeout adds the timeout to the admin list items params
func (*AdminListItemsParams) WriteToRequest ¶
func (o *AdminListItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListItemsReader ¶
type AdminListItemsReader struct {
// contains filtered or unexported fields
}
AdminListItemsReader is a Reader for the AdminListItems structure.
func (*AdminListItemsReader) ReadResponse ¶
func (o *AdminListItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminSaveItemBadRequest ¶
type AdminSaveItemBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSaveItemBadRequest handles this case with default header values.
Bad Request
func NewAdminSaveItemBadRequest ¶
func NewAdminSaveItemBadRequest() *AdminSaveItemBadRequest
NewAdminSaveItemBadRequest creates a AdminSaveItemBadRequest with default headers values
func (*AdminSaveItemBadRequest) Error ¶
func (o *AdminSaveItemBadRequest) Error() string
func (*AdminSaveItemBadRequest) GetPayload ¶
func (o *AdminSaveItemBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemBadRequest) ToJSONString ¶
func (o *AdminSaveItemBadRequest) ToJSONString() string
type AdminSaveItemInternalServerError ¶
type AdminSaveItemInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSaveItemInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminSaveItemInternalServerError ¶
func NewAdminSaveItemInternalServerError() *AdminSaveItemInternalServerError
NewAdminSaveItemInternalServerError creates a AdminSaveItemInternalServerError with default headers values
func (*AdminSaveItemInternalServerError) Error ¶
func (o *AdminSaveItemInternalServerError) Error() string
func (*AdminSaveItemInternalServerError) GetPayload ¶
func (o *AdminSaveItemInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemInternalServerError) ToJSONString ¶
func (o *AdminSaveItemInternalServerError) ToJSONString() string
type AdminSaveItemOK ¶
type AdminSaveItemOK struct {
Payload *inventoryclientmodels.ApimodelsItemResp
}
AdminSaveItemOK handles this case with default header values.
OK
func NewAdminSaveItemOK ¶
func NewAdminSaveItemOK() *AdminSaveItemOK
NewAdminSaveItemOK creates a AdminSaveItemOK with default headers values
func (*AdminSaveItemOK) Error ¶
func (o *AdminSaveItemOK) Error() string
func (*AdminSaveItemOK) GetPayload ¶
func (o *AdminSaveItemOK) GetPayload() *inventoryclientmodels.ApimodelsItemResp
func (*AdminSaveItemOK) ToJSONString ¶
func (o *AdminSaveItemOK) ToJSONString() string
type AdminSaveItemParams ¶
type AdminSaveItemParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsSaveItemReq /*Namespace Namespace */ Namespace string /*UserID UserID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminSaveItemParams contains all the parameters to send to the API endpoint for the admin save item operation typically these are written to a http.Request
func NewAdminSaveItemParams ¶
func NewAdminSaveItemParams() *AdminSaveItemParams
NewAdminSaveItemParams creates a new AdminSaveItemParams object with the default values initialized.
func NewAdminSaveItemParamsWithContext ¶
func NewAdminSaveItemParamsWithContext(ctx context.Context) *AdminSaveItemParams
NewAdminSaveItemParamsWithContext creates a new AdminSaveItemParams object with the default values initialized, and the ability to set a context for a request
func NewAdminSaveItemParamsWithHTTPClient ¶
func NewAdminSaveItemParamsWithHTTPClient(client *http.Client) *AdminSaveItemParams
NewAdminSaveItemParamsWithHTTPClient creates a new AdminSaveItemParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminSaveItemParamsWithTimeout ¶
func NewAdminSaveItemParamsWithTimeout(timeout time.Duration) *AdminSaveItemParams
NewAdminSaveItemParamsWithTimeout creates a new AdminSaveItemParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminSaveItemParams) SetAuthInfoWriter ¶
func (o *AdminSaveItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin save item params
func (*AdminSaveItemParams) SetBody ¶
func (o *AdminSaveItemParams) SetBody(body *inventoryclientmodels.ApimodelsSaveItemReq)
SetBody adds the body to the admin save item params
func (*AdminSaveItemParams) SetContext ¶
func (o *AdminSaveItemParams) SetContext(ctx context.Context)
SetContext adds the context to the admin save item params
func (*AdminSaveItemParams) SetHTTPClient ¶
func (o *AdminSaveItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin save item params
func (*AdminSaveItemParams) SetHTTPClientTransport ¶
func (o *AdminSaveItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin save item params
func (*AdminSaveItemParams) SetNamespace ¶
func (o *AdminSaveItemParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin save item params
func (*AdminSaveItemParams) SetTimeout ¶
func (o *AdminSaveItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin save item params
func (*AdminSaveItemParams) SetUserID ¶
func (o *AdminSaveItemParams) SetUserID(userID string)
SetUserID adds the userId to the admin save item params
func (*AdminSaveItemParams) WithBody ¶
func (o *AdminSaveItemParams) WithBody(body *inventoryclientmodels.ApimodelsSaveItemReq) *AdminSaveItemParams
WithBody adds the body to the admin save item params
func (*AdminSaveItemParams) WithContext ¶
func (o *AdminSaveItemParams) WithContext(ctx context.Context) *AdminSaveItemParams
WithContext adds the context to the admin save item params
func (*AdminSaveItemParams) WithHTTPClient ¶
func (o *AdminSaveItemParams) WithHTTPClient(client *http.Client) *AdminSaveItemParams
WithHTTPClient adds the HTTPClient to the admin save item params
func (*AdminSaveItemParams) WithNamespace ¶
func (o *AdminSaveItemParams) WithNamespace(namespace string) *AdminSaveItemParams
WithNamespace adds the namespace to the admin save item params
func (*AdminSaveItemParams) WithTimeout ¶
func (o *AdminSaveItemParams) WithTimeout(timeout time.Duration) *AdminSaveItemParams
WithTimeout adds the timeout to the admin save item params
func (*AdminSaveItemParams) WithUserID ¶
func (o *AdminSaveItemParams) WithUserID(userID string) *AdminSaveItemParams
WithUserID adds the userID to the admin save item params
func (*AdminSaveItemParams) WriteToRequest ¶
func (o *AdminSaveItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminSaveItemReader ¶
type AdminSaveItemReader struct {
// contains filtered or unexported fields
}
AdminSaveItemReader is a Reader for the AdminSaveItem structure.
func (*AdminSaveItemReader) ReadResponse ¶
func (o *AdminSaveItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminSaveItemToInventoryBadRequest ¶
type AdminSaveItemToInventoryBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSaveItemToInventoryBadRequest handles this case with default header values.
Bad Request
func NewAdminSaveItemToInventoryBadRequest ¶
func NewAdminSaveItemToInventoryBadRequest() *AdminSaveItemToInventoryBadRequest
NewAdminSaveItemToInventoryBadRequest creates a AdminSaveItemToInventoryBadRequest with default headers values
func (*AdminSaveItemToInventoryBadRequest) Error ¶
func (o *AdminSaveItemToInventoryBadRequest) Error() string
func (*AdminSaveItemToInventoryBadRequest) GetPayload ¶
func (o *AdminSaveItemToInventoryBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemToInventoryBadRequest) ToJSONString ¶
func (o *AdminSaveItemToInventoryBadRequest) ToJSONString() string
type AdminSaveItemToInventoryInternalServerError ¶
type AdminSaveItemToInventoryInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSaveItemToInventoryInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminSaveItemToInventoryInternalServerError ¶
func NewAdminSaveItemToInventoryInternalServerError() *AdminSaveItemToInventoryInternalServerError
NewAdminSaveItemToInventoryInternalServerError creates a AdminSaveItemToInventoryInternalServerError with default headers values
func (*AdminSaveItemToInventoryInternalServerError) Error ¶
func (o *AdminSaveItemToInventoryInternalServerError) Error() string
func (*AdminSaveItemToInventoryInternalServerError) GetPayload ¶
func (o *AdminSaveItemToInventoryInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemToInventoryInternalServerError) ToJSONString ¶
func (o *AdminSaveItemToInventoryInternalServerError) ToJSONString() string
type AdminSaveItemToInventoryOK ¶
type AdminSaveItemToInventoryOK struct {
Payload *inventoryclientmodels.ApimodelsItemResp
}
AdminSaveItemToInventoryOK handles this case with default header values.
OK
func NewAdminSaveItemToInventoryOK ¶
func NewAdminSaveItemToInventoryOK() *AdminSaveItemToInventoryOK
NewAdminSaveItemToInventoryOK creates a AdminSaveItemToInventoryOK with default headers values
func (*AdminSaveItemToInventoryOK) Error ¶
func (o *AdminSaveItemToInventoryOK) Error() string
func (*AdminSaveItemToInventoryOK) GetPayload ¶
func (o *AdminSaveItemToInventoryOK) GetPayload() *inventoryclientmodels.ApimodelsItemResp
func (*AdminSaveItemToInventoryOK) ToJSONString ¶
func (o *AdminSaveItemToInventoryOK) ToJSONString() string
type AdminSaveItemToInventoryParams ¶
type AdminSaveItemToInventoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq /*InventoryID inventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*UserID UserID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminSaveItemToInventoryParams contains all the parameters to send to the API endpoint for the admin save item to inventory operation typically these are written to a http.Request
func NewAdminSaveItemToInventoryParams ¶
func NewAdminSaveItemToInventoryParams() *AdminSaveItemToInventoryParams
NewAdminSaveItemToInventoryParams creates a new AdminSaveItemToInventoryParams object with the default values initialized.
func NewAdminSaveItemToInventoryParamsWithContext ¶
func NewAdminSaveItemToInventoryParamsWithContext(ctx context.Context) *AdminSaveItemToInventoryParams
NewAdminSaveItemToInventoryParamsWithContext creates a new AdminSaveItemToInventoryParams object with the default values initialized, and the ability to set a context for a request
func NewAdminSaveItemToInventoryParamsWithHTTPClient ¶
func NewAdminSaveItemToInventoryParamsWithHTTPClient(client *http.Client) *AdminSaveItemToInventoryParams
NewAdminSaveItemToInventoryParamsWithHTTPClient creates a new AdminSaveItemToInventoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminSaveItemToInventoryParamsWithTimeout ¶
func NewAdminSaveItemToInventoryParamsWithTimeout(timeout time.Duration) *AdminSaveItemToInventoryParams
NewAdminSaveItemToInventoryParamsWithTimeout creates a new AdminSaveItemToInventoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminSaveItemToInventoryParams) SetAuthInfoWriter ¶
func (o *AdminSaveItemToInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetBody ¶
func (o *AdminSaveItemToInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq)
SetBody adds the body to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetContext ¶
func (o *AdminSaveItemToInventoryParams) SetContext(ctx context.Context)
SetContext adds the context to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetHTTPClient ¶
func (o *AdminSaveItemToInventoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetHTTPClientTransport ¶
func (o *AdminSaveItemToInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetInventoryID ¶
func (o *AdminSaveItemToInventoryParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetNamespace ¶
func (o *AdminSaveItemToInventoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetTimeout ¶
func (o *AdminSaveItemToInventoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetUserID ¶
func (o *AdminSaveItemToInventoryParams) SetUserID(userID string)
SetUserID adds the userId to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithBody ¶
func (o *AdminSaveItemToInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq) *AdminSaveItemToInventoryParams
WithBody adds the body to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithContext ¶
func (o *AdminSaveItemToInventoryParams) WithContext(ctx context.Context) *AdminSaveItemToInventoryParams
WithContext adds the context to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithHTTPClient ¶
func (o *AdminSaveItemToInventoryParams) WithHTTPClient(client *http.Client) *AdminSaveItemToInventoryParams
WithHTTPClient adds the HTTPClient to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithInventoryID ¶
func (o *AdminSaveItemToInventoryParams) WithInventoryID(inventoryID string) *AdminSaveItemToInventoryParams
WithInventoryID adds the inventoryID to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithNamespace ¶
func (o *AdminSaveItemToInventoryParams) WithNamespace(namespace string) *AdminSaveItemToInventoryParams
WithNamespace adds the namespace to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithTimeout ¶
func (o *AdminSaveItemToInventoryParams) WithTimeout(timeout time.Duration) *AdminSaveItemToInventoryParams
WithTimeout adds the timeout to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithUserID ¶
func (o *AdminSaveItemToInventoryParams) WithUserID(userID string) *AdminSaveItemToInventoryParams
WithUserID adds the userID to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WriteToRequest ¶
func (o *AdminSaveItemToInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminSaveItemToInventoryReader ¶
type AdminSaveItemToInventoryReader struct {
// contains filtered or unexported fields
}
AdminSaveItemToInventoryReader is a Reader for the AdminSaveItemToInventory structure.
func (*AdminSaveItemToInventoryReader) ReadResponse ¶
func (o *AdminSaveItemToInventoryReader) 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 items API
func (*Client) AdminBulkRemoveItems
deprecated
func (a *Client) AdminBulkRemoveItems(params *AdminBulkRemoveItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkRemoveItemsOK, *AdminBulkRemoveItemsBadRequest, *AdminBulkRemoveItemsNotFound, *AdminBulkRemoveItemsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminBulkRemoveItemsShort instead.
AdminBulkRemoveItems to bulk remove items ¶
Bulk remove user's own items'.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [DELETE]
func (*Client) AdminBulkRemoveItemsShort ¶
func (a *Client) AdminBulkRemoveItemsShort(params *AdminBulkRemoveItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkRemoveItemsOK, error)
AdminBulkRemoveItemsShort to bulk remove items
Bulk remove user's own items'.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [DELETE]
func (*Client) AdminBulkUpdateMyItems
deprecated
func (a *Client) AdminBulkUpdateMyItems(params *AdminBulkUpdateMyItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkUpdateMyItemsOK, *AdminBulkUpdateMyItemsBadRequest, *AdminBulkUpdateMyItemsNotFound, *AdminBulkUpdateMyItemsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminBulkUpdateMyItemsShort instead.
AdminBulkUpdateMyItems to bulk update items ¶
Bulk Updating user's own items. Tags will be auto-created.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]
func (*Client) AdminBulkUpdateMyItemsShort ¶
func (a *Client) AdminBulkUpdateMyItemsShort(params *AdminBulkUpdateMyItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkUpdateMyItemsOK, error)
AdminBulkUpdateMyItemsShort to bulk update items
Bulk Updating user's own items. Tags will be auto-created.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]
func (*Client) AdminConsumeUserItem
deprecated
func (a *Client) AdminConsumeUserItem(params *AdminConsumeUserItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminConsumeUserItemOK, *AdminConsumeUserItemBadRequest, *AdminConsumeUserItemNotFound, *AdminConsumeUserItemInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminConsumeUserItemShort instead.
AdminConsumeUserItem to consume item ¶
Consume user's own item ¶
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]
func (*Client) AdminConsumeUserItemShort ¶
func (a *Client) AdminConsumeUserItemShort(params *AdminConsumeUserItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminConsumeUserItemOK, error)
AdminConsumeUserItemShort to consume item
Consume user's own item ¶
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]
func (*Client) AdminGetInventoryItem
deprecated
func (a *Client) AdminGetInventoryItem(params *AdminGetInventoryItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryItemOK, *AdminGetInventoryItemBadRequest, *AdminGetInventoryItemNotFound, *AdminGetInventoryItemInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetInventoryItemShort instead.
AdminGetInventoryItem to get an item ¶
Getting an item info.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [READ]
func (*Client) AdminGetInventoryItemShort ¶
func (a *Client) AdminGetInventoryItemShort(params *AdminGetInventoryItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryItemOK, error)
AdminGetInventoryItemShort to get an item
Getting an item info.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [READ]
func (*Client) AdminListItems
deprecated
func (a *Client) AdminListItems(params *AdminListItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListItemsOK, *AdminListItemsBadRequest, *AdminListItemsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminListItemsShort instead.
AdminListItems to list all items ¶
Listing all items in an inventory. The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [READ]
func (*Client) AdminListItemsShort ¶
func (a *Client) AdminListItemsShort(params *AdminListItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListItemsOK, error)
AdminListItemsShort to list all items
Listing all items in an inventory. The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [READ]
func (*Client) AdminSaveItem
deprecated
func (a *Client) AdminSaveItem(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemOK, *AdminSaveItemBadRequest, *AdminSaveItemInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminSaveItemShort instead.
AdminSaveItem to save item ¶
Saving an item. The item will be saved in user's inventory, If it doesn't exist it'll be created.
If the item already exists, its qty will be increased, so no new item with same sourceItemId will be created
Tags will be auto-created. ItemType will be auto-created.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]
func (*Client) AdminSaveItemShort ¶
func (a *Client) AdminSaveItemShort(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemOK, error)
AdminSaveItemShort to save item
Saving an item. The item will be saved in user's inventory, If it doesn't exist it'll be created.
If the item already exists, its qty will be increased, so no new item with same sourceItemId will be created
Tags will be auto-created. ItemType will be auto-created.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]
func (*Client) AdminSaveItemToInventory
deprecated
func (a *Client) AdminSaveItemToInventory(params *AdminSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemToInventoryOK, *AdminSaveItemToInventoryBadRequest, *AdminSaveItemToInventoryInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminSaveItemToInventoryShort instead.
AdminSaveItemToInventory to save item to specific inventory ¶
Saving an item to specific inventory. The item will be saved in specific user's inventory,
If the item already exists, its qty will be increased, so no new item with same sourceItemId will be created
Tags will be auto-created. ItemType will be auto-created.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]
func (*Client) AdminSaveItemToInventoryShort ¶
func (a *Client) AdminSaveItemToInventoryShort(params *AdminSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemToInventoryOK, error)
AdminSaveItemToInventoryShort to save item to specific inventory
Saving an item to specific inventory. The item will be saved in specific user's inventory,
If the item already exists, its qty will be increased, so no new item with same sourceItemId will be created
Tags will be auto-created. ItemType will be auto-created.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminListItems(params *AdminListItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListItemsOK, *AdminListItemsBadRequest, *AdminListItemsInternalServerError, error) AdminListItemsShort(params *AdminListItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListItemsOK, error) AdminGetInventoryItem(params *AdminGetInventoryItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryItemOK, *AdminGetInventoryItemBadRequest, *AdminGetInventoryItemNotFound, *AdminGetInventoryItemInternalServerError, error) AdminGetInventoryItemShort(params *AdminGetInventoryItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryItemOK, error) AdminConsumeUserItem(params *AdminConsumeUserItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminConsumeUserItemOK, *AdminConsumeUserItemBadRequest, *AdminConsumeUserItemNotFound, *AdminConsumeUserItemInternalServerError, error) AdminConsumeUserItemShort(params *AdminConsumeUserItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminConsumeUserItemOK, error) AdminBulkUpdateMyItems(params *AdminBulkUpdateMyItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkUpdateMyItemsOK, *AdminBulkUpdateMyItemsBadRequest, *AdminBulkUpdateMyItemsNotFound, *AdminBulkUpdateMyItemsInternalServerError, error) AdminBulkUpdateMyItemsShort(params *AdminBulkUpdateMyItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkUpdateMyItemsOK, error) AdminSaveItemToInventory(params *AdminSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemToInventoryOK, *AdminSaveItemToInventoryBadRequest, *AdminSaveItemToInventoryInternalServerError, error) AdminSaveItemToInventoryShort(params *AdminSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemToInventoryOK, error) AdminBulkRemoveItems(params *AdminBulkRemoveItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkRemoveItemsOK, *AdminBulkRemoveItemsBadRequest, *AdminBulkRemoveItemsNotFound, *AdminBulkRemoveItemsInternalServerError, error) AdminBulkRemoveItemsShort(params *AdminBulkRemoveItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkRemoveItemsOK, error) AdminSaveItem(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemOK, *AdminSaveItemBadRequest, *AdminSaveItemInternalServerError, error) AdminSaveItemShort(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemOK, 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 items API client.
Source Files ¶
- admin_bulk_remove_items_parameters.go
- admin_bulk_remove_items_responses.go
- admin_bulk_update_my_items_parameters.go
- admin_bulk_update_my_items_responses.go
- admin_consume_user_item_parameters.go
- admin_consume_user_item_responses.go
- admin_get_inventory_item_parameters.go
- admin_get_inventory_item_responses.go
- admin_items_client.go
- admin_list_items_parameters.go
- admin_list_items_responses.go
- admin_save_item_parameters.go
- admin_save_item_responses.go
- admin_save_item_to_inventory_parameters.go
- admin_save_item_to_inventory_responses.go