Class: OpenActive::Models::IndividualFacilityUse

Inherits:
FacilityUse show all
Defined in:
lib/openactive/models/individual_facility_use.rb

Instance Attribute Summary collapse

Attributes inherited from FacilityUse

#accessibility_information, #accessibility_support, #activity, #attendee_instructions, #category, #description, #facility_setting, #facility_type, #formatted_description, #hours_available, #identifier, #image, #individual_facility_use, #is_wheelchair_accessible, #location, #name, #offer_validity_period, #offers, #potential_action, #provider, #sports_activity_location, #url, #video

Attributes inherited from Schema::Product

#additional_property, #aggregate_rating, #audience, #award, #awards, #brand, #category, #color, #depth, #gtin, #gtin12, #gtin13, #gtin14, #gtin8, #has_product_return_policy, #height, #is_accessory_or_spare_part_for, #is_consumable_for, #is_related_to, #is_similar_to, #item_condition, #logo, #manufacturer, #material, #model, #mpn, #nsn, #offers, #product_id, #production_date, #purchase_date, #release_date, #review, #reviews, #sku, #slogan, #weight, #width

Attributes inherited from Schema::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

#aggregate_facility_useOpenActive::Models::FacilityUse



11
12
13
# File 'lib/openactive/models/individual_facility_use.rb', line 11

def aggregate_facility_use
  @aggregate_facility_use
end

#eventArray<OpenActive::Models::Slot>

Returns:



16
17
18
# File 'lib/openactive/models/individual_facility_use.rb', line 16

def event
  @event
end

#typeString

Returns:

  • (String)


6
7
8
# File 'lib/openactive/models/individual_facility_use.rb', line 6

def type
  "IndividualFacilityUse"
end