次の方法で共有


RepresentationContract クラス

定義

操作の要求/応答表現の詳細。

public class RepresentationContract
type RepresentationContract = class
Public Class RepresentationContract
継承
RepresentationContract

コンストラクター

RepresentationContract()

RepresentationContract クラスの新しいインスタンスを初期化します。

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

RepresentationContract クラスの新しいインスタンスを初期化します。

プロパティ

ContentType

この表現の登録済みコンテンツ タイプまたはカスタム コンテンツ タイプ (application/xml など) を取得または設定します。

Examples

表現に対して定義された例を取得または設定します。

FormParameters

フォーム パラメーターのコレクションを取得または設定します。 'contentType' 値が 'application/x-www-form-urlencoded' または 'multipart/form-data' の場合は必須です。

SchemaId

スキーマ識別子を取得または設定します。 'contentType' 値が 'application/x-www-form-urlencoded' でも 'multipart/form-data' でもない場合にのみ適用されます。

TypeName

スキーマで定義された型名を取得または設定します。 'contentType' 値が 'application/x-www-form-urlencoded' でも 'multipart/form-data' でもない場合にのみ適用されます。

メソッド

Validate()

オブジェクトを検証します。

適用対象