lib/openactive/models/schema/contact_point.rb in openactive-0.3.0 vs lib/openactive/models/schema/contact_point.rb in openactive-0.4.0

- old
+ new

@@ -6,69 +6,69 @@ # @return [String] def type "schema:ContactPoint" end - # @return [String] - define_property :telephone, as: "telephone", types: [ + # @return [OpenActive::Models::Schema::Language,String,URI] + define_property :available_language, as: "availableLanguage", types: [ + "OpenActive::Models::Schema::Language", "string", - ] - - # @return [OpenActive::Models::Schema::OpeningHoursSpecification,URI] - define_property :hours_available, as: "hoursAvailable", types: [ - "OpenActive::Models::Schema::OpeningHoursSpecification", "URI", ] # @return [String] - define_property :email, as: "email", types: [ + 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 [String,OpenActive::Models::Schema::Language,URI] - define_property :available_language, as: "availableLanguage", types: [ - "string", - "OpenActive::Models::Schema::Language", + # @return [OpenActive::Models::Schema::OpeningHoursSpecification,URI] + define_property :hours_available, as: "hoursAvailable", types: [ + "OpenActive::Models::Schema::OpeningHoursSpecification", "URI", ] - # @return [OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::Place,URI] + # @return [OpenActive::Models::Schema::Place,OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::AdministrativeArea,URI] define_property :service_area, as: "serviceArea", types: [ + "OpenActive::Models::Schema::Place", "OpenActive::Models::Schema::GeoShape", "OpenActive::Models::Schema::AdministrativeArea", - "OpenActive::Models::Schema::Place", "URI", ] - # @return [OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,String,OpenActive::Models::Schema::Place,URI] - define_property :area_served, as: "areaServed", types: [ - "OpenActive::Models::Schema::AdministrativeArea", - "OpenActive::Models::Schema::GeoShape", + # @return [String] + define_property :fax_number, as: "faxNumber", types: [ "string", - "OpenActive::Models::Schema::Place", + ] + + # @return [String,OpenActive::Models::Schema::Product,URI] + define_property :product_supported, as: "productSupported", types: [ + "string", + "OpenActive::Models::Schema::Product", "URI", ] # @return [String] - define_property :contact_type, as: "contactType", types: [ + define_property :telephone, as: "telephone", types: [ "string", ] - # @return [String,OpenActive::Models::Schema::Product,URI] - define_property :product_supported, as: "productSupported", types: [ + # @return [String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::AdministrativeArea,URI] + define_property :area_served, as: "areaServed", types: [ "string", - "OpenActive::Models::Schema::Product", + "OpenActive::Models::Schema::Place", + "OpenActive::Models::Schema::GeoShape", + "OpenActive::Models::Schema::AdministrativeArea", "URI", ] # @return [String] - define_property :fax_number, as: "faxNumber", types: [ + define_property :email, as: "email", types: [ "string", ] end end end