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

- old
+ new

@@ -6,51 +6,57 @@ # @return [String] def type "schema:MedicalEntity" end - # @return [OpenActive::Models::Schema::MedicalGuideline,URI] - define_property :guideline, as: "guideline", types: [ - "OpenActive::Models::Schema::MedicalGuideline", + # @return [OpenActive::Models::Schema::DrugLegalStatus,String,OpenActive::Enums::Schema::MedicalEnumeration,URI,nil] + define_property :legal_status, as: "legalStatus", types: [ + "OpenActive::Models::Schema::DrugLegalStatus", + "string", + "OpenActive::Enums::Schema::MedicalEnumeration", "URI", + "null", ] - # @return [OpenActive::Models::Schema::Organization,URI] - define_property :recognizing_authority, as: "recognizingAuthority", types: [ - "OpenActive::Models::Schema::Organization", + # @return [OpenActive::Models::Schema::Grant,URI] + define_property :funding, as: "funding", types: [ + "OpenActive::Models::Schema::Grant", "URI", ] - # @return [OpenActive::Enums::Schema::MedicalEnumeration,String,OpenActive::Models::Schema::DrugLegalStatus,URI,nil] - define_property :legal_status, as: "legalStatus", types: [ - "OpenActive::Enums::Schema::MedicalEnumeration", - "string", - "OpenActive::Models::Schema::DrugLegalStatus", + # @return [OpenActive::Models::Schema::MedicalStudy,URI] + define_property :study, as: "study", types: [ + "OpenActive::Models::Schema::MedicalStudy", "URI", - "null", ] # @return [OpenActive::Models::Schema::MedicalCode,URI] define_property :code, as: "code", types: [ "OpenActive::Models::Schema::MedicalCode", "URI", ] - # @return [OpenActive::Models::Schema::MedicalSpecialty,URI] - define_property :relevant_specialty, as: "relevantSpecialty", types: [ - "OpenActive::Models::Schema::MedicalSpecialty", + # @return [OpenActive::Models::Schema::MedicalGuideline,URI] + define_property :guideline, as: "guideline", types: [ + "OpenActive::Models::Schema::MedicalGuideline", "URI", ] - # @return [OpenActive::Models::Schema::MedicalStudy,URI] - define_property :study, as: "study", types: [ - "OpenActive::Models::Schema::MedicalStudy", + # @return [OpenActive::Models::Schema::Organization,URI] + define_property :recognizing_authority, as: "recognizingAuthority", types: [ + "OpenActive::Models::Schema::Organization", "URI", ] # @return [OpenActive::Models::Schema::MedicineSystem,URI] define_property :medicine_system, as: "medicineSystem", types: [ "OpenActive::Models::Schema::MedicineSystem", + "URI", + ] + + # @return [OpenActive::Models::Schema::MedicalSpecialty,URI] + define_property :relevant_specialty, as: "relevantSpecialty", types: [ + "OpenActive::Models::Schema::MedicalSpecialty", "URI", ] end end end