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

- old
+ new

@@ -6,91 +6,91 @@ # @return [String] def type "schema:BioChemEntity" end - # @return [OpenActive::Models::Schema::Grant,URI] - define_property :funding, as: "funding", types: [ - "OpenActive::Models::Schema::Grant", - "URI", - ] - # @return [OpenActive::Models::Schema::Gene,URI] define_property :is_encoded_by_bio_chem_entity, as: "isEncodedByBioChemEntity", types: [ "OpenActive::Models::Schema::Gene", "URI", ] + # @return [OpenActive::Models::Schema::PropertyValue,URI,OpenActive::Models::Schema::DefinedTerm] + define_property :has_molecular_function, as: "hasMolecularFunction", types: [ + "OpenActive::Models::Schema::PropertyValue", + "URI", + "OpenActive::Models::Schema::DefinedTerm", + ] + # @return [OpenActive::Models::Schema::BioChemEntity,URI] - define_property :is_part_of_bio_chem_entity, as: "isPartOfBioChemEntity", types: [ + define_property :bio_chem_similarity, as: "bioChemSimilarity", types: [ "OpenActive::Models::Schema::BioChemEntity", "URI", ] - # @return [URI,OpenActive::Models::Schema::DefinedTerm,String,OpenActive::Models::Schema::Taxon] - define_property :taxonomic_range, as: "taxonomicRange", types: [ + # @return [OpenActive::Models::Schema::BioChemEntity,URI] + define_property :has_bio_chem_entity_part, as: "hasBioChemEntityPart", types: [ + "OpenActive::Models::Schema::BioChemEntity", "URI", - "OpenActive::Models::Schema::DefinedTerm", - "string", - "OpenActive::Models::Schema::Taxon", ] - # @return [OpenActive::Models::Schema::PropertyValue,URI,OpenActive::Models::Schema::DefinedTerm] - define_property :is_involved_in_biological_process, as: "isInvolvedInBiologicalProcess", types: [ - "OpenActive::Models::Schema::PropertyValue", + # @return [OpenActive::Models::Schema::BioChemEntity,URI] + define_property :is_part_of_bio_chem_entity, as: "isPartOfBioChemEntity", types: [ + "OpenActive::Models::Schema::BioChemEntity", "URI", - "OpenActive::Models::Schema::DefinedTerm", ] - # @return [OpenActive::Models::Schema::PropertyValue,OpenActive::Models::Schema::DefinedTerm,URI] - define_property :is_located_in_subcellular_location, as: "isLocatedInSubcellularLocation", types: [ - "OpenActive::Models::Schema::PropertyValue", + # @return [OpenActive::Models::Schema::DefinedTerm,URI] + define_property :biological_role, as: "biologicalRole", types: [ "OpenActive::Models::Schema::DefinedTerm", "URI", ] - # @return [URI,OpenActive::Models::Schema::PropertyValue,OpenActive::Models::Schema::MedicalCondition] - define_property :associated_disease, as: "associatedDisease", types: [ + # @return [OpenActive::Models::Schema::BioChemEntity,URI] + define_property :bio_chem_interaction, as: "bioChemInteraction", types: [ + "OpenActive::Models::Schema::BioChemEntity", "URI", - "OpenActive::Models::Schema::PropertyValue", - "OpenActive::Models::Schema::MedicalCondition", ] # @return [OpenActive::Models::Schema::PropertyValue,OpenActive::Models::Schema::DefinedTerm,URI] - define_property :has_molecular_function, as: "hasMolecularFunction", types: [ + define_property :is_located_in_subcellular_location, as: "isLocatedInSubcellularLocation", types: [ "OpenActive::Models::Schema::PropertyValue", "OpenActive::Models::Schema::DefinedTerm", "URI", ] - # @return [OpenActive::Models::Schema::BioChemEntity,URI] - define_property :has_bio_chem_entity_part, as: "hasBioChemEntityPart", types: [ - "OpenActive::Models::Schema::BioChemEntity", + # @return [OpenActive::Models::Schema::PropertyValue,URI,String] + define_property :has_representation, as: "hasRepresentation", types: [ + "OpenActive::Models::Schema::PropertyValue", "URI", + "string", ] - # @return [OpenActive::Models::Schema::BioChemEntity,URI] - define_property :bio_chem_interaction, as: "bioChemInteraction", types: [ - "OpenActive::Models::Schema::BioChemEntity", + # @return [OpenActive::Models::Schema::Grant,URI] + define_property :funding, as: "funding", types: [ + "OpenActive::Models::Schema::Grant", "URI", ] - # @return [String,OpenActive::Models::Schema::PropertyValue,URI] - define_property :has_representation, as: "hasRepresentation", types: [ - "string", - "OpenActive::Models::Schema::PropertyValue", + # @return [URI,OpenActive::Models::Schema::DefinedTerm,OpenActive::Models::Schema::PropertyValue] + define_property :is_involved_in_biological_process, as: "isInvolvedInBiologicalProcess", types: [ "URI", + "OpenActive::Models::Schema::DefinedTerm", + "OpenActive::Models::Schema::PropertyValue", ] - # @return [OpenActive::Models::Schema::BioChemEntity,URI] - define_property :bio_chem_similarity, as: "bioChemSimilarity", types: [ - "OpenActive::Models::Schema::BioChemEntity", + # @return [URI,OpenActive::Models::Schema::DefinedTerm,OpenActive::Models::Schema::Taxon,String] + define_property :taxonomic_range, as: "taxonomicRange", types: [ "URI", + "OpenActive::Models::Schema::DefinedTerm", + "OpenActive::Models::Schema::Taxon", + "string", ] - # @return [OpenActive::Models::Schema::DefinedTerm,URI] - define_property :biological_role, as: "biologicalRole", types: [ - "OpenActive::Models::Schema::DefinedTerm", + # @return [OpenActive::Models::Schema::MedicalCondition,OpenActive::Models::Schema::PropertyValue,URI] + define_property :associated_disease, as: "associatedDisease", types: [ + "OpenActive::Models::Schema::MedicalCondition", + "OpenActive::Models::Schema::PropertyValue", "URI", ] end end end