internetdata 2.11.1 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/lib/internetdata/api/database_v2_api.rb +1 -1
  4. data/lib/internetdata/api_client.rb +1 -1
  5. data/lib/internetdata/api_error.rb +1 -1
  6. data/lib/internetdata/api_model_base.rb +1 -1
  7. data/lib/internetdata/asn_result.rb +56 -1
  8. data/lib/internetdata/bogon.rb +2 -2
  9. data/lib/internetdata/configuration.rb +1 -1
  10. data/lib/internetdata/database_api.rb +3 -3
  11. data/lib/internetdata/models/abuse_contact.rb +1 -1
  12. data/lib/internetdata/models/asn.rb +1 -1
  13. data/lib/internetdata/models/asn_hosted_domains.rb +178 -0
  14. data/lib/internetdata/models/asn_lookup_response.rb +97 -2
  15. data/lib/internetdata/models/asn_prefix.rb +1 -1
  16. data/lib/internetdata/models/batch_lookup_error.rb +1 -1
  17. data/lib/internetdata/models/bit_torrent_detail.rb +1 -1
  18. data/lib/internetdata/models/carrier_detail.rb +1 -1
  19. data/lib/internetdata/models/class_detail.rb +1 -1
  20. data/lib/internetdata/models/client_registration.rb +1 -1
  21. data/lib/internetdata/models/company.rb +1 -1
  22. data/lib/internetdata/models/database.rb +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_dns.rb +1 -1
  38. data/lib/internetdata/models/domain_ip_range.rb +1 -1
  39. data/lib/internetdata/models/domain_ip_ranges.rb +1 -1
  40. data/lib/internetdata/models/domain_lookup_response.rb +1 -1
  41. data/lib/internetdata/models/download.rb +1 -1
  42. data/lib/internetdata/models/download_list.rb +1 -1
  43. data/lib/internetdata/models/entitlement.rb +1 -1
  44. data/lib/internetdata/models/entitlement_apikey.rb +1 -1
  45. data/lib/internetdata/models/entitlement_plan.rb +31 -4
  46. data/lib/internetdata/models/entitlement_usage.rb +1 -1
  47. data/lib/internetdata/models/error_envelope.rb +1 -1
  48. data/lib/internetdata/models/hosted_domains.rb +18 -6
  49. data/lib/internetdata/models/location.rb +1 -1
  50. data/lib/internetdata/models/lookup_response.rb +1 -1
  51. data/lib/internetdata/models/oauth_metadata.rb +1 -1
  52. data/lib/internetdata/models/proxy_detail.rb +1 -1
  53. data/lib/internetdata/models/pubproxy_detail.rb +1 -1
  54. data/lib/internetdata/models/rwhois.rb +1 -1
  55. data/lib/internetdata/models/satellite_detail.rb +1 -1
  56. data/lib/internetdata/models/smtp_detail.rb +1 -1
  57. data/lib/internetdata/models/ssh_detail.rb +1 -1
  58. data/lib/internetdata/models/standing.rb +1 -1
  59. data/lib/internetdata/models/token_response.rb +1 -1
  60. data/lib/internetdata/models/web_detail.rb +1 -1
  61. data/lib/internetdata/models/whois.rb +1 -1
  62. data/lib/internetdata/result.rb +3 -2
  63. data/lib/internetdata/transport.rb +2 -1
  64. data/lib/internetdata/version.rb +1 -1
  65. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a58e5c8517c31d0efff47e5ee257e6b76975986ff347f81d57da28316eb4220
4
- data.tar.gz: 736a9a2681f777c062b92e5a327ec3908abf00c4e86e23385e099e88233e1455
3
+ metadata.gz: c270658c639fd56cfe68a75865642cdacc31f654139864385bdf6e232b099dbc
4
+ data.tar.gz: e4fbe26418e4f82a02412caf64c04710be82eb69009cdb3ab3c216d4da71c7b7
5
5
  SHA512:
6
- metadata.gz: 86fc22e6f67d2706ed9408a7b865aea17ac4892ac3cf23921cd3769f6081932b4f0bc90bfbf88a6aac8d07116eb56a08d2444ba5390d073517b40be58a244e4e
7
- data.tar.gz: e20048c654b165baf6d77e83c9d8b6da4214271ce26a9217a60da0cd8f4d99ab4cc134fa49e45b8f3094c75e5c3702160a9774a4b195432ea8d17cc41fbb4038
6
+ metadata.gz: 18f22d425dc09401f3bdd3cfe35cfe14ce058c8d1431bc50be8a4b79f4e53e3a92cda26818e2cede3b1bc19ab60f880818153599207db44fbe50246aa5847e80
7
+ data.tar.gz: 52e813727aeac1551a00168a8d5a1861949e2e10eb4e627e37726745f2a66b0bae87b0660c8a94679f7522ad06d35583e9b44b91dcb697dd091d5df4c2a118c8
data/README.md CHANGED
@@ -77,6 +77,7 @@ Same answer `lookup` would give for that address, and the same cost against your
77
77
  ```ruby
78
78
  acct = client.my_entitlement
79
79
  acct.plan.key # => "max"
80
+ acct.plan.name # => "Max", the name to show
80
81
  acct.usage.requests # => 580
81
82
  acct.usage.window_end # => when the allowance resets
82
83
  ```
@@ -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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -7,7 +7,8 @@ module InternetData
7
7
  # reads as `nil`, never as 0 or an empty string: Unlimited answers the AS's
8
8
  # registration (`asn`, `name`, `country`, `registry`, `allocated`, `domain`),
9
9
  # and paid plans and the trial add the rest. `whois` and `prefixes` are the
10
- # wire values with their original string keys.
10
+ # wire values with their original string keys, as are `hosted_domains` and
11
+ # the neighbor lists.
11
12
  class AsnResult
12
13
  include Answer
13
14
 
@@ -89,6 +90,60 @@ module InternetData
89
90
  @raw['prefixes']
90
91
  end
91
92
 
93
+ # Its rank in ASN Extended by customer cone, 1 the largest; 0 for an AS
94
+ # seen in no AS path. Paid plans and the trial.
95
+ def rank
96
+ @raw['rank']
97
+ end
98
+
99
+ # Whether it is one of the transit-free networks at the top of the
100
+ # hierarchy. Paid plans and the trial.
101
+ def tier1
102
+ @raw['tier1']
103
+ end
104
+
105
+ # `tier1` with an absent member read as false.
106
+ def tier1?
107
+ @raw['tier1'] == true
108
+ end
109
+
110
+ # How many AS numbers it gets transit from. Paid plans and the trial.
111
+ def num_upstreams
112
+ @raw['num_upstreams']
113
+ end
114
+
115
+ # Those AS numbers, ascending, up to 20000. Paid plans and the trial.
116
+ def upstreams
117
+ @raw['upstreams']
118
+ end
119
+
120
+ # How many AS numbers it exchanges its own and its customers' routes with.
121
+ # Paid plans and the trial.
122
+ def num_peers
123
+ @raw['num_peers']
124
+ end
125
+
126
+ # Those AS numbers, ascending, up to 20000. Paid plans and the trial.
127
+ def peers
128
+ @raw['peers']
129
+ end
130
+
131
+ # How many AS numbers it provides transit to. Paid plans and the trial.
132
+ def num_downstreams
133
+ @raw['num_downstreams']
134
+ end
135
+
136
+ # Those AS numbers, ascending, up to 20000. Paid plans and the trial.
137
+ def downstreams
138
+ @raw['downstreams']
139
+ end
140
+
141
+ # How many registered domains it hosts (`total`) and the 10 most popular
142
+ # (`domains`), with the wire's string keys. Paid plans and the trial.
143
+ def hosted_domains
144
+ @raw['hosted_domains']
145
+ end
146
+
92
147
  # On answers to a key on the free plan only: false while its organization's
93
148
  # daily trial lasts, true once the answer has Unlimited's; nil on any other.
94
149
  def trial_expired
@@ -14,7 +14,7 @@ module InternetData
14
14
  }.freeze
15
15
 
16
16
  # A member's empty value, by the type the spec gives it.
17
- EMPTY = { String: '', Integer: 0, Float: 0, Boolean: false }.freeze
17
+ EMPTY = { String: '', Integer: 0, Float: 0, Boolean: false, 'Array<String>': [] }.freeze
18
18
 
19
19
  module_function
20
20
 
@@ -64,7 +64,7 @@ module InternetData
64
64
  end
65
65
 
66
66
  def empty(model)
67
- model.openapi_types.to_h { |attr, type| [model.attribute_map[attr].to_s, EMPTY.fetch(type)] }
67
+ model.openapi_types.to_h { |attr, type| [model.attribute_map[attr].to_s, EMPTY.fetch(type).dup] }
68
68
  end
69
69
 
70
70
  # Parsed on first use rather than at load: a consumer that never looks an
@@ -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.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -69,9 +69,9 @@ module InternetData
69
69
  #
70
70
  # Presigned, so it carries no credential of yours and can be handed to
71
71
  # anything that speaks HTTP. The URL is returned rather than the bytes so the
72
- # caller decides how to transfer a file that routinely runs to gigabytes; the
73
- # link authorizes the START of a transfer, so one already running is not
74
- # interrupted when it lapses.
72
+ # caller decides how to transfer a file that routinely runs to gigabytes. The
73
+ # link only has to be valid when a transfer starts, so one already running
74
+ # isn't cut off when it lapses.
75
75
  #
76
76
  # @param build [String, nil] one build of the database, as a
77
77
  # `database.updated` webhook names it (`20261105.0t53s5`), so the file is
@@ -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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -0,0 +1,178 @@
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.15
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
+ # From ASN Hosted Domains: how many registered domains the AS hosts, and the 10 most popular. Its database lists up to 1,000 an AS. Paid plans and the trial.
18
+ class AsnHostedDomains < ApiModelBase
19
+ # How many registered domains resolve to an address the AS announces.
20
+ attr_accessor :total
21
+
22
+ # Up to 10 of them, the most popular first; `[]` when none does.
23
+ attr_accessor :domains
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'total' => :'total',
29
+ :'domains' => :'domains'
30
+ }
31
+ end
32
+
33
+ # Returns attribute mapping this model knows about
34
+ def self.acceptable_attribute_map
35
+ attribute_map
36
+ end
37
+
38
+ # Returns all the JSON keys this model knows about
39
+ def self.acceptable_attributes
40
+ acceptable_attribute_map.values
41
+ end
42
+
43
+ # Attribute type mapping.
44
+ def self.openapi_types
45
+ {
46
+ :'total' => :'Integer',
47
+ :'domains' => :'Array<String>'
48
+ }
49
+ end
50
+
51
+ # List of attributes with nullable: true
52
+ def self.openapi_nullable
53
+ Set.new([
54
+ ])
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ if (!attributes.is_a?(Hash))
61
+ fail ArgumentError, "The input argument (attributes) must be a hash in `InternetData::AsnHostedDomains` initialize method"
62
+ end
63
+
64
+ # check to see if the attribute exists and convert string to symbol for hash key
65
+ acceptable_attribute_map = self.class.acceptable_attribute_map
66
+ attributes = attributes.each_with_object({}) { |(k, v), h|
67
+ if (!acceptable_attribute_map.key?(k.to_sym))
68
+ fail ArgumentError, "`#{k}` is not a valid attribute in `InternetData::AsnHostedDomains`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
69
+ end
70
+ h[k.to_sym] = v
71
+ }
72
+
73
+ if attributes.key?(:'total')
74
+ self.total = attributes[:'total']
75
+ else
76
+ self.total = nil
77
+ end
78
+
79
+ if attributes.key?(:'domains')
80
+ if (value = attributes[:'domains']).is_a?(Array)
81
+ self.domains = value
82
+ end
83
+ end
84
+ end
85
+
86
+ # Show invalid properties with the reasons. Usually used together with valid?
87
+ # @return Array for valid properties with the reasons
88
+ def list_invalid_properties
89
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
90
+ invalid_properties = Array.new
91
+ if @total.nil?
92
+ invalid_properties.push('invalid value for "total", total cannot be nil.')
93
+ end
94
+
95
+ invalid_properties
96
+ end
97
+
98
+ # Check to see if the all the properties in the model are valid
99
+ # @return true if the model is valid
100
+ def valid?
101
+ warn '[DEPRECATED] the `valid?` method is obsolete'
102
+ return false if @total.nil?
103
+ true
104
+ end
105
+
106
+ # Custom attribute writer method with validation
107
+ # @param [Object] total Value to be assigned
108
+ def total=(total)
109
+ if total.nil?
110
+ fail ArgumentError, 'total cannot be nil'
111
+ end
112
+
113
+ @total = total
114
+ end
115
+
116
+ # Checks equality by comparing each attribute.
117
+ # @param [Object] Object to be compared
118
+ def ==(o)
119
+ return true if self.equal?(o)
120
+ self.class == o.class &&
121
+ total == o.total &&
122
+ domains == o.domains
123
+ end
124
+
125
+ # @see the `==` method
126
+ # @param [Object] Object to be compared
127
+ def eql?(o)
128
+ self == o
129
+ end
130
+
131
+ # Calculates hash code according to all attributes.
132
+ # @return [Integer] Hash code
133
+ def hash
134
+ [total, domains].hash
135
+ end
136
+
137
+ # Builds the object from hash
138
+ # @param [Hash] attributes Model attributes in the form of hash
139
+ # @return [Object] Returns the model itself
140
+ def self.build_from_hash(attributes)
141
+ return nil unless attributes.is_a?(Hash)
142
+ attributes = attributes.transform_keys(&:to_sym)
143
+ transformed_hash = {}
144
+ openapi_types.each_pair do |key, type|
145
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
146
+ transformed_hash["#{key}"] = nil
147
+ elsif type =~ /\AArray<(.*)>/i
148
+ # check to ensure the input is an array given that the attribute
149
+ # is documented as an array but the input is not
150
+ if attributes[attribute_map[key]].is_a?(Array)
151
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
152
+ end
153
+ elsif !attributes[attribute_map[key]].nil?
154
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
155
+ end
156
+ end
157
+ new(transformed_hash)
158
+ end
159
+
160
+ # Returns the object in the form of hash
161
+ # @return [Hash] Returns the object in the form of hash
162
+ def to_hash
163
+ hash = {}
164
+ self.class.attribute_map.each_pair do |attr, param|
165
+ value = self.send(attr)
166
+ if value.nil?
167
+ is_nullable = self.class.openapi_nullable.include?(attr)
168
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
169
+ end
170
+
171
+ hash[param] = _to_hash(value)
172
+ end
173
+ hash
174
+ end
175
+
176
+ end
177
+
178
+ 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.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -61,6 +61,32 @@ module InternetData
61
61
  # What it announces, IPv4 then IPv6, up to 20000 a family. Paid plans and the trial.
62
62
  attr_accessor :prefixes
63
63
 
64
+ # Its rank in ASN Extended, by customer cone, 1 the largest; `0` for an AS seen in no AS path. Paid plans and the trial.
65
+ attr_accessor :rank
66
+
67
+ # Whether it is one of the transit-free networks at the top of the hierarchy, which get transit from no one and peer with each other. Paid plans and the trial.
68
+ attr_accessor :tier1
69
+
70
+ # How many AS numbers it gets transit from. Paid plans and the trial.
71
+ attr_accessor :num_upstreams
72
+
73
+ # Those AS numbers, ascending, up to 20000. Paid plans and the trial.
74
+ attr_accessor :upstreams
75
+
76
+ # How many AS numbers it exchanges its own and its customers' routes with. Paid plans and the trial.
77
+ attr_accessor :num_peers
78
+
79
+ # Those AS numbers, ascending, up to 20000. Paid plans and the trial.
80
+ attr_accessor :peers
81
+
82
+ # How many AS numbers it provides transit to. Paid plans and the trial.
83
+ attr_accessor :num_downstreams
84
+
85
+ # Those AS numbers, ascending, up to 20000. Paid plans and the trial.
86
+ attr_accessor :downstreams
87
+
88
+ attr_accessor :hosted_domains
89
+
64
90
  # On every answer to a key on the free plan, and on no other: `false` while the day's trial of every field lasts, `true` once the answer has Unlimited's fields.
65
91
  attr_accessor :trial_expired
66
92
 
@@ -82,6 +108,15 @@ module InternetData
82
108
  :'rpki_not_found' => :'rpki_not_found',
83
109
  :'whois' => :'whois',
84
110
  :'prefixes' => :'prefixes',
111
+ :'rank' => :'rank',
112
+ :'tier1' => :'tier1',
113
+ :'num_upstreams' => :'num_upstreams',
114
+ :'upstreams' => :'upstreams',
115
+ :'num_peers' => :'num_peers',
116
+ :'peers' => :'peers',
117
+ :'num_downstreams' => :'num_downstreams',
118
+ :'downstreams' => :'downstreams',
119
+ :'hosted_domains' => :'hosted_domains',
85
120
  :'trial_expired' => :'trial_expired'
86
121
  }
87
122
  end
@@ -114,6 +149,15 @@ module InternetData
114
149
  :'rpki_not_found' => :'Integer',
115
150
  :'whois' => :'Hash<String, String>',
116
151
  :'prefixes' => :'Array<AsnPrefix>',
152
+ :'rank' => :'Integer',
153
+ :'tier1' => :'Boolean',
154
+ :'num_upstreams' => :'Integer',
155
+ :'upstreams' => :'Array<Integer>',
156
+ :'num_peers' => :'Integer',
157
+ :'peers' => :'Array<Integer>',
158
+ :'num_downstreams' => :'Integer',
159
+ :'downstreams' => :'Array<Integer>',
160
+ :'hosted_domains' => :'AsnHostedDomains',
117
161
  :'trial_expired' => :'Boolean'
118
162
  }
119
163
  end
@@ -216,6 +260,48 @@ module InternetData
216
260
  end
217
261
  end
218
262
 
263
+ if attributes.key?(:'rank')
264
+ self.rank = attributes[:'rank']
265
+ end
266
+
267
+ if attributes.key?(:'tier1')
268
+ self.tier1 = attributes[:'tier1']
269
+ end
270
+
271
+ if attributes.key?(:'num_upstreams')
272
+ self.num_upstreams = attributes[:'num_upstreams']
273
+ end
274
+
275
+ if attributes.key?(:'upstreams')
276
+ if (value = attributes[:'upstreams']).is_a?(Array)
277
+ self.upstreams = value
278
+ end
279
+ end
280
+
281
+ if attributes.key?(:'num_peers')
282
+ self.num_peers = attributes[:'num_peers']
283
+ end
284
+
285
+ if attributes.key?(:'peers')
286
+ if (value = attributes[:'peers']).is_a?(Array)
287
+ self.peers = value
288
+ end
289
+ end
290
+
291
+ if attributes.key?(:'num_downstreams')
292
+ self.num_downstreams = attributes[:'num_downstreams']
293
+ end
294
+
295
+ if attributes.key?(:'downstreams')
296
+ if (value = attributes[:'downstreams']).is_a?(Array)
297
+ self.downstreams = value
298
+ end
299
+ end
300
+
301
+ if attributes.key?(:'hosted_domains')
302
+ self.hosted_domains = attributes[:'hosted_domains']
303
+ end
304
+
219
305
  if attributes.key?(:'trial_expired')
220
306
  self.trial_expired = attributes[:'trial_expired']
221
307
  end
@@ -346,6 +432,15 @@ module InternetData
346
432
  rpki_not_found == o.rpki_not_found &&
347
433
  whois == o.whois &&
348
434
  prefixes == o.prefixes &&
435
+ rank == o.rank &&
436
+ tier1 == o.tier1 &&
437
+ num_upstreams == o.num_upstreams &&
438
+ upstreams == o.upstreams &&
439
+ num_peers == o.num_peers &&
440
+ peers == o.peers &&
441
+ num_downstreams == o.num_downstreams &&
442
+ downstreams == o.downstreams &&
443
+ hosted_domains == o.hosted_domains &&
349
444
  trial_expired == o.trial_expired
350
445
  end
351
446
 
@@ -358,7 +453,7 @@ module InternetData
358
453
  # Calculates hash code according to all attributes.
359
454
  # @return [Integer] Hash code
360
455
  def hash
361
- [asn, name, country, registry, allocated, domain, type, num_ips, num_prefixes4, num_prefixes6, rpki_valid, rpki_invalid, rpki_not_found, whois, prefixes, trial_expired].hash
456
+ [asn, name, country, registry, allocated, domain, type, num_ips, num_prefixes4, num_prefixes6, rpki_valid, rpki_invalid, rpki_not_found, whois, prefixes, rank, tier1, num_upstreams, upstreams, num_peers, peers, num_downstreams, downstreams, hosted_domains, trial_expired].hash
362
457
  end
363
458
 
364
459
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
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.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0