Share via


RestApiOperationResponse Class

Definition

The REST API operation response.

[System.ComponentModel.TypeConverter(typeof(Microsoft.SemanticKernel.RestApiOperationResponseConverter))]
public sealed class RestApiOperationResponse
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SemanticKernel.RestApiOperationResponseConverter))>]
type RestApiOperationResponse = class
Public NotInheritable Class RestApiOperationResponse
Inheritance
RestApiOperationResponse
Attributes

Constructors

RestApiOperationResponse(Object, String, KernelJsonSchema)

Initializes a new instance of the RestApiOperationResponse class.

Properties

Content

Gets the content of the response.

ContentType

Gets the content type of the response.

ExpectedSchema

The expected schema of the response as advertised in the OpenAPI operation.

RequestMethod

Gets the method used for the HTTP request.

RequestPayload

Gets the payload sent in the request.

RequestUri

Gets the System.Uri used for the HTTP request.

Methods

ToString()

Returns a string that represents the current object.

Extension Methods

IsValid(RestApiOperationResponse)

Validates the response content against the schema.

Applies to