RestApiOperationResponse(Object, String, KernelJsonSchema) Constructor
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.
Initializes a new instance of the RestApiOperationResponse class.
public RestApiOperationResponse (object? content, string? contentType, Microsoft.SemanticKernel.KernelJsonSchema? expectedSchema = default);
new Microsoft.SemanticKernel.RestApiOperationResponse : obj * string * Microsoft.SemanticKernel.KernelJsonSchema -> Microsoft.SemanticKernel.RestApiOperationResponse
Public Sub New (content As Object, contentType As String, Optional expectedSchema As KernelJsonSchema = Nothing)
Parameters
- content
- Object
The content of the response.
- contentType
- String
The content type of the response.
- expectedSchema
- KernelJsonSchema
The schema against which the response body should be validated.