Sha256: 88c6fe0a0c6464a52dca0b4b59810b134cecd9da8716d33c135052c09519adf0

Contents?: true

Size: 779 Bytes

Versions: 5

Compression:

Stored size: 779 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,URI]
        define_property :real_estate_agent, as: "realEstateAgent", types: [
          "OpenActive::Models::Schema::RealEstateAgent",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
        define_property :landlord, as: "landlord", types: [
          "OpenActive::Models::Schema::Person",
          "OpenActive::Models::Schema::Organization",
          "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/rent_action.rb
openactive-0.4.0 lib/openactive/models/schema/rent_action.rb
openactive-0.2.2 lib/openactive/models/schema/rent_action.rb
openactive-0.2.1 lib/openactive/models/schema/rent_action.rb
openactive-0.2.0 lib/openactive/models/schema/rent_action.rb