Sha256: d7eabacb74410e3a5504d61d0266fd66c5d67ccfd94ba59c576a2c9371638c32

Contents?: true

Size: 735 Bytes

Versions: 4

Compression:

Stored size: 735 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class SingleFamilyResidence < ::OpenActive::Models::Schema::House
        # @!attribute type
        # @return [String]
        def type
          "schema:SingleFamilyResidence"
        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::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/single_family_residence.rb
openactive-0.1.1 lib/openactive/models/schema/single_family_residence.rb
openactive-0.1.0 lib/openactive/models/schema/single_family_residence.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/single_family_residence.rb