Share via


RestApiOperationPayload Constructor

Definition

Creates an instance of a RestApiOperationPayload class.

public RestApiOperationPayload (string mediaType, System.Collections.Generic.IList<Microsoft.SemanticKernel.Plugins.OpenApi.RestApiOperationPayloadProperty> properties, string? description = default, Microsoft.SemanticKernel.KernelJsonSchema? schema = default);
new Microsoft.SemanticKernel.Plugins.OpenApi.RestApiOperationPayload : string * System.Collections.Generic.IList<Microsoft.SemanticKernel.Plugins.OpenApi.RestApiOperationPayloadProperty> * string * Microsoft.SemanticKernel.KernelJsonSchema -> Microsoft.SemanticKernel.Plugins.OpenApi.RestApiOperationPayload
Public Sub New (mediaType As String, properties As IList(Of RestApiOperationPayloadProperty), Optional description As String = Nothing, Optional schema As KernelJsonSchema = Nothing)

Parameters

mediaType
String

The media type.

properties
IList<RestApiOperationPayloadProperty>

The properties.

description
String

The description.

schema
KernelJsonSchema

The JSON Schema.

Applies to