lib/openactive/models/schema/defined_region.rb in openactive-0.2.2 vs lib/openactive/models/schema/defined_region.rb in openactive-0.3.0
- old
+ new
@@ -6,29 +6,29 @@
# @return [String]
def type
"schema:DefinedRegion"
end
+ # @return [OpenActive::Models::Schema::Country,String,URI]
+ define_property :address_country, as: "addressCountry", types: [
+ "OpenActive::Models::Schema::Country",
+ "string",
+ "URI",
+ ]
+
# @return [String]
- define_property :postal_code_prefix, as: "postalCodePrefix", types: [
+ define_property :address_region, as: "addressRegion", types: [
"string",
]
# @return [OpenActive::Models::Schema::PostalCodeRangeSpecification,URI]
define_property :postal_code_range, as: "postalCodeRange", types: [
"OpenActive::Models::Schema::PostalCodeRangeSpecification",
"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 :address_region, as: "addressRegion", types: [
+ define_property :postal_code_prefix, as: "postalCodePrefix", types: [
"string",
]
# @return [String]
define_property :postal_code, as: "postalCode", types: [