lib/openactive/models/schema/delivery_charge_specification.rb in openactive-0.3.0 vs lib/openactive/models/schema/delivery_charge_specification.rb in openactive-0.4.0
- old
+ new
@@ -6,14 +6,20 @@
# @return [String]
def type
"schema:DeliveryChargeSpecification"
end
- # @return [OpenActive::Models::Schema::Place,String,OpenActive::Models::Schema::GeoShape,URI]
+ # @return [OpenActive::Enums::Schema::DeliveryMethod,nil]
+ define_property :applies_to_delivery_method, as: "appliesToDeliveryMethod", types: [
+ "OpenActive::Enums::Schema::DeliveryMethod",
+ "null",
+ ]
+
+ # @return [String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::GeoShape,URI]
define_property :ineligible_region, as: "ineligibleRegion", types: [
- "OpenActive::Models::Schema::Place",
"string",
+ "OpenActive::Models::Schema::Place",
"OpenActive::Models::Schema::GeoShape",
"URI",
]
# @return [OpenActive::Models::Schema::GeoShape,String,OpenActive::Models::Schema::Place,URI]
@@ -22,22 +28,16 @@
"string",
"OpenActive::Models::Schema::Place",
"URI",
]
- # @return [OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,String,OpenActive::Models::Schema::Place,URI]
+ # @return [String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::AdministrativeArea,URI]
define_property :area_served, as: "areaServed", types: [
- "OpenActive::Models::Schema::AdministrativeArea",
- "OpenActive::Models::Schema::GeoShape",
"string",
"OpenActive::Models::Schema::Place",
+ "OpenActive::Models::Schema::GeoShape",
+ "OpenActive::Models::Schema::AdministrativeArea",
"URI",
- ]
-
- # @return [OpenActive::Enums::Schema::DeliveryMethod,nil]
- define_property :applies_to_delivery_method, as: "appliesToDeliveryMethod", types: [
- "OpenActive::Enums::Schema::DeliveryMethod",
- "null",
]
end
end
end
end