Sha256: c432032aaeb2139086d53b7e1c3c6f68f4d0280ae1636a62129f3dee737933a6

Contents?: true

Size: 611 Bytes

Versions: 4

Compression:

Stored size: 611 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Thing]
        define_property :replacer, as: "replacer", types: [
          "OpenActive::Models::Schema::Thing",
        ]

        # @return [OpenActive::Models::Schema::Thing]
        define_property :replacee, as: "replacee", types: [
          "OpenActive::Models::Schema::Thing",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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