cloudmersive-validate-api-client 2.1.1 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +34 -4
  3. data/docs/AddressApi.md +55 -0
  4. data/docs/BotCheckResponse.md +8 -0
  5. data/docs/DateTimeApi.md +222 -0
  6. data/docs/DateTimeNaturalLanguageParseRequest.md +8 -0
  7. data/docs/DateTimeNowResult.md +10 -0
  8. data/docs/DateTimeStandardizedParseRequest.md +9 -0
  9. data/docs/DateTimeStandardizedParseResponse.md +16 -0
  10. data/docs/DomainApi.md +168 -3
  11. data/docs/EmailApi.md +3 -3
  12. data/docs/GetPublicHolidaysRequest.md +9 -0
  13. data/docs/IPAddressApi.md +169 -4
  14. data/docs/IPIntelligenceResponse.md +16 -0
  15. data/docs/IPReverseDNSLookupResponse.md +9 -0
  16. data/docs/NormalizeAddressResponse.md +18 -0
  17. data/docs/PublicHolidayOccurrence.md +12 -0
  18. data/docs/PublicHolidaysResponse.md +9 -0
  19. data/docs/TextInputApi.md +57 -2
  20. data/docs/UrlSsrfRequestBatch.md +8 -0
  21. data/docs/UrlSsrfRequestFull.md +9 -0
  22. data/docs/UrlSsrfResponseBatch.md +8 -0
  23. data/docs/UrlSsrfResponseFull.md +9 -0
  24. data/docs/ValidateUrlResponseSyntaxOnly.md +1 -0
  25. data/docs/XssProtectionBatchRequest.md +8 -0
  26. data/docs/XssProtectionBatchResponse.md +8 -0
  27. data/docs/XssProtectionRequestItem.md +8 -0
  28. data/lib/cloudmersive-validate-api-client.rb +19 -0
  29. data/lib/cloudmersive-validate-api-client/api/address_api.rb +54 -0
  30. data/lib/cloudmersive-validate-api-client/api/date_time_api.rb +231 -0
  31. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +165 -3
  32. data/lib/cloudmersive-validate-api-client/api/email_api.rb +3 -3
  33. data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +166 -4
  34. data/lib/cloudmersive-validate-api-client/api/text_input_api.rb +56 -2
  35. data/lib/cloudmersive-validate-api-client/models/bot_check_response.rb +186 -0
  36. data/lib/cloudmersive-validate-api-client/models/date_time_natural_language_parse_request.rb +186 -0
  37. data/lib/cloudmersive-validate-api-client/models/date_time_now_result.rb +206 -0
  38. data/lib/cloudmersive-validate-api-client/models/date_time_standardized_parse_request.rb +196 -0
  39. data/lib/cloudmersive-validate-api-client/models/date_time_standardized_parse_response.rb +266 -0
  40. data/lib/cloudmersive-validate-api-client/models/geolocate_response.rb +1 -1
  41. data/lib/cloudmersive-validate-api-client/models/get_public_holidays_request.rb +196 -0
  42. data/lib/cloudmersive-validate-api-client/models/ip_intelligence_response.rb +266 -0
  43. data/lib/cloudmersive-validate-api-client/models/ip_reverse_dns_lookup_response.rb +196 -0
  44. data/lib/cloudmersive-validate-api-client/models/normalize_address_response.rb +286 -0
  45. data/lib/cloudmersive-validate-api-client/models/public_holiday_occurrence.rb +226 -0
  46. data/lib/cloudmersive-validate-api-client/models/public_holidays_response.rb +198 -0
  47. data/lib/cloudmersive-validate-api-client/models/url_ssrf_request_batch.rb +188 -0
  48. data/lib/cloudmersive-validate-api-client/models/url_ssrf_request_full.rb +198 -0
  49. data/lib/cloudmersive-validate-api-client/models/url_ssrf_response_batch.rb +188 -0
  50. data/lib/cloudmersive-validate-api-client/models/url_ssrf_response_full.rb +196 -0
  51. data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +14 -4
  52. data/lib/cloudmersive-validate-api-client/models/xss_protection_batch_request.rb +188 -0
  53. data/lib/cloudmersive-validate-api-client/models/xss_protection_batch_response.rb +188 -0
  54. data/lib/cloudmersive-validate-api-client/models/xss_protection_request_item.rb +186 -0
  55. data/lib/cloudmersive-validate-api-client/version.rb +1 -1
  56. data/spec/api/address_api_spec.rb +12 -0
  57. data/spec/api/date_time_api_spec.rb +82 -0
  58. data/spec/api/domain_api_spec.rb +36 -0
  59. data/spec/api/ip_address_api_spec.rb +36 -0
  60. data/spec/api/text_input_api_spec.rb +12 -0
  61. data/spec/models/bot_check_response_spec.rb +41 -0
  62. data/spec/models/date_time_natural_language_parse_request_spec.rb +41 -0
  63. data/spec/models/date_time_now_result_spec.rb +53 -0
  64. data/spec/models/date_time_standardized_parse_request_spec.rb +47 -0
  65. data/spec/models/date_time_standardized_parse_response_spec.rb +89 -0
  66. data/spec/models/get_public_holidays_request_spec.rb +47 -0
  67. data/spec/models/ip_intelligence_response_spec.rb +89 -0
  68. data/spec/models/ip_reverse_dns_lookup_response_spec.rb +47 -0
  69. data/spec/models/normalize_address_response_spec.rb +101 -0
  70. data/spec/models/public_holiday_occurrence_spec.rb +65 -0
  71. data/spec/models/public_holidays_response_spec.rb +47 -0
  72. data/spec/models/url_ssrf_request_batch_spec.rb +41 -0
  73. data/spec/models/url_ssrf_request_full_spec.rb +47 -0
  74. data/spec/models/url_ssrf_response_batch_spec.rb +41 -0
  75. data/spec/models/url_ssrf_response_full_spec.rb +47 -0
  76. data/spec/models/validate_url_response_syntax_only_spec.rb +6 -0
  77. data/spec/models/xss_protection_batch_request_spec.rb +41 -0
  78. data/spec/models/xss_protection_batch_response_spec.rb +41 -0
  79. data/spec/models/xss_protection_request_item_spec.rb +41 -0
  80. metadata +59 -2
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.14
11
11
  =end
12
12
 
13
13
  module CloudmersiveValidateApiClient
14
- VERSION = '2.1.1'
14
+ VERSION = '2.1.6'
15
15
  end
@@ -115,6 +115,18 @@ describe 'AddressApi' do
115
115
  end
116
116
  end
117
117
 
118
+ # unit tests for address_normalize_address
119
+ # Normalize a street address
120
+ # Normalizes an input structured street address is valid or invalid. If the address is valid, also returns the latitude and longitude of the address. Supports all major international addresses.
121
+ # @param input Input parse request
122
+ # @param [Hash] opts the optional parameters
123
+ # @return [NormalizeAddressResponse]
124
+ describe 'address_normalize_address test' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
127
+ end
128
+ end
129
+
118
130
  # unit tests for address_parse_string
119
131
  # Parse an unstructured input text string into an international, formatted address
120
132
  # 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.
@@ -0,0 +1,82 @@
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
+
16
+ # Unit tests for CloudmersiveValidateApiClient::DateTimeApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'DateTimeApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveValidateApiClient::DateTimeApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DateTimeApi' do
30
+ it 'should create an instance of DateTimeApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::DateTimeApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for date_time_get_now_simple
36
+ # Get current date and time as of now
37
+ # Gets the current date and time. Response time is syncronized with atomic clocks, and represents a monotonic, centrally available, consistent clock.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [DateTimeNowResult]
40
+ describe 'date_time_get_now_simple test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ # unit tests for date_time_get_public_holidays
47
+ # Get public holidays in the specified country and year
48
+ # Enumerates all public holidays in a given country for a given year. Supports over 100 countries.
49
+ # @param input Input request
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [PublicHolidaysResponse]
52
+ describe 'date_time_get_public_holidays test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ # unit tests for date_time_parse_natural_language_date_time
59
+ # Parses a free-form natural language date and time string into a date and time
60
+ # Parses an unstructured, free-form, natural language date and time string into a date time object. This is intended for lightweight human-entered input, such as \"tomorrow at 3pm\" or \"tuesday\".
61
+ # @param input Input request
62
+ # @param [Hash] opts the optional parameters
63
+ # @return [DateTimeStandardizedParseResponse]
64
+ describe 'date_time_parse_natural_language_date_time test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for date_time_parse_standard_date_time
71
+ # Parses a standardized date and time string into a date and time
72
+ # Parses a structured date and time string into a date time object. This is intended for standardized date strings that adhere to formatting conventions, rather than natural language input.
73
+ # @param input Input request
74
+ # @param [Hash] opts the optional parameters
75
+ # @return [DateTimeStandardizedParseResponse]
76
+ describe 'date_time_parse_standard_date_time test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ end
@@ -44,6 +44,18 @@ describe 'DomainApi' do
44
44
  end
45
45
  end
46
46
 
47
+ # unit tests for domain_get_top_level_domain_from_url
48
+ # Get top-level domain name from URL
49
+ # Gets the top-level domain name from a URL, such as mydomain.com.
50
+ # @param request Input URL information
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [ValidateUrlResponseSyntaxOnly]
53
+ describe 'domain_get_top_level_domain_from_url 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 domain_post
48
60
  # Get WHOIS information for a domain
49
61
  # Validate whether a domain name exists, and also return the full WHOIS record for that domain name. WHOIS records include all the registration details of the domain name, such as information about the domain's owners.
@@ -68,6 +80,30 @@ describe 'DomainApi' do
68
80
  end
69
81
  end
70
82
 
83
+ # unit tests for domain_ssrf_check
84
+ # Check a URL for SSRF threats
85
+ # Checks if an input URL is at risk of being an SSRF (Server-side request forgery) threat or attack.
86
+ # @param request Input URL request
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [UrlSsrfResponseFull]
89
+ describe 'domain_ssrf_check test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for domain_ssrf_check_batch
96
+ # Check a URL for SSRF threats in batches
97
+ # Batch-checks if input URLs are at risk of being an SSRF (Server-side request forgery) threat or attack.
98
+ # @param request Input URL request as a batch of multiple URLs
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [UrlSsrfResponseBatch]
101
+ describe 'domain_ssrf_check_batch test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
71
107
  # unit tests for domain_url_full
72
108
  # Validate a URL fully
73
109
  # 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.
@@ -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. \"55.55.55.55\". 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. \"55.55.55.55\". 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.
@@ -80,4 +104,16 @@ describe 'IPAddressApi' do
80
104
  end
81
105
  end
82
106
 
107
+ # unit tests for i_p_address_reverse_domain_lookup
108
+ # Perform a reverse domain name (DNS) lookup on an IP address
109
+ # Gets the domain name, if any, associated with the IP address.
110
+ # @param value IP address to check, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [IPReverseDNSLookupResponse]
113
+ describe 'i_p_address_reverse_domain_lookup test' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
83
119
  end
@@ -44,6 +44,18 @@ describe 'TextInputApi' do
44
44
  end
45
45
  end
46
46
 
47
+ # unit tests for text_input_check_xss_batch
48
+ # Check and protect multiple text inputs for Cross-Site-Scripting (XSS) attacks in batch
49
+ # Detects XSS (Cross-Site-Scripting) attacks from multiple text input. Output preverses order of input items.
50
+ # @param value User-facing text input.
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [XssProtectionBatchResponse]
53
+ describe 'text_input_check_xss_batch 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 text_input_protect_xss
48
60
  # Protect text input from Cross-Site-Scripting (XSS) attacks through normalization
49
61
  # Detects and removes XSS (Cross-Site-Scripting) attacks from text input through normalization. Returns the normalized result, as well as information on whether the original input contained an XSS risk.
@@ -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,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::DateTimeNaturalLanguageParseRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DateTimeNaturalLanguageParseRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::DateTimeNaturalLanguageParseRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DateTimeNaturalLanguageParseRequest' do
31
+ it 'should create an instance of DateTimeNaturalLanguageParseRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::DateTimeNaturalLanguageParseRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "raw_date_time_input"' 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,53 @@
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::DateTimeNowResult
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DateTimeNowResult' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::DateTimeNowResult.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DateTimeNowResult' do
31
+ it 'should create an instance of DateTimeNowResult' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::DateTimeNowResult)
33
+ end
34
+ end
35
+ describe 'test attribute "successful"' 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 "now"' 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 "now_gmt"' 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
+ end
@@ -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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::DateTimeStandardizedParseRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DateTimeStandardizedParseRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::DateTimeStandardizedParseRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DateTimeStandardizedParseRequest' do
31
+ it 'should create an instance of DateTimeStandardizedParseRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::DateTimeStandardizedParseRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "raw_date_time_input"' 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 "country_code"' 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
@@ -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::DateTimeStandardizedParseResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'DateTimeStandardizedParseResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::DateTimeStandardizedParseResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of DateTimeStandardizedParseResponse' do
31
+ it 'should create an instance of DateTimeStandardizedParseResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::DateTimeStandardizedParseResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "successful"' 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 "parsed_date_result"' 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 "year"' 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 "month"' 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 "day"' 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 "hour"' 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 "minute"' 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 "second"' 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 "day_of_week"' 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