lib/openactive/models/schema/dietary_supplement.rb in openactive-0.2.2 vs lib/openactive/models/schema/dietary_supplement.rb in openactive-0.3.0
- old
+ new
@@ -7,68 +7,68 @@
def type
"schema:DietarySupplement"
end
# @return [String]
- define_property :mechanism_of_action, as: "mechanismOfAction", types: [
+ define_property :target_population, as: "targetPopulation", types: [
"string",
]
- # @return [Boolean,nil]
- define_property :is_proprietary, as: "isProprietary", types: [
- "bool",
- "null",
+ # @return [OpenActive::Models::Schema::RecommendedDoseSchedule,URI]
+ define_property :recommended_intake, as: "recommendedIntake", types: [
+ "OpenActive::Models::Schema::RecommendedDoseSchedule",
+ "URI",
]
- # @return [OpenActive::Models::Schema::MaximumDoseSchedule,URI]
- define_property :maximum_intake, as: "maximumIntake", types: [
- "OpenActive::Models::Schema::MaximumDoseSchedule",
+ # @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 [String]
- define_property :safety_consideration, as: "safetyConsideration", types: [
+ define_property :mechanism_of_action, as: "mechanismOfAction", types: [
"string",
]
- # @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::MaximumDoseSchedule,URI]
+ define_property :maximum_intake, as: "maximumIntake", types: [
+ "OpenActive::Models::Schema::MaximumDoseSchedule",
"URI",
- "null",
]
# @return [String]
- define_property :non_proprietary_name, as: "nonProprietaryName", types: [
+ define_property :active_ingredient, as: "activeIngredient", types: [
"string",
]
# @return [String]
define_property :proprietary_name, as: "proprietaryName", types: [
"string",
]
- # @return [OpenActive::Models::Schema::RecommendedDoseSchedule,URI]
- define_property :recommended_intake, as: "recommendedIntake", types: [
- "OpenActive::Models::Schema::RecommendedDoseSchedule",
- "URI",
- ]
-
# @return [String]
- define_property :active_ingredient, as: "activeIngredient", types: [
+ define_property :non_proprietary_name, as: "nonProprietaryName", types: [
"string",
]
# @return [OpenActive::Models::Schema::Organization,URI]
define_property :manufacturer, as: "manufacturer", types: [
"OpenActive::Models::Schema::Organization",
"URI",
]
+ # @return [Boolean,nil]
+ define_property :is_proprietary, as: "isProprietary", types: [
+ "bool",
+ "null",
+ ]
+
# @return [String]
- define_property :target_population, as: "targetPopulation", types: [
+ define_property :safety_consideration, as: "safetyConsideration", types: [
"string",
]
end
end
end