Class AlertSourceType
Represents a subsystem or action that can generate alerts (like X.509 certificate expiration, service agreement violation, service performance threshold, etc).
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class AlertSourceType : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<AlertSourceType>
Constructors
AlertSourceType()
Declaration
public AlertSourceType()
Fields
ChangeNotification
Identifier of the alert source type that generates alerts when a repository entity (such as service or access rule) is created, updated, or deleted.
Declaration
public const int ChangeNotification = 4
Field Value
Type | Description |
---|---|
Int32 |
DevPortalAccessKeyExpiration
Identifier of the alert source type that generates alerts when an application access key approaches its expiration date.
Declaration
public const int DevPortalAccessKeyExpiration = 13
Field Value
Type | Description |
---|---|
Int32 |
DevPortalForgotUserName
Identifier of the alert source type that generates alerts when a user requests his user name to be emailed in Developer Portal.
Declaration
public const int DevPortalForgotUserName = 12
Field Value
Type | Description |
---|---|
Int32 |
DevPortalNewConsumer
Identifier of the alert source type that generates alerts when a new consumer account is self-provisioned in Developer Portal.
Declaration
public const int DevPortalNewConsumer = 5
Field Value
Type | Description |
---|---|
Int32 |
DevPortalNewSubscription
Identifier of the alert source type that generates alerts when a new subscription is created by a consumer in Developer Portal.
Declaration
public const int DevPortalNewSubscription = 8
Field Value
Type | Description |
---|---|
Int32 |
DevPortalNewUser
Identifier of the alert source type that generates alerts when a new user is registered in Developer Portal.
Declaration
public const int DevPortalNewUser = 6
Field Value
Type | Description |
---|---|
Int32 |
DevPortalPasswordReset
Identifier of the alert source type that generates alerts when a user requests password reset in Developer Portal.
Declaration
public const int DevPortalPasswordReset = 7
Field Value
Type | Description |
---|---|
Int32 |
DevPortalSubscriptionActivation
Identifier of the alert source type that generates alerts when a subscription status has been changed to Activated.
Declaration
public const int DevPortalSubscriptionActivation = 10
Field Value
Type | Description |
---|---|
Int32 |
DevPortalSubscriptionExpiration
Identifier of the alert source type that generates alerts when a subscription approaches its expiration date.
Declaration
public const int DevPortalSubscriptionExpiration = 11
Field Value
Type | Description |
---|---|
Int32 |
DevPortalSubscriptionPendingActivation
Identifier of the alert source type that generates alerts when a subscription with Requested status exists.
Declaration
public const int DevPortalSubscriptionPendingActivation = 9
Field Value
Type | Description |
---|---|
Int32 |
PerformanceThreshold
Identifier of the alert source type that generates alerts when performance metric(s) of the pre-configured service(s) goes out of specified boundaries.
Declaration
public const int PerformanceThreshold = 3
Field Value
Type | Description |
---|---|
Int32 |
ServiceAgreementViolation
Identifier of the alert source type that generates alerts when pre-configured service agreement(s) is violated.
Declaration
public const int ServiceAgreementViolation = 2
Field Value
Type | Description |
---|---|
Int32 |
X509CertificateValidation
Identifier of the alert source type that generates alerts when X.509 certificates used in the system are expiring.
Declaration
public const int X509CertificateValidation = 1
Field Value
Type | Description |
---|---|
Int32 |
Properties
Name
Gets or sets the alert source name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
ObjectType
Gets object type identifier.
Declaration
public override EntityType ObjectType { get; }
Property Value
Type | Description |
---|---|
EntityType |
Overrides
Methods
Equals(AlertSourceType)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(AlertSourceType other)
Parameters
Type | Name | Description |
---|---|---|
AlertSourceType | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True, if objects are equal. False, if objects are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that represents the current object. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |