Class: GOBL::Org::Person
- Inherits:
-
GOBL::Object
- Object
- Struct
- GOBL::Object
- GOBL::Org::Person
- Defined in:
- lib/generated/gobl/org/person.rb
Overview
Person represents a human, and how to contact them electronically.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Person structure
'https://gobl.org/draft-0/org/person'
Instance Attribute Summary collapse
-
#addresses ⇒ Array<GOBL::Org::Address>
readonly
Regular post addresses for where information should be sent if needed.
-
#avatars ⇒ Array<GOBL::Org::Image>
readonly
Avatars provider links to images or photos or the person.
-
#emails ⇒ Array<GOBL::Org::Email>
readonly
Electronic mail addresses that belong to the person.
-
#identities ⇒ Array<GOBL::Org::Identity>
readonly
Set of codes used to identify the person, such as ID numbers, social security, driving licenses, etc.
-
#key ⇒ GOBL::CBC::Key
readonly
Key used to identify the role of the person inside the context of the object.
-
#label ⇒ String
readonly
Label can be used to identify the person in a given context in a single language, for example “Attn”, “Contact”, “Responsible”, etc.
-
#meta ⇒ GOBL::CBC::Meta
readonly
Data about the data.
-
#name ⇒ GOBL::Org::Name
readonly
Complete details on the name of the person.
-
#role ⇒ String
readonly
Role or job title of the responsibilities of the person within an organization.
-
#telephones ⇒ Array<GOBL::Org::Telephone>
readonly
Regular phone or mobile numbers.
-
#uuid ⇒ String
readonly
Universally Unique Identifier.
Method Summary
Methods inherited from GOBL::Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#addresses ⇒ Array<GOBL::Org::Address> (readonly)
Regular post addresses for where information should be sent if needed.
49 |
# File 'lib/generated/gobl/org/person.rb', line 49 property :addresses, [GOBL::Org::Address] |
#avatars ⇒ Array<GOBL::Org::Image> (readonly)
Avatars provider links to images or photos or the person.
64 |
# File 'lib/generated/gobl/org/person.rb', line 64 property :avatars, [GOBL::Org::Image] |
#emails ⇒ Array<GOBL::Org::Email> (readonly)
Electronic mail addresses that belong to the person.
54 |
# File 'lib/generated/gobl/org/person.rb', line 54 property :emails, [GOBL::Org::Email] |
#identities ⇒ Array<GOBL::Org::Identity> (readonly)
Set of codes used to identify the person, such as ID numbers, social security, driving licenses, etc. that can be attributed to the individual.
44 |
# File 'lib/generated/gobl/org/person.rb', line 44 property :identities, [GOBL::Org::Identity] |
#key ⇒ GOBL::CBC::Key (readonly)
Key used to identify the role of the person inside the context of the object.
28 |
# File 'lib/generated/gobl/org/person.rb', line 28 property :key, GOBL::CBC::Key |
#label ⇒ String (readonly)
Label can be used to identify the person in a given context in a single language, for example “Attn”, “Contact”, “Responsible”, etc.
23 |
# File 'lib/generated/gobl/org/person.rb', line 23 property :label, String |
#meta ⇒ GOBL::CBC::Meta (readonly)
Data about the data.
69 |
# File 'lib/generated/gobl/org/person.rb', line 69 property :meta, GOBL::CBC::Meta |
#name ⇒ GOBL::Org::Name (readonly)
Complete details on the name of the person.
33 |
# File 'lib/generated/gobl/org/person.rb', line 33 property :name, GOBL::Org::Name |
#role ⇒ String (readonly)
Role or job title of the responsibilities of the person within an organization.
39 |
# File 'lib/generated/gobl/org/person.rb', line 39 property :role, String |
#telephones ⇒ Array<GOBL::Org::Telephone> (readonly)
Regular phone or mobile numbers
59 |
# File 'lib/generated/gobl/org/person.rb', line 59 property :telephones, [GOBL::Org::Telephone] |
#uuid ⇒ String (readonly)
Universally Unique Identifier.
18 |
# File 'lib/generated/gobl/org/person.rb', line 18 property :uuid, String |