Freigeben über


RestApiOperationServerVariable Class

Definition

REST API Operation Server Variable.

public sealed class RestApiOperationServerVariable
type RestApiOperationServerVariable = class
Public NotInheritable Class RestApiOperationServerVariable
Inheritance
RestApiOperationServerVariable

Constructors

RestApiOperationServerVariable(String, String, List<String>)

Construct a new RestApiOperationServerVariable object.

Properties

Default

REQUIRED. The default value to use for substitution, and to send, if an alternate value is not supplied. Unlike the Schema Object's default, this value MUST be provided by the consumer.

Description

An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.

Enum

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

Methods

IsValid(String)

Return true if the value is valid based on the enumeration of string values to be used.

Applies to