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

- old
+ new

@@ -6,32 +6,31 @@ # @return [String] def type "schema:ContactPoint" end - # @return [String,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::Place] + # @return [OpenActive::Models::Schema::Language,String,URI] + define_property :available_language, as: "availableLanguage", types: [ + "OpenActive::Models::Schema::Language", + "string", + "URI", + ] + + # @return [String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,URI] define_property :area_served, as: "areaServed", types: [ "string", + "OpenActive::Models::Schema::Place", "OpenActive::Models::Schema::AdministrativeArea", "OpenActive::Models::Schema::GeoShape", - "OpenActive::Models::Schema::Place", + "URI", ] - # @return [String] - define_property :fax_number, as: "faxNumber", types: [ - "string", - ] - - # @return [String,OpenActive::Models::Schema::Product] + # @return [OpenActive::Models::Schema::Product,String,URI] define_property :product_supported, as: "productSupported", types: [ - "string", "OpenActive::Models::Schema::Product", - ] - - # @return [String] - define_property :contact_type, as: "contactType", types: [ "string", + "URI", ] # @return [String] define_property :email, as: "email", types: [ "string", @@ -40,31 +39,37 @@ # @return [String] define_property :telephone, as: "telephone", types: [ "string", ] - # @return [OpenActive::Models::Schema::Language,String] - define_property :available_language, as: "availableLanguage", types: [ - "OpenActive::Models::Schema::Language", + # @return [String] + define_property :contact_type, as: "contactType", types: [ "string", ] - # @return [OpenActive::Enums::Schema::ContactPointOption,nil] - define_property :contact_option, as: "contactOption", types: [ - "OpenActive::Enums::Schema::ContactPointOption", - "null", - ] - - # @return [OpenActive::Models::Schema::OpeningHoursSpecification] + # @return [OpenActive::Models::Schema::OpeningHoursSpecification,URI] define_property :hours_available, as: "hoursAvailable", types: [ "OpenActive::Models::Schema::OpeningHoursSpecification", + "URI", ] - # @return [OpenActive::Models::Schema::Place,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape] + # @return [OpenActive::Models::Schema::Place,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,URI] define_property :service_area, as: "serviceArea", types: [ "OpenActive::Models::Schema::Place", "OpenActive::Models::Schema::AdministrativeArea", "OpenActive::Models::Schema::GeoShape", + "URI", + ] + + # @return [String] + define_property :fax_number, as: "faxNumber", types: [ + "string", + ] + + # @return [OpenActive::Enums::Schema::ContactPointOption,nil] + define_property :contact_option, as: "contactOption", types: [ + "OpenActive::Enums::Schema::ContactPointOption", + "null", ] end end end end