Sha256: 0da536c8a66dea6e2be1eb210ede44248dbd283419b9737ba614bef6ce296396

Contents?: true

Size: 710 Bytes

Versions: 1

Compression:

Stored size: 710 Bytes

Contents

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

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

        # @return [OpenActive::Models::Schema::Thing,String,URI]
        define_property :action_option, as: "actionOption", types: [
          "OpenActive::Models::Schema::Thing",
          "string",
          "URI",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/choose_action.rb