Sha256: b855315bd18b18f2ba3cdf0ad16d69d0ca913d7e45deb9ff9d4229d8644ae41b

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 Bytes

Contents

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

        # @return [String,OpenActive::Models::Schema::Language,URI]
        define_property :in_language, as: "inLanguage", types: [
          "string",
          "OpenActive::Models::Schema::Language",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Language,URI]
        define_property :language, as: "language", types: [
          "OpenActive::Models::Schema::Language",
          "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/write_action.rb
openactive-0.4.0 lib/openactive/models/schema/write_action.rb
openactive-0.3.0 lib/openactive/models/schema/write_action.rb