Sha256: 75860beeb217ebd14754634e5f4267206c498d9c4608a11bbd9444df949c98b3

Contents?: true

Size: 1.48 KB

Versions: 4

Compression:

Stored size: 1.48 KB

Contents

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

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

        # @return [OpenActive::Enums::Schema::QualitativeValue,String,nil]
        define_property :lodging_unit_type, as: "lodgingUnitType", types: [
          "OpenActive::Enums::Schema::QualitativeValue",
          "string",
          "null",
        ]

        # @return [DateTime,Time,nil]
        define_property :checkout_time, as: "checkoutTime", types: [
          "DateTime",
          "Time",
          "null",
        ]

        # @return [String]
        define_property :lodging_unit_description, as: "lodgingUnitDescription", types: [
          "string",
        ]

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

        # @return [Time,DateTime,nil]
        define_property :checkin_time, as: "checkinTime", 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/lodging_reservation.rb
openactive-0.1.1 lib/openactive/models/schema/lodging_reservation.rb
openactive-0.1.0 lib/openactive/models/schema/lodging_reservation.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/lodging_reservation.rb