lib/openactive/models/schema/delivery_charge_specification.rb in openactive-0.1.2 vs lib/openactive/models/schema/delivery_charge_specification.rb in openactive-0.2.0
- old
+ new
@@ -6,35 +6,38 @@
# @return [String]
def type
"schema:DeliveryChargeSpecification"
end
- # @return [OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::Place,String]
- define_property :ineligible_region, as: "ineligibleRegion", types: [
- "OpenActive::Models::Schema::GeoShape",
- "OpenActive::Models::Schema::Place",
- "string",
- ]
-
- # @return [OpenActive::Models::Schema::Place,String,OpenActive::Models::Schema::GeoShape]
+ # @return [String,OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::Place,URI]
define_property :eligible_region, as: "eligibleRegion", types: [
- "OpenActive::Models::Schema::Place",
"string",
"OpenActive::Models::Schema::GeoShape",
+ "OpenActive::Models::Schema::Place",
+ "URI",
]
- # @return [String,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::Place]
+ # @return [String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,URI]
define_property :area_served, as: "areaServed", types: [
"string",
+ "OpenActive::Models::Schema::Place",
"OpenActive::Models::Schema::AdministrativeArea",
"OpenActive::Models::Schema::GeoShape",
- "OpenActive::Models::Schema::Place",
+ "URI",
]
# @return [OpenActive::Enums::Schema::DeliveryMethod,nil]
define_property :applies_to_delivery_method, as: "appliesToDeliveryMethod", types: [
"OpenActive::Enums::Schema::DeliveryMethod",
"null",
+ ]
+
+ # @return [OpenActive::Models::Schema::GeoShape,String,OpenActive::Models::Schema::Place,URI]
+ define_property :ineligible_region, as: "ineligibleRegion", types: [
+ "OpenActive::Models::Schema::GeoShape",
+ "string",
+ "OpenActive::Models::Schema::Place",
+ "URI",
]
end
end
end
end