internetdata 2.15.0 → 2.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/internetdata/api/database_v2_api.rb +1 -1
  4. data/lib/internetdata/api_client.rb +1 -1
  5. data/lib/internetdata/api_error.rb +1 -1
  6. data/lib/internetdata/api_model_base.rb +1 -1
  7. data/lib/internetdata/cache.rb +3 -3
  8. data/lib/internetdata/configuration.rb +1 -1
  9. data/lib/internetdata/models/abuse_contact.rb +1 -1
  10. data/lib/internetdata/models/asn.rb +35 -1
  11. data/lib/internetdata/models/asn_hosted_domains.rb +1 -1
  12. data/lib/internetdata/models/asn_lookup_response.rb +1 -1
  13. data/lib/internetdata/models/asn_prefix.rb +1 -1
  14. data/lib/internetdata/models/batch_lookup_error.rb +1 -1
  15. data/lib/internetdata/models/bit_torrent_detail.rb +1 -1
  16. data/lib/internetdata/models/bot_detail.rb +242 -0
  17. data/lib/internetdata/models/carrier_detail.rb +1 -1
  18. data/lib/internetdata/models/class_detail.rb +1 -1
  19. data/lib/internetdata/models/client_registration.rb +1 -1
  20. data/lib/internetdata/models/cohosted_domains.rb +1 -1
  21. data/lib/internetdata/models/company.rb +1 -1
  22. data/lib/internetdata/models/database.rb +1 -1
  23. data/lib/internetdata/models/database_checksums_response.rb +1 -1
  24. data/lib/internetdata/models/database_format.rb +1 -1
  25. data/lib/internetdata/models/database_list.rb +1 -1
  26. data/lib/internetdata/models/database_metadata.rb +1 -1
  27. data/lib/internetdata/models/database_metadata_column.rb +1 -1
  28. data/lib/internetdata/models/database_version.rb +1 -1
  29. data/lib/internetdata/models/db_checksums.rb +1 -1
  30. data/lib/internetdata/models/device_authorization.rb +1 -1
  31. data/lib/internetdata/models/disposable_detail.rb +1 -1
  32. data/lib/internetdata/models/dns_address_record.rb +1 -1
  33. data/lib/internetdata/models/dns_cname_record.rb +1 -1
  34. data/lib/internetdata/models/dns_mx_record.rb +1 -1
  35. data/lib/internetdata/models/dns_ns_record.rb +1 -1
  36. data/lib/internetdata/models/dns_resolver_detail.rb +1 -1
  37. data/lib/internetdata/models/domain_backlinks.rb +1 -1
  38. data/lib/internetdata/models/domain_dns.rb +1 -1
  39. data/lib/internetdata/models/domain_host.rb +1 -1
  40. data/lib/internetdata/models/domain_ip_range.rb +1 -1
  41. data/lib/internetdata/models/domain_ip_ranges.rb +1 -1
  42. data/lib/internetdata/models/domain_lookup_response.rb +1 -1
  43. data/lib/internetdata/models/domain_redirects.rb +1 -1
  44. data/lib/internetdata/models/domain_web.rb +1 -1
  45. data/lib/internetdata/models/domain_web_links.rb +1 -1
  46. data/lib/internetdata/models/download.rb +1 -1
  47. data/lib/internetdata/models/download_list.rb +1 -1
  48. data/lib/internetdata/models/entitlement.rb +1 -1
  49. data/lib/internetdata/models/entitlement_apikey.rb +1 -1
  50. data/lib/internetdata/models/entitlement_plan.rb +1 -1
  51. data/lib/internetdata/models/entitlement_usage.rb +1 -1
  52. data/lib/internetdata/models/error_envelope.rb +1 -1
  53. data/lib/internetdata/models/hosted_domains.rb +1 -1
  54. data/lib/internetdata/models/location.rb +1 -1
  55. data/lib/internetdata/models/lookup_response.rb +49 -2
  56. data/lib/internetdata/models/oauth_metadata.rb +1 -1
  57. data/lib/internetdata/models/proxy_detail.rb +1 -1
  58. data/lib/internetdata/models/pubproxy_detail.rb +1 -1
  59. data/lib/internetdata/models/rwhois.rb +1 -1
  60. data/lib/internetdata/models/satellite_detail.rb +1 -1
  61. data/lib/internetdata/models/smtp_detail.rb +1 -1
  62. data/lib/internetdata/models/ssh_detail.rb +1 -1
  63. data/lib/internetdata/models/standing.rb +1 -1
  64. data/lib/internetdata/models/token_response.rb +1 -1
  65. data/lib/internetdata/models/user_agent_verdict.rb +243 -0
  66. data/lib/internetdata/models/web_detail.rb +1 -1
  67. data/lib/internetdata/models/whois.rb +1 -1
  68. data/lib/internetdata/result.rb +24 -4
  69. data/lib/internetdata/transport.rb +6 -3
  70. data/lib/internetdata/version.rb +1 -1
  71. metadata +3 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31e59c6791ff66337309a43f54bfcdeb9d4edbf18defffb3d0763b8121887c69
4
- data.tar.gz: 830ce27a3740c60040f186edfab4a016074d69af4400f3c2a4ffaaf144923d5c
3
+ metadata.gz: 807c4adc26f3a8e886a14a49a79fb7fbbed9cc2f3c9ce8c9ca3de1b9b2b58737
4
+ data.tar.gz: 6d8cb7f135c5854d2b24344810057e30a895cf2af3dd7ab974f30bc23ddd941d
5
5
  SHA512:
6
- metadata.gz: 8730334359647443493f41b90370c45ae661ee63e54dc568a23a0fd45e48ecfe42acd1e10e2a464b770c97fe24e72b33fc9ac29f99f1a8d2867ac6cc99db623d
7
- data.tar.gz: 9545aeb5a4d7f6942a4337a11f5f83b744cf1c442fa946d7e9389222e2f4244bc4f54c22a9f4b108600604a19ff95c534b4d6b6be59d4674be612fbf5a6c0691
6
+ metadata.gz: b07d6d2f85ad6292872c2822072e417f077f658bf197d6a30796cb3ee32f57fd7f0aacbbf7b88c645a7e49aca1dee579dcff49488706d252964dba623a2b3ba7
7
+ data.tar.gz: 2523a0bdd0c3a66856b01aca8e6bb2e42fcf15c876b6113100a1f84b7bb26aa2dd46c2bb935c74209a7e6d7807310cb22de9120495fcb36aa2fa0ec8ebb74efb
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, anycast, carrier, satellite, SSH, SMTP, web, DNS resolver and BitTorrent flags, with no daily or monthly cap, with a key or without one.
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, bot, anycast, carrier, satellite, SSH, SMTP, web, DNS resolver and BitTorrent flags, with no daily or monthly cap, with a key or without one.
27
27
 
28
28
  ```ruby
29
29
  require 'internetdata'
@@ -302,7 +302,7 @@ 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 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".
305
+ Unlimited leaves out the VPN, proxy, hosting and CDN flags and their detail, `bot`, which 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".
306
306
 
307
307
  ```ruby
308
308
  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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -10,9 +10,9 @@ module InternetData
10
10
  # serve one of them the other's shape. Errors are never stored and bogons
11
11
  # never reach it.
12
12
  #
13
- # A reduced answer, a spent trial's or a reached cap's, ends with a new UTC day
14
- # or a raised cap, so it stays a minute at most rather than the TTL. It is
15
- # still cached, or a busy process would send every repeat to the API.
13
+ # A reduced answer, a spent trial's or a reached cap's, ends with a new UTC
14
+ # month or a raised cap, so it stays a minute at most rather than the TTL. It
15
+ # is still cached, or a busy process would send every repeat to the API.
16
16
  class Cache
17
17
  # The longest a spent trial's or a reached cap's answer is held, in seconds.
18
18
  REDUCED_TTL = 60
@@ -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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -127,10 +127,14 @@ module InternetData
127
127
 
128
128
  if attributes.key?(:'country')
129
129
  self.country = attributes[:'country']
130
+ else
131
+ self.country = nil
130
132
  end
131
133
 
132
134
  if attributes.key?(:'rpki_status')
133
135
  self.rpki_status = attributes[:'rpki_status']
136
+ else
137
+ self.rpki_status = nil
134
138
  end
135
139
  end
136
140
 
@@ -159,6 +163,14 @@ module InternetData
159
163
  invalid_properties.push('invalid value for "prefix", prefix cannot be nil.')
160
164
  end
161
165
 
166
+ if @country.nil?
167
+ invalid_properties.push('invalid value for "country", country cannot be nil.')
168
+ end
169
+
170
+ if @rpki_status.nil?
171
+ invalid_properties.push('invalid value for "rpki_status", rpki_status cannot be nil.')
172
+ end
173
+
162
174
  invalid_properties
163
175
  end
164
176
 
@@ -171,6 +183,8 @@ module InternetData
171
183
  return false if @domain.nil?
172
184
  return false if @type.nil?
173
185
  return false if @prefix.nil?
186
+ return false if @country.nil?
187
+ return false if @rpki_status.nil?
174
188
  true
175
189
  end
176
190
 
@@ -224,6 +238,26 @@ module InternetData
224
238
  @prefix = prefix
225
239
  end
226
240
 
241
+ # Custom attribute writer method with validation
242
+ # @param [Object] country Value to be assigned
243
+ def country=(country)
244
+ if country.nil?
245
+ fail ArgumentError, 'country cannot be nil'
246
+ end
247
+
248
+ @country = country
249
+ end
250
+
251
+ # Custom attribute writer method with validation
252
+ # @param [Object] rpki_status Value to be assigned
253
+ def rpki_status=(rpki_status)
254
+ if rpki_status.nil?
255
+ fail ArgumentError, 'rpki_status cannot be nil'
256
+ end
257
+
258
+ @rpki_status = rpki_status
259
+ end
260
+
227
261
  # Checks equality by comparing each attribute.
228
262
  # @param [Object] Object to be compared
229
263
  def ==(o)
@@ -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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -0,0 +1,242 @@
1
+ =begin
2
+ #InternetData API
3
+
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
+
6
+ The version of the OpenAPI document: 2026.11.22
7
+ Contact: support@internetdata.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module InternetData
17
+ class BotDetail < ApiModelBase
18
+ # The bot operator's ID in Bot Provider; for an address that is not verified, the operator its claim named. Empty where no operator is known.
19
+ attr_accessor :provider
20
+
21
+ # The operator's name, the one its claim named for an address that is not verified; empty where no operator is known.
22
+ attr_accessor :provider_name
23
+
24
+ # The bots the address serves, as their user agents name them (`Googlebot`, `GPTBot`); for an address that is not verified, the bots it claimed to be. One address can serve several, and `[]` means none is named.
25
+ attr_accessor :agents
26
+
27
+ # What those bots do: `search_engine`, `ai_training`, `ai_search`, `ai_assistant`, `ai_agent`, `seo`, `ads`, `preview`, `feed`, `monitoring`, `archiver`, `scanner`, `link_security`, `webhook` or `other`; `[]` where unknown.
28
+ attr_accessor :categories
29
+
30
+ # Whether the operator vouches for the address, so the bots in `agents` really are its.
31
+ attr_accessor :verified
32
+
33
+ # `verified` (the operator vouches for the address), `declared` (it names itself a bot that cannot be verified), `spoofed` (it claimed a bot whose operator vouches for other addresses) or `undeclared` (it hides as a browser and behaves as automation).
34
+ attr_accessor :identity
35
+
36
+ # How a verified address verified: `list` (the operator publishes it), `rdns` (its reverse DNS name ends in a suffix the operator documents and resolves back) or `owner` (the operator's own space, seen claiming its bot); empty when not verified.
37
+ attr_accessor :verified_by
38
+
39
+ # `high`, `medium` or `low`: how sure we are the address is what the row says.
40
+ attr_accessor :confidence
41
+
42
+ # The first day the address was seen as such.
43
+ attr_accessor :first_seen
44
+
45
+ # The last day it was.
46
+ attr_accessor :last_seen
47
+
48
+ # Attribute mapping from ruby-style variable name to JSON key.
49
+ def self.attribute_map
50
+ {
51
+ :'provider' => :'provider',
52
+ :'provider_name' => :'provider_name',
53
+ :'agents' => :'agents',
54
+ :'categories' => :'categories',
55
+ :'verified' => :'verified',
56
+ :'identity' => :'identity',
57
+ :'verified_by' => :'verified_by',
58
+ :'confidence' => :'confidence',
59
+ :'first_seen' => :'first_seen',
60
+ :'last_seen' => :'last_seen'
61
+ }
62
+ end
63
+
64
+ # Returns attribute mapping this model knows about
65
+ def self.acceptable_attribute_map
66
+ attribute_map
67
+ end
68
+
69
+ # Returns all the JSON keys this model knows about
70
+ def self.acceptable_attributes
71
+ acceptable_attribute_map.values
72
+ end
73
+
74
+ # Attribute type mapping.
75
+ def self.openapi_types
76
+ {
77
+ :'provider' => :'String',
78
+ :'provider_name' => :'String',
79
+ :'agents' => :'Array<String>',
80
+ :'categories' => :'Array<String>',
81
+ :'verified' => :'Boolean',
82
+ :'identity' => :'String',
83
+ :'verified_by' => :'String',
84
+ :'confidence' => :'String',
85
+ :'first_seen' => :'String',
86
+ :'last_seen' => :'String'
87
+ }
88
+ end
89
+
90
+ # List of attributes with nullable: true
91
+ def self.openapi_nullable
92
+ Set.new([
93
+ ])
94
+ end
95
+
96
+ # Initializes the object
97
+ # @param [Hash] attributes Model attributes in the form of hash
98
+ def initialize(attributes = {})
99
+ if (!attributes.is_a?(Hash))
100
+ fail ArgumentError, "The input argument (attributes) must be a hash in `InternetData::BotDetail` initialize method"
101
+ end
102
+
103
+ # check to see if the attribute exists and convert string to symbol for hash key
104
+ acceptable_attribute_map = self.class.acceptable_attribute_map
105
+ attributes = attributes.each_with_object({}) { |(k, v), h|
106
+ if (!acceptable_attribute_map.key?(k.to_sym))
107
+ fail ArgumentError, "`#{k}` is not a valid attribute in `InternetData::BotDetail`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
108
+ end
109
+ h[k.to_sym] = v
110
+ }
111
+
112
+ if attributes.key?(:'provider')
113
+ self.provider = attributes[:'provider']
114
+ end
115
+
116
+ if attributes.key?(:'provider_name')
117
+ self.provider_name = attributes[:'provider_name']
118
+ end
119
+
120
+ if attributes.key?(:'agents')
121
+ if (value = attributes[:'agents']).is_a?(Array)
122
+ self.agents = value
123
+ end
124
+ end
125
+
126
+ if attributes.key?(:'categories')
127
+ if (value = attributes[:'categories']).is_a?(Array)
128
+ self.categories = value
129
+ end
130
+ end
131
+
132
+ if attributes.key?(:'verified')
133
+ self.verified = attributes[:'verified']
134
+ end
135
+
136
+ if attributes.key?(:'identity')
137
+ self.identity = attributes[:'identity']
138
+ end
139
+
140
+ if attributes.key?(:'verified_by')
141
+ self.verified_by = attributes[:'verified_by']
142
+ end
143
+
144
+ if attributes.key?(:'confidence')
145
+ self.confidence = attributes[:'confidence']
146
+ end
147
+
148
+ if attributes.key?(:'first_seen')
149
+ self.first_seen = attributes[:'first_seen']
150
+ end
151
+
152
+ if attributes.key?(:'last_seen')
153
+ self.last_seen = attributes[:'last_seen']
154
+ end
155
+ end
156
+
157
+ # Show invalid properties with the reasons. Usually used together with valid?
158
+ # @return Array for valid properties with the reasons
159
+ def list_invalid_properties
160
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
161
+ invalid_properties = Array.new
162
+ invalid_properties
163
+ end
164
+
165
+ # Check to see if the all the properties in the model are valid
166
+ # @return true if the model is valid
167
+ def valid?
168
+ warn '[DEPRECATED] the `valid?` method is obsolete'
169
+ true
170
+ end
171
+
172
+ # Checks equality by comparing each attribute.
173
+ # @param [Object] Object to be compared
174
+ def ==(o)
175
+ return true if self.equal?(o)
176
+ self.class == o.class &&
177
+ provider == o.provider &&
178
+ provider_name == o.provider_name &&
179
+ agents == o.agents &&
180
+ categories == o.categories &&
181
+ verified == o.verified &&
182
+ identity == o.identity &&
183
+ verified_by == o.verified_by &&
184
+ confidence == o.confidence &&
185
+ first_seen == o.first_seen &&
186
+ last_seen == o.last_seen
187
+ end
188
+
189
+ # @see the `==` method
190
+ # @param [Object] Object to be compared
191
+ def eql?(o)
192
+ self == o
193
+ end
194
+
195
+ # Calculates hash code according to all attributes.
196
+ # @return [Integer] Hash code
197
+ def hash
198
+ [provider, provider_name, agents, categories, verified, identity, verified_by, confidence, first_seen, last_seen].hash
199
+ end
200
+
201
+ # Builds the object from hash
202
+ # @param [Hash] attributes Model attributes in the form of hash
203
+ # @return [Object] Returns the model itself
204
+ def self.build_from_hash(attributes)
205
+ return nil unless attributes.is_a?(Hash)
206
+ attributes = attributes.transform_keys(&:to_sym)
207
+ transformed_hash = {}
208
+ openapi_types.each_pair do |key, type|
209
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
210
+ transformed_hash["#{key}"] = nil
211
+ elsif type =~ /\AArray<(.*)>/i
212
+ # check to ensure the input is an array given that the attribute
213
+ # is documented as an array but the input is not
214
+ if attributes[attribute_map[key]].is_a?(Array)
215
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
216
+ end
217
+ elsif !attributes[attribute_map[key]].nil?
218
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
219
+ end
220
+ end
221
+ new(transformed_hash)
222
+ end
223
+
224
+ # Returns the object in the form of hash
225
+ # @return [Hash] Returns the object in the form of hash
226
+ def to_hash
227
+ hash = {}
228
+ self.class.attribute_map.each_pair do |attr, param|
229
+ value = self.send(attr)
230
+ if value.nil?
231
+ is_nullable = self.class.openapi_nullable.include?(attr)
232
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
233
+ end
234
+
235
+ hash[param] = _to_hash(value)
236
+ end
237
+ hash
238
+ end
239
+
240
+ end
241
+
242
+ 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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
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.20
6
+ The version of the OpenAPI document: 2026.11.22
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0