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

- old
+ new

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