Class: IubendaApi::ConsentSolution::Subject
- Inherits:
-
ApiStruct::Entity
- Object
- ApiStruct::Entity
- IubendaApi::ConsentSolution::Subject
- Defined in:
- lib/iubenda_api/consent_solution/subject.rb
Overview
Response serializer class for client service IubendaApi::ConsentSolution::Clients::Subject
Instance Attribute Summary collapse
-
#email ⇒ String
readonly
Email of the subject.
-
#first_name ⇒ String
readonly
First name of the subject.
-
#full_name ⇒ String
readonly
Full name of the subject.
-
#id ⇒ String
readonly
ID of the subject.
-
#last_name ⇒ String
readonly
Last name of the subject.
-
#owner_id ⇒ String
readonly
Owner id of the subject.
-
#preferences ⇒ Object
readonly
Set of key-value pairs with user preferences for the consent action.
-
#timestamp ⇒ Object
readonly
Operation time, for instance creation time, update time.
-
#verified ⇒ Boolean
readonly
Reserved field used to signal whether a subject is verified, for instance via the double opt-in method.
Class Method Summary collapse
-
.create(options = {}) ⇒ IubendaApi::ConsentSolution::Subject, ApiStruct::Errors::Entity
Creates a subject.
-
.list(options = {}) ⇒ Array<IubendaApi::ConsentSolution::Subject>, ApiStruct::Errors::Entity
Gets list of subjects.
-
.show(id) ⇒ IubendaApi::ConsentSolution::Subject, ApiStruct::Errors::Entity
Gets a subject.
-
.update(id, options = {}) ⇒ IubendaApi::ConsentSolution::Subject, ApiStruct::Errors::Entity
Updates a subject.
Instance Attribute Details
#email ⇒ String (readonly)
Returns Email of the subject.
92 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 92 attr_entity :id, :owner_id, :email, :first_name, :last_name, :full_name, :verified, :preferences, :timestamp |
#first_name ⇒ String (readonly)
Returns First name of the subject.
92 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 92 attr_entity :id, :owner_id, :email, :first_name, :last_name, :full_name, :verified, :preferences, :timestamp |
#full_name ⇒ String (readonly)
Returns Full name of the subject.
92 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 92 attr_entity :id, :owner_id, :email, :first_name, :last_name, :full_name, :verified, :preferences, :timestamp |
#id ⇒ String (readonly)
Returns ID of the subject.
92 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 92 attr_entity :id, :owner_id, :email, :first_name, :last_name, :full_name, :verified, :preferences, :timestamp |
#last_name ⇒ String (readonly)
Returns Last name of the subject.
92 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 92 attr_entity :id, :owner_id, :email, :first_name, :last_name, :full_name, :verified, :preferences, :timestamp |
#owner_id ⇒ String (readonly)
Returns owner id of the subject.
92 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 92 attr_entity :id, :owner_id, :email, :first_name, :last_name, :full_name, :verified, :preferences, :timestamp |
#preferences ⇒ Object (readonly)
Returns Set of key-value pairs with user preferences for the consent action.
92 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 92 attr_entity :id, :owner_id, :email, :first_name, :last_name, :full_name, :verified, :preferences, :timestamp |
#timestamp ⇒ Object (readonly)
Returns Operation time, for instance creation time, update time.
92 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 92 attr_entity :id, :owner_id, :email, :first_name, :last_name, :full_name, :verified, :preferences, :timestamp |
#verified ⇒ Boolean (readonly)
Returns Reserved field used to signal whether a subject is verified, for instance via the double opt-in method.
92 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 92 attr_entity :id, :owner_id, :email, :first_name, :last_name, :full_name, :verified, :preferences, :timestamp |
Class Method Details
.create ⇒ IubendaApi::ConsentSolution::Subject, ApiStruct::Errors::Entity .create(options) ⇒ IubendaApi::ConsentSolution::Subject, ApiStruct::Errors::Entity
Creates a subject
|
|
# File 'lib/iubenda_api/consent_solution/subject.rb', line 34
|
.list ⇒ Array<IubendaApi::ConsentSolution::Subject>, ApiStruct::Errors::Entity .list(options) ⇒ Array<IubendaApi::ConsentSolution::Subject>, ApiStruct::Errors::Entity
Gets list of subjects
|
|
# File 'lib/iubenda_api/consent_solution/subject.rb', line 20
|
.show(id) ⇒ IubendaApi::ConsentSolution::Subject, ApiStruct::Errors::Entity
Gets a subject
|
|
# File 'lib/iubenda_api/consent_solution/subject.rb', line 8
|
.update(id) ⇒ IubendaApi::ConsentSolution::Subject, ApiStruct::Errors::Entity .update(id, options) ⇒ IubendaApi::ConsentSolution::Subject, ApiStruct::Errors::Entity
Updates a subject
63 |
# File 'lib/iubenda_api/consent_solution/subject.rb', line 63 client_service IubendaApi::ConsentSolution::Clients::Subject |