admin_items

package
v0.70.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
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 (*AdminBulkRemoveItemsBadRequest) GetPayload

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 (*AdminBulkRemoveItemsInternalServerError) GetPayload

func (*AdminBulkRemoveItemsInternalServerError) ToJSONString

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 (*AdminBulkRemoveItemsNotFound) GetPayload

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 (*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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId added in v0.63.0

func (o *AdminBulkRemoveItemsParams) SetFlightId(flightId string)

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

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

WithBody adds the body to the admin bulk remove items params

func (*AdminBulkRemoveItemsParams) WithContext

WithContext adds the context to the admin bulk remove items params

func (*AdminBulkRemoveItemsParams) WithHTTPClient

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

WithTimeout adds the timeout to the admin bulk remove items params

func (*AdminBulkRemoveItemsParams) WithUserID

WithUserID adds the userID to the admin bulk remove items params

func (*AdminBulkRemoveItemsParams) WriteToRequest

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 (*AdminBulkUpdateMyItemsBadRequest) GetPayload

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 (*AdminBulkUpdateMyItemsInternalServerError) GetPayload

func (*AdminBulkUpdateMyItemsInternalServerError) ToJSONString

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 (*AdminBulkUpdateMyItemsNotFound) GetPayload

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 (*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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId added in v0.63.0

func (o *AdminBulkUpdateMyItemsParams) SetFlightId(flightId string)

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

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

WithBody adds the body to the admin bulk update my items params

func (*AdminBulkUpdateMyItemsParams) WithContext

WithContext adds the context to the admin bulk update my items params

func (*AdminBulkUpdateMyItemsParams) WithHTTPClient

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

WithNamespace adds the namespace to the admin bulk update my items params

func (*AdminBulkUpdateMyItemsParams) WithTimeout

WithTimeout adds the timeout to the admin bulk update my items params

func (*AdminBulkUpdateMyItemsParams) WithUserID

WithUserID adds the userID to the admin bulk update my items params

func (*AdminBulkUpdateMyItemsParams) WriteToRequest

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 (*AdminConsumeUserItemBadRequest) GetPayload

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 (*AdminConsumeUserItemInternalServerError) GetPayload

func (*AdminConsumeUserItemInternalServerError) ToJSONString

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 (*AdminConsumeUserItemNotFound) GetPayload

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 (*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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId added in v0.63.0

func (o *AdminConsumeUserItemParams) SetFlightId(flightId string)

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

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

WithBody adds the body to the admin consume user item params

func (*AdminConsumeUserItemParams) WithContext

WithContext adds the context to the admin consume user item params

func (*AdminConsumeUserItemParams) WithHTTPClient

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

WithTimeout adds the timeout to the admin consume user item params

func (*AdminConsumeUserItemParams) WithUserID

WithUserID adds the userID to the admin consume user item params

func (*AdminConsumeUserItemParams) WriteToRequest

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 (*AdminGetInventoryItemBadRequest) GetPayload

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 (*AdminGetInventoryItemInternalServerError) GetPayload

func (*AdminGetInventoryItemInternalServerError) ToJSONString

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 (*AdminGetInventoryItemNotFound) GetPayload

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 (*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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *AdminGetInventoryItemParams) SetFlightId(flightId string)

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

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 added in v0.53.0

func (o *AdminGetInventoryItemParams) SetSlotID(slotID string)

SetSlotID adds the slotId to the admin get inventory item params

func (*AdminGetInventoryItemParams) SetSourceItemID added in v0.53.0

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

WithContext adds the context to the admin get inventory item params

func (*AdminGetInventoryItemParams) WithHTTPClient

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 added in v0.53.0

WithSlotID adds the slotID to the admin get inventory item params

func (*AdminGetInventoryItemParams) WithSourceItemID added in v0.53.0

func (o *AdminGetInventoryItemParams) WithSourceItemID(sourceItemID string) *AdminGetInventoryItemParams

WithSourceItemID adds the sourceItemID to the admin get inventory item params

func (*AdminGetInventoryItemParams) WithTimeout

WithTimeout adds the timeout to the admin get inventory item params

func (*AdminGetInventoryItemParams) WriteToRequest

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 (*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 (*AdminListItemsInternalServerError) GetPayload

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 (*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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *AdminListItemsParams) SetFlightId(flightId string)

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

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

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 (*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 (*AdminSaveItemInternalServerError) GetPayload

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 (*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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId added in v0.63.0

func (o *AdminSaveItemParams) SetFlightId(flightId string)

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

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

WithBody adds the body to the admin save item params

func (*AdminSaveItemParams) WithContext

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 (*AdminSaveItemToInventoryBadRequest) GetPayload

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 (*AdminSaveItemToInventoryInternalServerError) GetPayload

func (*AdminSaveItemToInventoryInternalServerError) ToJSONString

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 (*AdminSaveItemToInventoryOK) GetPayload

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId added in v0.63.0

func (o *AdminSaveItemToInventoryParams) SetFlightId(flightId string)

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

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

WithBody adds the body to the admin save item to inventory params

func (*AdminSaveItemToInventoryParams) WithContext

WithContext adds the context to the admin save item to inventory params

func (*AdminSaveItemToInventoryParams) WithHTTPClient

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

WithNamespace adds the namespace to the admin save item to inventory params

func (*AdminSaveItemToInventoryParams) WithTimeout

WithTimeout adds the timeout to the admin save item to inventory params

func (*AdminSaveItemToInventoryParams) WithUserID

WithUserID adds the userID to the admin save item to inventory params

func (*AdminSaveItemToInventoryParams) WriteToRequest

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 AdminSyncUserEntitlementsBadRequest added in v0.68.0

type AdminSyncUserEntitlementsBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminSyncUserEntitlementsBadRequest handles this case with default header values.

Bad Request

func NewAdminSyncUserEntitlementsBadRequest added in v0.68.0

func NewAdminSyncUserEntitlementsBadRequest() *AdminSyncUserEntitlementsBadRequest

NewAdminSyncUserEntitlementsBadRequest creates a AdminSyncUserEntitlementsBadRequest with default headers values

func (*AdminSyncUserEntitlementsBadRequest) Error added in v0.68.0

func (*AdminSyncUserEntitlementsBadRequest) GetPayload added in v0.68.0

func (*AdminSyncUserEntitlementsBadRequest) ToJSONString added in v0.68.0

func (o *AdminSyncUserEntitlementsBadRequest) ToJSONString() string

type AdminSyncUserEntitlementsForbidden added in v0.68.0

type AdminSyncUserEntitlementsForbidden struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminSyncUserEntitlementsForbidden handles this case with default header values.

Forbidden

func NewAdminSyncUserEntitlementsForbidden added in v0.68.0

func NewAdminSyncUserEntitlementsForbidden() *AdminSyncUserEntitlementsForbidden

NewAdminSyncUserEntitlementsForbidden creates a AdminSyncUserEntitlementsForbidden with default headers values

func (*AdminSyncUserEntitlementsForbidden) Error added in v0.68.0

func (*AdminSyncUserEntitlementsForbidden) GetPayload added in v0.68.0

func (*AdminSyncUserEntitlementsForbidden) ToJSONString added in v0.68.0

func (o *AdminSyncUserEntitlementsForbidden) ToJSONString() string

type AdminSyncUserEntitlementsInternalServerError added in v0.68.0

type AdminSyncUserEntitlementsInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminSyncUserEntitlementsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminSyncUserEntitlementsInternalServerError added in v0.68.0

func NewAdminSyncUserEntitlementsInternalServerError() *AdminSyncUserEntitlementsInternalServerError

NewAdminSyncUserEntitlementsInternalServerError creates a AdminSyncUserEntitlementsInternalServerError with default headers values

func (*AdminSyncUserEntitlementsInternalServerError) Error added in v0.68.0

func (*AdminSyncUserEntitlementsInternalServerError) GetPayload added in v0.68.0

func (*AdminSyncUserEntitlementsInternalServerError) ToJSONString added in v0.68.0

type AdminSyncUserEntitlementsNoContent added in v0.68.0

type AdminSyncUserEntitlementsNoContent struct {
}

AdminSyncUserEntitlementsNoContent handles this case with default header values.

No Content

func NewAdminSyncUserEntitlementsNoContent added in v0.68.0

func NewAdminSyncUserEntitlementsNoContent() *AdminSyncUserEntitlementsNoContent

NewAdminSyncUserEntitlementsNoContent creates a AdminSyncUserEntitlementsNoContent with default headers values

func (*AdminSyncUserEntitlementsNoContent) Error added in v0.68.0

type AdminSyncUserEntitlementsNotFound added in v0.68.0

type AdminSyncUserEntitlementsNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminSyncUserEntitlementsNotFound handles this case with default header values.

Not Found

func NewAdminSyncUserEntitlementsNotFound added in v0.68.0

func NewAdminSyncUserEntitlementsNotFound() *AdminSyncUserEntitlementsNotFound

NewAdminSyncUserEntitlementsNotFound creates a AdminSyncUserEntitlementsNotFound with default headers values

func (*AdminSyncUserEntitlementsNotFound) Error added in v0.68.0

func (*AdminSyncUserEntitlementsNotFound) GetPayload added in v0.68.0

func (*AdminSyncUserEntitlementsNotFound) ToJSONString added in v0.68.0

func (o *AdminSyncUserEntitlementsNotFound) ToJSONString() string

type AdminSyncUserEntitlementsParams added in v0.68.0

type AdminSyncUserEntitlementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
}

AdminSyncUserEntitlementsParams contains all the parameters to send to the API endpoint for the admin sync user entitlements operation typically these are written to a http.Request

func NewAdminSyncUserEntitlementsParams added in v0.68.0

func NewAdminSyncUserEntitlementsParams() *AdminSyncUserEntitlementsParams

NewAdminSyncUserEntitlementsParams creates a new AdminSyncUserEntitlementsParams object with the default values initialized.

func NewAdminSyncUserEntitlementsParamsWithContext added in v0.68.0

func NewAdminSyncUserEntitlementsParamsWithContext(ctx context.Context) *AdminSyncUserEntitlementsParams

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

func NewAdminSyncUserEntitlementsParamsWithHTTPClient added in v0.68.0

func NewAdminSyncUserEntitlementsParamsWithHTTPClient(client *http.Client) *AdminSyncUserEntitlementsParams

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

func NewAdminSyncUserEntitlementsParamsWithTimeout added in v0.68.0

func NewAdminSyncUserEntitlementsParamsWithTimeout(timeout time.Duration) *AdminSyncUserEntitlementsParams

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

func (*AdminSyncUserEntitlementsParams) SetAuthInfoWriter added in v0.68.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) SetContext added in v0.68.0

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

SetContext adds the context to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) SetFlightId added in v0.68.0

func (o *AdminSyncUserEntitlementsParams) SetFlightId(flightId string)

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

func (*AdminSyncUserEntitlementsParams) SetHTTPClient added in v0.68.0

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

SetHTTPClient adds the HTTPClient to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) SetHTTPClientTransport added in v0.68.0

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

SetHTTPClient adds the HTTPClient Transport to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) SetNamespace added in v0.68.0

func (o *AdminSyncUserEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) SetTimeout added in v0.68.0

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

SetTimeout adds the timeout to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) SetUserID added in v0.68.0

func (o *AdminSyncUserEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) WithContext added in v0.68.0

WithContext adds the context to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) WithNamespace added in v0.68.0

WithNamespace adds the namespace to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) WithUserID added in v0.68.0

WithUserID adds the userID to the admin sync user entitlements params

func (*AdminSyncUserEntitlementsParams) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type AdminSyncUserEntitlementsReader added in v0.68.0

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

AdminSyncUserEntitlementsReader is a Reader for the AdminSyncUserEntitlements structure.

func (*AdminSyncUserEntitlementsReader) ReadResponse added in v0.68.0

func (o *AdminSyncUserEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdminSyncUserEntitlementsUnauthorized added in v0.68.0

type AdminSyncUserEntitlementsUnauthorized struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminSyncUserEntitlementsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminSyncUserEntitlementsUnauthorized added in v0.68.0

func NewAdminSyncUserEntitlementsUnauthorized() *AdminSyncUserEntitlementsUnauthorized

NewAdminSyncUserEntitlementsUnauthorized creates a AdminSyncUserEntitlementsUnauthorized with default headers values

func (*AdminSyncUserEntitlementsUnauthorized) Error added in v0.68.0

func (*AdminSyncUserEntitlementsUnauthorized) GetPayload added in v0.68.0

func (*AdminSyncUserEntitlementsUnauthorized) ToJSONString added in v0.68.0

type Client

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

Client for admin items API

func (*Client) AdminBulkRemoveItems deprecated

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

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

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

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

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

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.

For Ecommerce item, this fields will be override by ecommerce configuration (slotUsed, serverCustomAttributes, customAttributes, type)

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.

For Ecommerce item, this fields will be override by ecommerce configuration (slotUsed, serverCustomAttributes, customAttributes, type)

Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]

func (*Client) AdminSaveItemToInventory deprecated

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) AdminSyncUserEntitlements deprecated added in v0.68.0

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

AdminSyncUserEntitlements to sync user's entitlements to e-commerce

Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]

func (*Client) AdminSyncUserEntitlementsShort added in v0.68.0

func (a *Client) AdminSyncUserEntitlementsShort(params *AdminSyncUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSyncUserEntitlementsNoContent, error)

AdminSyncUserEntitlementsShort to sync user's entitlements to e-commerce

Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]

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)
	AdminSyncUserEntitlements(params *AdminSyncUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSyncUserEntitlementsNoContent, *AdminSyncUserEntitlementsBadRequest, *AdminSyncUserEntitlementsUnauthorized, *AdminSyncUserEntitlementsForbidden, *AdminSyncUserEntitlementsNotFound, *AdminSyncUserEntitlementsInternalServerError, error)
	AdminSyncUserEntitlementsShort(params *AdminSyncUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSyncUserEntitlementsNoContent, 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL