RestApiOperationPayload 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.
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.