Class NSConsentSource
Carrier object for ConsentSource.
Constructors
NSConsentSource()
Initializes a new instance of the NSConsentSource class.
Declaration
NSConsentSource Methods
GetConsentSourceId()
Declaration
Integer GetConsentSourceId() Examples
NSConsentSource thing;
Integer consentSourceId = thing.GetConsentSourceId();
Returns
| Type | Description |
| Integer | Primary key. |
GetDeleted()
Declaration
Bool GetDeleted() Examples
NSConsentSource thing;
Bool deleted = thing.GetDeleted();
Returns
| Type | Description |
| Bool | true if the NSConsentSource is deleted. |
GetKey()
Declaration
String GetKey() Examples
NSConsentSource thing;
String key = thing.GetKey();
Returns
| Type | Description |
| String | The key used to uniquely identify this consent source. |
GetMailTemplateId()
Declaration
Integer GetMailTemplateId() Examples
NSConsentSource thing;
Integer mailTemplateId = thing.GetMailTemplateId();
Returns
| Type | Description |
| Integer | The mail template to use when automatically sending emails to new persons created with this consent source. |
GetName()
Declaration
String GetName() Examples
NSConsentSource thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | Name of consent source. |
GetRank()
Declaration
Integer GetRank() Examples
NSConsentSource thing;
Integer rank = thing.GetRank();
Returns
| Type | Description |
| Integer | Rank of this consent source. |
GetTooltip()
Declaration
String GetTooltip() Examples
NSConsentSource thing;
String tooltip = thing.GetTooltip();
Returns
| Type | Description |
| String | Tooltip for this consent source. |
SetConsentSourceId(Integer)
Declaration
Void SetConsentSourceId(Integer consentSourceId) Examples
NSConsentSource thing;
Integer consentSourceId;
thing.SetConsentSourceId(consentSourceId);
Parameters
| Type | Name | Description |
| Integer | consentSourceId | Primary key. |
Returns
| Type | Description |
| Void |
SetDeleted(Bool)
Declaration
Void SetDeleted(Bool deleted) Examples
NSConsentSource thing;
Bool deleted;
thing.SetDeleted(deleted);
Parameters
| Type | Name | Description |
| Bool | deleted | true if the NSConsentSource is deleted. |
Returns
| Type | Description |
| Void |
SetKey(String)
Declaration
Void SetKey(String key) Examples
NSConsentSource thing;
String key;
thing.SetKey(key);
Parameters
| Type | Name | Description |
| String | key | The key used to uniquely identify this consent source. |
Returns
| Type | Description |
| Void |
SetMailTemplateId(Integer)
Declaration
Void SetMailTemplateId(Integer mailTemplateId) Examples
NSConsentSource thing;
Integer mailTemplateId;
thing.SetMailTemplateId(mailTemplateId);
Parameters
| Type | Name | Description |
| Integer | mailTemplateId | The mail template to use when automatically sending emails to new persons created with this consent source. |
Returns
| Type | Description |
| Void |
SetName(String)
Declaration
Void SetName(String name) Examples
NSConsentSource thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | Name of consent source. |
Returns
| Type | Description |
| Void |