Documentation
¶
Index ¶
- type Client
- func (a *Client) GetAgentInvocationV3(params *GetAgentInvocationV3Params, opts ...ClientOption) (*GetAgentInvocationV3OK, error)
- func (a *Client) InvokeAgentVersionExternalV1(params *InvokeAgentVersionExternalV1Params, opts ...ClientOption) (*InvokeAgentVersionExternalV1OK, error)
- func (a *Client) InvokePublishedAgentExternalV1(params *InvokePublishedAgentExternalV1Params, opts ...ClientOption) (*InvokePublishedAgentExternalV1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAgentInvocationV3BadRequest
- func (o *GetAgentInvocationV3BadRequest) Code() int
- func (o *GetAgentInvocationV3BadRequest) Error() string
- func (o *GetAgentInvocationV3BadRequest) GetPayload() *models.APIErrorResponse
- func (o *GetAgentInvocationV3BadRequest) IsClientError() bool
- func (o *GetAgentInvocationV3BadRequest) IsCode(code int) bool
- func (o *GetAgentInvocationV3BadRequest) IsRedirect() bool
- func (o *GetAgentInvocationV3BadRequest) IsServerError() bool
- func (o *GetAgentInvocationV3BadRequest) IsSuccess() bool
- func (o *GetAgentInvocationV3BadRequest) String() string
- type GetAgentInvocationV3Forbidden
- func (o *GetAgentInvocationV3Forbidden) Code() int
- func (o *GetAgentInvocationV3Forbidden) Error() string
- func (o *GetAgentInvocationV3Forbidden) GetPayload() *models.APIErrorResponse
- func (o *GetAgentInvocationV3Forbidden) IsClientError() bool
- func (o *GetAgentInvocationV3Forbidden) IsCode(code int) bool
- func (o *GetAgentInvocationV3Forbidden) IsRedirect() bool
- func (o *GetAgentInvocationV3Forbidden) IsServerError() bool
- func (o *GetAgentInvocationV3Forbidden) IsSuccess() bool
- func (o *GetAgentInvocationV3Forbidden) String() string
- type GetAgentInvocationV3InternalServerError
- func (o *GetAgentInvocationV3InternalServerError) Code() int
- func (o *GetAgentInvocationV3InternalServerError) Error() string
- func (o *GetAgentInvocationV3InternalServerError) GetPayload() *models.APIErrorResponse
- func (o *GetAgentInvocationV3InternalServerError) IsClientError() bool
- func (o *GetAgentInvocationV3InternalServerError) IsCode(code int) bool
- func (o *GetAgentInvocationV3InternalServerError) IsRedirect() bool
- func (o *GetAgentInvocationV3InternalServerError) IsServerError() bool
- func (o *GetAgentInvocationV3InternalServerError) IsSuccess() bool
- func (o *GetAgentInvocationV3InternalServerError) String() string
- type GetAgentInvocationV3NotFound
- func (o *GetAgentInvocationV3NotFound) Code() int
- func (o *GetAgentInvocationV3NotFound) Error() string
- func (o *GetAgentInvocationV3NotFound) GetPayload() *models.APIErrorResponse
- func (o *GetAgentInvocationV3NotFound) IsClientError() bool
- func (o *GetAgentInvocationV3NotFound) IsCode(code int) bool
- func (o *GetAgentInvocationV3NotFound) IsRedirect() bool
- func (o *GetAgentInvocationV3NotFound) IsServerError() bool
- func (o *GetAgentInvocationV3NotFound) IsSuccess() bool
- func (o *GetAgentInvocationV3NotFound) String() string
- type GetAgentInvocationV3OK
- func (o *GetAgentInvocationV3OK) Code() int
- func (o *GetAgentInvocationV3OK) Error() string
- func (o *GetAgentInvocationV3OK) GetPayload() *models.APIInvokeAgentResponse
- func (o *GetAgentInvocationV3OK) IsClientError() bool
- func (o *GetAgentInvocationV3OK) IsCode(code int) bool
- func (o *GetAgentInvocationV3OK) IsRedirect() bool
- func (o *GetAgentInvocationV3OK) IsServerError() bool
- func (o *GetAgentInvocationV3OK) IsSuccess() bool
- func (o *GetAgentInvocationV3OK) String() string
- type GetAgentInvocationV3Params
- func NewGetAgentInvocationV3Params() *GetAgentInvocationV3Params
- func NewGetAgentInvocationV3ParamsWithContext(ctx context.Context) *GetAgentInvocationV3Params
- func NewGetAgentInvocationV3ParamsWithHTTPClient(client *http.Client) *GetAgentInvocationV3Params
- func NewGetAgentInvocationV3ParamsWithTimeout(timeout time.Duration) *GetAgentInvocationV3Params
- func (o *GetAgentInvocationV3Params) SetContext(ctx context.Context)
- func (o *GetAgentInvocationV3Params) SetDefaults()
- func (o *GetAgentInvocationV3Params) SetHTTPClient(client *http.Client)
- func (o *GetAgentInvocationV3Params) SetID(id string)
- func (o *GetAgentInvocationV3Params) SetTimeout(timeout time.Duration)
- func (o *GetAgentInvocationV3Params) WithContext(ctx context.Context) *GetAgentInvocationV3Params
- func (o *GetAgentInvocationV3Params) WithDefaults() *GetAgentInvocationV3Params
- func (o *GetAgentInvocationV3Params) WithHTTPClient(client *http.Client) *GetAgentInvocationV3Params
- func (o *GetAgentInvocationV3Params) WithID(id string) *GetAgentInvocationV3Params
- func (o *GetAgentInvocationV3Params) WithTimeout(timeout time.Duration) *GetAgentInvocationV3Params
- func (o *GetAgentInvocationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentInvocationV3Reader
- type GetAgentInvocationV3TooManyRequests
- func (o *GetAgentInvocationV3TooManyRequests) Code() int
- func (o *GetAgentInvocationV3TooManyRequests) Error() string
- func (o *GetAgentInvocationV3TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAgentInvocationV3TooManyRequests) IsClientError() bool
- func (o *GetAgentInvocationV3TooManyRequests) IsCode(code int) bool
- func (o *GetAgentInvocationV3TooManyRequests) IsRedirect() bool
- func (o *GetAgentInvocationV3TooManyRequests) IsServerError() bool
- func (o *GetAgentInvocationV3TooManyRequests) IsSuccess() bool
- func (o *GetAgentInvocationV3TooManyRequests) String() string
- type InvokeAgentVersionExternalV1BadRequest
- func (o *InvokeAgentVersionExternalV1BadRequest) Code() int
- func (o *InvokeAgentVersionExternalV1BadRequest) Error() string
- func (o *InvokeAgentVersionExternalV1BadRequest) GetPayload() *models.APIErrorResponse
- func (o *InvokeAgentVersionExternalV1BadRequest) IsClientError() bool
- func (o *InvokeAgentVersionExternalV1BadRequest) IsCode(code int) bool
- func (o *InvokeAgentVersionExternalV1BadRequest) IsRedirect() bool
- func (o *InvokeAgentVersionExternalV1BadRequest) IsServerError() bool
- func (o *InvokeAgentVersionExternalV1BadRequest) IsSuccess() bool
- func (o *InvokeAgentVersionExternalV1BadRequest) String() string
- type InvokeAgentVersionExternalV1Forbidden
- func (o *InvokeAgentVersionExternalV1Forbidden) Code() int
- func (o *InvokeAgentVersionExternalV1Forbidden) Error() string
- func (o *InvokeAgentVersionExternalV1Forbidden) GetPayload() *models.APIErrorResponse
- func (o *InvokeAgentVersionExternalV1Forbidden) IsClientError() bool
- func (o *InvokeAgentVersionExternalV1Forbidden) IsCode(code int) bool
- func (o *InvokeAgentVersionExternalV1Forbidden) IsRedirect() bool
- func (o *InvokeAgentVersionExternalV1Forbidden) IsServerError() bool
- func (o *InvokeAgentVersionExternalV1Forbidden) IsSuccess() bool
- func (o *InvokeAgentVersionExternalV1Forbidden) String() string
- type InvokeAgentVersionExternalV1InternalServerError
- func (o *InvokeAgentVersionExternalV1InternalServerError) Code() int
- func (o *InvokeAgentVersionExternalV1InternalServerError) Error() string
- func (o *InvokeAgentVersionExternalV1InternalServerError) GetPayload() *models.APIErrorResponse
- func (o *InvokeAgentVersionExternalV1InternalServerError) IsClientError() bool
- func (o *InvokeAgentVersionExternalV1InternalServerError) IsCode(code int) bool
- func (o *InvokeAgentVersionExternalV1InternalServerError) IsRedirect() bool
- func (o *InvokeAgentVersionExternalV1InternalServerError) IsServerError() bool
- func (o *InvokeAgentVersionExternalV1InternalServerError) IsSuccess() bool
- func (o *InvokeAgentVersionExternalV1InternalServerError) String() string
- type InvokeAgentVersionExternalV1NotFound
- func (o *InvokeAgentVersionExternalV1NotFound) Code() int
- func (o *InvokeAgentVersionExternalV1NotFound) Error() string
- func (o *InvokeAgentVersionExternalV1NotFound) GetPayload() *models.APIErrorResponse
- func (o *InvokeAgentVersionExternalV1NotFound) IsClientError() bool
- func (o *InvokeAgentVersionExternalV1NotFound) IsCode(code int) bool
- func (o *InvokeAgentVersionExternalV1NotFound) IsRedirect() bool
- func (o *InvokeAgentVersionExternalV1NotFound) IsServerError() bool
- func (o *InvokeAgentVersionExternalV1NotFound) IsSuccess() bool
- func (o *InvokeAgentVersionExternalV1NotFound) String() string
- type InvokeAgentVersionExternalV1OK
- func (o *InvokeAgentVersionExternalV1OK) Code() int
- func (o *InvokeAgentVersionExternalV1OK) Error() string
- func (o *InvokeAgentVersionExternalV1OK) GetPayload() *models.APIInvokeAgentResponse
- func (o *InvokeAgentVersionExternalV1OK) IsClientError() bool
- func (o *InvokeAgentVersionExternalV1OK) IsCode(code int) bool
- func (o *InvokeAgentVersionExternalV1OK) IsRedirect() bool
- func (o *InvokeAgentVersionExternalV1OK) IsServerError() bool
- func (o *InvokeAgentVersionExternalV1OK) IsSuccess() bool
- func (o *InvokeAgentVersionExternalV1OK) String() string
- type InvokeAgentVersionExternalV1Params
- func NewInvokeAgentVersionExternalV1Params() *InvokeAgentVersionExternalV1Params
- func NewInvokeAgentVersionExternalV1ParamsWithContext(ctx context.Context) *InvokeAgentVersionExternalV1Params
- func NewInvokeAgentVersionExternalV1ParamsWithHTTPClient(client *http.Client) *InvokeAgentVersionExternalV1Params
- func NewInvokeAgentVersionExternalV1ParamsWithTimeout(timeout time.Duration) *InvokeAgentVersionExternalV1Params
- func (o *InvokeAgentVersionExternalV1Params) SetBody(body *models.APIInvokeAgentVersionExternalRequest)
- func (o *InvokeAgentVersionExternalV1Params) SetContext(ctx context.Context)
- func (o *InvokeAgentVersionExternalV1Params) SetDefaults()
- func (o *InvokeAgentVersionExternalV1Params) SetHTTPClient(client *http.Client)
- func (o *InvokeAgentVersionExternalV1Params) SetTimeout(timeout time.Duration)
- func (o *InvokeAgentVersionExternalV1Params) WithBody(body *models.APIInvokeAgentVersionExternalRequest) *InvokeAgentVersionExternalV1Params
- func (o *InvokeAgentVersionExternalV1Params) WithContext(ctx context.Context) *InvokeAgentVersionExternalV1Params
- func (o *InvokeAgentVersionExternalV1Params) WithDefaults() *InvokeAgentVersionExternalV1Params
- func (o *InvokeAgentVersionExternalV1Params) WithHTTPClient(client *http.Client) *InvokeAgentVersionExternalV1Params
- func (o *InvokeAgentVersionExternalV1Params) WithTimeout(timeout time.Duration) *InvokeAgentVersionExternalV1Params
- func (o *InvokeAgentVersionExternalV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvokeAgentVersionExternalV1PaymentRequired
- func (o *InvokeAgentVersionExternalV1PaymentRequired) Code() int
- func (o *InvokeAgentVersionExternalV1PaymentRequired) Error() string
- func (o *InvokeAgentVersionExternalV1PaymentRequired) GetPayload() *models.APIErrorResponse
- func (o *InvokeAgentVersionExternalV1PaymentRequired) IsClientError() bool
- func (o *InvokeAgentVersionExternalV1PaymentRequired) IsCode(code int) bool
- func (o *InvokeAgentVersionExternalV1PaymentRequired) IsRedirect() bool
- func (o *InvokeAgentVersionExternalV1PaymentRequired) IsServerError() bool
- func (o *InvokeAgentVersionExternalV1PaymentRequired) IsSuccess() bool
- func (o *InvokeAgentVersionExternalV1PaymentRequired) String() string
- type InvokeAgentVersionExternalV1Reader
- type InvokeAgentVersionExternalV1TooManyRequests
- func (o *InvokeAgentVersionExternalV1TooManyRequests) Code() int
- func (o *InvokeAgentVersionExternalV1TooManyRequests) Error() string
- func (o *InvokeAgentVersionExternalV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *InvokeAgentVersionExternalV1TooManyRequests) IsClientError() bool
- func (o *InvokeAgentVersionExternalV1TooManyRequests) IsCode(code int) bool
- func (o *InvokeAgentVersionExternalV1TooManyRequests) IsRedirect() bool
- func (o *InvokeAgentVersionExternalV1TooManyRequests) IsServerError() bool
- func (o *InvokeAgentVersionExternalV1TooManyRequests) IsSuccess() bool
- func (o *InvokeAgentVersionExternalV1TooManyRequests) String() string
- type InvokePublishedAgentExternalV1BadRequest
- func (o *InvokePublishedAgentExternalV1BadRequest) Code() int
- func (o *InvokePublishedAgentExternalV1BadRequest) Error() string
- func (o *InvokePublishedAgentExternalV1BadRequest) GetPayload() *models.APIErrorResponse
- func (o *InvokePublishedAgentExternalV1BadRequest) IsClientError() bool
- func (o *InvokePublishedAgentExternalV1BadRequest) IsCode(code int) bool
- func (o *InvokePublishedAgentExternalV1BadRequest) IsRedirect() bool
- func (o *InvokePublishedAgentExternalV1BadRequest) IsServerError() bool
- func (o *InvokePublishedAgentExternalV1BadRequest) IsSuccess() bool
- func (o *InvokePublishedAgentExternalV1BadRequest) String() string
- type InvokePublishedAgentExternalV1Forbidden
- func (o *InvokePublishedAgentExternalV1Forbidden) Code() int
- func (o *InvokePublishedAgentExternalV1Forbidden) Error() string
- func (o *InvokePublishedAgentExternalV1Forbidden) GetPayload() *models.APIErrorResponse
- func (o *InvokePublishedAgentExternalV1Forbidden) IsClientError() bool
- func (o *InvokePublishedAgentExternalV1Forbidden) IsCode(code int) bool
- func (o *InvokePublishedAgentExternalV1Forbidden) IsRedirect() bool
- func (o *InvokePublishedAgentExternalV1Forbidden) IsServerError() bool
- func (o *InvokePublishedAgentExternalV1Forbidden) IsSuccess() bool
- func (o *InvokePublishedAgentExternalV1Forbidden) String() string
- type InvokePublishedAgentExternalV1InternalServerError
- func (o *InvokePublishedAgentExternalV1InternalServerError) Code() int
- func (o *InvokePublishedAgentExternalV1InternalServerError) Error() string
- func (o *InvokePublishedAgentExternalV1InternalServerError) GetPayload() *models.APIErrorResponse
- func (o *InvokePublishedAgentExternalV1InternalServerError) IsClientError() bool
- func (o *InvokePublishedAgentExternalV1InternalServerError) IsCode(code int) bool
- func (o *InvokePublishedAgentExternalV1InternalServerError) IsRedirect() bool
- func (o *InvokePublishedAgentExternalV1InternalServerError) IsServerError() bool
- func (o *InvokePublishedAgentExternalV1InternalServerError) IsSuccess() bool
- func (o *InvokePublishedAgentExternalV1InternalServerError) String() string
- type InvokePublishedAgentExternalV1NotFound
- func (o *InvokePublishedAgentExternalV1NotFound) Code() int
- func (o *InvokePublishedAgentExternalV1NotFound) Error() string
- func (o *InvokePublishedAgentExternalV1NotFound) GetPayload() *models.APIErrorResponse
- func (o *InvokePublishedAgentExternalV1NotFound) IsClientError() bool
- func (o *InvokePublishedAgentExternalV1NotFound) IsCode(code int) bool
- func (o *InvokePublishedAgentExternalV1NotFound) IsRedirect() bool
- func (o *InvokePublishedAgentExternalV1NotFound) IsServerError() bool
- func (o *InvokePublishedAgentExternalV1NotFound) IsSuccess() bool
- func (o *InvokePublishedAgentExternalV1NotFound) String() string
- type InvokePublishedAgentExternalV1OK
- func (o *InvokePublishedAgentExternalV1OK) Code() int
- func (o *InvokePublishedAgentExternalV1OK) Error() string
- func (o *InvokePublishedAgentExternalV1OK) GetPayload() *models.APIInvokeAgentResponse
- func (o *InvokePublishedAgentExternalV1OK) IsClientError() bool
- func (o *InvokePublishedAgentExternalV1OK) IsCode(code int) bool
- func (o *InvokePublishedAgentExternalV1OK) IsRedirect() bool
- func (o *InvokePublishedAgentExternalV1OK) IsServerError() bool
- func (o *InvokePublishedAgentExternalV1OK) IsSuccess() bool
- func (o *InvokePublishedAgentExternalV1OK) String() string
- type InvokePublishedAgentExternalV1Params
- func NewInvokePublishedAgentExternalV1Params() *InvokePublishedAgentExternalV1Params
- func NewInvokePublishedAgentExternalV1ParamsWithContext(ctx context.Context) *InvokePublishedAgentExternalV1Params
- func NewInvokePublishedAgentExternalV1ParamsWithHTTPClient(client *http.Client) *InvokePublishedAgentExternalV1Params
- func NewInvokePublishedAgentExternalV1ParamsWithTimeout(timeout time.Duration) *InvokePublishedAgentExternalV1Params
- func (o *InvokePublishedAgentExternalV1Params) SetBody(body *models.APIInvokePublishedAgentExternalRequest)
- func (o *InvokePublishedAgentExternalV1Params) SetContext(ctx context.Context)
- func (o *InvokePublishedAgentExternalV1Params) SetDefaults()
- func (o *InvokePublishedAgentExternalV1Params) SetHTTPClient(client *http.Client)
- func (o *InvokePublishedAgentExternalV1Params) SetTimeout(timeout time.Duration)
- func (o *InvokePublishedAgentExternalV1Params) WithBody(body *models.APIInvokePublishedAgentExternalRequest) *InvokePublishedAgentExternalV1Params
- func (o *InvokePublishedAgentExternalV1Params) WithContext(ctx context.Context) *InvokePublishedAgentExternalV1Params
- func (o *InvokePublishedAgentExternalV1Params) WithDefaults() *InvokePublishedAgentExternalV1Params
- func (o *InvokePublishedAgentExternalV1Params) WithHTTPClient(client *http.Client) *InvokePublishedAgentExternalV1Params
- func (o *InvokePublishedAgentExternalV1Params) WithTimeout(timeout time.Duration) *InvokePublishedAgentExternalV1Params
- func (o *InvokePublishedAgentExternalV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InvokePublishedAgentExternalV1PaymentRequired
- func (o *InvokePublishedAgentExternalV1PaymentRequired) Code() int
- func (o *InvokePublishedAgentExternalV1PaymentRequired) Error() string
- func (o *InvokePublishedAgentExternalV1PaymentRequired) GetPayload() *models.APIErrorResponse
- func (o *InvokePublishedAgentExternalV1PaymentRequired) IsClientError() bool
- func (o *InvokePublishedAgentExternalV1PaymentRequired) IsCode(code int) bool
- func (o *InvokePublishedAgentExternalV1PaymentRequired) IsRedirect() bool
- func (o *InvokePublishedAgentExternalV1PaymentRequired) IsServerError() bool
- func (o *InvokePublishedAgentExternalV1PaymentRequired) IsSuccess() bool
- func (o *InvokePublishedAgentExternalV1PaymentRequired) String() string
- type InvokePublishedAgentExternalV1Reader
- type InvokePublishedAgentExternalV1TooManyRequests
- func (o *InvokePublishedAgentExternalV1TooManyRequests) Code() int
- func (o *InvokePublishedAgentExternalV1TooManyRequests) Error() string
- func (o *InvokePublishedAgentExternalV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *InvokePublishedAgentExternalV1TooManyRequests) IsClientError() bool
- func (o *InvokePublishedAgentExternalV1TooManyRequests) IsCode(code int) bool
- func (o *InvokePublishedAgentExternalV1TooManyRequests) IsRedirect() bool
- func (o *InvokePublishedAgentExternalV1TooManyRequests) IsServerError() bool
- func (o *InvokePublishedAgentExternalV1TooManyRequests) IsSuccess() bool
- func (o *InvokePublishedAgentExternalV1TooManyRequests) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for agent invocation API
func (*Client) GetAgentInvocationV3 ¶
func (a *Client) GetAgentInvocationV3(params *GetAgentInvocationV3Params, opts ...ClientOption) (*GetAgentInvocationV3OK, error)
GetAgentInvocationV3 retrieves the list of of messages that are resulted from the specified invocation
func (*Client) InvokeAgentVersionExternalV1 ¶
func (a *Client) InvokeAgentVersionExternalV1(params *InvokeAgentVersionExternalV1Params, opts ...ClientOption) (*InvokeAgentVersionExternalV1OK, error)
InvokeAgentVersionExternalV1 invokes a specific agent version by agent ID and version ID with the specified input returns the agent s completion response
func (*Client) InvokePublishedAgentExternalV1 ¶
func (a *Client) InvokePublishedAgentExternalV1(params *InvokePublishedAgentExternalV1Params, opts ...ClientOption) (*InvokePublishedAgentExternalV1OK, error)
InvokePublishedAgentExternalV1 invokes a published agent by ID with the specified input returns the agent s completion response
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
GetAgentInvocationV3(params *GetAgentInvocationV3Params, opts ...ClientOption) (*GetAgentInvocationV3OK, error)
InvokeAgentVersionExternalV1(params *InvokeAgentVersionExternalV1Params, opts ...ClientOption) (*InvokeAgentVersionExternalV1OK, error)
InvokePublishedAgentExternalV1(params *InvokePublishedAgentExternalV1Params, opts ...ClientOption) (*InvokePublishedAgentExternalV1OK, 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 agent invocation API client.
type GetAgentInvocationV3BadRequest ¶
type GetAgentInvocationV3BadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
GetAgentInvocationV3BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAgentInvocationV3BadRequest ¶
func NewGetAgentInvocationV3BadRequest() *GetAgentInvocationV3BadRequest
NewGetAgentInvocationV3BadRequest creates a GetAgentInvocationV3BadRequest with default headers values
func (*GetAgentInvocationV3BadRequest) Code ¶
func (o *GetAgentInvocationV3BadRequest) Code() int
Code gets the status code for the get agent invocation v3 bad request response
func (*GetAgentInvocationV3BadRequest) Error ¶
func (o *GetAgentInvocationV3BadRequest) Error() string
func (*GetAgentInvocationV3BadRequest) GetPayload ¶
func (o *GetAgentInvocationV3BadRequest) GetPayload() *models.APIErrorResponse
func (*GetAgentInvocationV3BadRequest) IsClientError ¶
func (o *GetAgentInvocationV3BadRequest) IsClientError() bool
IsClientError returns true when this get agent invocation v3 bad request response has a 4xx status code
func (*GetAgentInvocationV3BadRequest) IsCode ¶
func (o *GetAgentInvocationV3BadRequest) IsCode(code int) bool
IsCode returns true when this get agent invocation v3 bad request response a status code equal to that given
func (*GetAgentInvocationV3BadRequest) IsRedirect ¶
func (o *GetAgentInvocationV3BadRequest) IsRedirect() bool
IsRedirect returns true when this get agent invocation v3 bad request response has a 3xx status code
func (*GetAgentInvocationV3BadRequest) IsServerError ¶
func (o *GetAgentInvocationV3BadRequest) IsServerError() bool
IsServerError returns true when this get agent invocation v3 bad request response has a 5xx status code
func (*GetAgentInvocationV3BadRequest) IsSuccess ¶
func (o *GetAgentInvocationV3BadRequest) IsSuccess() bool
IsSuccess returns true when this get agent invocation v3 bad request response has a 2xx status code
func (*GetAgentInvocationV3BadRequest) String ¶
func (o *GetAgentInvocationV3BadRequest) String() string
type GetAgentInvocationV3Forbidden ¶
type GetAgentInvocationV3Forbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
GetAgentInvocationV3Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAgentInvocationV3Forbidden ¶
func NewGetAgentInvocationV3Forbidden() *GetAgentInvocationV3Forbidden
NewGetAgentInvocationV3Forbidden creates a GetAgentInvocationV3Forbidden with default headers values
func (*GetAgentInvocationV3Forbidden) Code ¶
func (o *GetAgentInvocationV3Forbidden) Code() int
Code gets the status code for the get agent invocation v3 forbidden response
func (*GetAgentInvocationV3Forbidden) Error ¶
func (o *GetAgentInvocationV3Forbidden) Error() string
func (*GetAgentInvocationV3Forbidden) GetPayload ¶
func (o *GetAgentInvocationV3Forbidden) GetPayload() *models.APIErrorResponse
func (*GetAgentInvocationV3Forbidden) IsClientError ¶
func (o *GetAgentInvocationV3Forbidden) IsClientError() bool
IsClientError returns true when this get agent invocation v3 forbidden response has a 4xx status code
func (*GetAgentInvocationV3Forbidden) IsCode ¶
func (o *GetAgentInvocationV3Forbidden) IsCode(code int) bool
IsCode returns true when this get agent invocation v3 forbidden response a status code equal to that given
func (*GetAgentInvocationV3Forbidden) IsRedirect ¶
func (o *GetAgentInvocationV3Forbidden) IsRedirect() bool
IsRedirect returns true when this get agent invocation v3 forbidden response has a 3xx status code
func (*GetAgentInvocationV3Forbidden) IsServerError ¶
func (o *GetAgentInvocationV3Forbidden) IsServerError() bool
IsServerError returns true when this get agent invocation v3 forbidden response has a 5xx status code
func (*GetAgentInvocationV3Forbidden) IsSuccess ¶
func (o *GetAgentInvocationV3Forbidden) IsSuccess() bool
IsSuccess returns true when this get agent invocation v3 forbidden response has a 2xx status code
func (*GetAgentInvocationV3Forbidden) String ¶
func (o *GetAgentInvocationV3Forbidden) String() string
type GetAgentInvocationV3InternalServerError ¶
type GetAgentInvocationV3InternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
GetAgentInvocationV3InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAgentInvocationV3InternalServerError ¶
func NewGetAgentInvocationV3InternalServerError() *GetAgentInvocationV3InternalServerError
NewGetAgentInvocationV3InternalServerError creates a GetAgentInvocationV3InternalServerError with default headers values
func (*GetAgentInvocationV3InternalServerError) Code ¶
func (o *GetAgentInvocationV3InternalServerError) Code() int
Code gets the status code for the get agent invocation v3 internal server error response
func (*GetAgentInvocationV3InternalServerError) Error ¶
func (o *GetAgentInvocationV3InternalServerError) Error() string
func (*GetAgentInvocationV3InternalServerError) GetPayload ¶
func (o *GetAgentInvocationV3InternalServerError) GetPayload() *models.APIErrorResponse
func (*GetAgentInvocationV3InternalServerError) IsClientError ¶
func (o *GetAgentInvocationV3InternalServerError) IsClientError() bool
IsClientError returns true when this get agent invocation v3 internal server error response has a 4xx status code
func (*GetAgentInvocationV3InternalServerError) IsCode ¶
func (o *GetAgentInvocationV3InternalServerError) IsCode(code int) bool
IsCode returns true when this get agent invocation v3 internal server error response a status code equal to that given
func (*GetAgentInvocationV3InternalServerError) IsRedirect ¶
func (o *GetAgentInvocationV3InternalServerError) IsRedirect() bool
IsRedirect returns true when this get agent invocation v3 internal server error response has a 3xx status code
func (*GetAgentInvocationV3InternalServerError) IsServerError ¶
func (o *GetAgentInvocationV3InternalServerError) IsServerError() bool
IsServerError returns true when this get agent invocation v3 internal server error response has a 5xx status code
func (*GetAgentInvocationV3InternalServerError) IsSuccess ¶
func (o *GetAgentInvocationV3InternalServerError) IsSuccess() bool
IsSuccess returns true when this get agent invocation v3 internal server error response has a 2xx status code
func (*GetAgentInvocationV3InternalServerError) String ¶
func (o *GetAgentInvocationV3InternalServerError) String() string
type GetAgentInvocationV3NotFound ¶
type GetAgentInvocationV3NotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
GetAgentInvocationV3NotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAgentInvocationV3NotFound ¶
func NewGetAgentInvocationV3NotFound() *GetAgentInvocationV3NotFound
NewGetAgentInvocationV3NotFound creates a GetAgentInvocationV3NotFound with default headers values
func (*GetAgentInvocationV3NotFound) Code ¶
func (o *GetAgentInvocationV3NotFound) Code() int
Code gets the status code for the get agent invocation v3 not found response
func (*GetAgentInvocationV3NotFound) Error ¶
func (o *GetAgentInvocationV3NotFound) Error() string
func (*GetAgentInvocationV3NotFound) GetPayload ¶
func (o *GetAgentInvocationV3NotFound) GetPayload() *models.APIErrorResponse
func (*GetAgentInvocationV3NotFound) IsClientError ¶
func (o *GetAgentInvocationV3NotFound) IsClientError() bool
IsClientError returns true when this get agent invocation v3 not found response has a 4xx status code
func (*GetAgentInvocationV3NotFound) IsCode ¶
func (o *GetAgentInvocationV3NotFound) IsCode(code int) bool
IsCode returns true when this get agent invocation v3 not found response a status code equal to that given
func (*GetAgentInvocationV3NotFound) IsRedirect ¶
func (o *GetAgentInvocationV3NotFound) IsRedirect() bool
IsRedirect returns true when this get agent invocation v3 not found response has a 3xx status code
func (*GetAgentInvocationV3NotFound) IsServerError ¶
func (o *GetAgentInvocationV3NotFound) IsServerError() bool
IsServerError returns true when this get agent invocation v3 not found response has a 5xx status code
func (*GetAgentInvocationV3NotFound) IsSuccess ¶
func (o *GetAgentInvocationV3NotFound) IsSuccess() bool
IsSuccess returns true when this get agent invocation v3 not found response has a 2xx status code
func (*GetAgentInvocationV3NotFound) String ¶
func (o *GetAgentInvocationV3NotFound) String() string
type GetAgentInvocationV3OK ¶
type GetAgentInvocationV3OK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIInvokeAgentResponse
}
GetAgentInvocationV3OK describes a response with status code 200, with default header values.
Successfully invoked
func NewGetAgentInvocationV3OK ¶
func NewGetAgentInvocationV3OK() *GetAgentInvocationV3OK
NewGetAgentInvocationV3OK creates a GetAgentInvocationV3OK with default headers values
func (*GetAgentInvocationV3OK) Code ¶
func (o *GetAgentInvocationV3OK) Code() int
Code gets the status code for the get agent invocation v3 o k response
func (*GetAgentInvocationV3OK) Error ¶
func (o *GetAgentInvocationV3OK) Error() string
func (*GetAgentInvocationV3OK) GetPayload ¶
func (o *GetAgentInvocationV3OK) GetPayload() *models.APIInvokeAgentResponse
func (*GetAgentInvocationV3OK) IsClientError ¶
func (o *GetAgentInvocationV3OK) IsClientError() bool
IsClientError returns true when this get agent invocation v3 o k response has a 4xx status code
func (*GetAgentInvocationV3OK) IsCode ¶
func (o *GetAgentInvocationV3OK) IsCode(code int) bool
IsCode returns true when this get agent invocation v3 o k response a status code equal to that given
func (*GetAgentInvocationV3OK) IsRedirect ¶
func (o *GetAgentInvocationV3OK) IsRedirect() bool
IsRedirect returns true when this get agent invocation v3 o k response has a 3xx status code
func (*GetAgentInvocationV3OK) IsServerError ¶
func (o *GetAgentInvocationV3OK) IsServerError() bool
IsServerError returns true when this get agent invocation v3 o k response has a 5xx status code
func (*GetAgentInvocationV3OK) IsSuccess ¶
func (o *GetAgentInvocationV3OK) IsSuccess() bool
IsSuccess returns true when this get agent invocation v3 o k response has a 2xx status code
func (*GetAgentInvocationV3OK) String ¶
func (o *GetAgentInvocationV3OK) String() string
type GetAgentInvocationV3Params ¶
type GetAgentInvocationV3Params struct {
/* ID.
Invocation ID
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAgentInvocationV3Params contains all the parameters to send to the API endpoint
for the get agent invocation v3 operation. Typically these are written to a http.Request.
func NewGetAgentInvocationV3Params ¶
func NewGetAgentInvocationV3Params() *GetAgentInvocationV3Params
NewGetAgentInvocationV3Params creates a new GetAgentInvocationV3Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAgentInvocationV3ParamsWithContext ¶
func NewGetAgentInvocationV3ParamsWithContext(ctx context.Context) *GetAgentInvocationV3Params
NewGetAgentInvocationV3ParamsWithContext creates a new GetAgentInvocationV3Params object with the ability to set a context for a request.
func NewGetAgentInvocationV3ParamsWithHTTPClient ¶
func NewGetAgentInvocationV3ParamsWithHTTPClient(client *http.Client) *GetAgentInvocationV3Params
NewGetAgentInvocationV3ParamsWithHTTPClient creates a new GetAgentInvocationV3Params object with the ability to set a custom HTTPClient for a request.
func NewGetAgentInvocationV3ParamsWithTimeout ¶
func NewGetAgentInvocationV3ParamsWithTimeout(timeout time.Duration) *GetAgentInvocationV3Params
NewGetAgentInvocationV3ParamsWithTimeout creates a new GetAgentInvocationV3Params object with the ability to set a timeout on a request.
func (*GetAgentInvocationV3Params) SetContext ¶
func (o *GetAgentInvocationV3Params) SetContext(ctx context.Context)
SetContext adds the context to the get agent invocation v3 params
func (*GetAgentInvocationV3Params) SetDefaults ¶
func (o *GetAgentInvocationV3Params) SetDefaults()
SetDefaults hydrates default values in the get agent invocation v3 params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentInvocationV3Params) SetHTTPClient ¶
func (o *GetAgentInvocationV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get agent invocation v3 params
func (*GetAgentInvocationV3Params) SetID ¶
func (o *GetAgentInvocationV3Params) SetID(id string)
SetID adds the id to the get agent invocation v3 params
func (*GetAgentInvocationV3Params) SetTimeout ¶
func (o *GetAgentInvocationV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get agent invocation v3 params
func (*GetAgentInvocationV3Params) WithContext ¶
func (o *GetAgentInvocationV3Params) WithContext(ctx context.Context) *GetAgentInvocationV3Params
WithContext adds the context to the get agent invocation v3 params
func (*GetAgentInvocationV3Params) WithDefaults ¶
func (o *GetAgentInvocationV3Params) WithDefaults() *GetAgentInvocationV3Params
WithDefaults hydrates default values in the get agent invocation v3 params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentInvocationV3Params) WithHTTPClient ¶
func (o *GetAgentInvocationV3Params) WithHTTPClient(client *http.Client) *GetAgentInvocationV3Params
WithHTTPClient adds the HTTPClient to the get agent invocation v3 params
func (*GetAgentInvocationV3Params) WithID ¶
func (o *GetAgentInvocationV3Params) WithID(id string) *GetAgentInvocationV3Params
WithID adds the id to the get agent invocation v3 params
func (*GetAgentInvocationV3Params) WithTimeout ¶
func (o *GetAgentInvocationV3Params) WithTimeout(timeout time.Duration) *GetAgentInvocationV3Params
WithTimeout adds the timeout to the get agent invocation v3 params
func (*GetAgentInvocationV3Params) WriteToRequest ¶
func (o *GetAgentInvocationV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAgentInvocationV3Reader ¶
type GetAgentInvocationV3Reader struct {
// contains filtered or unexported fields
}
GetAgentInvocationV3Reader is a Reader for the GetAgentInvocationV3 structure.
func (*GetAgentInvocationV3Reader) ReadResponse ¶
func (o *GetAgentInvocationV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAgentInvocationV3TooManyRequests ¶
type GetAgentInvocationV3TooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
GetAgentInvocationV3TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetAgentInvocationV3TooManyRequests ¶
func NewGetAgentInvocationV3TooManyRequests() *GetAgentInvocationV3TooManyRequests
NewGetAgentInvocationV3TooManyRequests creates a GetAgentInvocationV3TooManyRequests with default headers values
func (*GetAgentInvocationV3TooManyRequests) Code ¶
func (o *GetAgentInvocationV3TooManyRequests) Code() int
Code gets the status code for the get agent invocation v3 too many requests response
func (*GetAgentInvocationV3TooManyRequests) Error ¶
func (o *GetAgentInvocationV3TooManyRequests) Error() string
func (*GetAgentInvocationV3TooManyRequests) GetPayload ¶
func (o *GetAgentInvocationV3TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetAgentInvocationV3TooManyRequests) IsClientError ¶
func (o *GetAgentInvocationV3TooManyRequests) IsClientError() bool
IsClientError returns true when this get agent invocation v3 too many requests response has a 4xx status code
func (*GetAgentInvocationV3TooManyRequests) IsCode ¶
func (o *GetAgentInvocationV3TooManyRequests) IsCode(code int) bool
IsCode returns true when this get agent invocation v3 too many requests response a status code equal to that given
func (*GetAgentInvocationV3TooManyRequests) IsRedirect ¶
func (o *GetAgentInvocationV3TooManyRequests) IsRedirect() bool
IsRedirect returns true when this get agent invocation v3 too many requests response has a 3xx status code
func (*GetAgentInvocationV3TooManyRequests) IsServerError ¶
func (o *GetAgentInvocationV3TooManyRequests) IsServerError() bool
IsServerError returns true when this get agent invocation v3 too many requests response has a 5xx status code
func (*GetAgentInvocationV3TooManyRequests) IsSuccess ¶
func (o *GetAgentInvocationV3TooManyRequests) IsSuccess() bool
IsSuccess returns true when this get agent invocation v3 too many requests response has a 2xx status code
func (*GetAgentInvocationV3TooManyRequests) String ¶
func (o *GetAgentInvocationV3TooManyRequests) String() string
type InvokeAgentVersionExternalV1BadRequest ¶
type InvokeAgentVersionExternalV1BadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokeAgentVersionExternalV1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewInvokeAgentVersionExternalV1BadRequest ¶
func NewInvokeAgentVersionExternalV1BadRequest() *InvokeAgentVersionExternalV1BadRequest
NewInvokeAgentVersionExternalV1BadRequest creates a InvokeAgentVersionExternalV1BadRequest with default headers values
func (*InvokeAgentVersionExternalV1BadRequest) Code ¶
func (o *InvokeAgentVersionExternalV1BadRequest) Code() int
Code gets the status code for the invoke agent version external v1 bad request response
func (*InvokeAgentVersionExternalV1BadRequest) Error ¶
func (o *InvokeAgentVersionExternalV1BadRequest) Error() string
func (*InvokeAgentVersionExternalV1BadRequest) GetPayload ¶
func (o *InvokeAgentVersionExternalV1BadRequest) GetPayload() *models.APIErrorResponse
func (*InvokeAgentVersionExternalV1BadRequest) IsClientError ¶
func (o *InvokeAgentVersionExternalV1BadRequest) IsClientError() bool
IsClientError returns true when this invoke agent version external v1 bad request response has a 4xx status code
func (*InvokeAgentVersionExternalV1BadRequest) IsCode ¶
func (o *InvokeAgentVersionExternalV1BadRequest) IsCode(code int) bool
IsCode returns true when this invoke agent version external v1 bad request response a status code equal to that given
func (*InvokeAgentVersionExternalV1BadRequest) IsRedirect ¶
func (o *InvokeAgentVersionExternalV1BadRequest) IsRedirect() bool
IsRedirect returns true when this invoke agent version external v1 bad request response has a 3xx status code
func (*InvokeAgentVersionExternalV1BadRequest) IsServerError ¶
func (o *InvokeAgentVersionExternalV1BadRequest) IsServerError() bool
IsServerError returns true when this invoke agent version external v1 bad request response has a 5xx status code
func (*InvokeAgentVersionExternalV1BadRequest) IsSuccess ¶
func (o *InvokeAgentVersionExternalV1BadRequest) IsSuccess() bool
IsSuccess returns true when this invoke agent version external v1 bad request response has a 2xx status code
func (*InvokeAgentVersionExternalV1BadRequest) String ¶
func (o *InvokeAgentVersionExternalV1BadRequest) String() string
type InvokeAgentVersionExternalV1Forbidden ¶
type InvokeAgentVersionExternalV1Forbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokeAgentVersionExternalV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewInvokeAgentVersionExternalV1Forbidden ¶
func NewInvokeAgentVersionExternalV1Forbidden() *InvokeAgentVersionExternalV1Forbidden
NewInvokeAgentVersionExternalV1Forbidden creates a InvokeAgentVersionExternalV1Forbidden with default headers values
func (*InvokeAgentVersionExternalV1Forbidden) Code ¶
func (o *InvokeAgentVersionExternalV1Forbidden) Code() int
Code gets the status code for the invoke agent version external v1 forbidden response
func (*InvokeAgentVersionExternalV1Forbidden) Error ¶
func (o *InvokeAgentVersionExternalV1Forbidden) Error() string
func (*InvokeAgentVersionExternalV1Forbidden) GetPayload ¶
func (o *InvokeAgentVersionExternalV1Forbidden) GetPayload() *models.APIErrorResponse
func (*InvokeAgentVersionExternalV1Forbidden) IsClientError ¶
func (o *InvokeAgentVersionExternalV1Forbidden) IsClientError() bool
IsClientError returns true when this invoke agent version external v1 forbidden response has a 4xx status code
func (*InvokeAgentVersionExternalV1Forbidden) IsCode ¶
func (o *InvokeAgentVersionExternalV1Forbidden) IsCode(code int) bool
IsCode returns true when this invoke agent version external v1 forbidden response a status code equal to that given
func (*InvokeAgentVersionExternalV1Forbidden) IsRedirect ¶
func (o *InvokeAgentVersionExternalV1Forbidden) IsRedirect() bool
IsRedirect returns true when this invoke agent version external v1 forbidden response has a 3xx status code
func (*InvokeAgentVersionExternalV1Forbidden) IsServerError ¶
func (o *InvokeAgentVersionExternalV1Forbidden) IsServerError() bool
IsServerError returns true when this invoke agent version external v1 forbidden response has a 5xx status code
func (*InvokeAgentVersionExternalV1Forbidden) IsSuccess ¶
func (o *InvokeAgentVersionExternalV1Forbidden) IsSuccess() bool
IsSuccess returns true when this invoke agent version external v1 forbidden response has a 2xx status code
func (*InvokeAgentVersionExternalV1Forbidden) String ¶
func (o *InvokeAgentVersionExternalV1Forbidden) String() string
type InvokeAgentVersionExternalV1InternalServerError ¶
type InvokeAgentVersionExternalV1InternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokeAgentVersionExternalV1InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInvokeAgentVersionExternalV1InternalServerError ¶
func NewInvokeAgentVersionExternalV1InternalServerError() *InvokeAgentVersionExternalV1InternalServerError
NewInvokeAgentVersionExternalV1InternalServerError creates a InvokeAgentVersionExternalV1InternalServerError with default headers values
func (*InvokeAgentVersionExternalV1InternalServerError) Code ¶
func (o *InvokeAgentVersionExternalV1InternalServerError) Code() int
Code gets the status code for the invoke agent version external v1 internal server error response
func (*InvokeAgentVersionExternalV1InternalServerError) Error ¶
func (o *InvokeAgentVersionExternalV1InternalServerError) Error() string
func (*InvokeAgentVersionExternalV1InternalServerError) GetPayload ¶
func (o *InvokeAgentVersionExternalV1InternalServerError) GetPayload() *models.APIErrorResponse
func (*InvokeAgentVersionExternalV1InternalServerError) IsClientError ¶
func (o *InvokeAgentVersionExternalV1InternalServerError) IsClientError() bool
IsClientError returns true when this invoke agent version external v1 internal server error response has a 4xx status code
func (*InvokeAgentVersionExternalV1InternalServerError) IsCode ¶
func (o *InvokeAgentVersionExternalV1InternalServerError) IsCode(code int) bool
IsCode returns true when this invoke agent version external v1 internal server error response a status code equal to that given
func (*InvokeAgentVersionExternalV1InternalServerError) IsRedirect ¶
func (o *InvokeAgentVersionExternalV1InternalServerError) IsRedirect() bool
IsRedirect returns true when this invoke agent version external v1 internal server error response has a 3xx status code
func (*InvokeAgentVersionExternalV1InternalServerError) IsServerError ¶
func (o *InvokeAgentVersionExternalV1InternalServerError) IsServerError() bool
IsServerError returns true when this invoke agent version external v1 internal server error response has a 5xx status code
func (*InvokeAgentVersionExternalV1InternalServerError) IsSuccess ¶
func (o *InvokeAgentVersionExternalV1InternalServerError) IsSuccess() bool
IsSuccess returns true when this invoke agent version external v1 internal server error response has a 2xx status code
func (*InvokeAgentVersionExternalV1InternalServerError) String ¶
func (o *InvokeAgentVersionExternalV1InternalServerError) String() string
type InvokeAgentVersionExternalV1NotFound ¶
type InvokeAgentVersionExternalV1NotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokeAgentVersionExternalV1NotFound describes a response with status code 404, with default header values.
Not Found
func NewInvokeAgentVersionExternalV1NotFound ¶
func NewInvokeAgentVersionExternalV1NotFound() *InvokeAgentVersionExternalV1NotFound
NewInvokeAgentVersionExternalV1NotFound creates a InvokeAgentVersionExternalV1NotFound with default headers values
func (*InvokeAgentVersionExternalV1NotFound) Code ¶
func (o *InvokeAgentVersionExternalV1NotFound) Code() int
Code gets the status code for the invoke agent version external v1 not found response
func (*InvokeAgentVersionExternalV1NotFound) Error ¶
func (o *InvokeAgentVersionExternalV1NotFound) Error() string
func (*InvokeAgentVersionExternalV1NotFound) GetPayload ¶
func (o *InvokeAgentVersionExternalV1NotFound) GetPayload() *models.APIErrorResponse
func (*InvokeAgentVersionExternalV1NotFound) IsClientError ¶
func (o *InvokeAgentVersionExternalV1NotFound) IsClientError() bool
IsClientError returns true when this invoke agent version external v1 not found response has a 4xx status code
func (*InvokeAgentVersionExternalV1NotFound) IsCode ¶
func (o *InvokeAgentVersionExternalV1NotFound) IsCode(code int) bool
IsCode returns true when this invoke agent version external v1 not found response a status code equal to that given
func (*InvokeAgentVersionExternalV1NotFound) IsRedirect ¶
func (o *InvokeAgentVersionExternalV1NotFound) IsRedirect() bool
IsRedirect returns true when this invoke agent version external v1 not found response has a 3xx status code
func (*InvokeAgentVersionExternalV1NotFound) IsServerError ¶
func (o *InvokeAgentVersionExternalV1NotFound) IsServerError() bool
IsServerError returns true when this invoke agent version external v1 not found response has a 5xx status code
func (*InvokeAgentVersionExternalV1NotFound) IsSuccess ¶
func (o *InvokeAgentVersionExternalV1NotFound) IsSuccess() bool
IsSuccess returns true when this invoke agent version external v1 not found response has a 2xx status code
func (*InvokeAgentVersionExternalV1NotFound) String ¶
func (o *InvokeAgentVersionExternalV1NotFound) String() string
type InvokeAgentVersionExternalV1OK ¶
type InvokeAgentVersionExternalV1OK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIInvokeAgentResponse
}
InvokeAgentVersionExternalV1OK describes a response with status code 200, with default header values.
Successfully invoked
func NewInvokeAgentVersionExternalV1OK ¶
func NewInvokeAgentVersionExternalV1OK() *InvokeAgentVersionExternalV1OK
NewInvokeAgentVersionExternalV1OK creates a InvokeAgentVersionExternalV1OK with default headers values
func (*InvokeAgentVersionExternalV1OK) Code ¶
func (o *InvokeAgentVersionExternalV1OK) Code() int
Code gets the status code for the invoke agent version external v1 o k response
func (*InvokeAgentVersionExternalV1OK) Error ¶
func (o *InvokeAgentVersionExternalV1OK) Error() string
func (*InvokeAgentVersionExternalV1OK) GetPayload ¶
func (o *InvokeAgentVersionExternalV1OK) GetPayload() *models.APIInvokeAgentResponse
func (*InvokeAgentVersionExternalV1OK) IsClientError ¶
func (o *InvokeAgentVersionExternalV1OK) IsClientError() bool
IsClientError returns true when this invoke agent version external v1 o k response has a 4xx status code
func (*InvokeAgentVersionExternalV1OK) IsCode ¶
func (o *InvokeAgentVersionExternalV1OK) IsCode(code int) bool
IsCode returns true when this invoke agent version external v1 o k response a status code equal to that given
func (*InvokeAgentVersionExternalV1OK) IsRedirect ¶
func (o *InvokeAgentVersionExternalV1OK) IsRedirect() bool
IsRedirect returns true when this invoke agent version external v1 o k response has a 3xx status code
func (*InvokeAgentVersionExternalV1OK) IsServerError ¶
func (o *InvokeAgentVersionExternalV1OK) IsServerError() bool
IsServerError returns true when this invoke agent version external v1 o k response has a 5xx status code
func (*InvokeAgentVersionExternalV1OK) IsSuccess ¶
func (o *InvokeAgentVersionExternalV1OK) IsSuccess() bool
IsSuccess returns true when this invoke agent version external v1 o k response has a 2xx status code
func (*InvokeAgentVersionExternalV1OK) String ¶
func (o *InvokeAgentVersionExternalV1OK) String() string
type InvokeAgentVersionExternalV1Params ¶
type InvokeAgentVersionExternalV1Params struct {
/* Body.
Agent version invocation request containing agent ID, version ID and input
*/
Body *models.APIInvokeAgentVersionExternalRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
InvokeAgentVersionExternalV1Params contains all the parameters to send to the API endpoint
for the invoke agent version external v1 operation. Typically these are written to a http.Request.
func NewInvokeAgentVersionExternalV1Params ¶
func NewInvokeAgentVersionExternalV1Params() *InvokeAgentVersionExternalV1Params
NewInvokeAgentVersionExternalV1Params creates a new InvokeAgentVersionExternalV1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInvokeAgentVersionExternalV1ParamsWithContext ¶
func NewInvokeAgentVersionExternalV1ParamsWithContext(ctx context.Context) *InvokeAgentVersionExternalV1Params
NewInvokeAgentVersionExternalV1ParamsWithContext creates a new InvokeAgentVersionExternalV1Params object with the ability to set a context for a request.
func NewInvokeAgentVersionExternalV1ParamsWithHTTPClient ¶
func NewInvokeAgentVersionExternalV1ParamsWithHTTPClient(client *http.Client) *InvokeAgentVersionExternalV1Params
NewInvokeAgentVersionExternalV1ParamsWithHTTPClient creates a new InvokeAgentVersionExternalV1Params object with the ability to set a custom HTTPClient for a request.
func NewInvokeAgentVersionExternalV1ParamsWithTimeout ¶
func NewInvokeAgentVersionExternalV1ParamsWithTimeout(timeout time.Duration) *InvokeAgentVersionExternalV1Params
NewInvokeAgentVersionExternalV1ParamsWithTimeout creates a new InvokeAgentVersionExternalV1Params object with the ability to set a timeout on a request.
func (*InvokeAgentVersionExternalV1Params) SetBody ¶
func (o *InvokeAgentVersionExternalV1Params) SetBody(body *models.APIInvokeAgentVersionExternalRequest)
SetBody adds the body to the invoke agent version external v1 params
func (*InvokeAgentVersionExternalV1Params) SetContext ¶
func (o *InvokeAgentVersionExternalV1Params) SetContext(ctx context.Context)
SetContext adds the context to the invoke agent version external v1 params
func (*InvokeAgentVersionExternalV1Params) SetDefaults ¶
func (o *InvokeAgentVersionExternalV1Params) SetDefaults()
SetDefaults hydrates default values in the invoke agent version external v1 params (not the query body).
All values with no default are reset to their zero value.
func (*InvokeAgentVersionExternalV1Params) SetHTTPClient ¶
func (o *InvokeAgentVersionExternalV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the invoke agent version external v1 params
func (*InvokeAgentVersionExternalV1Params) SetTimeout ¶
func (o *InvokeAgentVersionExternalV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the invoke agent version external v1 params
func (*InvokeAgentVersionExternalV1Params) WithBody ¶
func (o *InvokeAgentVersionExternalV1Params) WithBody(body *models.APIInvokeAgentVersionExternalRequest) *InvokeAgentVersionExternalV1Params
WithBody adds the body to the invoke agent version external v1 params
func (*InvokeAgentVersionExternalV1Params) WithContext ¶
func (o *InvokeAgentVersionExternalV1Params) WithContext(ctx context.Context) *InvokeAgentVersionExternalV1Params
WithContext adds the context to the invoke agent version external v1 params
func (*InvokeAgentVersionExternalV1Params) WithDefaults ¶
func (o *InvokeAgentVersionExternalV1Params) WithDefaults() *InvokeAgentVersionExternalV1Params
WithDefaults hydrates default values in the invoke agent version external v1 params (not the query body).
All values with no default are reset to their zero value.
func (*InvokeAgentVersionExternalV1Params) WithHTTPClient ¶
func (o *InvokeAgentVersionExternalV1Params) WithHTTPClient(client *http.Client) *InvokeAgentVersionExternalV1Params
WithHTTPClient adds the HTTPClient to the invoke agent version external v1 params
func (*InvokeAgentVersionExternalV1Params) WithTimeout ¶
func (o *InvokeAgentVersionExternalV1Params) WithTimeout(timeout time.Duration) *InvokeAgentVersionExternalV1Params
WithTimeout adds the timeout to the invoke agent version external v1 params
func (*InvokeAgentVersionExternalV1Params) WriteToRequest ¶
func (o *InvokeAgentVersionExternalV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InvokeAgentVersionExternalV1PaymentRequired ¶
type InvokeAgentVersionExternalV1PaymentRequired struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokeAgentVersionExternalV1PaymentRequired describes a response with status code 402, with default header values.
Payment Required
func NewInvokeAgentVersionExternalV1PaymentRequired ¶
func NewInvokeAgentVersionExternalV1PaymentRequired() *InvokeAgentVersionExternalV1PaymentRequired
NewInvokeAgentVersionExternalV1PaymentRequired creates a InvokeAgentVersionExternalV1PaymentRequired with default headers values
func (*InvokeAgentVersionExternalV1PaymentRequired) Code ¶
func (o *InvokeAgentVersionExternalV1PaymentRequired) Code() int
Code gets the status code for the invoke agent version external v1 payment required response
func (*InvokeAgentVersionExternalV1PaymentRequired) Error ¶
func (o *InvokeAgentVersionExternalV1PaymentRequired) Error() string
func (*InvokeAgentVersionExternalV1PaymentRequired) GetPayload ¶
func (o *InvokeAgentVersionExternalV1PaymentRequired) GetPayload() *models.APIErrorResponse
func (*InvokeAgentVersionExternalV1PaymentRequired) IsClientError ¶
func (o *InvokeAgentVersionExternalV1PaymentRequired) IsClientError() bool
IsClientError returns true when this invoke agent version external v1 payment required response has a 4xx status code
func (*InvokeAgentVersionExternalV1PaymentRequired) IsCode ¶
func (o *InvokeAgentVersionExternalV1PaymentRequired) IsCode(code int) bool
IsCode returns true when this invoke agent version external v1 payment required response a status code equal to that given
func (*InvokeAgentVersionExternalV1PaymentRequired) IsRedirect ¶
func (o *InvokeAgentVersionExternalV1PaymentRequired) IsRedirect() bool
IsRedirect returns true when this invoke agent version external v1 payment required response has a 3xx status code
func (*InvokeAgentVersionExternalV1PaymentRequired) IsServerError ¶
func (o *InvokeAgentVersionExternalV1PaymentRequired) IsServerError() bool
IsServerError returns true when this invoke agent version external v1 payment required response has a 5xx status code
func (*InvokeAgentVersionExternalV1PaymentRequired) IsSuccess ¶
func (o *InvokeAgentVersionExternalV1PaymentRequired) IsSuccess() bool
IsSuccess returns true when this invoke agent version external v1 payment required response has a 2xx status code
func (*InvokeAgentVersionExternalV1PaymentRequired) String ¶
func (o *InvokeAgentVersionExternalV1PaymentRequired) String() string
type InvokeAgentVersionExternalV1Reader ¶
type InvokeAgentVersionExternalV1Reader struct {
// contains filtered or unexported fields
}
InvokeAgentVersionExternalV1Reader is a Reader for the InvokeAgentVersionExternalV1 structure.
func (*InvokeAgentVersionExternalV1Reader) ReadResponse ¶
func (o *InvokeAgentVersionExternalV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InvokeAgentVersionExternalV1TooManyRequests ¶
type InvokeAgentVersionExternalV1TooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
InvokeAgentVersionExternalV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewInvokeAgentVersionExternalV1TooManyRequests ¶
func NewInvokeAgentVersionExternalV1TooManyRequests() *InvokeAgentVersionExternalV1TooManyRequests
NewInvokeAgentVersionExternalV1TooManyRequests creates a InvokeAgentVersionExternalV1TooManyRequests with default headers values
func (*InvokeAgentVersionExternalV1TooManyRequests) Code ¶
func (o *InvokeAgentVersionExternalV1TooManyRequests) Code() int
Code gets the status code for the invoke agent version external v1 too many requests response
func (*InvokeAgentVersionExternalV1TooManyRequests) Error ¶
func (o *InvokeAgentVersionExternalV1TooManyRequests) Error() string
func (*InvokeAgentVersionExternalV1TooManyRequests) GetPayload ¶
func (o *InvokeAgentVersionExternalV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*InvokeAgentVersionExternalV1TooManyRequests) IsClientError ¶
func (o *InvokeAgentVersionExternalV1TooManyRequests) IsClientError() bool
IsClientError returns true when this invoke agent version external v1 too many requests response has a 4xx status code
func (*InvokeAgentVersionExternalV1TooManyRequests) IsCode ¶
func (o *InvokeAgentVersionExternalV1TooManyRequests) IsCode(code int) bool
IsCode returns true when this invoke agent version external v1 too many requests response a status code equal to that given
func (*InvokeAgentVersionExternalV1TooManyRequests) IsRedirect ¶
func (o *InvokeAgentVersionExternalV1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this invoke agent version external v1 too many requests response has a 3xx status code
func (*InvokeAgentVersionExternalV1TooManyRequests) IsServerError ¶
func (o *InvokeAgentVersionExternalV1TooManyRequests) IsServerError() bool
IsServerError returns true when this invoke agent version external v1 too many requests response has a 5xx status code
func (*InvokeAgentVersionExternalV1TooManyRequests) IsSuccess ¶
func (o *InvokeAgentVersionExternalV1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this invoke agent version external v1 too many requests response has a 2xx status code
func (*InvokeAgentVersionExternalV1TooManyRequests) String ¶
func (o *InvokeAgentVersionExternalV1TooManyRequests) String() string
type InvokePublishedAgentExternalV1BadRequest ¶
type InvokePublishedAgentExternalV1BadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokePublishedAgentExternalV1BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewInvokePublishedAgentExternalV1BadRequest ¶
func NewInvokePublishedAgentExternalV1BadRequest() *InvokePublishedAgentExternalV1BadRequest
NewInvokePublishedAgentExternalV1BadRequest creates a InvokePublishedAgentExternalV1BadRequest with default headers values
func (*InvokePublishedAgentExternalV1BadRequest) Code ¶
func (o *InvokePublishedAgentExternalV1BadRequest) Code() int
Code gets the status code for the invoke published agent external v1 bad request response
func (*InvokePublishedAgentExternalV1BadRequest) Error ¶
func (o *InvokePublishedAgentExternalV1BadRequest) Error() string
func (*InvokePublishedAgentExternalV1BadRequest) GetPayload ¶
func (o *InvokePublishedAgentExternalV1BadRequest) GetPayload() *models.APIErrorResponse
func (*InvokePublishedAgentExternalV1BadRequest) IsClientError ¶
func (o *InvokePublishedAgentExternalV1BadRequest) IsClientError() bool
IsClientError returns true when this invoke published agent external v1 bad request response has a 4xx status code
func (*InvokePublishedAgentExternalV1BadRequest) IsCode ¶
func (o *InvokePublishedAgentExternalV1BadRequest) IsCode(code int) bool
IsCode returns true when this invoke published agent external v1 bad request response a status code equal to that given
func (*InvokePublishedAgentExternalV1BadRequest) IsRedirect ¶
func (o *InvokePublishedAgentExternalV1BadRequest) IsRedirect() bool
IsRedirect returns true when this invoke published agent external v1 bad request response has a 3xx status code
func (*InvokePublishedAgentExternalV1BadRequest) IsServerError ¶
func (o *InvokePublishedAgentExternalV1BadRequest) IsServerError() bool
IsServerError returns true when this invoke published agent external v1 bad request response has a 5xx status code
func (*InvokePublishedAgentExternalV1BadRequest) IsSuccess ¶
func (o *InvokePublishedAgentExternalV1BadRequest) IsSuccess() bool
IsSuccess returns true when this invoke published agent external v1 bad request response has a 2xx status code
func (*InvokePublishedAgentExternalV1BadRequest) String ¶
func (o *InvokePublishedAgentExternalV1BadRequest) String() string
type InvokePublishedAgentExternalV1Forbidden ¶
type InvokePublishedAgentExternalV1Forbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokePublishedAgentExternalV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewInvokePublishedAgentExternalV1Forbidden ¶
func NewInvokePublishedAgentExternalV1Forbidden() *InvokePublishedAgentExternalV1Forbidden
NewInvokePublishedAgentExternalV1Forbidden creates a InvokePublishedAgentExternalV1Forbidden with default headers values
func (*InvokePublishedAgentExternalV1Forbidden) Code ¶
func (o *InvokePublishedAgentExternalV1Forbidden) Code() int
Code gets the status code for the invoke published agent external v1 forbidden response
func (*InvokePublishedAgentExternalV1Forbidden) Error ¶
func (o *InvokePublishedAgentExternalV1Forbidden) Error() string
func (*InvokePublishedAgentExternalV1Forbidden) GetPayload ¶
func (o *InvokePublishedAgentExternalV1Forbidden) GetPayload() *models.APIErrorResponse
func (*InvokePublishedAgentExternalV1Forbidden) IsClientError ¶
func (o *InvokePublishedAgentExternalV1Forbidden) IsClientError() bool
IsClientError returns true when this invoke published agent external v1 forbidden response has a 4xx status code
func (*InvokePublishedAgentExternalV1Forbidden) IsCode ¶
func (o *InvokePublishedAgentExternalV1Forbidden) IsCode(code int) bool
IsCode returns true when this invoke published agent external v1 forbidden response a status code equal to that given
func (*InvokePublishedAgentExternalV1Forbidden) IsRedirect ¶
func (o *InvokePublishedAgentExternalV1Forbidden) IsRedirect() bool
IsRedirect returns true when this invoke published agent external v1 forbidden response has a 3xx status code
func (*InvokePublishedAgentExternalV1Forbidden) IsServerError ¶
func (o *InvokePublishedAgentExternalV1Forbidden) IsServerError() bool
IsServerError returns true when this invoke published agent external v1 forbidden response has a 5xx status code
func (*InvokePublishedAgentExternalV1Forbidden) IsSuccess ¶
func (o *InvokePublishedAgentExternalV1Forbidden) IsSuccess() bool
IsSuccess returns true when this invoke published agent external v1 forbidden response has a 2xx status code
func (*InvokePublishedAgentExternalV1Forbidden) String ¶
func (o *InvokePublishedAgentExternalV1Forbidden) String() string
type InvokePublishedAgentExternalV1InternalServerError ¶
type InvokePublishedAgentExternalV1InternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokePublishedAgentExternalV1InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInvokePublishedAgentExternalV1InternalServerError ¶
func NewInvokePublishedAgentExternalV1InternalServerError() *InvokePublishedAgentExternalV1InternalServerError
NewInvokePublishedAgentExternalV1InternalServerError creates a InvokePublishedAgentExternalV1InternalServerError with default headers values
func (*InvokePublishedAgentExternalV1InternalServerError) Code ¶
func (o *InvokePublishedAgentExternalV1InternalServerError) Code() int
Code gets the status code for the invoke published agent external v1 internal server error response
func (*InvokePublishedAgentExternalV1InternalServerError) Error ¶
func (o *InvokePublishedAgentExternalV1InternalServerError) Error() string
func (*InvokePublishedAgentExternalV1InternalServerError) GetPayload ¶
func (o *InvokePublishedAgentExternalV1InternalServerError) GetPayload() *models.APIErrorResponse
func (*InvokePublishedAgentExternalV1InternalServerError) IsClientError ¶
func (o *InvokePublishedAgentExternalV1InternalServerError) IsClientError() bool
IsClientError returns true when this invoke published agent external v1 internal server error response has a 4xx status code
func (*InvokePublishedAgentExternalV1InternalServerError) IsCode ¶
func (o *InvokePublishedAgentExternalV1InternalServerError) IsCode(code int) bool
IsCode returns true when this invoke published agent external v1 internal server error response a status code equal to that given
func (*InvokePublishedAgentExternalV1InternalServerError) IsRedirect ¶
func (o *InvokePublishedAgentExternalV1InternalServerError) IsRedirect() bool
IsRedirect returns true when this invoke published agent external v1 internal server error response has a 3xx status code
func (*InvokePublishedAgentExternalV1InternalServerError) IsServerError ¶
func (o *InvokePublishedAgentExternalV1InternalServerError) IsServerError() bool
IsServerError returns true when this invoke published agent external v1 internal server error response has a 5xx status code
func (*InvokePublishedAgentExternalV1InternalServerError) IsSuccess ¶
func (o *InvokePublishedAgentExternalV1InternalServerError) IsSuccess() bool
IsSuccess returns true when this invoke published agent external v1 internal server error response has a 2xx status code
func (*InvokePublishedAgentExternalV1InternalServerError) String ¶
func (o *InvokePublishedAgentExternalV1InternalServerError) String() string
type InvokePublishedAgentExternalV1NotFound ¶
type InvokePublishedAgentExternalV1NotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokePublishedAgentExternalV1NotFound describes a response with status code 404, with default header values.
Not Found
func NewInvokePublishedAgentExternalV1NotFound ¶
func NewInvokePublishedAgentExternalV1NotFound() *InvokePublishedAgentExternalV1NotFound
NewInvokePublishedAgentExternalV1NotFound creates a InvokePublishedAgentExternalV1NotFound with default headers values
func (*InvokePublishedAgentExternalV1NotFound) Code ¶
func (o *InvokePublishedAgentExternalV1NotFound) Code() int
Code gets the status code for the invoke published agent external v1 not found response
func (*InvokePublishedAgentExternalV1NotFound) Error ¶
func (o *InvokePublishedAgentExternalV1NotFound) Error() string
func (*InvokePublishedAgentExternalV1NotFound) GetPayload ¶
func (o *InvokePublishedAgentExternalV1NotFound) GetPayload() *models.APIErrorResponse
func (*InvokePublishedAgentExternalV1NotFound) IsClientError ¶
func (o *InvokePublishedAgentExternalV1NotFound) IsClientError() bool
IsClientError returns true when this invoke published agent external v1 not found response has a 4xx status code
func (*InvokePublishedAgentExternalV1NotFound) IsCode ¶
func (o *InvokePublishedAgentExternalV1NotFound) IsCode(code int) bool
IsCode returns true when this invoke published agent external v1 not found response a status code equal to that given
func (*InvokePublishedAgentExternalV1NotFound) IsRedirect ¶
func (o *InvokePublishedAgentExternalV1NotFound) IsRedirect() bool
IsRedirect returns true when this invoke published agent external v1 not found response has a 3xx status code
func (*InvokePublishedAgentExternalV1NotFound) IsServerError ¶
func (o *InvokePublishedAgentExternalV1NotFound) IsServerError() bool
IsServerError returns true when this invoke published agent external v1 not found response has a 5xx status code
func (*InvokePublishedAgentExternalV1NotFound) IsSuccess ¶
func (o *InvokePublishedAgentExternalV1NotFound) IsSuccess() bool
IsSuccess returns true when this invoke published agent external v1 not found response has a 2xx status code
func (*InvokePublishedAgentExternalV1NotFound) String ¶
func (o *InvokePublishedAgentExternalV1NotFound) String() string
type InvokePublishedAgentExternalV1OK ¶
type InvokePublishedAgentExternalV1OK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIInvokeAgentResponse
}
InvokePublishedAgentExternalV1OK describes a response with status code 200, with default header values.
Successfully invoked
func NewInvokePublishedAgentExternalV1OK ¶
func NewInvokePublishedAgentExternalV1OK() *InvokePublishedAgentExternalV1OK
NewInvokePublishedAgentExternalV1OK creates a InvokePublishedAgentExternalV1OK with default headers values
func (*InvokePublishedAgentExternalV1OK) Code ¶
func (o *InvokePublishedAgentExternalV1OK) Code() int
Code gets the status code for the invoke published agent external v1 o k response
func (*InvokePublishedAgentExternalV1OK) Error ¶
func (o *InvokePublishedAgentExternalV1OK) Error() string
func (*InvokePublishedAgentExternalV1OK) GetPayload ¶
func (o *InvokePublishedAgentExternalV1OK) GetPayload() *models.APIInvokeAgentResponse
func (*InvokePublishedAgentExternalV1OK) IsClientError ¶
func (o *InvokePublishedAgentExternalV1OK) IsClientError() bool
IsClientError returns true when this invoke published agent external v1 o k response has a 4xx status code
func (*InvokePublishedAgentExternalV1OK) IsCode ¶
func (o *InvokePublishedAgentExternalV1OK) IsCode(code int) bool
IsCode returns true when this invoke published agent external v1 o k response a status code equal to that given
func (*InvokePublishedAgentExternalV1OK) IsRedirect ¶
func (o *InvokePublishedAgentExternalV1OK) IsRedirect() bool
IsRedirect returns true when this invoke published agent external v1 o k response has a 3xx status code
func (*InvokePublishedAgentExternalV1OK) IsServerError ¶
func (o *InvokePublishedAgentExternalV1OK) IsServerError() bool
IsServerError returns true when this invoke published agent external v1 o k response has a 5xx status code
func (*InvokePublishedAgentExternalV1OK) IsSuccess ¶
func (o *InvokePublishedAgentExternalV1OK) IsSuccess() bool
IsSuccess returns true when this invoke published agent external v1 o k response has a 2xx status code
func (*InvokePublishedAgentExternalV1OK) String ¶
func (o *InvokePublishedAgentExternalV1OK) String() string
type InvokePublishedAgentExternalV1Params ¶
type InvokePublishedAgentExternalV1Params struct {
/* Body.
Published agent invocation request containing agent ID and input. Optional deadline_seconds must be at least 90; smaller values are rejected with a 400.
*/
Body *models.APIInvokePublishedAgentExternalRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
InvokePublishedAgentExternalV1Params contains all the parameters to send to the API endpoint
for the invoke published agent external v1 operation. Typically these are written to a http.Request.
func NewInvokePublishedAgentExternalV1Params ¶
func NewInvokePublishedAgentExternalV1Params() *InvokePublishedAgentExternalV1Params
NewInvokePublishedAgentExternalV1Params creates a new InvokePublishedAgentExternalV1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInvokePublishedAgentExternalV1ParamsWithContext ¶
func NewInvokePublishedAgentExternalV1ParamsWithContext(ctx context.Context) *InvokePublishedAgentExternalV1Params
NewInvokePublishedAgentExternalV1ParamsWithContext creates a new InvokePublishedAgentExternalV1Params object with the ability to set a context for a request.
func NewInvokePublishedAgentExternalV1ParamsWithHTTPClient ¶
func NewInvokePublishedAgentExternalV1ParamsWithHTTPClient(client *http.Client) *InvokePublishedAgentExternalV1Params
NewInvokePublishedAgentExternalV1ParamsWithHTTPClient creates a new InvokePublishedAgentExternalV1Params object with the ability to set a custom HTTPClient for a request.
func NewInvokePublishedAgentExternalV1ParamsWithTimeout ¶
func NewInvokePublishedAgentExternalV1ParamsWithTimeout(timeout time.Duration) *InvokePublishedAgentExternalV1Params
NewInvokePublishedAgentExternalV1ParamsWithTimeout creates a new InvokePublishedAgentExternalV1Params object with the ability to set a timeout on a request.
func (*InvokePublishedAgentExternalV1Params) SetBody ¶
func (o *InvokePublishedAgentExternalV1Params) SetBody(body *models.APIInvokePublishedAgentExternalRequest)
SetBody adds the body to the invoke published agent external v1 params
func (*InvokePublishedAgentExternalV1Params) SetContext ¶
func (o *InvokePublishedAgentExternalV1Params) SetContext(ctx context.Context)
SetContext adds the context to the invoke published agent external v1 params
func (*InvokePublishedAgentExternalV1Params) SetDefaults ¶
func (o *InvokePublishedAgentExternalV1Params) SetDefaults()
SetDefaults hydrates default values in the invoke published agent external v1 params (not the query body).
All values with no default are reset to their zero value.
func (*InvokePublishedAgentExternalV1Params) SetHTTPClient ¶
func (o *InvokePublishedAgentExternalV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the invoke published agent external v1 params
func (*InvokePublishedAgentExternalV1Params) SetTimeout ¶
func (o *InvokePublishedAgentExternalV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the invoke published agent external v1 params
func (*InvokePublishedAgentExternalV1Params) WithBody ¶
func (o *InvokePublishedAgentExternalV1Params) WithBody(body *models.APIInvokePublishedAgentExternalRequest) *InvokePublishedAgentExternalV1Params
WithBody adds the body to the invoke published agent external v1 params
func (*InvokePublishedAgentExternalV1Params) WithContext ¶
func (o *InvokePublishedAgentExternalV1Params) WithContext(ctx context.Context) *InvokePublishedAgentExternalV1Params
WithContext adds the context to the invoke published agent external v1 params
func (*InvokePublishedAgentExternalV1Params) WithDefaults ¶
func (o *InvokePublishedAgentExternalV1Params) WithDefaults() *InvokePublishedAgentExternalV1Params
WithDefaults hydrates default values in the invoke published agent external v1 params (not the query body).
All values with no default are reset to their zero value.
func (*InvokePublishedAgentExternalV1Params) WithHTTPClient ¶
func (o *InvokePublishedAgentExternalV1Params) WithHTTPClient(client *http.Client) *InvokePublishedAgentExternalV1Params
WithHTTPClient adds the HTTPClient to the invoke published agent external v1 params
func (*InvokePublishedAgentExternalV1Params) WithTimeout ¶
func (o *InvokePublishedAgentExternalV1Params) WithTimeout(timeout time.Duration) *InvokePublishedAgentExternalV1Params
WithTimeout adds the timeout to the invoke published agent external v1 params
func (*InvokePublishedAgentExternalV1Params) WriteToRequest ¶
func (o *InvokePublishedAgentExternalV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InvokePublishedAgentExternalV1PaymentRequired ¶
type InvokePublishedAgentExternalV1PaymentRequired struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIErrorResponse
}
InvokePublishedAgentExternalV1PaymentRequired describes a response with status code 402, with default header values.
Payment Required
func NewInvokePublishedAgentExternalV1PaymentRequired ¶
func NewInvokePublishedAgentExternalV1PaymentRequired() *InvokePublishedAgentExternalV1PaymentRequired
NewInvokePublishedAgentExternalV1PaymentRequired creates a InvokePublishedAgentExternalV1PaymentRequired with default headers values
func (*InvokePublishedAgentExternalV1PaymentRequired) Code ¶
func (o *InvokePublishedAgentExternalV1PaymentRequired) Code() int
Code gets the status code for the invoke published agent external v1 payment required response
func (*InvokePublishedAgentExternalV1PaymentRequired) Error ¶
func (o *InvokePublishedAgentExternalV1PaymentRequired) Error() string
func (*InvokePublishedAgentExternalV1PaymentRequired) GetPayload ¶
func (o *InvokePublishedAgentExternalV1PaymentRequired) GetPayload() *models.APIErrorResponse
func (*InvokePublishedAgentExternalV1PaymentRequired) IsClientError ¶
func (o *InvokePublishedAgentExternalV1PaymentRequired) IsClientError() bool
IsClientError returns true when this invoke published agent external v1 payment required response has a 4xx status code
func (*InvokePublishedAgentExternalV1PaymentRequired) IsCode ¶
func (o *InvokePublishedAgentExternalV1PaymentRequired) IsCode(code int) bool
IsCode returns true when this invoke published agent external v1 payment required response a status code equal to that given
func (*InvokePublishedAgentExternalV1PaymentRequired) IsRedirect ¶
func (o *InvokePublishedAgentExternalV1PaymentRequired) IsRedirect() bool
IsRedirect returns true when this invoke published agent external v1 payment required response has a 3xx status code
func (*InvokePublishedAgentExternalV1PaymentRequired) IsServerError ¶
func (o *InvokePublishedAgentExternalV1PaymentRequired) IsServerError() bool
IsServerError returns true when this invoke published agent external v1 payment required response has a 5xx status code
func (*InvokePublishedAgentExternalV1PaymentRequired) IsSuccess ¶
func (o *InvokePublishedAgentExternalV1PaymentRequired) IsSuccess() bool
IsSuccess returns true when this invoke published agent external v1 payment required response has a 2xx status code
func (*InvokePublishedAgentExternalV1PaymentRequired) String ¶
func (o *InvokePublishedAgentExternalV1PaymentRequired) String() string
type InvokePublishedAgentExternalV1Reader ¶
type InvokePublishedAgentExternalV1Reader struct {
// contains filtered or unexported fields
}
InvokePublishedAgentExternalV1Reader is a Reader for the InvokePublishedAgentExternalV1 structure.
func (*InvokePublishedAgentExternalV1Reader) ReadResponse ¶
func (o *InvokePublishedAgentExternalV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InvokePublishedAgentExternalV1TooManyRequests ¶
type InvokePublishedAgentExternalV1TooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
InvokePublishedAgentExternalV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewInvokePublishedAgentExternalV1TooManyRequests ¶
func NewInvokePublishedAgentExternalV1TooManyRequests() *InvokePublishedAgentExternalV1TooManyRequests
NewInvokePublishedAgentExternalV1TooManyRequests creates a InvokePublishedAgentExternalV1TooManyRequests with default headers values
func (*InvokePublishedAgentExternalV1TooManyRequests) Code ¶
func (o *InvokePublishedAgentExternalV1TooManyRequests) Code() int
Code gets the status code for the invoke published agent external v1 too many requests response
func (*InvokePublishedAgentExternalV1TooManyRequests) Error ¶
func (o *InvokePublishedAgentExternalV1TooManyRequests) Error() string
func (*InvokePublishedAgentExternalV1TooManyRequests) GetPayload ¶
func (o *InvokePublishedAgentExternalV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*InvokePublishedAgentExternalV1TooManyRequests) IsClientError ¶
func (o *InvokePublishedAgentExternalV1TooManyRequests) IsClientError() bool
IsClientError returns true when this invoke published agent external v1 too many requests response has a 4xx status code
func (*InvokePublishedAgentExternalV1TooManyRequests) IsCode ¶
func (o *InvokePublishedAgentExternalV1TooManyRequests) IsCode(code int) bool
IsCode returns true when this invoke published agent external v1 too many requests response a status code equal to that given
func (*InvokePublishedAgentExternalV1TooManyRequests) IsRedirect ¶
func (o *InvokePublishedAgentExternalV1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this invoke published agent external v1 too many requests response has a 3xx status code
func (*InvokePublishedAgentExternalV1TooManyRequests) IsServerError ¶
func (o *InvokePublishedAgentExternalV1TooManyRequests) IsServerError() bool
IsServerError returns true when this invoke published agent external v1 too many requests response has a 5xx status code
func (*InvokePublishedAgentExternalV1TooManyRequests) IsSuccess ¶
func (o *InvokePublishedAgentExternalV1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this invoke published agent external v1 too many requests response has a 2xx status code
func (*InvokePublishedAgentExternalV1TooManyRequests) String ¶
func (o *InvokePublishedAgentExternalV1TooManyRequests) String() string