Class: OpenActive::Models::Schema::Person

Inherits:
Thing show all
Defined in:
lib/openactive/models/schema/person.rb

Direct Known Subclasses

Person

Instance Attribute Summary collapse

Attributes inherited from Thing

#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url

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

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#additional_nameString

Returns:

  • (String)


12
13
14
# File 'lib/openactive/models/schema/person.rb', line 12

def additional_name
  @additional_name
end

#addressString, OpenActive::Models::Schema::PostalAddress



189
190
191
# File 'lib/openactive/models/schema/person.rb', line 189

def address
  @address
end

#affiliationOpenActive::Models::Schema::Organization



141
142
143
# File 'lib/openactive/models/schema/person.rb', line 141

def affiliation
  @affiliation
end

#alumni_ofOpenActive::Models::Schema::EducationalOrganization, OpenActive::Models::Schema::Organization



282
283
284
# File 'lib/openactive/models/schema/person.rb', line 282

def alumni_of
  @alumni_of
end

#awardString

Returns:

  • (String)


322
323
324
# File 'lib/openactive/models/schema/person.rb', line 322

def award
  @award
end

#awardsString

Returns:

  • (String)


157
158
159
# File 'lib/openactive/models/schema/person.rb', line 157

def awards
  @awards
end

#birth_dateDate?

Returns:

  • (Date, nil)


135
136
137
# File 'lib/openactive/models/schema/person.rb', line 135

def birth_date
  @birth_date
end

#birth_placeOpenActive::Models::Schema::Place



221
222
223
# File 'lib/openactive/models/schema/person.rb', line 221

def birth_place
  @birth_place
end

#brandOpenActive::Models::Schema::Brand, OpenActive::Models::Schema::Organization



183
184
185
# File 'lib/openactive/models/schema/person.rb', line 183

def brand
  @brand
end

#call_signString

Returns:

  • (String)


277
278
279
# File 'lib/openactive/models/schema/person.rb', line 277

def call_sign
  @call_sign
end

#childrenOpenActive::Models::Schema::Person



88
89
90
# File 'lib/openactive/models/schema/person.rb', line 88

def children
  @children
end

#colleagueURI, OpenActive::Models::Schema::Person



77
78
79
# File 'lib/openactive/models/schema/person.rb', line 77

def colleague
  @colleague
end

#colleaguesOpenActive::Models::Schema::Person



50
51
52
# File 'lib/openactive/models/schema/person.rb', line 50

def colleagues
  @colleagues
end

#contact_pointOpenActive::Models::Schema::ContactPoint



66
67
68
# File 'lib/openactive/models/schema/person.rb', line 66

def contact_point
  @contact_point
end

#contact_pointsOpenActive::Models::Schema::ContactPoint



288
289
290
# File 'lib/openactive/models/schema/person.rb', line 288

def contact_points
  @contact_points
end

#death_dateDate?

Returns:

  • (Date, nil)


200
201
202
# File 'lib/openactive/models/schema/person.rb', line 200

def death_date
  @death_date
end

#death_placeOpenActive::Models::Schema::Place



327
328
329
# File 'lib/openactive/models/schema/person.rb', line 327

def death_place
  @death_place
end

#dunsString

Returns:

  • (String)


231
232
233
# File 'lib/openactive/models/schema/person.rb', line 231

def duns
  @duns
end

#emailString

Returns:

  • (String)


45
46
47
# File 'lib/openactive/models/schema/person.rb', line 45

def email
  @email
end

#family_nameString

Returns:

  • (String)


251
252
253
# File 'lib/openactive/models/schema/person.rb', line 251

def family_name
  @family_name
end

#fax_numberString

Returns:

  • (String)


226
227
228
# File 'lib/openactive/models/schema/person.rb', line 226

def fax_number
  @fax_number
end

#followsOpenActive::Models::Schema::Person



246
247
248
# File 'lib/openactive/models/schema/person.rb', line 246

def follows
  @follows
end

#funderOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



332
333
334
# File 'lib/openactive/models/schema/person.rb', line 332

def funder
  @funder
end

#genderOpenActive::Enums::Schema::GenderType, ...

Returns:



17
18
19
# File 'lib/openactive/models/schema/person.rb', line 17

def gender
  @gender
end

#given_nameString

Returns:

  • (String)


146
147
148
# File 'lib/openactive/models/schema/person.rb', line 146

def given_name
  @given_name
end

#global_location_numberString

Returns:

  • (String)


93
94
95
# File 'lib/openactive/models/schema/person.rb', line 93

def global_location_number
  @global_location_number
end

#has_credentialOpenActive::Models::Schema::EducationalOccupationalCredential



306
307
308
# File 'lib/openactive/models/schema/person.rb', line 306

def has_credential
  @has_credential
end

#has_occupationOpenActive::Models::Schema::Occupation



211
212
213
# File 'lib/openactive/models/schema/person.rb', line 211

def has_occupation
  @has_occupation
end

#has_offer_catalogOpenActive::Models::Schema::OfferCatalog



83
84
85
# File 'lib/openactive/models/schema/person.rb', line 83

def has_offer_catalog
  @has_offer_catalog
end

#has_posOpenActive::Models::Schema::Place



108
109
110
# File 'lib/openactive/models/schema/person.rb', line 108

def has_pos
  @has_pos
end

#heightOpenActive::Models::Schema::QuantitativeValue, OpenActive::Models::Schema::Distance



60
61
62
# File 'lib/openactive/models/schema/person.rb', line 60

def height
  @height
end

#home_locationOpenActive::Models::Schema::ContactPoint, OpenActive::Models::Schema::Place



113
114
115
# File 'lib/openactive/models/schema/person.rb', line 113

def home_location
  @home_location
end

#honorific_prefixString

Returns:

  • (String)


261
262
263
# File 'lib/openactive/models/schema/person.rb', line 261

def honorific_prefix
  @honorific_prefix
end

#honorific_suffixString

Returns:

  • (String)


195
196
197
# File 'lib/openactive/models/schema/person.rb', line 195

def honorific_suffix
  @honorific_suffix
end

#isic_v4String

Returns:

  • (String)


173
174
175
# File 'lib/openactive/models/schema/person.rb', line 173

def isic_v4
  @isic_v4
end

#job_titleOpenActive::Models::Schema::DefinedTerm, String



311
312
313
# File 'lib/openactive/models/schema/person.rb', line 311

def job_title
  @job_title
end

#knowsOpenActive::Models::Schema::Person



256
257
258
# File 'lib/openactive/models/schema/person.rb', line 256

def knows
  @knows
end

#knows_aboutString, ...

Returns:



293
294
295
# File 'lib/openactive/models/schema/person.rb', line 293

def knows_about
  @knows_about
end

#knows_languageOpenActive::Models::Schema::Language, String



300
301
302
# File 'lib/openactive/models/schema/person.rb', line 300

def knows_language
  @knows_language
end

#makes_offerOpenActive::Models::Schema::Offer



241
242
243
# File 'lib/openactive/models/schema/person.rb', line 241

def makes_offer
  @makes_offer
end

#member_ofOpenActive::Models::Schema::ProgramMembership, OpenActive::Models::Schema::Organization



29
30
31
# File 'lib/openactive/models/schema/person.rb', line 29

def member_of
  @member_of
end

#naicsString

Returns:

  • (String)


98
99
100
# File 'lib/openactive/models/schema/person.rb', line 98

def naics
  @naics
end

#nationalityOpenActive::Models::Schema::Country



216
217
218
# File 'lib/openactive/models/schema/person.rb', line 216

def nationality
  @nationality
end

#net_worthOpenActive::Models::Schema::MonetaryAmount, OpenActive::Models::Schema::PriceSpecification



71
72
73
# File 'lib/openactive/models/schema/person.rb', line 71

def net_worth
  @net_worth
end

#ownsOpenActive::Models::Schema::OwnershipInfo, OpenActive::Models::Schema::Product



129
130
131
# File 'lib/openactive/models/schema/person.rb', line 129

def owns
  @owns
end

#parentOpenActive::Models::Schema::Person



119
120
121
# File 'lib/openactive/models/schema/person.rb', line 119

def parent
  @parent
end

#parentsOpenActive::Models::Schema::Person



103
104
105
# File 'lib/openactive/models/schema/person.rb', line 103

def parents
  @parents
end

#performer_inOpenActive::Models::Schema::Event



178
179
180
# File 'lib/openactive/models/schema/person.rb', line 178

def performer_in
  @performer_in
end

#publishing_principlesOpenActive::Models::Schema::CreativeWork, URI



151
152
153
# File 'lib/openactive/models/schema/person.rb', line 151

def publishing_principles
  @publishing_principles
end


236
237
238
# File 'lib/openactive/models/schema/person.rb', line 236

def related_to
  @related_to
end

#seeksOpenActive::Models::Schema::Demand



168
169
170
# File 'lib/openactive/models/schema/person.rb', line 168

def seeks
  @seeks
end

#siblingOpenActive::Models::Schema::Person



317
318
319
# File 'lib/openactive/models/schema/person.rb', line 317

def sibling
  @sibling
end

#siblingsOpenActive::Models::Schema::Person



24
25
26
# File 'lib/openactive/models/schema/person.rb', line 24

def siblings
  @siblings
end


162
163
164
# File 'lib/openactive/models/schema/person.rb', line 162

def sponsor
  @sponsor
end

#spouseOpenActive::Models::Schema::Person



40
41
42
# File 'lib/openactive/models/schema/person.rb', line 40

def spouse
  @spouse
end

#tax_idString

Returns:

  • (String)


124
125
126
# File 'lib/openactive/models/schema/person.rb', line 124

def tax_id
  @tax_id
end

#telephoneString

Returns:

  • (String)


35
36
37
# File 'lib/openactive/models/schema/person.rb', line 35

def telephone
  @telephone
end

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/schema/person.rb', line 7

def type
  "schema:Person"
end

#vat_idString

Returns:

  • (String)


206
207
208
# File 'lib/openactive/models/schema/person.rb', line 206

def vat_id
  @vat_id
end

#weightOpenActive::Models::Schema::QuantitativeValue



55
56
57
# File 'lib/openactive/models/schema/person.rb', line 55

def weight
  @weight
end

#work_locationOpenActive::Models::Schema::ContactPoint, OpenActive::Models::Schema::Place



271
272
273
# File 'lib/openactive/models/schema/person.rb', line 271

def work_location
  @work_location
end

#works_forOpenActive::Models::Schema::Organization



266
267
268
# File 'lib/openactive/models/schema/person.rb', line 266

def works_for
  @works_for
end