Sha256: b68aa5cfd41618d3db46746d8b99a45ed6b30cdc1c5663b28369432bb69c0a78

Contents?: true

Size: 779 Bytes

Versions: 1

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::Person,OpenActive::Models::Schema::Organization,URI]
        define_property :landlord, as: "landlord", types: [
          "OpenActive::Models::Schema::Person",
          "OpenActive::Models::Schema::Organization",
          "URI",
        ]

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

Version data entries

1 entries across 1 versions & 1 rubygems

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