MailingList is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class MailingList : ApiEntityWithExtendedAttributes<MailingList>, IApiEntity
{
MailingList();
MailingList(AdditionalInfo additionalInfo);
MailingList(Error error);
MailingList(Warning warning);
Application Application { get; set; }
string EmailAddress { get; set; }
IList<Error> Errors { get; }
ApiList<ExtendedAttribute> ExtendedAttributes { get; }
string FooterMessage { get; }
Guid Id { get; set; }
bool IsEnabled { get; set; }
string ListName { get; }
Guid MappedMediaGalleryId { get; }
bool PassiveMode { get; }
string PassiveModeAddress { get; }
IList<Warning> Warnings { get; }
string FullEmailAddress();
bool GetExtendedAttributeBool(string name, bool defaultValue);
DateTime GetExtendedAttributeDateTime(string name, DateTime defaultValue);
Guid GetExtendedAttributeGuid(string name, Guid defaultValue);
int GetExtendedAttributeInt(string name, int defaultValue);
string GetExtendedAttributeString(string name, string defaultValue);
bool HasErrors();
bool HasWarnings();
bool HasWarningsOrErrors();
void ThrowErrors();
}
Constructors
MailingList();
MailingList(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |
MailingList(Error error);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| error | Error | Error | Required |
MailingList(Warning warning);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| warning | Warning | Warning | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Application | Application | |||
| EmailAddress | string | |||
| Errors | IList<Error> | |||
| ExtendedAttributes | ApiList<ExtendedAttribute> | |||
| FooterMessage | string | |||
| Id | Guid | |||
| IsEnabled | bool | |||
| ListName | string | |||
| MappedMediaGalleryId | Guid | |||
| PassiveMode | bool | |||
| PassiveModeAddress | string | |||
| Warnings | IList<Warning> |
Methods
string FullEmailAddress();
Return Type
bool GetExtendedAttributeBool(string name, bool defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | bool | Default Value | Required |
Return Type
DateTime GetExtendedAttributeDateTime(string name, DateTime defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | DateTime | Default Value | Required |
Return Type
Guid GetExtendedAttributeGuid(string name, Guid defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | Guid | Default Value | Required |
Return Type
int GetExtendedAttributeInt(string name, int defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | int | Default Value | Required |
Return Type
string GetExtendedAttributeString(string name, string defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | string | Default Value | Required |