Documentation
¶
Index ¶
- Constants
- type AdminBulkRemoveItemsBadRequest
- type AdminBulkRemoveItemsInternalServerError
- type AdminBulkRemoveItemsNotFound
- type AdminBulkRemoveItemsOK
- type AdminBulkRemoveItemsParams
- func NewAdminBulkRemoveItemsParams() *AdminBulkRemoveItemsParams
- func NewAdminBulkRemoveItemsParamsWithContext(ctx context.Context) *AdminBulkRemoveItemsParams
- func NewAdminBulkRemoveItemsParamsWithHTTPClient(client *http.Client) *AdminBulkRemoveItemsParams
- func NewAdminBulkRemoveItemsParamsWithTimeout(timeout time.Duration) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminBulkRemoveItemsParams) SetBody(body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq)
- func (o *AdminBulkRemoveItemsParams) SetContext(ctx context.Context)
- func (o *AdminBulkRemoveItemsParams) SetFlightId(flightId string)
- func (o *AdminBulkRemoveItemsParams) SetHTTPClient(client *http.Client)
- func (o *AdminBulkRemoveItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminBulkRemoveItemsParams) SetInventoryID(inventoryID string)
- func (o *AdminBulkRemoveItemsParams) SetNamespace(namespace string)
- func (o *AdminBulkRemoveItemsParams) SetTimeout(timeout time.Duration)
- func (o *AdminBulkRemoveItemsParams) SetUserID(userID string)
- func (o *AdminBulkRemoveItemsParams) WithBody(body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithContext(ctx context.Context) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithHTTPClient(client *http.Client) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithInventoryID(inventoryID string) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithNamespace(namespace string) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithTimeout(timeout time.Duration) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WithUserID(userID string) *AdminBulkRemoveItemsParams
- func (o *AdminBulkRemoveItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminBulkRemoveItemsReader
- type AdminBulkRemoveItemsResponse
- type AdminBulkSaveItemBadRequest
- type AdminBulkSaveItemForbidden
- type AdminBulkSaveItemInternalServerError
- type AdminBulkSaveItemNotFound
- type AdminBulkSaveItemOK
- type AdminBulkSaveItemParams
- func NewAdminBulkSaveItemParams() *AdminBulkSaveItemParams
- func NewAdminBulkSaveItemParamsWithContext(ctx context.Context) *AdminBulkSaveItemParams
- func NewAdminBulkSaveItemParamsWithHTTPClient(client *http.Client) *AdminBulkSaveItemParams
- func NewAdminBulkSaveItemParamsWithTimeout(timeout time.Duration) *AdminBulkSaveItemParams
- func (o *AdminBulkSaveItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminBulkSaveItemParams) SetBody(body []*inventoryclientmodels.ApimodelsSaveItemReq)
- func (o *AdminBulkSaveItemParams) SetContext(ctx context.Context)
- func (o *AdminBulkSaveItemParams) SetFlightId(flightId string)
- func (o *AdminBulkSaveItemParams) SetHTTPClient(client *http.Client)
- func (o *AdminBulkSaveItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminBulkSaveItemParams) SetNamespace(namespace string)
- func (o *AdminBulkSaveItemParams) SetTimeout(timeout time.Duration)
- func (o *AdminBulkSaveItemParams) SetUserID(userID string)
- func (o *AdminBulkSaveItemParams) WithBody(body []*inventoryclientmodels.ApimodelsSaveItemReq) *AdminBulkSaveItemParams
- func (o *AdminBulkSaveItemParams) WithContext(ctx context.Context) *AdminBulkSaveItemParams
- func (o *AdminBulkSaveItemParams) WithHTTPClient(client *http.Client) *AdminBulkSaveItemParams
- func (o *AdminBulkSaveItemParams) WithNamespace(namespace string) *AdminBulkSaveItemParams
- func (o *AdminBulkSaveItemParams) WithTimeout(timeout time.Duration) *AdminBulkSaveItemParams
- func (o *AdminBulkSaveItemParams) WithUserID(userID string) *AdminBulkSaveItemParams
- func (o *AdminBulkSaveItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminBulkSaveItemReader
- type AdminBulkSaveItemResponse
- type AdminBulkSaveItemToInventoryBadRequest
- type AdminBulkSaveItemToInventoryForbidden
- type AdminBulkSaveItemToInventoryInternalServerError
- type AdminBulkSaveItemToInventoryNotFound
- type AdminBulkSaveItemToInventoryOK
- type AdminBulkSaveItemToInventoryParams
- func NewAdminBulkSaveItemToInventoryParams() *AdminBulkSaveItemToInventoryParams
- func NewAdminBulkSaveItemToInventoryParamsWithContext(ctx context.Context) *AdminBulkSaveItemToInventoryParams
- func NewAdminBulkSaveItemToInventoryParamsWithHTTPClient(client *http.Client) *AdminBulkSaveItemToInventoryParams
- func NewAdminBulkSaveItemToInventoryParamsWithTimeout(timeout time.Duration) *AdminBulkSaveItemToInventoryParams
- func (o *AdminBulkSaveItemToInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminBulkSaveItemToInventoryParams) SetBody(body []*inventoryclientmodels.ApimodelsSaveItemToInventoryReq)
- func (o *AdminBulkSaveItemToInventoryParams) SetContext(ctx context.Context)
- func (o *AdminBulkSaveItemToInventoryParams) SetFlightId(flightId string)
- func (o *AdminBulkSaveItemToInventoryParams) SetHTTPClient(client *http.Client)
- func (o *AdminBulkSaveItemToInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminBulkSaveItemToInventoryParams) SetInventoryID(inventoryID string)
- func (o *AdminBulkSaveItemToInventoryParams) SetNamespace(namespace string)
- func (o *AdminBulkSaveItemToInventoryParams) SetTimeout(timeout time.Duration)
- func (o *AdminBulkSaveItemToInventoryParams) SetUserID(userID string)
- func (o *AdminBulkSaveItemToInventoryParams) WithBody(body []*inventoryclientmodels.ApimodelsSaveItemToInventoryReq) *AdminBulkSaveItemToInventoryParams
- func (o *AdminBulkSaveItemToInventoryParams) WithContext(ctx context.Context) *AdminBulkSaveItemToInventoryParams
- func (o *AdminBulkSaveItemToInventoryParams) WithHTTPClient(client *http.Client) *AdminBulkSaveItemToInventoryParams
- func (o *AdminBulkSaveItemToInventoryParams) WithInventoryID(inventoryID string) *AdminBulkSaveItemToInventoryParams
- func (o *AdminBulkSaveItemToInventoryParams) WithNamespace(namespace string) *AdminBulkSaveItemToInventoryParams
- func (o *AdminBulkSaveItemToInventoryParams) WithTimeout(timeout time.Duration) *AdminBulkSaveItemToInventoryParams
- func (o *AdminBulkSaveItemToInventoryParams) WithUserID(userID string) *AdminBulkSaveItemToInventoryParams
- func (o *AdminBulkSaveItemToInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminBulkSaveItemToInventoryReader
- type AdminBulkSaveItemToInventoryResponse
- type AdminBulkSaveItemToInventoryUnauthorized
- type AdminBulkSaveItemToInventoryUnprocessableEntity
- type AdminBulkSaveItemUnauthorized
- type AdminBulkSaveItemUnprocessableEntity
- type AdminBulkUpdateMyItemsBadRequest
- type AdminBulkUpdateMyItemsInternalServerError
- type AdminBulkUpdateMyItemsNotFound
- type AdminBulkUpdateMyItemsOK
- type AdminBulkUpdateMyItemsParams
- func NewAdminBulkUpdateMyItemsParams() *AdminBulkUpdateMyItemsParams
- func NewAdminBulkUpdateMyItemsParamsWithContext(ctx context.Context) *AdminBulkUpdateMyItemsParams
- func NewAdminBulkUpdateMyItemsParamsWithHTTPClient(client *http.Client) *AdminBulkUpdateMyItemsParams
- func NewAdminBulkUpdateMyItemsParamsWithTimeout(timeout time.Duration) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminBulkUpdateMyItemsParams) SetBody(body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq)
- func (o *AdminBulkUpdateMyItemsParams) SetContext(ctx context.Context)
- func (o *AdminBulkUpdateMyItemsParams) SetFlightId(flightId string)
- func (o *AdminBulkUpdateMyItemsParams) SetHTTPClient(client *http.Client)
- func (o *AdminBulkUpdateMyItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminBulkUpdateMyItemsParams) SetInventoryID(inventoryID string)
- func (o *AdminBulkUpdateMyItemsParams) SetNamespace(namespace string)
- func (o *AdminBulkUpdateMyItemsParams) SetTimeout(timeout time.Duration)
- func (o *AdminBulkUpdateMyItemsParams) SetUserID(userID string)
- func (o *AdminBulkUpdateMyItemsParams) WithBody(body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithContext(ctx context.Context) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithHTTPClient(client *http.Client) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithInventoryID(inventoryID string) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithNamespace(namespace string) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithTimeout(timeout time.Duration) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WithUserID(userID string) *AdminBulkUpdateMyItemsParams
- func (o *AdminBulkUpdateMyItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminBulkUpdateMyItemsReader
- type AdminBulkUpdateMyItemsResponse
- type AdminConsumeUserItemBadRequest
- type AdminConsumeUserItemInternalServerError
- type AdminConsumeUserItemNotFound
- type AdminConsumeUserItemOK
- type AdminConsumeUserItemParams
- func NewAdminConsumeUserItemParams() *AdminConsumeUserItemParams
- func NewAdminConsumeUserItemParamsWithContext(ctx context.Context) *AdminConsumeUserItemParams
- func NewAdminConsumeUserItemParamsWithHTTPClient(client *http.Client) *AdminConsumeUserItemParams
- func NewAdminConsumeUserItemParamsWithTimeout(timeout time.Duration) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminConsumeUserItemParams) SetBody(body *inventoryclientmodels.ApimodelsConsumeItemReq)
- func (o *AdminConsumeUserItemParams) SetContext(ctx context.Context)
- func (o *AdminConsumeUserItemParams) SetDateRangeValidation(dateRangeValidation *string)
- func (o *AdminConsumeUserItemParams) SetFlightId(flightId string)
- func (o *AdminConsumeUserItemParams) SetHTTPClient(client *http.Client)
- func (o *AdminConsumeUserItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminConsumeUserItemParams) SetInventoryID(inventoryID string)
- func (o *AdminConsumeUserItemParams) SetNamespace(namespace string)
- func (o *AdminConsumeUserItemParams) SetTimeout(timeout time.Duration)
- func (o *AdminConsumeUserItemParams) SetUserID(userID string)
- func (o *AdminConsumeUserItemParams) WithBody(body *inventoryclientmodels.ApimodelsConsumeItemReq) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithContext(ctx context.Context) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithDateRangeValidation(dateRangeValidation *string) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithHTTPClient(client *http.Client) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithInventoryID(inventoryID string) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithNamespace(namespace string) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithTimeout(timeout time.Duration) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WithUserID(userID string) *AdminConsumeUserItemParams
- func (o *AdminConsumeUserItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminConsumeUserItemReader
- type AdminConsumeUserItemResponse
- type AdminGetInventoryItemBadRequest
- type AdminGetInventoryItemInternalServerError
- type AdminGetInventoryItemNotFound
- type AdminGetInventoryItemOK
- type AdminGetInventoryItemParams
- func NewAdminGetInventoryItemParams() *AdminGetInventoryItemParams
- func NewAdminGetInventoryItemParamsWithContext(ctx context.Context) *AdminGetInventoryItemParams
- func NewAdminGetInventoryItemParamsWithHTTPClient(client *http.Client) *AdminGetInventoryItemParams
- func NewAdminGetInventoryItemParamsWithTimeout(timeout time.Duration) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetInventoryItemParams) SetContext(ctx context.Context)
- func (o *AdminGetInventoryItemParams) SetFlightId(flightId string)
- func (o *AdminGetInventoryItemParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetInventoryItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetInventoryItemParams) SetInventoryID(inventoryID string)
- func (o *AdminGetInventoryItemParams) SetNamespace(namespace string)
- func (o *AdminGetInventoryItemParams) SetSlotID(slotID string)
- func (o *AdminGetInventoryItemParams) SetSourceItemID(sourceItemID string)
- func (o *AdminGetInventoryItemParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetInventoryItemParams) WithContext(ctx context.Context) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithHTTPClient(client *http.Client) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithInventoryID(inventoryID string) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithNamespace(namespace string) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithSlotID(slotID string) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithSourceItemID(sourceItemID string) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WithTimeout(timeout time.Duration) *AdminGetInventoryItemParams
- func (o *AdminGetInventoryItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetInventoryItemReader
- type AdminGetInventoryItemResponse
- type AdminListItemsBadRequest
- type AdminListItemsInternalServerError
- type AdminListItemsOK
- type AdminListItemsParams
- func NewAdminListItemsParams() *AdminListItemsParams
- func NewAdminListItemsParamsWithContext(ctx context.Context) *AdminListItemsParams
- func NewAdminListItemsParamsWithHTTPClient(client *http.Client) *AdminListItemsParams
- func NewAdminListItemsParamsWithTimeout(timeout time.Duration) *AdminListItemsParams
- func (o *AdminListItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListItemsParams) SetContext(ctx context.Context)
- func (o *AdminListItemsParams) SetFlightId(flightId string)
- func (o *AdminListItemsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListItemsParams) SetInventoryID(inventoryID string)
- func (o *AdminListItemsParams) SetLimit(limit *int64)
- func (o *AdminListItemsParams) SetNamespace(namespace string)
- func (o *AdminListItemsParams) SetOffset(offset *int64)
- func (o *AdminListItemsParams) SetSortBy(sortBy *string)
- func (o *AdminListItemsParams) SetSourceItemID(sourceItemID *string)
- func (o *AdminListItemsParams) SetTags(tags *string)
- func (o *AdminListItemsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListItemsParams) WithContext(ctx context.Context) *AdminListItemsParams
- func (o *AdminListItemsParams) WithHTTPClient(client *http.Client) *AdminListItemsParams
- func (o *AdminListItemsParams) WithInventoryID(inventoryID string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithLimit(limit *int64) *AdminListItemsParams
- func (o *AdminListItemsParams) WithNamespace(namespace string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithOffset(offset *int64) *AdminListItemsParams
- func (o *AdminListItemsParams) WithSortBy(sortBy *string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithSourceItemID(sourceItemID *string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithTags(tags *string) *AdminListItemsParams
- func (o *AdminListItemsParams) WithTimeout(timeout time.Duration) *AdminListItemsParams
- func (o *AdminListItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListItemsReader
- type AdminListItemsResponse
- type AdminSaveItemBadRequest
- type AdminSaveItemInternalServerError
- type AdminSaveItemOK
- type AdminSaveItemParams
- func (o *AdminSaveItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminSaveItemParams) SetBody(body *inventoryclientmodels.ApimodelsSaveItemReq)
- func (o *AdminSaveItemParams) SetContext(ctx context.Context)
- func (o *AdminSaveItemParams) SetFlightId(flightId string)
- func (o *AdminSaveItemParams) SetHTTPClient(client *http.Client)
- func (o *AdminSaveItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminSaveItemParams) SetNamespace(namespace string)
- func (o *AdminSaveItemParams) SetTimeout(timeout time.Duration)
- func (o *AdminSaveItemParams) SetUserID(userID string)
- func (o *AdminSaveItemParams) WithBody(body *inventoryclientmodels.ApimodelsSaveItemReq) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithContext(ctx context.Context) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithHTTPClient(client *http.Client) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithNamespace(namespace string) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithTimeout(timeout time.Duration) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WithUserID(userID string) *AdminSaveItemParams
- func (o *AdminSaveItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminSaveItemReader
- type AdminSaveItemResponse
- type AdminSaveItemToInventoryBadRequest
- type AdminSaveItemToInventoryForbidden
- type AdminSaveItemToInventoryInternalServerError
- type AdminSaveItemToInventoryNotFound
- type AdminSaveItemToInventoryOK
- type AdminSaveItemToInventoryParams
- func NewAdminSaveItemToInventoryParams() *AdminSaveItemToInventoryParams
- func NewAdminSaveItemToInventoryParamsWithContext(ctx context.Context) *AdminSaveItemToInventoryParams
- func NewAdminSaveItemToInventoryParamsWithHTTPClient(client *http.Client) *AdminSaveItemToInventoryParams
- func NewAdminSaveItemToInventoryParamsWithTimeout(timeout time.Duration) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminSaveItemToInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq)
- func (o *AdminSaveItemToInventoryParams) SetContext(ctx context.Context)
- func (o *AdminSaveItemToInventoryParams) SetFlightId(flightId string)
- func (o *AdminSaveItemToInventoryParams) SetHTTPClient(client *http.Client)
- func (o *AdminSaveItemToInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminSaveItemToInventoryParams) SetInventoryID(inventoryID string)
- func (o *AdminSaveItemToInventoryParams) SetNamespace(namespace string)
- func (o *AdminSaveItemToInventoryParams) SetTimeout(timeout time.Duration)
- func (o *AdminSaveItemToInventoryParams) SetUserID(userID string)
- func (o *AdminSaveItemToInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithContext(ctx context.Context) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithHTTPClient(client *http.Client) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithInventoryID(inventoryID string) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithNamespace(namespace string) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithTimeout(timeout time.Duration) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WithUserID(userID string) *AdminSaveItemToInventoryParams
- func (o *AdminSaveItemToInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminSaveItemToInventoryReader
- type AdminSaveItemToInventoryResponse
- type AdminSaveItemToInventoryUnauthorized
- type AdminSyncUserEntitlementsBadRequest
- type AdminSyncUserEntitlementsForbidden
- type AdminSyncUserEntitlementsInternalServerError
- type AdminSyncUserEntitlementsNoContent
- type AdminSyncUserEntitlementsNotFound
- type AdminSyncUserEntitlementsParams
- func NewAdminSyncUserEntitlementsParams() *AdminSyncUserEntitlementsParams
- func NewAdminSyncUserEntitlementsParamsWithContext(ctx context.Context) *AdminSyncUserEntitlementsParams
- func NewAdminSyncUserEntitlementsParamsWithHTTPClient(client *http.Client) *AdminSyncUserEntitlementsParams
- func NewAdminSyncUserEntitlementsParamsWithTimeout(timeout time.Duration) *AdminSyncUserEntitlementsParams
- func (o *AdminSyncUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminSyncUserEntitlementsParams) SetContext(ctx context.Context)
- func (o *AdminSyncUserEntitlementsParams) SetFlightId(flightId string)
- func (o *AdminSyncUserEntitlementsParams) SetHTTPClient(client *http.Client)
- func (o *AdminSyncUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminSyncUserEntitlementsParams) SetNamespace(namespace string)
- func (o *AdminSyncUserEntitlementsParams) SetTimeout(timeout time.Duration)
- func (o *AdminSyncUserEntitlementsParams) SetUserID(userID string)
- func (o *AdminSyncUserEntitlementsParams) WithContext(ctx context.Context) *AdminSyncUserEntitlementsParams
- func (o *AdminSyncUserEntitlementsParams) WithHTTPClient(client *http.Client) *AdminSyncUserEntitlementsParams
- func (o *AdminSyncUserEntitlementsParams) WithNamespace(namespace string) *AdminSyncUserEntitlementsParams
- func (o *AdminSyncUserEntitlementsParams) WithTimeout(timeout time.Duration) *AdminSyncUserEntitlementsParams
- func (o *AdminSyncUserEntitlementsParams) WithUserID(userID string) *AdminSyncUserEntitlementsParams
- func (o *AdminSyncUserEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminSyncUserEntitlementsReader
- type AdminSyncUserEntitlementsResponse
- type AdminSyncUserEntitlementsUnauthorized
- type Client
- func (a *Client) AdminBulkRemoveItemsShort(params *AdminBulkRemoveItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkRemoveItemsResponse, error)
- func (a *Client) AdminBulkSaveItemShort(params *AdminBulkSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemResponse, error)
- func (a *Client) AdminBulkSaveItemToInventoryShort(params *AdminBulkSaveItemToInventoryParams, ...) (*AdminBulkSaveItemToInventoryResponse, error)
- func (a *Client) AdminBulkUpdateMyItemsShort(params *AdminBulkUpdateMyItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkUpdateMyItemsResponse, error)
- func (a *Client) AdminConsumeUserItemShort(params *AdminConsumeUserItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminConsumeUserItemResponse, error)
- func (a *Client) AdminGetInventoryItemShort(params *AdminGetInventoryItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryItemResponse, error)
- func (a *Client) AdminListItemsShort(params *AdminListItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListItemsResponse, error)
- func (a *Client) AdminSaveItemShort(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemResponse, error)
- func (a *Client) AdminSaveItemToInventoryShort(params *AdminSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemToInventoryResponse, error)
- func (a *Client) AdminSyncUserEntitlementsShort(params *AdminSyncUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSyncUserEntitlementsResponse, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
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 (o *AdminBulkRemoveItemsBadRequest) Error() string
func (*AdminBulkRemoveItemsBadRequest) GetPayload ¶
func (o *AdminBulkRemoveItemsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkRemoveItemsBadRequest) ToJSONString ¶
func (o *AdminBulkRemoveItemsBadRequest) ToJSONString() string
type AdminBulkRemoveItemsInternalServerError ¶
type AdminBulkRemoveItemsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkRemoveItemsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminBulkRemoveItemsInternalServerError ¶
func NewAdminBulkRemoveItemsInternalServerError() *AdminBulkRemoveItemsInternalServerError
NewAdminBulkRemoveItemsInternalServerError creates a AdminBulkRemoveItemsInternalServerError with default headers values
func (*AdminBulkRemoveItemsInternalServerError) Error ¶
func (o *AdminBulkRemoveItemsInternalServerError) Error() string
func (*AdminBulkRemoveItemsInternalServerError) GetPayload ¶
func (o *AdminBulkRemoveItemsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkRemoveItemsInternalServerError) ToJSONString ¶
func (o *AdminBulkRemoveItemsInternalServerError) ToJSONString() string
type AdminBulkRemoveItemsNotFound ¶
type AdminBulkRemoveItemsNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkRemoveItemsNotFound handles this case with default header values.
Not Found
func NewAdminBulkRemoveItemsNotFound ¶
func NewAdminBulkRemoveItemsNotFound() *AdminBulkRemoveItemsNotFound
NewAdminBulkRemoveItemsNotFound creates a AdminBulkRemoveItemsNotFound with default headers values
func (*AdminBulkRemoveItemsNotFound) Error ¶
func (o *AdminBulkRemoveItemsNotFound) Error() string
func (*AdminBulkRemoveItemsNotFound) GetPayload ¶
func (o *AdminBulkRemoveItemsNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkRemoveItemsNotFound) ToJSONString ¶
func (o *AdminBulkRemoveItemsNotFound) ToJSONString() string
type AdminBulkRemoveItemsOK ¶
type AdminBulkRemoveItemsOK struct {
Payload []*inventoryclientmodels.ApimodelsUpdateItemResp
}
AdminBulkRemoveItemsOK handles this case with default header values.
OK
func NewAdminBulkRemoveItemsOK ¶
func NewAdminBulkRemoveItemsOK() *AdminBulkRemoveItemsOK
NewAdminBulkRemoveItemsOK creates a AdminBulkRemoveItemsOK with default headers values
func (*AdminBulkRemoveItemsOK) Error ¶
func (o *AdminBulkRemoveItemsOK) Error() string
func (*AdminBulkRemoveItemsOK) GetPayload ¶
func (o *AdminBulkRemoveItemsOK) GetPayload() []*inventoryclientmodels.ApimodelsUpdateItemResp
func (*AdminBulkRemoveItemsOK) ToJSONString ¶
func (o *AdminBulkRemoveItemsOK) ToJSONString() string
type AdminBulkRemoveItemsParams ¶
type AdminBulkRemoveItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*UserID userID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶
func (o *AdminBulkRemoveItemsParams) SetBody(body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq)
SetBody adds the body to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetContext ¶
func (o *AdminBulkRemoveItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) SetFlightId ¶
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 ¶
func (o *AdminBulkRemoveItemsParams) WithBody(body []*inventoryclientmodels.ApimodelsRemoveInventoryItemReq) *AdminBulkRemoveItemsParams
WithBody adds the body to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithContext ¶
func (o *AdminBulkRemoveItemsParams) WithContext(ctx context.Context) *AdminBulkRemoveItemsParams
WithContext adds the context to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithHTTPClient ¶
func (o *AdminBulkRemoveItemsParams) WithHTTPClient(client *http.Client) *AdminBulkRemoveItemsParams
WithHTTPClient adds the HTTPClient to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithInventoryID ¶
func (o *AdminBulkRemoveItemsParams) WithInventoryID(inventoryID string) *AdminBulkRemoveItemsParams
WithInventoryID adds the inventoryID to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithNamespace ¶
func (o *AdminBulkRemoveItemsParams) WithNamespace(namespace string) *AdminBulkRemoveItemsParams
WithNamespace adds the namespace to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithTimeout ¶
func (o *AdminBulkRemoveItemsParams) WithTimeout(timeout time.Duration) *AdminBulkRemoveItemsParams
WithTimeout adds the timeout to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WithUserID ¶
func (o *AdminBulkRemoveItemsParams) WithUserID(userID string) *AdminBulkRemoveItemsParams
WithUserID adds the userID to the admin bulk remove items params
func (*AdminBulkRemoveItemsParams) WriteToRequest ¶
func (o *AdminBulkRemoveItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminBulkRemoveItemsReader ¶
type AdminBulkRemoveItemsReader struct {
// contains filtered or unexported fields
}
AdminBulkRemoveItemsReader is a Reader for the AdminBulkRemoveItems structure.
func (*AdminBulkRemoveItemsReader) ReadResponse ¶
func (o *AdminBulkRemoveItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminBulkRemoveItemsResponse ¶
type AdminBulkRemoveItemsResponse struct { inventoryclientmodels.ApiResponse Data []*inventoryclientmodels.ApimodelsUpdateItemResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminBulkRemoveItemsResponse) Unpack ¶
func (m *AdminBulkRemoveItemsResponse) Unpack() ([]*inventoryclientmodels.ApimodelsUpdateItemResp, *inventoryclientmodels.ApiError)
type AdminBulkSaveItemBadRequest ¶
type AdminBulkSaveItemBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemBadRequest handles this case with default header values.
Bad Request
func NewAdminBulkSaveItemBadRequest ¶
func NewAdminBulkSaveItemBadRequest() *AdminBulkSaveItemBadRequest
NewAdminBulkSaveItemBadRequest creates a AdminBulkSaveItemBadRequest with default headers values
func (*AdminBulkSaveItemBadRequest) Error ¶
func (o *AdminBulkSaveItemBadRequest) Error() string
func (*AdminBulkSaveItemBadRequest) GetPayload ¶
func (o *AdminBulkSaveItemBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemBadRequest) ToJSONString ¶
func (o *AdminBulkSaveItemBadRequest) ToJSONString() string
type AdminBulkSaveItemForbidden ¶
type AdminBulkSaveItemForbidden struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemForbidden handles this case with default header values.
Forbidden
func NewAdminBulkSaveItemForbidden ¶
func NewAdminBulkSaveItemForbidden() *AdminBulkSaveItemForbidden
NewAdminBulkSaveItemForbidden creates a AdminBulkSaveItemForbidden with default headers values
func (*AdminBulkSaveItemForbidden) Error ¶
func (o *AdminBulkSaveItemForbidden) Error() string
func (*AdminBulkSaveItemForbidden) GetPayload ¶
func (o *AdminBulkSaveItemForbidden) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemForbidden) ToJSONString ¶
func (o *AdminBulkSaveItemForbidden) ToJSONString() string
type AdminBulkSaveItemInternalServerError ¶
type AdminBulkSaveItemInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminBulkSaveItemInternalServerError ¶
func NewAdminBulkSaveItemInternalServerError() *AdminBulkSaveItemInternalServerError
NewAdminBulkSaveItemInternalServerError creates a AdminBulkSaveItemInternalServerError with default headers values
func (*AdminBulkSaveItemInternalServerError) Error ¶
func (o *AdminBulkSaveItemInternalServerError) Error() string
func (*AdminBulkSaveItemInternalServerError) GetPayload ¶
func (o *AdminBulkSaveItemInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemInternalServerError) ToJSONString ¶
func (o *AdminBulkSaveItemInternalServerError) ToJSONString() string
type AdminBulkSaveItemNotFound ¶
type AdminBulkSaveItemNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemNotFound handles this case with default header values.
Not Found
func NewAdminBulkSaveItemNotFound ¶
func NewAdminBulkSaveItemNotFound() *AdminBulkSaveItemNotFound
NewAdminBulkSaveItemNotFound creates a AdminBulkSaveItemNotFound with default headers values
func (*AdminBulkSaveItemNotFound) Error ¶
func (o *AdminBulkSaveItemNotFound) Error() string
func (*AdminBulkSaveItemNotFound) GetPayload ¶
func (o *AdminBulkSaveItemNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemNotFound) ToJSONString ¶
func (o *AdminBulkSaveItemNotFound) ToJSONString() string
type AdminBulkSaveItemOK ¶
type AdminBulkSaveItemOK struct {
Payload []*inventoryclientmodels.ApimodelsBulkSaveItemResp
}
AdminBulkSaveItemOK handles this case with default header values.
OK
func NewAdminBulkSaveItemOK ¶
func NewAdminBulkSaveItemOK() *AdminBulkSaveItemOK
NewAdminBulkSaveItemOK creates a AdminBulkSaveItemOK with default headers values
func (*AdminBulkSaveItemOK) Error ¶
func (o *AdminBulkSaveItemOK) Error() string
func (*AdminBulkSaveItemOK) GetPayload ¶
func (o *AdminBulkSaveItemOK) GetPayload() []*inventoryclientmodels.ApimodelsBulkSaveItemResp
func (*AdminBulkSaveItemOK) ToJSONString ¶
func (o *AdminBulkSaveItemOK) ToJSONString() string
type AdminBulkSaveItemParams ¶
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 ¶
func NewAdminBulkSaveItemParams() *AdminBulkSaveItemParams
NewAdminBulkSaveItemParams creates a new AdminBulkSaveItemParams object with the default values initialized.
func NewAdminBulkSaveItemParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *AdminBulkSaveItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin bulk save item params
func (*AdminBulkSaveItemParams) SetBody ¶
func (o *AdminBulkSaveItemParams) SetBody(body []*inventoryclientmodels.ApimodelsSaveItemReq)
SetBody adds the body to the admin bulk save item params
func (*AdminBulkSaveItemParams) SetContext ¶
func (o *AdminBulkSaveItemParams) SetContext(ctx context.Context)
SetContext adds the context to the admin bulk save item params
func (*AdminBulkSaveItemParams) SetFlightId ¶
func (o *AdminBulkSaveItemParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminBulkSaveItemParams) SetHTTPClient ¶
func (o *AdminBulkSaveItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin bulk save item params
func (*AdminBulkSaveItemParams) SetHTTPClientTransport ¶
func (o *AdminBulkSaveItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin bulk save item params
func (*AdminBulkSaveItemParams) SetNamespace ¶
func (o *AdminBulkSaveItemParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin bulk save item params
func (*AdminBulkSaveItemParams) SetTimeout ¶
func (o *AdminBulkSaveItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin bulk save item params
func (*AdminBulkSaveItemParams) SetUserID ¶
func (o *AdminBulkSaveItemParams) SetUserID(userID string)
SetUserID adds the userId to the admin bulk save item params
func (*AdminBulkSaveItemParams) WithBody ¶
func (o *AdminBulkSaveItemParams) WithBody(body []*inventoryclientmodels.ApimodelsSaveItemReq) *AdminBulkSaveItemParams
WithBody adds the body to the admin bulk save item params
func (*AdminBulkSaveItemParams) WithContext ¶
func (o *AdminBulkSaveItemParams) WithContext(ctx context.Context) *AdminBulkSaveItemParams
WithContext adds the context to the admin bulk save item params
func (*AdminBulkSaveItemParams) WithHTTPClient ¶
func (o *AdminBulkSaveItemParams) WithHTTPClient(client *http.Client) *AdminBulkSaveItemParams
WithHTTPClient adds the HTTPClient to the admin bulk save item params
func (*AdminBulkSaveItemParams) WithNamespace ¶
func (o *AdminBulkSaveItemParams) WithNamespace(namespace string) *AdminBulkSaveItemParams
WithNamespace adds the namespace to the admin bulk save item params
func (*AdminBulkSaveItemParams) WithTimeout ¶
func (o *AdminBulkSaveItemParams) WithTimeout(timeout time.Duration) *AdminBulkSaveItemParams
WithTimeout adds the timeout to the admin bulk save item params
func (*AdminBulkSaveItemParams) WithUserID ¶
func (o *AdminBulkSaveItemParams) WithUserID(userID string) *AdminBulkSaveItemParams
WithUserID adds the userID to the admin bulk save item params
func (*AdminBulkSaveItemParams) WriteToRequest ¶
func (o *AdminBulkSaveItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminBulkSaveItemReader ¶
type AdminBulkSaveItemReader struct {
// contains filtered or unexported fields
}
AdminBulkSaveItemReader is a Reader for the AdminBulkSaveItem structure.
func (*AdminBulkSaveItemReader) ReadResponse ¶
func (o *AdminBulkSaveItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminBulkSaveItemResponse ¶
type AdminBulkSaveItemResponse struct { inventoryclientmodels.ApiResponse Data []*inventoryclientmodels.ApimodelsBulkSaveItemResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error401 *inventoryclientmodels.ApimodelsErrorResponse Error403 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error422 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminBulkSaveItemResponse) Unpack ¶
func (m *AdminBulkSaveItemResponse) Unpack() ([]*inventoryclientmodels.ApimodelsBulkSaveItemResp, *inventoryclientmodels.ApiError)
type AdminBulkSaveItemToInventoryBadRequest ¶
type AdminBulkSaveItemToInventoryBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemToInventoryBadRequest handles this case with default header values.
Bad Request
func NewAdminBulkSaveItemToInventoryBadRequest ¶
func NewAdminBulkSaveItemToInventoryBadRequest() *AdminBulkSaveItemToInventoryBadRequest
NewAdminBulkSaveItemToInventoryBadRequest creates a AdminBulkSaveItemToInventoryBadRequest with default headers values
func (*AdminBulkSaveItemToInventoryBadRequest) Error ¶
func (o *AdminBulkSaveItemToInventoryBadRequest) Error() string
func (*AdminBulkSaveItemToInventoryBadRequest) GetPayload ¶
func (o *AdminBulkSaveItemToInventoryBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemToInventoryBadRequest) ToJSONString ¶
func (o *AdminBulkSaveItemToInventoryBadRequest) ToJSONString() string
type AdminBulkSaveItemToInventoryForbidden ¶
type AdminBulkSaveItemToInventoryForbidden struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemToInventoryForbidden handles this case with default header values.
Forbidden
func NewAdminBulkSaveItemToInventoryForbidden ¶
func NewAdminBulkSaveItemToInventoryForbidden() *AdminBulkSaveItemToInventoryForbidden
NewAdminBulkSaveItemToInventoryForbidden creates a AdminBulkSaveItemToInventoryForbidden with default headers values
func (*AdminBulkSaveItemToInventoryForbidden) Error ¶
func (o *AdminBulkSaveItemToInventoryForbidden) Error() string
func (*AdminBulkSaveItemToInventoryForbidden) GetPayload ¶
func (o *AdminBulkSaveItemToInventoryForbidden) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemToInventoryForbidden) ToJSONString ¶
func (o *AdminBulkSaveItemToInventoryForbidden) ToJSONString() string
type AdminBulkSaveItemToInventoryInternalServerError ¶
type AdminBulkSaveItemToInventoryInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemToInventoryInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminBulkSaveItemToInventoryInternalServerError ¶
func NewAdminBulkSaveItemToInventoryInternalServerError() *AdminBulkSaveItemToInventoryInternalServerError
NewAdminBulkSaveItemToInventoryInternalServerError creates a AdminBulkSaveItemToInventoryInternalServerError with default headers values
func (*AdminBulkSaveItemToInventoryInternalServerError) Error ¶
func (o *AdminBulkSaveItemToInventoryInternalServerError) Error() string
func (*AdminBulkSaveItemToInventoryInternalServerError) GetPayload ¶
func (o *AdminBulkSaveItemToInventoryInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemToInventoryInternalServerError) ToJSONString ¶
func (o *AdminBulkSaveItemToInventoryInternalServerError) ToJSONString() string
type AdminBulkSaveItemToInventoryNotFound ¶
type AdminBulkSaveItemToInventoryNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemToInventoryNotFound handles this case with default header values.
Not Found
func NewAdminBulkSaveItemToInventoryNotFound ¶
func NewAdminBulkSaveItemToInventoryNotFound() *AdminBulkSaveItemToInventoryNotFound
NewAdminBulkSaveItemToInventoryNotFound creates a AdminBulkSaveItemToInventoryNotFound with default headers values
func (*AdminBulkSaveItemToInventoryNotFound) Error ¶
func (o *AdminBulkSaveItemToInventoryNotFound) Error() string
func (*AdminBulkSaveItemToInventoryNotFound) GetPayload ¶
func (o *AdminBulkSaveItemToInventoryNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemToInventoryNotFound) ToJSONString ¶
func (o *AdminBulkSaveItemToInventoryNotFound) ToJSONString() string
type AdminBulkSaveItemToInventoryOK ¶
type AdminBulkSaveItemToInventoryOK struct {
Payload []*inventoryclientmodels.ApimodelsBulkSaveItemResp
}
AdminBulkSaveItemToInventoryOK handles this case with default header values.
OK
func NewAdminBulkSaveItemToInventoryOK ¶
func NewAdminBulkSaveItemToInventoryOK() *AdminBulkSaveItemToInventoryOK
NewAdminBulkSaveItemToInventoryOK creates a AdminBulkSaveItemToInventoryOK with default headers values
func (*AdminBulkSaveItemToInventoryOK) Error ¶
func (o *AdminBulkSaveItemToInventoryOK) Error() string
func (*AdminBulkSaveItemToInventoryOK) GetPayload ¶
func (o *AdminBulkSaveItemToInventoryOK) GetPayload() []*inventoryclientmodels.ApimodelsBulkSaveItemResp
func (*AdminBulkSaveItemToInventoryOK) ToJSONString ¶
func (o *AdminBulkSaveItemToInventoryOK) ToJSONString() string
type AdminBulkSaveItemToInventoryParams ¶
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 ¶
func NewAdminBulkSaveItemToInventoryParams() *AdminBulkSaveItemToInventoryParams
NewAdminBulkSaveItemToInventoryParams creates a new AdminBulkSaveItemToInventoryParams object with the default values initialized.
func NewAdminBulkSaveItemToInventoryParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *AdminBulkSaveItemToInventoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) SetBody ¶
func (o *AdminBulkSaveItemToInventoryParams) SetBody(body []*inventoryclientmodels.ApimodelsSaveItemToInventoryReq)
SetBody adds the body to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) SetContext ¶
func (o *AdminBulkSaveItemToInventoryParams) SetContext(ctx context.Context)
SetContext adds the context to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) SetFlightId ¶
func (o *AdminBulkSaveItemToInventoryParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminBulkSaveItemToInventoryParams) SetHTTPClient ¶
func (o *AdminBulkSaveItemToInventoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) SetHTTPClientTransport ¶
func (o *AdminBulkSaveItemToInventoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) SetInventoryID ¶
func (o *AdminBulkSaveItemToInventoryParams) SetInventoryID(inventoryID string)
SetInventoryID adds the inventoryId to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) SetNamespace ¶
func (o *AdminBulkSaveItemToInventoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) SetTimeout ¶
func (o *AdminBulkSaveItemToInventoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) SetUserID ¶
func (o *AdminBulkSaveItemToInventoryParams) SetUserID(userID string)
SetUserID adds the userId to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) WithBody ¶
func (o *AdminBulkSaveItemToInventoryParams) WithBody(body []*inventoryclientmodels.ApimodelsSaveItemToInventoryReq) *AdminBulkSaveItemToInventoryParams
WithBody adds the body to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) WithContext ¶
func (o *AdminBulkSaveItemToInventoryParams) WithContext(ctx context.Context) *AdminBulkSaveItemToInventoryParams
WithContext adds the context to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) WithHTTPClient ¶
func (o *AdminBulkSaveItemToInventoryParams) WithHTTPClient(client *http.Client) *AdminBulkSaveItemToInventoryParams
WithHTTPClient adds the HTTPClient to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) WithInventoryID ¶
func (o *AdminBulkSaveItemToInventoryParams) WithInventoryID(inventoryID string) *AdminBulkSaveItemToInventoryParams
WithInventoryID adds the inventoryID to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) WithNamespace ¶
func (o *AdminBulkSaveItemToInventoryParams) WithNamespace(namespace string) *AdminBulkSaveItemToInventoryParams
WithNamespace adds the namespace to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) WithTimeout ¶
func (o *AdminBulkSaveItemToInventoryParams) WithTimeout(timeout time.Duration) *AdminBulkSaveItemToInventoryParams
WithTimeout adds the timeout to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) WithUserID ¶
func (o *AdminBulkSaveItemToInventoryParams) WithUserID(userID string) *AdminBulkSaveItemToInventoryParams
WithUserID adds the userID to the admin bulk save item to inventory params
func (*AdminBulkSaveItemToInventoryParams) WriteToRequest ¶
func (o *AdminBulkSaveItemToInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminBulkSaveItemToInventoryReader ¶
type AdminBulkSaveItemToInventoryReader struct {
// contains filtered or unexported fields
}
AdminBulkSaveItemToInventoryReader is a Reader for the AdminBulkSaveItemToInventory structure.
func (*AdminBulkSaveItemToInventoryReader) ReadResponse ¶
func (o *AdminBulkSaveItemToInventoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminBulkSaveItemToInventoryResponse ¶
type AdminBulkSaveItemToInventoryResponse struct { inventoryclientmodels.ApiResponse Data []*inventoryclientmodels.ApimodelsBulkSaveItemResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error401 *inventoryclientmodels.ApimodelsErrorResponse Error403 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error422 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminBulkSaveItemToInventoryResponse) Unpack ¶
func (m *AdminBulkSaveItemToInventoryResponse) Unpack() ([]*inventoryclientmodels.ApimodelsBulkSaveItemResp, *inventoryclientmodels.ApiError)
type AdminBulkSaveItemToInventoryUnauthorized ¶
type AdminBulkSaveItemToInventoryUnauthorized struct {
}AdminBulkSaveItemToInventoryUnauthorized handles this case with default header values.
Unauthorized
func NewAdminBulkSaveItemToInventoryUnauthorized ¶
func NewAdminBulkSaveItemToInventoryUnauthorized() *AdminBulkSaveItemToInventoryUnauthorized
NewAdminBulkSaveItemToInventoryUnauthorized creates a AdminBulkSaveItemToInventoryUnauthorized with default headers values
func (*AdminBulkSaveItemToInventoryUnauthorized) Error ¶
func (o *AdminBulkSaveItemToInventoryUnauthorized) Error() string
func (*AdminBulkSaveItemToInventoryUnauthorized) GetPayload ¶
func (o *AdminBulkSaveItemToInventoryUnauthorized) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemToInventoryUnauthorized) ToJSONString ¶
func (o *AdminBulkSaveItemToInventoryUnauthorized) ToJSONString() string
type AdminBulkSaveItemToInventoryUnprocessableEntity ¶
type AdminBulkSaveItemToInventoryUnprocessableEntity struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemToInventoryUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewAdminBulkSaveItemToInventoryUnprocessableEntity ¶
func NewAdminBulkSaveItemToInventoryUnprocessableEntity() *AdminBulkSaveItemToInventoryUnprocessableEntity
NewAdminBulkSaveItemToInventoryUnprocessableEntity creates a AdminBulkSaveItemToInventoryUnprocessableEntity with default headers values
func (*AdminBulkSaveItemToInventoryUnprocessableEntity) Error ¶
func (o *AdminBulkSaveItemToInventoryUnprocessableEntity) Error() string
func (*AdminBulkSaveItemToInventoryUnprocessableEntity) GetPayload ¶
func (o *AdminBulkSaveItemToInventoryUnprocessableEntity) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemToInventoryUnprocessableEntity) ToJSONString ¶
func (o *AdminBulkSaveItemToInventoryUnprocessableEntity) ToJSONString() string
type AdminBulkSaveItemUnauthorized ¶
type AdminBulkSaveItemUnauthorized struct {
}AdminBulkSaveItemUnauthorized handles this case with default header values.
Unauthorized
func NewAdminBulkSaveItemUnauthorized ¶
func NewAdminBulkSaveItemUnauthorized() *AdminBulkSaveItemUnauthorized
NewAdminBulkSaveItemUnauthorized creates a AdminBulkSaveItemUnauthorized with default headers values
func (*AdminBulkSaveItemUnauthorized) Error ¶
func (o *AdminBulkSaveItemUnauthorized) Error() string
func (*AdminBulkSaveItemUnauthorized) GetPayload ¶
func (o *AdminBulkSaveItemUnauthorized) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemUnauthorized) ToJSONString ¶
func (o *AdminBulkSaveItemUnauthorized) ToJSONString() string
type AdminBulkSaveItemUnprocessableEntity ¶
type AdminBulkSaveItemUnprocessableEntity struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkSaveItemUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewAdminBulkSaveItemUnprocessableEntity ¶
func NewAdminBulkSaveItemUnprocessableEntity() *AdminBulkSaveItemUnprocessableEntity
NewAdminBulkSaveItemUnprocessableEntity creates a AdminBulkSaveItemUnprocessableEntity with default headers values
func (*AdminBulkSaveItemUnprocessableEntity) Error ¶
func (o *AdminBulkSaveItemUnprocessableEntity) Error() string
func (*AdminBulkSaveItemUnprocessableEntity) GetPayload ¶
func (o *AdminBulkSaveItemUnprocessableEntity) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkSaveItemUnprocessableEntity) ToJSONString ¶
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 (o *AdminBulkUpdateMyItemsBadRequest) Error() string
func (*AdminBulkUpdateMyItemsBadRequest) GetPayload ¶
func (o *AdminBulkUpdateMyItemsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkUpdateMyItemsBadRequest) ToJSONString ¶
func (o *AdminBulkUpdateMyItemsBadRequest) ToJSONString() string
type AdminBulkUpdateMyItemsInternalServerError ¶
type AdminBulkUpdateMyItemsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkUpdateMyItemsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminBulkUpdateMyItemsInternalServerError ¶
func NewAdminBulkUpdateMyItemsInternalServerError() *AdminBulkUpdateMyItemsInternalServerError
NewAdminBulkUpdateMyItemsInternalServerError creates a AdminBulkUpdateMyItemsInternalServerError with default headers values
func (*AdminBulkUpdateMyItemsInternalServerError) Error ¶
func (o *AdminBulkUpdateMyItemsInternalServerError) Error() string
func (*AdminBulkUpdateMyItemsInternalServerError) GetPayload ¶
func (o *AdminBulkUpdateMyItemsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkUpdateMyItemsInternalServerError) ToJSONString ¶
func (o *AdminBulkUpdateMyItemsInternalServerError) ToJSONString() string
type AdminBulkUpdateMyItemsNotFound ¶
type AdminBulkUpdateMyItemsNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminBulkUpdateMyItemsNotFound handles this case with default header values.
Not Found
func NewAdminBulkUpdateMyItemsNotFound ¶
func NewAdminBulkUpdateMyItemsNotFound() *AdminBulkUpdateMyItemsNotFound
NewAdminBulkUpdateMyItemsNotFound creates a AdminBulkUpdateMyItemsNotFound with default headers values
func (*AdminBulkUpdateMyItemsNotFound) Error ¶
func (o *AdminBulkUpdateMyItemsNotFound) Error() string
func (*AdminBulkUpdateMyItemsNotFound) GetPayload ¶
func (o *AdminBulkUpdateMyItemsNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminBulkUpdateMyItemsNotFound) ToJSONString ¶
func (o *AdminBulkUpdateMyItemsNotFound) ToJSONString() string
type AdminBulkUpdateMyItemsOK ¶
type AdminBulkUpdateMyItemsOK struct {
Payload []*inventoryclientmodels.ApimodelsUpdateItemResp
}
AdminBulkUpdateMyItemsOK handles this case with default header values.
OK
func NewAdminBulkUpdateMyItemsOK ¶
func NewAdminBulkUpdateMyItemsOK() *AdminBulkUpdateMyItemsOK
NewAdminBulkUpdateMyItemsOK creates a AdminBulkUpdateMyItemsOK with default headers values
func (*AdminBulkUpdateMyItemsOK) Error ¶
func (o *AdminBulkUpdateMyItemsOK) Error() string
func (*AdminBulkUpdateMyItemsOK) GetPayload ¶
func (o *AdminBulkUpdateMyItemsOK) GetPayload() []*inventoryclientmodels.ApimodelsUpdateItemResp
func (*AdminBulkUpdateMyItemsOK) ToJSONString ¶
func (o *AdminBulkUpdateMyItemsOK) ToJSONString() string
type AdminBulkUpdateMyItemsParams ¶
type AdminBulkUpdateMyItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*UserID userID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶
func (o *AdminBulkUpdateMyItemsParams) SetBody(body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq)
SetBody adds the body to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetContext ¶
func (o *AdminBulkUpdateMyItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) SetFlightId ¶
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 ¶
func (o *AdminBulkUpdateMyItemsParams) WithBody(body []*inventoryclientmodels.ApimodelsAdminUpdateItemReq) *AdminBulkUpdateMyItemsParams
WithBody adds the body to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithContext ¶
func (o *AdminBulkUpdateMyItemsParams) WithContext(ctx context.Context) *AdminBulkUpdateMyItemsParams
WithContext adds the context to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithHTTPClient ¶
func (o *AdminBulkUpdateMyItemsParams) WithHTTPClient(client *http.Client) *AdminBulkUpdateMyItemsParams
WithHTTPClient adds the HTTPClient to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithInventoryID ¶
func (o *AdminBulkUpdateMyItemsParams) WithInventoryID(inventoryID string) *AdminBulkUpdateMyItemsParams
WithInventoryID adds the inventoryID to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithNamespace ¶
func (o *AdminBulkUpdateMyItemsParams) WithNamespace(namespace string) *AdminBulkUpdateMyItemsParams
WithNamespace adds the namespace to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithTimeout ¶
func (o *AdminBulkUpdateMyItemsParams) WithTimeout(timeout time.Duration) *AdminBulkUpdateMyItemsParams
WithTimeout adds the timeout to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WithUserID ¶
func (o *AdminBulkUpdateMyItemsParams) WithUserID(userID string) *AdminBulkUpdateMyItemsParams
WithUserID adds the userID to the admin bulk update my items params
func (*AdminBulkUpdateMyItemsParams) WriteToRequest ¶
func (o *AdminBulkUpdateMyItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminBulkUpdateMyItemsReader ¶
type AdminBulkUpdateMyItemsReader struct {
// contains filtered or unexported fields
}
AdminBulkUpdateMyItemsReader is a Reader for the AdminBulkUpdateMyItems structure.
func (*AdminBulkUpdateMyItemsReader) ReadResponse ¶
func (o *AdminBulkUpdateMyItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminBulkUpdateMyItemsResponse ¶
type AdminBulkUpdateMyItemsResponse struct { inventoryclientmodels.ApiResponse Data []*inventoryclientmodels.ApimodelsUpdateItemResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminBulkUpdateMyItemsResponse) Unpack ¶
func (m *AdminBulkUpdateMyItemsResponse) Unpack() ([]*inventoryclientmodels.ApimodelsUpdateItemResp, *inventoryclientmodels.ApiError)
type AdminConsumeUserItemBadRequest ¶
type AdminConsumeUserItemBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminConsumeUserItemBadRequest handles this case with default header values.
Bad Request
func NewAdminConsumeUserItemBadRequest ¶
func NewAdminConsumeUserItemBadRequest() *AdminConsumeUserItemBadRequest
NewAdminConsumeUserItemBadRequest creates a AdminConsumeUserItemBadRequest with default headers values
func (*AdminConsumeUserItemBadRequest) Error ¶
func (o *AdminConsumeUserItemBadRequest) Error() string
func (*AdminConsumeUserItemBadRequest) GetPayload ¶
func (o *AdminConsumeUserItemBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminConsumeUserItemBadRequest) ToJSONString ¶
func (o *AdminConsumeUserItemBadRequest) ToJSONString() string
type AdminConsumeUserItemInternalServerError ¶
type AdminConsumeUserItemInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminConsumeUserItemInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminConsumeUserItemInternalServerError ¶
func NewAdminConsumeUserItemInternalServerError() *AdminConsumeUserItemInternalServerError
NewAdminConsumeUserItemInternalServerError creates a AdminConsumeUserItemInternalServerError with default headers values
func (*AdminConsumeUserItemInternalServerError) Error ¶
func (o *AdminConsumeUserItemInternalServerError) Error() string
func (*AdminConsumeUserItemInternalServerError) GetPayload ¶
func (o *AdminConsumeUserItemInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminConsumeUserItemInternalServerError) ToJSONString ¶
func (o *AdminConsumeUserItemInternalServerError) ToJSONString() string
type AdminConsumeUserItemNotFound ¶
type AdminConsumeUserItemNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminConsumeUserItemNotFound handles this case with default header values.
Not Found
func NewAdminConsumeUserItemNotFound ¶
func NewAdminConsumeUserItemNotFound() *AdminConsumeUserItemNotFound
NewAdminConsumeUserItemNotFound creates a AdminConsumeUserItemNotFound with default headers values
func (*AdminConsumeUserItemNotFound) Error ¶
func (o *AdminConsumeUserItemNotFound) Error() string
func (*AdminConsumeUserItemNotFound) GetPayload ¶
func (o *AdminConsumeUserItemNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminConsumeUserItemNotFound) ToJSONString ¶
func (o *AdminConsumeUserItemNotFound) ToJSONString() string
type AdminConsumeUserItemOK ¶
type AdminConsumeUserItemOK struct {
Payload *inventoryclientmodels.ApimodelsItemResp
}
AdminConsumeUserItemOK handles this case with default header values.
OK
func NewAdminConsumeUserItemOK ¶
func NewAdminConsumeUserItemOK() *AdminConsumeUserItemOK
NewAdminConsumeUserItemOK creates a AdminConsumeUserItemOK with default headers values
func (*AdminConsumeUserItemOK) Error ¶
func (o *AdminConsumeUserItemOK) Error() string
func (*AdminConsumeUserItemOK) GetPayload ¶
func (o *AdminConsumeUserItemOK) GetPayload() *inventoryclientmodels.ApimodelsItemResp
func (*AdminConsumeUserItemOK) ToJSONString ¶
func (o *AdminConsumeUserItemOK) ToJSONString() string
type AdminConsumeUserItemParams ¶
type AdminConsumeUserItemParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsConsumeItemReq /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*UserID userID */ UserID string /*DateRangeValidation default is false */ DateRangeValidation *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 ¶
func (o *AdminConsumeUserItemParams) SetBody(body *inventoryclientmodels.ApimodelsConsumeItemReq)
SetBody adds the body to the admin consume user item params
func (*AdminConsumeUserItemParams) SetContext ¶
func (o *AdminConsumeUserItemParams) SetContext(ctx context.Context)
SetContext adds the context to the admin consume user item params
func (*AdminConsumeUserItemParams) SetDateRangeValidation ¶
func (o *AdminConsumeUserItemParams) SetDateRangeValidation(dateRangeValidation *string)
SetDateRangeValidation adds the dateRangeValidation to the admin consume user item params
func (*AdminConsumeUserItemParams) SetFlightId ¶
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 ¶
func (o *AdminConsumeUserItemParams) WithBody(body *inventoryclientmodels.ApimodelsConsumeItemReq) *AdminConsumeUserItemParams
WithBody adds the body to the admin consume user item params
func (*AdminConsumeUserItemParams) WithContext ¶
func (o *AdminConsumeUserItemParams) WithContext(ctx context.Context) *AdminConsumeUserItemParams
WithContext adds the context to the admin consume user item params
func (*AdminConsumeUserItemParams) WithDateRangeValidation ¶
func (o *AdminConsumeUserItemParams) WithDateRangeValidation(dateRangeValidation *string) *AdminConsumeUserItemParams
WithDateRangeValidation adds the dateRangeValidation to the admin consume user item params
func (*AdminConsumeUserItemParams) WithHTTPClient ¶
func (o *AdminConsumeUserItemParams) WithHTTPClient(client *http.Client) *AdminConsumeUserItemParams
WithHTTPClient adds the HTTPClient to the admin consume user item params
func (*AdminConsumeUserItemParams) WithInventoryID ¶
func (o *AdminConsumeUserItemParams) WithInventoryID(inventoryID string) *AdminConsumeUserItemParams
WithInventoryID adds the inventoryID to the admin consume user item params
func (*AdminConsumeUserItemParams) WithNamespace ¶
func (o *AdminConsumeUserItemParams) WithNamespace(namespace string) *AdminConsumeUserItemParams
WithNamespace adds the namespace to the admin consume user item params
func (*AdminConsumeUserItemParams) WithTimeout ¶
func (o *AdminConsumeUserItemParams) WithTimeout(timeout time.Duration) *AdminConsumeUserItemParams
WithTimeout adds the timeout to the admin consume user item params
func (*AdminConsumeUserItemParams) WithUserID ¶
func (o *AdminConsumeUserItemParams) WithUserID(userID string) *AdminConsumeUserItemParams
WithUserID adds the userID to the admin consume user item params
func (*AdminConsumeUserItemParams) WriteToRequest ¶
func (o *AdminConsumeUserItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminConsumeUserItemReader ¶
type AdminConsumeUserItemReader struct {
// contains filtered or unexported fields
}
AdminConsumeUserItemReader is a Reader for the AdminConsumeUserItem structure.
func (*AdminConsumeUserItemReader) ReadResponse ¶
func (o *AdminConsumeUserItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminConsumeUserItemResponse ¶
type AdminConsumeUserItemResponse struct { inventoryclientmodels.ApiResponse Data *inventoryclientmodels.ApimodelsItemResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminConsumeUserItemResponse) Unpack ¶
func (m *AdminConsumeUserItemResponse) Unpack() (*inventoryclientmodels.ApimodelsItemResp, *inventoryclientmodels.ApiError)
type AdminGetInventoryItemBadRequest ¶
type AdminGetInventoryItemBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryItemBadRequest handles this case with default header values.
Bad Request
func NewAdminGetInventoryItemBadRequest ¶
func NewAdminGetInventoryItemBadRequest() *AdminGetInventoryItemBadRequest
NewAdminGetInventoryItemBadRequest creates a AdminGetInventoryItemBadRequest with default headers values
func (*AdminGetInventoryItemBadRequest) Error ¶
func (o *AdminGetInventoryItemBadRequest) Error() string
func (*AdminGetInventoryItemBadRequest) GetPayload ¶
func (o *AdminGetInventoryItemBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryItemBadRequest) ToJSONString ¶
func (o *AdminGetInventoryItemBadRequest) ToJSONString() string
type AdminGetInventoryItemInternalServerError ¶
type AdminGetInventoryItemInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryItemInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetInventoryItemInternalServerError ¶
func NewAdminGetInventoryItemInternalServerError() *AdminGetInventoryItemInternalServerError
NewAdminGetInventoryItemInternalServerError creates a AdminGetInventoryItemInternalServerError with default headers values
func (*AdminGetInventoryItemInternalServerError) Error ¶
func (o *AdminGetInventoryItemInternalServerError) Error() string
func (*AdminGetInventoryItemInternalServerError) GetPayload ¶
func (o *AdminGetInventoryItemInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryItemInternalServerError) ToJSONString ¶
func (o *AdminGetInventoryItemInternalServerError) ToJSONString() string
type AdminGetInventoryItemNotFound ¶
type AdminGetInventoryItemNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminGetInventoryItemNotFound handles this case with default header values.
Not Found
func NewAdminGetInventoryItemNotFound ¶
func NewAdminGetInventoryItemNotFound() *AdminGetInventoryItemNotFound
NewAdminGetInventoryItemNotFound creates a AdminGetInventoryItemNotFound with default headers values
func (*AdminGetInventoryItemNotFound) Error ¶
func (o *AdminGetInventoryItemNotFound) Error() string
func (*AdminGetInventoryItemNotFound) GetPayload ¶
func (o *AdminGetInventoryItemNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminGetInventoryItemNotFound) ToJSONString ¶
func (o *AdminGetInventoryItemNotFound) ToJSONString() string
type AdminGetInventoryItemOK ¶
type AdminGetInventoryItemOK struct {
Payload *inventoryclientmodels.ApimodelsItemResp
}
AdminGetInventoryItemOK handles this case with default header values.
OK
func NewAdminGetInventoryItemOK ¶
func NewAdminGetInventoryItemOK() *AdminGetInventoryItemOK
NewAdminGetInventoryItemOK creates a AdminGetInventoryItemOK with default headers values
func (*AdminGetInventoryItemOK) Error ¶
func (o *AdminGetInventoryItemOK) Error() string
func (*AdminGetInventoryItemOK) GetPayload ¶
func (o *AdminGetInventoryItemOK) GetPayload() *inventoryclientmodels.ApimodelsItemResp
func (*AdminGetInventoryItemOK) ToJSONString ¶
func (o *AdminGetInventoryItemOK) ToJSONString() string
type AdminGetInventoryItemParams ¶
type AdminGetInventoryItemParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*SlotID slotID */ SlotID string /*SourceItemID sourceItemID */ SourceItemID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶
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 ¶
func (o *AdminGetInventoryItemParams) SetSlotID(slotID string)
SetSlotID adds the slotId to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetSourceItemID ¶
func (o *AdminGetInventoryItemParams) SetSourceItemID(sourceItemID string)
SetSourceItemID adds the sourceItemId to the admin get inventory item params
func (*AdminGetInventoryItemParams) SetTimeout ¶
func (o *AdminGetInventoryItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithContext ¶
func (o *AdminGetInventoryItemParams) WithContext(ctx context.Context) *AdminGetInventoryItemParams
WithContext adds the context to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithHTTPClient ¶
func (o *AdminGetInventoryItemParams) WithHTTPClient(client *http.Client) *AdminGetInventoryItemParams
WithHTTPClient adds the HTTPClient to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithInventoryID ¶
func (o *AdminGetInventoryItemParams) WithInventoryID(inventoryID string) *AdminGetInventoryItemParams
WithInventoryID adds the inventoryID to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithNamespace ¶
func (o *AdminGetInventoryItemParams) WithNamespace(namespace string) *AdminGetInventoryItemParams
WithNamespace adds the namespace to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithSlotID ¶
func (o *AdminGetInventoryItemParams) WithSlotID(slotID string) *AdminGetInventoryItemParams
WithSlotID adds the slotID to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithSourceItemID ¶
func (o *AdminGetInventoryItemParams) WithSourceItemID(sourceItemID string) *AdminGetInventoryItemParams
WithSourceItemID adds the sourceItemID to the admin get inventory item params
func (*AdminGetInventoryItemParams) WithTimeout ¶
func (o *AdminGetInventoryItemParams) WithTimeout(timeout time.Duration) *AdminGetInventoryItemParams
WithTimeout adds the timeout to the admin get inventory item params
func (*AdminGetInventoryItemParams) WriteToRequest ¶
func (o *AdminGetInventoryItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetInventoryItemReader ¶
type AdminGetInventoryItemReader struct {
// contains filtered or unexported fields
}
AdminGetInventoryItemReader is a Reader for the AdminGetInventoryItem structure.
func (*AdminGetInventoryItemReader) ReadResponse ¶
func (o *AdminGetInventoryItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetInventoryItemResponse ¶
type AdminGetInventoryItemResponse struct { inventoryclientmodels.ApiResponse Data *inventoryclientmodels.ApimodelsItemResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminGetInventoryItemResponse) Unpack ¶
func (m *AdminGetInventoryItemResponse) Unpack() (*inventoryclientmodels.ApimodelsItemResp, *inventoryclientmodels.ApiError)
type AdminListItemsBadRequest ¶
type AdminListItemsBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListItemsBadRequest handles this case with default header values.
Bad Request
func NewAdminListItemsBadRequest ¶
func NewAdminListItemsBadRequest() *AdminListItemsBadRequest
NewAdminListItemsBadRequest creates a AdminListItemsBadRequest with default headers values
func (*AdminListItemsBadRequest) Error ¶
func (o *AdminListItemsBadRequest) Error() string
func (*AdminListItemsBadRequest) GetPayload ¶
func (o *AdminListItemsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListItemsBadRequest) ToJSONString ¶
func (o *AdminListItemsBadRequest) ToJSONString() string
type AdminListItemsInternalServerError ¶
type AdminListItemsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListItemsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListItemsInternalServerError ¶
func NewAdminListItemsInternalServerError() *AdminListItemsInternalServerError
NewAdminListItemsInternalServerError creates a AdminListItemsInternalServerError with default headers values
func (*AdminListItemsInternalServerError) Error ¶
func (o *AdminListItemsInternalServerError) Error() string
func (*AdminListItemsInternalServerError) GetPayload ¶
func (o *AdminListItemsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListItemsInternalServerError) ToJSONString ¶
func (o *AdminListItemsInternalServerError) ToJSONString() string
type AdminListItemsOK ¶
type AdminListItemsOK struct {
Payload *inventoryclientmodels.ApimodelsListItemResp
}
AdminListItemsOK handles this case with default header values.
OK
func NewAdminListItemsOK ¶
func NewAdminListItemsOK() *AdminListItemsOK
NewAdminListItemsOK creates a AdminListItemsOK with default headers values
func (*AdminListItemsOK) Error ¶
func (o *AdminListItemsOK) Error() string
func (*AdminListItemsOK) GetPayload ¶
func (o *AdminListItemsOK) GetPayload() *inventoryclientmodels.ApimodelsListItemResp
func (*AdminListItemsOK) ToJSONString ¶
func (o *AdminListItemsOK) ToJSONString() string
type AdminListItemsParams ¶
type AdminListItemsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*InventoryID InventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*Limit default 25 */ Limit *int64 /*Offset*/ Offset *int64 /*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 ¶
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 ¶
func (o *AdminListItemsParams) WithContext(ctx context.Context) *AdminListItemsParams
WithContext adds the context to the admin list items params
func (*AdminListItemsParams) WithHTTPClient ¶
func (o *AdminListItemsParams) WithHTTPClient(client *http.Client) *AdminListItemsParams
WithHTTPClient adds the HTTPClient to the admin list items params
func (*AdminListItemsParams) WithInventoryID ¶
func (o *AdminListItemsParams) WithInventoryID(inventoryID string) *AdminListItemsParams
WithInventoryID adds the inventoryID to the admin list items params
func (*AdminListItemsParams) WithLimit ¶
func (o *AdminListItemsParams) WithLimit(limit *int64) *AdminListItemsParams
WithLimit adds the limit to the admin list items params
func (*AdminListItemsParams) WithNamespace ¶
func (o *AdminListItemsParams) WithNamespace(namespace string) *AdminListItemsParams
WithNamespace adds the namespace to the admin list items params
func (*AdminListItemsParams) WithOffset ¶
func (o *AdminListItemsParams) WithOffset(offset *int64) *AdminListItemsParams
WithOffset adds the offset to the admin list items params
func (*AdminListItemsParams) 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 AdminListItemsResponse ¶
type AdminListItemsResponse struct { inventoryclientmodels.ApiResponse Data *inventoryclientmodels.ApimodelsListItemResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminListItemsResponse) Unpack ¶
func (m *AdminListItemsResponse) Unpack() (*inventoryclientmodels.ApimodelsListItemResp, *inventoryclientmodels.ApiError)
type AdminSaveItemBadRequest ¶
type AdminSaveItemBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSaveItemBadRequest handles this case with default header values.
Bad Request
func NewAdminSaveItemBadRequest ¶
func NewAdminSaveItemBadRequest() *AdminSaveItemBadRequest
NewAdminSaveItemBadRequest creates a AdminSaveItemBadRequest with default headers values
func (*AdminSaveItemBadRequest) Error ¶
func (o *AdminSaveItemBadRequest) Error() string
func (*AdminSaveItemBadRequest) GetPayload ¶
func (o *AdminSaveItemBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemBadRequest) ToJSONString ¶
func (o *AdminSaveItemBadRequest) ToJSONString() string
type AdminSaveItemInternalServerError ¶
type AdminSaveItemInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSaveItemInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminSaveItemInternalServerError ¶
func NewAdminSaveItemInternalServerError() *AdminSaveItemInternalServerError
NewAdminSaveItemInternalServerError creates a AdminSaveItemInternalServerError with default headers values
func (*AdminSaveItemInternalServerError) Error ¶
func (o *AdminSaveItemInternalServerError) Error() string
func (*AdminSaveItemInternalServerError) GetPayload ¶
func (o *AdminSaveItemInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemInternalServerError) ToJSONString ¶
func (o *AdminSaveItemInternalServerError) ToJSONString() string
type AdminSaveItemOK ¶
type AdminSaveItemOK struct {
Payload *inventoryclientmodels.ApimodelsItemResp
}
AdminSaveItemOK handles this case with default header values.
OK
func NewAdminSaveItemOK ¶
func NewAdminSaveItemOK() *AdminSaveItemOK
NewAdminSaveItemOK creates a AdminSaveItemOK with default headers values
func (*AdminSaveItemOK) Error ¶
func (o *AdminSaveItemOK) Error() string
func (*AdminSaveItemOK) GetPayload ¶
func (o *AdminSaveItemOK) GetPayload() *inventoryclientmodels.ApimodelsItemResp
func (*AdminSaveItemOK) ToJSONString ¶
func (o *AdminSaveItemOK) ToJSONString() string
type AdminSaveItemParams ¶
type AdminSaveItemParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsSaveItemReq /*Namespace Namespace */ Namespace string /*UserID UserID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶
func (o *AdminSaveItemParams) SetBody(body *inventoryclientmodels.ApimodelsSaveItemReq)
SetBody adds the body to the admin save item params
func (*AdminSaveItemParams) SetContext ¶
func (o *AdminSaveItemParams) SetContext(ctx context.Context)
SetContext adds the context to the admin save item params
func (*AdminSaveItemParams) SetFlightId ¶
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 ¶
func (o *AdminSaveItemParams) WithBody(body *inventoryclientmodels.ApimodelsSaveItemReq) *AdminSaveItemParams
WithBody adds the body to the admin save item params
func (*AdminSaveItemParams) WithContext ¶
func (o *AdminSaveItemParams) WithContext(ctx context.Context) *AdminSaveItemParams
WithContext adds the context to the admin save item params
func (*AdminSaveItemParams) WithHTTPClient ¶
func (o *AdminSaveItemParams) WithHTTPClient(client *http.Client) *AdminSaveItemParams
WithHTTPClient adds the HTTPClient to the admin save item params
func (*AdminSaveItemParams) WithNamespace ¶
func (o *AdminSaveItemParams) WithNamespace(namespace string) *AdminSaveItemParams
WithNamespace adds the namespace to the admin save item params
func (*AdminSaveItemParams) WithTimeout ¶
func (o *AdminSaveItemParams) WithTimeout(timeout time.Duration) *AdminSaveItemParams
WithTimeout adds the timeout to the admin save item params
func (*AdminSaveItemParams) WithUserID ¶
func (o *AdminSaveItemParams) WithUserID(userID string) *AdminSaveItemParams
WithUserID adds the userID to the admin save item params
func (*AdminSaveItemParams) WriteToRequest ¶
func (o *AdminSaveItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminSaveItemReader ¶
type AdminSaveItemReader struct {
// contains filtered or unexported fields
}
AdminSaveItemReader is a Reader for the AdminSaveItem structure.
func (*AdminSaveItemReader) ReadResponse ¶
func (o *AdminSaveItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminSaveItemResponse ¶
type AdminSaveItemResponse struct { inventoryclientmodels.ApiResponse Data *inventoryclientmodels.ApimodelsItemResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminSaveItemResponse) Unpack ¶
func (m *AdminSaveItemResponse) Unpack() (*inventoryclientmodels.ApimodelsItemResp, *inventoryclientmodels.ApiError)
type AdminSaveItemToInventoryBadRequest ¶
type AdminSaveItemToInventoryBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSaveItemToInventoryBadRequest handles this case with default header values.
Bad Request
func NewAdminSaveItemToInventoryBadRequest ¶
func NewAdminSaveItemToInventoryBadRequest() *AdminSaveItemToInventoryBadRequest
NewAdminSaveItemToInventoryBadRequest creates a AdminSaveItemToInventoryBadRequest with default headers values
func (*AdminSaveItemToInventoryBadRequest) Error ¶
func (o *AdminSaveItemToInventoryBadRequest) Error() string
func (*AdminSaveItemToInventoryBadRequest) GetPayload ¶
func (o *AdminSaveItemToInventoryBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemToInventoryBadRequest) ToJSONString ¶
func (o *AdminSaveItemToInventoryBadRequest) ToJSONString() string
type AdminSaveItemToInventoryForbidden ¶
type AdminSaveItemToInventoryForbidden struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSaveItemToInventoryForbidden handles this case with default header values.
Forbidden
func NewAdminSaveItemToInventoryForbidden ¶
func NewAdminSaveItemToInventoryForbidden() *AdminSaveItemToInventoryForbidden
NewAdminSaveItemToInventoryForbidden creates a AdminSaveItemToInventoryForbidden with default headers values
func (*AdminSaveItemToInventoryForbidden) Error ¶
func (o *AdminSaveItemToInventoryForbidden) Error() string
func (*AdminSaveItemToInventoryForbidden) GetPayload ¶
func (o *AdminSaveItemToInventoryForbidden) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemToInventoryForbidden) ToJSONString ¶
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 (o *AdminSaveItemToInventoryInternalServerError) Error() string
func (*AdminSaveItemToInventoryInternalServerError) GetPayload ¶
func (o *AdminSaveItemToInventoryInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemToInventoryInternalServerError) ToJSONString ¶
func (o *AdminSaveItemToInventoryInternalServerError) ToJSONString() string
type AdminSaveItemToInventoryNotFound ¶
type AdminSaveItemToInventoryNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSaveItemToInventoryNotFound handles this case with default header values.
Not Found
func NewAdminSaveItemToInventoryNotFound ¶
func NewAdminSaveItemToInventoryNotFound() *AdminSaveItemToInventoryNotFound
NewAdminSaveItemToInventoryNotFound creates a AdminSaveItemToInventoryNotFound with default headers values
func (*AdminSaveItemToInventoryNotFound) Error ¶
func (o *AdminSaveItemToInventoryNotFound) Error() string
func (*AdminSaveItemToInventoryNotFound) GetPayload ¶
func (o *AdminSaveItemToInventoryNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemToInventoryNotFound) ToJSONString ¶
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 (o *AdminSaveItemToInventoryOK) Error() string
func (*AdminSaveItemToInventoryOK) GetPayload ¶
func (o *AdminSaveItemToInventoryOK) GetPayload() *inventoryclientmodels.ApimodelsItemResp
func (*AdminSaveItemToInventoryOK) ToJSONString ¶
func (o *AdminSaveItemToInventoryOK) ToJSONString() string
type AdminSaveItemToInventoryParams ¶
type AdminSaveItemToInventoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq /*InventoryID inventoryID */ InventoryID string /*Namespace Namespace */ Namespace string /*UserID UserID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶
func (o *AdminSaveItemToInventoryParams) SetBody(body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq)
SetBody adds the body to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetContext ¶
func (o *AdminSaveItemToInventoryParams) SetContext(ctx context.Context)
SetContext adds the context to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) SetFlightId ¶
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 ¶
func (o *AdminSaveItemToInventoryParams) WithBody(body *inventoryclientmodels.ApimodelsSaveItemToInventoryReq) *AdminSaveItemToInventoryParams
WithBody adds the body to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithContext ¶
func (o *AdminSaveItemToInventoryParams) WithContext(ctx context.Context) *AdminSaveItemToInventoryParams
WithContext adds the context to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithHTTPClient ¶
func (o *AdminSaveItemToInventoryParams) WithHTTPClient(client *http.Client) *AdminSaveItemToInventoryParams
WithHTTPClient adds the HTTPClient to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithInventoryID ¶
func (o *AdminSaveItemToInventoryParams) WithInventoryID(inventoryID string) *AdminSaveItemToInventoryParams
WithInventoryID adds the inventoryID to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithNamespace ¶
func (o *AdminSaveItemToInventoryParams) WithNamespace(namespace string) *AdminSaveItemToInventoryParams
WithNamespace adds the namespace to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithTimeout ¶
func (o *AdminSaveItemToInventoryParams) WithTimeout(timeout time.Duration) *AdminSaveItemToInventoryParams
WithTimeout adds the timeout to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WithUserID ¶
func (o *AdminSaveItemToInventoryParams) WithUserID(userID string) *AdminSaveItemToInventoryParams
WithUserID adds the userID to the admin save item to inventory params
func (*AdminSaveItemToInventoryParams) WriteToRequest ¶
func (o *AdminSaveItemToInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminSaveItemToInventoryReader ¶
type AdminSaveItemToInventoryReader struct {
// contains filtered or unexported fields
}
AdminSaveItemToInventoryReader is a Reader for the AdminSaveItemToInventory structure.
func (*AdminSaveItemToInventoryReader) ReadResponse ¶
func (o *AdminSaveItemToInventoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminSaveItemToInventoryResponse ¶
type AdminSaveItemToInventoryResponse struct { inventoryclientmodels.ApiResponse Data *inventoryclientmodels.ApimodelsItemResp Error400 *inventoryclientmodels.ApimodelsErrorResponse Error401 *inventoryclientmodels.ApimodelsErrorResponse Error403 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminSaveItemToInventoryResponse) Unpack ¶
func (m *AdminSaveItemToInventoryResponse) Unpack() (*inventoryclientmodels.ApimodelsItemResp, *inventoryclientmodels.ApiError)
type AdminSaveItemToInventoryUnauthorized ¶
type AdminSaveItemToInventoryUnauthorized struct {
}AdminSaveItemToInventoryUnauthorized handles this case with default header values.
Unauthorized
func NewAdminSaveItemToInventoryUnauthorized ¶
func NewAdminSaveItemToInventoryUnauthorized() *AdminSaveItemToInventoryUnauthorized
NewAdminSaveItemToInventoryUnauthorized creates a AdminSaveItemToInventoryUnauthorized with default headers values
func (*AdminSaveItemToInventoryUnauthorized) Error ¶
func (o *AdminSaveItemToInventoryUnauthorized) Error() string
func (*AdminSaveItemToInventoryUnauthorized) GetPayload ¶
func (o *AdminSaveItemToInventoryUnauthorized) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSaveItemToInventoryUnauthorized) ToJSONString ¶
func (o *AdminSaveItemToInventoryUnauthorized) ToJSONString() string
type AdminSyncUserEntitlementsBadRequest ¶
type AdminSyncUserEntitlementsBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSyncUserEntitlementsBadRequest handles this case with default header values.
Bad Request
func NewAdminSyncUserEntitlementsBadRequest ¶
func NewAdminSyncUserEntitlementsBadRequest() *AdminSyncUserEntitlementsBadRequest
NewAdminSyncUserEntitlementsBadRequest creates a AdminSyncUserEntitlementsBadRequest with default headers values
func (*AdminSyncUserEntitlementsBadRequest) Error ¶
func (o *AdminSyncUserEntitlementsBadRequest) Error() string
func (*AdminSyncUserEntitlementsBadRequest) GetPayload ¶
func (o *AdminSyncUserEntitlementsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSyncUserEntitlementsBadRequest) ToJSONString ¶
func (o *AdminSyncUserEntitlementsBadRequest) ToJSONString() string
type AdminSyncUserEntitlementsForbidden ¶
type AdminSyncUserEntitlementsForbidden struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSyncUserEntitlementsForbidden handles this case with default header values.
Forbidden
func NewAdminSyncUserEntitlementsForbidden ¶
func NewAdminSyncUserEntitlementsForbidden() *AdminSyncUserEntitlementsForbidden
NewAdminSyncUserEntitlementsForbidden creates a AdminSyncUserEntitlementsForbidden with default headers values
func (*AdminSyncUserEntitlementsForbidden) Error ¶
func (o *AdminSyncUserEntitlementsForbidden) Error() string
func (*AdminSyncUserEntitlementsForbidden) GetPayload ¶
func (o *AdminSyncUserEntitlementsForbidden) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSyncUserEntitlementsForbidden) ToJSONString ¶
func (o *AdminSyncUserEntitlementsForbidden) ToJSONString() string
type AdminSyncUserEntitlementsInternalServerError ¶
type AdminSyncUserEntitlementsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSyncUserEntitlementsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminSyncUserEntitlementsInternalServerError ¶
func NewAdminSyncUserEntitlementsInternalServerError() *AdminSyncUserEntitlementsInternalServerError
NewAdminSyncUserEntitlementsInternalServerError creates a AdminSyncUserEntitlementsInternalServerError with default headers values
func (*AdminSyncUserEntitlementsInternalServerError) Error ¶
func (o *AdminSyncUserEntitlementsInternalServerError) Error() string
func (*AdminSyncUserEntitlementsInternalServerError) GetPayload ¶
func (o *AdminSyncUserEntitlementsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSyncUserEntitlementsInternalServerError) ToJSONString ¶
func (o *AdminSyncUserEntitlementsInternalServerError) ToJSONString() string
type AdminSyncUserEntitlementsNoContent ¶
type AdminSyncUserEntitlementsNoContent struct { }
AdminSyncUserEntitlementsNoContent handles this case with default header values.
No Content
func NewAdminSyncUserEntitlementsNoContent ¶
func NewAdminSyncUserEntitlementsNoContent() *AdminSyncUserEntitlementsNoContent
NewAdminSyncUserEntitlementsNoContent creates a AdminSyncUserEntitlementsNoContent with default headers values
func (*AdminSyncUserEntitlementsNoContent) Error ¶
func (o *AdminSyncUserEntitlementsNoContent) Error() string
type AdminSyncUserEntitlementsNotFound ¶
type AdminSyncUserEntitlementsNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminSyncUserEntitlementsNotFound handles this case with default header values.
Not Found
func NewAdminSyncUserEntitlementsNotFound ¶
func NewAdminSyncUserEntitlementsNotFound() *AdminSyncUserEntitlementsNotFound
NewAdminSyncUserEntitlementsNotFound creates a AdminSyncUserEntitlementsNotFound with default headers values
func (*AdminSyncUserEntitlementsNotFound) Error ¶
func (o *AdminSyncUserEntitlementsNotFound) Error() string
func (*AdminSyncUserEntitlementsNotFound) GetPayload ¶
func (o *AdminSyncUserEntitlementsNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSyncUserEntitlementsNotFound) ToJSONString ¶
func (o *AdminSyncUserEntitlementsNotFound) ToJSONString() string
type AdminSyncUserEntitlementsParams ¶
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 ¶
func NewAdminSyncUserEntitlementsParams() *AdminSyncUserEntitlementsParams
NewAdminSyncUserEntitlementsParams creates a new AdminSyncUserEntitlementsParams object with the default values initialized.
func NewAdminSyncUserEntitlementsParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *AdminSyncUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) SetContext ¶
func (o *AdminSyncUserEntitlementsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) SetFlightId ¶
func (o *AdminSyncUserEntitlementsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminSyncUserEntitlementsParams) SetHTTPClient ¶
func (o *AdminSyncUserEntitlementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) SetHTTPClientTransport ¶
func (o *AdminSyncUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) SetNamespace ¶
func (o *AdminSyncUserEntitlementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) SetTimeout ¶
func (o *AdminSyncUserEntitlementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) SetUserID ¶
func (o *AdminSyncUserEntitlementsParams) SetUserID(userID string)
SetUserID adds the userId to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) WithContext ¶
func (o *AdminSyncUserEntitlementsParams) WithContext(ctx context.Context) *AdminSyncUserEntitlementsParams
WithContext adds the context to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) WithHTTPClient ¶
func (o *AdminSyncUserEntitlementsParams) WithHTTPClient(client *http.Client) *AdminSyncUserEntitlementsParams
WithHTTPClient adds the HTTPClient to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) WithNamespace ¶
func (o *AdminSyncUserEntitlementsParams) WithNamespace(namespace string) *AdminSyncUserEntitlementsParams
WithNamespace adds the namespace to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) WithTimeout ¶
func (o *AdminSyncUserEntitlementsParams) WithTimeout(timeout time.Duration) *AdminSyncUserEntitlementsParams
WithTimeout adds the timeout to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) WithUserID ¶
func (o *AdminSyncUserEntitlementsParams) WithUserID(userID string) *AdminSyncUserEntitlementsParams
WithUserID adds the userID to the admin sync user entitlements params
func (*AdminSyncUserEntitlementsParams) WriteToRequest ¶
func (o *AdminSyncUserEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminSyncUserEntitlementsReader ¶
type AdminSyncUserEntitlementsReader struct {
// contains filtered or unexported fields
}
AdminSyncUserEntitlementsReader is a Reader for the AdminSyncUserEntitlements structure.
func (*AdminSyncUserEntitlementsReader) ReadResponse ¶
func (o *AdminSyncUserEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminSyncUserEntitlementsResponse ¶
type AdminSyncUserEntitlementsResponse struct { inventoryclientmodels.ApiResponse Error400 *inventoryclientmodels.ApimodelsErrorResponse Error401 *inventoryclientmodels.ApimodelsErrorResponse Error403 *inventoryclientmodels.ApimodelsErrorResponse Error404 *inventoryclientmodels.ApimodelsErrorResponse Error500 *inventoryclientmodels.ApimodelsErrorResponse }
func (*AdminSyncUserEntitlementsResponse) Unpack ¶
func (m *AdminSyncUserEntitlementsResponse) Unpack() *inventoryclientmodels.ApiError
type AdminSyncUserEntitlementsUnauthorized ¶
type AdminSyncUserEntitlementsUnauthorized struct {
}AdminSyncUserEntitlementsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminSyncUserEntitlementsUnauthorized ¶
func NewAdminSyncUserEntitlementsUnauthorized() *AdminSyncUserEntitlementsUnauthorized
NewAdminSyncUserEntitlementsUnauthorized creates a AdminSyncUserEntitlementsUnauthorized with default headers values
func (*AdminSyncUserEntitlementsUnauthorized) Error ¶
func (o *AdminSyncUserEntitlementsUnauthorized) Error() string
func (*AdminSyncUserEntitlementsUnauthorized) GetPayload ¶
func (o *AdminSyncUserEntitlementsUnauthorized) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminSyncUserEntitlementsUnauthorized) ToJSONString ¶
func (o *AdminSyncUserEntitlementsUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin items API
func (*Client) AdminBulkRemoveItemsShort ¶
func (a *Client) AdminBulkRemoveItemsShort(params *AdminBulkRemoveItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkRemoveItemsResponse, error)
AdminBulkRemoveItemsShort to bulk remove items
Bulk remove user's own items'.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [DELETE]
func (*Client) AdminBulkSaveItemShort ¶
func (a *Client) AdminBulkSaveItemShort(params *AdminBulkSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemResponse, 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) AdminBulkSaveItemToInventoryShort ¶
func (a *Client) AdminBulkSaveItemToInventoryShort(params *AdminBulkSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemToInventoryResponse, 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) AdminBulkUpdateMyItemsShort ¶
func (a *Client) AdminBulkUpdateMyItemsShort(params *AdminBulkUpdateMyItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkUpdateMyItemsResponse, 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) AdminConsumeUserItemShort ¶
func (a *Client) AdminConsumeUserItemShort(params *AdminConsumeUserItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminConsumeUserItemResponse, 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) AdminGetInventoryItemShort ¶
func (a *Client) AdminGetInventoryItemShort(params *AdminGetInventoryItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryItemResponse, error)
AdminGetInventoryItemShort to get an item
Getting an item info.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [READ]
func (*Client) AdminListItemsShort ¶
func (a *Client) AdminListItemsShort(params *AdminListItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListItemsResponse, 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) AdminSaveItemShort ¶
func (a *Client) AdminSaveItemShort(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemResponse, 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) AdminSaveItemToInventoryShort ¶
func (a *Client) AdminSaveItemToInventoryShort(params *AdminSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemToInventoryResponse, 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) AdminSyncUserEntitlementsShort ¶
func (a *Client) AdminSyncUserEntitlementsShort(params *AdminSyncUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSyncUserEntitlementsResponse, 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 { AdminListItemsShort(params *AdminListItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListItemsResponse, error) AdminGetInventoryItemShort(params *AdminGetInventoryItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryItemResponse, error) AdminConsumeUserItemShort(params *AdminConsumeUserItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminConsumeUserItemResponse, error) AdminBulkUpdateMyItemsShort(params *AdminBulkUpdateMyItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkUpdateMyItemsResponse, error) AdminSaveItemToInventoryShort(params *AdminSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemToInventoryResponse, error) AdminBulkRemoveItemsShort(params *AdminBulkRemoveItemsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkRemoveItemsResponse, error) AdminBulkSaveItemToInventoryShort(params *AdminBulkSaveItemToInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemToInventoryResponse, error) AdminSaveItemShort(params *AdminSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSaveItemResponse, error) AdminBulkSaveItemShort(params *AdminBulkSaveItemParams, authInfo runtime.ClientAuthInfoWriter) (*AdminBulkSaveItemResponse, error) AdminSyncUserEntitlementsShort(params *AdminSyncUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSyncUserEntitlementsResponse, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new admin items API client.
Source Files
¶
- admin_bulk_remove_items_parameters.go
- admin_bulk_remove_items_responses.go
- admin_bulk_save_item_parameters.go
- admin_bulk_save_item_responses.go
- admin_bulk_save_item_to_inventory_parameters.go
- admin_bulk_save_item_to_inventory_responses.go
- admin_bulk_update_my_items_parameters.go
- admin_bulk_update_my_items_responses.go
- admin_consume_user_item_parameters.go
- admin_consume_user_item_responses.go
- admin_get_inventory_item_parameters.go
- admin_get_inventory_item_responses.go
- admin_items_client.go
- admin_list_items_parameters.go
- admin_list_items_responses.go
- admin_save_item_parameters.go
- admin_save_item_responses.go
- admin_save_item_to_inventory_parameters.go
- admin_save_item_to_inventory_responses.go
- admin_sync_user_entitlements_parameters.go
- admin_sync_user_entitlements_responses.go