Aracılığıyla paylaş


RepresentationContract Constructors

Definition

Overloads

RepresentationContract()

Initializes a new instance of the RepresentationContract class.

RepresentationContract(String, String, String, IList<ParameterContract>, IDictionary<String,ParameterExampleContract>)

Initializes a new instance of the RepresentationContract class.

RepresentationContract()

Initializes a new instance of the RepresentationContract class.

public RepresentationContract ();
Public Sub New ()

Applies to

RepresentationContract(String, String, String, IList<ParameterContract>, IDictionary<String,ParameterExampleContract>)

Initializes a new instance of the RepresentationContract class.

public RepresentationContract (string contentType, string schemaId = default, string typeName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ParameterContract> formParameters = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ApiManagement.Models.ParameterExampleContract> examples = default);
new Microsoft.Azure.Management.ApiManagement.Models.RepresentationContract : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ParameterContract> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ApiManagement.Models.ParameterExampleContract> -> Microsoft.Azure.Management.ApiManagement.Models.RepresentationContract
Public Sub New (contentType As String, Optional schemaId As String = Nothing, Optional typeName As String = Nothing, Optional formParameters As IList(Of ParameterContract) = Nothing, Optional examples As IDictionary(Of String, ParameterExampleContract) = Nothing)

Parameters

contentType
String

Specifies a registered or custom content type for this representation, e.g. application/xml.

schemaId
String

Schema identifier. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'.

typeName
String

Type name defined by the schema. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'.

formParameters
IList<ParameterContract>

Collection of form parameters. Required if 'contentType' value is either 'application/x-www-form-urlencoded' or 'multipart/form-data'..

examples
IDictionary<String,ParameterExampleContract>

Exampled defined for the representation.

Applies to