lib/openactive/models/schema/action_access_specification.rb in openactive-0.1.2 vs lib/openactive/models/schema/action_access_specification.rb in openactive-0.2.0
- old
+ new
@@ -6,54 +6,61 @@
# @return [String]
def type
"schema:ActionAccessSpecification"
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::Offer,URI]
+ define_property :expects_acceptance_of, as: "expectsAcceptanceOf", types: [
+ "OpenActive::Models::Schema::Offer",
+ "URI",
]
- # @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 [OpenActive::Models::Schema::Offer]
- define_property :expects_acceptance_of, as: "expectsAcceptanceOf", types: [
- "OpenActive::Models::Schema::Offer",
- ]
-
# @return [DateTime,Time,Date,nil]
define_property :availability_ends, as: "availabilityEnds", types: [
"DateTime",
"Time",
"Date",
"null",
]
- # @return [String,OpenActive::Models::Schema::Thing]
+ # @return [DateTime,Date,Time,nil]
+ define_property :availability_starts, as: "availabilityStarts", types: [
+ "DateTime",
+ "Date",
+ "Time",
+ "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",
+ ]
+
+ # @return [OpenActive::Enums::Schema::PhysicalActivityCategory,String,URI,OpenActive::Models::Schema::Thing,nil]
define_property :category, as: "category", types: [
+ "OpenActive::Enums::Schema::PhysicalActivityCategory",
"string",
+ "URI",
"OpenActive::Models::Schema::Thing",
+ "null",
]
- # @return [OpenActive::Models::Schema::MediaSubscription,Boolean,nil]
+ # @return [Boolean,OpenActive::Models::Schema::MediaSubscription,URI,nil]
define_property :requires_subscription, as: "requiresSubscription", types: [
- "OpenActive::Models::Schema::MediaSubscription",
"bool",
- "null",
- ]
-
- # @return [Date,Time,DateTime,nil]
- define_property :availability_starts, as: "availabilityStarts", types: [
- "Date",
- "Time",
- "DateTime",
+ "OpenActive::Models::Schema::MediaSubscription",
+ "URI",
"null",
]
end
end
end