admin_inventory_configurations

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 (
	AdminListInventoryConfigurationsCodeConstant          = "code"
	AdminListInventoryConfigurationsCodeAscConstant       = "code:asc"
	AdminListInventoryConfigurationsCodeDescConstant      = "code:desc"
	AdminListInventoryConfigurationsCreatedAtConstant     = "createdAt"
	AdminListInventoryConfigurationsCreatedAtAscConstant  = "createdAt:asc"
	AdminListInventoryConfigurationsCreatedAtDescConstant = "createdAt:desc"
	AdminListInventoryConfigurationsUpdatedAtConstant     = "updatedAt"
	AdminListInventoryConfigurationsUpdatedAtAscConstant  = "updatedAt:asc"
	AdminListInventoryConfigurationsUpdatedAtDescConstant = "updatedAt:desc"
)

Get the enum in AdminListInventoryConfigurationsParams

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminCreateInventoryConfigurationBadRequest

type AdminCreateInventoryConfigurationBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminCreateInventoryConfigurationBadRequest handles this case with default header values.

Bad Request

func NewAdminCreateInventoryConfigurationBadRequest

func NewAdminCreateInventoryConfigurationBadRequest() *AdminCreateInventoryConfigurationBadRequest

NewAdminCreateInventoryConfigurationBadRequest creates a AdminCreateInventoryConfigurationBadRequest with default headers values

func (*AdminCreateInventoryConfigurationBadRequest) Error

func (*AdminCreateInventoryConfigurationBadRequest) GetPayload

func (*AdminCreateInventoryConfigurationBadRequest) ToJSONString

type AdminCreateInventoryConfigurationConflict

type AdminCreateInventoryConfigurationConflict struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminCreateInventoryConfigurationConflict handles this case with default header values.

Conflict

func NewAdminCreateInventoryConfigurationConflict

func NewAdminCreateInventoryConfigurationConflict() *AdminCreateInventoryConfigurationConflict

NewAdminCreateInventoryConfigurationConflict creates a AdminCreateInventoryConfigurationConflict with default headers values

func (*AdminCreateInventoryConfigurationConflict) Error

func (*AdminCreateInventoryConfigurationConflict) GetPayload

func (*AdminCreateInventoryConfigurationConflict) ToJSONString

type AdminCreateInventoryConfigurationCreated

type AdminCreateInventoryConfigurationCreated struct {
	Payload *inventoryclientmodels.ApimodelsInventoryConfigurationResp
}

AdminCreateInventoryConfigurationCreated handles this case with default header values.

Created

func NewAdminCreateInventoryConfigurationCreated

func NewAdminCreateInventoryConfigurationCreated() *AdminCreateInventoryConfigurationCreated

NewAdminCreateInventoryConfigurationCreated creates a AdminCreateInventoryConfigurationCreated with default headers values

func (*AdminCreateInventoryConfigurationCreated) Error

func (*AdminCreateInventoryConfigurationCreated) GetPayload

func (*AdminCreateInventoryConfigurationCreated) ToJSONString

type AdminCreateInventoryConfigurationInternalServerError

type AdminCreateInventoryConfigurationInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminCreateInventoryConfigurationInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminCreateInventoryConfigurationInternalServerError

func NewAdminCreateInventoryConfigurationInternalServerError() *AdminCreateInventoryConfigurationInternalServerError

NewAdminCreateInventoryConfigurationInternalServerError creates a AdminCreateInventoryConfigurationInternalServerError with default headers values

func (*AdminCreateInventoryConfigurationInternalServerError) Error

func (*AdminCreateInventoryConfigurationInternalServerError) GetPayload

func (*AdminCreateInventoryConfigurationInternalServerError) ToJSONString

type AdminCreateInventoryConfigurationParams

type AdminCreateInventoryConfigurationParams struct {

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

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

func NewAdminCreateInventoryConfigurationParams

func NewAdminCreateInventoryConfigurationParams() *AdminCreateInventoryConfigurationParams

NewAdminCreateInventoryConfigurationParams creates a new AdminCreateInventoryConfigurationParams object with the default values initialized.

func NewAdminCreateInventoryConfigurationParamsWithContext

func NewAdminCreateInventoryConfigurationParamsWithContext(ctx context.Context) *AdminCreateInventoryConfigurationParams

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

func NewAdminCreateInventoryConfigurationParamsWithHTTPClient

func NewAdminCreateInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminCreateInventoryConfigurationParams

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

func NewAdminCreateInventoryConfigurationParamsWithTimeout

func NewAdminCreateInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminCreateInventoryConfigurationParams

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

func (*AdminCreateInventoryConfigurationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) SetBody

SetBody adds the body to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) SetContext

SetContext adds the context to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) SetFlightId

func (o *AdminCreateInventoryConfigurationParams) SetFlightId(flightId string)

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

func (*AdminCreateInventoryConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) SetNamespace

func (o *AdminCreateInventoryConfigurationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) WithBody

WithBody adds the body to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) WithContext

WithContext adds the context to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) WithNamespace

WithNamespace adds the namespace to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) WithTimeout

WithTimeout adds the timeout to the admin create inventory configuration params

func (*AdminCreateInventoryConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateInventoryConfigurationReader

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

AdminCreateInventoryConfigurationReader is a Reader for the AdminCreateInventoryConfiguration structure.

func (*AdminCreateInventoryConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteInventoryConfigurationBadRequest

type AdminDeleteInventoryConfigurationBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminDeleteInventoryConfigurationBadRequest handles this case with default header values.

Bad Request

func NewAdminDeleteInventoryConfigurationBadRequest

func NewAdminDeleteInventoryConfigurationBadRequest() *AdminDeleteInventoryConfigurationBadRequest

NewAdminDeleteInventoryConfigurationBadRequest creates a AdminDeleteInventoryConfigurationBadRequest with default headers values

func (*AdminDeleteInventoryConfigurationBadRequest) Error

func (*AdminDeleteInventoryConfigurationBadRequest) GetPayload

func (*AdminDeleteInventoryConfigurationBadRequest) ToJSONString

type AdminDeleteInventoryConfigurationInternalServerError

type AdminDeleteInventoryConfigurationInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminDeleteInventoryConfigurationInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminDeleteInventoryConfigurationInternalServerError

func NewAdminDeleteInventoryConfigurationInternalServerError() *AdminDeleteInventoryConfigurationInternalServerError

NewAdminDeleteInventoryConfigurationInternalServerError creates a AdminDeleteInventoryConfigurationInternalServerError with default headers values

func (*AdminDeleteInventoryConfigurationInternalServerError) Error

func (*AdminDeleteInventoryConfigurationInternalServerError) GetPayload

func (*AdminDeleteInventoryConfigurationInternalServerError) ToJSONString

type AdminDeleteInventoryConfigurationNoContent

type AdminDeleteInventoryConfigurationNoContent struct {
}

AdminDeleteInventoryConfigurationNoContent handles this case with default header values.

No Content

func NewAdminDeleteInventoryConfigurationNoContent

func NewAdminDeleteInventoryConfigurationNoContent() *AdminDeleteInventoryConfigurationNoContent

NewAdminDeleteInventoryConfigurationNoContent creates a AdminDeleteInventoryConfigurationNoContent with default headers values

func (*AdminDeleteInventoryConfigurationNoContent) Error

type AdminDeleteInventoryConfigurationNotFound

type AdminDeleteInventoryConfigurationNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminDeleteInventoryConfigurationNotFound handles this case with default header values.

Not Found

func NewAdminDeleteInventoryConfigurationNotFound

func NewAdminDeleteInventoryConfigurationNotFound() *AdminDeleteInventoryConfigurationNotFound

NewAdminDeleteInventoryConfigurationNotFound creates a AdminDeleteInventoryConfigurationNotFound with default headers values

func (*AdminDeleteInventoryConfigurationNotFound) Error

func (*AdminDeleteInventoryConfigurationNotFound) GetPayload

func (*AdminDeleteInventoryConfigurationNotFound) ToJSONString

type AdminDeleteInventoryConfigurationParams

type AdminDeleteInventoryConfigurationParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*InventoryConfigurationID
	  InventoryConfigurationID

	*/
	InventoryConfigurationID 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
}

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

func NewAdminDeleteInventoryConfigurationParams

func NewAdminDeleteInventoryConfigurationParams() *AdminDeleteInventoryConfigurationParams

NewAdminDeleteInventoryConfigurationParams creates a new AdminDeleteInventoryConfigurationParams object with the default values initialized.

func NewAdminDeleteInventoryConfigurationParamsWithContext

func NewAdminDeleteInventoryConfigurationParamsWithContext(ctx context.Context) *AdminDeleteInventoryConfigurationParams

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

func NewAdminDeleteInventoryConfigurationParamsWithHTTPClient

func NewAdminDeleteInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminDeleteInventoryConfigurationParams

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

func NewAdminDeleteInventoryConfigurationParamsWithTimeout

func NewAdminDeleteInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminDeleteInventoryConfigurationParams

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

func (*AdminDeleteInventoryConfigurationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) SetContext

SetContext adds the context to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) SetFlightId

func (o *AdminDeleteInventoryConfigurationParams) SetFlightId(flightId string)

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

func (*AdminDeleteInventoryConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) SetInventoryConfigurationID

func (o *AdminDeleteInventoryConfigurationParams) SetInventoryConfigurationID(inventoryConfigurationID string)

SetInventoryConfigurationID adds the inventoryConfigurationId to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) SetNamespace

func (o *AdminDeleteInventoryConfigurationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) WithContext

WithContext adds the context to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) WithInventoryConfigurationID

func (o *AdminDeleteInventoryConfigurationParams) WithInventoryConfigurationID(inventoryConfigurationID string) *AdminDeleteInventoryConfigurationParams

WithInventoryConfigurationID adds the inventoryConfigurationID to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) WithNamespace

WithNamespace adds the namespace to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) WithTimeout

WithTimeout adds the timeout to the admin delete inventory configuration params

func (*AdminDeleteInventoryConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteInventoryConfigurationReader

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

AdminDeleteInventoryConfigurationReader is a Reader for the AdminDeleteInventoryConfiguration structure.

func (*AdminDeleteInventoryConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetInventoryConfigurationBadRequest

type AdminGetInventoryConfigurationBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminGetInventoryConfigurationBadRequest handles this case with default header values.

Bad Request

func NewAdminGetInventoryConfigurationBadRequest

func NewAdminGetInventoryConfigurationBadRequest() *AdminGetInventoryConfigurationBadRequest

NewAdminGetInventoryConfigurationBadRequest creates a AdminGetInventoryConfigurationBadRequest with default headers values

func (*AdminGetInventoryConfigurationBadRequest) Error

func (*AdminGetInventoryConfigurationBadRequest) GetPayload

func (*AdminGetInventoryConfigurationBadRequest) ToJSONString

type AdminGetInventoryConfigurationInternalServerError

type AdminGetInventoryConfigurationInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminGetInventoryConfigurationInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetInventoryConfigurationInternalServerError

func NewAdminGetInventoryConfigurationInternalServerError() *AdminGetInventoryConfigurationInternalServerError

NewAdminGetInventoryConfigurationInternalServerError creates a AdminGetInventoryConfigurationInternalServerError with default headers values

func (*AdminGetInventoryConfigurationInternalServerError) Error

func (*AdminGetInventoryConfigurationInternalServerError) GetPayload

func (*AdminGetInventoryConfigurationInternalServerError) ToJSONString

type AdminGetInventoryConfigurationNotFound

type AdminGetInventoryConfigurationNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminGetInventoryConfigurationNotFound handles this case with default header values.

Not Found

func NewAdminGetInventoryConfigurationNotFound

func NewAdminGetInventoryConfigurationNotFound() *AdminGetInventoryConfigurationNotFound

NewAdminGetInventoryConfigurationNotFound creates a AdminGetInventoryConfigurationNotFound with default headers values

func (*AdminGetInventoryConfigurationNotFound) Error

func (*AdminGetInventoryConfigurationNotFound) GetPayload

func (*AdminGetInventoryConfigurationNotFound) ToJSONString

type AdminGetInventoryConfigurationOK

type AdminGetInventoryConfigurationOK struct {
	Payload *inventoryclientmodels.ApimodelsInventoryConfigurationResp
}

AdminGetInventoryConfigurationOK handles this case with default header values.

OK

func NewAdminGetInventoryConfigurationOK

func NewAdminGetInventoryConfigurationOK() *AdminGetInventoryConfigurationOK

NewAdminGetInventoryConfigurationOK creates a AdminGetInventoryConfigurationOK with default headers values

func (*AdminGetInventoryConfigurationOK) Error

func (*AdminGetInventoryConfigurationOK) GetPayload

func (*AdminGetInventoryConfigurationOK) ToJSONString

func (o *AdminGetInventoryConfigurationOK) ToJSONString() string

type AdminGetInventoryConfigurationParams

type AdminGetInventoryConfigurationParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*InventoryConfigurationID
	  InventoryConfigurationID

	*/
	InventoryConfigurationID 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
}

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

func NewAdminGetInventoryConfigurationParams

func NewAdminGetInventoryConfigurationParams() *AdminGetInventoryConfigurationParams

NewAdminGetInventoryConfigurationParams creates a new AdminGetInventoryConfigurationParams object with the default values initialized.

func NewAdminGetInventoryConfigurationParamsWithContext

func NewAdminGetInventoryConfigurationParamsWithContext(ctx context.Context) *AdminGetInventoryConfigurationParams

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

func NewAdminGetInventoryConfigurationParamsWithHTTPClient

func NewAdminGetInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminGetInventoryConfigurationParams

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

func NewAdminGetInventoryConfigurationParamsWithTimeout

func NewAdminGetInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminGetInventoryConfigurationParams

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

func (*AdminGetInventoryConfigurationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) SetContext

SetContext adds the context to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) SetFlightId

func (o *AdminGetInventoryConfigurationParams) SetFlightId(flightId string)

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

func (*AdminGetInventoryConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) SetInventoryConfigurationID

func (o *AdminGetInventoryConfigurationParams) SetInventoryConfigurationID(inventoryConfigurationID string)

SetInventoryConfigurationID adds the inventoryConfigurationId to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) SetNamespace

func (o *AdminGetInventoryConfigurationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) WithContext

WithContext adds the context to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) WithInventoryConfigurationID

func (o *AdminGetInventoryConfigurationParams) WithInventoryConfigurationID(inventoryConfigurationID string) *AdminGetInventoryConfigurationParams

WithInventoryConfigurationID adds the inventoryConfigurationID to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) WithNamespace

WithNamespace adds the namespace to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) WithTimeout

WithTimeout adds the timeout to the admin get inventory configuration params

func (*AdminGetInventoryConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetInventoryConfigurationReader

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

AdminGetInventoryConfigurationReader is a Reader for the AdminGetInventoryConfiguration structure.

func (*AdminGetInventoryConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListInventoryConfigurationsBadRequest

type AdminListInventoryConfigurationsBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminListInventoryConfigurationsBadRequest handles this case with default header values.

Bad Request

func NewAdminListInventoryConfigurationsBadRequest

func NewAdminListInventoryConfigurationsBadRequest() *AdminListInventoryConfigurationsBadRequest

NewAdminListInventoryConfigurationsBadRequest creates a AdminListInventoryConfigurationsBadRequest with default headers values

func (*AdminListInventoryConfigurationsBadRequest) Error

func (*AdminListInventoryConfigurationsBadRequest) GetPayload

func (*AdminListInventoryConfigurationsBadRequest) ToJSONString

type AdminListInventoryConfigurationsInternalServerError

type AdminListInventoryConfigurationsInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminListInventoryConfigurationsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListInventoryConfigurationsInternalServerError

func NewAdminListInventoryConfigurationsInternalServerError() *AdminListInventoryConfigurationsInternalServerError

NewAdminListInventoryConfigurationsInternalServerError creates a AdminListInventoryConfigurationsInternalServerError with default headers values

func (*AdminListInventoryConfigurationsInternalServerError) Error

func (*AdminListInventoryConfigurationsInternalServerError) GetPayload

func (*AdminListInventoryConfigurationsInternalServerError) ToJSONString

type AdminListInventoryConfigurationsOK

type AdminListInventoryConfigurationsOK struct {
	Payload *inventoryclientmodels.ApimodelsListInventoryConfigurationsResp
}

AdminListInventoryConfigurationsOK handles this case with default header values.

OK

func NewAdminListInventoryConfigurationsOK

func NewAdminListInventoryConfigurationsOK() *AdminListInventoryConfigurationsOK

NewAdminListInventoryConfigurationsOK creates a AdminListInventoryConfigurationsOK with default headers values

func (*AdminListInventoryConfigurationsOK) Error

func (*AdminListInventoryConfigurationsOK) GetPayload

func (*AdminListInventoryConfigurationsOK) ToJSONString

func (o *AdminListInventoryConfigurationsOK) ToJSONString() string

type AdminListInventoryConfigurationsParams

type AdminListInventoryConfigurationsParams struct {

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

	*/
	Namespace string
	/*Code
	  will partially match inventoryConfigurationCode

	*/
	Code *string
	/*Limit
	  default 25

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

	*/
	SortBy *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
}

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

func NewAdminListInventoryConfigurationsParams

func NewAdminListInventoryConfigurationsParams() *AdminListInventoryConfigurationsParams

NewAdminListInventoryConfigurationsParams creates a new AdminListInventoryConfigurationsParams object with the default values initialized.

func NewAdminListInventoryConfigurationsParamsWithContext

func NewAdminListInventoryConfigurationsParamsWithContext(ctx context.Context) *AdminListInventoryConfigurationsParams

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

func NewAdminListInventoryConfigurationsParamsWithHTTPClient

func NewAdminListInventoryConfigurationsParamsWithHTTPClient(client *http.Client) *AdminListInventoryConfigurationsParams

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

func NewAdminListInventoryConfigurationsParamsWithTimeout

func NewAdminListInventoryConfigurationsParamsWithTimeout(timeout time.Duration) *AdminListInventoryConfigurationsParams

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

func (*AdminListInventoryConfigurationsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) SetCode

SetCode adds the code to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) SetContext

SetContext adds the context to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) SetFlightId

func (o *AdminListInventoryConfigurationsParams) SetFlightId(flightId string)

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

func (*AdminListInventoryConfigurationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) SetLimit

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

SetLimit adds the limit to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) SetNamespace

func (o *AdminListInventoryConfigurationsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) SetOffset

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

SetOffset adds the offset to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) SetSortBy

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

SetSortBy adds the sortBy to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) SetTimeout

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

SetTimeout adds the timeout to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) WithCode

WithCode adds the code to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) WithContext

WithContext adds the context to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) WithLimit

WithLimit adds the limit to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) WithNamespace

WithNamespace adds the namespace to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) WithOffset

WithOffset adds the offset to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) WithSortBy

WithSortBy adds the sortBy to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) WithTimeout

WithTimeout adds the timeout to the admin list inventory configurations params

func (*AdminListInventoryConfigurationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListInventoryConfigurationsReader

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

AdminListInventoryConfigurationsReader is a Reader for the AdminListInventoryConfigurations structure.

func (*AdminListInventoryConfigurationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateInventoryConfigurationBadRequest

type AdminUpdateInventoryConfigurationBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateInventoryConfigurationBadRequest handles this case with default header values.

Bad Request

func NewAdminUpdateInventoryConfigurationBadRequest

func NewAdminUpdateInventoryConfigurationBadRequest() *AdminUpdateInventoryConfigurationBadRequest

NewAdminUpdateInventoryConfigurationBadRequest creates a AdminUpdateInventoryConfigurationBadRequest with default headers values

func (*AdminUpdateInventoryConfigurationBadRequest) Error

func (*AdminUpdateInventoryConfigurationBadRequest) GetPayload

func (*AdminUpdateInventoryConfigurationBadRequest) ToJSONString

type AdminUpdateInventoryConfigurationConflict

type AdminUpdateInventoryConfigurationConflict struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateInventoryConfigurationConflict handles this case with default header values.

Conflict

func NewAdminUpdateInventoryConfigurationConflict

func NewAdminUpdateInventoryConfigurationConflict() *AdminUpdateInventoryConfigurationConflict

NewAdminUpdateInventoryConfigurationConflict creates a AdminUpdateInventoryConfigurationConflict with default headers values

func (*AdminUpdateInventoryConfigurationConflict) Error

func (*AdminUpdateInventoryConfigurationConflict) GetPayload

func (*AdminUpdateInventoryConfigurationConflict) ToJSONString

type AdminUpdateInventoryConfigurationInternalServerError

type AdminUpdateInventoryConfigurationInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateInventoryConfigurationInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateInventoryConfigurationInternalServerError

func NewAdminUpdateInventoryConfigurationInternalServerError() *AdminUpdateInventoryConfigurationInternalServerError

NewAdminUpdateInventoryConfigurationInternalServerError creates a AdminUpdateInventoryConfigurationInternalServerError with default headers values

func (*AdminUpdateInventoryConfigurationInternalServerError) Error

func (*AdminUpdateInventoryConfigurationInternalServerError) GetPayload

func (*AdminUpdateInventoryConfigurationInternalServerError) ToJSONString

type AdminUpdateInventoryConfigurationNotFound

type AdminUpdateInventoryConfigurationNotFound struct {
	Payload *inventoryclientmodels.ApimodelsErrorResponse
}

AdminUpdateInventoryConfigurationNotFound handles this case with default header values.

Not Found

func NewAdminUpdateInventoryConfigurationNotFound

func NewAdminUpdateInventoryConfigurationNotFound() *AdminUpdateInventoryConfigurationNotFound

NewAdminUpdateInventoryConfigurationNotFound creates a AdminUpdateInventoryConfigurationNotFound with default headers values

func (*AdminUpdateInventoryConfigurationNotFound) Error

func (*AdminUpdateInventoryConfigurationNotFound) GetPayload

func (*AdminUpdateInventoryConfigurationNotFound) ToJSONString

type AdminUpdateInventoryConfigurationOK

type AdminUpdateInventoryConfigurationOK struct {
	Payload *inventoryclientmodels.ApimodelsInventoryConfigurationResp
}

AdminUpdateInventoryConfigurationOK handles this case with default header values.

OK

func NewAdminUpdateInventoryConfigurationOK

func NewAdminUpdateInventoryConfigurationOK() *AdminUpdateInventoryConfigurationOK

NewAdminUpdateInventoryConfigurationOK creates a AdminUpdateInventoryConfigurationOK with default headers values

func (*AdminUpdateInventoryConfigurationOK) Error

func (*AdminUpdateInventoryConfigurationOK) GetPayload

func (*AdminUpdateInventoryConfigurationOK) ToJSONString

func (o *AdminUpdateInventoryConfigurationOK) ToJSONString() string

type AdminUpdateInventoryConfigurationParams

type AdminUpdateInventoryConfigurationParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *inventoryclientmodels.ApimodelsInventoryConfigurationReq
	/*InventoryConfigurationID
	  InventoryConfigurationID

	*/
	InventoryConfigurationID 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
}

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

func NewAdminUpdateInventoryConfigurationParams

func NewAdminUpdateInventoryConfigurationParams() *AdminUpdateInventoryConfigurationParams

NewAdminUpdateInventoryConfigurationParams creates a new AdminUpdateInventoryConfigurationParams object with the default values initialized.

func NewAdminUpdateInventoryConfigurationParamsWithContext

func NewAdminUpdateInventoryConfigurationParamsWithContext(ctx context.Context) *AdminUpdateInventoryConfigurationParams

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

func NewAdminUpdateInventoryConfigurationParamsWithHTTPClient

func NewAdminUpdateInventoryConfigurationParamsWithHTTPClient(client *http.Client) *AdminUpdateInventoryConfigurationParams

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

func NewAdminUpdateInventoryConfigurationParamsWithTimeout

func NewAdminUpdateInventoryConfigurationParamsWithTimeout(timeout time.Duration) *AdminUpdateInventoryConfigurationParams

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

func (*AdminUpdateInventoryConfigurationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) SetBody

SetBody adds the body to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) SetContext

SetContext adds the context to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) SetFlightId

func (o *AdminUpdateInventoryConfigurationParams) SetFlightId(flightId string)

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

func (*AdminUpdateInventoryConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) SetInventoryConfigurationID

func (o *AdminUpdateInventoryConfigurationParams) SetInventoryConfigurationID(inventoryConfigurationID string)

SetInventoryConfigurationID adds the inventoryConfigurationId to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) SetNamespace

func (o *AdminUpdateInventoryConfigurationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) WithBody

WithBody adds the body to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) WithContext

WithContext adds the context to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) WithInventoryConfigurationID

func (o *AdminUpdateInventoryConfigurationParams) WithInventoryConfigurationID(inventoryConfigurationID string) *AdminUpdateInventoryConfigurationParams

WithInventoryConfigurationID adds the inventoryConfigurationID to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) WithNamespace

WithNamespace adds the namespace to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) WithTimeout

WithTimeout adds the timeout to the admin update inventory configuration params

func (*AdminUpdateInventoryConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateInventoryConfigurationReader

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

AdminUpdateInventoryConfigurationReader is a Reader for the AdminUpdateInventoryConfiguration structure.

func (*AdminUpdateInventoryConfigurationReader) ReadResponse

func (o *AdminUpdateInventoryConfigurationReader) 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 inventory configurations API

func (*Client) AdminCreateInventoryConfigurationShort

func (a *Client) AdminCreateInventoryConfigurationShort(params *AdminCreateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryConfigurationResponse, error)

AdminCreateInventoryConfigurationShort to create inventory configuration

Creating inventory configuration. There cannot be one inventory configuration duplicate code per namespace.

Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [CREATE]

func (*Client) AdminDeleteInventoryConfigurationShort

func (a *Client) AdminDeleteInventoryConfigurationShort(params *AdminDeleteInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteInventoryConfigurationResponse, error)

AdminDeleteInventoryConfigurationShort to delete inventory configuration

Deleting an inventory configuration. If an inventory already reference this type (i.e. STATUS is "TIED"), then the type cannot be deleted anymore.

ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [DELETE]

func (*Client) AdminGetInventoryConfigurationShort

func (a *Client) AdminGetInventoryConfigurationShort(params *AdminGetInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryConfigurationResponse, error)

AdminGetInventoryConfigurationShort to get inventory configuration

Getting an inventory configuration info.

Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]

func (*Client) AdminListInventoryConfigurationsShort

func (a *Client) AdminListInventoryConfigurationsShort(params *AdminListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoryConfigurationsResponse, error)

AdminListInventoryConfigurationsShort to list inventory configurations

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

Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]

func (*Client) AdminUpdateInventoryConfigurationShort

func (a *Client) AdminUpdateInventoryConfigurationShort(params *AdminUpdateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryConfigurationResponse, error)

AdminUpdateInventoryConfigurationShort to update inventory configuration

Updating inventory configuration. There cannot be duplicate code per namespace.

Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [UPDATE]

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminListInventoryConfigurationsShort(params *AdminListInventoryConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListInventoryConfigurationsResponse, error)
	AdminCreateInventoryConfigurationShort(params *AdminCreateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateInventoryConfigurationResponse, error)
	AdminGetInventoryConfigurationShort(params *AdminGetInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetInventoryConfigurationResponse, error)
	AdminUpdateInventoryConfigurationShort(params *AdminUpdateInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateInventoryConfigurationResponse, error)
	AdminDeleteInventoryConfigurationShort(params *AdminDeleteInventoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteInventoryConfigurationResponse, 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 inventory configurations API client.

Jump to

Keyboard shortcuts

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