Class NSConsentInfo
Consent information for a give person. Consents are for a particular Purpose, and may be withdrawn (see LegalBase).
Constructors
NSConsentInfo()
Initializes a new instance of the NSConsentInfo class.
Declaration
NSConsentInfo Methods
GetComment()
Declaration
String GetComment() Examples
NSConsentInfo thing;
String comment = thing.GetComment();
Returns
| Type | Description |
| String | Comment regarding this specific consent. |
GetConsentPersonId()
Declaration
Integer GetConsentPersonId() Examples
NSConsentInfo thing;
Integer consentPersonId = thing.GetConsentPersonId();
Returns
| Type | Description |
| Integer | Primary key. |
GetConsentPurposeId()
Declaration
Integer GetConsentPurposeId() Examples
NSConsentInfo thing;
Integer consentPurposeId = thing.GetConsentPurposeId();
Returns
| Type | Description |
| Integer | Primary key for the NSConsentPurpose associated with this consent. |
GetConsentPurposeKey()
Declaration
String GetConsentPurposeKey() Examples
NSConsentInfo thing;
String consentPurposeKey = thing.GetConsentPurposeKey();
Returns
| Type | Description |
| String | Key of the NSConsentPurpose associated with this consent. |
GetConsentPurposeName()
Declaration
String GetConsentPurposeName() Examples
NSConsentInfo thing;
String consentPurposeName = thing.GetConsentPurposeName();
Returns
| Type | Description |
| String | Name of the NSConsentPurpose associated with this consent. |
GetConsentSourceId()
Declaration
Integer GetConsentSourceId() Examples
NSConsentInfo thing;
Integer consentSourceId = thing.GetConsentSourceId();
Returns
| Type | Description |
| Integer | Primary key for the NSConsentSource associated with this consent. |
GetConsentSourceKey()
Declaration
String GetConsentSourceKey() Examples
NSConsentInfo thing;
String consentSourceKey = thing.GetConsentSourceKey();
Returns
| Type | Description |
| String | Key of the NSConsentSource associated with this consent. |
GetConsentSourceName()
Declaration
String GetConsentSourceName() Examples
NSConsentInfo thing;
String consentSourceName = thing.GetConsentSourceName();
Returns
| Type | Description |
| String | Name of the NSConsentSource associated with this consent. |
GetLegalBaseId()
Declaration
Integer GetLegalBaseId() Examples
NSConsentInfo thing;
Integer legalBaseId = thing.GetLegalBaseId();
Returns
| Type | Description |
| Integer | Primary key for the NSLegalBase associated with this consent. |
GetLegalBaseKey()
Declaration
String GetLegalBaseKey() Examples
NSConsentInfo thing;
String legalBaseKey = thing.GetLegalBaseKey();
Returns
| Type | Description |
| String | Key for the NSLegalBase associated with this consent. |
GetLegalBaseName()
Declaration
String GetLegalBaseName() Examples
NSConsentInfo thing;
String legalBaseName = thing.GetLegalBaseName();
Returns
| Type | Description |
| String | Name of the NSLegalBase associated with this consent. |
GetRegistered()
Declaration
DateTime GetRegistered() Examples
NSConsentInfo thing;
DateTime registered = thing.GetRegistered();
Returns
| Type | Description |
| DateTime | When this consent record was created. |
GetRegisteredAssociateId()
Declaration
Integer GetRegisteredAssociateId() Examples
NSConsentInfo thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();
Returns
| Type | Description |
| Integer | The ID of the associate who created this record. |
GetUpdated()
Declaration
DateTime GetUpdated() Examples
NSConsentInfo thing;
DateTime updated = thing.GetUpdated();
Returns
| Type | Description |
| DateTime | When this consent record was last updated. |
GetUpdatedAssociateId()
Declaration
Integer GetUpdatedAssociateId() Examples
NSConsentInfo thing;
Integer updatedAssociateId = thing.GetUpdatedAssociateId();
Returns
| Type | Description |
| Integer | The ID of the associate who last updated this record. |
SetComment(String)
Declaration
Void SetComment(String comment) Examples
NSConsentInfo thing;
String comment;
thing.SetComment(comment);
Parameters
| Type | Name | Description |
| String | comment | Comment regarding this specific consent. |
Returns
| Type | Description |
| Void |
SetConsentPersonId(Integer)
Declaration
Void SetConsentPersonId(Integer consentPersonId) Examples
NSConsentInfo thing;
Integer consentPersonId;
thing.SetConsentPersonId(consentPersonId);
Parameters
| Type | Name | Description |
| Integer | consentPersonId | Primary key. |
Returns
| Type | Description |
| Void |
SetConsentPurposeId(Integer)
Declaration
Void SetConsentPurposeId(Integer consentPurposeId) Examples
NSConsentInfo thing;
Integer consentPurposeId;
thing.SetConsentPurposeId(consentPurposeId);
Parameters
| Type | Name | Description |
| Integer | consentPurposeId | Primary key for the NSConsentPurpose associated with this consent. |
Returns
| Type | Description |
| Void |
SetConsentPurposeKey(String)
Declaration
Void SetConsentPurposeKey(String consentPurposeKey) Examples
NSConsentInfo thing;
String consentPurposeKey;
thing.SetConsentPurposeKey(consentPurposeKey);
Parameters
| Type | Name | Description |
| String | consentPurposeKey | Key of the NSConsentPurpose associated with this consent. |
Returns
| Type | Description |
| Void |
SetConsentPurposeName(String)
Declaration
Void SetConsentPurposeName(String consentPurposeName) Examples
NSConsentInfo thing;
String consentPurposeName;
thing.SetConsentPurposeName(consentPurposeName);
Parameters
| Type | Name | Description |
| String | consentPurposeName | Name of the NSConsentPurpose associated with this consent. |
Returns
| Type | Description |
| Void |
SetConsentSourceId(Integer)
Declaration
Void SetConsentSourceId(Integer consentSourceId) Examples
NSConsentInfo thing;
Integer consentSourceId;
thing.SetConsentSourceId(consentSourceId);
Parameters
| Type | Name | Description |
| Integer | consentSourceId | Primary key for the NSConsentSource associated with this consent. |
Returns
| Type | Description |
| Void |
SetConsentSourceKey(String)
Declaration
Void SetConsentSourceKey(String consentSourceKey) Examples
NSConsentInfo thing;
String consentSourceKey;
thing.SetConsentSourceKey(consentSourceKey);
Parameters
| Type | Name | Description |
| String | consentSourceKey | Key of the NSConsentSource associated with this consent. |
Returns
| Type | Description |
| Void |
SetConsentSourceName(String)
Declaration
Void SetConsentSourceName(String consentSourceName) Examples
NSConsentInfo thing;
String consentSourceName;
thing.SetConsentSourceName(consentSourceName);
Parameters
| Type | Name | Description |
| String | consentSourceName | Name of the NSConsentSource associated with this consent. |
Returns
| Type | Description |
| Void |
SetLegalBaseId(Integer)
Declaration
Void SetLegalBaseId(Integer legalBaseId) Examples
NSConsentInfo thing;
Integer legalBaseId;
thing.SetLegalBaseId(legalBaseId);
Parameters
| Type | Name | Description |
| Integer | legalBaseId | Primary key for the NSLegalBase associated with this consent. |
Returns
| Type | Description |
| Void |
SetLegalBaseKey(String)
Declaration
Void SetLegalBaseKey(String legalBaseKey) Examples
NSConsentInfo thing;
String legalBaseKey;
thing.SetLegalBaseKey(legalBaseKey);
Parameters
| Type | Name | Description |
| String | legalBaseKey | Key for the NSLegalBase associated with this consent. |
Returns
| Type | Description |
| Void |
SetLegalBaseName(String)
Declaration
Void SetLegalBaseName(String legalBaseName) Examples
NSConsentInfo thing;
String legalBaseName;
thing.SetLegalBaseName(legalBaseName);
Parameters
| Type | Name | Description |
| String | legalBaseName | Name of the NSLegalBase associated with this consent. |
Returns
| Type | Description |
| Void |
SetRegistered(DateTime)
Declaration
Void SetRegistered(DateTime registered) Examples
NSConsentInfo thing;
DateTime registered;
thing.SetRegistered(registered);
Parameters
| Type | Name | Description |
| DateTime | registered | When this consent record was created. |
Returns
| Type | Description |
| Void |
SetRegisteredAssociateId(Integer)
Declaration
Void SetRegisteredAssociateId(Integer registeredAssociateId) Examples
NSConsentInfo thing;
Integer registeredAssociateId;
thing.SetRegisteredAssociateId(registeredAssociateId);
Parameters
| Type | Name | Description |
| Integer | registeredAssociateId | The ID of the associate who created this record. |
Returns
| Type | Description |
| Void |
SetUpdated(DateTime)
Declaration
Void SetUpdated(DateTime updated) Examples
NSConsentInfo thing;
DateTime updated;
thing.SetUpdated(updated);
Parameters
| Type | Name | Description |
| DateTime | updated | When this consent record was last updated. |
Returns
| Type | Description |
| Void |
SetUpdatedAssociateId(Integer)
Declaration
Void SetUpdatedAssociateId(Integer updatedAssociateId) Examples
NSConsentInfo thing;
Integer updatedAssociateId;
thing.SetUpdatedAssociateId(updatedAssociateId);
Parameters
| Type | Name | Description |
| Integer | updatedAssociateId | The ID of the associate who last updated this record. |
Returns
| Type | Description |
| Void |