Sha256: 7089d4f4cce3379c22bbd926622851f0d04d9fe8bd9bb1564dcb6ab045d0f1cb

Contents?: true

Size: 713 Bytes

Versions: 4

Compression:

Stored size: 713 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from [Action](https://schema.org/Action), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
    class Action < ::OpenActive::Models::Schema::Action
      # @!attribute type
      # @return [String]
      def type
        "Action"
      end

      # @return [String]
      define_property :name, as: "name", types: [
        "string",
      ]

      # @return [OpenActive::Models::EntryPoint]
      define_property :target, as: "target", types: [
        "OpenActive::Models::EntryPoint",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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