SchemaContract Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
API Schema Contract details.
[Microsoft.Rest.Serialization.JsonTransformation]
public class SchemaContract : Microsoft.Azure.Management.ApiManagement.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SchemaContract = class
inherit Resource
Public Class SchemaContract
Inherits Resource
- Inheritance
- Attributes
Constructors
SchemaContract() |
Initializes a new instance of the SchemaContract class. |
SchemaContract(String, String, String, String, String, Object, Object) |
Initializes a new instance of the SchemaContract class. |
Properties
Components |
Gets or sets types definitions. Used for Swagger/OpenAPI v2/v3 schemas only, null otherwise. |
ContentType |
Gets or sets must be a valid a media type used in a Content-Type
header as defined in the RFC 2616. Media type of the schema
document (e.g. application/json, application/xml).
</br> - |
Definitions |
Gets or sets types definitions. Used for Swagger/OpenAPI v1 schemas only, null otherwise. |
Id |
Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} (Inherited from Resource) |
Name |
Gets the name of the resource (Inherited from Resource) |
Type |
Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" (Inherited from Resource) |
Value |
Gets or sets json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI. |
WsdlSchema |
Gets the Wsdl Schema from the Document JObject |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET