Class ServiceVersionSearchQuery
Provides parameters for a query that selects services versions from the registry.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities.Search
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ServiceVersionSearchQuery : SearchQuery, IValidator
Constructors
ServiceVersionSearchQuery()
Declaration
public ServiceVersionSearchQuery()
Properties
IsVirtual
Gets or sets flag indicating that only virtual or only physical services must be retrieved. If not set, all services are retrieved.
Declaration
public bool? IsVirtual { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Keywords
Gets or sets the semicolon-separated list of keywords or name/value tags that service version must have. The keywords may include wildcards. Returned service versions must match all keywords and values in the list.
Declaration
public string Keywords { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Examples
soap;Weather*;1.0;version=1.0;owner=jsmith
Kind
Gets or sets the kind of service to be returned (SOAP, REST, OpenData). If not set, the kinds are not checked.
Declaration
public ServiceKind? Kind { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ServiceKind> |
ServiceName
Gets or sets the service name that may include wildcards.
Declaration
public string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
Gets or sets the status of the service version to be returned. If not set, statuses are not checked.
Declaration
public ServiceVersionStatus? Status { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ServiceVersionStatus> |
Version
Gets or sets the custom-defined version identifier.
Declaration
public string Version { get; set; }
Property Value
Type | Description |
---|---|
System.String |
VersionNumber
Gets or sets the service version number.
Declaration
public int? VersionNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |