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

- old
+ new

@@ -14,26 +14,26 @@ "string", "URI", ] # @return [String] - define_property :address_region, as: "addressRegion", types: [ + define_property :postal_code, as: "postalCode", types: [ "string", ] + # @return [String] + define_property :postal_code_prefix, as: "postalCodePrefix", types: [ + "string", + ] + # @return [OpenActive::Models::Schema::PostalCodeRangeSpecification,URI] define_property :postal_code_range, as: "postalCodeRange", types: [ "OpenActive::Models::Schema::PostalCodeRangeSpecification", "URI", ] # @return [String] - define_property :postal_code_prefix, as: "postalCodePrefix", types: [ - "string", - ] - - # @return [String] - define_property :postal_code, as: "postalCode", types: [ + define_property :address_region, as: "addressRegion", types: [ "string", ] end end end