Sha256: 84339f8964837cf8e485d61bb05272a99d68da47c2211aab15334aad8ce05ac2

Contents?: true

Size: 545 Bytes

Versions: 4

Compression:

Stored size: 545 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::QuantitativeValue,ActiveSupport::Duration,nil]
        define_property :lease_length, as: "leaseLength", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "DateInterval",
          "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/real_estate_listing.rb
openactive-0.1.1 lib/openactive/models/schema/real_estate_listing.rb
openactive-0.1.0 lib/openactive/models/schema/real_estate_listing.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/real_estate_listing.rb