Class: OpenActive::Models::FacilityUse

Inherits:
Schema::Product show all
Defined in:
lib/openactive/models/facility_use.rb

Direct Known Subclasses

IndividualFacilityUse

Instance Attribute Summary collapse

Attributes inherited from Schema::Product

#additional_property, #aggregate_rating, #audience, #award, #awards, #brand, #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, #product_id, #production_date, #purchase_date, #release_date, #review, #reviews, #sku, #slogan, #weight, #width

Attributes inherited from Schema::Thing

#additional_type, #alternate_name, #disambiguating_description, #main_entity_of_page, #same_as, #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

#accessibility_informationString

Returns:

  • (String)


30
31
32
# File 'lib/openactive/models/facility_use.rb', line 30

def accessibility_information
  @accessibility_information
end

#accessibility_supportArray<OpenActive::Models::Concept>

Returns:



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

def accessibility_support
  @accessibility_support
end

#activityArray<OpenActive::Models::Concept>

Returns:



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

def activity
  @activity
end

#attendee_instructionsString

Returns:

  • (String)


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

def attendee_instructions
  @attendee_instructions
end

#categoryArray<String>, Array<OpenActive::Models::Concept>

Returns:



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

def category
  @category
end

#descriptionString

Returns:

  • (String)


25
26
27
# File 'lib/openactive/models/facility_use.rb', line 25

def description
  @description
end

#eventArray<OpenActive::Models::Slot>

Returns:



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

def event
  @event
end

#facility_settingOpenActive::Enums::FacilitySettingType?



107
108
109
# File 'lib/openactive/models/facility_use.rb', line 107

def facility_setting
  @facility_setting
end

#facility_typeArray<OpenActive::Models::Concept>

Returns:



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

def facility_type
  @facility_type
end

#formatted_descriptionString

Returns:

  • (String)


134
135
136
# File 'lib/openactive/models/facility_use.rb', line 134

def formatted_description
  @formatted_description
end

#hours_availableArray<OpenActive::Models::OpeningHoursSpecification>



61
62
63
# File 'lib/openactive/models/facility_use.rb', line 61

def hours_available
  @hours_available
end

#identifierint, ...



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

def identifier
  @identifier
end

#imageArray<OpenActive::Models::ImageObject>



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

def image
  @image
end

#individual_facility_useArray<OpenActive::Models::IndividualFacilityUse>



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

def individual_facility_use
  @individual_facility_use
end

#is_wheelchair_accessibleBoolean?

Returns:

  • (Boolean, nil)


101
102
103
# File 'lib/openactive/models/facility_use.rb', line 101

def is_wheelchair_accessible
  @is_wheelchair_accessible
end

#locationOpenActive::Models::Place



76
77
78
# File 'lib/openactive/models/facility_use.rb', line 76

def location
  @location
end

#nameString

Returns:

  • (String)


20
21
22
# File 'lib/openactive/models/facility_use.rb', line 20

def name
  @name
end

#offer_validity_periodActiveSupport::Duration?

Returns:

  • (ActiveSupport::Duration, nil)


118
119
120
# File 'lib/openactive/models/facility_use.rb', line 118

def offer_validity_period
  @offer_validity_period
end

#offersArray<OpenActive::Models::Offer>

Returns:



81
82
83
# File 'lib/openactive/models/facility_use.rb', line 81

def offers
  @offers
end

#potential_actionArray<OpenActive::Models::Action>

Returns:



86
87
88
# File 'lib/openactive/models/facility_use.rb', line 86

def potential_action
  @potential_action
end

#providerOpenActive::Models::Organization



91
92
93
# File 'lib/openactive/models/facility_use.rb', line 91

def provider
  @provider
end

#sports_activity_locationArray<OpenActive::Models::SportsActivityLocation>



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

def sports_activity_location
  @sports_activity_location
end

#typeString

Returns:

  • (String)


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

def type
  "FacilityUse"
end

#urlURI

Returns:

  • (URI)


96
97
98
# File 'lib/openactive/models/facility_use.rb', line 96

def url
  @url
end

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



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

def video
  @video
end