NotificationUserPreference is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class NotificationUserPreference : ApiEntity, IApiEntity
{
NotificationUserPreference(Guid notificationTypeId, Guid? distributionTypeId, bool isEnabled);
Guid? DistributionTypeId { get; set; }
IList<Error> Errors { get; }
bool IsEnabled { get; set; }
Guid NotificationTypeId { get; set; }
IList<Warning> Warnings { get; }
bool HasErrors();
bool HasWarnings();
bool HasWarningsOrErrors();
void ThrowErrors();
}
Constructors
NotificationUserPreference(Guid notificationTypeId, Guid? distributionTypeId, bool isEnabled);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| notificationTypeId | Guid | Notification Type Id | Required | ||
| distributionTypeId | Guid? | Distribution Type Id | Required | ||
| isEnabled | bool | Is Enabled | Required |