lib/openactive/models/schema/action_access_specification.rb in openactive-0.3.0 vs lib/openactive/models/schema/action_access_specification.rb in openactive-0.4.0
- old
+ new
@@ -12,32 +12,14 @@
define_property :expects_acceptance_of, as: "expectsAcceptanceOf", types: [
"OpenActive::Models::Schema::Offer",
"URI",
]
- # @return [URI,String,OpenActive::Enums::Schema::PhysicalActivityCategory,OpenActive::Models::Schema::Thing,OpenActive::Models::Schema::CategoryCode,nil]
- define_property :category, as: "category", types: [
- "URI",
- "string",
- "OpenActive::Enums::Schema::PhysicalActivityCategory",
- "OpenActive::Models::Schema::Thing",
- "OpenActive::Models::Schema::CategoryCode",
- "null",
- ]
-
- # @return [OpenActive::Models::Schema::Place,String,OpenActive::Models::Schema::GeoShape,URI]
- define_property :ineligible_region, as: "ineligibleRegion", types: [
- "OpenActive::Models::Schema::Place",
- "string",
- "OpenActive::Models::Schema::GeoShape",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::MediaSubscription,Boolean,URI,nil]
+ # @return [Boolean,OpenActive::Models::Schema::MediaSubscription,URI,nil]
define_property :requires_subscription, as: "requiresSubscription", types: [
- "OpenActive::Models::Schema::MediaSubscription",
"bool",
+ "OpenActive::Models::Schema::MediaSubscription",
"URI",
"null",
]
# @return [Date,DateTime,Time,nil]
@@ -46,23 +28,41 @@
"DateTime",
"Time",
"null",
]
- # @return [OpenActive::Models::Schema::GeoShape,String,OpenActive::Models::Schema::Place,URI]
- define_property :eligible_region, as: "eligibleRegion", types: [
- "OpenActive::Models::Schema::GeoShape",
- "string",
- "OpenActive::Models::Schema::Place",
+ # @return [OpenActive::Enums::Schema::PhysicalActivityCategory,URI,OpenActive::Models::Schema::Thing,String,OpenActive::Models::Schema::CategoryCode,nil]
+ define_property :category, as: "category", types: [
+ "OpenActive::Enums::Schema::PhysicalActivityCategory",
"URI",
+ "OpenActive::Models::Schema::Thing",
+ "string",
+ "OpenActive::Models::Schema::CategoryCode",
+ "null",
]
- # @return [Time,DateTime,Date,nil]
+ # @return [Time,Date,DateTime,nil]
define_property :availability_starts, as: "availabilityStarts", types: [
"Time",
- "DateTime",
"Date",
+ "DateTime",
"null",
+ ]
+
+ # @return [String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::GeoShape,URI]
+ define_property :ineligible_region, as: "ineligibleRegion", types: [
+ "string",
+ "OpenActive::Models::Schema::Place",
+ "OpenActive::Models::Schema::GeoShape",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::GeoShape,String,OpenActive::Models::Schema::Place,URI]
+ define_property :eligible_region, as: "eligibleRegion", types: [
+ "OpenActive::Models::Schema::GeoShape",
+ "string",
+ "OpenActive::Models::Schema::Place",
+ "URI",
]
end
end
end
end