admin_items

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminListItemsCreatedAtConstant     = "createdAt"
	AdminListItemsCreatedAtAscConstant  = "createdAt:asc"
	AdminListItemsCreatedAtDescConstant = "createdAt: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 AdminBulkSaveItemBadRequest added in v0.73.0

type AdminBulkSaveItemBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemBadRequest handles this case with default header values.

Bad Request

func NewAdminBulkSaveItemBadRequest added in v0.73.0

func NewAdminBulkSaveItemBadRequest() *AdminBulkSaveItemBadRequest

NewAdminBulkSaveItemBadRequest creates a AdminBulkSaveItemBadRequest with default headers values

func (*AdminBulkSaveItemBadRequest) Error added in v0.73.0

func (*AdminBulkSaveItemBadRequest) GetPayload added in v0.73.0

func (*AdminBulkSaveItemBadRequest) ToJSONString added in v0.73.0

func (o *AdminBulkSaveItemBadRequest) ToJSONString() string

type AdminBulkSaveItemForbidden added in v0.73.0

type AdminBulkSaveItemForbidden struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemForbidden handles this case with default header values.

Forbidden

func NewAdminBulkSaveItemForbidden added in v0.73.0

func NewAdminBulkSaveItemForbidden() *AdminBulkSaveItemForbidden

NewAdminBulkSaveItemForbidden creates a AdminBulkSaveItemForbidden with default headers values

func (*AdminBulkSaveItemForbidden) Error added in v0.73.0

func (*AdminBulkSaveItemForbidden) GetPayload added in v0.73.0

func (*AdminBulkSaveItemForbidden) ToJSONString added in v0.73.0

func (o *AdminBulkSaveItemForbidden) ToJSONString() string

type AdminBulkSaveItemInternalServerError added in v0.73.0

type AdminBulkSaveItemInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminBulkSaveItemInternalServerError added in v0.73.0

func NewAdminBulkSaveItemInternalServerError() *AdminBulkSaveItemInternalServerError

NewAdminBulkSaveItemInternalServerError creates a AdminBulkSaveItemInternalServerError with default headers values

func (*AdminBulkSaveItemInternalServerError) Error added in v0.73.0

func (*AdminBulkSaveItemInternalServerError) GetPayload added in v0.73.0

func (*AdminBulkSaveItemInternalServerError) ToJSONString added in v0.73.0

func (o *AdminBulkSaveItemInternalServerError) ToJSONString() string

type AdminBulkSaveItemNotFound added in v0.73.0

type AdminBulkSaveItemNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemNotFound handles this case with default header values.

Not Found

func NewAdminBulkSaveItemNotFound added in v0.73.0

func NewAdminBulkSaveItemNotFound() *AdminBulkSaveItemNotFound

NewAdminBulkSaveItemNotFound creates a AdminBulkSaveItemNotFound with default headers values

func (*AdminBulkSaveItemNotFound) Error added in v0.73.0

func (o *AdminBulkSaveItemNotFound) Error() string

func (*AdminBulkSaveItemNotFound) GetPayload added in v0.73.0

func (*AdminBulkSaveItemNotFound) ToJSONString added in v0.73.0

func (o *AdminBulkSaveItemNotFound) ToJSONString() string

type AdminBulkSaveItemOK added in v0.73.0

type AdminBulkSaveItemOK struct {
	Payload []*inventoryclientmodels.ApimodelsBulkSaveItemResp
}

AdminBulkSaveItemOK handles this case with default header values.

OK

func NewAdminBulkSaveItemOK added in v0.73.0

func NewAdminBulkSaveItemOK() *AdminBulkSaveItemOK

NewAdminBulkSaveItemOK creates a AdminBulkSaveItemOK with default headers values

func (*AdminBulkSaveItemOK) Error added in v0.73.0

func (o *AdminBulkSaveItemOK) Error() string

func (*AdminBulkSaveItemOK) GetPayload added in v0.73.0

func (*AdminBulkSaveItemOK) ToJSONString added in v0.73.0

func (o *AdminBulkSaveItemOK) ToJSONString() string

type AdminBulkSaveItemParams added in v0.73.0

type AdminBulkSaveItemParams 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
}

AdminBulkSaveItemParams contains all the parameters to send to the API endpoint for the admin bulk save item operation typically these are written to a http.Request

func NewAdminBulkSaveItemParams added in v0.73.0

func NewAdminBulkSaveItemParams() *AdminBulkSaveItemParams

NewAdminBulkSaveItemParams creates a new AdminBulkSaveItemParams object with the default values initialized.

func NewAdminBulkSaveItemParamsWithContext added in v0.73.0

func NewAdminBulkSaveItemParamsWithContext(ctx context.Context) *AdminBulkSaveItemParams

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

func NewAdminBulkSaveItemParamsWithHTTPClient added in v0.73.0

func NewAdminBulkSaveItemParamsWithHTTPClient(client *http.Client) *AdminBulkSaveItemParams

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

func NewAdminBulkSaveItemParamsWithTimeout added in v0.73.0

func NewAdminBulkSaveItemParamsWithTimeout(timeout time.Duration) *AdminBulkSaveItemParams

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

func (*AdminBulkSaveItemParams) SetAuthInfoWriter added in v0.73.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin bulk save item params

func (*AdminBulkSaveItemParams) SetBody added in v0.73.0

SetBody adds the body to the admin bulk save item params

func (*AdminBulkSaveItemParams) SetContext added in v0.73.0

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

SetContext adds the context to the admin bulk save item params

func (*AdminBulkSaveItemParams) SetFlightId added in v0.73.0

func (o *AdminBulkSaveItemParams) SetFlightId(flightId string)

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

func (*AdminBulkSaveItemParams) SetHTTPClient added in v0.73.0

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

SetHTTPClient adds the HTTPClient to the admin bulk save item params

func (*AdminBulkSaveItemParams) SetHTTPClientTransport added in v0.73.0

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

SetHTTPClient adds the HTTPClient Transport to the admin bulk save item params

func (*AdminBulkSaveItemParams) SetNamespace added in v0.73.0

func (o *AdminBulkSaveItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin bulk save item params

func (*AdminBulkSaveItemParams) SetTimeout added in v0.73.0

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

SetTimeout adds the timeout to the admin bulk save item params

func (*AdminBulkSaveItemParams) SetUserID added in v0.73.0

func (o *AdminBulkSaveItemParams) SetUserID(userID string)

SetUserID adds the userId to the admin bulk save item params

func (*AdminBulkSaveItemParams) WithBody added in v0.73.0

WithBody adds the body to the admin bulk save item params

func (*AdminBulkSaveItemParams) WithContext added in v0.73.0

WithContext adds the context to the admin bulk save item params

func (*AdminBulkSaveItemParams) WithHTTPClient added in v0.73.0

func (o *AdminBulkSaveItemParams) WithHTTPClient(client *http.Client) *AdminBulkSaveItemParams

WithHTTPClient adds the HTTPClient to the admin bulk save item params

func (*AdminBulkSaveItemParams) WithNamespace added in v0.73.0

func (o *AdminBulkSaveItemParams) WithNamespace(namespace string) *AdminBulkSaveItemParams

WithNamespace adds the namespace to the admin bulk save item params

func (*AdminBulkSaveItemParams) WithTimeout added in v0.73.0

WithTimeout adds the timeout to the admin bulk save item params

func (*AdminBulkSaveItemParams) WithUserID added in v0.73.0

WithUserID adds the userID to the admin bulk save item params

func (*AdminBulkSaveItemParams) WriteToRequest added in v0.73.0

WriteToRequest writes these params to a swagger request

type AdminBulkSaveItemReader added in v0.73.0

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

AdminBulkSaveItemReader is a Reader for the AdminBulkSaveItem structure.

func (*AdminBulkSaveItemReader) ReadResponse added in v0.73.0

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

ReadResponse reads a server response into the received o.

type AdminBulkSaveItemToInventoryBadRequest added in v0.73.0

type AdminBulkSaveItemToInventoryBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemToInventoryBadRequest handles this case with default header values.

Bad Request

func NewAdminBulkSaveItemToInventoryBadRequest added in v0.73.0

func NewAdminBulkSaveItemToInventoryBadRequest() *AdminBulkSaveItemToInventoryBadRequest

NewAdminBulkSaveItemToInventoryBadRequest creates a AdminBulkSaveItemToInventoryBadRequest with default headers values

func (*AdminBulkSaveItemToInventoryBadRequest) Error added in v0.73.0

func (*AdminBulkSaveItemToInventoryBadRequest) GetPayload added in v0.73.0

func (*AdminBulkSaveItemToInventoryBadRequest) ToJSONString added in v0.73.0

type AdminBulkSaveItemToInventoryForbidden added in v0.73.0

type AdminBulkSaveItemToInventoryForbidden struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemToInventoryForbidden handles this case with default header values.

Forbidden

func NewAdminBulkSaveItemToInventoryForbidden added in v0.73.0

func NewAdminBulkSaveItemToInventoryForbidden() *AdminBulkSaveItemToInventoryForbidden

NewAdminBulkSaveItemToInventoryForbidden creates a AdminBulkSaveItemToInventoryForbidden with default headers values

func (*AdminBulkSaveItemToInventoryForbidden) Error added in v0.73.0

func (*AdminBulkSaveItemToInventoryForbidden) GetPayload added in v0.73.0

func (*AdminBulkSaveItemToInventoryForbidden) ToJSONString added in v0.73.0

type AdminBulkSaveItemToInventoryInternalServerError added in v0.73.0

type AdminBulkSaveItemToInventoryInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemToInventoryInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminBulkSaveItemToInventoryInternalServerError added in v0.73.0

func NewAdminBulkSaveItemToInventoryInternalServerError() *AdminBulkSaveItemToInventoryInternalServerError

NewAdminBulkSaveItemToInventoryInternalServerError creates a AdminBulkSaveItemToInventoryInternalServerError with default headers values

func (*AdminBulkSaveItemToInventoryInternalServerError) Error added in v0.73.0

func (*AdminBulkSaveItemToInventoryInternalServerError) GetPayload added in v0.73.0

func (*AdminBulkSaveItemToInventoryInternalServerError) ToJSONString added in v0.73.0

type AdminBulkSaveItemToInventoryNotFound added in v0.73.0

type AdminBulkSaveItemToInventoryNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemToInventoryNotFound handles this case with default header values.

Not Found

func NewAdminBulkSaveItemToInventoryNotFound added in v0.73.0

func NewAdminBulkSaveItemToInventoryNotFound() *AdminBulkSaveItemToInventoryNotFound

NewAdminBulkSaveItemToInventoryNotFound creates a AdminBulkSaveItemToInventoryNotFound with default headers values

func (*AdminBulkSaveItemToInventoryNotFound) Error added in v0.73.0

func (*AdminBulkSaveItemToInventoryNotFound) GetPayload added in v0.73.0

func (*AdminBulkSaveItemToInventoryNotFound) ToJSONString added in v0.73.0

func (o *AdminBulkSaveItemToInventoryNotFound) ToJSONString() string

type AdminBulkSaveItemToInventoryOK added in v0.73.0

type AdminBulkSaveItemToInventoryOK struct {
	Payload []*inventoryclientmodels.ApimodelsBulkSaveItemResp
}

AdminBulkSaveItemToInventoryOK handles this case with default header values.

OK

func NewAdminBulkSaveItemToInventoryOK added in v0.73.0

func NewAdminBulkSaveItemToInventoryOK() *AdminBulkSaveItemToInventoryOK

NewAdminBulkSaveItemToInventoryOK creates a AdminBulkSaveItemToInventoryOK with default headers values

func (*AdminBulkSaveItemToInventoryOK) Error added in v0.73.0

func (*AdminBulkSaveItemToInventoryOK) GetPayload added in v0.73.0

func (*AdminBulkSaveItemToInventoryOK) ToJSONString added in v0.73.0

func (o *AdminBulkSaveItemToInventoryOK) ToJSONString() string

type AdminBulkSaveItemToInventoryParams added in v0.73.0

type AdminBulkSaveItemToInventoryParams 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
}

AdminBulkSaveItemToInventoryParams contains all the parameters to send to the API endpoint for the admin bulk save item to inventory operation typically these are written to a http.Request

func NewAdminBulkSaveItemToInventoryParams added in v0.73.0

func NewAdminBulkSaveItemToInventoryParams() *AdminBulkSaveItemToInventoryParams

NewAdminBulkSaveItemToInventoryParams creates a new AdminBulkSaveItemToInventoryParams object with the default values initialized.

func NewAdminBulkSaveItemToInventoryParamsWithContext added in v0.73.0

func NewAdminBulkSaveItemToInventoryParamsWithContext(ctx context.Context) *AdminBulkSaveItemToInventoryParams

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

func NewAdminBulkSaveItemToInventoryParamsWithHTTPClient added in v0.73.0

func NewAdminBulkSaveItemToInventoryParamsWithHTTPClient(client *http.Client) *AdminBulkSaveItemToInventoryParams

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

func NewAdminBulkSaveItemToInventoryParamsWithTimeout added in v0.73.0

func NewAdminBulkSaveItemToInventoryParamsWithTimeout(timeout time.Duration) *AdminBulkSaveItemToInventoryParams

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

func (*AdminBulkSaveItemToInventoryParams) SetAuthInfoWriter added in v0.73.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) SetBody added in v0.73.0

SetBody adds the body to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) SetContext added in v0.73.0

SetContext adds the context to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) SetFlightId added in v0.73.0

func (o *AdminBulkSaveItemToInventoryParams) SetFlightId(flightId string)

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

func (*AdminBulkSaveItemToInventoryParams) SetHTTPClient added in v0.73.0

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

SetHTTPClient adds the HTTPClient to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) SetHTTPClientTransport added in v0.73.0

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

SetHTTPClient adds the HTTPClient Transport to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) SetInventoryID added in v0.73.0

func (o *AdminBulkSaveItemToInventoryParams) SetInventoryID(inventoryID string)

SetInventoryID adds the inventoryId to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) SetNamespace added in v0.73.0

func (o *AdminBulkSaveItemToInventoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) SetTimeout added in v0.73.0

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

SetTimeout adds the timeout to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) SetUserID added in v0.73.0

func (o *AdminBulkSaveItemToInventoryParams) SetUserID(userID string)

SetUserID adds the userId to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) WithBody added in v0.73.0

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

func (*AdminBulkSaveItemToInventoryParams) WithContext added in v0.73.0

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

func (*AdminBulkSaveItemToInventoryParams) WithHTTPClient added in v0.73.0

WithHTTPClient adds the HTTPClient to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) WithInventoryID added in v0.73.0

WithInventoryID adds the inventoryID to the admin bulk save item to inventory params

func (*AdminBulkSaveItemToInventoryParams) WithNamespace added in v0.73.0

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

func (*AdminBulkSaveItemToInventoryParams) WithTimeout added in v0.73.0

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

func (*AdminBulkSaveItemToInventoryParams) WithUserID added in v0.73.0

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

func (*AdminBulkSaveItemToInventoryParams) WriteToRequest added in v0.73.0

WriteToRequest writes these params to a swagger request

type AdminBulkSaveItemToInventoryReader added in v0.73.0

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

AdminBulkSaveItemToInventoryReader is a Reader for the AdminBulkSaveItemToInventory structure.

func (*AdminBulkSaveItemToInventoryReader) ReadResponse added in v0.73.0

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

ReadResponse reads a server response into the received o.

type AdminBulkSaveItemToInventoryUnauthorized added in v0.73.0

type AdminBulkSaveItemToInventoryUnauthorized struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemToInventoryUnauthorized handles this case with default header values.

Unauthorized

func NewAdminBulkSaveItemToInventoryUnauthorized added in v0.73.0

func NewAdminBulkSaveItemToInventoryUnauthorized() *AdminBulkSaveItemToInventoryUnauthorized

NewAdminBulkSaveItemToInventoryUnauthorized creates a AdminBulkSaveItemToInventoryUnauthorized with default headers values

func (*AdminBulkSaveItemToInventoryUnauthorized) Error added in v0.73.0

func (*AdminBulkSaveItemToInventoryUnauthorized) GetPayload added in v0.73.0

func (*AdminBulkSaveItemToInventoryUnauthorized) ToJSONString added in v0.73.0

type AdminBulkSaveItemToInventoryUnprocessableEntity added in v0.73.0

type AdminBulkSaveItemToInventoryUnprocessableEntity struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemToInventoryUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewAdminBulkSaveItemToInventoryUnprocessableEntity added in v0.73.0

func NewAdminBulkSaveItemToInventoryUnprocessableEntity() *AdminBulkSaveItemToInventoryUnprocessableEntity

NewAdminBulkSaveItemToInventoryUnprocessableEntity creates a AdminBulkSaveItemToInventoryUnprocessableEntity with default headers values

func (*AdminBulkSaveItemToInventoryUnprocessableEntity) Error added in v0.73.0

func (*AdminBulkSaveItemToInventoryUnprocessableEntity) GetPayload added in v0.73.0

func (*AdminBulkSaveItemToInventoryUnprocessableEntity) ToJSONString added in v0.73.0

type AdminBulkSaveItemUnauthorized added in v0.73.0

type AdminBulkSaveItemUnauthorized struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemUnauthorized handles this case with default header values.

Unauthorized

func NewAdminBulkSaveItemUnauthorized added in v0.73.0

func NewAdminBulkSaveItemUnauthorized() *AdminBulkSaveItemUnauthorized

NewAdminBulkSaveItemUnauthorized creates a AdminBulkSaveItemUnauthorized with default headers values

func (*AdminBulkSaveItemUnauthorized) Error added in v0.73.0

func (*AdminBulkSaveItemUnauthorized) GetPayload added in v0.73.0

func (*AdminBulkSaveItemUnauthorized) ToJSONString added in v0.73.0

func (o *AdminBulkSaveItemUnauthorized) ToJSONString() string

type AdminBulkSaveItemUnprocessableEntity added in v0.73.0

type AdminBulkSaveItemUnprocessableEntity struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminBulkSaveItemUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewAdminBulkSaveItemUnprocessableEntity added in v0.73.0

func NewAdminBulkSaveItemUnprocessableEntity() *AdminBulkSaveItemUnprocessableEntity

NewAdminBulkSaveItemUnprocessableEntity creates a AdminBulkSaveItemUnprocessableEntity with default headers values

func (*AdminBulkSaveItemUnprocessableEntity) Error added in v0.73.0

func (*AdminBulkSaveItemUnprocessableEntity) GetPayload added in v0.73.0

func (*AdminBulkSaveItemUnprocessableEntity) ToJSONString added in v0.73.0

func (o *AdminBulkSaveItemUnprocessableEntity) ToJSONString() string

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
	/*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) 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) 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 AdminSaveItemToInventoryForbidden added in v0.75.0

type AdminSaveItemToInventoryForbidden struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminSaveItemToInventoryForbidden handles this case with default header values.

Forbidden

func NewAdminSaveItemToInventoryForbidden added in v0.75.0

func NewAdminSaveItemToInventoryForbidden() *AdminSaveItemToInventoryForbidden

NewAdminSaveItemToInventoryForbidden creates a AdminSaveItemToInventoryForbidden with default headers values

func (*AdminSaveItemToInventoryForbidden) Error added in v0.75.0

func (*AdminSaveItemToInventoryForbidden) GetPayload added in v0.75.0

func (*AdminSaveItemToInventoryForbidden) ToJSONString added in v0.75.0

func (o *AdminSaveItemToInventoryForbidden) 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 AdminSaveItemToInventoryNotFound added in v0.75.0

type AdminSaveItemToInventoryNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminSaveItemToInventoryNotFound handles this case with default header values.

Not Found

func NewAdminSaveItemToInventoryNotFound added in v0.75.0

func NewAdminSaveItemToInventoryNotFound() *AdminSaveItemToInventoryNotFound

NewAdminSaveItemToInventoryNotFound creates a AdminSaveItemToInventoryNotFound with default headers values

func (*AdminSaveItemToInventoryNotFound) Error added in v0.75.0

func (*AdminSaveItemToInventoryNotFound) GetPayload added in v0.75.0

func (*AdminSaveItemToInventoryNotFound) ToJSONString added in v0.75.0

func (o *AdminSaveItemToInventoryNotFound) 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 (*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 AdminSaveItemToInventoryUnauthorized added in v0.75.0

type AdminSaveItemToInventoryUnauthorized struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminSaveItemToInventoryUnauthorized handles this case with default header values.

Unauthorized

func NewAdminSaveItemToInventoryUnauthorized added in v0.75.0

func NewAdminSaveItemToInventoryUnauthorized() *AdminSaveItemToInventoryUnauthorized

NewAdminSaveItemToInventoryUnauthorized creates a AdminSaveItemToInventoryUnauthorized with default headers values

func (*AdminSaveItemToInventoryUnauthorized) Error added in v0.75.0

func (*AdminSaveItemToInventoryUnauthorized) GetPayload added in v0.75.0

func (*AdminSaveItemToInventoryUnauthorized) ToJSONString added in v0.75.0

func (o *AdminSaveItemToInventoryUnauthorized) ToJSONString() string

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) AdminBulkSaveItem deprecated added in v0.73.0

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

AdminBulkSaveItem bulk save items to inventory **This endpoint is used used for bulk saving purchased items to the player�s inventory based on the inventoryConfigurationCode with the following conditions:** - If the player doesn't have the inventory for the specified inventoryConfigurationCode, a new inventory will be created for the player. - If the player already has one, it will be added to the existing inventory. >- If the same item exists within the inventory, the quantity (qty) will be increased. >- If the inventory is full, the item cannot be added and the request will return the �Failed� response. >- If a player has more than one inventory and the initial inventory is full, the service will check the available slot in the other inventory following the order of their creation date and time (createdAt).

- For E-commerce items: >- Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store. >- Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable. >- The quantity is dynamically set based on an item�s useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the item�s quantity will be stored as 2 in the player�s inventory.

**When configuring your request, note the following:** - The source field is mandatory for determining the source of the item. The supported values are OTHER (for items coming from other sources) and E-commerce for items coming from the E-commerce integration. - For other-sourced items, the type can be manually defined when saving the item. - A maximum of 10 items can be saved in a single bulk call.

You must have this permission to access this endpoint: **Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]**

func (*Client) AdminBulkSaveItemShort added in v0.73.0

func (a *Client) AdminBulkSaveItemShort(params *AdminBulkSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemOK, error)

AdminBulkSaveItemShort bulk save items to inventory **This endpoint is used used for bulk saving purchased items to the player�s inventory based on the inventoryConfigurationCode with the following conditions:** - If the player doesn't have the inventory for the specified inventoryConfigurationCode, a new inventory will be created for the player. - If the player already has one, it will be added to the existing inventory. >- If the same item exists within the inventory, the quantity (qty) will be increased. >- If the inventory is full, the item cannot be added and the request will return the �Failed� response. >- If a player has more than one inventory and the initial inventory is full, the service will check the available slot in the other inventory following the order of their creation date and time (createdAt).

- For E-commerce items: >- Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store. >- Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable. >- The quantity is dynamically set based on an item�s useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the item�s quantity will be stored as 2 in the player�s inventory.

**When configuring your request, note the following:** - The source field is mandatory for determining the source of the item. The supported values are OTHER (for items coming from other sources) and E-commerce for items coming from the E-commerce integration. - For other-sourced items, the type can be manually defined when saving the item. - A maximum of 10 items can be saved in a single bulk call.

You must have this permission to access this endpoint: **Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]**

func (*Client) AdminBulkSaveItemToInventory deprecated added in v0.73.0

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

AdminBulkSaveItemToInventory bulk save items to specific inventory **This endpoint is used for bulk saving purchased items to a specific inventory of the player, with the following conditions for E-commerce items:** - Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store. - Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable. - The quantity is dynamically set based on an item�s useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the item�s quantity will be stored as 2 in the player�s inventory.

**When configuring your request, note the following:** - The source field is mandatory for determining the source of the item. The supported values are OTHER (for items coming from other sources) and E-commerce for items coming from the E-commerce integration. - For other-sourced items, the type can be manually defined when saving the item. - A maximum of 10 items can be saved in a single bulk call.

You must have this permission to access this endpoint: **Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM[CREATE]**

func (*Client) AdminBulkSaveItemToInventoryShort added in v0.73.0

func (a *Client) AdminBulkSaveItemToInventoryShort(params *AdminBulkSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemToInventoryOK, error)

AdminBulkSaveItemToInventoryShort bulk save items to specific inventory **This endpoint is used for bulk saving purchased items to a specific inventory of the player, with the following conditions for E-commerce items:** - Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store. - Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable. - The quantity is dynamically set based on an item�s useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the item�s quantity will be stored as 2 in the player�s inventory.

**When configuring your request, note the following:** - The source field is mandatory for determining the source of the item. The supported values are OTHER (for items coming from other sources) and E-commerce for items coming from the E-commerce integration. - For other-sourced items, the type can be manually defined when saving the item. - A maximum of 10 items can be saved in a single bulk call.

You must have this permission to access this endpoint: **Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM[CREATE]**

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 Client should pass item ID in options if item type is OPTIONBOX 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 Client should pass item ID in options if item type is OPTIONBOX 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 **This endpoint is used to save items to the player�s inventory based on the inventoryConfigurationCode with the following conditions:** - If the player doesn't have the inventory for the specified inventoryConfigurationCode, a new inventory will be created. - If the user already has one, it will be added to the existing inventory. - If the same item exists within the inventory, the quantity (qty) will be increased. - If the inventory is full, the item cannot be added and the request will return the �Failed� response. - If a player has more than one inventory and the initial inventory is full, the service will check the available slot in the other inventory following the order of their creation date and time (createdAt). - For Ecommerce items: >- Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store. >- Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable. >- The quantity is dynamically set based on an item�s useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the item�s quantity will be stored as 2 in the player�s inventory.

You must have this permission to access this endpoint: **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 **This endpoint is used to save items to the player�s inventory based on the inventoryConfigurationCode with the following conditions:** - If the player doesn't have the inventory for the specified inventoryConfigurationCode, a new inventory will be created. - If the user already has one, it will be added to the existing inventory. - If the same item exists within the inventory, the quantity (qty) will be increased. - If the inventory is full, the item cannot be added and the request will return the �Failed� response. - If a player has more than one inventory and the initial inventory is full, the service will check the available slot in the other inventory following the order of their creation date and time (createdAt). - For Ecommerce items: >- Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store. >- Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable. >- The quantity is dynamically set based on an item�s useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the item�s quantity will be stored as 2 in the player�s inventory.

You must have this permission to access this endpoint: **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 **This endpoint is used to save purchased items to a specific inventory of the player, with the following conditions for E-commerce items:** - Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store. - Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable. - The quantity is dynamically set based on an item�s useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the item�s quantity will be stored as 2 in the player�s inventory.

**When configuring your request, note the following:** - The source field is mandatory for determining the source of the item. The supported values are OTHER (for items coming from other sources) and E-commerce for items coming from the E-commerce integration. - For other-sourced items, the type can be manually defined when saving the item. You must have this permission to access this endpoint:

**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 **This endpoint is used to save purchased items to a specific inventory of the player, with the following conditions for E-commerce items:** - Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store. - Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable. - The quantity is dynamically set based on an item�s useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the item�s quantity will be stored as 2 in the player�s inventory.

**When configuring your request, note the following:** - The source field is mandatory for determining the source of the item. The supported values are OTHER (for items coming from other sources) and E-commerce for items coming from the E-commerce integration. - For other-sourced items, the type can be manually defined when saving the item. You must have this permission to access this endpoint:

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

Sync user's entitlement from e-commerce service to inventory for non exist item at user inventory. will skip the item if already exist at user inventory. 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

Sync user's entitlement from e-commerce service to inventory for non exist item at user inventory. will skip the item if already exist at user inventory. 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, *AdminSaveItemToInventoryUnauthorized, *AdminSaveItemToInventoryForbidden, *AdminSaveItemToInventoryNotFound, *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)
	AdminBulkSaveItemToInventory(params *AdminBulkSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemToInventoryOK, *AdminBulkSaveItemToInventoryBadRequest, *AdminBulkSaveItemToInventoryUnauthorized, *AdminBulkSaveItemToInventoryForbidden, *AdminBulkSaveItemToInventoryNotFound, *AdminBulkSaveItemToInventoryUnprocessableEntity, *AdminBulkSaveItemToInventoryInternalServerError, error)
	AdminBulkSaveItemToInventoryShort(params *AdminBulkSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemToInventoryOK, error)
	AdminSaveItem(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemOK, *AdminSaveItemBadRequest, *AdminSaveItemInternalServerError, error)
	AdminSaveItemShort(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemOK, error)
	AdminBulkSaveItem(params *AdminBulkSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemOK, *AdminBulkSaveItemBadRequest, *AdminBulkSaveItemUnauthorized, *AdminBulkSaveItemForbidden, *AdminBulkSaveItemNotFound, *AdminBulkSaveItemUnprocessableEntity, *AdminBulkSaveItemInternalServerError, error)
	AdminBulkSaveItemShort(params *AdminBulkSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemOK, 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