ideal_postcodes 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +3 -16
- data/LICENSE +1 -21
- data/README.md +13 -332
- data/lib/ideal_postcodes/base_client.rb +88 -0
- data/lib/ideal_postcodes/client.rb +42 -0
- data/lib/ideal_postcodes/errors.rb +59 -0
- data/lib/ideal_postcodes/generated.rb +83 -0
- data/lib/ideal_postcodes/model.rb +73 -0
- data/lib/ideal_postcodes/operations.rb +866 -0
- data/lib/ideal_postcodes/responses/address_response.rb +19 -0
- data/lib/ideal_postcodes/responses/api_key_details_response.rb +21 -0
- data/lib/ideal_postcodes/responses/api_key_response.rb +21 -0
- data/lib/ideal_postcodes/responses/api_key_usage_response.rb +21 -0
- data/lib/ideal_postcodes/responses/autocomplete_response.rb +19 -0
- data/lib/ideal_postcodes/responses/cleanse_response.rb +31 -0
- data/lib/ideal_postcodes/responses/config_response.rb +21 -0
- data/lib/ideal_postcodes/responses/configs_response.rb +21 -0
- data/lib/ideal_postcodes/responses/delete_config_response.rb +19 -0
- data/lib/ideal_postcodes/responses/delete_licensee_response.rb +19 -0
- data/lib/ideal_postcodes/responses/email_response.rb +31 -0
- data/lib/ideal_postcodes/responses/gbr_resolve_address_response.rb +21 -0
- data/lib/ideal_postcodes/responses/licensee_response.rb +21 -0
- data/lib/ideal_postcodes/responses/licensees_response.rb +21 -0
- data/lib/ideal_postcodes/responses/phone_number_response.rb +31 -0
- data/lib/ideal_postcodes/responses/place_response.rb +19 -0
- data/lib/ideal_postcodes/responses/postcode_response.rb +30 -0
- data/lib/ideal_postcodes/responses/resolve_place_response.rb +24 -0
- data/lib/ideal_postcodes/transport.rb +61 -0
- data/lib/ideal_postcodes/types/ab_address.rb +283 -0
- data/lib/ideal_postcodes/types/abp_address.rb +674 -0
- data/lib/ideal_postcodes/types/address.rb +290 -0
- data/lib/ideal_postcodes/types/address_list_item.rb +592 -0
- data/lib/ideal_postcodes/types/address_result.rb +24 -0
- data/lib/ideal_postcodes/types/address_suggestion.rb +27 -0
- data/lib/ideal_postcodes/types/api_key.rb +27 -0
- data/lib/ideal_postcodes/types/api_key_automated_topup.rb +17 -0
- data/lib/ideal_postcodes/types/api_key_current_purchase.rb +27 -0
- data/lib/ideal_postcodes/types/api_key_daily_limit.rb +21 -0
- data/lib/ideal_postcodes/types/api_key_datasets.rb +202 -0
- data/lib/ideal_postcodes/types/api_key_details.rb +90 -0
- data/lib/ideal_postcodes/types/api_key_individual_limit.rb +16 -0
- data/lib/ideal_postcodes/types/api_key_monthly_limit.rb +21 -0
- data/lib/ideal_postcodes/types/api_key_notifications.rb +35 -0
- data/lib/ideal_postcodes/types/autocomplete_result.rb +25 -0
- data/lib/ideal_postcodes/types/available_context.rb +35 -0
- data/lib/ideal_postcodes/types/ban_address.rb +179 -0
- data/lib/ideal_postcodes/types/bev_address.rb +288 -0
- data/lib/ideal_postcodes/types/cannar_address.rb +297 -0
- data/lib/ideal_postcodes/types/carrier.rb +31 -0
- data/lib/ideal_postcodes/types/config.rb +34 -0
- data/lib/ideal_postcodes/types/configs_result.rb +15 -0
- data/lib/ideal_postcodes/types/deleted_config.rb +13 -0
- data/lib/ideal_postcodes/types/deleted_licensee.rb +13 -0
- data/lib/ideal_postcodes/types/ecad_address.rb +393 -0
- data/lib/ideal_postcodes/types/ecaf_address.rb +204 -0
- data/lib/ideal_postcodes/types/email.rb +45 -0
- data/lib/ideal_postcodes/types/fodbosa_address.rb +201 -0
- data/lib/ideal_postcodes/types/gbr_cleanse_match.rb +70 -0
- data/lib/ideal_postcodes/types/gbr_cleanse_no_match.rb +47 -0
- data/lib/ideal_postcodes/types/geonames_place.rb +153 -0
- data/lib/ideal_postcodes/types/gnaf_address.rb +463 -0
- data/lib/ideal_postcodes/types/here_address.rb +174 -0
- data/lib/ideal_postcodes/types/invalid_phone_number.rb +50 -0
- data/lib/ideal_postcodes/types/kadaster_address.rb +480 -0
- data/lib/ideal_postcodes/types/kartverket_address.rb +342 -0
- data/lib/ideal_postcodes/types/key_usage_day.rb +16 -0
- data/lib/ideal_postcodes/types/key_usage_result.rb +36 -0
- data/lib/ideal_postcodes/types/licensee.rb +50 -0
- data/lib/ideal_postcodes/types/licensee_daily_usage.rb +29 -0
- data/lib/ideal_postcodes/types/licensees_result.rb +23 -0
- data/lib/ideal_postcodes/types/mois_address.rb +440 -0
- data/lib/ideal_postcodes/types/mr_address.rb +99 -0
- data/lib/ideal_postcodes/types/native_record.rb +368 -0
- data/lib/ideal_postcodes/types/nyb_address.rb +99 -0
- data/lib/ideal_postcodes/types/paf_address.rb +96 -0
- data/lib/ideal_postcodes/types/pafa_address.rb +104 -0
- data/lib/ideal_postcodes/types/pafw_address.rb +99 -0
- data/lib/ideal_postcodes/types/phone_number.rb +50 -0
- data/lib/ideal_postcodes/types/place.rb +79 -0
- data/lib/ideal_postcodes/types/place_result.rb +21 -0
- data/lib/ideal_postcodes/types/place_suggestion.rb +32 -0
- data/lib/ideal_postcodes/types/sdfi_address.rb +520 -0
- data/lib/ideal_postcodes/types/swt_address.rb +247 -0
- data/lib/ideal_postcodes/types/uk_address_suggestion.rb +45 -0
- data/lib/ideal_postcodes/types/uk_address_suggestion_urls.rb +21 -0
- data/lib/ideal_postcodes/types/unknown_email.rb +43 -0
- data/lib/ideal_postcodes/types/upujp_address.rb +763 -0
- data/lib/ideal_postcodes/types/usps_address.rb +294 -0
- data/lib/ideal_postcodes/version.rb +5 -0
- data/lib/ideal_postcodes.rb +14 -2
- data/sig/ideal_postcodes/base_client.rbs +40 -0
- data/sig/ideal_postcodes/client.rbs +35 -0
- data/sig/ideal_postcodes/errors.rbs +27 -0
- data/sig/ideal_postcodes/model.rbs +37 -0
- data/sig/ideal_postcodes/operations.rbs +207 -0
- data/sig/ideal_postcodes/responses/address_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/api_key_details_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/api_key_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/api_key_usage_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/autocomplete_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/cleanse_response.rbs +19 -0
- data/sig/ideal_postcodes/responses/config_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/configs_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/delete_config_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/delete_licensee_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/email_response.rbs +19 -0
- data/sig/ideal_postcodes/responses/gbr_resolve_address_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/licensee_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/licensees_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/phone_number_response.rbs +19 -0
- data/sig/ideal_postcodes/responses/place_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/postcode_response.rbs +16 -0
- data/sig/ideal_postcodes/responses/resolve_place_response.rbs +13 -0
- data/sig/ideal_postcodes/transport.rbs +39 -0
- data/sig/ideal_postcodes/types/ab_address.rbs +57 -0
- data/sig/ideal_postcodes/types/abp_address.rbs +126 -0
- data/sig/ideal_postcodes/types/address.rbs +136 -0
- data/sig/ideal_postcodes/types/address_list_item.rbs +160 -0
- data/sig/ideal_postcodes/types/address_result.rbs +12 -0
- data/sig/ideal_postcodes/types/address_suggestion.rbs +11 -0
- data/sig/ideal_postcodes/types/api_key.rbs +11 -0
- data/sig/ideal_postcodes/types/api_key_automated_topup.rbs +9 -0
- data/sig/ideal_postcodes/types/api_key_current_purchase.rbs +11 -0
- data/sig/ideal_postcodes/types/api_key_daily_limit.rbs +10 -0
- data/sig/ideal_postcodes/types/api_key_datasets.rbs +46 -0
- data/sig/ideal_postcodes/types/api_key_details.rbs +22 -0
- data/sig/ideal_postcodes/types/api_key_individual_limit.rbs +9 -0
- data/sig/ideal_postcodes/types/api_key_monthly_limit.rbs +10 -0
- data/sig/ideal_postcodes/types/api_key_notifications.rbs +13 -0
- data/sig/ideal_postcodes/types/autocomplete_result.rbs +15 -0
- data/sig/ideal_postcodes/types/available_context.rbs +13 -0
- data/sig/ideal_postcodes/types/ban_address.rbs +46 -0
- data/sig/ideal_postcodes/types/bev_address.rbs +67 -0
- data/sig/ideal_postcodes/types/cannar_address.rbs +62 -0
- data/sig/ideal_postcodes/types/carrier.rbs +14 -0
- data/sig/ideal_postcodes/types/config.rbs +14 -0
- data/sig/ideal_postcodes/types/configs_result.rbs +9 -0
- data/sig/ideal_postcodes/types/deleted_config.rbs +9 -0
- data/sig/ideal_postcodes/types/deleted_licensee.rbs +9 -0
- data/sig/ideal_postcodes/types/ecad_address.rbs +84 -0
- data/sig/ideal_postcodes/types/ecaf_address.rbs +45 -0
- data/sig/ideal_postcodes/types/email.rbs +16 -0
- data/sig/ideal_postcodes/types/fodbosa_address.rbs +43 -0
- data/sig/ideal_postcodes/types/gbr_cleanse_match.rbs +25 -0
- data/sig/ideal_postcodes/types/gbr_cleanse_no_match.rbs +28 -0
- data/sig/ideal_postcodes/types/geonames_place.rbs +42 -0
- data/sig/ideal_postcodes/types/gnaf_address.rbs +104 -0
- data/sig/ideal_postcodes/types/here_address.rbs +37 -0
- data/sig/ideal_postcodes/types/invalid_phone_number.rbs +17 -0
- data/sig/ideal_postcodes/types/kadaster_address.rbs +98 -0
- data/sig/ideal_postcodes/types/kartverket_address.rbs +78 -0
- data/sig/ideal_postcodes/types/key_usage_day.rbs +10 -0
- data/sig/ideal_postcodes/types/key_usage_result.rbs +13 -0
- data/sig/ideal_postcodes/types/licensee.rbs +17 -0
- data/sig/ideal_postcodes/types/licensee_daily_usage.rbs +12 -0
- data/sig/ideal_postcodes/types/licensees_result.rbs +11 -0
- data/sig/ideal_postcodes/types/mois_address.rbs +97 -0
- data/sig/ideal_postcodes/types/mr_address.rbs +27 -0
- data/sig/ideal_postcodes/types/native_record.rbs +34 -0
- data/sig/ideal_postcodes/types/nyb_address.rbs +27 -0
- data/sig/ideal_postcodes/types/paf_address.rbs +27 -0
- data/sig/ideal_postcodes/types/pafa_address.rbs +27 -0
- data/sig/ideal_postcodes/types/pafw_address.rbs +27 -0
- data/sig/ideal_postcodes/types/phone_number.rbs +17 -0
- data/sig/ideal_postcodes/types/place.rbs +29 -0
- data/sig/ideal_postcodes/types/place_result.rbs +15 -0
- data/sig/ideal_postcodes/types/place_suggestion.rbs +12 -0
- data/sig/ideal_postcodes/types/sdfi_address.rbs +108 -0
- data/sig/ideal_postcodes/types/swt_address.rbs +57 -0
- data/sig/ideal_postcodes/types/uk_address_suggestion.rbs +13 -0
- data/sig/ideal_postcodes/types/uk_address_suggestion_urls.rbs +10 -0
- data/sig/ideal_postcodes/types/unknown_email.rbs +16 -0
- data/sig/ideal_postcodes/types/upujp_address.rbs +156 -0
- data/sig/ideal_postcodes/types/usps_address.rbs +63 -0
- metadata +186 -175
- data/.travis.yml +0 -9
- data/Gemfile +0 -2
- data/Rakefile +0 -15
- data/ideal-postcodes-ruby.gemspec +0 -25
- data/lib/idealpostcodes/address.rb +0 -31
- data/lib/idealpostcodes/errors.rb +0 -33
- data/lib/idealpostcodes/key.rb +0 -13
- data/lib/idealpostcodes/postcode.rb +0 -22
- data/lib/idealpostcodes/util.rb +0 -29
- data/lib/idealpostcodes/version.rb +0 -3
- data/lib/idealpostcodes.rb +0 -112
- data/spec/addresses_spec.rb +0 -68
- data/spec/idealpostcodes_spec.rb +0 -56
- data/spec/keys_spec.rb +0 -25
- data/spec/postcodes_spec.rb +0 -66
- data/spec/spec_helper.rb +0 -68
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_raises_an_exception_if_invalid_key.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_raises_an_exception_if_limit_breached.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_raises_an_exception_if_no_lookups_remaining.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_returns_an_address_for_a_valid_UDPRN.yml +0 -74
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_returns_nil_for_an_invalid_UDPRN.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_is_sensitive_to_limit.yml +0 -81
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_is_sensitive_to_page.yml +0 -369
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_raises_an_exception_if_invalid_key.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_raises_an_exception_if_limit_breached.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_raises_an_exception_if_no_lookups_remaining.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_returns_results_in_a_SearchResult_object.yml +0 -273
- data/spec/vcr_cassettes/IdealPostcodes_Key_lookup_details_returns_key_details.yml +0 -62
- data/spec/vcr_cassettes/IdealPostcodes_Key_lookup_returns_the_availability_status_of_a_key_false_key_.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_Key_lookup_returns_the_availability_status_of_a_key_true_key_.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_find_by_location_is_sensitive_to_limit_parameter.yml +0 -52
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_find_by_location_is_sensitive_to_radius_parament.yml +0 -133
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_find_by_location_returns_an_array_of_postcodes_and_locations.yml +0 -84
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_find_by_location_returns_an_empty_array_if_no_results_are_found.yml +0 -43
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_raises_an_exception_if_invalid_key.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_raises_an_exception_if_key_has_run_out_of_balance.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_raises_an_exception_if_limit_has_been_reached.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_returns_a_list_of_addresses_for_a_postcode.yml +0 -268
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_returns_an_empty_array_if_postcode_does_not_exist.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_key_available_returns_false_if_key_is_unavailable.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_key_available_returns_true_if_key_is_available.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_key_details_raises_an_exception_if_no_secret_is_provided.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_key_details_returns_key_information.yml +0 -62
- data/spec/vcr_cassettes/IdealPostcodes_request_generates_a_HTTP_request.yml +0 -268
- data/spec/vcr_cassettes/IdealPostcodes_request_raises_authentication_error_if_invalid_key_is_provided.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_request_raises_limit_reached_error_if_a_limit_has_been_breached.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_request_raises_token_exhausted_error_if_key_balance_is_depleted.yml +0 -42
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
4
|
+
|
|
5
|
+
module IdealPostcodes
|
|
6
|
+
module Types
|
|
7
|
+
# Netherlands Kadaster Address
|
|
8
|
+
#
|
|
9
|
+
# A Netherlands address as recorded in the Kadaster BAG (Basisregistratie Adressen en Gebouwen),
|
|
10
|
+
# the Dutch national register of addresses and buildings.
|
|
11
|
+
#
|
|
12
|
+
# Fields are grouped by the BAG object they originate from: the verblijfsobject (unprefixed) and
|
|
13
|
+
# the related `nummeraanduidingen_`, `pand_`, `openbare_ruimte_` and `woonplaats_` objects.
|
|
14
|
+
class KadasterAddress < Model
|
|
15
|
+
# Globally unique internally generated identifier for an address
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
def id = @hash["id"]
|
|
19
|
+
|
|
20
|
+
# Dataset the address originates from.
|
|
21
|
+
#
|
|
22
|
+
# @return [String]
|
|
23
|
+
def dataset = @hash["dataset"]
|
|
24
|
+
|
|
25
|
+
# Full country names (ISO 3166)
|
|
26
|
+
#
|
|
27
|
+
# @return [String]
|
|
28
|
+
def country = @hash["country"]
|
|
29
|
+
|
|
30
|
+
# 3 letter country code (ISO 3166-1)
|
|
31
|
+
#
|
|
32
|
+
# @return [String]
|
|
33
|
+
def country_iso = @hash["country_iso"]
|
|
34
|
+
|
|
35
|
+
# 2 letter country code (ISO 3166-1)
|
|
36
|
+
#
|
|
37
|
+
# @return [String]
|
|
38
|
+
def country_iso_2 = @hash["country_iso_2"]
|
|
39
|
+
|
|
40
|
+
# First address line: street name followed by house number.
|
|
41
|
+
#
|
|
42
|
+
# @return [String]
|
|
43
|
+
def line_1 = @hash["line_1"]
|
|
44
|
+
|
|
45
|
+
# Language represented by 2 letter ISO Code (639-1)
|
|
46
|
+
#
|
|
47
|
+
# @return [String]
|
|
48
|
+
def language = @hash["language"]
|
|
49
|
+
|
|
50
|
+
# House number, uniquely identifying the address along the specified street. Combines
|
|
51
|
+
# huisnummer, huisletter and huisnummertoevoeging.
|
|
52
|
+
#
|
|
53
|
+
# @return [String]
|
|
54
|
+
def address = @hash["address"]
|
|
55
|
+
|
|
56
|
+
# The unique identifier of a BAG verblijfsobject.
|
|
57
|
+
#
|
|
58
|
+
# @return [String]
|
|
59
|
+
def identificatie = @hash["identificatie"]
|
|
60
|
+
|
|
61
|
+
# The latitude of the address or postcode (WGS84).
|
|
62
|
+
#
|
|
63
|
+
# @return [String, Float]
|
|
64
|
+
def latitude = @hash["latitude"]
|
|
65
|
+
|
|
66
|
+
# The longitude of the address or postcode (WGS84).
|
|
67
|
+
#
|
|
68
|
+
# @return [String, Float]
|
|
69
|
+
def longitude = @hash["longitude"]
|
|
70
|
+
|
|
71
|
+
# The purpose of use of the verblijfsobject. E.g. `woonfunctie` (residential),
|
|
72
|
+
# `kantoorfunctie` (office), `winkelfunctie` (retail).
|
|
73
|
+
#
|
|
74
|
+
# @return [String]
|
|
75
|
+
def gebruiksdoel = @hash["gebruiksdoel"]
|
|
76
|
+
|
|
77
|
+
# The floor area of the verblijfsobject in square metres.
|
|
78
|
+
#
|
|
79
|
+
# @return [Integer]
|
|
80
|
+
def oppervlakte = @hash["oppervlakte"]
|
|
81
|
+
|
|
82
|
+
# Verblijfsobject status. E.g. `Verblijfsobject in gebruik` (in use).
|
|
83
|
+
#
|
|
84
|
+
# @return [String]
|
|
85
|
+
def status = @hash["status"]
|
|
86
|
+
|
|
87
|
+
# Indicates that a verblijfsobject has been included in the registry as a result of an
|
|
88
|
+
# observation, without there being a regular source document for this inclusion at the time of
|
|
89
|
+
# registration.
|
|
90
|
+
#
|
|
91
|
+
# @return [Boolean]
|
|
92
|
+
def geconstateerd = @hash["geconstateerd"]
|
|
93
|
+
|
|
94
|
+
# Date on which the verblijfsobject source document was created.
|
|
95
|
+
#
|
|
96
|
+
# @return [String]
|
|
97
|
+
def documentdatum = @hash["documentdatum"]
|
|
98
|
+
|
|
99
|
+
# The unique identifier of the verblijfsobject source document.
|
|
100
|
+
#
|
|
101
|
+
# @return [String]
|
|
102
|
+
def documentnummer = @hash["documentnummer"]
|
|
103
|
+
|
|
104
|
+
# @return [String, Integer]
|
|
105
|
+
def voorkomenidentificatie = @hash["voorkomenidentificatie"]
|
|
106
|
+
|
|
107
|
+
# The time at which a version of a verblijfsobject is valid in reality in accordance with the
|
|
108
|
+
# effective date in the source document. ISO 8601 timestamp.
|
|
109
|
+
#
|
|
110
|
+
# @return [String]
|
|
111
|
+
def begin_geldigheid = @hash["begin_geldigheid"]
|
|
112
|
+
|
|
113
|
+
# The time at which a version of a verblijfsobject is no longer valid in reality. ISO 8601
|
|
114
|
+
# timestamp.
|
|
115
|
+
#
|
|
116
|
+
# @return [String]
|
|
117
|
+
def eind_geldigheid = @hash["eind_geldigheid"]
|
|
118
|
+
|
|
119
|
+
# The time at which a version of a verblijfsobject is registered by the bronhouder. ISO 8601
|
|
120
|
+
# timestamp.
|
|
121
|
+
#
|
|
122
|
+
# @return [String]
|
|
123
|
+
def tijdstip_registratie = @hash["tijdstip_registratie"]
|
|
124
|
+
|
|
125
|
+
# The time at which a version of a verblijfsobject is no longer valid according to the
|
|
126
|
+
# bronhouder. ISO 8601 timestamp.
|
|
127
|
+
#
|
|
128
|
+
# @return [String]
|
|
129
|
+
def eind_registratie = @hash["eind_registratie"]
|
|
130
|
+
|
|
131
|
+
# The time at which a version of a verblijfsobject is registered in the Landelijke Voorziening
|
|
132
|
+
# BAG. ISO 8601 timestamp.
|
|
133
|
+
#
|
|
134
|
+
# @return [String]
|
|
135
|
+
def tijdstip_registratie_lv = @hash["tijdstip_registratie_lv"]
|
|
136
|
+
|
|
137
|
+
# The time at which a version of a verblijfsobject is no longer valid in the Landelijke
|
|
138
|
+
# Voorziening BAG. ISO 8601 timestamp.
|
|
139
|
+
#
|
|
140
|
+
# @return [String]
|
|
141
|
+
def tijdstip_eind_registratie_lv = @hash["tijdstip_eind_registratie_lv"]
|
|
142
|
+
|
|
143
|
+
# The unique identifier of a BAG nummeraanduidingen object.
|
|
144
|
+
#
|
|
145
|
+
# @return [String]
|
|
146
|
+
def nummeraanduidingen_identificatie = @hash["nummeraanduidingen_identificatie"]
|
|
147
|
+
|
|
148
|
+
# The house number assigned to a nummeraanduiding object by or on behalf of the municipal
|
|
149
|
+
# council.
|
|
150
|
+
#
|
|
151
|
+
# @return [String]
|
|
152
|
+
def nummeraanduidingen_huisnummer = @hash["nummeraanduidingen_huisnummer"]
|
|
153
|
+
|
|
154
|
+
# A further addition to a house number, or to a combination of house number and house letter,
|
|
155
|
+
# granted by or on behalf of the municipal council with regard to a nummeraanduiding object.
|
|
156
|
+
#
|
|
157
|
+
# @return [String]
|
|
158
|
+
def nummeraanduidingen_huisnummertoevoeging = @hash["nummeraanduidingen_huisnummertoevoeging"]
|
|
159
|
+
|
|
160
|
+
# An addition to a house number in the form of an alphanumeric character assigned by or on
|
|
161
|
+
# behalf of the municipal council with regard to a nummeraanduiding object.
|
|
162
|
+
#
|
|
163
|
+
# @return [String]
|
|
164
|
+
def nummeraanduidingen_huisletter = @hash["nummeraanduidingen_huisletter"]
|
|
165
|
+
|
|
166
|
+
# A code determined by PostNL associated with a specific combination of a street name and a
|
|
167
|
+
# house number. Normalised to `1234 AB`.
|
|
168
|
+
#
|
|
169
|
+
# @return [String]
|
|
170
|
+
def nummeraanduidingen_postcode = @hash["nummeraanduidingen_postcode"]
|
|
171
|
+
|
|
172
|
+
# The nature of the nummeraanduiding object. Currently always `Verblijfsobject`.
|
|
173
|
+
#
|
|
174
|
+
# @return [String]
|
|
175
|
+
def nummeraanduidingen_type_adresseerbaar_object
|
|
176
|
+
@hash["nummeraanduidingen_type_adresseerbaar_object"]
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# The status of the nummeraanduiding object. E.g. `Naamgeving uitgegeven` (name issued),
|
|
180
|
+
# `Naamgeving ingetrokken` (name withdrawn).
|
|
181
|
+
#
|
|
182
|
+
# @return [String]
|
|
183
|
+
def nummeraanduidingen_status = @hash["nummeraanduidingen_status"]
|
|
184
|
+
|
|
185
|
+
# Indicates that a nummeraanduidingen object has been included in the registry as a result of
|
|
186
|
+
# an observation, without there being a regular source document for this inclusion at the time
|
|
187
|
+
# of registration.
|
|
188
|
+
#
|
|
189
|
+
# @return [Boolean]
|
|
190
|
+
def nummeraanduidingen_geconstateerd = @hash["nummeraanduidingen_geconstateerd"]
|
|
191
|
+
|
|
192
|
+
# Date on which the nummeraanduidingen object source document was created. ISO 8601 timestamp.
|
|
193
|
+
#
|
|
194
|
+
# @return [String]
|
|
195
|
+
def nummeraanduidingen_documentdatum = @hash["nummeraanduidingen_documentdatum"]
|
|
196
|
+
|
|
197
|
+
# The unique identifier of the nummeraanduidingen object source document.
|
|
198
|
+
#
|
|
199
|
+
# @return [String]
|
|
200
|
+
def nummeraanduidingen_documentnummer = @hash["nummeraanduidingen_documentnummer"]
|
|
201
|
+
|
|
202
|
+
# @return [String, Integer]
|
|
203
|
+
def nummeraanduidingen_voorkomenidentificatie
|
|
204
|
+
@hash["nummeraanduidingen_voorkomenidentificatie"]
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# The time at which a version of a nummeraanduidingen object is valid in reality in accordance
|
|
208
|
+
# with the effective date in the source document. ISO 8601 timestamp.
|
|
209
|
+
#
|
|
210
|
+
# @return [String]
|
|
211
|
+
def nummeraanduidingen_begin_geldigheid = @hash["nummeraanduidingen_begin_geldigheid"]
|
|
212
|
+
|
|
213
|
+
# The time at which a version of a nummeraanduidingen object is no longer valid in reality.
|
|
214
|
+
# ISO 8601 timestamp.
|
|
215
|
+
#
|
|
216
|
+
# @return [String]
|
|
217
|
+
def nummeraanduidingen_eind_geldigheid = @hash["nummeraanduidingen_eind_geldigheid"]
|
|
218
|
+
|
|
219
|
+
# The time at which a version of a nummeraanduidingen object is registered by the bronhouder.
|
|
220
|
+
# ISO 8601 timestamp.
|
|
221
|
+
#
|
|
222
|
+
# @return [String]
|
|
223
|
+
def nummeraanduidingen_tijdstip_registratie = @hash["nummeraanduidingen_tijdstip_registratie"]
|
|
224
|
+
|
|
225
|
+
# The time at which a version of a nummeraanduidingen object is no longer valid according to
|
|
226
|
+
# the bronhouder. ISO 8601 timestamp.
|
|
227
|
+
#
|
|
228
|
+
# @return [String]
|
|
229
|
+
def nummeraanduidingen_eind_registratie = @hash["nummeraanduidingen_eind_registratie"]
|
|
230
|
+
|
|
231
|
+
# The time at which a version of a nummeraanduidingen object is registered in the Landelijke
|
|
232
|
+
# Voorziening BAG. ISO 8601 timestamp.
|
|
233
|
+
#
|
|
234
|
+
# @return [String]
|
|
235
|
+
def nummeraanduidingen_tijdstip_registratie_lv
|
|
236
|
+
@hash["nummeraanduidingen_tijdstip_registratie_lv"]
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# The time at which a version of a nummeraanduidingen object is no longer valid in the
|
|
240
|
+
# Landelijke Voorziening BAG. ISO 8601 timestamp.
|
|
241
|
+
#
|
|
242
|
+
# @return [String]
|
|
243
|
+
def nummeraanduidingen_tijdstip_eind_registratie_lv
|
|
244
|
+
@hash["nummeraanduidingen_tijdstip_eind_registratie_lv"]
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
# The unique identifier of a BAG pand object.
|
|
248
|
+
#
|
|
249
|
+
# @return [String]
|
|
250
|
+
def pand_identificatie = @hash["pand_identificatie"]
|
|
251
|
+
|
|
252
|
+
# @return [String, Integer]
|
|
253
|
+
def pand_oorspronkelijk_bouwjaar = @hash["pand_oorspronkelijk_bouwjaar"]
|
|
254
|
+
|
|
255
|
+
# The status of the pand object. E.g. `Pand in gebruik` (building in use).
|
|
256
|
+
#
|
|
257
|
+
# @return [String]
|
|
258
|
+
def pand_status = @hash["pand_status"]
|
|
259
|
+
|
|
260
|
+
# Indicates that a pand object has been included in the registry as a result of an
|
|
261
|
+
# observation, without there being a regular source document for this inclusion at the time of
|
|
262
|
+
# registration.
|
|
263
|
+
#
|
|
264
|
+
# @return [Boolean]
|
|
265
|
+
def pand_geconstateerd = @hash["pand_geconstateerd"]
|
|
266
|
+
|
|
267
|
+
# Date on which the pand object source document was created. ISO 8601 timestamp.
|
|
268
|
+
#
|
|
269
|
+
# @return [String]
|
|
270
|
+
def pand_documentdatum = @hash["pand_documentdatum"]
|
|
271
|
+
|
|
272
|
+
# The unique identifier of the pand object source document.
|
|
273
|
+
#
|
|
274
|
+
# @return [String]
|
|
275
|
+
def pand_documentnummer = @hash["pand_documentnummer"]
|
|
276
|
+
|
|
277
|
+
# @return [String, Integer]
|
|
278
|
+
def pand_voorkomenidentificatie = @hash["pand_voorkomenidentificatie"]
|
|
279
|
+
|
|
280
|
+
# The time at which a version of a pand object is valid in reality in accordance with the
|
|
281
|
+
# effective date in the source document. ISO 8601 timestamp.
|
|
282
|
+
#
|
|
283
|
+
# @return [String]
|
|
284
|
+
def pand_begin_geldigheid = @hash["pand_begin_geldigheid"]
|
|
285
|
+
|
|
286
|
+
# The time at which a version of a pand object is no longer valid in reality. ISO 8601
|
|
287
|
+
# timestamp.
|
|
288
|
+
#
|
|
289
|
+
# @return [String]
|
|
290
|
+
def pand_eind_geldigheid = @hash["pand_eind_geldigheid"]
|
|
291
|
+
|
|
292
|
+
# The time at which a version of a pand object is registered by the bronhouder. ISO 8601
|
|
293
|
+
# timestamp.
|
|
294
|
+
#
|
|
295
|
+
# @return [String]
|
|
296
|
+
def pand_tijdstip_registratie = @hash["pand_tijdstip_registratie"]
|
|
297
|
+
|
|
298
|
+
# The time at which a version of a pand object is no longer valid according to the bronhouder.
|
|
299
|
+
# ISO 8601 timestamp.
|
|
300
|
+
#
|
|
301
|
+
# @return [String]
|
|
302
|
+
def pand_eind_registratie = @hash["pand_eind_registratie"]
|
|
303
|
+
|
|
304
|
+
# The time at which a version of a pand object is registered in the Landelijke Voorziening
|
|
305
|
+
# BAG. ISO 8601 timestamp.
|
|
306
|
+
#
|
|
307
|
+
# @return [String]
|
|
308
|
+
def pand_tijdstip_registratie_lv = @hash["pand_tijdstip_registratie_lv"]
|
|
309
|
+
|
|
310
|
+
# The time at which a version of a pand object is no longer valid in the Landelijke
|
|
311
|
+
# Voorziening BAG. ISO 8601 timestamp.
|
|
312
|
+
#
|
|
313
|
+
# @return [String]
|
|
314
|
+
def pand_tijdstip_eind_registratie_lv = @hash["pand_tijdstip_eind_registratie_lv"]
|
|
315
|
+
|
|
316
|
+
# The unique identifier of a BAG openbare ruimte object.
|
|
317
|
+
#
|
|
318
|
+
# @return [String]
|
|
319
|
+
def openbare_ruimte_identificatie = @hash["openbare_ruimte_identificatie"]
|
|
320
|
+
|
|
321
|
+
# The name assigned to an openbare ruimte object by or on behalf of the municipal council.
|
|
322
|
+
# Usually the street name.
|
|
323
|
+
#
|
|
324
|
+
# @return [String]
|
|
325
|
+
def openbare_ruimte_naam = @hash["openbare_ruimte_naam"]
|
|
326
|
+
|
|
327
|
+
# The nature of the openbare ruimte object. E.g. `Weg` (road), `Water`, `Spoorbaan` (railway).
|
|
328
|
+
#
|
|
329
|
+
# @return [String]
|
|
330
|
+
def openbare_ruimte_type = @hash["openbare_ruimte_type"]
|
|
331
|
+
|
|
332
|
+
# The status of the openbare ruimte object. E.g. `Naamgeving uitgegeven` (name issued).
|
|
333
|
+
#
|
|
334
|
+
# @return [String]
|
|
335
|
+
def openbare_ruimte_status = @hash["openbare_ruimte_status"]
|
|
336
|
+
|
|
337
|
+
# Indicates that an openbare ruimte object has been included in the registry as a result of an
|
|
338
|
+
# observation, without there being a regular source document for this inclusion at the time of
|
|
339
|
+
# registration.
|
|
340
|
+
#
|
|
341
|
+
# @return [Boolean]
|
|
342
|
+
def openbare_ruimte_geconstateerd = @hash["openbare_ruimte_geconstateerd"]
|
|
343
|
+
|
|
344
|
+
# Date on which the openbare ruimte object source document was created. ISO 8601 timestamp.
|
|
345
|
+
#
|
|
346
|
+
# @return [String]
|
|
347
|
+
def openbare_ruimte_documentdatum = @hash["openbare_ruimte_documentdatum"]
|
|
348
|
+
|
|
349
|
+
# The unique identifier of the openbare ruimte object source document.
|
|
350
|
+
#
|
|
351
|
+
# @return [String]
|
|
352
|
+
def openbare_ruimte_documentnummer = @hash["openbare_ruimte_documentnummer"]
|
|
353
|
+
|
|
354
|
+
# @return [String, Integer]
|
|
355
|
+
def openbare_ruimte_voorkomenidentificatie = @hash["openbare_ruimte_voorkomenidentificatie"]
|
|
356
|
+
|
|
357
|
+
# The time at which a version of an openbare ruimte object is valid in reality in accordance
|
|
358
|
+
# with the effective date in the source document. ISO 8601 timestamp.
|
|
359
|
+
#
|
|
360
|
+
# @return [String]
|
|
361
|
+
def openbare_ruimte_begin_geldigheid = @hash["openbare_ruimte_begin_geldigheid"]
|
|
362
|
+
|
|
363
|
+
# The time at which a version of an openbare ruimte object is no longer valid in reality. ISO
|
|
364
|
+
# 8601 timestamp.
|
|
365
|
+
#
|
|
366
|
+
# @return [String]
|
|
367
|
+
def openbare_ruimte_eind_geldigheid = @hash["openbare_ruimte_eind_geldigheid"]
|
|
368
|
+
|
|
369
|
+
# The time at which a version of an openbare ruimte object is registered by the bronhouder.
|
|
370
|
+
# ISO 8601 timestamp.
|
|
371
|
+
#
|
|
372
|
+
# @return [String]
|
|
373
|
+
def openbare_ruimte_tijdstip_registratie = @hash["openbare_ruimte_tijdstip_registratie"]
|
|
374
|
+
|
|
375
|
+
# The time at which a version of an openbare ruimte object is no longer valid according to the
|
|
376
|
+
# bronhouder. ISO 8601 timestamp.
|
|
377
|
+
#
|
|
378
|
+
# @return [String]
|
|
379
|
+
def openbare_ruimte_eind_registratie = @hash["openbare_ruimte_eind_registratie"]
|
|
380
|
+
|
|
381
|
+
# The time at which a version of an openbare ruimte object is registered in the Landelijke
|
|
382
|
+
# Voorziening BAG. ISO 8601 timestamp.
|
|
383
|
+
#
|
|
384
|
+
# @return [String]
|
|
385
|
+
def openbare_ruimte_tijdstip_registratie_lv = @hash["openbare_ruimte_tijdstip_registratie_lv"]
|
|
386
|
+
|
|
387
|
+
# The time at which a version of an openbare ruimte object is no longer valid in the
|
|
388
|
+
# Landelijke Voorziening BAG. ISO 8601 timestamp.
|
|
389
|
+
#
|
|
390
|
+
# @return [String]
|
|
391
|
+
def openbare_ruimte_tijdstip_eind_registratie_lv
|
|
392
|
+
@hash["openbare_ruimte_tijdstip_eind_registratie_lv"]
|
|
393
|
+
end
|
|
394
|
+
|
|
395
|
+
# An abbreviated name assigned to an openbare ruimte object if its name is longer than 24
|
|
396
|
+
# characters.
|
|
397
|
+
#
|
|
398
|
+
# @return [String]
|
|
399
|
+
def openbare_ruimte_verkorte_naam = @hash["openbare_ruimte_verkorte_naam"]
|
|
400
|
+
|
|
401
|
+
# The unique identifier of a BAG woonplaats object.
|
|
402
|
+
#
|
|
403
|
+
# @return [String]
|
|
404
|
+
def woonplaats_identificatie = @hash["woonplaats_identificatie"]
|
|
405
|
+
|
|
406
|
+
# The name assigned to a woonplaats object by or on behalf of the municipal council. The town
|
|
407
|
+
# or city name.
|
|
408
|
+
#
|
|
409
|
+
# @return [String]
|
|
410
|
+
def woonplaats_naam = @hash["woonplaats_naam"]
|
|
411
|
+
|
|
412
|
+
# The status of the woonplaats object. E.g. `Woonplaats aangewezen` (place of residence
|
|
413
|
+
# designated).
|
|
414
|
+
#
|
|
415
|
+
# @return [String]
|
|
416
|
+
def woonplaats_status = @hash["woonplaats_status"]
|
|
417
|
+
|
|
418
|
+
# Indicates that a woonplaats object has been included in the registry as a result of an
|
|
419
|
+
# observation, without there being a regular source document for this inclusion at the time of
|
|
420
|
+
# registration.
|
|
421
|
+
#
|
|
422
|
+
# @return [Boolean]
|
|
423
|
+
def woonplaats_geconstateerd = @hash["woonplaats_geconstateerd"]
|
|
424
|
+
|
|
425
|
+
# Date on which the woonplaats object source document was created. ISO 8601 timestamp.
|
|
426
|
+
#
|
|
427
|
+
# @return [String]
|
|
428
|
+
def woonplaats_documentdatum = @hash["woonplaats_documentdatum"]
|
|
429
|
+
|
|
430
|
+
# The unique identifier of the woonplaats object source document.
|
|
431
|
+
#
|
|
432
|
+
# @return [String]
|
|
433
|
+
def woonplaats_documentnummer = @hash["woonplaats_documentnummer"]
|
|
434
|
+
|
|
435
|
+
# @return [String, Integer]
|
|
436
|
+
def woonplaats_voorkomenidentificatie = @hash["woonplaats_voorkomenidentificatie"]
|
|
437
|
+
|
|
438
|
+
# The time at which a version of a woonplaats object is valid in reality in accordance with
|
|
439
|
+
# the effective date in the source document. ISO 8601 timestamp.
|
|
440
|
+
#
|
|
441
|
+
# @return [String]
|
|
442
|
+
def woonplaats_begin_geldigheid = @hash["woonplaats_begin_geldigheid"]
|
|
443
|
+
|
|
444
|
+
# The time at which a version of a woonplaats object is no longer valid in reality. ISO 8601
|
|
445
|
+
# timestamp.
|
|
446
|
+
#
|
|
447
|
+
# @return [String]
|
|
448
|
+
def woonplaats_eind_geldigheid = @hash["woonplaats_eind_geldigheid"]
|
|
449
|
+
|
|
450
|
+
# The time at which a version of a woonplaats object is registered by the bronhouder. ISO 8601
|
|
451
|
+
# timestamp.
|
|
452
|
+
#
|
|
453
|
+
# @return [String]
|
|
454
|
+
def woonplaats_tijdstip_registratie = @hash["woonplaats_tijdstip_registratie"]
|
|
455
|
+
|
|
456
|
+
# The time at which a version of a woonplaats object is no longer valid according to the
|
|
457
|
+
# bronhouder. ISO 8601 timestamp.
|
|
458
|
+
#
|
|
459
|
+
# @return [String]
|
|
460
|
+
def woonplaats_eind_registratie = @hash["woonplaats_eind_registratie"]
|
|
461
|
+
|
|
462
|
+
# The time at which a version of a woonplaats object is registered in the Landelijke
|
|
463
|
+
# Voorziening BAG. ISO 8601 timestamp.
|
|
464
|
+
#
|
|
465
|
+
# @return [String]
|
|
466
|
+
def woonplaats_tijdstip_registratie_lv = @hash["woonplaats_tijdstip_registratie_lv"]
|
|
467
|
+
|
|
468
|
+
# The time at which a version of a woonplaats object is no longer valid in the Landelijke
|
|
469
|
+
# Voorziening BAG. ISO 8601 timestamp.
|
|
470
|
+
#
|
|
471
|
+
# @return [String]
|
|
472
|
+
def woonplaats_tijdstip_eind_registratie_lv = @hash["woonplaats_tijdstip_eind_registratie_lv"]
|
|
473
|
+
|
|
474
|
+
# Province the address falls in, derived from the postcode.
|
|
475
|
+
#
|
|
476
|
+
# @return [String]
|
|
477
|
+
def provincie = @hash["provincie"]
|
|
478
|
+
end
|
|
479
|
+
end
|
|
480
|
+
end
|