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

- old
+ new

@@ -6,35 +6,35 @@ # @return [String] def type "schema:PhysicalActivity" end - # @return [URI,String,OpenActive::Enums::Schema::PhysicalActivityCategory,OpenActive::Models::Schema::Thing,OpenActive::Models::Schema::CategoryCode,nil] - define_property :category, as: "category", types: [ - "URI", + # @return [String] + define_property :epidemiology, as: "epidemiology", types: [ "string", + ] + + # @return [OpenActive::Enums::Schema::PhysicalActivityCategory,URI,OpenActive::Models::Schema::Thing,String,OpenActive::Models::Schema::CategoryCode,nil] + define_property :category, as: "category", types: [ "OpenActive::Enums::Schema::PhysicalActivityCategory", + "URI", "OpenActive::Models::Schema::Thing", + "string", "OpenActive::Models::Schema::CategoryCode", "null", ] # @return [String] define_property :pathophysiology, as: "pathophysiology", types: [ "string", ] - # @return [OpenActive::Models::Schema::AnatomicalStructure,OpenActive::Models::Schema::AnatomicalSystem,OpenActive::Models::Schema::SuperficialAnatomy,URI] + # @return [OpenActive::Models::Schema::AnatomicalStructure,OpenActive::Models::Schema::SuperficialAnatomy,OpenActive::Models::Schema::AnatomicalSystem,URI] define_property :associated_anatomy, as: "associatedAnatomy", types: [ "OpenActive::Models::Schema::AnatomicalStructure", - "OpenActive::Models::Schema::AnatomicalSystem", "OpenActive::Models::Schema::SuperficialAnatomy", + "OpenActive::Models::Schema::AnatomicalSystem", "URI", - ] - - # @return [String] - define_property :epidemiology, as: "epidemiology", types: [ - "string", ] end end end end