Sha256: 1475891d7a9fe7eeca9e56f7ff5603a6ee09b418b11d1e6168e89201213079c8

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 :target_collection, as: "targetCollection", types: [
          "OpenActive::Models::Schema::Thing",
          "URI",
        ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/update_action.rb
openactive-0.4.0 lib/openactive/models/schema/update_action.rb
openactive-0.3.0 lib/openactive/models/schema/update_action.rb