Sha256: e7a9d6268201897c1a0632f2c48aae7320554ae36923a0643d881ab914c7ca37

Contents?: true

Size: 610 Bytes

Versions: 5

Compression:

Stored size: 610 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::DefinedTermSet,URI]
        define_property :in_defined_term_set, as: "inDefinedTermSet", types: [
          "OpenActive::Models::Schema::DefinedTermSet",
          "URI",
        ]

        # @return [String]
        define_property :term_code, as: "termCode", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/defined_term.rb
openactive-0.4.0 lib/openactive/models/schema/defined_term.rb
openactive-0.2.2 lib/openactive/models/schema/defined_term.rb
openactive-0.2.1 lib/openactive/models/schema/defined_term.rb
openactive-0.2.0 lib/openactive/models/schema/defined_term.rb