Sha256: 0e13d39f8f84a5e163ba00b20df1fc58043adb61bb995da4f7576e8b069e0c19

Contents?: true

Size: 602 Bytes

Versions: 3

Compression:

Stored size: 602 Bytes

Contents

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

        # @return [URI,OpenActive::Models::Schema::CategoryCodeSet]
        define_property :in_code_set, as: "inCodeSet", types: [
          "URI",
          "OpenActive::Models::Schema::CategoryCodeSet",
        ]

        # @return [String]
        define_property :code_value, as: "codeValue", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/category_code.rb
openactive-0.2.1 lib/openactive/models/schema/category_code.rb
openactive-0.2.0 lib/openactive/models/schema/category_code.rb