Share via


ParameterContract Class

Definition

Operation parameters details.

public class ParameterContract : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.Models.ParameterContract>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.Models.ParameterContract>
type ParameterContract = class
    interface IJsonModel<ParameterContract>
    interface IPersistableModel<ParameterContract>
Public Class ParameterContract
Implements IJsonModel(Of ParameterContract), IPersistableModel(Of ParameterContract)
Inheritance
ParameterContract
Implements

Constructors

ParameterContract(String, String)

Initializes a new instance of ParameterContract.

Properties

DefaultValue

Default parameter value.

Description

Parameter description.

Examples

Exampled defined for the parameter.

IsRequired

Specifies whether parameter is required or not.

Name

Parameter name.

ParameterContractType

Parameter type.

SchemaId

Schema identifier.

TypeName

Type name defined by the schema.

Values

Parameter values.

Explicit Interface Implementations

IJsonModel<ParameterContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ParameterContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ParameterContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ParameterContract>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ParameterContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to