module OpenActive module Models module Schema class Accommodation < ::OpenActive::Models::Schema::Place # @!attribute type # @return [String] def type "schema:Accommodation" end # @return [String] define_property :accommodation_category, as: "accommodationCategory", types: [ "string", ] # @return [BigDecimal,nil] define_property :number_of_full_bathrooms, as: "numberOfFullBathrooms", types: [ "Number", "null", ] # @return [int,nil] define_property :number_of_bathrooms_total, as: "numberOfBathroomsTotal", types: [ "int", "null", ] # @return [OpenActive::Models::Schema::QuantitativeValue,ActiveSupport::Duration,nil] define_property :lease_length, as: "leaseLength", types: [ "OpenActive::Models::Schema::QuantitativeValue", "DateInterval", "null", ] # @return [String] define_property :floor_level, as: "floorLevel", types: [ "string", ] # @return [String] define_property :permitted_usage, as: "permittedUsage", types: [ "string", ] # @return [OpenActive::Models::Schema::QuantitativeValue,BigDecimal,nil] define_property :number_of_rooms, as: "numberOfRooms", types: [ "OpenActive::Models::Schema::QuantitativeValue", "Number", "null", ] # @return [OpenActive::Models::Schema::LocationFeatureSpecification] define_property :amenity_feature, as: "amenityFeature", types: [ "OpenActive::Models::Schema::LocationFeatureSpecification", ] # @return [String,Boolean,nil] define_property :pets_allowed, as: "petsAllowed", types: [ "string", "bool", "null", ] # @return [OpenActive::Models::Schema::QuantitativeValue] define_property :floor_size, as: "floorSize", types: [ "OpenActive::Models::Schema::QuantitativeValue", ] end end end end