lib/openactive/models/schema/gene.rb in openactive-0.3.0 vs lib/openactive/models/schema/gene.rb in openactive-0.4.0

- old
+ new

@@ -6,13 +6,16 @@ # @return [String] def type "schema:Gene" end - # @return [OpenActive::Models::Schema::Gene,URI] - define_property :alternative_of, as: "alternativeOf", types: [ - "OpenActive::Models::Schema::Gene", + # @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: [ @@ -23,15 +26,12 @@ 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", + # @return [OpenActive::Models::Schema::Gene,URI] + define_property :alternative_of, as: "alternativeOf", types: [ + "OpenActive::Models::Schema::Gene", "URI", ] end end end