cloudmersive-validate-api-client 1.3.3 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -9
  3. data/cloudmersive-validate-api-client.gemspec +1 -1
  4. data/docs/AddressApi.md +118 -0
  5. data/docs/AddressGetServersResponse.md +2 -2
  6. data/docs/AddressVerifySyntaxOnlyResponse.md +3 -0
  7. data/docs/DomainApi.md +112 -2
  8. data/docs/EmailApi.md +3 -3
  9. data/docs/IPAddressApi.md +1 -1
  10. data/docs/LeadEnrichmentApi.md +61 -0
  11. data/docs/LeadEnrichmentRequest.md +21 -0
  12. data/docs/LeadEnrichmentResponse.md +25 -0
  13. data/docs/NameApi.md +59 -4
  14. data/docs/ParseAddressRequest.md +9 -0
  15. data/docs/ParseAddressResponse.md +16 -0
  16. data/docs/PhoneNumberApi.md +1 -1
  17. data/docs/UserAgentApi.md +63 -0
  18. data/docs/UserAgentValidateRequest.md +8 -0
  19. data/docs/UserAgentValidateResponse.md +21 -0
  20. data/docs/ValidateCountryRequest.md +8 -0
  21. data/docs/ValidateCountryResponse.md +12 -0
  22. data/docs/ValidateIdentifierRequest.md +15 -0
  23. data/docs/ValidateIdentifierResponse.md +9 -0
  24. data/docs/ValidateUrlRequestFull.md +8 -0
  25. data/docs/ValidateUrlRequestSyntaxOnly.md +8 -0
  26. data/docs/ValidateUrlResponseFull.md +12 -0
  27. data/docs/ValidateUrlResponseSyntaxOnly.md +9 -0
  28. data/docs/VatApi.md +1 -1
  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 +18 -1
  33. data/lib/cloudmersive-validate-api-client/api/address_api.rb +133 -0
  34. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +113 -3
  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 +78 -0
  41. data/lib/cloudmersive-validate-api-client/api/vat_api.rb +2 -2
  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/last_name_validation_request.rb +1 -1
  57. data/lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb +1 -1
  58. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb +319 -0
  59. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb +359 -0
  60. data/lib/cloudmersive-validate-api-client/models/parse_address_request.rb +199 -0
  61. data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +269 -0
  62. data/lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb +1 -1
  63. data/lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb +1 -1
  64. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb +189 -0
  65. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb +319 -0
  66. data/lib/cloudmersive-validate-api-client/models/validate_country_request.rb +189 -0
  67. data/lib/cloudmersive-validate-api-client/models/validate_country_response.rb +229 -0
  68. data/lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb +259 -0
  69. data/lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb +199 -0
  70. data/lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb +189 -0
  71. data/lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb +189 -0
  72. data/lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb +229 -0
  73. data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +199 -0
  74. data/lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb +2 -1
  75. data/lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb +80 -5
  76. data/lib/cloudmersive-validate-api-client/models/whois_response.rb +112 -2
  77. data/lib/cloudmersive-validate-api-client/version.rb +2 -2
  78. data/spec/api/address_api_spec.rb +59 -0
  79. data/spec/api/domain_api_spec.rb +25 -1
  80. data/spec/api/email_api_spec.rb +1 -1
  81. data/spec/api/ip_address_api_spec.rb +1 -1
  82. data/spec/api/lead_enrichment_api_spec.rb +47 -0
  83. data/spec/api/name_api_spec.rb +13 -1
  84. data/spec/api/phone_number_api_spec.rb +1 -1
  85. data/spec/api/user_agent_api_spec.rb +47 -0
  86. data/spec/api/vat_api_spec.rb +1 -1
  87. data/spec/api_client_spec.rb +1 -1
  88. data/spec/configuration_spec.rb +1 -1
  89. data/spec/models/address_get_servers_response_spec.rb +1 -1
  90. data/spec/models/address_verify_syntax_only_response_spec.rb +19 -1
  91. data/spec/models/check_response_spec.rb +1 -1
  92. data/spec/models/first_name_validation_request_spec.rb +1 -1
  93. data/spec/models/first_name_validation_response_spec.rb +1 -1
  94. data/spec/models/full_email_validation_response_spec.rb +1 -1
  95. data/spec/models/full_name_validation_request_spec.rb +1 -1
  96. data/spec/models/full_name_validation_response_spec.rb +1 -1
  97. data/spec/models/geolocate_response_spec.rb +1 -1
  98. data/spec/models/get_gender_request_spec.rb +1 -1
  99. data/spec/models/get_gender_response_spec.rb +1 -1
  100. data/spec/models/last_name_validation_request_spec.rb +1 -1
  101. data/spec/models/last_name_validation_response_spec.rb +1 -1
  102. data/spec/models/lead_enrichment_request_spec.rb +120 -0
  103. data/spec/models/lead_enrichment_response_spec.rb +144 -0
  104. data/spec/models/parse_address_request_spec.rb +48 -0
  105. data/spec/models/parse_address_response_spec.rb +90 -0
  106. data/spec/models/phone_number_validate_request_spec.rb +1 -1
  107. data/spec/models/phone_number_validation_response_spec.rb +1 -1
  108. data/spec/models/user_agent_validate_request_spec.rb +42 -0
  109. data/spec/models/user_agent_validate_response_spec.rb +120 -0
  110. data/spec/models/validate_country_request_spec.rb +42 -0
  111. data/spec/models/validate_country_response_spec.rb +66 -0
  112. data/spec/models/validate_identifier_request_spec.rb +84 -0
  113. data/spec/models/validate_identifier_response_spec.rb +48 -0
  114. data/spec/models/validate_url_request_full_spec.rb +42 -0
  115. data/spec/models/validate_url_request_syntax_only_spec.rb +42 -0
  116. data/spec/models/validate_url_response_full_spec.rb +66 -0
  117. data/spec/models/validate_url_response_syntax_only_spec.rb +48 -0
  118. data/spec/models/vat_lookup_request_spec.rb +1 -1
  119. data/spec/models/vat_lookup_response_spec.rb +43 -1
  120. data/spec/models/whois_response_spec.rb +67 -1
  121. data/spec/spec_helper.rb +1 -1
  122. metadata +66 -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
 
@@ -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.3"
14
+ VERSION = "1.3.9"
15
15
  end
@@ -0,0 +1,59 @@
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.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveValidateApiClient::AddressApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'AddressApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveValidateApiClient::AddressApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AddressApi' do
30
+ it 'should create an instance of AddressApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::AddressApi)
32
+ end
33
+ end
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.
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_parse_string
48
+ # Parse an unstructured input text string into an international, formatted address
49
+ # 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.
50
+ # @param input Input parse request
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [ParseAddressResponse]
53
+ describe 'address_parse_string 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
+ 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
 
@@ -56,4 +56,28 @@ describe 'DomainApi' do
56
56
  end
57
57
  end
58
58
 
59
+ # unit tests for domain_url_full
60
+ # Validate a URL fully
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 Input URL request
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [ValidateUrlResponseFull]
65
+ describe 'domain_url_full 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
+
71
+ # unit tests for domain_url_syntax_only
72
+ # Validate a URL syntactically
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 Input URL information
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [ValidateUrlResponseSyntaxOnly]
77
+ describe 'domain_url_syntax_only 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
+
59
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
 
@@ -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
 
@@ -0,0 +1,47 @@
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.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveValidateApiClient::LeadEnrichmentApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'LeadEnrichmentApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveValidateApiClient::LeadEnrichmentApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of LeadEnrichmentApi' do
30
+ it 'should create an instance of LeadEnrichmentApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::LeadEnrichmentApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for lead_enrichment_enrich_lead
36
+ # Enrich an input lead with additional fields of data
37
+ #
38
+ # @param request Input lead with known fields set, and unknown fields left blank (null)
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [LeadEnrichmentResponse]
41
+ describe 'lead_enrichment_enrich_lead 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
+ 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
 
@@ -44,6 +44,18 @@ describe 'NameApi' do
44
44
  end
45
45
  end
46
46
 
47
+ # unit tests for name_identifier
48
+ # Validate a code identifier
49
+ # Determines if the input name is a valid technical / code identifier. Configure input rules such as whether whitespace, hyphens, underscores, etc. are allowed. For example, a valid identifier might be \"helloWorld\" but not \"hello*World\".
50
+ # @param input Identifier validation request information
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [ValidateIdentifierResponse]
53
+ describe 'name_identifier 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
+
47
59
  # unit tests for name_validate_first_name
48
60
  # Validate a first name
49
61
  # Determines if a string is a valid first name (given name)
@@ -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
 
@@ -0,0 +1,47 @@
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.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveValidateApiClient::UserAgentApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'UserAgentApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveValidateApiClient::UserAgentApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of UserAgentApi' do
30
+ it 'should create an instance of UserAgentApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::UserAgentApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for user_agent_parse
36
+ # Parse an HTTP User-Agent string, identify robots
37
+ # Uses a parsing system and database to parse the User-Agent into its structured component parts, such as Browser, Browser Version, Browser Engine, Operating System, and importantly, Robot identification.
38
+ # @param request Input parse request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [UserAgentValidateResponse]
41
+ describe 'user_agent_parse 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
+ 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
 
@@ -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