cloudmersive-validate-api-client 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a474c41620e4612cba63ddee430537d0bba0071ac14c82ebfa82490c6603b2d
4
- data.tar.gz: 7e836019da1bd65c2b5bd5da62cafcb58f41b77799887045b0b791cfb9f61079
3
+ metadata.gz: 4f896a47826183614618fd426ca8a512d17bdb280e1896d7028808b92e5745df
4
+ data.tar.gz: d0b93394baf070b8d91989afd8fd25bcd6419b13268c82a0a79338db62831b60
5
5
  SHA512:
6
- metadata.gz: 57dca23ebe95eb1dd3b9920c902d08c6770c4a5820c2c94ed84752a1e0ac279387d3a8be7873386a869e4385da44864e57f0eb56413a5b19d6fd7dc544a5d947
7
- data.tar.gz: d407eedccb5d026ba886e7ff108798d17fc29e5f35c4d4b7294f502e458740cb0bdee53935ec35bb5187c2cca3e35253014273e094d5f7e832fa2257d6726dd0
6
+ metadata.gz: a03bb74df4fd2297b9a17ba954b4d1bdde7d000e14beb289e06ba83008e998b6ec55f92325102e33b6b841f10ffc493cd58acd2cd06b3d42d400737c4df6db0d
7
+ data.tar.gz: 2a105cc05b48b0badedbdba89322982781b8b0ba5ea5ddd50cc98693f367594fdac80be03bd6a13e41c4fa6ce08bd100b2e57edc6ff1bf10614b4e1fc9d9698c
data/README.md CHANGED
@@ -7,7 +7,7 @@ The validation APIs help you validate data. Check if an E-mail address is real.
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 2.1.4
10
+ - Package version: 2.1.5
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build cloudmersive-validate-api-client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./cloudmersive-validate-api-client-2.1.4.gem
26
+ gem install ./cloudmersive-validate-api-client-2.1.5.gem
27
27
  ```
28
- (for development, run `gem install --dev ./cloudmersive-validate-api-client-2.1.4.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./cloudmersive-validate-api-client-2.1.5.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'cloudmersive-validate-api-client', '~> 2.1.4'
34
+ gem 'cloudmersive-validate-api-client', '~> 2.1.5'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -110,6 +110,8 @@ Class | Method | HTTP request | Description
110
110
  *CloudmersiveValidateApiClient::EmailApi* | [**email_full_validation**](docs/EmailApi.md#email_full_validation) | **POST** /validate/email/address/full | Fully validate an email address
111
111
  *CloudmersiveValidateApiClient::EmailApi* | [**email_post**](docs/EmailApi.md#email_post) | **POST** /validate/email/address/syntaxOnly | Validate email adddress for syntactic correctness only
112
112
  *CloudmersiveValidateApiClient::IPAddressApi* | [**i_p_address_geolocate_street_address**](docs/IPAddressApi.md#i_p_address_geolocate_street_address) | **POST** /validate/ip/geolocate/street-address | Geolocate an IP address to a street address
113
+ *CloudmersiveValidateApiClient::IPAddressApi* | [**i_p_address_ip_intelligence**](docs/IPAddressApi.md#i_p_address_ip_intelligence) | **POST** /validate/ip/intelligence | Get intelligence on an IP address
114
+ *CloudmersiveValidateApiClient::IPAddressApi* | [**i_p_address_is_bot**](docs/IPAddressApi.md#i_p_address_is_bot) | **POST** /validate/ip/is-bot | Check if IP address is a Bot client
113
115
  *CloudmersiveValidateApiClient::IPAddressApi* | [**i_p_address_is_threat**](docs/IPAddressApi.md#i_p_address_is_threat) | **POST** /validate/ip/is-threat | Check if IP address is a known threat
114
116
  *CloudmersiveValidateApiClient::IPAddressApi* | [**i_p_address_is_tor_node**](docs/IPAddressApi.md#i_p_address_is_tor_node) | **POST** /validate/ip/is-tor-node | Check if IP address is a Tor node server
115
117
  *CloudmersiveValidateApiClient::IPAddressApi* | [**i_p_address_post**](docs/IPAddressApi.md#i_p_address_post) | **POST** /validate/ip/geolocate | Geolocate an IP address
@@ -132,6 +134,7 @@ Class | Method | HTTP request | Description
132
134
 
133
135
  - [CloudmersiveValidateApiClient::AddressGetServersResponse](docs/AddressGetServersResponse.md)
134
136
  - [CloudmersiveValidateApiClient::AddressVerifySyntaxOnlyResponse](docs/AddressVerifySyntaxOnlyResponse.md)
137
+ - [CloudmersiveValidateApiClient::BotCheckResponse](docs/BotCheckResponse.md)
135
138
  - [CloudmersiveValidateApiClient::CheckResponse](docs/CheckResponse.md)
136
139
  - [CloudmersiveValidateApiClient::CountryDetails](docs/CountryDetails.md)
137
140
  - [CloudmersiveValidateApiClient::CountryListResult](docs/CountryListResult.md)
@@ -152,6 +155,7 @@ Class | Method | HTTP request | Description
152
155
  - [CloudmersiveValidateApiClient::GetPublicHolidaysRequest](docs/GetPublicHolidaysRequest.md)
153
156
  - [CloudmersiveValidateApiClient::GetTimezonesRequest](docs/GetTimezonesRequest.md)
154
157
  - [CloudmersiveValidateApiClient::GetTimezonesResponse](docs/GetTimezonesResponse.md)
158
+ - [CloudmersiveValidateApiClient::IPIntelligenceResponse](docs/IPIntelligenceResponse.md)
155
159
  - [CloudmersiveValidateApiClient::IPReverseDNSLookupResponse](docs/IPReverseDNSLookupResponse.md)
156
160
  - [CloudmersiveValidateApiClient::IPThreatResponse](docs/IPThreatResponse.md)
157
161
  - [CloudmersiveValidateApiClient::LastNameValidationRequest](docs/LastNameValidationRequest.md)
@@ -0,0 +1,8 @@
1
+ # CloudmersiveValidateApiClient::BotCheckResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **is_bot** | **BOOLEAN** | True if the input IP address is a Bot or Robot, false otherwise | [optional]
7
+
8
+
@@ -5,6 +5,8 @@ All URIs are relative to *https://api.cloudmersive.com*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**i_p_address_geolocate_street_address**](IPAddressApi.md#i_p_address_geolocate_street_address) | **POST** /validate/ip/geolocate/street-address | Geolocate an IP address to a street address
8
+ [**i_p_address_ip_intelligence**](IPAddressApi.md#i_p_address_ip_intelligence) | **POST** /validate/ip/intelligence | Get intelligence on an IP address
9
+ [**i_p_address_is_bot**](IPAddressApi.md#i_p_address_is_bot) | **POST** /validate/ip/is-bot | Check if IP address is a Bot client
8
10
  [**i_p_address_is_threat**](IPAddressApi.md#i_p_address_is_threat) | **POST** /validate/ip/is-threat | Check if IP address is a known threat
9
11
  [**i_p_address_is_tor_node**](IPAddressApi.md#i_p_address_is_tor_node) | **POST** /validate/ip/is-tor-node | Check if IP address is a Tor node server
10
12
  [**i_p_address_post**](IPAddressApi.md#i_p_address_post) | **POST** /validate/ip/geolocate | Geolocate an IP address
@@ -65,6 +67,114 @@ Name | Type | Description | Notes
65
67
 
66
68
 
67
69
 
70
+ # **i_p_address_ip_intelligence**
71
+ > IPIntelligenceResponse i_p_address_ip_intelligence(value)
72
+
73
+ Get intelligence on an IP address
74
+
75
+ Identify key intelligence about an IP address, including if it is a known threat IP, known bot, Tor exit node, as well as the location of the IP address.
76
+
77
+ ### Example
78
+ ```ruby
79
+ # load the gem
80
+ require 'cloudmersive-validate-api-client'
81
+ # setup authorization
82
+ CloudmersiveValidateApiClient.configure do |config|
83
+ # Configure API key authorization: Apikey
84
+ config.api_key['Apikey'] = 'YOUR API KEY'
85
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
86
+ #config.api_key_prefix['Apikey'] = 'Bearer'
87
+ end
88
+
89
+ api_instance = CloudmersiveValidateApiClient::IPAddressApi.new
90
+
91
+ value = 'value_example' # String | IP address to process, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
92
+
93
+
94
+ begin
95
+ #Get intelligence on an IP address
96
+ result = api_instance.i_p_address_ip_intelligence(value)
97
+ p result
98
+ rescue CloudmersiveValidateApiClient::ApiError => e
99
+ puts "Exception when calling IPAddressApi->i_p_address_ip_intelligence: #{e}"
100
+ end
101
+ ```
102
+
103
+ ### Parameters
104
+
105
+ Name | Type | Description | Notes
106
+ ------------- | ------------- | ------------- | -------------
107
+ **value** | **String**| IP address to process, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes. |
108
+
109
+ ### Return type
110
+
111
+ [**IPIntelligenceResponse**](IPIntelligenceResponse.md)
112
+
113
+ ### Authorization
114
+
115
+ [Apikey](../README.md#Apikey)
116
+
117
+ ### HTTP request headers
118
+
119
+ - **Content-Type**: application/json, text/json
120
+ - **Accept**: application/json, text/json, application/xml, text/xml
121
+
122
+
123
+
124
+ # **i_p_address_is_bot**
125
+ > BotCheckResponse i_p_address_is_bot(value)
126
+
127
+ Check if IP address is a Bot client
128
+
129
+ Check if the input IP address is a Bot, robot, or otherwise a non-user entity. Leverages real-time signals to check against known high-probability bots..
130
+
131
+ ### Example
132
+ ```ruby
133
+ # load the gem
134
+ require 'cloudmersive-validate-api-client'
135
+ # setup authorization
136
+ CloudmersiveValidateApiClient.configure do |config|
137
+ # Configure API key authorization: Apikey
138
+ config.api_key['Apikey'] = 'YOUR API KEY'
139
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
140
+ #config.api_key_prefix['Apikey'] = 'Bearer'
141
+ end
142
+
143
+ api_instance = CloudmersiveValidateApiClient::IPAddressApi.new
144
+
145
+ value = 'value_example' # String | IP address to check, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
146
+
147
+
148
+ begin
149
+ #Check if IP address is a Bot client
150
+ result = api_instance.i_p_address_is_bot(value)
151
+ p result
152
+ rescue CloudmersiveValidateApiClient::ApiError => e
153
+ puts "Exception when calling IPAddressApi->i_p_address_is_bot: #{e}"
154
+ end
155
+ ```
156
+
157
+ ### Parameters
158
+
159
+ Name | Type | Description | Notes
160
+ ------------- | ------------- | ------------- | -------------
161
+ **value** | **String**| IP address to check, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes. |
162
+
163
+ ### Return type
164
+
165
+ [**BotCheckResponse**](BotCheckResponse.md)
166
+
167
+ ### Authorization
168
+
169
+ [Apikey](../README.md#Apikey)
170
+
171
+ ### HTTP request headers
172
+
173
+ - **Content-Type**: application/json, text/json
174
+ - **Accept**: application/json, text/json, application/xml, text/xml
175
+
176
+
177
+
68
178
  # **i_p_address_is_threat**
69
179
  > IPThreatResponse i_p_address_is_threat(value)
70
180
 
@@ -0,0 +1,16 @@
1
+ # CloudmersiveValidateApiClient::IPIntelligenceResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **is_bot** | **BOOLEAN** | True if the IP address is a known bot, otherwise false | [optional]
7
+ **is_tor_node** | **BOOLEAN** | True if the IP address is a known Tor exit node, otherwise false | [optional]
8
+ **is_threat** | **BOOLEAN** | True if the IP address is a known threat IP, otherwise false | [optional]
9
+ **is_eu** | **BOOLEAN** | True if the IP address is in the European Union, otherwise false | [optional]
10
+ **location** | [**GeolocateResponse**](GeolocateResponse.md) | Returns the location of the IP address | [optional]
11
+ **currency_code** | **String** | ISO 4217 currency code for the IP address location | [optional]
12
+ **currency_name** | **String** | Name of the currency in English | [optional]
13
+ **region_area** | **String** | Region (continent) in which the country is located; possible values are None, Europe, Americas, Asia, Africa, Oceania | [optional]
14
+ **subregion_area** | **String** | Subregion in which the country is located; possible values are None, NorthernEurope, WesternEurope, SouthernEurope, EasternEurope, CentralAmerica, NorthernAmerica, SouthAmerica, EasternAfrica, MiddleAfrica, NorthernAfrica , SouthernAfrica , WesternAfrica , CentralAsia , EasternAsia , SouthernAsia , SouthEasternAsia , WesternAsia , Southern , Middle , AustraliaandNewZealand , Melanesia , Polynesia , Micronesia , Caribbean, | [optional]
15
+
16
+
@@ -19,6 +19,7 @@ require 'cloudmersive-validate-api-client/configuration'
19
19
  # Models
20
20
  require 'cloudmersive-validate-api-client/models/address_get_servers_response'
21
21
  require 'cloudmersive-validate-api-client/models/address_verify_syntax_only_response'
22
+ require 'cloudmersive-validate-api-client/models/bot_check_response'
22
23
  require 'cloudmersive-validate-api-client/models/check_response'
23
24
  require 'cloudmersive-validate-api-client/models/country_details'
24
25
  require 'cloudmersive-validate-api-client/models/country_list_result'
@@ -39,6 +40,7 @@ require 'cloudmersive-validate-api-client/models/get_gender_response'
39
40
  require 'cloudmersive-validate-api-client/models/get_public_holidays_request'
40
41
  require 'cloudmersive-validate-api-client/models/get_timezones_request'
41
42
  require 'cloudmersive-validate-api-client/models/get_timezones_response'
43
+ require 'cloudmersive-validate-api-client/models/ip_intelligence_response'
42
44
  require 'cloudmersive-validate-api-client/models/ip_reverse_dns_lookup_response'
43
45
  require 'cloudmersive-validate-api-client/models/ip_threat_response'
44
46
  require 'cloudmersive-validate-api-client/models/last_name_validation_request'
@@ -73,6 +73,114 @@ module CloudmersiveValidateApiClient
73
73
  end
74
74
  return data, status_code, headers
75
75
  end
76
+ # Get intelligence on an IP address
77
+ # Identify key intelligence about an IP address, including if it is a known threat IP, known bot, Tor exit node, as well as the location of the IP address.
78
+ # @param value IP address to process, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
79
+ # @param [Hash] opts the optional parameters
80
+ # @return [IPIntelligenceResponse]
81
+ def i_p_address_ip_intelligence(value, opts = {})
82
+ data, _status_code, _headers = i_p_address_ip_intelligence_with_http_info(value, opts)
83
+ data
84
+ end
85
+
86
+ # Get intelligence on an IP address
87
+ # Identify key intelligence about an IP address, including if it is a known threat IP, known bot, Tor exit node, as well as the location of the IP address.
88
+ # @param value IP address to process, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [Array<(IPIntelligenceResponse, Fixnum, Hash)>] IPIntelligenceResponse data, response status code and response headers
91
+ def i_p_address_ip_intelligence_with_http_info(value, opts = {})
92
+ if @api_client.config.debugging
93
+ @api_client.config.logger.debug 'Calling API: IPAddressApi.i_p_address_ip_intelligence ...'
94
+ end
95
+ # verify the required parameter 'value' is set
96
+ if @api_client.config.client_side_validation && value.nil?
97
+ fail ArgumentError, "Missing the required parameter 'value' when calling IPAddressApi.i_p_address_ip_intelligence"
98
+ end
99
+ # resource path
100
+ local_var_path = '/validate/ip/intelligence'
101
+
102
+ # query parameters
103
+ query_params = {}
104
+
105
+ # header parameters
106
+ header_params = {}
107
+ # HTTP header 'Accept' (if needed)
108
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
109
+ # HTTP header 'Content-Type'
110
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json'])
111
+
112
+ # form parameters
113
+ form_params = {}
114
+
115
+ # http body (model)
116
+ post_body = @api_client.object_to_http_body(value)
117
+ auth_names = ['Apikey']
118
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
119
+ :header_params => header_params,
120
+ :query_params => query_params,
121
+ :form_params => form_params,
122
+ :body => post_body,
123
+ :auth_names => auth_names,
124
+ :return_type => 'IPIntelligenceResponse')
125
+ if @api_client.config.debugging
126
+ @api_client.config.logger.debug "API called: IPAddressApi#i_p_address_ip_intelligence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
127
+ end
128
+ return data, status_code, headers
129
+ end
130
+ # Check if IP address is a Bot client
131
+ # Check if the input IP address is a Bot, robot, or otherwise a non-user entity. Leverages real-time signals to check against known high-probability bots..
132
+ # @param value IP address to check, e.g. \&quot;55.55.55.55\&quot;. The input is a string so be sure to enclose it in double-quotes.
133
+ # @param [Hash] opts the optional parameters
134
+ # @return [BotCheckResponse]
135
+ def i_p_address_is_bot(value, opts = {})
136
+ data, _status_code, _headers = i_p_address_is_bot_with_http_info(value, opts)
137
+ data
138
+ end
139
+
140
+ # Check if IP address is a Bot client
141
+ # Check if the input IP address is a Bot, robot, or otherwise a non-user entity. Leverages real-time signals to check against known high-probability bots..
142
+ # @param value IP address to check, e.g. \&quot;55.55.55.55\&quot;. The input is a string so be sure to enclose it in double-quotes.
143
+ # @param [Hash] opts the optional parameters
144
+ # @return [Array<(BotCheckResponse, Fixnum, Hash)>] BotCheckResponse data, response status code and response headers
145
+ def i_p_address_is_bot_with_http_info(value, opts = {})
146
+ if @api_client.config.debugging
147
+ @api_client.config.logger.debug 'Calling API: IPAddressApi.i_p_address_is_bot ...'
148
+ end
149
+ # verify the required parameter 'value' is set
150
+ if @api_client.config.client_side_validation && value.nil?
151
+ fail ArgumentError, "Missing the required parameter 'value' when calling IPAddressApi.i_p_address_is_bot"
152
+ end
153
+ # resource path
154
+ local_var_path = '/validate/ip/is-bot'
155
+
156
+ # query parameters
157
+ query_params = {}
158
+
159
+ # header parameters
160
+ header_params = {}
161
+ # HTTP header 'Accept' (if needed)
162
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
163
+ # HTTP header 'Content-Type'
164
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json'])
165
+
166
+ # form parameters
167
+ form_params = {}
168
+
169
+ # http body (model)
170
+ post_body = @api_client.object_to_http_body(value)
171
+ auth_names = ['Apikey']
172
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
173
+ :header_params => header_params,
174
+ :query_params => query_params,
175
+ :form_params => form_params,
176
+ :body => post_body,
177
+ :auth_names => auth_names,
178
+ :return_type => 'BotCheckResponse')
179
+ if @api_client.config.debugging
180
+ @api_client.config.logger.debug "API called: IPAddressApi#i_p_address_is_bot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
181
+ end
182
+ return data, status_code, headers
183
+ end
76
184
  # Check if IP address is a known threat
77
185
  # Check if the input IP address is a known threat IP address. Checks against known bad IPs, botnets, compromised servers, and other lists of threats.
78
186
  # @param value IP address to check, e.g. \&quot;55.55.55.55\&quot;. The input is a string so be sure to enclose it in double-quotes.
@@ -0,0 +1,186 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudmersiveValidateApiClient
16
+ # Result of performing a Bot check on an IP address
17
+ class BotCheckResponse
18
+ # True if the input IP address is a Bot or Robot, false otherwise
19
+ attr_accessor :is_bot
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'is_bot' => :'IsBot'
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.swagger_types
30
+ {
31
+ :'is_bot' => :'BOOLEAN'
32
+ }
33
+ end
34
+
35
+ # Initializes the object
36
+ # @param [Hash] attributes Model attributes in the form of hash
37
+ def initialize(attributes = {})
38
+ return unless attributes.is_a?(Hash)
39
+
40
+ # convert string to symbol for hash key
41
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
42
+
43
+ if attributes.has_key?(:'IsBot')
44
+ self.is_bot = attributes[:'IsBot']
45
+ end
46
+ end
47
+
48
+ # Show invalid properties with the reasons. Usually used together with valid?
49
+ # @return Array for valid properties with the reasons
50
+ def list_invalid_properties
51
+ invalid_properties = Array.new
52
+ invalid_properties
53
+ end
54
+
55
+ # Check to see if the all the properties in the model are valid
56
+ # @return true if the model is valid
57
+ def valid?
58
+ true
59
+ end
60
+
61
+ # Checks equality by comparing each attribute.
62
+ # @param [Object] Object to be compared
63
+ def ==(o)
64
+ return true if self.equal?(o)
65
+ self.class == o.class &&
66
+ is_bot == o.is_bot
67
+ end
68
+
69
+ # @see the `==` method
70
+ # @param [Object] Object to be compared
71
+ def eql?(o)
72
+ self == o
73
+ end
74
+
75
+ # Calculates hash code according to all attributes.
76
+ # @return [Fixnum] Hash code
77
+ def hash
78
+ [is_bot].hash
79
+ end
80
+
81
+ # Builds the object from hash
82
+ # @param [Hash] attributes Model attributes in the form of hash
83
+ # @return [Object] Returns the model itself
84
+ def build_from_hash(attributes)
85
+ return nil unless attributes.is_a?(Hash)
86
+ self.class.swagger_types.each_pair do |key, type|
87
+ if type =~ /\AArray<(.*)>/i
88
+ # check to ensure the input is an array given that the attribute
89
+ # is documented as an array but the input is not
90
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
91
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
92
+ end
93
+ elsif !attributes[self.class.attribute_map[key]].nil?
94
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
95
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
96
+ end
97
+
98
+ self
99
+ end
100
+
101
+ # Deserializes the data based on type
102
+ # @param string type Data type
103
+ # @param string value Value to be deserialized
104
+ # @return [Object] Deserialized data
105
+ def _deserialize(type, value)
106
+ case type.to_sym
107
+ when :DateTime
108
+ DateTime.parse(value)
109
+ when :Date
110
+ Date.parse(value)
111
+ when :String
112
+ value.to_s
113
+ when :Integer
114
+ value.to_i
115
+ when :Float
116
+ value.to_f
117
+ when :BOOLEAN
118
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
119
+ true
120
+ else
121
+ false
122
+ end
123
+ when :Object
124
+ # generic object (usually a Hash), return directly
125
+ value
126
+ when /\AArray<(?<inner_type>.+)>\z/
127
+ inner_type = Regexp.last_match[:inner_type]
128
+ value.map { |v| _deserialize(inner_type, v) }
129
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
130
+ k_type = Regexp.last_match[:k_type]
131
+ v_type = Regexp.last_match[:v_type]
132
+ {}.tap do |hash|
133
+ value.each do |k, v|
134
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
135
+ end
136
+ end
137
+ else # model
138
+ temp_model = CloudmersiveValidateApiClient.const_get(type).new
139
+ temp_model.build_from_hash(value)
140
+ end
141
+ end
142
+
143
+ # Returns the string representation of the object
144
+ # @return [String] String presentation of the object
145
+ def to_s
146
+ to_hash.to_s
147
+ end
148
+
149
+ # to_body is an alias to to_hash (backward compatibility)
150
+ # @return [Hash] Returns the object in the form of hash
151
+ def to_body
152
+ to_hash
153
+ end
154
+
155
+ # Returns the object in the form of hash
156
+ # @return [Hash] Returns the object in the form of hash
157
+ def to_hash
158
+ hash = {}
159
+ self.class.attribute_map.each_pair do |attr, param|
160
+ value = self.send(attr)
161
+ next if value.nil?
162
+ hash[param] = _to_hash(value)
163
+ end
164
+ hash
165
+ end
166
+
167
+ # Outputs non-array value in the form of hash
168
+ # For object, use to_hash. Otherwise, just return the value
169
+ # @param [Object] value Any valid value
170
+ # @return [Hash] Returns the value in the form of hash
171
+ def _to_hash(value)
172
+ if value.is_a?(Array)
173
+ value.compact.map { |v| _to_hash(v) }
174
+ elsif value.is_a?(Hash)
175
+ {}.tap do |hash|
176
+ value.each { |k, v| hash[k] = _to_hash(v) }
177
+ end
178
+ elsif value.respond_to? :to_hash
179
+ value.to_hash
180
+ else
181
+ value
182
+ end
183
+ end
184
+
185
+ end
186
+ end
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.4.14
13
13
  require 'date'
14
14
 
15
15
  module CloudmersiveValidateApiClient
16
- # Geolocation result
16
+ # Geolocation result of performing an IP address geolocation operation. This product includes GeoLite2 data created by MaxMind, available from www.maxmind.com.
17
17
  class GeolocateResponse
18
18
  # Two-letter country code of IP address
19
19
  attr_accessor :country_code
@@ -0,0 +1,266 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudmersiveValidateApiClient
16
+ # IP address intelligence result
17
+ class IPIntelligenceResponse
18
+ # True if the IP address is a known bot, otherwise false
19
+ attr_accessor :is_bot
20
+
21
+ # True if the IP address is a known Tor exit node, otherwise false
22
+ attr_accessor :is_tor_node
23
+
24
+ # True if the IP address is a known threat IP, otherwise false
25
+ attr_accessor :is_threat
26
+
27
+ # True if the IP address is in the European Union, otherwise false
28
+ attr_accessor :is_eu
29
+
30
+ # Returns the location of the IP address
31
+ attr_accessor :location
32
+
33
+ # ISO 4217 currency code for the IP address location
34
+ attr_accessor :currency_code
35
+
36
+ # Name of the currency in English
37
+ attr_accessor :currency_name
38
+
39
+ # Region (continent) in which the country is located; possible values are None, Europe, Americas, Asia, Africa, Oceania
40
+ attr_accessor :region_area
41
+
42
+ # Subregion in which the country is located; possible values are None, NorthernEurope, WesternEurope, SouthernEurope, EasternEurope, CentralAmerica, NorthernAmerica, SouthAmerica, EasternAfrica, MiddleAfrica, NorthernAfrica , SouthernAfrica , WesternAfrica , CentralAsia , EasternAsia , SouthernAsia , SouthEasternAsia , WesternAsia , Southern , Middle , AustraliaandNewZealand , Melanesia , Polynesia , Micronesia , Caribbean,
43
+ attr_accessor :subregion_area
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'is_bot' => :'IsBot',
49
+ :'is_tor_node' => :'IsTorNode',
50
+ :'is_threat' => :'IsThreat',
51
+ :'is_eu' => :'IsEU',
52
+ :'location' => :'Location',
53
+ :'currency_code' => :'CurrencyCode',
54
+ :'currency_name' => :'CurrencyName',
55
+ :'region_area' => :'RegionArea',
56
+ :'subregion_area' => :'SubregionArea'
57
+ }
58
+ end
59
+
60
+ # Attribute type mapping.
61
+ def self.swagger_types
62
+ {
63
+ :'is_bot' => :'BOOLEAN',
64
+ :'is_tor_node' => :'BOOLEAN',
65
+ :'is_threat' => :'BOOLEAN',
66
+ :'is_eu' => :'BOOLEAN',
67
+ :'location' => :'GeolocateResponse',
68
+ :'currency_code' => :'String',
69
+ :'currency_name' => :'String',
70
+ :'region_area' => :'String',
71
+ :'subregion_area' => :'String'
72
+ }
73
+ end
74
+
75
+ # Initializes the object
76
+ # @param [Hash] attributes Model attributes in the form of hash
77
+ def initialize(attributes = {})
78
+ return unless attributes.is_a?(Hash)
79
+
80
+ # convert string to symbol for hash key
81
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
82
+
83
+ if attributes.has_key?(:'IsBot')
84
+ self.is_bot = attributes[:'IsBot']
85
+ end
86
+
87
+ if attributes.has_key?(:'IsTorNode')
88
+ self.is_tor_node = attributes[:'IsTorNode']
89
+ end
90
+
91
+ if attributes.has_key?(:'IsThreat')
92
+ self.is_threat = attributes[:'IsThreat']
93
+ end
94
+
95
+ if attributes.has_key?(:'IsEU')
96
+ self.is_eu = attributes[:'IsEU']
97
+ end
98
+
99
+ if attributes.has_key?(:'Location')
100
+ self.location = attributes[:'Location']
101
+ end
102
+
103
+ if attributes.has_key?(:'CurrencyCode')
104
+ self.currency_code = attributes[:'CurrencyCode']
105
+ end
106
+
107
+ if attributes.has_key?(:'CurrencyName')
108
+ self.currency_name = attributes[:'CurrencyName']
109
+ end
110
+
111
+ if attributes.has_key?(:'RegionArea')
112
+ self.region_area = attributes[:'RegionArea']
113
+ end
114
+
115
+ if attributes.has_key?(:'SubregionArea')
116
+ self.subregion_area = attributes[:'SubregionArea']
117
+ end
118
+ end
119
+
120
+ # Show invalid properties with the reasons. Usually used together with valid?
121
+ # @return Array for valid properties with the reasons
122
+ def list_invalid_properties
123
+ invalid_properties = Array.new
124
+ invalid_properties
125
+ end
126
+
127
+ # Check to see if the all the properties in the model are valid
128
+ # @return true if the model is valid
129
+ def valid?
130
+ true
131
+ end
132
+
133
+ # Checks equality by comparing each attribute.
134
+ # @param [Object] Object to be compared
135
+ def ==(o)
136
+ return true if self.equal?(o)
137
+ self.class == o.class &&
138
+ is_bot == o.is_bot &&
139
+ is_tor_node == o.is_tor_node &&
140
+ is_threat == o.is_threat &&
141
+ is_eu == o.is_eu &&
142
+ location == o.location &&
143
+ currency_code == o.currency_code &&
144
+ currency_name == o.currency_name &&
145
+ region_area == o.region_area &&
146
+ subregion_area == o.subregion_area
147
+ end
148
+
149
+ # @see the `==` method
150
+ # @param [Object] Object to be compared
151
+ def eql?(o)
152
+ self == o
153
+ end
154
+
155
+ # Calculates hash code according to all attributes.
156
+ # @return [Fixnum] Hash code
157
+ def hash
158
+ [is_bot, is_tor_node, is_threat, is_eu, location, currency_code, currency_name, region_area, subregion_area].hash
159
+ end
160
+
161
+ # Builds the object from hash
162
+ # @param [Hash] attributes Model attributes in the form of hash
163
+ # @return [Object] Returns the model itself
164
+ def build_from_hash(attributes)
165
+ return nil unless attributes.is_a?(Hash)
166
+ self.class.swagger_types.each_pair do |key, type|
167
+ if type =~ /\AArray<(.*)>/i
168
+ # check to ensure the input is an array given that the attribute
169
+ # is documented as an array but the input is not
170
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
171
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
172
+ end
173
+ elsif !attributes[self.class.attribute_map[key]].nil?
174
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
175
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
176
+ end
177
+
178
+ self
179
+ end
180
+
181
+ # Deserializes the data based on type
182
+ # @param string type Data type
183
+ # @param string value Value to be deserialized
184
+ # @return [Object] Deserialized data
185
+ def _deserialize(type, value)
186
+ case type.to_sym
187
+ when :DateTime
188
+ DateTime.parse(value)
189
+ when :Date
190
+ Date.parse(value)
191
+ when :String
192
+ value.to_s
193
+ when :Integer
194
+ value.to_i
195
+ when :Float
196
+ value.to_f
197
+ when :BOOLEAN
198
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
199
+ true
200
+ else
201
+ false
202
+ end
203
+ when :Object
204
+ # generic object (usually a Hash), return directly
205
+ value
206
+ when /\AArray<(?<inner_type>.+)>\z/
207
+ inner_type = Regexp.last_match[:inner_type]
208
+ value.map { |v| _deserialize(inner_type, v) }
209
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
210
+ k_type = Regexp.last_match[:k_type]
211
+ v_type = Regexp.last_match[:v_type]
212
+ {}.tap do |hash|
213
+ value.each do |k, v|
214
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
215
+ end
216
+ end
217
+ else # model
218
+ temp_model = CloudmersiveValidateApiClient.const_get(type).new
219
+ temp_model.build_from_hash(value)
220
+ end
221
+ end
222
+
223
+ # Returns the string representation of the object
224
+ # @return [String] String presentation of the object
225
+ def to_s
226
+ to_hash.to_s
227
+ end
228
+
229
+ # to_body is an alias to to_hash (backward compatibility)
230
+ # @return [Hash] Returns the object in the form of hash
231
+ def to_body
232
+ to_hash
233
+ end
234
+
235
+ # Returns the object in the form of hash
236
+ # @return [Hash] Returns the object in the form of hash
237
+ def to_hash
238
+ hash = {}
239
+ self.class.attribute_map.each_pair do |attr, param|
240
+ value = self.send(attr)
241
+ next if value.nil?
242
+ hash[param] = _to_hash(value)
243
+ end
244
+ hash
245
+ end
246
+
247
+ # Outputs non-array value in the form of hash
248
+ # For object, use to_hash. Otherwise, just return the value
249
+ # @param [Object] value Any valid value
250
+ # @return [Hash] Returns the value in the form of hash
251
+ def _to_hash(value)
252
+ if value.is_a?(Array)
253
+ value.compact.map { |v| _to_hash(v) }
254
+ elsif value.is_a?(Hash)
255
+ {}.tap do |hash|
256
+ value.each { |k, v| hash[k] = _to_hash(v) }
257
+ end
258
+ elsif value.respond_to? :to_hash
259
+ value.to_hash
260
+ else
261
+ value
262
+ end
263
+ end
264
+
265
+ end
266
+ end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.14
11
11
  =end
12
12
 
13
13
  module CloudmersiveValidateApiClient
14
- VERSION = '2.1.4'
14
+ VERSION = '2.1.5'
15
15
  end
@@ -44,6 +44,30 @@ describe 'IPAddressApi' do
44
44
  end
45
45
  end
46
46
 
47
+ # unit tests for i_p_address_ip_intelligence
48
+ # Get intelligence on an IP address
49
+ # Identify key intelligence about an IP address, including if it is a known threat IP, known bot, Tor exit node, as well as the location of the IP address.
50
+ # @param value IP address to process, e.g. \&quot;55.55.55.55\&quot;. The input is a string so be sure to enclose it in double-quotes.
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [IPIntelligenceResponse]
53
+ describe 'i_p_address_ip_intelligence test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for i_p_address_is_bot
60
+ # Check if IP address is a Bot client
61
+ # Check if the input IP address is a Bot, robot, or otherwise a non-user entity. Leverages real-time signals to check against known high-probability bots..
62
+ # @param value IP address to check, e.g. \&quot;55.55.55.55\&quot;. The input is a string so be sure to enclose it in double-quotes.
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [BotCheckResponse]
65
+ describe 'i_p_address_is_bot test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
47
71
  # unit tests for i_p_address_is_threat
48
72
  # Check if IP address is a known threat
49
73
  # Check if the input IP address is a known threat IP address. Checks against known bad IPs, botnets, compromised servers, and other lists of threats.
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::BotCheckResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'BotCheckResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::BotCheckResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of BotCheckResponse' do
31
+ it 'should create an instance of BotCheckResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::BotCheckResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "is_bot"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,89 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::IPIntelligenceResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'IPIntelligenceResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::IPIntelligenceResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of IPIntelligenceResponse' do
31
+ it 'should create an instance of IPIntelligenceResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::IPIntelligenceResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "is_bot"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "is_tor_node"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "is_threat"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "is_eu"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "location"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "currency_code"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "currency_name"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "region_area"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "subregion_area"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmersive-validate-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-26 00:00:00.000000000 Z
11
+ date: 2020-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -206,6 +206,7 @@ files:
206
206
  - "./docs/AddressApi.md"
207
207
  - "./docs/AddressGetServersResponse.md"
208
208
  - "./docs/AddressVerifySyntaxOnlyResponse.md"
209
+ - "./docs/BotCheckResponse.md"
209
210
  - "./docs/CheckResponse.md"
210
211
  - "./docs/CountryDetails.md"
211
212
  - "./docs/CountryListResult.md"
@@ -230,6 +231,7 @@ files:
230
231
  - "./docs/GetTimezonesRequest.md"
231
232
  - "./docs/GetTimezonesResponse.md"
232
233
  - "./docs/IPAddressApi.md"
234
+ - "./docs/IPIntelligenceResponse.md"
233
235
  - "./docs/IPReverseDNSLookupResponse.md"
234
236
  - "./docs/IPThreatResponse.md"
235
237
  - "./docs/LastNameValidationRequest.md"
@@ -296,6 +298,7 @@ files:
296
298
  - "./lib/cloudmersive-validate-api-client/configuration.rb"
297
299
  - "./lib/cloudmersive-validate-api-client/models/address_get_servers_response.rb"
298
300
  - "./lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb"
301
+ - "./lib/cloudmersive-validate-api-client/models/bot_check_response.rb"
299
302
  - "./lib/cloudmersive-validate-api-client/models/check_response.rb"
300
303
  - "./lib/cloudmersive-validate-api-client/models/country_details.rb"
301
304
  - "./lib/cloudmersive-validate-api-client/models/country_list_result.rb"
@@ -316,6 +319,7 @@ files:
316
319
  - "./lib/cloudmersive-validate-api-client/models/get_public_holidays_request.rb"
317
320
  - "./lib/cloudmersive-validate-api-client/models/get_timezones_request.rb"
318
321
  - "./lib/cloudmersive-validate-api-client/models/get_timezones_response.rb"
322
+ - "./lib/cloudmersive-validate-api-client/models/ip_intelligence_response.rb"
319
323
  - "./lib/cloudmersive-validate-api-client/models/ip_reverse_dns_lookup_response.rb"
320
324
  - "./lib/cloudmersive-validate-api-client/models/ip_threat_response.rb"
321
325
  - "./lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb"
@@ -374,6 +378,7 @@ files:
374
378
  - "./spec/configuration_spec.rb"
375
379
  - "./spec/models/address_get_servers_response_spec.rb"
376
380
  - "./spec/models/address_verify_syntax_only_response_spec.rb"
381
+ - "./spec/models/bot_check_response_spec.rb"
377
382
  - "./spec/models/check_response_spec.rb"
378
383
  - "./spec/models/country_details_spec.rb"
379
384
  - "./spec/models/country_list_result_spec.rb"
@@ -394,6 +399,7 @@ files:
394
399
  - "./spec/models/get_public_holidays_request_spec.rb"
395
400
  - "./spec/models/get_timezones_request_spec.rb"
396
401
  - "./spec/models/get_timezones_response_spec.rb"
402
+ - "./spec/models/ip_intelligence_response_spec.rb"
397
403
  - "./spec/models/ip_reverse_dns_lookup_response_spec.rb"
398
404
  - "./spec/models/ip_threat_response_spec.rb"
399
405
  - "./spec/models/last_name_validation_request_spec.rb"