Sha256: 90edac44714bc02c725547c30dce2ad9efec2176cfd50117ad5529483f6ee0f4

Contents?: true

Size: 777 Bytes

Versions: 3

Compression:

Stored size: 777 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,URI,nil]
        define_property :number_of_rooms, as: "numberOfRooms", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "Number",
          "URI",
          "null",
        ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/single_family_residence.rb
openactive-0.4.0 lib/openactive/models/schema/single_family_residence.rb
openactive-0.3.0 lib/openactive/models/schema/single_family_residence.rb