Module: SchemaOrg::Mixins::ReservationPackage
- Includes:
- Reservation
- Included in:
- ReservationPackage
- Defined in:
- lib/schema_org/mixins/reservation_package.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#sub_reservation ⇒ Object
The individual reservations included in the package.
-
#sub_reservation=(value) ⇒ Object
The individual reservations included in the package.
Methods included from Reservation
#booking_agent, #booking_agent=, #booking_time, #booking_time=, #broker, #broker=, #modified_time, #modified_time=, #price_currency, #price_currency=, #program_membership_used, #program_membership_used=, #provider, #provider=, #reservation_for, #reservation_for=, #reservation_id, #reservation_id=, #reservation_status, #reservation_status=, #reserved_ticket, #reserved_ticket=, #total_price, #total_price=, #under_name, #under_name=
Methods included from Thing
#additional_type, #additional_type=, #alternate_name, #alternate_name=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #owner, #owner=, #potential_action, #potential_action=, #same_as, #same_as=, #subject_of, #subject_of=, #url, #url=
Class Method Details
.schema_property_definitions ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/schema_org/mixins/reservation_package.rb', line 11 def self.schema_property_definitions { sub_reservation: { schema_name: "subReservation", schema_url: "https://schema.org/subReservation", comment_lines: ["The individual reservations included in the package. Typically a repeated property."].freeze, ranges: ["Reservation"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze }.freeze end |
Instance Method Details
#sub_reservation ⇒ Object
The individual reservations included in the package. Typically a repeated property.
27 28 29 |
# File 'lib/schema_org/mixins/reservation_package.rb', line 27 def sub_reservation read_property(:sub_reservation) end |
#sub_reservation=(value) ⇒ Object
The individual reservations included in the package. Typically a repeated property.
32 33 34 |
# File 'lib/schema_org/mixins/reservation_package.rb', line 32 def sub_reservation=(value) write_property(:sub_reservation, value) end |