Condividi tramite


ParameterContract Constructors

Definition

Overloads

ParameterContract()

Initializes a new instance of the ParameterContract class.

ParameterContract(String, String, String, String, Nullable<Boolean>, IList<String>, String, String, IDictionary<String,ParameterExampleContract>)

Initializes a new instance of the ParameterContract class.

ParameterContract()

Initializes a new instance of the ParameterContract class.

public ParameterContract ();
Public Sub New ()

Applies to

ParameterContract(String, String, String, String, Nullable<Boolean>, IList<String>, String, String, IDictionary<String,ParameterExampleContract>)

Initializes a new instance of the ParameterContract class.

public ParameterContract (string name, string type, string description = default, string defaultValue = default, bool? required = default, System.Collections.Generic.IList<string> values = default, string schemaId = default, string typeName = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ApiManagement.Models.ParameterExampleContract> examples = default);
new Microsoft.Azure.Management.ApiManagement.Models.ParameterContract : string * string * string * string * Nullable<bool> * System.Collections.Generic.IList<string> * string * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ApiManagement.Models.ParameterExampleContract> -> Microsoft.Azure.Management.ApiManagement.Models.ParameterContract
Public Sub New (name As String, type As String, Optional description As String = Nothing, Optional defaultValue As String = Nothing, Optional required As Nullable(Of Boolean) = Nothing, Optional values As IList(Of String) = Nothing, Optional schemaId As String = Nothing, Optional typeName As String = Nothing, Optional examples As IDictionary(Of String, ParameterExampleContract) = Nothing)

Parameters

name
String

Parameter name.

type
String

Parameter type.

description
String

Parameter description.

defaultValue
String

Default parameter value.

required
Nullable<Boolean>

Specifies whether parameter is required or not.

values
IList<String>

Parameter values.

schemaId
String

Schema identifier.

typeName
String

Type name defined by the schema.

examples
IDictionary<String,ParameterExampleContract>

Exampled defined for the parameter.

Applies to