Sha256: e0c7575c154aac84d5332494cee071e37082d598a897cebd6042e8e0ae848a59

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 [BigDecimal,OpenActive::Models::Schema::QuantitativeValue,URI,nil]
        define_property :number_of_rooms, as: "numberOfRooms", types: [
          "Number",
          "OpenActive::Models::Schema::QuantitativeValue",
          "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.2.2 lib/openactive/models/schema/single_family_residence.rb
openactive-0.2.1 lib/openactive/models/schema/single_family_residence.rb
openactive-0.2.0 lib/openactive/models/schema/single_family_residence.rb