Sha256: 31d85ba6ed258a0a8fdff411d8b325706fb1788082532a0c9a533d21da21c496

Contents?: true

Size: 895 Bytes

Versions: 3

Compression:

Stored size: 895 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class FoodEstablishmentReservation < ::OpenActive::Models::Schema::Reservation
        # @!attribute type
        # @return [String]
        def type
          "schema:FoodEstablishmentReservation"
        end

        # @return [DateTime,Time,nil]
        define_property :start_time, as: "startTime", types: [
          "DateTime",
          "Time",
          "null",
        ]

        # @return [OpenActive::Models::Schema::QuantitativeValue,int,URI,nil]
        define_property :party_size, as: "partySize", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "int",
          "URI",
          "null",
        ]

        # @return [DateTime,Time,nil]
        define_property :end_time, as: "endTime", types: [
          "DateTime",
          "Time",
          "null",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/food_establishment_reservation.rb
openactive-0.2.1 lib/openactive/models/schema/food_establishment_reservation.rb
openactive-0.2.0 lib/openactive/models/schema/food_establishment_reservation.rb