lib/openactive/models/schema/people_audience.rb in openactive-0.2.2 vs lib/openactive/models/schema/people_audience.rb in openactive-0.3.0
- old
+ new
@@ -7,59 +7,59 @@
def type
"schema:PeopleAudience"
end
# @return [int,nil]
- define_property :required_max_age, as: "requiredMaxAge", types: [
+ define_property :required_min_age, as: "requiredMinAge", types: [
"int",
"null",
]
- # @return [String,OpenActive::Enums::Schema::GenderType,nil]
- define_property :suggested_gender, as: "suggestedGender", types: [
- "string",
- "OpenActive::Enums::Schema::GenderType",
+ # @return [BigDecimal,nil]
+ define_property :suggested_max_age, as: "suggestedMaxAge", types: [
+ "Number",
"null",
]
# @return [OpenActive::Models::Schema::MedicalCondition,URI]
define_property :health_condition, as: "healthCondition", types: [
"OpenActive::Models::Schema::MedicalCondition",
"URI",
]
- # @return [String]
- define_property :required_gender, as: "requiredGender", types: [
- "string",
- ]
-
# @return [OpenActive::Models::Schema::QuantitativeValue,URI]
- define_property :suggested_age, as: "suggestedAge", types: [
+ define_property :suggested_measurement, as: "suggestedMeasurement", types: [
"OpenActive::Models::Schema::QuantitativeValue",
"URI",
]
- # @return [BigDecimal,nil]
- define_property :suggested_min_age, as: "suggestedMinAge", types: [
- "Number",
- "null",
- ]
-
# @return [OpenActive::Models::Schema::QuantitativeValue,URI]
- define_property :suggested_measurement, as: "suggestedMeasurement", types: [
+ define_property :suggested_age, as: "suggestedAge", types: [
"OpenActive::Models::Schema::QuantitativeValue",
"URI",
]
# @return [int,nil]
- define_property :required_min_age, as: "requiredMinAge", types: [
+ define_property :required_max_age, as: "requiredMaxAge", types: [
"int",
"null",
]
# @return [BigDecimal,nil]
- define_property :suggested_max_age, as: "suggestedMaxAge", types: [
+ define_property :suggested_min_age, as: "suggestedMinAge", types: [
"Number",
+ "null",
+ ]
+
+ # @return [String]
+ define_property :required_gender, as: "requiredGender", types: [
+ "string",
+ ]
+
+ # @return [OpenActive::Enums::Schema::GenderType,String,nil]
+ define_property :suggested_gender, as: "suggestedGender", types: [
+ "OpenActive::Enums::Schema::GenderType",
+ "string",
"null",
]
end
end
end