Dela via


ParameterContract Class

Definition

Operation parameters details.

public class ParameterContract
type ParameterContract = class
Public Class ParameterContract
Inheritance
ParameterContract

Constructors

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.

Properties

DefaultValue

Gets or sets default parameter value.

Description

Gets or sets parameter description.

Examples

Gets or sets exampled defined for the parameter.

Name

Gets or sets parameter name.

Required

Gets or sets specifies whether parameter is required or not.

SchemaId

Gets or sets schema identifier.

Type

Gets or sets parameter type.

TypeName

Gets or sets type name defined by the schema.

Values

Gets or sets parameter values.

Methods

Validate()

Validate the object.

Applies to