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

- old
+ new

@@ -6,12 +6,22 @@ # @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", + "string", + "OpenActive::Enums::Schema::PhysicalActivityCategory", + "OpenActive::Models::Schema::Thing", + "OpenActive::Models::Schema::CategoryCode", + "null", + ] + # @return [String] - define_property :epidemiology, as: "epidemiology", types: [ + define_property :pathophysiology, as: "pathophysiology", types: [ "string", ] # @return [OpenActive::Models::Schema::AnatomicalStructure,OpenActive::Models::Schema::AnatomicalSystem,OpenActive::Models::Schema::SuperficialAnatomy,URI] define_property :associated_anatomy, as: "associatedAnatomy", types: [ @@ -19,20 +29,11 @@ "OpenActive::Models::Schema::AnatomicalSystem", "OpenActive::Models::Schema::SuperficialAnatomy", "URI", ] - # @return [OpenActive::Enums::Schema::PhysicalActivityCategory,String,URI,OpenActive::Models::Schema::Thing,nil] - define_property :category, as: "category", types: [ - "OpenActive::Enums::Schema::PhysicalActivityCategory", - "string", - "URI", - "OpenActive::Models::Schema::Thing", - "null", - ] - # @return [String] - define_property :pathophysiology, as: "pathophysiology", types: [ + define_property :epidemiology, as: "epidemiology", types: [ "string", ] end end end