Sha256: cbdfd399ce631b95a1895f088e94fe243941afa060c814e39bea583fa2fdcecb

Contents?: true

Size: 1.2 KB

Versions: 2

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::AnatomicalStructure,URI]
        define_property :branch, as: "branch", types: [
          "OpenActive::Models::Schema::AnatomicalStructure",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Muscle,URI]
        define_property :nerve_motor, as: "nerveMotor", types: [
          "OpenActive::Models::Schema::Muscle",
          "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",
        ]

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

Version data entries

2 entries across 2 versions & 1 rubygems

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