Sha256: 2da60d543b9f6c2e298fe4caf554d8e229161a96c9aea7531c371c0089bbe397

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

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

        # @return [OpenActive::Models::Schema::Gene,URI]
        define_property :alternative_of, as: "alternativeOf", types: [
          "OpenActive::Models::Schema::Gene",
          "URI",
        ]

        # @return [String]
        define_property :has_bio_polymer_sequence, as: "hasBioPolymerSequence", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::BioChemEntity,URI]
        define_property :encodes_bio_chem_entity, as: "encodesBioChemEntity", types: [
          "OpenActive::Models::Schema::BioChemEntity",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::AnatomicalStructure,OpenActive::Models::Schema::BioChemEntity,OpenActive::Models::Schema::DefinedTerm,OpenActive::Models::Schema::AnatomicalSystem,URI]
        define_property :expressed_in, as: "expressedIn", types: [
          "OpenActive::Models::Schema::AnatomicalStructure",
          "OpenActive::Models::Schema::BioChemEntity",
          "OpenActive::Models::Schema::DefinedTerm",
          "OpenActive::Models::Schema::AnatomicalSystem",
          "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/gene.rb