Sha256: c1889a1d41ba9d9f119d76ec97bb2a1430be397fd17f2d0dacc9b5a347698454

Contents?: true

Size: 602 Bytes

Versions: 2

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 [String]
        define_property :code_value, as: "codeValue", types: [
          "string",
        ]

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/category_code.rb
openactive-0.4.0 lib/openactive/models/schema/category_code.rb