internetdata 2.12.0 → 2.14.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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -2
  3. data/lib/internetdata/api/database_v2_api.rb +1 -1
  4. data/lib/internetdata/api_client.rb +1 -1
  5. data/lib/internetdata/api_error.rb +1 -1
  6. data/lib/internetdata/api_model_base.rb +1 -1
  7. data/lib/internetdata/asn_result.rb +68 -1
  8. data/lib/internetdata/configuration.rb +1 -1
  9. data/lib/internetdata/database_api.rb +3 -3
  10. data/lib/internetdata/domain_result.rb +12 -0
  11. data/lib/internetdata/models/abuse_contact.rb +1 -1
  12. data/lib/internetdata/models/asn.rb +1 -1
  13. data/lib/internetdata/models/asn_hosted_domains.rb +178 -0
  14. data/lib/internetdata/models/asn_lookup_response.rb +110 -5
  15. data/lib/internetdata/models/asn_prefix.rb +1 -1
  16. data/lib/internetdata/models/batch_lookup_error.rb +1 -1
  17. data/lib/internetdata/models/bit_torrent_detail.rb +1 -1
  18. data/lib/internetdata/models/carrier_detail.rb +1 -1
  19. data/lib/internetdata/models/class_detail.rb +1 -1
  20. data/lib/internetdata/models/client_registration.rb +1 -1
  21. data/lib/internetdata/models/company.rb +1 -1
  22. data/lib/internetdata/models/database.rb +2 -2
  23. data/lib/internetdata/models/database_checksums_response.rb +1 -1
  24. data/lib/internetdata/models/database_format.rb +1 -1
  25. data/lib/internetdata/models/database_list.rb +1 -1
  26. data/lib/internetdata/models/database_metadata.rb +1 -1
  27. data/lib/internetdata/models/database_metadata_column.rb +1 -1
  28. data/lib/internetdata/models/database_version.rb +2 -2
  29. data/lib/internetdata/models/db_checksums.rb +1 -1
  30. data/lib/internetdata/models/device_authorization.rb +1 -1
  31. data/lib/internetdata/models/disposable_detail.rb +1 -1
  32. data/lib/internetdata/models/dns_address_record.rb +1 -1
  33. data/lib/internetdata/models/dns_cname_record.rb +1 -1
  34. data/lib/internetdata/models/dns_mx_record.rb +1 -1
  35. data/lib/internetdata/models/dns_ns_record.rb +1 -1
  36. data/lib/internetdata/models/dns_resolver_detail.rb +1 -1
  37. data/lib/internetdata/models/domain_dns.rb +1 -1
  38. data/lib/internetdata/models/domain_ip_range.rb +1 -1
  39. data/lib/internetdata/models/domain_ip_ranges.rb +1 -1
  40. data/lib/internetdata/models/domain_lookup_response.rb +15 -5
  41. data/lib/internetdata/models/download.rb +3 -3
  42. data/lib/internetdata/models/download_list.rb +1 -1
  43. data/lib/internetdata/models/entitlement.rb +1 -1
  44. data/lib/internetdata/models/entitlement_apikey.rb +2 -2
  45. data/lib/internetdata/models/entitlement_plan.rb +31 -4
  46. data/lib/internetdata/models/entitlement_usage.rb +2 -2
  47. data/lib/internetdata/models/error_envelope.rb +1 -1
  48. data/lib/internetdata/models/hosted_domains.rb +1 -1
  49. data/lib/internetdata/models/location.rb +1 -1
  50. data/lib/internetdata/models/lookup_response.rb +15 -5
  51. data/lib/internetdata/models/oauth_metadata.rb +1 -1
  52. data/lib/internetdata/models/proxy_detail.rb +1 -1
  53. data/lib/internetdata/models/pubproxy_detail.rb +1 -1
  54. data/lib/internetdata/models/rwhois.rb +1 -1
  55. data/lib/internetdata/models/satellite_detail.rb +1 -1
  56. data/lib/internetdata/models/smtp_detail.rb +1 -1
  57. data/lib/internetdata/models/ssh_detail.rb +1 -1
  58. data/lib/internetdata/models/standing.rb +1 -1
  59. data/lib/internetdata/models/token_response.rb +1 -1
  60. data/lib/internetdata/models/web_detail.rb +1 -1
  61. data/lib/internetdata/models/whois.rb +1 -1
  62. data/lib/internetdata/result.rb +12 -0
  63. data/lib/internetdata/transport.rb +2 -1
  64. data/lib/internetdata/version.rb +1 -1
  65. metadata +2 -1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module InternetData
17
- # One database FAMILY, with your organization's license beside it. A license covers the family, while a download names a specific version, so the IDs passed to `download` and `checksum` come from `versions`.
17
+ # One database family, with your organization's license beside it. A license covers the family, while a download names a specific version, so the IDs passed to `download` and `checksum` come from `versions`.
18
18
  class Database < ApiModelBase
19
19
  # The family, e.g. `vpn_ip`. What a license is held against.
20
20
  attr_accessor :base
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -22,7 +22,7 @@ module InternetData
22
22
 
23
23
  attr_accessor :summary
24
24
 
25
- # The formats this version is BUILT in. Asking for another is a 400, not a gap - the `_provider` catalogs are keyed by provider ID, so no MMDB exists for them.
25
+ # The formats this version is built in. Asking for another is a 400, not a gap - the `_provider` catalogs are keyed by provider ID, so no MMDB exists for them.
26
26
  attr_accessor :formats
27
27
 
28
28
  # The formats an evaluation sample is published in, if any.
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -50,6 +50,9 @@ module InternetData
50
50
  # On every answer to a key on the free plan, and on no other: `false` while the day's trial of every field lasts, `true` once the answer has Unlimited's fields.
51
51
  attr_accessor :trial_expired
52
52
 
53
+ # On every answer to a key on a paid plan, and on no other: `false` while the answer has every field, `true` once its organization's overage cap is reached and the answer has Unlimited's. Lookups answered past the cap are not billed; raising or removing the cap in Billing turns it `false` again.
54
+ attr_accessor :cap_reached
55
+
53
56
  # Attribute mapping from ruby-style variable name to JSON key.
54
57
  def self.attribute_map
55
58
  {
@@ -64,7 +67,8 @@ module InternetData
64
67
  :'dns' => :'dns',
65
68
  :'ip_ranges' => :'ip_ranges',
66
69
  :'disposable' => :'disposable',
67
- :'trial_expired' => :'trial_expired'
70
+ :'trial_expired' => :'trial_expired',
71
+ :'cap_reached' => :'cap_reached'
68
72
  }
69
73
  end
70
74
 
@@ -92,7 +96,8 @@ module InternetData
92
96
  :'dns' => :'DomainDns',
93
97
  :'ip_ranges' => :'DomainIpRanges',
94
98
  :'disposable' => :'DisposableDetail',
95
- :'trial_expired' => :'Boolean'
99
+ :'trial_expired' => :'Boolean',
100
+ :'cap_reached' => :'Boolean'
96
101
  }
97
102
  end
98
103
 
@@ -179,6 +184,10 @@ module InternetData
179
184
  if attributes.key?(:'trial_expired')
180
185
  self.trial_expired = attributes[:'trial_expired']
181
186
  end
187
+
188
+ if attributes.key?(:'cap_reached')
189
+ self.cap_reached = attributes[:'cap_reached']
190
+ end
182
191
  end
183
192
 
184
193
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -317,7 +326,8 @@ module InternetData
317
326
  dns == o.dns &&
318
327
  ip_ranges == o.ip_ranges &&
319
328
  disposable == o.disposable &&
320
- trial_expired == o.trial_expired
329
+ trial_expired == o.trial_expired &&
330
+ cap_reached == o.cap_reached
321
331
  end
322
332
 
323
333
  # @see the `==` method
@@ -329,7 +339,7 @@ module InternetData
329
339
  # Calculates hash code according to all attributes.
330
340
  # @return [Integer] Hash code
331
341
  def hash
332
- [domain, is_registered, is_disposable, has_a, has_aaaa, has_mx, has_ns, has_cname, dns, ip_ranges, disposable, trial_expired].hash
342
+ [domain, is_registered, is_disposable, has_a, has_aaaa, has_mx, has_ns, has_cname, dns, ip_ranges, disposable, trial_expired, cap_reached].hash
333
343
  end
334
344
 
335
345
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module InternetData
17
- # One download ATTEMPT, refusals included.
17
+ # One download attempt, refusals included.
18
18
  class Download < ApiModelBase
19
19
  attr_accessor :dataset_id
20
20
 
@@ -28,7 +28,7 @@ module InternetData
28
28
  # A download of an Open database.
29
29
  attr_accessor :open
30
30
 
31
- # Object size at redirect time, NOT bytes delivered: the transfer is a presigned redirect straight to object storage, so we never observe how much of it was taken.
31
+ # Object size at redirect time, not bytes delivered: the transfer is a presigned redirect straight to object storage, so we never observe how much of it was taken.
32
32
  attr_accessor :bytes
33
33
 
34
34
  attr_accessor :http_status
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -21,7 +21,7 @@ module InternetData
21
21
  # Null for a key with no end date, which is the normal case.
22
22
  attr_accessor :expires
23
23
 
24
- # The source addresses this key may be used from. EMPTY means unrestricted, never \"deny all\".
24
+ # The source addresses this key may be used from. Empty means unrestricted, never \"deny all\".
25
25
  attr_accessor :allowed_cidrs
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -15,10 +15,13 @@ require 'time'
15
15
 
16
16
  module InternetData
17
17
  class EntitlementPlan < ApiModelBase
18
- # The plan the organization is on: `free` for the free plan, Unlimited, or a paid plan's key. On `free`, usage counts the day's lookups answered with every field, its daily trial.
18
+ # The plan the organization is on, as an identifier that is never renamed or reused: `free` for the free plan, or a paid plan's key. Compare against it and show `name`. On `free`, usage counts the day's lookups answered with every field, its daily trial.
19
19
  attr_accessor :key
20
20
 
21
- # The field tier, which decides how much of a lookup answer comes back; `free` is the free plan's. What each tier includes is documented on the lookup endpoint rather than repeated here, so there is one place it can be wrong.
21
+ # The plan's name, as the site and console show it: `Unlimited` for the free plan. Show this rather than a name built from `key`: a plan's name can change, and its key never does.
22
+ attr_accessor :name
23
+
24
+ # The field tier, which decides how much of a lookup answer comes back; `free` is the free plan's. This list never gains a value: a new plan reports one of these. What each tier includes is documented on the lookup endpoint rather than repeated here, so there is one place it can be wrong.
22
25
  attr_accessor :tier
23
26
 
24
27
  class EnumAttributeValidator
@@ -47,6 +50,7 @@ module InternetData
47
50
  def self.attribute_map
48
51
  {
49
52
  :'key' => :'key',
53
+ :'name' => :'name',
50
54
  :'tier' => :'tier'
51
55
  }
52
56
  end
@@ -65,6 +69,7 @@ module InternetData
65
69
  def self.openapi_types
66
70
  {
67
71
  :'key' => :'String',
72
+ :'name' => :'String',
68
73
  :'tier' => :'String'
69
74
  }
70
75
  end
@@ -97,6 +102,12 @@ module InternetData
97
102
  self.key = nil
98
103
  end
99
104
 
105
+ if attributes.key?(:'name')
106
+ self.name = attributes[:'name']
107
+ else
108
+ self.name = nil
109
+ end
110
+
100
111
  if attributes.key?(:'tier')
101
112
  self.tier = attributes[:'tier']
102
113
  else
@@ -113,6 +124,10 @@ module InternetData
113
124
  invalid_properties.push('invalid value for "key", key cannot be nil.')
114
125
  end
115
126
 
127
+ if @name.nil?
128
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
129
+ end
130
+
116
131
  if @tier.nil?
117
132
  invalid_properties.push('invalid value for "tier", tier cannot be nil.')
118
133
  end
@@ -125,6 +140,7 @@ module InternetData
125
140
  def valid?
126
141
  warn '[DEPRECATED] the `valid?` method is obsolete'
127
142
  return false if @key.nil?
143
+ return false if @name.nil?
128
144
  return false if @tier.nil?
129
145
  tier_validator = EnumAttributeValidator.new('String', ["free", "starter", "scale", "max"])
130
146
  return false unless tier_validator.valid?(@tier)
@@ -141,6 +157,16 @@ module InternetData
141
157
  @key = key
142
158
  end
143
159
 
160
+ # Custom attribute writer method with validation
161
+ # @param [Object] name Value to be assigned
162
+ def name=(name)
163
+ if name.nil?
164
+ fail ArgumentError, 'name cannot be nil'
165
+ end
166
+
167
+ @name = name
168
+ end
169
+
144
170
  # Custom attribute writer method checking allowed values (enum).
145
171
  # @param [Object] tier Object to be assigned
146
172
  def tier=(tier)
@@ -157,6 +183,7 @@ module InternetData
157
183
  return true if self.equal?(o)
158
184
  self.class == o.class &&
159
185
  key == o.key &&
186
+ name == o.name &&
160
187
  tier == o.tier
161
188
  end
162
189
 
@@ -169,7 +196,7 @@ module InternetData
169
196
  # Calculates hash code according to all attributes.
170
197
  # @return [Integer] Hash code
171
198
  def hash
172
- [key, tier].hash
199
+ [key, name, tier].hash
173
200
  end
174
201
 
175
202
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -21,7 +21,7 @@ module InternetData
21
21
  # What the plan includes. Zero on a plan that includes none.
22
22
  attr_accessor :quota
23
23
 
24
- # Where we stop serving. NULL means never, which is the normal state of an uncapped paid plan and is not the same as zero. Above the quota and below this, requests are served and billed as overage.
24
+ # Where full answers stop: past it, a paid key is answered with Unlimited's fields and `cap_reached: true`, uncharged, until the window ends or the cap is raised. `null` means never, which is the normal state of an uncapped paid plan and is not the same as zero. Above the quota and below this, requests are served and billed as overage.
25
25
  attr_accessor :hard_limit
26
26
 
27
27
  # When the current allowance period began.
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -141,6 +141,9 @@ module InternetData
141
141
  # On every answer to a key on the free plan, and on no other: `false` while the day's trial of every field lasts, `true` once the answer has Unlimited's fields.
142
142
  attr_accessor :trial_expired
143
143
 
144
+ # On every answer to a key on a paid plan, and on no other: `false` while the answer has every field, `true` once its organization's overage cap is reached and the answer has Unlimited's. Lookups answered past the cap are not billed; raising or removing the cap in Billing turns it `false` again.
145
+ attr_accessor :cap_reached
146
+
144
147
  # Attribute mapping from ruby-style variable name to JSON key.
145
148
  def self.attribute_map
146
149
  {
@@ -187,7 +190,8 @@ module InternetData
187
190
  :'whois' => :'whois',
188
191
  :'rwhois' => :'rwhois',
189
192
  :'hosted_domains' => :'hosted_domains',
190
- :'trial_expired' => :'trial_expired'
193
+ :'trial_expired' => :'trial_expired',
194
+ :'cap_reached' => :'cap_reached'
191
195
  }
192
196
  end
193
197
 
@@ -247,7 +251,8 @@ module InternetData
247
251
  :'whois' => :'Whois',
248
252
  :'rwhois' => :'Rwhois',
249
253
  :'hosted_domains' => :'HostedDomains',
250
- :'trial_expired' => :'Boolean'
254
+ :'trial_expired' => :'Boolean',
255
+ :'cap_reached' => :'Boolean'
251
256
  }
252
257
  end
253
258
 
@@ -488,6 +493,10 @@ module InternetData
488
493
  if attributes.key?(:'trial_expired')
489
494
  self.trial_expired = attributes[:'trial_expired']
490
495
  end
496
+
497
+ if attributes.key?(:'cap_reached')
498
+ self.cap_reached = attributes[:'cap_reached']
499
+ end
491
500
  end
492
501
 
493
502
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -838,7 +847,8 @@ module InternetData
838
847
  whois == o.whois &&
839
848
  rwhois == o.rwhois &&
840
849
  hosted_domains == o.hosted_domains &&
841
- trial_expired == o.trial_expired
850
+ trial_expired == o.trial_expired &&
851
+ cap_reached == o.cap_reached
842
852
  end
843
853
 
844
854
  # @see the `==` method
@@ -850,7 +860,7 @@ module InternetData
850
860
  # Calculates hash code according to all attributes.
851
861
  # @return [Integer] Hash code
852
862
  def hash
853
- [ip, is_bogon, is_vpn, is_tor, is_relay, is_resproxy, is_dcproxy, is_mobproxy, is_pubproxy, is_hosting, is_cdn, is_anycast, is_carrier, is_satellite, is_ssh, is_smtp, is_web, is_dns_resolver, is_bittorrent, vpn, tor, relay, resproxy, dcproxy, mobproxy, pubproxy, hosting, cdn, carrier, satellite, ssh, smtp, web, dns_resolver, bittorrent, location, asn, company, hostname, abuse, whois, rwhois, hosted_domains, trial_expired].hash
863
+ [ip, is_bogon, is_vpn, is_tor, is_relay, is_resproxy, is_dcproxy, is_mobproxy, is_pubproxy, is_hosting, is_cdn, is_anycast, is_carrier, is_satellite, is_ssh, is_smtp, is_web, is_dns_resolver, is_bittorrent, vpn, tor, relay, resproxy, dcproxy, mobproxy, pubproxy, hosting, cdn, carrier, satellite, ssh, smtp, web, dns_resolver, bittorrent, location, asn, company, hostname, abuse, whois, rwhois, hosted_domains, trial_expired, cap_reached].hash
854
864
  end
855
865
 
856
866
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.14
6
+ The version of the OpenAPI document: 2026.11.17
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0