Sha256: 720783adfc085455d69195a5667d65aeeaed37b400b2c9bfbb039f8d7403d96e

Contents?: true

Size: 641 Bytes

Versions: 5

Compression:

Stored size: 641 Bytes

Contents

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

        # @return [BigDecimal,nil]
        define_property :number_of_beds, as: "numberOfBeds", types: [
          "Number",
          "null",
        ]

        # @return [String,OpenActive::Models::Schema::BedType,URI]
        define_property :type_of_bed, as: "typeOfBed", types: [
          "string",
          "OpenActive::Models::Schema::BedType",
          "URI",
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/bed_details.rb
openactive-0.4.0 lib/openactive/models/schema/bed_details.rb
openactive-0.2.2 lib/openactive/models/schema/bed_details.rb
openactive-0.2.1 lib/openactive/models/schema/bed_details.rb
openactive-0.2.0 lib/openactive/models/schema/bed_details.rb