admin_inventories

package
v0.68.0 Latest Latest
Warning

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

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

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

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

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

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

type AdminPurchasableBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminPurchasableBadRequest handles this case with default header values.

Bad Request

func NewAdminPurchasableBadRequest added in v0.68.0

func NewAdminPurchasableBadRequest() *AdminPurchasableBadRequest

NewAdminPurchasableBadRequest creates a AdminPurchasableBadRequest with default headers values

func (*AdminPurchasableBadRequest) Error added in v0.68.0

func (*AdminPurchasableBadRequest) GetPayload added in v0.68.0

func (*AdminPurchasableBadRequest) ToJSONString added in v0.68.0

func (o *AdminPurchasableBadRequest) ToJSONString() string

type AdminPurchasableConflict added in v0.68.0

type AdminPurchasableConflict struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminPurchasableConflict handles this case with default header values.

Conflict

func NewAdminPurchasableConflict added in v0.68.0

func NewAdminPurchasableConflict() *AdminPurchasableConflict

NewAdminPurchasableConflict creates a AdminPurchasableConflict with default headers values

func (*AdminPurchasableConflict) Error added in v0.68.0

func (o *AdminPurchasableConflict) Error() string

func (*AdminPurchasableConflict) GetPayload added in v0.68.0

func (*AdminPurchasableConflict) ToJSONString added in v0.68.0

func (o *AdminPurchasableConflict) ToJSONString() string

type AdminPurchasableInternalServerError added in v0.68.0

type AdminPurchasableInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminPurchasableInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminPurchasableInternalServerError added in v0.68.0

func NewAdminPurchasableInternalServerError() *AdminPurchasableInternalServerError

NewAdminPurchasableInternalServerError creates a AdminPurchasableInternalServerError with default headers values

func (*AdminPurchasableInternalServerError) Error added in v0.68.0

func (*AdminPurchasableInternalServerError) GetPayload added in v0.68.0

func (*AdminPurchasableInternalServerError) ToJSONString added in v0.68.0

func (o *AdminPurchasableInternalServerError) ToJSONString() string

type AdminPurchasableNoContent added in v0.68.0

type AdminPurchasableNoContent struct {
}

AdminPurchasableNoContent handles this case with default header values.

No Content

func NewAdminPurchasableNoContent added in v0.68.0

func NewAdminPurchasableNoContent() *AdminPurchasableNoContent

NewAdminPurchasableNoContent creates a AdminPurchasableNoContent with default headers values

func (*AdminPurchasableNoContent) Error added in v0.68.0

func (o *AdminPurchasableNoContent) Error() string

type AdminPurchasableNotFound added in v0.68.0

type AdminPurchasableNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminPurchasableNotFound handles this case with default header values.

Not Found

func NewAdminPurchasableNotFound added in v0.68.0

func NewAdminPurchasableNotFound() *AdminPurchasableNotFound

NewAdminPurchasableNotFound creates a AdminPurchasableNotFound with default headers values

func (*AdminPurchasableNotFound) Error added in v0.68.0

func (o *AdminPurchasableNotFound) Error() string

func (*AdminPurchasableNotFound) GetPayload added in v0.68.0

func (*AdminPurchasableNotFound) ToJSONString added in v0.68.0

func (o *AdminPurchasableNotFound) ToJSONString() string

type AdminPurchasableParams added in v0.68.0

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

func NewAdminPurchasableParams() *AdminPurchasableParams

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

func NewAdminPurchasableParamsWithContext added in v0.68.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the admin purchasable params

func (*AdminPurchasableParams) SetBody added in v0.68.0

SetBody adds the body to the admin purchasable params

func (*AdminPurchasableParams) SetContext added in v0.68.0

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

SetContext adds the context to the admin purchasable params

func (*AdminPurchasableParams) SetFlightId added in v0.68.0

func (o *AdminPurchasableParams) SetFlightId(flightId string)

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

func (*AdminPurchasableParams) SetHTTPClient added in v0.68.0

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

SetHTTPClient adds the HTTPClient to the admin purchasable params

func (*AdminPurchasableParams) SetHTTPClientTransport added in v0.68.0

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

SetHTTPClient adds the HTTPClient Transport to the admin purchasable params

func (*AdminPurchasableParams) SetNamespace added in v0.68.0

func (o *AdminPurchasableParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin purchasable params

func (*AdminPurchasableParams) SetTimeout added in v0.68.0

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

SetTimeout adds the timeout to the admin purchasable params

func (*AdminPurchasableParams) SetUserID added in v0.68.0

func (o *AdminPurchasableParams) SetUserID(userID string)

SetUserID adds the userId to the admin purchasable params

func (*AdminPurchasableParams) WithBody added in v0.68.0

WithBody adds the body to the admin purchasable params

func (*AdminPurchasableParams) WithContext added in v0.68.0

WithContext adds the context to the admin purchasable params

func (*AdminPurchasableParams) WithHTTPClient added in v0.68.0

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

WithHTTPClient adds the HTTPClient to the admin purchasable params

func (*AdminPurchasableParams) WithNamespace added in v0.68.0

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

WithNamespace adds the namespace to the admin purchasable params

func (*AdminPurchasableParams) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the admin purchasable params

func (*AdminPurchasableParams) WithUserID added in v0.68.0

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

WithUserID adds the userID to the admin purchasable params

func (*AdminPurchasableParams) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type AdminPurchasableReader added in v0.68.0

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

AdminPurchasableReader is a Reader for the AdminPurchasable structure.

func (*AdminPurchasableReader) ReadResponse added in v0.68.0

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

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 Client

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

Client for admin inventories API

func (*Client) AdminCreateInventory deprecated

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

AdminCreateInventory 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) AdminCreateInventoryShort

func (a *Client) AdminCreateInventoryShort(params *AdminCreateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryCreated, 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) AdminGetInventory deprecated

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

AdminGetInventory to get an inventory

Getting an inventory info.

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

func (*Client) AdminGetInventoryShort

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

AdminGetInventoryShort to get an inventory

Getting an inventory info.

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

func (*Client) AdminListInventories deprecated

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

AdminListInventories 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) AdminListInventoriesShort

func (a *Client) AdminListInventoriesShort(params *AdminListInventoriesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoriesOK, 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) AdminPurchasable deprecated added in v0.68.0

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

AdminPurchasable to validate user inventory capacity when purchase ecommerce item

Validate purchase ecommerce item.

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

func (*Client) AdminPurchasableShort added in v0.68.0

func (a *Client) AdminPurchasableShort(params *AdminPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*AdminPurchasableNoContent, 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) AdminUpdateInventory deprecated

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

AdminUpdateInventory 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) AdminUpdateInventoryShort

func (a *Client) AdminUpdateInventoryShort(params *AdminUpdateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryOK, 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) DeleteInventory deprecated

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

DeleteInventory 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) DeleteInventoryShort

func (a *Client) DeleteInventoryShort(params *DeleteInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInventoryNoContent, 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 {
	AdminListInventories(params *AdminListInventoriesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoriesOK, *AdminListInventoriesBadRequest, *AdminListInventoriesInternalServerError, error)
	AdminListInventoriesShort(params *AdminListInventoriesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoriesOK, error)
	AdminCreateInventory(params *AdminCreateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryCreated, *AdminCreateInventoryBadRequest, *AdminCreateInventoryInternalServerError, error)
	AdminCreateInventoryShort(params *AdminCreateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryCreated, error)
	AdminGetInventory(params *AdminGetInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryOK, *AdminGetInventoryBadRequest, *AdminGetInventoryNotFound, *AdminGetInventoryInternalServerError, error)
	AdminGetInventoryShort(params *AdminGetInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryOK, error)
	AdminUpdateInventory(params *AdminUpdateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryOK, *AdminUpdateInventoryBadRequest, *AdminUpdateInventoryNotFound, *AdminUpdateInventoryInternalServerError, error)
	AdminUpdateInventoryShort(params *AdminUpdateInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryOK, error)
	DeleteInventory(params *DeleteInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInventoryNoContent, *DeleteInventoryBadRequest, *DeleteInventoryNotFound, *DeleteInventoryInternalServerError, error)
	DeleteInventoryShort(params *DeleteInventoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInventoryNoContent, error)
	AdminPurchasable(params *AdminPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*AdminPurchasableNoContent, *AdminPurchasableBadRequest, *AdminPurchasableNotFound, *AdminPurchasableConflict, *AdminPurchasableInternalServerError, error)
	AdminPurchasableShort(params *AdminPurchasableParams, authInfo runtime.ClientAuthInfoWriter) (*AdminPurchasableNoContent, 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 added in v0.63.0

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