lib/openactive/models/schema/location_feature_specification.rb in openactive-0.3.0 vs lib/openactive/models/schema/location_feature_specification.rb in openactive-0.4.0
- old
+ new
@@ -6,27 +6,27 @@
# @return [String]
def type
"schema:LocationFeatureSpecification"
end
- # @return [OpenActive::Models::Schema::OpeningHoursSpecification,URI]
- define_property :hours_available, as: "hoursAvailable", types: [
- "OpenActive::Models::Schema::OpeningHoursSpecification",
- "URI",
- ]
-
- # @return [DateTime,Date,nil]
+ # @return [Date,DateTime,nil]
define_property :valid_from, as: "validFrom", types: [
- "DateTime",
"Date",
+ "DateTime",
"null",
]
- # @return [DateTime,Date,nil]
+ # @return [Date,DateTime,nil]
define_property :valid_through, as: "validThrough", types: [
- "DateTime",
"Date",
+ "DateTime",
"null",
+ ]
+
+ # @return [OpenActive::Models::Schema::OpeningHoursSpecification,URI]
+ define_property :hours_available, as: "hoursAvailable", types: [
+ "OpenActive::Models::Schema::OpeningHoursSpecification",
+ "URI",
]
end
end
end
end