lib/openactive/models/schema/service_channel.rb in openactive-0.3.0 vs lib/openactive/models/schema/service_channel.rb in openactive-0.4.0
- old
+ new
@@ -6,55 +6,55 @@
# @return [String]
def type
"schema:ServiceChannel"
end
+ # @return [OpenActive::Models::Schema::Place,URI]
+ define_property :service_location, as: "serviceLocation", types: [
+ "OpenActive::Models::Schema::Place",
+ "URI",
+ ]
+
# @return [OpenActive::Models::Schema::Service,URI]
define_property :provides_service, as: "providesService", types: [
"OpenActive::Models::Schema::Service",
"URI",
]
+ # @return [OpenActive::Models::Schema::Language,String,URI]
+ define_property :available_language, as: "availableLanguage", types: [
+ "OpenActive::Models::Schema::Language",
+ "string",
+ "URI",
+ ]
+
# @return [OpenActive::Models::Schema::ContactPoint,URI]
define_property :service_sms_number, as: "serviceSmsNumber", types: [
"OpenActive::Models::Schema::ContactPoint",
"URI",
]
- # @return [OpenActive::Models::Schema::PostalAddress,URI]
- define_property :service_postal_address, as: "servicePostalAddress", types: [
- "OpenActive::Models::Schema::PostalAddress",
- "URI",
- ]
-
- # @return [URI]
- define_property :service_url, as: "serviceUrl", types: [
- "URI",
- ]
-
# @return [OpenActive::Models::Schema::ContactPoint,URI]
define_property :service_phone, as: "servicePhone", types: [
"OpenActive::Models::Schema::ContactPoint",
"URI",
]
- # @return [String,OpenActive::Models::Schema::Language,URI]
- define_property :available_language, as: "availableLanguage", types: [
- "string",
- "OpenActive::Models::Schema::Language",
- "URI",
- ]
-
# @return [ActiveSupport::Duration,URI,nil]
define_property :processing_time, as: "processingTime", types: [
"DateInterval",
"URI",
"null",
]
- # @return [OpenActive::Models::Schema::Place,URI]
- define_property :service_location, as: "serviceLocation", types: [
- "OpenActive::Models::Schema::Place",
+ # @return [URI]
+ define_property :service_url, as: "serviceUrl", types: [
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::PostalAddress,URI]
+ define_property :service_postal_address, as: "servicePostalAddress", types: [
+ "OpenActive::Models::Schema::PostalAddress",
"URI",
]
end
end
end