admin_inventories

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AdminListInventoriesCreatedAtConstant                      = "createdAt"
	AdminListInventoriesCreatedAtAscConstant                   = "createdAt:asc"
	AdminListInventoriesCreatedAtDescConstant                  = "createdAt:desc"
	AdminListInventoriesInventoryConfigurationCodeConstant     = "inventoryConfigurationCode"
	AdminListInventoriesInventoryConfigurationCodeAscConstant  = "inventoryConfigurationCode:asc"
	AdminListInventoriesInventoryConfigurationCodeDescConstant = "inventoryConfigurationCode:desc"
	AdminListInventoriesUpdatedAtConstant                      = "updatedAt"
	AdminListInventoriesUpdatedAtAscConstant                   = "updatedAt:asc"
	AdminListInventoriesUpdatedAtDescConstant                  = "updatedAt:desc"
)

Get the enum in AdminListInventoriesParams

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminCreateInventoryBadRequest

type AdminCreateInventoryBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminCreateInventoryBadRequest handles this case with default header values.

Bad Request

func NewAdminCreateInventoryBadRequest

func NewAdminCreateInventoryBadRequest() *AdminCreateInventoryBadRequest

NewAdminCreateInventoryBadRequest creates a AdminCreateInventoryBadRequest with default headers values

func (*AdminCreateInventoryBadRequest) Error

func (*AdminCreateInventoryBadRequest) GetPayload

func (*AdminCreateInventoryBadRequest) ToJSONString

func (o *AdminCreateInventoryBadRequest) ToJSONString() string

type AdminCreateInventoryCreated

type AdminCreateInventoryCreated struct {
	Payload *inventoryclientmodels.ApimodelsInventoryResp
}

AdminCreateInventoryCreated handles this case with default header values.

Created

func NewAdminCreateInventoryCreated

func NewAdminCreateInventoryCreated() *AdminCreateInventoryCreated

NewAdminCreateInventoryCreated creates a AdminCreateInventoryCreated with default headers values

func (*AdminCreateInventoryCreated) Error

func (*AdminCreateInventoryCreated) GetPayload

func (*AdminCreateInventoryCreated) ToJSONString

func (o *AdminCreateInventoryCreated) ToJSONString() string

type AdminCreateInventoryInternalServerError

type AdminCreateInventoryInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminCreateInventoryInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminCreateInventoryInternalServerError

func NewAdminCreateInventoryInternalServerError() *AdminCreateInventoryInternalServerError

NewAdminCreateInventoryInternalServerError creates a AdminCreateInventoryInternalServerError with default headers values

func (*AdminCreateInventoryInternalServerError) Error

func (*AdminCreateInventoryInternalServerError) GetPayload

func (*AdminCreateInventoryInternalServerError) ToJSONString

type AdminCreateInventoryParams

type AdminCreateInventoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *inventoryclientmodels.ApimodelsCreateInventoryReq
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminCreateInventoryParams contains all the parameters to send to the API endpoint for the admin create inventory operation typically these are written to a http.Request

func NewAdminCreateInventoryParams

func NewAdminCreateInventoryParams() *AdminCreateInventoryParams

NewAdminCreateInventoryParams creates a new AdminCreateInventoryParams object with the default values initialized.

func NewAdminCreateInventoryParamsWithContext

func NewAdminCreateInventoryParamsWithContext(ctx context.Context) *AdminCreateInventoryParams

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

func NewAdminCreateInventoryParamsWithHTTPClient

func NewAdminCreateInventoryParamsWithHTTPClient(client *http.Client) *AdminCreateInventoryParams

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

func NewAdminCreateInventoryParamsWithTimeout

func NewAdminCreateInventoryParamsWithTimeout(timeout time.Duration) *AdminCreateInventoryParams

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

func (*AdminCreateInventoryParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin create inventory params

func (*AdminCreateInventoryParams) SetBody

SetBody adds the body to the admin create inventory params

func (*AdminCreateInventoryParams) SetContext

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

SetContext adds the context to the admin create inventory params

func (*AdminCreateInventoryParams) SetFlightId

func (o *AdminCreateInventoryParams) SetFlightId(flightId string)

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

func (*AdminCreateInventoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create inventory params

func (*AdminCreateInventoryParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin create inventory params

func (*AdminCreateInventoryParams) SetNamespace

func (o *AdminCreateInventoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create inventory params

func (*AdminCreateInventoryParams) SetTimeout

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

SetTimeout adds the timeout to the admin create inventory params

func (*AdminCreateInventoryParams) WithBody

WithBody adds the body to the admin create inventory params

func (*AdminCreateInventoryParams) WithContext

WithContext adds the context to the admin create inventory params

func (*AdminCreateInventoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin create inventory params

func (*AdminCreateInventoryParams) WithNamespace

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

WithNamespace adds the namespace to the admin create inventory params

func (*AdminCreateInventoryParams) WithTimeout

WithTimeout adds the timeout to the admin create inventory params

func (*AdminCreateInventoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateInventoryReader

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

AdminCreateInventoryReader is a Reader for the AdminCreateInventory structure.

func (*AdminCreateInventoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetInventoryBadRequest

type AdminGetInventoryBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminGetInventoryBadRequest handles this case with default header values.

Bad Request

func NewAdminGetInventoryBadRequest

func NewAdminGetInventoryBadRequest() *AdminGetInventoryBadRequest

NewAdminGetInventoryBadRequest creates a AdminGetInventoryBadRequest with default headers values

func (*AdminGetInventoryBadRequest) Error

func (*AdminGetInventoryBadRequest) GetPayload

func (*AdminGetInventoryBadRequest) ToJSONString

func (o *AdminGetInventoryBadRequest) ToJSONString() string

type AdminGetInventoryInternalServerError

type AdminGetInventoryInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminGetInventoryInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetInventoryInternalServerError

func NewAdminGetInventoryInternalServerError() *AdminGetInventoryInternalServerError

NewAdminGetInventoryInternalServerError creates a AdminGetInventoryInternalServerError with default headers values

func (*AdminGetInventoryInternalServerError) Error

func (*AdminGetInventoryInternalServerError) GetPayload

func (*AdminGetInventoryInternalServerError) ToJSONString

func (o *AdminGetInventoryInternalServerError) ToJSONString() string

type AdminGetInventoryNotFound

type AdminGetInventoryNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminGetInventoryNotFound handles this case with default header values.

Not Found

func NewAdminGetInventoryNotFound

func NewAdminGetInventoryNotFound() *AdminGetInventoryNotFound

NewAdminGetInventoryNotFound creates a AdminGetInventoryNotFound with default headers values

func (*AdminGetInventoryNotFound) Error

func (o *AdminGetInventoryNotFound) Error() string

func (*AdminGetInventoryNotFound) GetPayload

func (*AdminGetInventoryNotFound) ToJSONString

func (o *AdminGetInventoryNotFound) ToJSONString() string

type AdminGetInventoryOK

type AdminGetInventoryOK struct {
	Payload *inventoryclientmodels.ApimodelsInventoryResp
}

AdminGetInventoryOK handles this case with default header values.

OK

func NewAdminGetInventoryOK

func NewAdminGetInventoryOK() *AdminGetInventoryOK

NewAdminGetInventoryOK creates a AdminGetInventoryOK with default headers values

func (*AdminGetInventoryOK) Error

func (o *AdminGetInventoryOK) Error() string

func (*AdminGetInventoryOK) GetPayload

func (*AdminGetInventoryOK) ToJSONString

func (o *AdminGetInventoryOK) ToJSONString() string

type AdminGetInventoryParams

type AdminGetInventoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*InventoryID
	  InventoryID

	*/
	InventoryID string
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminGetInventoryParams contains all the parameters to send to the API endpoint for the admin get inventory operation typically these are written to a http.Request

func NewAdminGetInventoryParams

func NewAdminGetInventoryParams() *AdminGetInventoryParams

NewAdminGetInventoryParams creates a new AdminGetInventoryParams object with the default values initialized.

func NewAdminGetInventoryParamsWithContext

func NewAdminGetInventoryParamsWithContext(ctx context.Context) *AdminGetInventoryParams

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

func NewAdminGetInventoryParamsWithHTTPClient

func NewAdminGetInventoryParamsWithHTTPClient(client *http.Client) *AdminGetInventoryParams

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

func NewAdminGetInventoryParamsWithTimeout

func NewAdminGetInventoryParamsWithTimeout(timeout time.Duration) *AdminGetInventoryParams

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

func (*AdminGetInventoryParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get inventory params

func (*AdminGetInventoryParams) SetContext

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

SetContext adds the context to the admin get inventory params

func (*AdminGetInventoryParams) SetFlightId

func (o *AdminGetInventoryParams) SetFlightId(flightId string)

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

func (*AdminGetInventoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get inventory params

func (*AdminGetInventoryParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get inventory params

func (*AdminGetInventoryParams) SetInventoryID

func (o *AdminGetInventoryParams) SetInventoryID(inventoryID string)

SetInventoryID adds the inventoryId to the admin get inventory params

func (*AdminGetInventoryParams) SetNamespace

func (o *AdminGetInventoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get inventory params

func (*AdminGetInventoryParams) SetTimeout

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

SetTimeout adds the timeout to the admin get inventory params

func (*AdminGetInventoryParams) WithContext

WithContext adds the context to the admin get inventory params

func (*AdminGetInventoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get inventory params

func (*AdminGetInventoryParams) WithInventoryID

func (o *AdminGetInventoryParams) WithInventoryID(inventoryID string) *AdminGetInventoryParams

WithInventoryID adds the inventoryID to the admin get inventory params

func (*AdminGetInventoryParams) WithNamespace

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

WithNamespace adds the namespace to the admin get inventory params

func (*AdminGetInventoryParams) WithTimeout

WithTimeout adds the timeout to the admin get inventory params

func (*AdminGetInventoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetInventoryReader

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

AdminGetInventoryReader is a Reader for the AdminGetInventory structure.

func (*AdminGetInventoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListInventoriesBadRequest

type AdminListInventoriesBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminListInventoriesBadRequest handles this case with default header values.

Bad Request

func NewAdminListInventoriesBadRequest

func NewAdminListInventoriesBadRequest() *AdminListInventoriesBadRequest

NewAdminListInventoriesBadRequest creates a AdminListInventoriesBadRequest with default headers values

func (*AdminListInventoriesBadRequest) Error

func (*AdminListInventoriesBadRequest) GetPayload

func (*AdminListInventoriesBadRequest) ToJSONString

func (o *AdminListInventoriesBadRequest) ToJSONString() string

type AdminListInventoriesInternalServerError

type AdminListInventoriesInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminListInventoriesInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListInventoriesInternalServerError

func NewAdminListInventoriesInternalServerError() *AdminListInventoriesInternalServerError

NewAdminListInventoriesInternalServerError creates a AdminListInventoriesInternalServerError with default headers values

func (*AdminListInventoriesInternalServerError) Error

func (*AdminListInventoriesInternalServerError) GetPayload

func (*AdminListInventoriesInternalServerError) ToJSONString

type AdminListInventoriesOK

type AdminListInventoriesOK struct {
	Payload *inventoryclientmodels.ApimodelsListInventoryResp
}

AdminListInventoriesOK handles this case with default header values.

OK

func NewAdminListInventoriesOK

func NewAdminListInventoriesOK() *AdminListInventoriesOK

NewAdminListInventoriesOK creates a AdminListInventoriesOK with default headers values

func (*AdminListInventoriesOK) Error

func (o *AdminListInventoriesOK) Error() string

func (*AdminListInventoriesOK) GetPayload

func (*AdminListInventoriesOK) ToJSONString

func (o *AdminListInventoriesOK) ToJSONString() string

type AdminListInventoriesParams

type AdminListInventoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*InventoryConfigurationCode
	  InventoryConfigurationCode

	*/
	InventoryConfigurationCode *string
	/*Limit
	  default 25

	*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*SortBy
	  Only support one level of sortBy; default createdAt

	*/
	SortBy *string
	/*UserID
	  UserID

	*/
	UserID *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminListInventoriesParams contains all the parameters to send to the API endpoint for the admin list inventories operation typically these are written to a http.Request

func NewAdminListInventoriesParams

func NewAdminListInventoriesParams() *AdminListInventoriesParams

NewAdminListInventoriesParams creates a new AdminListInventoriesParams object with the default values initialized.

func NewAdminListInventoriesParamsWithContext

func NewAdminListInventoriesParamsWithContext(ctx context.Context) *AdminListInventoriesParams

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

func NewAdminListInventoriesParamsWithHTTPClient

func NewAdminListInventoriesParamsWithHTTPClient(client *http.Client) *AdminListInventoriesParams

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

func NewAdminListInventoriesParamsWithTimeout

func NewAdminListInventoriesParamsWithTimeout(timeout time.Duration) *AdminListInventoriesParams

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

func (*AdminListInventoriesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin list inventories params

func (*AdminListInventoriesParams) SetContext

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

SetContext adds the context to the admin list inventories params

func (*AdminListInventoriesParams) SetFlightId

func (o *AdminListInventoriesParams) SetFlightId(flightId string)

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

func (*AdminListInventoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list inventories params

func (*AdminListInventoriesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin list inventories params

func (*AdminListInventoriesParams) SetInventoryConfigurationCode

func (o *AdminListInventoriesParams) SetInventoryConfigurationCode(inventoryConfigurationCode *string)

SetInventoryConfigurationCode adds the inventoryConfigurationCode to the admin list inventories params

func (*AdminListInventoriesParams) SetLimit

func (o *AdminListInventoriesParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin list inventories params

func (*AdminListInventoriesParams) SetNamespace

func (o *AdminListInventoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list inventories params

func (*AdminListInventoriesParams) SetOffset

func (o *AdminListInventoriesParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin list inventories params

func (*AdminListInventoriesParams) SetSortBy

func (o *AdminListInventoriesParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the admin list inventories params

func (*AdminListInventoriesParams) SetTimeout

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

SetTimeout adds the timeout to the admin list inventories params

func (*AdminListInventoriesParams) SetUserID

func (o *AdminListInventoriesParams) SetUserID(userID *string)

SetUserID adds the userId to the admin list inventories params

func (*AdminListInventoriesParams) WithContext

WithContext adds the context to the admin list inventories params

func (*AdminListInventoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list inventories params

func (*AdminListInventoriesParams) WithInventoryConfigurationCode

func (o *AdminListInventoriesParams) WithInventoryConfigurationCode(inventoryConfigurationCode *string) *AdminListInventoriesParams

WithInventoryConfigurationCode adds the inventoryConfigurationCode to the admin list inventories params

func (*AdminListInventoriesParams) WithLimit

WithLimit adds the limit to the admin list inventories params

func (*AdminListInventoriesParams) WithNamespace

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

WithNamespace adds the namespace to the admin list inventories params

func (*AdminListInventoriesParams) WithOffset

WithOffset adds the offset to the admin list inventories params

func (*AdminListInventoriesParams) WithSortBy

WithSortBy adds the sortBy to the admin list inventories params

func (*AdminListInventoriesParams) WithTimeout

WithTimeout adds the timeout to the admin list inventories params

func (*AdminListInventoriesParams) WithUserID

WithUserID adds the userID to the admin list inventories params

func (*AdminListInventoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListInventoriesReader

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

AdminListInventoriesReader is a Reader for the AdminListInventories structure.

func (*AdminListInventoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPurchasableBadRequest

type AdminPurchasableBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminPurchasableBadRequest handles this case with default header values.

Bad Request

func NewAdminPurchasableBadRequest

func NewAdminPurchasableBadRequest() *AdminPurchasableBadRequest

NewAdminPurchasableBadRequest creates a AdminPurchasableBadRequest with default headers values

func (*AdminPurchasableBadRequest) Error

func (*AdminPurchasableBadRequest) GetPayload

func (*AdminPurchasableBadRequest) ToJSONString

func (o *AdminPurchasableBadRequest) ToJSONString() string

type AdminPurchasableConflict

type AdminPurchasableConflict struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminPurchasableConflict handles this case with default header values.

Conflict

func NewAdminPurchasableConflict

func NewAdminPurchasableConflict() *AdminPurchasableConflict

NewAdminPurchasableConflict creates a AdminPurchasableConflict with default headers values

func (*AdminPurchasableConflict) Error

func (o *AdminPurchasableConflict) Error() string

func (*AdminPurchasableConflict) GetPayload

func (*AdminPurchasableConflict) ToJSONString

func (o *AdminPurchasableConflict) ToJSONString() string

type AdminPurchasableInternalServerError

type AdminPurchasableInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminPurchasableInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminPurchasableInternalServerError

func NewAdminPurchasableInternalServerError() *AdminPurchasableInternalServerError

NewAdminPurchasableInternalServerError creates a AdminPurchasableInternalServerError with default headers values

func (*AdminPurchasableInternalServerError) Error

func (*AdminPurchasableInternalServerError) GetPayload

func (*AdminPurchasableInternalServerError) ToJSONString

func (o *AdminPurchasableInternalServerError) ToJSONString() string

type AdminPurchasableNoContent

type AdminPurchasableNoContent struct {
}

AdminPurchasableNoContent handles this case with default header values.

No Content

func NewAdminPurchasableNoContent

func NewAdminPurchasableNoContent() *AdminPurchasableNoContent

NewAdminPurchasableNoContent creates a AdminPurchasableNoContent with default headers values

func (*AdminPurchasableNoContent) Error

func (o *AdminPurchasableNoContent) Error() string

type AdminPurchasableNotFound

type AdminPurchasableNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminPurchasableNotFound handles this case with default header values.

Not Found

func NewAdminPurchasableNotFound

func NewAdminPurchasableNotFound() *AdminPurchasableNotFound

NewAdminPurchasableNotFound creates a AdminPurchasableNotFound with default headers values

func (*AdminPurchasableNotFound) Error

func (o *AdminPurchasableNotFound) Error() string

func (*AdminPurchasableNotFound) GetPayload

func (*AdminPurchasableNotFound) ToJSONString

func (o *AdminPurchasableNotFound) ToJSONString() string

type AdminPurchasableParams

type AdminPurchasableParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *inventoryclientmodels.ApimodelsPurchaseValidationReq
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  UserID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminPurchasableParams contains all the parameters to send to the API endpoint for the admin purchasable operation typically these are written to a http.Request

func NewAdminPurchasableParams

func NewAdminPurchasableParams() *AdminPurchasableParams

NewAdminPurchasableParams creates a new AdminPurchasableParams object with the default values initialized.

func NewAdminPurchasableParamsWithContext

func NewAdminPurchasableParamsWithContext(ctx context.Context) *AdminPurchasableParams

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

func NewAdminPurchasableParamsWithHTTPClient

func NewAdminPurchasableParamsWithHTTPClient(client *http.Client) *AdminPurchasableParams

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

func NewAdminPurchasableParamsWithTimeout

func NewAdminPurchasableParamsWithTimeout(timeout time.Duration) *AdminPurchasableParams

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

func (*AdminPurchasableParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin purchasable params

func (*AdminPurchasableParams) SetBody

SetBody adds the body to the admin purchasable params

func (*AdminPurchasableParams) SetContext

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

SetContext adds the context to the admin purchasable params

func (*AdminPurchasableParams) SetFlightId

func (o *AdminPurchasableParams) SetFlightId(flightId string)

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

func (*AdminPurchasableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin purchasable params

func (*AdminPurchasableParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin purchasable params

func (*AdminPurchasableParams) SetNamespace

func (o *AdminPurchasableParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin purchasable params

func (*AdminPurchasableParams) SetTimeout

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

SetTimeout adds the timeout to the admin purchasable params

func (*AdminPurchasableParams) SetUserID

func (o *AdminPurchasableParams) SetUserID(userID string)

SetUserID adds the userId to the admin purchasable params

func (*AdminPurchasableParams) WithBody

WithBody adds the body to the admin purchasable params

func (*AdminPurchasableParams) WithContext

WithContext adds the context to the admin purchasable params

func (*AdminPurchasableParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin purchasable params

func (*AdminPurchasableParams) WithNamespace

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

WithNamespace adds the namespace to the admin purchasable params

func (*AdminPurchasableParams) WithTimeout

WithTimeout adds the timeout to the admin purchasable params

func (*AdminPurchasableParams) WithUserID

func (o *AdminPurchasableParams) WithUserID(userID string) *AdminPurchasableParams

WithUserID adds the userID to the admin purchasable params

func (*AdminPurchasableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPurchasableReader

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

AdminPurchasableReader is a Reader for the AdminPurchasable structure.

func (*AdminPurchasableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateInventoryBadRequest

type AdminUpdateInventoryBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateInventoryBadRequest handles this case with default header values.

Bad Request

func NewAdminUpdateInventoryBadRequest

func NewAdminUpdateInventoryBadRequest() *AdminUpdateInventoryBadRequest

NewAdminUpdateInventoryBadRequest creates a AdminUpdateInventoryBadRequest with default headers values

func (*AdminUpdateInventoryBadRequest) Error

func (*AdminUpdateInventoryBadRequest) GetPayload

func (*AdminUpdateInventoryBadRequest) ToJSONString

func (o *AdminUpdateInventoryBadRequest) ToJSONString() string

type AdminUpdateInventoryInternalServerError

type AdminUpdateInventoryInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateInventoryInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateInventoryInternalServerError

func NewAdminUpdateInventoryInternalServerError() *AdminUpdateInventoryInternalServerError

NewAdminUpdateInventoryInternalServerError creates a AdminUpdateInventoryInternalServerError with default headers values

func (*AdminUpdateInventoryInternalServerError) Error

func (*AdminUpdateInventoryInternalServerError) GetPayload

func (*AdminUpdateInventoryInternalServerError) ToJSONString

type AdminUpdateInventoryNotFound

type AdminUpdateInventoryNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateInventoryNotFound handles this case with default header values.

Not Found

func NewAdminUpdateInventoryNotFound

func NewAdminUpdateInventoryNotFound() *AdminUpdateInventoryNotFound

NewAdminUpdateInventoryNotFound creates a AdminUpdateInventoryNotFound with default headers values

func (*AdminUpdateInventoryNotFound) Error

func (*AdminUpdateInventoryNotFound) GetPayload

func (*AdminUpdateInventoryNotFound) ToJSONString

func (o *AdminUpdateInventoryNotFound) ToJSONString() string

type AdminUpdateInventoryOK

type AdminUpdateInventoryOK struct {
	Payload *inventoryclientmodels.ApimodelsInventoryResp
}

AdminUpdateInventoryOK handles this case with default header values.

OK

func NewAdminUpdateInventoryOK

func NewAdminUpdateInventoryOK() *AdminUpdateInventoryOK

NewAdminUpdateInventoryOK creates a AdminUpdateInventoryOK with default headers values

func (*AdminUpdateInventoryOK) Error

func (o *AdminUpdateInventoryOK) Error() string

func (*AdminUpdateInventoryOK) GetPayload

func (*AdminUpdateInventoryOK) ToJSONString

func (o *AdminUpdateInventoryOK) ToJSONString() string

type AdminUpdateInventoryParams

type AdminUpdateInventoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *inventoryclientmodels.ApimodelsUpdateInventoryReq
	/*InventoryID
	  InventoryID

	*/
	InventoryID string
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminUpdateInventoryParams contains all the parameters to send to the API endpoint for the admin update inventory operation typically these are written to a http.Request

func NewAdminUpdateInventoryParams

func NewAdminUpdateInventoryParams() *AdminUpdateInventoryParams

NewAdminUpdateInventoryParams creates a new AdminUpdateInventoryParams object with the default values initialized.

func NewAdminUpdateInventoryParamsWithContext

func NewAdminUpdateInventoryParamsWithContext(ctx context.Context) *AdminUpdateInventoryParams

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

func NewAdminUpdateInventoryParamsWithHTTPClient

func NewAdminUpdateInventoryParamsWithHTTPClient(client *http.Client) *AdminUpdateInventoryParams

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

func NewAdminUpdateInventoryParamsWithTimeout

func NewAdminUpdateInventoryParamsWithTimeout(timeout time.Duration) *AdminUpdateInventoryParams

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

func (*AdminUpdateInventoryParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update inventory params

func (*AdminUpdateInventoryParams) SetBody

SetBody adds the body to the admin update inventory params

func (*AdminUpdateInventoryParams) SetContext

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

SetContext adds the context to the admin update inventory params

func (*AdminUpdateInventoryParams) SetFlightId

func (o *AdminUpdateInventoryParams) SetFlightId(flightId string)

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

func (*AdminUpdateInventoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update inventory params

func (*AdminUpdateInventoryParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update inventory params

func (*AdminUpdateInventoryParams) SetInventoryID

func (o *AdminUpdateInventoryParams) SetInventoryID(inventoryID string)

SetInventoryID adds the inventoryId to the admin update inventory params

func (*AdminUpdateInventoryParams) SetNamespace

func (o *AdminUpdateInventoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update inventory params

func (*AdminUpdateInventoryParams) SetTimeout

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

SetTimeout adds the timeout to the admin update inventory params

func (*AdminUpdateInventoryParams) WithBody

WithBody adds the body to the admin update inventory params

func (*AdminUpdateInventoryParams) WithContext

WithContext adds the context to the admin update inventory params

func (*AdminUpdateInventoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update inventory params

func (*AdminUpdateInventoryParams) WithInventoryID

func (o *AdminUpdateInventoryParams) WithInventoryID(inventoryID string) *AdminUpdateInventoryParams

WithInventoryID adds the inventoryID to the admin update inventory params

func (*AdminUpdateInventoryParams) WithNamespace

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

WithNamespace adds the namespace to the admin update inventory params

func (*AdminUpdateInventoryParams) WithTimeout

WithTimeout adds the timeout to the admin update inventory params

func (*AdminUpdateInventoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateInventoryReader

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

AdminUpdateInventoryReader is a Reader for the AdminUpdateInventory structure.

func (*AdminUpdateInventoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateUserInventoriesByInventoryCodeBadRequest

type AdminUpdateUserInventoriesByInventoryCodeBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateUserInventoriesByInventoryCodeBadRequest handles this case with default header values.

Bad Request

func NewAdminUpdateUserInventoriesByInventoryCodeBadRequest

func NewAdminUpdateUserInventoriesByInventoryCodeBadRequest() *AdminUpdateUserInventoriesByInventoryCodeBadRequest

NewAdminUpdateUserInventoriesByInventoryCodeBadRequest creates a AdminUpdateUserInventoriesByInventoryCodeBadRequest with default headers values

func (*AdminUpdateUserInventoriesByInventoryCodeBadRequest) Error

func (*AdminUpdateUserInventoriesByInventoryCodeBadRequest) GetPayload

func (*AdminUpdateUserInventoriesByInventoryCodeBadRequest) ToJSONString

type AdminUpdateUserInventoriesByInventoryCodeForbidden

type AdminUpdateUserInventoriesByInventoryCodeForbidden struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateUserInventoriesByInventoryCodeForbidden handles this case with default header values.

Forbidden

func NewAdminUpdateUserInventoriesByInventoryCodeForbidden

func NewAdminUpdateUserInventoriesByInventoryCodeForbidden() *AdminUpdateUserInventoriesByInventoryCodeForbidden

NewAdminUpdateUserInventoriesByInventoryCodeForbidden creates a AdminUpdateUserInventoriesByInventoryCodeForbidden with default headers values

func (*AdminUpdateUserInventoriesByInventoryCodeForbidden) Error

func (*AdminUpdateUserInventoriesByInventoryCodeForbidden) GetPayload

func (*AdminUpdateUserInventoriesByInventoryCodeForbidden) ToJSONString

type AdminUpdateUserInventoriesByInventoryCodeInternalServerError

type AdminUpdateUserInventoriesByInventoryCodeInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateUserInventoriesByInventoryCodeInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateUserInventoriesByInventoryCodeInternalServerError

func NewAdminUpdateUserInventoriesByInventoryCodeInternalServerError() *AdminUpdateUserInventoriesByInventoryCodeInternalServerError

NewAdminUpdateUserInventoriesByInventoryCodeInternalServerError creates a AdminUpdateUserInventoriesByInventoryCodeInternalServerError with default headers values

func (*AdminUpdateUserInventoriesByInventoryCodeInternalServerError) Error

func (*AdminUpdateUserInventoriesByInventoryCodeInternalServerError) GetPayload

func (*AdminUpdateUserInventoriesByInventoryCodeInternalServerError) ToJSONString

type AdminUpdateUserInventoriesByInventoryCodeNotFound

type AdminUpdateUserInventoriesByInventoryCodeNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateUserInventoriesByInventoryCodeNotFound handles this case with default header values.

Not Found

func NewAdminUpdateUserInventoriesByInventoryCodeNotFound

func NewAdminUpdateUserInventoriesByInventoryCodeNotFound() *AdminUpdateUserInventoriesByInventoryCodeNotFound

NewAdminUpdateUserInventoriesByInventoryCodeNotFound creates a AdminUpdateUserInventoriesByInventoryCodeNotFound with default headers values

func (*AdminUpdateUserInventoriesByInventoryCodeNotFound) Error

func (*AdminUpdateUserInventoriesByInventoryCodeNotFound) GetPayload

func (*AdminUpdateUserInventoriesByInventoryCodeNotFound) ToJSONString

type AdminUpdateUserInventoriesByInventoryCodeOK

type AdminUpdateUserInventoriesByInventoryCodeOK struct {
	Payload []*inventoryclientmodels.ApimodelsInventoryResp
}

AdminUpdateUserInventoriesByInventoryCodeOK handles this case with default header values.

OK

func NewAdminUpdateUserInventoriesByInventoryCodeOK

func NewAdminUpdateUserInventoriesByInventoryCodeOK() *AdminUpdateUserInventoriesByInventoryCodeOK

NewAdminUpdateUserInventoriesByInventoryCodeOK creates a AdminUpdateUserInventoriesByInventoryCodeOK with default headers values

func (*AdminUpdateUserInventoriesByInventoryCodeOK) Error

func (*AdminUpdateUserInventoriesByInventoryCodeOK) GetPayload

func (*AdminUpdateUserInventoriesByInventoryCodeOK) ToJSONString

type AdminUpdateUserInventoriesByInventoryCodeParams

type AdminUpdateUserInventoriesByInventoryCodeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *inventoryclientmodels.ApimodelsUpdateInventoryReq
	/*InventoryConfigurationCode
	  InventoryConfigurationCode

	*/
	InventoryConfigurationCode string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  UserID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminUpdateUserInventoriesByInventoryCodeParams contains all the parameters to send to the API endpoint for the admin update user inventories by inventory code operation typically these are written to a http.Request

func NewAdminUpdateUserInventoriesByInventoryCodeParams

func NewAdminUpdateUserInventoriesByInventoryCodeParams() *AdminUpdateUserInventoriesByInventoryCodeParams

NewAdminUpdateUserInventoriesByInventoryCodeParams creates a new AdminUpdateUserInventoriesByInventoryCodeParams object with the default values initialized.

func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithContext

func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithContext(ctx context.Context) *AdminUpdateUserInventoriesByInventoryCodeParams

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

func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithHTTPClient

func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithHTTPClient(client *http.Client) *AdminUpdateUserInventoriesByInventoryCodeParams

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

func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithTimeout

func NewAdminUpdateUserInventoriesByInventoryCodeParamsWithTimeout(timeout time.Duration) *AdminUpdateUserInventoriesByInventoryCodeParams

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

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetAuthInfoWriter

SetAuthInfoWriter adds the authInfoWriter to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetBody

SetBody adds the body to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetContext

SetContext adds the context to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetFlightId

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

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetInventoryConfigurationCode

func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetInventoryConfigurationCode(inventoryConfigurationCode string)

SetInventoryConfigurationCode adds the inventoryConfigurationCode to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetNamespace

func (o *AdminUpdateUserInventoriesByInventoryCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetTimeout

SetTimeout adds the timeout to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) SetUserID

SetUserID adds the userId to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithBody

WithBody adds the body to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithContext

WithContext adds the context to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithInventoryConfigurationCode

func (o *AdminUpdateUserInventoriesByInventoryCodeParams) WithInventoryConfigurationCode(inventoryConfigurationCode string) *AdminUpdateUserInventoriesByInventoryCodeParams

WithInventoryConfigurationCode adds the inventoryConfigurationCode to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithNamespace

WithNamespace adds the namespace to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithTimeout

WithTimeout adds the timeout to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) WithUserID

WithUserID adds the userID to the admin update user inventories by inventory code params

func (*AdminUpdateUserInventoriesByInventoryCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateUserInventoriesByInventoryCodeReader

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

AdminUpdateUserInventoriesByInventoryCodeReader is a Reader for the AdminUpdateUserInventoriesByInventoryCode structure.

func (*AdminUpdateUserInventoriesByInventoryCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateUserInventoriesByInventoryCodeUnauthorized

type AdminUpdateUserInventoriesByInventoryCodeUnauthorized struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateUserInventoriesByInventoryCodeUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUpdateUserInventoriesByInventoryCodeUnauthorized

func NewAdminUpdateUserInventoriesByInventoryCodeUnauthorized() *AdminUpdateUserInventoriesByInventoryCodeUnauthorized

NewAdminUpdateUserInventoriesByInventoryCodeUnauthorized creates a AdminUpdateUserInventoriesByInventoryCodeUnauthorized with default headers values

func (*AdminUpdateUserInventoriesByInventoryCodeUnauthorized) Error

func (*AdminUpdateUserInventoriesByInventoryCodeUnauthorized) GetPayload

func (*AdminUpdateUserInventoriesByInventoryCodeUnauthorized) ToJSONString

type Client

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

Client for admin inventories API

func (*Client) AdminCreateInventoryShort

func (a *Client) AdminCreateInventoryShort(params *AdminCreateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryResponse, error)

AdminCreateInventoryShort to create inventory

Creating an inventory. The inventory configuration must exists otherwise it will fail. The max slots and max upgrade slots of an inventory will be initialized according to the inventory configuration it used, but it can be changed later when using AdminUpdateInventory endpoint.

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

func (*Client) AdminGetInventoryShort

func (a *Client) AdminGetInventoryShort(params *AdminGetInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryResponse, error)

AdminGetInventoryShort to get an inventory

Getting an inventory info.

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

func (*Client) AdminListInventoriesShort

func (a *Client) AdminListInventoriesShort(params *AdminListInventoriesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoriesResponse, error)

AdminListInventoriesShort to list all inventories

Listing all inventories in a namespace. The response body will be in the form of standard pagination.

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

func (*Client) AdminPurchasableShort

func (a *Client) AdminPurchasableShort(params *AdminPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*AdminPurchasableResponse, error)

AdminPurchasableShort to validate user inventory capacity when purchase ecommerce item

Validate purchase ecommerce item.

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

func (*Client) AdminUpdateInventoryShort

func (a *Client) AdminUpdateInventoryShort(params *AdminUpdateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryResponse, error)

AdminUpdateInventoryShort to update inventory

Updating an inventory. Positive value will increase MaxSlots from existing value Negative value will decrease MaxSlots from existing value Limited slots can not be changed to unlimited, vice versa

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

func (*Client) AdminUpdateUserInventoriesByInventoryCodeShort

AdminUpdateUserInventoriesByInventoryCodeShort to update user inventories by inventory code

Updating user inventories. Positive value will increase MaxSlots from existing value Negative value will decrease MaxSlots from existing value Limited slots can not be changed to unlimited, vice versa

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

func (*Client) DeleteInventoryShort

func (a *Client) DeleteInventoryShort(params *DeleteInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInventoryResponse, error)

DeleteInventoryShort to delete inventory

Deleting an inventory. If an inventory still has items, it cannot be deleted.

ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [DELETE]

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminListInventoriesShort(params *AdminListInventoriesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoriesResponse, error)
	AdminCreateInventoryShort(params *AdminCreateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryResponse, error)
	AdminGetInventoryShort(params *AdminGetInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryResponse, error)
	AdminUpdateInventoryShort(params *AdminUpdateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryResponse, error)
	DeleteInventoryShort(params *DeleteInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInventoryResponse, error)
	AdminUpdateUserInventoriesByInventoryCodeShort(params *AdminUpdateUserInventoriesByInventoryCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateUserInventoriesByInventoryCodeResponse, error)
	AdminPurchasableShort(params *AdminPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*AdminPurchasableResponse, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new admin inventories API client.

type DeleteInventoryBadRequest

type DeleteInventoryBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

DeleteInventoryBadRequest handles this case with default header values.

Bad Request

func NewDeleteInventoryBadRequest

func NewDeleteInventoryBadRequest() *DeleteInventoryBadRequest

NewDeleteInventoryBadRequest creates a DeleteInventoryBadRequest with default headers values

func (*DeleteInventoryBadRequest) Error

func (o *DeleteInventoryBadRequest) Error() string

func (*DeleteInventoryBadRequest) GetPayload

func (*DeleteInventoryBadRequest) ToJSONString

func (o *DeleteInventoryBadRequest) ToJSONString() string

type DeleteInventoryInternalServerError

type DeleteInventoryInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

DeleteInventoryInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteInventoryInternalServerError

func NewDeleteInventoryInternalServerError() *DeleteInventoryInternalServerError

NewDeleteInventoryInternalServerError creates a DeleteInventoryInternalServerError with default headers values

func (*DeleteInventoryInternalServerError) Error

func (*DeleteInventoryInternalServerError) GetPayload

func (*DeleteInventoryInternalServerError) ToJSONString

func (o *DeleteInventoryInternalServerError) ToJSONString() string

type DeleteInventoryNoContent

type DeleteInventoryNoContent struct {
}

DeleteInventoryNoContent handles this case with default header values.

No Content

func NewDeleteInventoryNoContent

func NewDeleteInventoryNoContent() *DeleteInventoryNoContent

NewDeleteInventoryNoContent creates a DeleteInventoryNoContent with default headers values

func (*DeleteInventoryNoContent) Error

func (o *DeleteInventoryNoContent) Error() string

type DeleteInventoryNotFound

type DeleteInventoryNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

DeleteInventoryNotFound handles this case with default header values.

Not Found

func NewDeleteInventoryNotFound

func NewDeleteInventoryNotFound() *DeleteInventoryNotFound

NewDeleteInventoryNotFound creates a DeleteInventoryNotFound with default headers values

func (*DeleteInventoryNotFound) Error

func (o *DeleteInventoryNotFound) Error() string

func (*DeleteInventoryNotFound) GetPayload

func (*DeleteInventoryNotFound) ToJSONString

func (o *DeleteInventoryNotFound) ToJSONString() string

type DeleteInventoryParams

type DeleteInventoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *inventoryclientmodels.ApimodelsDeleteInventoryReq
	/*InventoryID
	  InventoryID

	*/
	InventoryID string
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

DeleteInventoryParams contains all the parameters to send to the API endpoint for the delete inventory operation typically these are written to a http.Request

func NewDeleteInventoryParams

func NewDeleteInventoryParams() *DeleteInventoryParams

NewDeleteInventoryParams creates a new DeleteInventoryParams object with the default values initialized.

func NewDeleteInventoryParamsWithContext

func NewDeleteInventoryParamsWithContext(ctx context.Context) *DeleteInventoryParams

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

func NewDeleteInventoryParamsWithHTTPClient

func NewDeleteInventoryParamsWithHTTPClient(client *http.Client) *DeleteInventoryParams

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

func NewDeleteInventoryParamsWithTimeout

func NewDeleteInventoryParamsWithTimeout(timeout time.Duration) *DeleteInventoryParams

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

func (*DeleteInventoryParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete inventory params

func (*DeleteInventoryParams) SetBody

SetBody adds the body to the delete inventory params

func (*DeleteInventoryParams) SetContext

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

SetContext adds the context to the delete inventory params

func (*DeleteInventoryParams) SetFlightId

func (o *DeleteInventoryParams) SetFlightId(flightId string)

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

func (*DeleteInventoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete inventory params

func (*DeleteInventoryParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete inventory params

func (*DeleteInventoryParams) SetInventoryID

func (o *DeleteInventoryParams) SetInventoryID(inventoryID string)

SetInventoryID adds the inventoryId to the delete inventory params

func (*DeleteInventoryParams) SetNamespace

func (o *DeleteInventoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete inventory params

func (*DeleteInventoryParams) SetTimeout

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

SetTimeout adds the timeout to the delete inventory params

func (*DeleteInventoryParams) WithBody

WithBody adds the body to the delete inventory params

func (*DeleteInventoryParams) WithContext

WithContext adds the context to the delete inventory params

func (*DeleteInventoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete inventory params

func (*DeleteInventoryParams) WithInventoryID

func (o *DeleteInventoryParams) WithInventoryID(inventoryID string) *DeleteInventoryParams

WithInventoryID adds the inventoryID to the delete inventory params

func (*DeleteInventoryParams) WithNamespace

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

WithNamespace adds the namespace to the delete inventory params

func (*DeleteInventoryParams) WithTimeout

func (o *DeleteInventoryParams) WithTimeout(timeout time.Duration) *DeleteInventoryParams

WithTimeout adds the timeout to the delete inventory params

func (*DeleteInventoryParams) WriteToRequest

func (o *DeleteInventoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteInventoryReader

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

DeleteInventoryReader is a Reader for the DeleteInventory structure.

func (*DeleteInventoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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