Freigeben über


RestApiOperationServerVariable(String, String, List<String>) Constructor

Definition

Construct a new RestApiOperationServerVariable object.

public RestApiOperationServerVariable (string defaultValue, string? description = default, System.Collections.Generic.List<string>? enumValues = default);
new Microsoft.SemanticKernel.Plugins.OpenApi.RestApiOperationServerVariable : string * string * System.Collections.Generic.List<string> -> Microsoft.SemanticKernel.Plugins.OpenApi.RestApiOperationServerVariable
Public Sub New (defaultValue As String, Optional description As String = Nothing, Optional enumValues As List(Of String) = Nothing)

Parameters

defaultValue
String

The default value to use for substitution.

description
String

An optional description for the server variable.

enumValues
List<String>

An enumeration of string values to be used if the substitution options are from a limited set.

Applies to