lib/openactive/models/schema/geo_shape.rb in openactive-0.2.2 vs lib/openactive/models/schema/geo_shape.rb in openactive-0.3.0

- old
+ new

@@ -6,53 +6,53 @@ # @return [String] def type "schema:GeoShape" end - # @return [String] - define_property :polygon, as: "polygon", types: [ + # @return [OpenActive::Models::Schema::Country,String,URI] + define_property :address_country, as: "addressCountry", types: [ + "OpenActive::Models::Schema::Country", "string", + "URI", ] # @return [String] define_property :circle, as: "circle", types: [ "string", ] - # @return [String,OpenActive::Models::Schema::PostalAddress,URI] - define_property :address, as: "address", types: [ + # @return [String] + define_property :line, as: "line", types: [ "string", - "OpenActive::Models::Schema::PostalAddress", - "URI", ] - # @return [String,OpenActive::Models::Schema::Country,URI] - define_property :address_country, as: "addressCountry", types: [ - "string", - "OpenActive::Models::Schema::Country", - "URI", - ] - # @return [String] - define_property :line, as: "line", types: [ + define_property :polygon, as: "polygon", types: [ "string", ] - # @return [String] - define_property :box, as: "box", types: [ + # @return [String,OpenActive::Models::Schema::PostalAddress,URI] + define_property :address, as: "address", types: [ "string", + "OpenActive::Models::Schema::PostalAddress", + "URI", ] # @return [String] define_property :postal_code, as: "postalCode", types: [ "string", ] - # @return [BigDecimal,String,nil] + # @return [String,BigDecimal,nil] define_property :elevation, as: "elevation", types: [ - "Number", "string", + "Number", "null", + ] + + # @return [String] + define_property :box, as: "box", types: [ + "string", ] end end end end