agent_invocation

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

Code gets the status code for the get agent invocation v3 bad request response

func (*GetAgentInvocationV3BadRequest) Error

func (*GetAgentInvocationV3BadRequest) GetPayload

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

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

Code gets the status code for the get agent invocation v3 forbidden response

func (*GetAgentInvocationV3Forbidden) Error

func (*GetAgentInvocationV3Forbidden) GetPayload

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

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

Code gets the status code for the get agent invocation v3 internal server error response

func (*GetAgentInvocationV3InternalServerError) Error

func (*GetAgentInvocationV3InternalServerError) GetPayload

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

IsCode returns true when this get agent invocation v3 internal server error response a status code equal to that given

func (*GetAgentInvocationV3InternalServerError) IsRedirect

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

IsSuccess returns true when this get agent invocation v3 internal server error response has a 2xx status code

func (*GetAgentInvocationV3InternalServerError) 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

Code gets the status code for the get agent invocation v3 not found response

func (*GetAgentInvocationV3NotFound) Error

func (*GetAgentInvocationV3NotFound) GetPayload

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

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 (*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

WithContext adds the context to the get agent invocation v3 params

func (*GetAgentInvocationV3Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get agent invocation v3 params

func (*GetAgentInvocationV3Params) WithID

WithID adds the id to the get agent invocation v3 params

func (*GetAgentInvocationV3Params) WithTimeout

WithTimeout adds the timeout to the get agent invocation v3 params

func (*GetAgentInvocationV3Params) WriteToRequest

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

Code gets the status code for the get agent invocation v3 too many requests response

func (*GetAgentInvocationV3TooManyRequests) Error

func (*GetAgentInvocationV3TooManyRequests) GetPayload

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

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

IsSuccess returns true when this get agent invocation v3 too many requests response has a 2xx status code

func (*GetAgentInvocationV3TooManyRequests) 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

Code gets the status code for the invoke agent version external v1 bad request response

func (*InvokeAgentVersionExternalV1BadRequest) Error

func (*InvokeAgentVersionExternalV1BadRequest) GetPayload

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

IsCode returns true when this invoke agent version external v1 bad request response a status code equal to that given

func (*InvokeAgentVersionExternalV1BadRequest) IsRedirect

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

IsSuccess returns true when this invoke agent version external v1 bad request response has a 2xx status code

func (*InvokeAgentVersionExternalV1BadRequest) 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

Code gets the status code for the invoke agent version external v1 forbidden response

func (*InvokeAgentVersionExternalV1Forbidden) Error

func (*InvokeAgentVersionExternalV1Forbidden) GetPayload

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

IsCode returns true when this invoke agent version external v1 forbidden response a status code equal to that given

func (*InvokeAgentVersionExternalV1Forbidden) IsRedirect

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

IsSuccess returns true when this invoke agent version external v1 forbidden response has a 2xx status code

func (*InvokeAgentVersionExternalV1Forbidden) 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

Code gets the status code for the invoke agent version external v1 internal server error response

func (*InvokeAgentVersionExternalV1InternalServerError) Error

func (*InvokeAgentVersionExternalV1InternalServerError) GetPayload

func (*InvokeAgentVersionExternalV1InternalServerError) IsClientError

IsClientError returns true when this invoke agent version external v1 internal server error response has a 4xx status code

func (*InvokeAgentVersionExternalV1InternalServerError) IsCode

IsCode returns true when this invoke agent version external v1 internal server error response a status code equal to that given

func (*InvokeAgentVersionExternalV1InternalServerError) IsRedirect

IsRedirect returns true when this invoke agent version external v1 internal server error response has a 3xx status code

func (*InvokeAgentVersionExternalV1InternalServerError) IsServerError

IsServerError returns true when this invoke agent version external v1 internal server error response has a 5xx status code

func (*InvokeAgentVersionExternalV1InternalServerError) IsSuccess

IsSuccess returns true when this invoke agent version external v1 internal server error response has a 2xx status code

func (*InvokeAgentVersionExternalV1InternalServerError) 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

Code gets the status code for the invoke agent version external v1 not found response

func (*InvokeAgentVersionExternalV1NotFound) Error

func (*InvokeAgentVersionExternalV1NotFound) GetPayload

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

IsCode returns true when this invoke agent version external v1 not found response a status code equal to that given

func (*InvokeAgentVersionExternalV1NotFound) IsRedirect

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

IsSuccess returns true when this invoke agent version external v1 not found response has a 2xx status code

func (*InvokeAgentVersionExternalV1NotFound) 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

Code gets the status code for the invoke agent version external v1 o k response

func (*InvokeAgentVersionExternalV1OK) Error

func (*InvokeAgentVersionExternalV1OK) GetPayload

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

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

SetBody adds the body to the invoke agent version external v1 params

func (*InvokeAgentVersionExternalV1Params) SetContext

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

WithBody adds the body to the invoke agent version external v1 params

func (*InvokeAgentVersionExternalV1Params) WithContext

WithContext adds the context to the invoke agent version external v1 params

func (*InvokeAgentVersionExternalV1Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the invoke agent version external v1 params

func (*InvokeAgentVersionExternalV1Params) WithTimeout

WithTimeout adds the timeout to the invoke agent version external v1 params

func (*InvokeAgentVersionExternalV1Params) WriteToRequest

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

Code gets the status code for the invoke agent version external v1 payment required response

func (*InvokeAgentVersionExternalV1PaymentRequired) Error

func (*InvokeAgentVersionExternalV1PaymentRequired) GetPayload

func (*InvokeAgentVersionExternalV1PaymentRequired) IsClientError

IsClientError returns true when this invoke agent version external v1 payment required response has a 4xx status code

func (*InvokeAgentVersionExternalV1PaymentRequired) IsCode

IsCode returns true when this invoke agent version external v1 payment required response a status code equal to that given

func (*InvokeAgentVersionExternalV1PaymentRequired) IsRedirect

IsRedirect returns true when this invoke agent version external v1 payment required response has a 3xx status code

func (*InvokeAgentVersionExternalV1PaymentRequired) IsServerError

IsServerError returns true when this invoke agent version external v1 payment required response has a 5xx status code

func (*InvokeAgentVersionExternalV1PaymentRequired) IsSuccess

IsSuccess returns true when this invoke agent version external v1 payment required response has a 2xx status code

func (*InvokeAgentVersionExternalV1PaymentRequired) 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

Code gets the status code for the invoke agent version external v1 too many requests response

func (*InvokeAgentVersionExternalV1TooManyRequests) Error

func (*InvokeAgentVersionExternalV1TooManyRequests) GetPayload

func (*InvokeAgentVersionExternalV1TooManyRequests) IsClientError

IsClientError returns true when this invoke agent version external v1 too many requests response has a 4xx status code

func (*InvokeAgentVersionExternalV1TooManyRequests) IsCode

IsCode returns true when this invoke agent version external v1 too many requests response a status code equal to that given

func (*InvokeAgentVersionExternalV1TooManyRequests) IsRedirect

IsRedirect returns true when this invoke agent version external v1 too many requests response has a 3xx status code

func (*InvokeAgentVersionExternalV1TooManyRequests) IsServerError

IsServerError returns true when this invoke agent version external v1 too many requests response has a 5xx status code

func (*InvokeAgentVersionExternalV1TooManyRequests) IsSuccess

IsSuccess returns true when this invoke agent version external v1 too many requests response has a 2xx status code

func (*InvokeAgentVersionExternalV1TooManyRequests) 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

Code gets the status code for the invoke published agent external v1 bad request response

func (*InvokePublishedAgentExternalV1BadRequest) Error

func (*InvokePublishedAgentExternalV1BadRequest) GetPayload

func (*InvokePublishedAgentExternalV1BadRequest) IsClientError

IsClientError returns true when this invoke published agent external v1 bad request response has a 4xx status code

func (*InvokePublishedAgentExternalV1BadRequest) IsCode

IsCode returns true when this invoke published agent external v1 bad request response a status code equal to that given

func (*InvokePublishedAgentExternalV1BadRequest) IsRedirect

IsRedirect returns true when this invoke published agent external v1 bad request response has a 3xx status code

func (*InvokePublishedAgentExternalV1BadRequest) IsServerError

IsServerError returns true when this invoke published agent external v1 bad request response has a 5xx status code

func (*InvokePublishedAgentExternalV1BadRequest) IsSuccess

IsSuccess returns true when this invoke published agent external v1 bad request response has a 2xx status code

func (*InvokePublishedAgentExternalV1BadRequest) 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

Code gets the status code for the invoke published agent external v1 forbidden response

func (*InvokePublishedAgentExternalV1Forbidden) Error

func (*InvokePublishedAgentExternalV1Forbidden) GetPayload

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

IsCode returns true when this invoke published agent external v1 forbidden response a status code equal to that given

func (*InvokePublishedAgentExternalV1Forbidden) IsRedirect

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

IsSuccess returns true when this invoke published agent external v1 forbidden response has a 2xx status code

func (*InvokePublishedAgentExternalV1Forbidden) 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

Code gets the status code for the invoke published agent external v1 internal server error response

func (*InvokePublishedAgentExternalV1InternalServerError) Error

func (*InvokePublishedAgentExternalV1InternalServerError) GetPayload

func (*InvokePublishedAgentExternalV1InternalServerError) IsClientError

IsClientError returns true when this invoke published agent external v1 internal server error response has a 4xx status code

func (*InvokePublishedAgentExternalV1InternalServerError) IsCode

IsCode returns true when this invoke published agent external v1 internal server error response a status code equal to that given

func (*InvokePublishedAgentExternalV1InternalServerError) IsRedirect

IsRedirect returns true when this invoke published agent external v1 internal server error response has a 3xx status code

func (*InvokePublishedAgentExternalV1InternalServerError) IsServerError

IsServerError returns true when this invoke published agent external v1 internal server error response has a 5xx status code

func (*InvokePublishedAgentExternalV1InternalServerError) IsSuccess

IsSuccess returns true when this invoke published agent external v1 internal server error response has a 2xx status code

func (*InvokePublishedAgentExternalV1InternalServerError) 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

Code gets the status code for the invoke published agent external v1 not found response

func (*InvokePublishedAgentExternalV1NotFound) Error

func (*InvokePublishedAgentExternalV1NotFound) GetPayload

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

IsCode returns true when this invoke published agent external v1 not found response a status code equal to that given

func (*InvokePublishedAgentExternalV1NotFound) IsRedirect

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

IsSuccess returns true when this invoke published agent external v1 not found response has a 2xx status code

func (*InvokePublishedAgentExternalV1NotFound) 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

Code gets the status code for the invoke published agent external v1 o k response

func (*InvokePublishedAgentExternalV1OK) Error

func (*InvokePublishedAgentExternalV1OK) GetPayload

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

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

SetBody adds the body to the invoke published agent external v1 params

func (*InvokePublishedAgentExternalV1Params) SetContext

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

WithBody adds the body to the invoke published agent external v1 params

func (*InvokePublishedAgentExternalV1Params) WithContext

WithContext adds the context to the invoke published agent external v1 params

func (*InvokePublishedAgentExternalV1Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the invoke published agent external v1 params

func (*InvokePublishedAgentExternalV1Params) WithTimeout

WithTimeout adds the timeout to the invoke published agent external v1 params

func (*InvokePublishedAgentExternalV1Params) WriteToRequest

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

Code gets the status code for the invoke published agent external v1 payment required response

func (*InvokePublishedAgentExternalV1PaymentRequired) Error

func (*InvokePublishedAgentExternalV1PaymentRequired) GetPayload

func (*InvokePublishedAgentExternalV1PaymentRequired) IsClientError

IsClientError returns true when this invoke published agent external v1 payment required response has a 4xx status code

func (*InvokePublishedAgentExternalV1PaymentRequired) IsCode

IsCode returns true when this invoke published agent external v1 payment required response a status code equal to that given

func (*InvokePublishedAgentExternalV1PaymentRequired) IsRedirect

IsRedirect returns true when this invoke published agent external v1 payment required response has a 3xx status code

func (*InvokePublishedAgentExternalV1PaymentRequired) IsServerError

IsServerError returns true when this invoke published agent external v1 payment required response has a 5xx status code

func (*InvokePublishedAgentExternalV1PaymentRequired) IsSuccess

IsSuccess returns true when this invoke published agent external v1 payment required response has a 2xx status code

func (*InvokePublishedAgentExternalV1PaymentRequired) 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

Code gets the status code for the invoke published agent external v1 too many requests response

func (*InvokePublishedAgentExternalV1TooManyRequests) Error

func (*InvokePublishedAgentExternalV1TooManyRequests) GetPayload

func (*InvokePublishedAgentExternalV1TooManyRequests) IsClientError

IsClientError returns true when this invoke published agent external v1 too many requests response has a 4xx status code

func (*InvokePublishedAgentExternalV1TooManyRequests) IsCode

IsCode returns true when this invoke published agent external v1 too many requests response a status code equal to that given

func (*InvokePublishedAgentExternalV1TooManyRequests) IsRedirect

IsRedirect returns true when this invoke published agent external v1 too many requests response has a 3xx status code

func (*InvokePublishedAgentExternalV1TooManyRequests) IsServerError

IsServerError returns true when this invoke published agent external v1 too many requests response has a 5xx status code

func (*InvokePublishedAgentExternalV1TooManyRequests) IsSuccess

IsSuccess returns true when this invoke published agent external v1 too many requests response has a 2xx status code

func (*InvokePublishedAgentExternalV1TooManyRequests) String

Jump to

Keyboard shortcuts

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