Sha256: 6e82a5301917e57db1488beac9692a6e112e4159abfbb5c3f737ad4d3aadb0c0

Contents?: true

Size: 1.2 KB

Versions: 1

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

        # @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",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/nerve.rb