Sha256: 316be7e9589d98c9a84e811e9385ece7dace7362416fb986e19ca41e7b17a775

Contents?: true

Size: 1.32 KB

Versions: 2

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::AnatomicalSystem,OpenActive::Models::Schema::BioChemEntity,OpenActive::Models::Schema::AnatomicalStructure,OpenActive::Models::Schema::DefinedTerm,URI]
        define_property :expressed_in, as: "expressedIn", types: [
          "OpenActive::Models::Schema::AnatomicalSystem",
          "OpenActive::Models::Schema::BioChemEntity",
          "OpenActive::Models::Schema::AnatomicalStructure",
          "OpenActive::Models::Schema::DefinedTerm",
          "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::Gene,URI]
        define_property :alternative_of, as: "alternativeOf", types: [
          "OpenActive::Models::Schema::Gene",
          "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/gene.rb
openactive-0.4.0 lib/openactive/models/schema/gene.rb