Class: OpenActive::Models::Person
Overview
This type is derived from [Person](schema.org/Person), which means that any of this type’s properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
Instance Attribute Summary collapse
#additional_name, #affiliation, #alumni_of, #award, #awards, #birth_date, #birth_place, #brand, #call_sign, #children, #colleague, #colleagues, #contact_point, #contact_points, #death_date, #death_place, #duns, #fax_number, #follows, #funder, #global_location_number, #has_credential, #has_occupation, #has_offer_catalog, #has_pos, #height, #home_location, #honorific_prefix, #honorific_suffix, #isic_v4, #knows, #knows_about, #knows_language, #makes_offer, #member_of, #naics, #nationality, #net_worth, #owns, #parent, #parents, #performer_in, #publishing_principles, #related_to, #seeks, #sibling, #siblings, #sponsor, #spouse, #tax_id, #weight, #work_location, #works_for
#additional_type, #alternate_name, #disambiguating_description, #image, #main_entity_of_page, #potential_action, #subject_of
Attributes inherited from JsonLdModel
#context, #id
Method Summary
Methods inherited from BaseModel
#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json
#check_types, included
included, #to_h, #values
Instance Attribute Details
31
32
33
|
# File 'lib/openactive/models/person.rb', line 31
def address
@address
end
|
#description ⇒ String
26
27
28
|
# File 'lib/openactive/models/person.rb', line 26
def description
@description
end
|
#email ⇒ String
36
37
38
|
# File 'lib/openactive/models/person.rb', line 36
def email
@email
end
|
#family_name ⇒ String
41
42
43
|
# File 'lib/openactive/models/person.rb', line 41
def family_name
@family_name
end
|
103
104
105
|
# File 'lib/openactive/models/person.rb', line 103
def formatted_description
@formatted_description
end
|
46
47
48
|
# File 'lib/openactive/models/person.rb', line 46
def gender
@gender
end
|
#given_name ⇒ String
52
53
54
|
# File 'lib/openactive/models/person.rb', line 52
def given_name
@given_name
end
|
#identifier ⇒ int, ...
12
13
14
|
# File 'lib/openactive/models/person.rb', line 12
def identifier
@identifier
end
|
#job_title ⇒ String
57
58
59
|
# File 'lib/openactive/models/person.rb', line 57
def job_title
@job_title
end
|
#legal_name ⇒ String
62
63
64
|
# File 'lib/openactive/models/person.rb', line 62
def legal_name
@legal_name
end
|
67
68
69
|
# File 'lib/openactive/models/person.rb', line 67
def logo
@logo
end
|
#name ⇒ String
21
22
23
|
# File 'lib/openactive/models/person.rb', line 21
def name
@name
end
|
#same_as ⇒ Array<URI>
72
73
74
|
# File 'lib/openactive/models/person.rb', line 72
def same_as
@same_as
end
|
77
78
79
|
# File 'lib/openactive/models/person.rb', line 77
def tax_mode
@tax_mode
end
|
#telephone ⇒ String
83
84
85
|
# File 'lib/openactive/models/person.rb', line 83
def telephone
@telephone
end
|
88
89
90
|
# File 'lib/openactive/models/person.rb', line 88
def terms_of_service
@terms_of_service
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/person.rb', line 7
def type
"Person"
end
|
#url ⇒ URI
93
94
95
|
# File 'lib/openactive/models/person.rb', line 93
def url
@url
end
|
#vat_id ⇒ String
98
99
100
|
# File 'lib/openactive/models/person.rb', line 98
def vat_id
@vat_id
end
|