lib/openactive/models/schema/observation.rb in openactive-0.2.2 vs lib/openactive/models/schema/observation.rb in openactive-0.3.0
- old
+ new
@@ -6,14 +6,13 @@
# @return [String]
def type
"schema:Observation"
end
- # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
- define_property :margin_of_error, as: "marginOfError", types: [
- "OpenActive::Models::Schema::QuantitativeValue",
- "URI",
+ # @return [OpenActive::Models::Schema::DataType]
+ define_property :measured_value, as: "measuredValue", types: [
+ "OpenActive::Models::Schema::DataType",
]
# @return [OpenActive::Models::Schema::StatisticalPopulation,URI]
define_property :observed_node, as: "observedNode", types: [
"OpenActive::Models::Schema::StatisticalPopulation",
@@ -31,12 +30,13 @@
define_property :observation_date, as: "observationDate", types: [
"DateTime",
"null",
]
- # @return [OpenActive::Models::Schema::DataType]
- define_property :measured_value, as: "measuredValue", types: [
- "OpenActive::Models::Schema::DataType",
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :margin_of_error, as: "marginOfError", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
]
end
end
end
end