internetdata 2.13.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.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/internetdata/api/database_v2_api.rb +1 -1
- data/lib/internetdata/api_client.rb +1 -1
- data/lib/internetdata/api_error.rb +1 -1
- data/lib/internetdata/api_model_base.rb +1 -1
- data/lib/internetdata/asn_result.rb +12 -0
- data/lib/internetdata/configuration.rb +1 -1
- data/lib/internetdata/domain_result.rb +12 -0
- data/lib/internetdata/models/abuse_contact.rb +1 -1
- data/lib/internetdata/models/asn.rb +1 -1
- data/lib/internetdata/models/asn_hosted_domains.rb +1 -1
- data/lib/internetdata/models/asn_lookup_response.rb +15 -5
- data/lib/internetdata/models/asn_prefix.rb +1 -1
- data/lib/internetdata/models/batch_lookup_error.rb +1 -1
- data/lib/internetdata/models/bit_torrent_detail.rb +1 -1
- data/lib/internetdata/models/carrier_detail.rb +1 -1
- data/lib/internetdata/models/class_detail.rb +1 -1
- data/lib/internetdata/models/client_registration.rb +1 -1
- data/lib/internetdata/models/company.rb +1 -1
- data/lib/internetdata/models/database.rb +2 -2
- data/lib/internetdata/models/database_checksums_response.rb +1 -1
- data/lib/internetdata/models/database_format.rb +1 -1
- data/lib/internetdata/models/database_list.rb +1 -1
- data/lib/internetdata/models/database_metadata.rb +1 -1
- data/lib/internetdata/models/database_metadata_column.rb +1 -1
- data/lib/internetdata/models/database_version.rb +2 -2
- data/lib/internetdata/models/db_checksums.rb +1 -1
- data/lib/internetdata/models/device_authorization.rb +1 -1
- data/lib/internetdata/models/disposable_detail.rb +1 -1
- data/lib/internetdata/models/dns_address_record.rb +1 -1
- data/lib/internetdata/models/dns_cname_record.rb +1 -1
- data/lib/internetdata/models/dns_mx_record.rb +1 -1
- data/lib/internetdata/models/dns_ns_record.rb +1 -1
- data/lib/internetdata/models/dns_resolver_detail.rb +1 -1
- data/lib/internetdata/models/domain_dns.rb +1 -1
- data/lib/internetdata/models/domain_ip_range.rb +1 -1
- data/lib/internetdata/models/domain_ip_ranges.rb +1 -1
- data/lib/internetdata/models/domain_lookup_response.rb +15 -5
- data/lib/internetdata/models/download.rb +3 -3
- data/lib/internetdata/models/download_list.rb +1 -1
- data/lib/internetdata/models/entitlement.rb +1 -1
- data/lib/internetdata/models/entitlement_apikey.rb +2 -2
- data/lib/internetdata/models/entitlement_plan.rb +1 -1
- data/lib/internetdata/models/entitlement_usage.rb +2 -2
- data/lib/internetdata/models/error_envelope.rb +1 -1
- data/lib/internetdata/models/hosted_domains.rb +1 -1
- data/lib/internetdata/models/location.rb +1 -1
- data/lib/internetdata/models/lookup_response.rb +15 -5
- data/lib/internetdata/models/oauth_metadata.rb +1 -1
- data/lib/internetdata/models/proxy_detail.rb +1 -1
- data/lib/internetdata/models/pubproxy_detail.rb +1 -1
- data/lib/internetdata/models/rwhois.rb +1 -1
- data/lib/internetdata/models/satellite_detail.rb +1 -1
- data/lib/internetdata/models/smtp_detail.rb +1 -1
- data/lib/internetdata/models/ssh_detail.rb +1 -1
- data/lib/internetdata/models/standing.rb +1 -1
- data/lib/internetdata/models/token_response.rb +1 -1
- data/lib/internetdata/models/web_detail.rb +1 -1
- data/lib/internetdata/models/whois.rb +1 -1
- data/lib/internetdata/result.rb +12 -0
- data/lib/internetdata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4970702debf09c79f00493d0ff6a59b21123adc8910c20b1e8eccf84a9426d9
|
|
4
|
+
data.tar.gz: d0129f3c6b45bf11580de092a24252bcdcb6ba6a7f945c14931fe290d801afbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a222b7919d2d2a74b6827647af4647d9855c146a8a7c8114c252a1ce1da549ddb1ef0327596ddbec43a0810990d04622107dd27a8ff8d29631158c8f0e9d0d1e
|
|
7
|
+
data.tar.gz: 01e77b6e521bd326582ccd65320d68671aa1219c87f5a907f86eca85f60f90cf26ed518bfecf70d7527f1192f97191422b4bfa6baa208b4955fd790a30a2f9d0
|
data/README.md
CHANGED
|
@@ -253,7 +253,7 @@ end
|
|
|
253
253
|
|
|
254
254
|
`kind` is one of `:bad_request`, `:unauthorized`, `:forbidden`, `:rate_limited`, `:quota_exceeded`, `:server_error` or `:network`. A lookup's `message` is the API's own words; a database call's refusal also carries `rc`, the API's result code, such as `NOT_LICENSED` or `LICENSE_EXPIRED`.
|
|
255
255
|
|
|
256
|
-
Note that `:rate_limited` and `:quota_exceeded` both arrive as HTTP 429 and are not the same thing. A rate limit is when the API faces extreme traffic bursts and so retrying later works; but a
|
|
256
|
+
Note that `:rate_limited` and `:quota_exceeded` both arrive as HTTP 429 and are not the same thing. A rate limit is when the API faces extreme traffic bursts and so retrying later works; but a 429 without `Retry-After` is `:quota_exceeded`, which the library never retries. The API itself always sends `Retry-After` with a 429, so that one comes from something in between, such as a proxy; a paid key past its overage cap gets `cap_reached` instead. It waits the `Retry-After` the API sent, or its own backoff from 250 ms when that's past about 24.8 days.
|
|
257
257
|
|
|
258
258
|
### Sign in with OAuth (device flow)
|
|
259
259
|
|
|
@@ -302,13 +302,14 @@ Each redirect URI must be https on a public host name, or http on a loopback add
|
|
|
302
302
|
|
|
303
303
|
### Absent is not false
|
|
304
304
|
|
|
305
|
-
Unlimited leaves out the VPN, proxy, hosting and CDN flags and their detail, an address's city and the rest of its paid location, its Whois, RWHOIS and hosted domains, and the paid members inside each shared object, such as `abuse['phone']`. A free-plan key's answer carries `trial_expired`, true once its daily trial is spent. A field is present when your plan includes it and `nil` when it does not. `nil` means "not in your plan"; `false` means "we checked, and no".
|
|
305
|
+
Unlimited leaves out the VPN, proxy, hosting and CDN flags and their detail, an address's city and the rest of its paid location, its Whois, RWHOIS and hosted domains, and the paid members inside each shared object, such as `abuse['phone']`. A free-plan key's answer carries `trial_expired`, true once its daily trial is spent. A paid key's carries `cap_reached`, true once its organization's overage cap is reached, when the answer has Unlimited's fields and isn't billed. A field is present when your plan includes it and `nil` when it does not. `nil` means "not in your plan"; `false` means "we checked, and no".
|
|
306
306
|
|
|
307
307
|
```ruby
|
|
308
308
|
result.vpn? # false when absent, for when you only want the flag
|
|
309
309
|
result.included?(:is_vpn) # false on Unlimited: not in your plan
|
|
310
310
|
result.location.key?('city') # false on Unlimited
|
|
311
311
|
result.trial_expired == true # a free-plan key's daily trial is spent
|
|
312
|
+
result.cap_reached == true # a paid key is past its overage cap
|
|
312
313
|
```
|
|
313
314
|
|
|
314
315
|
## Other Libraries
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -155,6 +155,18 @@ module InternetData
|
|
|
155
155
|
@raw['trial_expired'] == true
|
|
156
156
|
end
|
|
157
157
|
|
|
158
|
+
# On answers to a key on a paid plan only: false while the answer has every
|
|
159
|
+
# field, true once its organization's overage cap is reached and the answer
|
|
160
|
+
# has Unlimited's, which is not billed; nil on any other.
|
|
161
|
+
def cap_reached
|
|
162
|
+
@raw['cap_reached']
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# `cap_reached` with an absent member read as false.
|
|
166
|
+
def cap_reached?
|
|
167
|
+
@raw['cap_reached'] == true
|
|
168
|
+
end
|
|
169
|
+
|
|
158
170
|
def inspect
|
|
159
171
|
"#<#{self.class} asn=#{asn.inspect} name=#{name.inspect}>"
|
|
160
172
|
end
|
|
@@ -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.
|
|
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
|
|
@@ -117,6 +117,18 @@ module InternetData
|
|
|
117
117
|
@raw['trial_expired'] == true
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
+
# On answers to a key on a paid plan only: false while the answer has every
|
|
121
|
+
# field, true once its organization's overage cap is reached and the answer
|
|
122
|
+
# has Unlimited's, which is not billed; nil on any other.
|
|
123
|
+
def cap_reached
|
|
124
|
+
@raw['cap_reached']
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# `cap_reached` with an absent member read as false.
|
|
128
|
+
def cap_reached?
|
|
129
|
+
@raw['cap_reached'] == true
|
|
130
|
+
end
|
|
131
|
+
|
|
120
132
|
def inspect
|
|
121
133
|
"#<#{self.class} domain=#{domain.inspect} is_registered=#{is_registered.inspect}>"
|
|
122
134
|
end
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -90,6 +90,9 @@ module InternetData
|
|
|
90
90
|
# 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.
|
|
91
91
|
attr_accessor :trial_expired
|
|
92
92
|
|
|
93
|
+
# 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.
|
|
94
|
+
attr_accessor :cap_reached
|
|
95
|
+
|
|
93
96
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
94
97
|
def self.attribute_map
|
|
95
98
|
{
|
|
@@ -117,7 +120,8 @@ module InternetData
|
|
|
117
120
|
:'num_downstreams' => :'num_downstreams',
|
|
118
121
|
:'downstreams' => :'downstreams',
|
|
119
122
|
:'hosted_domains' => :'hosted_domains',
|
|
120
|
-
:'trial_expired' => :'trial_expired'
|
|
123
|
+
:'trial_expired' => :'trial_expired',
|
|
124
|
+
:'cap_reached' => :'cap_reached'
|
|
121
125
|
}
|
|
122
126
|
end
|
|
123
127
|
|
|
@@ -158,7 +162,8 @@ module InternetData
|
|
|
158
162
|
:'num_downstreams' => :'Integer',
|
|
159
163
|
:'downstreams' => :'Array<Integer>',
|
|
160
164
|
:'hosted_domains' => :'AsnHostedDomains',
|
|
161
|
-
:'trial_expired' => :'Boolean'
|
|
165
|
+
:'trial_expired' => :'Boolean',
|
|
166
|
+
:'cap_reached' => :'Boolean'
|
|
162
167
|
}
|
|
163
168
|
end
|
|
164
169
|
|
|
@@ -305,6 +310,10 @@ module InternetData
|
|
|
305
310
|
if attributes.key?(:'trial_expired')
|
|
306
311
|
self.trial_expired = attributes[:'trial_expired']
|
|
307
312
|
end
|
|
313
|
+
|
|
314
|
+
if attributes.key?(:'cap_reached')
|
|
315
|
+
self.cap_reached = attributes[:'cap_reached']
|
|
316
|
+
end
|
|
308
317
|
end
|
|
309
318
|
|
|
310
319
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -441,7 +450,8 @@ module InternetData
|
|
|
441
450
|
num_downstreams == o.num_downstreams &&
|
|
442
451
|
downstreams == o.downstreams &&
|
|
443
452
|
hosted_domains == o.hosted_domains &&
|
|
444
|
-
trial_expired == o.trial_expired
|
|
453
|
+
trial_expired == o.trial_expired &&
|
|
454
|
+
cap_reached == o.cap_reached
|
|
445
455
|
end
|
|
446
456
|
|
|
447
457
|
# @see the `==` method
|
|
@@ -453,7 +463,7 @@ module InternetData
|
|
|
453
463
|
# Calculates hash code according to all attributes.
|
|
454
464
|
# @return [Integer] Hash code
|
|
455
465
|
def hash
|
|
456
|
-
[asn, name, country, registry, allocated, domain, type, num_ips, num_prefixes4, num_prefixes6, rpki_valid, rpki_invalid, rpki_not_found, whois, prefixes, rank, tier1, num_upstreams, upstreams, num_peers, peers, num_downstreams, downstreams, hosted_domains, trial_expired].hash
|
|
466
|
+
[asn, name, country, registry, allocated, domain, type, num_ips, num_prefixes4, num_prefixes6, rpki_valid, rpki_invalid, rpki_not_found, whois, prefixes, rank, tier1, num_upstreams, upstreams, num_peers, peers, num_downstreams, downstreams, hosted_domains, trial_expired, cap_reached].hash
|
|
457
467
|
end
|
|
458
468
|
|
|
459
469
|
# 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
data/lib/internetdata/result.rb
CHANGED
|
@@ -425,6 +425,18 @@ module InternetData
|
|
|
425
425
|
@raw['trial_expired'] == true
|
|
426
426
|
end
|
|
427
427
|
|
|
428
|
+
# On answers to a key on a paid plan only: false while the answer has every
|
|
429
|
+
# field, true once its organization's overage cap is reached and the answer
|
|
430
|
+
# has Unlimited's, which is not billed; nil on any other answer.
|
|
431
|
+
def cap_reached
|
|
432
|
+
@raw['cap_reached']
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# `cap_reached` with an absent member read as false.
|
|
436
|
+
def cap_reached?
|
|
437
|
+
@raw['cap_reached'] == true
|
|
438
|
+
end
|
|
439
|
+
|
|
428
440
|
def inspect
|
|
429
441
|
"#<#{self.class} ip=#{ip.inspect} is_bogon=#{is_bogon.inspect} is_vpn=#{is_vpn.inspect}>"
|
|
430
442
|
end
|
data/lib/internetdata/version.rb
CHANGED