Documentation ¶
Index ¶
- type AdminCreateChainingOperationsBadRequest
- type AdminCreateChainingOperationsForbidden
- type AdminCreateChainingOperationsInternalServerError
- type AdminCreateChainingOperationsNotFound
- type AdminCreateChainingOperationsOK
- type AdminCreateChainingOperationsParams
- func NewAdminCreateChainingOperationsParams() *AdminCreateChainingOperationsParams
- func NewAdminCreateChainingOperationsParamsWithContext(ctx context.Context) *AdminCreateChainingOperationsParams
- func NewAdminCreateChainingOperationsParamsWithHTTPClient(client *http.Client) *AdminCreateChainingOperationsParams
- func NewAdminCreateChainingOperationsParamsWithTimeout(timeout time.Duration) *AdminCreateChainingOperationsParams
- func (o *AdminCreateChainingOperationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateChainingOperationsParams) SetBody(body *inventoryclientmodels.ApimodelsChainingOperationReq)
- func (o *AdminCreateChainingOperationsParams) SetContext(ctx context.Context)
- func (o *AdminCreateChainingOperationsParams) SetFlightId(flightId string)
- func (o *AdminCreateChainingOperationsParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateChainingOperationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminCreateChainingOperationsParams) SetNamespace(namespace string)
- func (o *AdminCreateChainingOperationsParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateChainingOperationsParams) WithBody(body *inventoryclientmodels.ApimodelsChainingOperationReq) *AdminCreateChainingOperationsParams
- func (o *AdminCreateChainingOperationsParams) WithContext(ctx context.Context) *AdminCreateChainingOperationsParams
- func (o *AdminCreateChainingOperationsParams) WithHTTPClient(client *http.Client) *AdminCreateChainingOperationsParams
- func (o *AdminCreateChainingOperationsParams) WithNamespace(namespace string) *AdminCreateChainingOperationsParams
- func (o *AdminCreateChainingOperationsParams) WithTimeout(timeout time.Duration) *AdminCreateChainingOperationsParams
- func (o *AdminCreateChainingOperationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateChainingOperationsReader
- type AdminCreateChainingOperationsUnauthorized
- type Client
- func (a *Client) AdminCreateChainingOperations(params *AdminCreateChainingOperationsParams, ...) (*AdminCreateChainingOperationsOK, *AdminCreateChainingOperationsBadRequest, ...)deprecated
- func (a *Client) AdminCreateChainingOperationsShort(params *AdminCreateChainingOperationsParams, ...) (*AdminCreateChainingOperationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateChainingOperationsBadRequest ¶
type AdminCreateChainingOperationsBadRequest struct {
Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}
AdminCreateChainingOperationsBadRequest handles this case with default header values.
Bad Request
func NewAdminCreateChainingOperationsBadRequest ¶
func NewAdminCreateChainingOperationsBadRequest() *AdminCreateChainingOperationsBadRequest
NewAdminCreateChainingOperationsBadRequest creates a AdminCreateChainingOperationsBadRequest with default headers values
func (*AdminCreateChainingOperationsBadRequest) Error ¶
func (o *AdminCreateChainingOperationsBadRequest) Error() string
func (*AdminCreateChainingOperationsBadRequest) GetPayload ¶
func (o *AdminCreateChainingOperationsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsChainingOperationResp
func (*AdminCreateChainingOperationsBadRequest) ToJSONString ¶
func (o *AdminCreateChainingOperationsBadRequest) ToJSONString() string
type AdminCreateChainingOperationsForbidden ¶
type AdminCreateChainingOperationsForbidden struct {
Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}
AdminCreateChainingOperationsForbidden handles this case with default header values.
Forbidden
func NewAdminCreateChainingOperationsForbidden ¶
func NewAdminCreateChainingOperationsForbidden() *AdminCreateChainingOperationsForbidden
NewAdminCreateChainingOperationsForbidden creates a AdminCreateChainingOperationsForbidden with default headers values
func (*AdminCreateChainingOperationsForbidden) Error ¶
func (o *AdminCreateChainingOperationsForbidden) Error() string
func (*AdminCreateChainingOperationsForbidden) GetPayload ¶
func (o *AdminCreateChainingOperationsForbidden) GetPayload() *inventoryclientmodels.ApimodelsChainingOperationResp
func (*AdminCreateChainingOperationsForbidden) ToJSONString ¶
func (o *AdminCreateChainingOperationsForbidden) ToJSONString() string
type AdminCreateChainingOperationsInternalServerError ¶
type AdminCreateChainingOperationsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}
AdminCreateChainingOperationsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminCreateChainingOperationsInternalServerError ¶
func NewAdminCreateChainingOperationsInternalServerError() *AdminCreateChainingOperationsInternalServerError
NewAdminCreateChainingOperationsInternalServerError creates a AdminCreateChainingOperationsInternalServerError with default headers values
func (*AdminCreateChainingOperationsInternalServerError) Error ¶
func (o *AdminCreateChainingOperationsInternalServerError) Error() string
func (*AdminCreateChainingOperationsInternalServerError) GetPayload ¶
func (o *AdminCreateChainingOperationsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsChainingOperationResp
func (*AdminCreateChainingOperationsInternalServerError) ToJSONString ¶
func (o *AdminCreateChainingOperationsInternalServerError) ToJSONString() string
type AdminCreateChainingOperationsNotFound ¶
type AdminCreateChainingOperationsNotFound struct {
Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}
AdminCreateChainingOperationsNotFound handles this case with default header values.
Not Found
func NewAdminCreateChainingOperationsNotFound ¶
func NewAdminCreateChainingOperationsNotFound() *AdminCreateChainingOperationsNotFound
NewAdminCreateChainingOperationsNotFound creates a AdminCreateChainingOperationsNotFound with default headers values
func (*AdminCreateChainingOperationsNotFound) Error ¶
func (o *AdminCreateChainingOperationsNotFound) Error() string
func (*AdminCreateChainingOperationsNotFound) GetPayload ¶
func (o *AdminCreateChainingOperationsNotFound) GetPayload() *inventoryclientmodels.ApimodelsChainingOperationResp
func (*AdminCreateChainingOperationsNotFound) ToJSONString ¶
func (o *AdminCreateChainingOperationsNotFound) ToJSONString() string
type AdminCreateChainingOperationsOK ¶
type AdminCreateChainingOperationsOK struct {
Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}
AdminCreateChainingOperationsOK handles this case with default header values.
OK
func NewAdminCreateChainingOperationsOK ¶
func NewAdminCreateChainingOperationsOK() *AdminCreateChainingOperationsOK
NewAdminCreateChainingOperationsOK creates a AdminCreateChainingOperationsOK with default headers values
func (*AdminCreateChainingOperationsOK) Error ¶
func (o *AdminCreateChainingOperationsOK) Error() string
func (*AdminCreateChainingOperationsOK) GetPayload ¶
func (o *AdminCreateChainingOperationsOK) GetPayload() *inventoryclientmodels.ApimodelsChainingOperationResp
func (*AdminCreateChainingOperationsOK) ToJSONString ¶
func (o *AdminCreateChainingOperationsOK) ToJSONString() string
type AdminCreateChainingOperationsParams ¶
type AdminCreateChainingOperationsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsChainingOperationReq /*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 }
AdminCreateChainingOperationsParams contains all the parameters to send to the API endpoint for the admin create chaining operations operation typically these are written to a http.Request
func NewAdminCreateChainingOperationsParams ¶
func NewAdminCreateChainingOperationsParams() *AdminCreateChainingOperationsParams
NewAdminCreateChainingOperationsParams creates a new AdminCreateChainingOperationsParams object with the default values initialized.
func NewAdminCreateChainingOperationsParamsWithContext ¶
func NewAdminCreateChainingOperationsParamsWithContext(ctx context.Context) *AdminCreateChainingOperationsParams
NewAdminCreateChainingOperationsParamsWithContext creates a new AdminCreateChainingOperationsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateChainingOperationsParamsWithHTTPClient ¶
func NewAdminCreateChainingOperationsParamsWithHTTPClient(client *http.Client) *AdminCreateChainingOperationsParams
NewAdminCreateChainingOperationsParamsWithHTTPClient creates a new AdminCreateChainingOperationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateChainingOperationsParamsWithTimeout ¶
func NewAdminCreateChainingOperationsParamsWithTimeout(timeout time.Duration) *AdminCreateChainingOperationsParams
NewAdminCreateChainingOperationsParamsWithTimeout creates a new AdminCreateChainingOperationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateChainingOperationsParams) SetAuthInfoWriter ¶
func (o *AdminCreateChainingOperationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) SetBody ¶
func (o *AdminCreateChainingOperationsParams) SetBody(body *inventoryclientmodels.ApimodelsChainingOperationReq)
SetBody adds the body to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) SetContext ¶
func (o *AdminCreateChainingOperationsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) SetFlightId ¶ added in v0.63.0
func (o *AdminCreateChainingOperationsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminCreateChainingOperationsParams) SetHTTPClient ¶
func (o *AdminCreateChainingOperationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) SetHTTPClientTransport ¶
func (o *AdminCreateChainingOperationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) SetNamespace ¶
func (o *AdminCreateChainingOperationsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) SetTimeout ¶
func (o *AdminCreateChainingOperationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) WithBody ¶
func (o *AdminCreateChainingOperationsParams) WithBody(body *inventoryclientmodels.ApimodelsChainingOperationReq) *AdminCreateChainingOperationsParams
WithBody adds the body to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) WithContext ¶
func (o *AdminCreateChainingOperationsParams) WithContext(ctx context.Context) *AdminCreateChainingOperationsParams
WithContext adds the context to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) WithHTTPClient ¶
func (o *AdminCreateChainingOperationsParams) WithHTTPClient(client *http.Client) *AdminCreateChainingOperationsParams
WithHTTPClient adds the HTTPClient to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) WithNamespace ¶
func (o *AdminCreateChainingOperationsParams) WithNamespace(namespace string) *AdminCreateChainingOperationsParams
WithNamespace adds the namespace to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) WithTimeout ¶
func (o *AdminCreateChainingOperationsParams) WithTimeout(timeout time.Duration) *AdminCreateChainingOperationsParams
WithTimeout adds the timeout to the admin create chaining operations params
func (*AdminCreateChainingOperationsParams) WriteToRequest ¶
func (o *AdminCreateChainingOperationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateChainingOperationsReader ¶
type AdminCreateChainingOperationsReader struct {
// contains filtered or unexported fields
}
AdminCreateChainingOperationsReader is a Reader for the AdminCreateChainingOperations structure.
func (*AdminCreateChainingOperationsReader) ReadResponse ¶
func (o *AdminCreateChainingOperationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateChainingOperationsUnauthorized ¶
type AdminCreateChainingOperationsUnauthorized struct {
}AdminCreateChainingOperationsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminCreateChainingOperationsUnauthorized ¶
func NewAdminCreateChainingOperationsUnauthorized() *AdminCreateChainingOperationsUnauthorized
NewAdminCreateChainingOperationsUnauthorized creates a AdminCreateChainingOperationsUnauthorized with default headers values
func (*AdminCreateChainingOperationsUnauthorized) Error ¶
func (o *AdminCreateChainingOperationsUnauthorized) Error() string
func (*AdminCreateChainingOperationsUnauthorized) GetPayload ¶
func (o *AdminCreateChainingOperationsUnauthorized) GetPayload() *inventoryclientmodels.ApimodelsChainingOperationResp
func (*AdminCreateChainingOperationsUnauthorized) ToJSONString ¶
func (o *AdminCreateChainingOperationsUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin chaining operations API
func (*Client) AdminCreateChainingOperations
deprecated
func (a *Client) AdminCreateChainingOperations(params *AdminCreateChainingOperationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChainingOperationsOK, *AdminCreateChainingOperationsBadRequest, *AdminCreateChainingOperationsUnauthorized, *AdminCreateChainingOperationsForbidden, *AdminCreateChainingOperationsNotFound, *AdminCreateChainingOperationsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminCreateChainingOperationsShort instead.
AdminCreateChainingOperations to create chaining operation ¶
Create chaining Operations. This process will run sequentially 1. remove item process 2. consume item process 3. update item process 4. create item process if toSpecificInventory set as true, then inventoryId field will be mandatory, vice versa
The behavior of each process is same with current admin level endpoint ¶
requestId: Request id(Optional), client should provide a unique request id to perform at most once execution, When a request id is resubmitted, it will return original successful response replayed : replayed, if true,the response is original successful response. This will not be included in response if client have not pass request id.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]
func (*Client) AdminCreateChainingOperationsShort ¶
func (a *Client) AdminCreateChainingOperationsShort(params *AdminCreateChainingOperationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChainingOperationsOK, error)
AdminCreateChainingOperationsShort to create chaining operation
Create chaining Operations. This process will run sequentially 1. remove item process 2. consume item process 3. update item process 4. create item process if toSpecificInventory set as true, then inventoryId field will be mandatory, vice versa
The behavior of each process is same with current admin level endpoint ¶
requestId: Request id(Optional), client should provide a unique request id to perform at most once execution, When a request id is resubmitted, it will return original successful response replayed : replayed, if true,the response is original successful response. This will not be included in response if client have not pass request id.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminCreateChainingOperations(params *AdminCreateChainingOperationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChainingOperationsOK, *AdminCreateChainingOperationsBadRequest, *AdminCreateChainingOperationsUnauthorized, *AdminCreateChainingOperationsForbidden, *AdminCreateChainingOperationsNotFound, *AdminCreateChainingOperationsInternalServerError, error) AdminCreateChainingOperationsShort(params *AdminCreateChainingOperationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChainingOperationsOK, 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 chaining operations API client.