Sha256: dea5a114953dbf3ce2ecf64d695208eb812f302861feaf8e53c6fa3bf479e742

Contents?: true

Size: 737 Bytes

Versions: 4

Compression:

Stored size: 737 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::RealEstateAgent]
        define_property :real_estate_agent, as: "realEstateAgent", types: [
          "OpenActive::Models::Schema::RealEstateAgent",
        ]

        # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person]
        define_property :landlord, as: "landlord", types: [
          "OpenActive::Models::Schema::Organization",
          "OpenActive::Models::Schema::Person",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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