Sha256: 642c5986b1f7b0aa3d64d058c77ecf5fb7190e4e72129eaf92b298e8c59bff7c

Contents?: true

Size: 620 Bytes

Versions: 4

Compression:

Stored size: 620 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 [OpenActive::Models::Schema::BedType,String]
        define_property :type_of_bed, as: "typeOfBed", types: [
          "OpenActive::Models::Schema::BedType",
          "string",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/bed_details.rb
openactive-0.1.1 lib/openactive/models/schema/bed_details.rb
openactive-0.1.0 lib/openactive/models/schema/bed_details.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/bed_details.rb