cloudmersive-validate-api-client 1.3.6 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -9
  3. data/cloudmersive-validate-api-client.gemspec +1 -1
  4. data/docs/AddressApi.md +166 -1
  5. data/docs/AddressGetServersResponse.md +2 -2
  6. data/docs/AddressVerifySyntaxOnlyResponse.md +3 -0
  7. data/docs/DomainApi.md +8 -8
  8. data/docs/EmailApi.md +3 -3
  9. data/docs/GetTimezonesRequest.md +8 -0
  10. data/docs/GetTimezonesResponse.md +13 -0
  11. data/docs/IPAddressApi.md +1 -1
  12. data/docs/LeadEnrichmentApi.md +61 -0
  13. data/docs/LeadEnrichmentRequest.md +21 -0
  14. data/docs/LeadEnrichmentResponse.md +25 -0
  15. data/docs/NameApi.md +59 -4
  16. data/docs/ParseAddressResponse.md +2 -1
  17. data/docs/PhoneNumberApi.md +1 -1
  18. data/docs/Timezone.md +10 -0
  19. data/docs/UserAgentApi.md +1 -1
  20. data/docs/ValidateAddressRequest.md +13 -0
  21. data/docs/ValidateAddressResponse.md +10 -0
  22. data/docs/ValidateCountryRequest.md +8 -0
  23. data/docs/ValidateCountryResponse.md +13 -0
  24. data/docs/ValidateIdentifierRequest.md +15 -0
  25. data/docs/ValidateIdentifierResponse.md +9 -0
  26. data/docs/ValidateUrlRequestFull.md +1 -1
  27. data/docs/ValidateUrlRequestSyntaxOnly.md +1 -1
  28. data/docs/VatApi.md +5 -5
  29. data/docs/VatLookupRequest.md +1 -1
  30. data/docs/VatLookupResponse.md +12 -5
  31. data/docs/WhoisResponse.md +11 -0
  32. data/lib/cloudmersive-validate-api-client.rb +13 -1
  33. data/lib/cloudmersive-validate-api-client/api/address_api.rb +167 -2
  34. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +9 -9
  35. data/lib/cloudmersive-validate-api-client/api/email_api.rb +4 -4
  36. data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +2 -2
  37. data/lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb +78 -0
  38. data/lib/cloudmersive-validate-api-client/api/name_api.rb +60 -5
  39. data/lib/cloudmersive-validate-api-client/api/phone_number_api.rb +2 -2
  40. data/lib/cloudmersive-validate-api-client/api/user_agent_api.rb +2 -2
  41. data/lib/cloudmersive-validate-api-client/api/vat_api.rb +6 -6
  42. data/lib/cloudmersive-validate-api-client/api_client.rb +1 -1
  43. data/lib/cloudmersive-validate-api-client/api_error.rb +1 -1
  44. data/lib/cloudmersive-validate-api-client/configuration.rb +1 -1
  45. data/lib/cloudmersive-validate-api-client/models/address_get_servers_response.rb +3 -1
  46. data/lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb +35 -5
  47. data/lib/cloudmersive-validate-api-client/models/check_response.rb +1 -1
  48. data/lib/cloudmersive-validate-api-client/models/first_name_validation_request.rb +1 -1
  49. data/lib/cloudmersive-validate-api-client/models/first_name_validation_response.rb +1 -1
  50. data/lib/cloudmersive-validate-api-client/models/full_email_validation_response.rb +1 -1
  51. data/lib/cloudmersive-validate-api-client/models/full_name_validation_request.rb +1 -1
  52. data/lib/cloudmersive-validate-api-client/models/full_name_validation_response.rb +1 -1
  53. data/lib/cloudmersive-validate-api-client/models/geolocate_response.rb +1 -1
  54. data/lib/cloudmersive-validate-api-client/models/get_gender_request.rb +1 -1
  55. data/lib/cloudmersive-validate-api-client/models/get_gender_response.rb +1 -1
  56. data/lib/cloudmersive-validate-api-client/models/get_timezones_request.rb +189 -0
  57. data/lib/cloudmersive-validate-api-client/models/get_timezones_response.rb +241 -0
  58. data/lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb +1 -1
  59. data/lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb +1 -1
  60. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb +319 -0
  61. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb +359 -0
  62. data/lib/cloudmersive-validate-api-client/models/parse_address_request.rb +1 -1
  63. data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +18 -8
  64. data/lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb +1 -1
  65. data/lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb +1 -1
  66. data/lib/cloudmersive-validate-api-client/models/timezone.rb +209 -0
  67. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb +1 -1
  68. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb +1 -1
  69. data/lib/cloudmersive-validate-api-client/models/validate_address_request.rb +239 -0
  70. data/lib/cloudmersive-validate-api-client/models/validate_address_response.rb +209 -0
  71. data/lib/cloudmersive-validate-api-client/models/validate_country_request.rb +189 -0
  72. data/lib/cloudmersive-validate-api-client/models/validate_country_response.rb +241 -0
  73. data/lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb +259 -0
  74. data/lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb +199 -0
  75. data/lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb +2 -1
  76. data/lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb +2 -1
  77. data/lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb +1 -1
  78. data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +1 -1
  79. data/lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb +2 -1
  80. data/lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb +80 -5
  81. data/lib/cloudmersive-validate-api-client/models/whois_response.rb +112 -2
  82. data/lib/cloudmersive-validate-api-client/version.rb +2 -2
  83. data/spec/api/address_api_spec.rb +37 -1
  84. data/spec/api/domain_api_spec.rb +3 -3
  85. data/spec/api/email_api_spec.rb +1 -1
  86. data/spec/api/ip_address_api_spec.rb +1 -1
  87. data/spec/api/lead_enrichment_api_spec.rb +47 -0
  88. data/spec/api/name_api_spec.rb +13 -1
  89. data/spec/api/phone_number_api_spec.rb +1 -1
  90. data/spec/api/user_agent_api_spec.rb +1 -1
  91. data/spec/api/vat_api_spec.rb +3 -3
  92. data/spec/api_client_spec.rb +1 -1
  93. data/spec/configuration_spec.rb +1 -1
  94. data/spec/models/address_get_servers_response_spec.rb +1 -1
  95. data/spec/models/address_verify_syntax_only_response_spec.rb +19 -1
  96. data/spec/models/check_response_spec.rb +1 -1
  97. data/spec/models/first_name_validation_request_spec.rb +1 -1
  98. data/spec/models/first_name_validation_response_spec.rb +1 -1
  99. data/spec/models/full_email_validation_response_spec.rb +1 -1
  100. data/spec/models/full_name_validation_request_spec.rb +1 -1
  101. data/spec/models/full_name_validation_response_spec.rb +1 -1
  102. data/spec/models/geolocate_response_spec.rb +1 -1
  103. data/spec/models/get_gender_request_spec.rb +1 -1
  104. data/spec/models/get_gender_response_spec.rb +1 -1
  105. data/spec/models/get_timezones_request_spec.rb +42 -0
  106. data/spec/models/get_timezones_response_spec.rb +72 -0
  107. data/spec/models/last_name_validation_request_spec.rb +1 -1
  108. data/spec/models/last_name_validation_response_spec.rb +1 -1
  109. data/spec/models/lead_enrichment_request_spec.rb +120 -0
  110. data/spec/models/lead_enrichment_response_spec.rb +144 -0
  111. data/spec/models/parse_address_request_spec.rb +1 -1
  112. data/spec/models/parse_address_response_spec.rb +8 -2
  113. data/spec/models/phone_number_validate_request_spec.rb +1 -1
  114. data/spec/models/phone_number_validation_response_spec.rb +1 -1
  115. data/spec/models/timezone_spec.rb +54 -0
  116. data/spec/models/user_agent_validate_request_spec.rb +1 -1
  117. data/spec/models/user_agent_validate_response_spec.rb +1 -1
  118. data/spec/models/validate_address_request_spec.rb +72 -0
  119. data/spec/models/validate_address_response_spec.rb +54 -0
  120. data/spec/models/validate_country_request_spec.rb +42 -0
  121. data/spec/models/validate_country_response_spec.rb +72 -0
  122. data/spec/models/validate_identifier_request_spec.rb +84 -0
  123. data/spec/models/validate_identifier_response_spec.rb +48 -0
  124. data/spec/models/validate_url_request_full_spec.rb +1 -1
  125. data/spec/models/validate_url_request_syntax_only_spec.rb +1 -1
  126. data/spec/models/validate_url_response_full_spec.rb +1 -1
  127. data/spec/models/validate_url_response_syntax_only_spec.rb +1 -1
  128. data/spec/models/vat_lookup_request_spec.rb +1 -1
  129. data/spec/models/vat_lookup_response_spec.rb +43 -1
  130. data/spec/models/whois_response_spec.rb +67 -1
  131. data/spec/spec_helper.rb +1 -1
  132. metadata +51 -16
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -15,6 +15,7 @@ require 'date'
15
15
  module CloudmersiveValidateApiClient
16
16
  # Request to determine if a URL is valid
17
17
  class ValidateUrlRequestFull
18
+ # URL to validate
18
19
  attr_accessor :url
19
20
 
20
21
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -15,6 +15,7 @@ require 'date'
15
15
  module CloudmersiveValidateApiClient
16
16
  # Request to determine if a URL is valid
17
17
  class ValidateUrlRequestSyntaxOnly
18
+ # URL to validate
18
19
  attr_accessor :url
19
20
 
20
21
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -15,6 +15,7 @@ require 'date'
15
15
  module CloudmersiveValidateApiClient
16
16
  # Input to a VAT lookup request
17
17
  class VatLookupRequest
18
+ # VAT code to lookup; example \"CZ25123891\"
18
19
  attr_accessor :vat_code
19
20
 
20
21
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -15,16 +15,42 @@ require 'date'
15
15
  module CloudmersiveValidateApiClient
16
16
 
17
17
  class VatLookupResponse
18
+ # Two-letter country code
18
19
  attr_accessor :country_code
19
20
 
21
+ # VAT number
20
22
  attr_accessor :vat_number
21
23
 
24
+ # True if the VAT code is valid, false otherwise
22
25
  attr_accessor :is_valid
23
26
 
27
+ # Name of the business
24
28
  attr_accessor :business_name
25
29
 
30
+ # Business address as a single string
26
31
  attr_accessor :business_address
27
32
 
33
+ # For the business address, the name of the building, house or structure if applicable, such as \"Cloudmersive Building 2\". This will often by null.
34
+ attr_accessor :business_building
35
+
36
+ # For the business address, the street number or house number of the address. For example, in the address \"1600 Pennsylvania Avenue NW\" the street number would be \"1600\". This value will typically be populated for most addresses.
37
+ attr_accessor :business_street_number
38
+
39
+ # For the business address, the name of the street or road of the address. For example, in the address \"1600 Pennsylvania Avenue NW\" the street number would be \"Pennsylvania Avenue NW\".
40
+ attr_accessor :business_street
41
+
42
+ # For the business address, the city of the address.
43
+ attr_accessor :business_city
44
+
45
+ # For the business address, the state or province of the address.
46
+ attr_accessor :business_state_or_province
47
+
48
+ # For the business address, the postal code or zip code of the address.
49
+ attr_accessor :business_postal_code
50
+
51
+ # For the business address, country of the address, if present in the address. If not included in the address it will be null.
52
+ attr_accessor :business_country
53
+
28
54
 
29
55
  # Attribute mapping from ruby-style variable name to JSON key.
30
56
  def self.attribute_map
@@ -33,7 +59,14 @@ module CloudmersiveValidateApiClient
33
59
  :'vat_number' => :'VatNumber',
34
60
  :'is_valid' => :'IsValid',
35
61
  :'business_name' => :'BusinessName',
36
- :'business_address' => :'BusinessAddress'
62
+ :'business_address' => :'BusinessAddress',
63
+ :'business_building' => :'BusinessBuilding',
64
+ :'business_street_number' => :'BusinessStreetNumber',
65
+ :'business_street' => :'BusinessStreet',
66
+ :'business_city' => :'BusinessCity',
67
+ :'business_state_or_province' => :'BusinessStateOrProvince',
68
+ :'business_postal_code' => :'BusinessPostalCode',
69
+ :'business_country' => :'BusinessCountry'
37
70
  }
38
71
  end
39
72
 
@@ -44,7 +77,14 @@ module CloudmersiveValidateApiClient
44
77
  :'vat_number' => :'String',
45
78
  :'is_valid' => :'BOOLEAN',
46
79
  :'business_name' => :'String',
47
- :'business_address' => :'String'
80
+ :'business_address' => :'String',
81
+ :'business_building' => :'String',
82
+ :'business_street_number' => :'String',
83
+ :'business_street' => :'String',
84
+ :'business_city' => :'String',
85
+ :'business_state_or_province' => :'String',
86
+ :'business_postal_code' => :'String',
87
+ :'business_country' => :'String'
48
88
  }
49
89
  end
50
90
 
@@ -76,6 +116,34 @@ module CloudmersiveValidateApiClient
76
116
  self.business_address = attributes[:'BusinessAddress']
77
117
  end
78
118
 
119
+ if attributes.has_key?(:'BusinessBuilding')
120
+ self.business_building = attributes[:'BusinessBuilding']
121
+ end
122
+
123
+ if attributes.has_key?(:'BusinessStreetNumber')
124
+ self.business_street_number = attributes[:'BusinessStreetNumber']
125
+ end
126
+
127
+ if attributes.has_key?(:'BusinessStreet')
128
+ self.business_street = attributes[:'BusinessStreet']
129
+ end
130
+
131
+ if attributes.has_key?(:'BusinessCity')
132
+ self.business_city = attributes[:'BusinessCity']
133
+ end
134
+
135
+ if attributes.has_key?(:'BusinessStateOrProvince')
136
+ self.business_state_or_province = attributes[:'BusinessStateOrProvince']
137
+ end
138
+
139
+ if attributes.has_key?(:'BusinessPostalCode')
140
+ self.business_postal_code = attributes[:'BusinessPostalCode']
141
+ end
142
+
143
+ if attributes.has_key?(:'BusinessCountry')
144
+ self.business_country = attributes[:'BusinessCountry']
145
+ end
146
+
79
147
  end
80
148
 
81
149
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -100,7 +168,14 @@ module CloudmersiveValidateApiClient
100
168
  vat_number == o.vat_number &&
101
169
  is_valid == o.is_valid &&
102
170
  business_name == o.business_name &&
103
- business_address == o.business_address
171
+ business_address == o.business_address &&
172
+ business_building == o.business_building &&
173
+ business_street_number == o.business_street_number &&
174
+ business_street == o.business_street &&
175
+ business_city == o.business_city &&
176
+ business_state_or_province == o.business_state_or_province &&
177
+ business_postal_code == o.business_postal_code &&
178
+ business_country == o.business_country
104
179
  end
105
180
 
106
181
  # @see the `==` method
@@ -112,7 +187,7 @@ module CloudmersiveValidateApiClient
112
187
  # Calculates hash code according to all attributes.
113
188
  # @return [Fixnum] Hash code
114
189
  def hash
115
- [country_code, vat_number, is_valid, business_name, business_address].hash
190
+ [country_code, vat_number, is_valid, business_name, business_address, business_building, business_street_number, business_street, business_city, business_state_or_province, business_postal_code, business_country].hash
116
191
  end
117
192
 
118
193
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -18,6 +18,39 @@ module CloudmersiveValidateApiClient
18
18
  # True if the domain is valid, false if it is not
19
19
  attr_accessor :valid_domain
20
20
 
21
+ # Name of the domain registrant
22
+ attr_accessor :registrant_name
23
+
24
+ # Organization name of the domain registrant
25
+ attr_accessor :registrant_organization
26
+
27
+ # Email address of the domain registrant
28
+ attr_accessor :registrant_email
29
+
30
+ # Street number of the address of the domain registrant, if available
31
+ attr_accessor :registrant_street_number
32
+
33
+ # Street name of the address of the domain registrant, if available
34
+ attr_accessor :registrant_street
35
+
36
+ # City of the domain registrant, if available
37
+ attr_accessor :registrant_city
38
+
39
+ # State or Province of the address of the domain registrant, if available
40
+ attr_accessor :registrant_state_or_province
41
+
42
+ # Postal code of the address of the domain registrant, if available
43
+ attr_accessor :registrant_postal_code
44
+
45
+ # Country of the address of the domain registrant, if available
46
+ attr_accessor :registrant_country
47
+
48
+ # Raw address string of the domain registrant, if available
49
+ attr_accessor :registrant_raw_address
50
+
51
+ # Telephone number of the address of the domain registrant
52
+ attr_accessor :registrant_telephone
53
+
21
54
  # Server used to lookup WHOIS information (may change based on lookup).
22
55
  attr_accessor :whois_server
23
56
 
@@ -32,6 +65,17 @@ module CloudmersiveValidateApiClient
32
65
  def self.attribute_map
33
66
  {
34
67
  :'valid_domain' => :'ValidDomain',
68
+ :'registrant_name' => :'RegistrantName',
69
+ :'registrant_organization' => :'RegistrantOrganization',
70
+ :'registrant_email' => :'RegistrantEmail',
71
+ :'registrant_street_number' => :'RegistrantStreetNumber',
72
+ :'registrant_street' => :'RegistrantStreet',
73
+ :'registrant_city' => :'RegistrantCity',
74
+ :'registrant_state_or_province' => :'RegistrantStateOrProvince',
75
+ :'registrant_postal_code' => :'RegistrantPostalCode',
76
+ :'registrant_country' => :'RegistrantCountry',
77
+ :'registrant_raw_address' => :'RegistrantRawAddress',
78
+ :'registrant_telephone' => :'RegistrantTelephone',
35
79
  :'whois_server' => :'WhoisServer',
36
80
  :'raw_text_record' => :'RawTextRecord',
37
81
  :'created_dt' => :'CreatedDt'
@@ -42,6 +86,17 @@ module CloudmersiveValidateApiClient
42
86
  def self.swagger_types
43
87
  {
44
88
  :'valid_domain' => :'BOOLEAN',
89
+ :'registrant_name' => :'String',
90
+ :'registrant_organization' => :'String',
91
+ :'registrant_email' => :'String',
92
+ :'registrant_street_number' => :'String',
93
+ :'registrant_street' => :'String',
94
+ :'registrant_city' => :'String',
95
+ :'registrant_state_or_province' => :'String',
96
+ :'registrant_postal_code' => :'String',
97
+ :'registrant_country' => :'String',
98
+ :'registrant_raw_address' => :'String',
99
+ :'registrant_telephone' => :'String',
45
100
  :'whois_server' => :'String',
46
101
  :'raw_text_record' => :'String',
47
102
  :'created_dt' => :'DateTime'
@@ -60,6 +115,50 @@ module CloudmersiveValidateApiClient
60
115
  self.valid_domain = attributes[:'ValidDomain']
61
116
  end
62
117
 
118
+ if attributes.has_key?(:'RegistrantName')
119
+ self.registrant_name = attributes[:'RegistrantName']
120
+ end
121
+
122
+ if attributes.has_key?(:'RegistrantOrganization')
123
+ self.registrant_organization = attributes[:'RegistrantOrganization']
124
+ end
125
+
126
+ if attributes.has_key?(:'RegistrantEmail')
127
+ self.registrant_email = attributes[:'RegistrantEmail']
128
+ end
129
+
130
+ if attributes.has_key?(:'RegistrantStreetNumber')
131
+ self.registrant_street_number = attributes[:'RegistrantStreetNumber']
132
+ end
133
+
134
+ if attributes.has_key?(:'RegistrantStreet')
135
+ self.registrant_street = attributes[:'RegistrantStreet']
136
+ end
137
+
138
+ if attributes.has_key?(:'RegistrantCity')
139
+ self.registrant_city = attributes[:'RegistrantCity']
140
+ end
141
+
142
+ if attributes.has_key?(:'RegistrantStateOrProvince')
143
+ self.registrant_state_or_province = attributes[:'RegistrantStateOrProvince']
144
+ end
145
+
146
+ if attributes.has_key?(:'RegistrantPostalCode')
147
+ self.registrant_postal_code = attributes[:'RegistrantPostalCode']
148
+ end
149
+
150
+ if attributes.has_key?(:'RegistrantCountry')
151
+ self.registrant_country = attributes[:'RegistrantCountry']
152
+ end
153
+
154
+ if attributes.has_key?(:'RegistrantRawAddress')
155
+ self.registrant_raw_address = attributes[:'RegistrantRawAddress']
156
+ end
157
+
158
+ if attributes.has_key?(:'RegistrantTelephone')
159
+ self.registrant_telephone = attributes[:'RegistrantTelephone']
160
+ end
161
+
63
162
  if attributes.has_key?(:'WhoisServer')
64
163
  self.whois_server = attributes[:'WhoisServer']
65
164
  end
@@ -93,6 +192,17 @@ module CloudmersiveValidateApiClient
93
192
  return true if self.equal?(o)
94
193
  self.class == o.class &&
95
194
  valid_domain == o.valid_domain &&
195
+ registrant_name == o.registrant_name &&
196
+ registrant_organization == o.registrant_organization &&
197
+ registrant_email == o.registrant_email &&
198
+ registrant_street_number == o.registrant_street_number &&
199
+ registrant_street == o.registrant_street &&
200
+ registrant_city == o.registrant_city &&
201
+ registrant_state_or_province == o.registrant_state_or_province &&
202
+ registrant_postal_code == o.registrant_postal_code &&
203
+ registrant_country == o.registrant_country &&
204
+ registrant_raw_address == o.registrant_raw_address &&
205
+ registrant_telephone == o.registrant_telephone &&
96
206
  whois_server == o.whois_server &&
97
207
  raw_text_record == o.raw_text_record &&
98
208
  created_dt == o.created_dt
@@ -107,7 +217,7 @@ module CloudmersiveValidateApiClient
107
217
  # Calculates hash code according to all attributes.
108
218
  # @return [Fixnum] Hash code
109
219
  def hash
110
- [valid_domain, whois_server, raw_text_record, created_dt].hash
220
+ [valid_domain, registrant_name, registrant_organization, registrant_email, registrant_street_number, registrant_street, registrant_city, registrant_state_or_province, registrant_postal_code, registrant_country, registrant_raw_address, registrant_telephone, whois_server, raw_text_record, created_dt].hash
111
221
  end
112
222
 
113
223
  # Builds the object from hash
@@ -6,10 +6,10 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  module CloudmersiveValidateApiClient
14
- VERSION = "1.3.6"
14
+ VERSION = "1.4.2"
15
15
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -32,6 +32,30 @@ describe 'AddressApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for address_country
36
+ # Validate and normalize country information, return ISO 3166-1 country codes and country name
37
+ # Validates and normalizes country information, and returns key information about a country. Also returns distinct time zones in the country.
38
+ # @param input Input request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [ValidateCountryResponse]
41
+ describe 'address_country test' 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
+ # unit tests for address_get_timezone
48
+ # Gets IANA/Olsen time zones for a country
49
+ # Gets the IANA/Olsen time zones for a country.
50
+ # @param input Input request
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [GetTimezonesResponse]
53
+ describe 'address_get_timezone 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
+
35
59
  # unit tests for address_parse_string
36
60
  # Parse an unstructured input text string into an international, formatted address
37
61
  # Uses machine learning and Natural Language Processing (NLP) to handle a wide array of cases, including non-standard and unstructured address strings across a wide array of countries and address formatting norms.
@@ -44,4 +68,16 @@ describe 'AddressApi' do
44
68
  end
45
69
  end
46
70
 
71
+ # unit tests for address_validate_address
72
+ # Validate a street address
73
+ # Determines if an input structured street address is valid or invalid. If the address is valid, also returns the latitude and longitude of the address.
74
+ # @param input Input parse request
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [ValidateAddressResponse]
77
+ describe 'address_validate_address test' 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
+
47
83
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -59,7 +59,7 @@ describe 'DomainApi' do
59
59
  # unit tests for domain_url_full
60
60
  # Validate a URL fully
61
61
  # Validate whether a URL is syntactically valid (does not check endpoint for validity), whether it exists, and whether the endpoint is up and passes virus scan checks. Accepts various types of input and produces a well-formed URL as output.
62
- # @param request
62
+ # @param request Input URL request
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @return [ValidateUrlResponseFull]
65
65
  describe 'domain_url_full test' do
@@ -71,7 +71,7 @@ describe 'DomainApi' do
71
71
  # unit tests for domain_url_syntax_only
72
72
  # Validate a URL syntactically
73
73
  # Validate whether a URL is syntactically valid (does not check endpoint for validity). Accepts various types of input and produces a well-formed URL as output.
74
- # @param request
74
+ # @param request Input URL information
75
75
  # @param [Hash] opts the optional parameters
76
76
  # @return [ValidateUrlResponseSyntaxOnly]
77
77
  describe 'domain_url_syntax_only test' do