Sha256: 6c732ec2b4356b1132810cfa58b8717ba241f34b57920cb79e222a69f4f80144

Contents?: true

Size: 641 Bytes

Versions: 1

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/bed_details.rb