lib/openactive/models/schema/service_channel.rb in openactive-0.1.2 vs lib/openactive/models/schema/service_channel.rb in openactive-0.2.0

- old
+ new

@@ -6,49 +6,56 @@ # @return [String] def type "schema:ServiceChannel" end - # @return [ActiveSupport::Duration,nil] - define_property :processing_time, as: "processingTime", types: [ - "DateInterval", - "null", + # @return [OpenActive::Models::Schema::Service,URI] + define_property :provides_service, as: "providesService", types: [ + "OpenActive::Models::Schema::Service", + "URI", ] - # @return [OpenActive::Models::Schema::ContactPoint] - define_property :service_sms_number, as: "serviceSmsNumber", types: [ + # @return [OpenActive::Models::Schema::ContactPoint,URI] + define_property :service_phone, as: "servicePhone", types: [ "OpenActive::Models::Schema::ContactPoint", + "URI", ] - # @return [OpenActive::Models::Schema::ContactPoint] - define_property :service_phone, as: "servicePhone", types: [ + # @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 [URI] define_property :service_url, as: "serviceUrl", types: [ "URI", ] - # @return [OpenActive::Models::Schema::Language,String] - define_property :available_language, as: "availableLanguage", types: [ - "OpenActive::Models::Schema::Language", - "string", + # @return [OpenActive::Models::Schema::Place,URI] + define_property :service_location, as: "serviceLocation", types: [ + "OpenActive::Models::Schema::Place", + "URI", ] - # @return [OpenActive::Models::Schema::PostalAddress] + # @return [OpenActive::Models::Schema::PostalAddress,URI] define_property :service_postal_address, as: "servicePostalAddress", types: [ "OpenActive::Models::Schema::PostalAddress", + "URI", ] - # @return [OpenActive::Models::Schema::Place] - define_property :service_location, as: "serviceLocation", types: [ - "OpenActive::Models::Schema::Place", - ] - - # @return [OpenActive::Models::Schema::Service] - define_property :provides_service, as: "providesService", types: [ - "OpenActive::Models::Schema::Service", + # @return [ActiveSupport::Duration,URI,nil] + define_property :processing_time, as: "processingTime", types: [ + "DateInterval", + "URI", + "null", ] end end end end