Class: OpenActive::Models::Schema::SportsTeam
- Inherits:
-
SportsOrganization
- Object
- BaseModel
- JsonLdModel
- Thing
- Organization
- SportsOrganization
- OpenActive::Models::Schema::SportsTeam
- Defined in:
- lib/openactive/models/schema/sports_team.rb
Instance Attribute Summary collapse
- #athlete ⇒ OpenActive::Models::Schema::Person
- #coach ⇒ OpenActive::Models::Schema::Person
- #gender ⇒ OpenActive::Enums::Schema::GenderType, ...
- #type ⇒ String
Attributes inherited from SportsOrganization
Attributes inherited from Organization
#actionable_feedback_policy, #address, #aggregate_rating, #alumni, #area_served, #award, #awards, #brand, #contact_point, #contact_points, #corrections_policy, #department, #dissolution_date, #diversity_policy, #diversity_staffing_report, #duns, #email, #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, #legal_name, #lei_code, #location, #logo, #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, #telephone, #unnamed_sources_policy, #vat_id
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
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
Methods included from Concerns::JsonLdSerializable
Constructor Details
This class inherits a constructor from OpenActive::BaseModel
Instance Attribute Details
#athlete ⇒ OpenActive::Models::Schema::Person
24 25 26 |
# File 'lib/openactive/models/schema/sports_team.rb', line 24 def athlete @athlete end |
#coach ⇒ OpenActive::Models::Schema::Person
19 20 21 |
# File 'lib/openactive/models/schema/sports_team.rb', line 19 def coach @coach end |
#gender ⇒ OpenActive::Enums::Schema::GenderType, ...
12 13 14 |
# File 'lib/openactive/models/schema/sports_team.rb', line 12 def gender @gender end |
#type ⇒ String
7 8 9 |
# File 'lib/openactive/models/schema/sports_team.rb', line 7 def type "schema:SportsTeam" end |