lib/openactive/models/schema/molecular_entity.rb in openactive-0.3.0 vs lib/openactive/models/schema/molecular_entity.rb in openactive-0.4.0
- old
+ new
@@ -7,57 +7,57 @@
def type
"schema:MolecularEntity"
end
# @return [String]
- define_property :in_ch_ikey, as: "inChIKey", types: [
+ define_property :smiles, as: "smiles", types: [
"string",
]
# @return [String]
- define_property :iupac_name, as: "iupacName", types: [
+ define_property :in_ch_i, as: "inChI", types: [
"string",
]
- # @return [String,OpenActive::Models::Schema::QuantitativeValue,URI]
- define_property :monoisotopic_molecular_weight, as: "monoisotopicMolecularWeight", types: [
- "string",
- "OpenActive::Models::Schema::QuantitativeValue",
- "URI",
- ]
-
# @return [String]
define_property :molecular_formula, as: "molecularFormula", types: [
"string",
]
- # @return [OpenActive::Models::Schema::DefinedTerm,URI]
- define_property :potential_use, as: "potentialUse", types: [
- "OpenActive::Models::Schema::DefinedTerm",
+ # @return [String,OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :monoisotopic_molecular_weight, as: "monoisotopicMolecularWeight", types: [
+ "string",
+ "OpenActive::Models::Schema::QuantitativeValue",
"URI",
]
# @return [OpenActive::Models::Schema::DefinedTerm,URI]
define_property :chemical_role, as: "chemicalRole", types: [
"OpenActive::Models::Schema::DefinedTerm",
"URI",
]
- # @return [OpenActive::Models::Schema::QuantitativeValue,String,URI]
- define_property :molecular_weight, as: "molecularWeight", types: [
- "OpenActive::Models::Schema::QuantitativeValue",
+ # @return [String]
+ define_property :in_ch_ikey, as: "inChIKey", types: [
"string",
+ ]
+
+ # @return [OpenActive::Models::Schema::DefinedTerm,URI]
+ define_property :potential_use, as: "potentialUse", types: [
+ "OpenActive::Models::Schema::DefinedTerm",
"URI",
]
# @return [String]
- define_property :in_ch_i, as: "inChI", types: [
+ define_property :iupac_name, as: "iupacName", types: [
"string",
]
- # @return [String]
- define_property :smiles, as: "smiles", types: [
+ # @return [String,OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :molecular_weight, as: "molecularWeight", types: [
"string",
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
]
end
end
end
end