Sha256: 60d791b62b45b38334279050df2bac9678f6e6a2e3fa6c4921c0e4b638234a01

Contents?: true

Size: 995 Bytes

Versions: 4

Compression:

Stored size: 995 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,nil]
        define_property :number_of_rooms, as: "numberOfRooms", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "Number",
          "null",
        ]

        # @return [OpenActive::Models::Schema::BedDetails,OpenActive::Models::Schema::BedType,String]
        define_property :bed, as: "bed", types: [
          "OpenActive::Models::Schema::BedDetails",
          "OpenActive::Models::Schema::BedType",
          "string",
        ]

        # @return [OpenActive::Models::Schema::QuantitativeValue]
        define_property :occupancy, as: "occupancy", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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