lib/openactive/models/place.rb in openactive-0.2.2 vs lib/openactive/models/place.rb in openactive-0.3.0
- old
+ new
@@ -36,20 +36,26 @@
# @return [Array<OpenActive::Models::LocationFeatureSpecification>]
define_property :amenity_feature, as: "amenityFeature", types: [
"OpenActive::Models::LocationFeatureSpecification[]",
]
- # @return [OpenActive::Models::Place]
+ # @return [OpenActive::Models::Place,URI]
define_property :contained_in_place, as: "containedInPlace", types: [
"OpenActive::Models::Place",
+ "URI",
]
# @return [Array<OpenActive::Models::Place>]
define_property :contains_place, as: "containsPlace", types: [
"OpenActive::Models::Place[]",
]
+ # @return [String]
+ define_property :email, as: "email", types: [
+ "string",
+ ]
+
# @return [OpenActive::Models::GeoCoordinates]
define_property :geo, as: "geo", types: [
"OpenActive::Models::GeoCoordinates",
]
@@ -79,9 +85,24 @@
]
# @return [String]
define_property :formatted_description, as: "beta:formattedDescription", types: [
"string",
+ ]
+
+ # @return [Array<OpenActive::Models::VideoObject>]
+ define_property :video, as: "beta:video", types: [
+ "OpenActive::Models::VideoObject[]",
+ ]
+
+ # @return [OpenActive::Models::Organization]
+ define_property :service_operator, as: "beta:serviceOperator", types: [
+ "OpenActive::Models::Organization",
+ ]
+
+ # @return [Array<OpenActive::Models::Concept>]
+ define_property :place_type, as: "beta:placeType", types: [
+ "OpenActive::Models::Concept[]",
]
end
end
end