Class SubscriptionExpirationAlertSourceConfiguration
Represents configuration for Developer Portal product subscription expiration alert source.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Alerts
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class SubscriptionExpirationAlertSourceConfiguration : IValidator
Constructors
SubscriptionExpirationAlertSourceConfiguration()
Initializes new instance with default values.
Declaration
public SubscriptionExpirationAlertSourceConfiguration()
Properties
DaysBeforeExpiration
Gets or sets the maximum number of days before expiration when subscription starts reporting as expiring. Default is 8 days.
Declaration
public int DaysBeforeExpiration { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
String |
Methods
Validate()
Evaluates the state of the object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |