RestApiOperationResponse Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |