Sha256: a552d11208335c1599d5d610f8a3d0b85aa4a55a3fdfba8719be146cc899db06

Contents?: true

Size: 874 Bytes

Versions: 4

Compression:

Stored size: 874 Bytes

Contents

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

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/food_establishment_reservation.rb
openactive-0.1.1 lib/openactive/models/schema/food_establishment_reservation.rb
openactive-0.1.0 lib/openactive/models/schema/food_establishment_reservation.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/food_establishment_reservation.rb