Class RestMetadataInfo
Provides information about REST service located in metadata document, such as Swagger. This class is usually used during REST service import process to provide a brief endpoint information on UI.
Inheritance
System.Object
RestMetadataInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Nevatech.Vsb.Repository.Description
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class RestMetadataInfo
Constructors
RestMetadataInfo()
Declaration
public RestMetadataInfo()
Properties
Endpoints
Gets collection of endpoints defined in the metadata.
Declaration
public Collection<RestEndpointInfo> Endpoints { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<RestEndpointInfo> |
Errors
Gets collection or errors and warnings encountered during the metadata import process.
Declaration
public Collection<ErrorInfo> Errors { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<ErrorInfo> |
FileId
Gets or sets a metadata file identifier in the service session storage.
Declaration
public int FileId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Operations
Gets the collection of operations defined in the metadata.
Declaration
public Collection<RestOperationInfo> Operations { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<RestOperationInfo> |
ServiceName
Gets or sets the service name.
Declaration
public string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
System.String |