lib/openactive/models/schema/taxon.rb in openactive-0.3.0 vs lib/openactive/models/schema/taxon.rb in openactive-0.4.0
- old
+ new
@@ -6,34 +6,34 @@
# @return [String]
def type
"schema:Taxon"
end
+ # @return [OpenActive::Models::Schema::DefinedTerm,URI]
+ define_property :has_defined_term, as: "hasDefinedTerm", types: [
+ "OpenActive::Models::Schema::DefinedTerm",
+ "URI",
+ ]
+
# @return [URI,OpenActive::Models::Schema::Taxon,String]
define_property :parent_taxon, as: "parentTaxon", types: [
"URI",
"OpenActive::Models::Schema::Taxon",
"string",
]
- # @return [OpenActive::Models::Schema::PropertyValue,URI,String]
- define_property :taxon_rank, as: "taxonRank", types: [
- "OpenActive::Models::Schema::PropertyValue",
- "URI",
- "string",
- ]
-
- # @return [String,OpenActive::Models::Schema::Taxon,URI]
+ # @return [String,URI,OpenActive::Models::Schema::Taxon]
define_property :child_taxon, as: "childTaxon", types: [
"string",
- "OpenActive::Models::Schema::Taxon",
"URI",
+ "OpenActive::Models::Schema::Taxon",
]
- # @return [OpenActive::Models::Schema::DefinedTerm,URI]
- define_property :has_defined_term, as: "hasDefinedTerm", types: [
- "OpenActive::Models::Schema::DefinedTerm",
+ # @return [OpenActive::Models::Schema::PropertyValue,URI,String]
+ define_property :taxon_rank, as: "taxonRank", types: [
+ "OpenActive::Models::Schema::PropertyValue",
"URI",
+ "string",
]
end
end
end
end