internetdata 2.18.0 → 2.19.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 +2 -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/configuration.rb +1 -1
- data/lib/internetdata/models/abuse_contact.rb +1 -1
- data/lib/internetdata/models/asn.rb +2 -19
- data/lib/internetdata/models/asn_hosted_domains.rb +1 -1
- data/lib/internetdata/models/asn_lookup_response.rb +1 -1
- 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/bot_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/cohosted_domains.rb +1 -1
- data/lib/internetdata/models/company.rb +1 -1
- data/lib/internetdata/models/database.rb +1 -1
- 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 +1 -1
- 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_backlinks.rb +1 -1
- data/lib/internetdata/models/domain_dns.rb +1 -1
- data/lib/internetdata/models/domain_host.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 +1 -1
- data/lib/internetdata/models/domain_redirects.rb +1 -1
- data/lib/internetdata/models/domain_web.rb +1 -1
- data/lib/internetdata/models/domain_web_links.rb +1 -1
- data/lib/internetdata/models/download.rb +1 -1
- data/lib/internetdata/models/download_list.rb +1 -1
- data/lib/internetdata/models/entitlement.rb +1 -1
- data/lib/internetdata/models/entitlement_apikey.rb +1 -1
- data/lib/internetdata/models/entitlement_plan.rb +1 -1
- data/lib/internetdata/models/entitlement_usage.rb +1 -1
- 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 +9 -145
- 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/user_agent_verdict.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 +17 -12
- data/lib/internetdata/transport.rb +16 -5
- 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: 92a661392112b0c3506212bc4f1b4c7e9a6529b8ac4689f913d5a0ce1b983c23
|
|
4
|
+
data.tar.gz: 7394f3a0965198f3fa7a9a6fa0a23cb58a29a2cdefe5f9f91de33d74a3df76b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7b76ad8b752e8bdc16202863265a662e9d1801a661f6cb9fd44d896ce2855586c61b2fcf99acd936dcd276f3d1560dde5cc6089271e66a1b0c0bdc4a3b6863c
|
|
7
|
+
data.tar.gz: 6a9a22ebaa0b2549859043206ba5d30861818b66f416dec7f4282e4dc441faa3cde786de348c24b9f003a51bc99998603c472024ef1c6cdf8899f43524103a9f
|
data/README.md
CHANGED
|
@@ -23,7 +23,7 @@ Requires Ruby 3.3 or newer, and libcurl at runtime, which the `curl` package bri
|
|
|
23
23
|
|
|
24
24
|
## Usage
|
|
25
25
|
|
|
26
|
-
**No API key needed to start.** Unlimited, the free plan, answers an address's location, network, company, abuse contact and reverse DNS, and its Tor, relay
|
|
26
|
+
**No API key needed to start.** Unlimited, the free plan, answers an address's location, network, company, abuse contact and reverse DNS, and its Tor, relay and anycast flags, with no daily or monthly cap, with a key or without one.
|
|
27
27
|
|
|
28
28
|
```ruby
|
|
29
29
|
require 'internetdata'
|
|
@@ -315,7 +315,7 @@ Each redirect URI must be https on a public host name, or http on a loopback add
|
|
|
315
315
|
|
|
316
316
|
### Absent is not false
|
|
317
317
|
|
|
318
|
-
Unlimited leaves out the VPN, proxy, hosting and
|
|
318
|
+
Unlimited leaves out the VPN, proxy, hosting, CDN, bot, carrier, satellite, SSH, SMTP, web, DNS resolver and BitTorrent flags and their detail (`bot` names the bot behind `is_bot`), 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 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".
|
|
319
319
|
|
|
320
320
|
```ruby
|
|
321
321
|
result.vpn? # false when absent, for when you only want the flag
|
|
@@ -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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
7
7
|
Contact: support@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -25,7 +25,7 @@ module InternetData
|
|
|
25
25
|
# Its operator's domain.
|
|
26
26
|
attr_accessor :domain
|
|
27
27
|
|
|
28
|
-
# The kind of network it runs.
|
|
28
|
+
# The kind of network it runs. On a paid plan or the trial.
|
|
29
29
|
attr_accessor :type
|
|
30
30
|
|
|
31
31
|
# The announced prefix covering the address.
|
|
@@ -115,8 +115,6 @@ module InternetData
|
|
|
115
115
|
|
|
116
116
|
if attributes.key?(:'type')
|
|
117
117
|
self.type = attributes[:'type']
|
|
118
|
-
else
|
|
119
|
-
self.type = nil
|
|
120
118
|
end
|
|
121
119
|
|
|
122
120
|
if attributes.key?(:'prefix')
|
|
@@ -155,10 +153,6 @@ module InternetData
|
|
|
155
153
|
invalid_properties.push('invalid value for "domain", domain cannot be nil.')
|
|
156
154
|
end
|
|
157
155
|
|
|
158
|
-
if @type.nil?
|
|
159
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
160
|
-
end
|
|
161
|
-
|
|
162
156
|
if @prefix.nil?
|
|
163
157
|
invalid_properties.push('invalid value for "prefix", prefix cannot be nil.')
|
|
164
158
|
end
|
|
@@ -181,7 +175,6 @@ module InternetData
|
|
|
181
175
|
return false if @asn.nil?
|
|
182
176
|
return false if @name.nil?
|
|
183
177
|
return false if @domain.nil?
|
|
184
|
-
return false if @type.nil?
|
|
185
178
|
return false if @prefix.nil?
|
|
186
179
|
return false if @country.nil?
|
|
187
180
|
return false if @rpki_status.nil?
|
|
@@ -218,16 +211,6 @@ module InternetData
|
|
|
218
211
|
@domain = domain
|
|
219
212
|
end
|
|
220
213
|
|
|
221
|
-
# Custom attribute writer method with validation
|
|
222
|
-
# @param [Object] type Value to be assigned
|
|
223
|
-
def type=(type)
|
|
224
|
-
if type.nil?
|
|
225
|
-
fail ArgumentError, 'type cannot be nil'
|
|
226
|
-
end
|
|
227
|
-
|
|
228
|
-
@type = type
|
|
229
|
-
end
|
|
230
|
-
|
|
231
214
|
# Custom attribute writer method with validation
|
|
232
215
|
# @param [Object] prefix Value to be assigned
|
|
233
216
|
def prefix=(prefix)
|
|
@@ -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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
7
7
|
Contact: support@internetdata.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -49,31 +49,31 @@ module InternetData
|
|
|
49
49
|
# In CDN IP: a content delivery network. On a paid plan or the trial.
|
|
50
50
|
attr_accessor :is_cdn
|
|
51
51
|
|
|
52
|
-
# In Bot IP: an automated client's address, such as a search engine's or an AI company's crawler, an uptime monitor, an internet scanner or a webhook sender. `bot` says whose, what it does and whether its operator vouches for the address.
|
|
52
|
+
# In Bot IP: an automated client's address, such as a search engine's or an AI company's crawler, an uptime monitor, an internet scanner or a webhook sender. `bot` says whose, what it does and whether its operator vouches for the address. On a paid plan or the trial.
|
|
53
53
|
attr_accessor :is_bot
|
|
54
54
|
|
|
55
55
|
# In Anycast IP: announced from many places at once.
|
|
56
56
|
attr_accessor :is_anycast
|
|
57
57
|
|
|
58
|
-
# In Carrier IP: a mobile carrier's address space.
|
|
58
|
+
# In Carrier IP: a mobile carrier's address space. On a paid plan or the trial.
|
|
59
59
|
attr_accessor :is_carrier
|
|
60
60
|
|
|
61
|
-
# In Satellite IP: a satellite operator's address space.
|
|
61
|
+
# In Satellite IP: a satellite operator's address space. On a paid plan or the trial.
|
|
62
62
|
attr_accessor :is_satellite
|
|
63
63
|
|
|
64
|
-
# In SSH IP: an SSH server answered here.
|
|
64
|
+
# In SSH IP: an SSH server answered here. On a paid plan or the trial.
|
|
65
65
|
attr_accessor :is_ssh
|
|
66
66
|
|
|
67
|
-
# In SMTP IP: a mail server answered here.
|
|
67
|
+
# In SMTP IP: a mail server answered here. On a paid plan or the trial.
|
|
68
68
|
attr_accessor :is_smtp
|
|
69
69
|
|
|
70
|
-
# In Web IP: a web server answered here on port 80 or 443.
|
|
70
|
+
# In Web IP: a web server answered here on port 80 or 443. On a paid plan or the trial.
|
|
71
71
|
attr_accessor :is_web
|
|
72
72
|
|
|
73
|
-
# In DNS Resolver IP: an open DNS resolver answered here.
|
|
73
|
+
# In DNS Resolver IP: an open DNS resolver answered here. On a paid plan or the trial.
|
|
74
74
|
attr_accessor :is_dns_resolver
|
|
75
75
|
|
|
76
|
-
# In BitTorrent IP: a BitTorrent client was seen here in the last 90 days.
|
|
76
|
+
# In BitTorrent IP: a BitTorrent client was seen here in the last 90 days. On a paid plan or the trial.
|
|
77
77
|
attr_accessor :is_bittorrent
|
|
78
78
|
|
|
79
79
|
# VPN IP's row, `{}` when `is_vpn` is false. On a paid plan or the trial.
|
|
@@ -347,8 +347,6 @@ module InternetData
|
|
|
347
347
|
|
|
348
348
|
if attributes.key?(:'is_bot')
|
|
349
349
|
self.is_bot = attributes[:'is_bot']
|
|
350
|
-
else
|
|
351
|
-
self.is_bot = nil
|
|
352
350
|
end
|
|
353
351
|
|
|
354
352
|
if attributes.key?(:'is_anycast')
|
|
@@ -359,44 +357,30 @@ module InternetData
|
|
|
359
357
|
|
|
360
358
|
if attributes.key?(:'is_carrier')
|
|
361
359
|
self.is_carrier = attributes[:'is_carrier']
|
|
362
|
-
else
|
|
363
|
-
self.is_carrier = nil
|
|
364
360
|
end
|
|
365
361
|
|
|
366
362
|
if attributes.key?(:'is_satellite')
|
|
367
363
|
self.is_satellite = attributes[:'is_satellite']
|
|
368
|
-
else
|
|
369
|
-
self.is_satellite = nil
|
|
370
364
|
end
|
|
371
365
|
|
|
372
366
|
if attributes.key?(:'is_ssh')
|
|
373
367
|
self.is_ssh = attributes[:'is_ssh']
|
|
374
|
-
else
|
|
375
|
-
self.is_ssh = nil
|
|
376
368
|
end
|
|
377
369
|
|
|
378
370
|
if attributes.key?(:'is_smtp')
|
|
379
371
|
self.is_smtp = attributes[:'is_smtp']
|
|
380
|
-
else
|
|
381
|
-
self.is_smtp = nil
|
|
382
372
|
end
|
|
383
373
|
|
|
384
374
|
if attributes.key?(:'is_web')
|
|
385
375
|
self.is_web = attributes[:'is_web']
|
|
386
|
-
else
|
|
387
|
-
self.is_web = nil
|
|
388
376
|
end
|
|
389
377
|
|
|
390
378
|
if attributes.key?(:'is_dns_resolver')
|
|
391
379
|
self.is_dns_resolver = attributes[:'is_dns_resolver']
|
|
392
|
-
else
|
|
393
|
-
self.is_dns_resolver = nil
|
|
394
380
|
end
|
|
395
381
|
|
|
396
382
|
if attributes.key?(:'is_bittorrent')
|
|
397
383
|
self.is_bittorrent = attributes[:'is_bittorrent']
|
|
398
|
-
else
|
|
399
|
-
self.is_bittorrent = nil
|
|
400
384
|
end
|
|
401
385
|
|
|
402
386
|
if attributes.key?(:'vpn')
|
|
@@ -549,42 +533,10 @@ module InternetData
|
|
|
549
533
|
invalid_properties.push('invalid value for "is_relay", is_relay cannot be nil.')
|
|
550
534
|
end
|
|
551
535
|
|
|
552
|
-
if @is_bot.nil?
|
|
553
|
-
invalid_properties.push('invalid value for "is_bot", is_bot cannot be nil.')
|
|
554
|
-
end
|
|
555
|
-
|
|
556
536
|
if @is_anycast.nil?
|
|
557
537
|
invalid_properties.push('invalid value for "is_anycast", is_anycast cannot be nil.')
|
|
558
538
|
end
|
|
559
539
|
|
|
560
|
-
if @is_carrier.nil?
|
|
561
|
-
invalid_properties.push('invalid value for "is_carrier", is_carrier cannot be nil.')
|
|
562
|
-
end
|
|
563
|
-
|
|
564
|
-
if @is_satellite.nil?
|
|
565
|
-
invalid_properties.push('invalid value for "is_satellite", is_satellite cannot be nil.')
|
|
566
|
-
end
|
|
567
|
-
|
|
568
|
-
if @is_ssh.nil?
|
|
569
|
-
invalid_properties.push('invalid value for "is_ssh", is_ssh cannot be nil.')
|
|
570
|
-
end
|
|
571
|
-
|
|
572
|
-
if @is_smtp.nil?
|
|
573
|
-
invalid_properties.push('invalid value for "is_smtp", is_smtp cannot be nil.')
|
|
574
|
-
end
|
|
575
|
-
|
|
576
|
-
if @is_web.nil?
|
|
577
|
-
invalid_properties.push('invalid value for "is_web", is_web cannot be nil.')
|
|
578
|
-
end
|
|
579
|
-
|
|
580
|
-
if @is_dns_resolver.nil?
|
|
581
|
-
invalid_properties.push('invalid value for "is_dns_resolver", is_dns_resolver cannot be nil.')
|
|
582
|
-
end
|
|
583
|
-
|
|
584
|
-
if @is_bittorrent.nil?
|
|
585
|
-
invalid_properties.push('invalid value for "is_bittorrent", is_bittorrent cannot be nil.')
|
|
586
|
-
end
|
|
587
|
-
|
|
588
540
|
if @tor.nil?
|
|
589
541
|
invalid_properties.push('invalid value for "tor", tor cannot be nil.')
|
|
590
542
|
end
|
|
@@ -624,15 +576,7 @@ module InternetData
|
|
|
624
576
|
return false if @is_bogon.nil?
|
|
625
577
|
return false if @is_tor.nil?
|
|
626
578
|
return false if @is_relay.nil?
|
|
627
|
-
return false if @is_bot.nil?
|
|
628
579
|
return false if @is_anycast.nil?
|
|
629
|
-
return false if @is_carrier.nil?
|
|
630
|
-
return false if @is_satellite.nil?
|
|
631
|
-
return false if @is_ssh.nil?
|
|
632
|
-
return false if @is_smtp.nil?
|
|
633
|
-
return false if @is_web.nil?
|
|
634
|
-
return false if @is_dns_resolver.nil?
|
|
635
|
-
return false if @is_bittorrent.nil?
|
|
636
580
|
return false if @tor.nil?
|
|
637
581
|
return false if @relay.nil?
|
|
638
582
|
return false if @location.nil?
|
|
@@ -683,16 +627,6 @@ module InternetData
|
|
|
683
627
|
@is_relay = is_relay
|
|
684
628
|
end
|
|
685
629
|
|
|
686
|
-
# Custom attribute writer method with validation
|
|
687
|
-
# @param [Object] is_bot Value to be assigned
|
|
688
|
-
def is_bot=(is_bot)
|
|
689
|
-
if is_bot.nil?
|
|
690
|
-
fail ArgumentError, 'is_bot cannot be nil'
|
|
691
|
-
end
|
|
692
|
-
|
|
693
|
-
@is_bot = is_bot
|
|
694
|
-
end
|
|
695
|
-
|
|
696
630
|
# Custom attribute writer method with validation
|
|
697
631
|
# @param [Object] is_anycast Value to be assigned
|
|
698
632
|
def is_anycast=(is_anycast)
|
|
@@ -703,76 +637,6 @@ module InternetData
|
|
|
703
637
|
@is_anycast = is_anycast
|
|
704
638
|
end
|
|
705
639
|
|
|
706
|
-
# Custom attribute writer method with validation
|
|
707
|
-
# @param [Object] is_carrier Value to be assigned
|
|
708
|
-
def is_carrier=(is_carrier)
|
|
709
|
-
if is_carrier.nil?
|
|
710
|
-
fail ArgumentError, 'is_carrier cannot be nil'
|
|
711
|
-
end
|
|
712
|
-
|
|
713
|
-
@is_carrier = is_carrier
|
|
714
|
-
end
|
|
715
|
-
|
|
716
|
-
# Custom attribute writer method with validation
|
|
717
|
-
# @param [Object] is_satellite Value to be assigned
|
|
718
|
-
def is_satellite=(is_satellite)
|
|
719
|
-
if is_satellite.nil?
|
|
720
|
-
fail ArgumentError, 'is_satellite cannot be nil'
|
|
721
|
-
end
|
|
722
|
-
|
|
723
|
-
@is_satellite = is_satellite
|
|
724
|
-
end
|
|
725
|
-
|
|
726
|
-
# Custom attribute writer method with validation
|
|
727
|
-
# @param [Object] is_ssh Value to be assigned
|
|
728
|
-
def is_ssh=(is_ssh)
|
|
729
|
-
if is_ssh.nil?
|
|
730
|
-
fail ArgumentError, 'is_ssh cannot be nil'
|
|
731
|
-
end
|
|
732
|
-
|
|
733
|
-
@is_ssh = is_ssh
|
|
734
|
-
end
|
|
735
|
-
|
|
736
|
-
# Custom attribute writer method with validation
|
|
737
|
-
# @param [Object] is_smtp Value to be assigned
|
|
738
|
-
def is_smtp=(is_smtp)
|
|
739
|
-
if is_smtp.nil?
|
|
740
|
-
fail ArgumentError, 'is_smtp cannot be nil'
|
|
741
|
-
end
|
|
742
|
-
|
|
743
|
-
@is_smtp = is_smtp
|
|
744
|
-
end
|
|
745
|
-
|
|
746
|
-
# Custom attribute writer method with validation
|
|
747
|
-
# @param [Object] is_web Value to be assigned
|
|
748
|
-
def is_web=(is_web)
|
|
749
|
-
if is_web.nil?
|
|
750
|
-
fail ArgumentError, 'is_web cannot be nil'
|
|
751
|
-
end
|
|
752
|
-
|
|
753
|
-
@is_web = is_web
|
|
754
|
-
end
|
|
755
|
-
|
|
756
|
-
# Custom attribute writer method with validation
|
|
757
|
-
# @param [Object] is_dns_resolver Value to be assigned
|
|
758
|
-
def is_dns_resolver=(is_dns_resolver)
|
|
759
|
-
if is_dns_resolver.nil?
|
|
760
|
-
fail ArgumentError, 'is_dns_resolver cannot be nil'
|
|
761
|
-
end
|
|
762
|
-
|
|
763
|
-
@is_dns_resolver = is_dns_resolver
|
|
764
|
-
end
|
|
765
|
-
|
|
766
|
-
# Custom attribute writer method with validation
|
|
767
|
-
# @param [Object] is_bittorrent Value to be assigned
|
|
768
|
-
def is_bittorrent=(is_bittorrent)
|
|
769
|
-
if is_bittorrent.nil?
|
|
770
|
-
fail ArgumentError, 'is_bittorrent cannot be nil'
|
|
771
|
-
end
|
|
772
|
-
|
|
773
|
-
@is_bittorrent = is_bittorrent
|
|
774
|
-
end
|
|
775
|
-
|
|
776
640
|
# Custom attribute writer method with validation
|
|
777
641
|
# @param [Object] tor Value to be assigned
|
|
778
642
|
def tor=(tor)
|
|
@@ -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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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.26
|
|
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
|
@@ -200,7 +200,8 @@ module InternetData
|
|
|
200
200
|
|
|
201
201
|
# Whether an automated client uses the address (Bot IP): a search engine's or
|
|
202
202
|
# an AI company's crawler, an uptime monitor, an internet scanner or a
|
|
203
|
-
# webhook sender
|
|
203
|
+
# webhook sender, or nil when your plan does not include it. Paid plans and
|
|
204
|
+
# the trial; `bot` says whose.
|
|
204
205
|
def is_bot
|
|
205
206
|
@raw['is_bot']
|
|
206
207
|
end
|
|
@@ -221,8 +222,8 @@ module InternetData
|
|
|
221
222
|
@raw['is_anycast'] == true
|
|
222
223
|
end
|
|
223
224
|
|
|
224
|
-
# Whether the address is in a mobile carrier's address space (Carrier IP)
|
|
225
|
-
#
|
|
225
|
+
# Whether the address is in a mobile carrier's address space (Carrier IP), or
|
|
226
|
+
# nil when your plan does not include it. Paid plans and the trial.
|
|
226
227
|
def is_carrier
|
|
227
228
|
@raw['is_carrier']
|
|
228
229
|
end
|
|
@@ -233,7 +234,7 @@ module InternetData
|
|
|
233
234
|
end
|
|
234
235
|
|
|
235
236
|
# Whether the address is in a satellite operator's address space (Satellite
|
|
236
|
-
# IP).
|
|
237
|
+
# IP), or nil when your plan does not include it. Paid plans and the trial.
|
|
237
238
|
def is_satellite
|
|
238
239
|
@raw['is_satellite']
|
|
239
240
|
end
|
|
@@ -243,7 +244,8 @@ module InternetData
|
|
|
243
244
|
@raw['is_satellite'] == true
|
|
244
245
|
end
|
|
245
246
|
|
|
246
|
-
# Whether an SSH server answered on the address (SSH IP)
|
|
247
|
+
# Whether an SSH server answered on the address (SSH IP), or nil when your
|
|
248
|
+
# plan does not include it. Paid plans and the trial.
|
|
247
249
|
def is_ssh
|
|
248
250
|
@raw['is_ssh']
|
|
249
251
|
end
|
|
@@ -253,7 +255,8 @@ module InternetData
|
|
|
253
255
|
@raw['is_ssh'] == true
|
|
254
256
|
end
|
|
255
257
|
|
|
256
|
-
# Whether a mail server answered on the address (SMTP IP)
|
|
258
|
+
# Whether a mail server answered on the address (SMTP IP), or nil when your
|
|
259
|
+
# plan does not include it. Paid plans and the trial.
|
|
257
260
|
def is_smtp
|
|
258
261
|
@raw['is_smtp']
|
|
259
262
|
end
|
|
@@ -263,8 +266,8 @@ module InternetData
|
|
|
263
266
|
@raw['is_smtp'] == true
|
|
264
267
|
end
|
|
265
268
|
|
|
266
|
-
# Whether a web server answered on the address on port 80 or 443 (Web IP)
|
|
267
|
-
#
|
|
269
|
+
# Whether a web server answered on the address on port 80 or 443 (Web IP), or
|
|
270
|
+
# nil when your plan does not include it. Paid plans and the trial.
|
|
268
271
|
def is_web
|
|
269
272
|
@raw['is_web']
|
|
270
273
|
end
|
|
@@ -274,8 +277,8 @@ module InternetData
|
|
|
274
277
|
@raw['is_web'] == true
|
|
275
278
|
end
|
|
276
279
|
|
|
277
|
-
# Whether an open DNS resolver answered on the address (DNS Resolver IP)
|
|
278
|
-
#
|
|
280
|
+
# Whether an open DNS resolver answered on the address (DNS Resolver IP), or
|
|
281
|
+
# nil when your plan does not include it. Paid plans and the trial.
|
|
279
282
|
def is_dns_resolver
|
|
280
283
|
@raw['is_dns_resolver']
|
|
281
284
|
end
|
|
@@ -286,7 +289,8 @@ module InternetData
|
|
|
286
289
|
end
|
|
287
290
|
|
|
288
291
|
# Whether a BitTorrent client was seen on the address in the last 90 days
|
|
289
|
-
# (BitTorrent IP).
|
|
292
|
+
# (BitTorrent IP), or nil when your plan does not include it. Paid plans and
|
|
293
|
+
# the trial.
|
|
290
294
|
def is_bittorrent
|
|
291
295
|
@raw['is_bittorrent']
|
|
292
296
|
end
|
|
@@ -392,7 +396,8 @@ module InternetData
|
|
|
392
396
|
end
|
|
393
397
|
|
|
394
398
|
# The network announcing the address, from IP ASN, as a wire hash
|
|
395
|
-
# (`result.asn['name']`), with asn 0 where none does. Every answer
|
|
399
|
+
# (`result.asn['name']`), with asn 0 where none does. Every answer; the
|
|
400
|
+
# network's type on paid plans and the trial.
|
|
396
401
|
def asn
|
|
397
402
|
@raw['asn']
|
|
398
403
|
end
|
|
@@ -376,8 +376,7 @@ module InternetData
|
|
|
376
376
|
# is `{}` under a false flag. test/database_test.rb holds this to
|
|
377
377
|
# spec/openapi.yaml.
|
|
378
378
|
REQUIRED = {
|
|
379
|
-
'LookupResponse' => %i[ip is_bogon is_tor is_relay
|
|
380
|
-
is_smtp is_web is_dns_resolver is_bittorrent tor relay location asn company hostname
|
|
379
|
+
'LookupResponse' => %i[ip is_bogon is_tor is_relay is_anycast tor relay location asn company hostname
|
|
381
380
|
abuse],
|
|
382
381
|
'ClassDetail' => [],
|
|
383
382
|
'ProxyDetail' => [],
|
|
@@ -394,7 +393,7 @@ module InternetData
|
|
|
394
393
|
'UserAgentVerdict' => %i[agent kind verdict],
|
|
395
394
|
'Location' => %i[continent continent_name country country_name timezone currency_code currency_name
|
|
396
395
|
currency_symbol flag_emoji flag_unicode],
|
|
397
|
-
'Asn' => %i[asn name domain
|
|
396
|
+
'Asn' => %i[asn name domain prefix country rpki_status],
|
|
398
397
|
'Company' => %i[name domain],
|
|
399
398
|
'AbuseContact' => %i[email],
|
|
400
399
|
'Whois' => %i[id name org country status source domain abuse_email asn],
|
|
@@ -434,6 +433,15 @@ module InternetData
|
|
|
434
433
|
'Download' => %i[dataset_id format outcome sample open bytes http_status apikey_id client_ip user_agent created],
|
|
435
434
|
}.freeze
|
|
436
435
|
|
|
436
|
+
# The members the spec stopped requiring in 2026.11.26, because Unlimited's answer leaves
|
|
437
|
+
# them out: absent reads as absent, as any member a plan leaves out does. A served null
|
|
438
|
+
# is still refused, as it was while they were required.
|
|
439
|
+
NEVER_NULL = {
|
|
440
|
+
'LookupResponse' => %i[is_bot is_carrier is_satellite is_ssh is_smtp is_web is_dns_resolver
|
|
441
|
+
is_bittorrent],
|
|
442
|
+
'Asn' => %i[type],
|
|
443
|
+
}.freeze
|
|
444
|
+
|
|
437
445
|
# RFC 3339's full-date, the spec's `date`, and its date-time, the spec's
|
|
438
446
|
# `date-time`, its `T` and `Z` in either case, as RFC 3339 allows: through
|
|
439
447
|
# 2.8.4 a lowercase one failed the call. Anything else reached the
|
|
@@ -489,11 +497,14 @@ module InternetData
|
|
|
489
497
|
end
|
|
490
498
|
|
|
491
499
|
# A member absent or null reads as absent, unless the spec requires it and
|
|
492
|
-
# does not make it nullable.
|
|
500
|
+
# does not make it nullable, or {NEVER_NULL} lists it and the answer carries it null.
|
|
493
501
|
def self.check_member!(model, attr, member, value, where)
|
|
494
502
|
key = model.attribute_map[attr].to_s
|
|
495
503
|
return check_type!(value[key], member.to_s, "#{where}.#{key}") unless value[key].nil?
|
|
496
|
-
|
|
504
|
+
|
|
505
|
+
name = model.name.split('::').last
|
|
506
|
+
null_refused = value.key?(key) && NEVER_NULL.fetch(name, []).include?(attr)
|
|
507
|
+
return true unless REQUIRED.fetch(name).include?(attr) || null_refused
|
|
497
508
|
return true if model.openapi_nullable.include?(attr)
|
|
498
509
|
|
|
499
510
|
raise TypeError, "#{where}.#{key} is #{value.key?(key) ? 'null' : 'missing'}"
|
data/lib/internetdata/version.rb
CHANGED