Class ApplicationSearchQuery
Provides parameters for a query that selects applications from the registry.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities.Search
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class ApplicationSearchQuery : IValidator
Constructors
ApplicationSearchQuery()
Declaration
public ApplicationSearchQuery()
Properties
AccessKey
Gets or sets the access key associated with the application.
Declaration
[DataMember(EmitDefaultValue = false)]
public string AccessKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AccessKeyExpirationFrom
Gets or sets the earliest access key expiration date and time (UTC).
Declaration
[DataMember(EmitDefaultValue = false)]
public DateTime? AccessKeyExpirationFrom { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
AccessKeyExpirationTo
Gets or sets the latest access key expiration date and time (UTC).
Declaration
[DataMember(EmitDefaultValue = false)]
public DateTime? AccessKeyExpirationTo { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
ConsumerId
Gets or sets the identifier of the consumer account that application belongs to. If identifier is provided then ConsumerName search parameter is ignored.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? ConsumerId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
ConsumerName
Gets or sets the name of the consumer account that application belongs to.
Declaration
[DataMember(EmitDefaultValue = false)]
public string ConsumerName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
Key
Gets or sets the application unique identifier. If key is provided then all other search parameters are ignored.
Declaration
[DataMember(EmitDefaultValue = false)]
public Guid? Key { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
Name
Gets or sets the searching entity friendly name that may include wildcards.
Declaration
[DataMember(EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProductId
Gets or sets the identifier of the product associated with this application. If identifier is provided then ProductName search parameter is ignored.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? ProductId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
ProductName
Gets or sets the product name associated with this application.
Declaration
[DataMember(EmitDefaultValue = false)]
public string ProductName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SortField
Gets or sets the field that result will be sorted by.
Declaration
[DataMember]
public ApplicationsSortField SortField { get; set; }
Property Value
| Type | Description |
|---|---|
| ApplicationsSortField |
SortOrder
Gets or sets the result sort order.
Declaration
[DataMember]
public SortOrder SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| SortOrder |
SubscriptionId
Gets or sets the identifier of the Subscription this application is using. If identifier is provided then SubscriptionName search parameter is ignored.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? SubscriptionId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
SubscriptionName
Gets or sets the subscription name associated with this application.
Declaration
[DataMember(EmitDefaultValue = false)]
public string SubscriptionName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if state is valid; otherwise, false. |