Sha256: 35525f15e259ba434fcaffd0f8c713f0772f4c1d05ab0c36610dd848a63ed95d

Contents?: true

Size: 602 Bytes

Versions: 5

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 [OpenActive::Models::Schema::CategoryCodeSet,URI]
        define_property :in_code_set, as: "inCodeSet", types: [
          "OpenActive::Models::Schema::CategoryCodeSet",
          "URI",
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/category_code.rb
openactive-0.1.2 lib/openactive/models/schema/category_code.rb
openactive-0.1.1 lib/openactive/models/schema/category_code.rb
openactive-0.1.0 lib/openactive/models/schema/category_code.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/category_code.rb