Class: OpenActive::Models::Organization

Inherits:
Schema::Organization show all
Defined in:
lib/openactive/models/organization.rb

Overview

This type is derived from [Organization](schema.org/Organization), 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

Attributes inherited from Schema::Organization

#actionable_feedback_policy, #aggregate_rating, #alumni, #area_served, #award, #awards, #brand, #contact_point, #contact_points, #corrections_policy, #department, #dissolution_date, #diversity_policy, #diversity_staffing_report, #duns, #employee, #employees, #ethics_policy, #event, #events, #fax_number, #founder, #founders, #founding_date, #founding_location, #funder, #global_location_number, #has_credential, #has_offer_catalog, #has_pos, #has_product_return_policy, #isic_v4, #knows_about, #knows_language, #lei_code, #location, #makes_offer, #member, #member_of, #members, #naics, #number_of_employees, #ownership_funding_info, #owns, #parent_organization, #publishing_principles, #review, #reviews, #seeks, #service_area, #slogan, #sponsor, #sub_organization, #tax_id, #unnamed_sources_policy

Attributes inherited from Schema::Thing

#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

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

#addressOpenActive::Models::PostalAddress



31
32
33
# File 'lib/openactive/models/organization.rb', line 31

def address
  @address
end

#descriptionString

Returns:

  • (String)


26
27
28
# File 'lib/openactive/models/organization.rb', line 26

def description
  @description
end

#emailString

Returns:

  • (String)


36
37
38
# File 'lib/openactive/models/organization.rb', line 36

def email
  @email
end

#formatted_descriptionString

Returns:

  • (String)


87
88
89
# File 'lib/openactive/models/organization.rb', line 87

def formatted_description
  @formatted_description
end

#identifierint, ...



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

def identifier
  @identifier
end

Returns:

  • (String)


41
42
43
# File 'lib/openactive/models/organization.rb', line 41

def legal_name
  @legal_name
end

#logoOpenActive::Models::ImageObject



46
47
48
# File 'lib/openactive/models/organization.rb', line 46

def 
  @logo
end

#nameString

Returns:

  • (String)


21
22
23
# File 'lib/openactive/models/organization.rb', line 21

def name
  @name
end

#same_asArray<URI>

Returns:

  • (Array<URI>)


51
52
53
# File 'lib/openactive/models/organization.rb', line 51

def same_as
  @same_as
end

#tax_modeOpenActive::Enums::TaxMode?

Returns:



56
57
58
# File 'lib/openactive/models/organization.rb', line 56

def tax_mode
  @tax_mode
end

#telephoneString

Returns:

  • (String)


62
63
64
# File 'lib/openactive/models/organization.rb', line 62

def telephone
  @telephone
end

#terms_of_serviceArray<OpenActive::Models::Terms>

Returns:



67
68
69
# File 'lib/openactive/models/organization.rb', line 67

def terms_of_service
  @terms_of_service
end

#typeString

Returns:

  • (String)


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

def type
  "Organization"
end

#urlURI

Returns:

  • (URI)


72
73
74
# File 'lib/openactive/models/organization.rb', line 72

def url
  @url
end

#vat_idString

Returns:

  • (String)


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

def vat_id
  @vat_id
end

#videoArray<OpenActive::Models::Schema::VideoObject>



82
83
84
# File 'lib/openactive/models/organization.rb', line 82

def video
  @video
end