lib/openactive/models/schema/statistical_population.rb in openactive-0.1.2 vs lib/openactive/models/schema/statistical_population.rb in openactive-0.2.0
- old
+ new
@@ -6,23 +6,25 @@
# @return [String]
def type
"schema:StatisticalPopulation"
end
- # @return []
- define_property :population_type, as: "populationType", types: [
- ]
-
# @return [int,nil]
- define_property :constraining_property, as: "constrainingProperty", types: [
+ define_property :num_constraints, as: "numConstraints", types: [
"int",
"null",
]
# @return [int,nil]
- define_property :num_constraints, as: "numConstraints", types: [
+ define_property :constraining_property, as: "constrainingProperty", types: [
"int",
"null",
+ ]
+
+ # @return [OpenActive::Models::Schema::Class,URI]
+ define_property :population_type, as: "populationType", types: [
+ "OpenActive::Models::Schema::Class",
+ "URI",
]
end
end
end
end