Sha256: 857a8a71d5ec383a83f25612593debbda5222c11afb136d7eb8d7db0fe40643d

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

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

        # @return [OpenActive::Models::Schema::BrainStructure,URI]
        define_property :sourced_from, as: "sourcedFrom", types: [
          "OpenActive::Models::Schema::BrainStructure",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Muscle,URI]
        define_property :nerve_motor, as: "nerveMotor", types: [
          "OpenActive::Models::Schema::Muscle",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::AnatomicalStructure,URI]
        define_property :branch, as: "branch", types: [
          "OpenActive::Models::Schema::AnatomicalStructure",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::SuperficialAnatomy,OpenActive::Models::Schema::AnatomicalStructure,URI]
        define_property :sensory_unit, as: "sensoryUnit", types: [
          "OpenActive::Models::Schema::SuperficialAnatomy",
          "OpenActive::Models::Schema::AnatomicalStructure",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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