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

- old
+ new

@@ -14,44 +14,44 @@ "string", "URI", ] # @return [String] - define_property :circle, as: "circle", types: [ + define_property :box, as: "box", types: [ "string", ] - # @return [String] - define_property :line, as: "line", types: [ + # @return [OpenActive::Models::Schema::PostalAddress,String,URI] + define_property :address, as: "address", types: [ + "OpenActive::Models::Schema::PostalAddress", "string", + "URI", ] # @return [String] - define_property :polygon, as: "polygon", types: [ + define_property :postal_code, as: "postalCode", 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] - define_property :postal_code, as: "postalCode", types: [ + define_property :circle, as: "circle", types: [ "string", ] - # @return [String,BigDecimal,nil] + # @return [BigDecimal,String,nil] define_property :elevation, as: "elevation", types: [ - "string", "Number", + "string", "null", ] # @return [String] - define_property :box, as: "box", types: [ + define_property :polygon, as: "polygon", types: [ "string", ] end end end