Sha256: bc95cb647b798fd3b648460185e1848e6e91c5dbfb6aab76e3c3b4185cad50c4

Contents?: true

Size: 666 Bytes

Versions: 3

Compression:

Stored size: 666 Bytes

Contents

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/update_action.rb
openactive-0.2.1 lib/openactive/models/schema/update_action.rb
openactive-0.2.0 lib/openactive/models/schema/update_action.rb