cloudmersive-validate-api-client 1.3.7 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -124
  3. data/Gemfile +0 -7
  4. data/README.md +0 -145
  5. data/Rakefile +0 -8
  6. data/cloudmersive-validate-api-client.gemspec +0 -45
  7. data/docs/AddressApi.md +0 -63
  8. data/docs/AddressGetServersResponse.md +0 -9
  9. data/docs/AddressVerifySyntaxOnlyResponse.md +0 -8
  10. data/docs/CheckResponse.md +0 -8
  11. data/docs/DomainApi.md +0 -228
  12. data/docs/EmailApi.md +0 -173
  13. data/docs/FirstNameValidationRequest.md +0 -8
  14. data/docs/FirstNameValidationResponse.md +0 -9
  15. data/docs/FullEmailValidationResponse.md +0 -16
  16. data/docs/FullNameValidationRequest.md +0 -8
  17. data/docs/FullNameValidationResponse.md +0 -17
  18. data/docs/GeolocateResponse.md +0 -16
  19. data/docs/GetGenderRequest.md +0 -9
  20. data/docs/GetGenderResponse.md +0 -9
  21. data/docs/IPAddressApi.md +0 -63
  22. data/docs/LastNameValidationRequest.md +0 -8
  23. data/docs/LastNameValidationResponse.md +0 -9
  24. data/docs/NameApi.md +0 -283
  25. data/docs/ParseAddressRequest.md +0 -9
  26. data/docs/ParseAddressResponse.md +0 -15
  27. data/docs/PhoneNumberApi.md +0 -63
  28. data/docs/PhoneNumberValidateRequest.md +0 -9
  29. data/docs/PhoneNumberValidationResponse.md +0 -15
  30. data/docs/UserAgentApi.md +0 -63
  31. data/docs/UserAgentValidateRequest.md +0 -8
  32. data/docs/UserAgentValidateResponse.md +0 -21
  33. data/docs/ValidateIdentifierRequest.md +0 -15
  34. data/docs/ValidateIdentifierResponse.md +0 -9
  35. data/docs/ValidateUrlRequestFull.md +0 -8
  36. data/docs/ValidateUrlRequestSyntaxOnly.md +0 -8
  37. data/docs/ValidateUrlResponseFull.md +0 -12
  38. data/docs/ValidateUrlResponseSyntaxOnly.md +0 -9
  39. data/docs/VatApi.md +0 -63
  40. data/docs/VatLookupRequest.md +0 -8
  41. data/docs/VatLookupResponse.md +0 -12
  42. data/docs/WhoisResponse.md +0 -11
  43. data/git_push.sh +0 -55
  44. data/lib/cloudmersive-validate-api-client.rb +0 -75
  45. data/lib/cloudmersive-validate-api-client/api/address_api.rb +0 -78
  46. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +0 -243
  47. data/lib/cloudmersive-validate-api-client/api/email_api.rb +0 -188
  48. data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +0 -78
  49. data/lib/cloudmersive-validate-api-client/api/name_api.rb +0 -298
  50. data/lib/cloudmersive-validate-api-client/api/phone_number_api.rb +0 -78
  51. data/lib/cloudmersive-validate-api-client/api/user_agent_api.rb +0 -78
  52. data/lib/cloudmersive-validate-api-client/api/vat_api.rb +0 -78
  53. data/lib/cloudmersive-validate-api-client/api_client.rb +0 -389
  54. data/lib/cloudmersive-validate-api-client/api_error.rb +0 -38
  55. data/lib/cloudmersive-validate-api-client/configuration.rb +0 -209
  56. data/lib/cloudmersive-validate-api-client/models/address_get_servers_response.rb +0 -201
  57. data/lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb +0 -189
  58. data/lib/cloudmersive-validate-api-client/models/check_response.rb +0 -189
  59. data/lib/cloudmersive-validate-api-client/models/first_name_validation_request.rb +0 -189
  60. data/lib/cloudmersive-validate-api-client/models/first_name_validation_response.rb +0 -199
  61. data/lib/cloudmersive-validate-api-client/models/full_email_validation_response.rb +0 -269
  62. data/lib/cloudmersive-validate-api-client/models/full_name_validation_request.rb +0 -189
  63. data/lib/cloudmersive-validate-api-client/models/full_name_validation_response.rb +0 -279
  64. data/lib/cloudmersive-validate-api-client/models/geolocate_response.rb +0 -269
  65. data/lib/cloudmersive-validate-api-client/models/get_gender_request.rb +0 -199
  66. data/lib/cloudmersive-validate-api-client/models/get_gender_response.rb +0 -199
  67. data/lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb +0 -189
  68. data/lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb +0 -199
  69. data/lib/cloudmersive-validate-api-client/models/parse_address_request.rb +0 -199
  70. data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +0 -259
  71. data/lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb +0 -199
  72. data/lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb +0 -259
  73. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb +0 -189
  74. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb +0 -319
  75. data/lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb +0 -259
  76. data/lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb +0 -199
  77. data/lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb +0 -189
  78. data/lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb +0 -189
  79. data/lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb +0 -229
  80. data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +0 -199
  81. data/lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb +0 -189
  82. data/lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb +0 -229
  83. data/lib/cloudmersive-validate-api-client/models/whois_response.rb +0 -219
  84. data/lib/cloudmersive-validate-api-client/version.rb +0 -15
  85. data/spec/api/address_api_spec.rb +0 -47
  86. data/spec/api/domain_api_spec.rb +0 -83
  87. data/spec/api/email_api_spec.rb +0 -71
  88. data/spec/api/ip_address_api_spec.rb +0 -47
  89. data/spec/api/name_api_spec.rb +0 -95
  90. data/spec/api/phone_number_api_spec.rb +0 -47
  91. data/spec/api/user_agent_api_spec.rb +0 -47
  92. data/spec/api/vat_api_spec.rb +0 -47
  93. data/spec/api_client_spec.rb +0 -226
  94. data/spec/configuration_spec.rb +0 -42
  95. data/spec/models/address_get_servers_response_spec.rb +0 -48
  96. data/spec/models/address_verify_syntax_only_response_spec.rb +0 -42
  97. data/spec/models/check_response_spec.rb +0 -42
  98. data/spec/models/first_name_validation_request_spec.rb +0 -42
  99. data/spec/models/first_name_validation_response_spec.rb +0 -48
  100. data/spec/models/full_email_validation_response_spec.rb +0 -90
  101. data/spec/models/full_name_validation_request_spec.rb +0 -42
  102. data/spec/models/full_name_validation_response_spec.rb +0 -96
  103. data/spec/models/geolocate_response_spec.rb +0 -90
  104. data/spec/models/get_gender_request_spec.rb +0 -48
  105. data/spec/models/get_gender_response_spec.rb +0 -48
  106. data/spec/models/last_name_validation_request_spec.rb +0 -42
  107. data/spec/models/last_name_validation_response_spec.rb +0 -48
  108. data/spec/models/parse_address_request_spec.rb +0 -48
  109. data/spec/models/parse_address_response_spec.rb +0 -84
  110. data/spec/models/phone_number_validate_request_spec.rb +0 -48
  111. data/spec/models/phone_number_validation_response_spec.rb +0 -84
  112. data/spec/models/user_agent_validate_request_spec.rb +0 -42
  113. data/spec/models/user_agent_validate_response_spec.rb +0 -120
  114. data/spec/models/validate_identifier_request_spec.rb +0 -84
  115. data/spec/models/validate_identifier_response_spec.rb +0 -48
  116. data/spec/models/validate_url_request_full_spec.rb +0 -42
  117. data/spec/models/validate_url_request_syntax_only_spec.rb +0 -42
  118. data/spec/models/validate_url_response_full_spec.rb +0 -66
  119. data/spec/models/validate_url_response_syntax_only_spec.rb +0 -48
  120. data/spec/models/vat_lookup_request_spec.rb +0 -42
  121. data/spec/models/vat_lookup_response_spec.rb +0 -66
  122. data/spec/models/whois_response_spec.rb +0 -60
  123. data/spec/spec_helper.rb +0 -111
@@ -1,63 +0,0 @@
1
- # CloudmersiveValidateApiClient::PhoneNumberApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**phone_number_syntax_only**](PhoneNumberApi.md#phone_number_syntax_only) | **POST** /validate/phonenumber/basic | Validate phone number (basic)
8
-
9
-
10
- # **phone_number_syntax_only**
11
- > PhoneNumberValidationResponse phone_number_syntax_only(value)
12
-
13
- Validate phone number (basic)
14
-
15
- Validate a phone number by analyzing the syntax
16
-
17
- ### Example
18
- ```ruby
19
- # load the gem
20
- require 'cloudmersive-validate-api-client'
21
- # setup authorization
22
- CloudmersiveValidateApiClient.configure do |config|
23
- # Configure API key authorization: Apikey
24
- config.api_key['Apikey'] = 'YOUR API KEY'
25
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
- #config.api_key_prefix['Apikey'] = 'Bearer'
27
- end
28
-
29
- api_instance = CloudmersiveValidateApiClient::PhoneNumberApi.new
30
-
31
- value = CloudmersiveValidateApiClient::PhoneNumberValidateRequest.new # PhoneNumberValidateRequest | Phone number to validate in a PhoneNumberValidateRequest object. Try a phone number such as \"1.800.463.3339\", and either leave DefaultCountryCode blank or use \"US\".
32
-
33
-
34
- begin
35
- #Validate phone number (basic)
36
- result = api_instance.phone_number_syntax_only(value)
37
- p result
38
- rescue CloudmersiveValidateApiClient::ApiError => e
39
- puts "Exception when calling PhoneNumberApi->phone_number_syntax_only: #{e}"
40
- end
41
- ```
42
-
43
- ### Parameters
44
-
45
- Name | Type | Description | Notes
46
- ------------- | ------------- | ------------- | -------------
47
- **value** | [**PhoneNumberValidateRequest**](PhoneNumberValidateRequest.md)| Phone number to validate in a PhoneNumberValidateRequest object. Try a phone number such as \"1.800.463.3339\", and either leave DefaultCountryCode blank or use \"US\". |
48
-
49
- ### Return type
50
-
51
- [**PhoneNumberValidationResponse**](PhoneNumberValidationResponse.md)
52
-
53
- ### Authorization
54
-
55
- [Apikey](../README.md#Apikey)
56
-
57
- ### HTTP request headers
58
-
59
- - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
60
- - **Accept**: application/json, text/json, application/xml, text/xml
61
-
62
-
63
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::PhoneNumberValidateRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **phone_number** | **String** | Raw phone number string to parse as input for validation | [optional]
7
- **default_country_code** | **String** | Optional, default country code. If left blank, will default to \"US\". | [optional]
8
-
9
-
@@ -1,15 +0,0 @@
1
- # CloudmersiveValidateApiClient::PhoneNumberValidationResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **is_valid** | **BOOLEAN** | True if the phone number is valid, false otherwise | [optional]
7
- **successful** | **BOOLEAN** | True if the operation was successful, false if there was an error during validation. See IsValid for validation result. | [optional]
8
- **phone_number_type** | **String** | Type of phone number; possible values are: FixedLine, Mobile, FixedLineOrMobile, TollFree, PremiumRate, SharedCost, Voip, PersonalNumber, Pager, Uan, Voicemail, Unknown | [optional]
9
- **e164_format** | **String** | E.164 format of the phone number | [optional]
10
- **international_format** | **String** | Internaltional format of the phone number | [optional]
11
- **national_format** | **String** | National format of the phone number | [optional]
12
- **country_code** | **String** | Two digit country code of the phone number | [optional]
13
- **country_name** | **String** | User-friendly long name of the country for the phone number | [optional]
14
-
15
-
@@ -1,63 +0,0 @@
1
- # CloudmersiveValidateApiClient::UserAgentApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**user_agent_parse**](UserAgentApi.md#user_agent_parse) | **POST** /validate/useragent/parse | Parse an HTTP User-Agent string, identify robots
8
-
9
-
10
- # **user_agent_parse**
11
- > UserAgentValidateResponse user_agent_parse(request)
12
-
13
- Parse an HTTP User-Agent string, identify robots
14
-
15
- 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.
16
-
17
- ### Example
18
- ```ruby
19
- # load the gem
20
- require 'cloudmersive-validate-api-client'
21
- # setup authorization
22
- CloudmersiveValidateApiClient.configure do |config|
23
- # Configure API key authorization: Apikey
24
- config.api_key['Apikey'] = 'YOUR API KEY'
25
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
- #config.api_key_prefix['Apikey'] = 'Bearer'
27
- end
28
-
29
- api_instance = CloudmersiveValidateApiClient::UserAgentApi.new
30
-
31
- request = CloudmersiveValidateApiClient::UserAgentValidateRequest.new # UserAgentValidateRequest | Input parse request
32
-
33
-
34
- begin
35
- #Parse an HTTP User-Agent string, identify robots
36
- result = api_instance.user_agent_parse(request)
37
- p result
38
- rescue CloudmersiveValidateApiClient::ApiError => e
39
- puts "Exception when calling UserAgentApi->user_agent_parse: #{e}"
40
- end
41
- ```
42
-
43
- ### Parameters
44
-
45
- Name | Type | Description | Notes
46
- ------------- | ------------- | ------------- | -------------
47
- **request** | [**UserAgentValidateRequest**](UserAgentValidateRequest.md)| Input parse request |
48
-
49
- ### Return type
50
-
51
- [**UserAgentValidateResponse**](UserAgentValidateResponse.md)
52
-
53
- ### Authorization
54
-
55
- [Apikey](../README.md#Apikey)
56
-
57
- ### HTTP request headers
58
-
59
- - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
60
- - **Accept**: application/json, text/json, application/xml, text/xml
61
-
62
-
63
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::UserAgentValidateRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **user_agent_string** | **String** | The user agent string you wish to parse and validate | [optional]
7
-
8
-
@@ -1,21 +0,0 @@
1
- # CloudmersiveValidateApiClient::UserAgentValidateResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if the operation was successful, false otherwise | [optional]
7
- **is_bot** | **BOOLEAN** | True if the request is a known robot, false otherwise | [optional]
8
- **bot_name** | **String** | Optional; name of the robot if the request was from a known robot, otherwise null | [optional]
9
- **bot_url** | **String** | Optional; if available, the URL to the robot | [optional]
10
- **operating_system** | **String** | Operating System of the User-Agent (e.g. Windows) | [optional]
11
- **operating_system_cpu_platform** | **String** | The CPU platform of the User-Agent (e.g. x64) | [optional]
12
- **operating_system_version** | **String** | The version of the operating system of the User-Agent (e.g. \"10\" for Windows 10) | [optional]
13
- **device_type** | **String** | Device type of the User-Agent; possible values are \"DESKTOP\", \"SMARTPHONE\", \"TABLET\" | [optional]
14
- **device_brand_name** | **String** | Brand name of the User-Agent | [optional]
15
- **device_model** | **String** | Model name or number of the User-Agent | [optional]
16
- **browser_name** | **String** | Name of the Browser | [optional]
17
- **browser_version** | **String** | Version of the Browser | [optional]
18
- **browser_engine_name** | **String** | Name of the Browser Engine | [optional]
19
- **browser_engine_version** | **String** | Version of the Browser Engine | [optional]
20
-
21
-
@@ -1,15 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateIdentifierRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **input** | **String** | Text string identifier input | [optional]
7
- **allow_whitespace** | **BOOLEAN** | True if whitespace is allowed in the identifier, false otherwise | [optional]
8
- **allow_hyphens** | **BOOLEAN** | True if hyphens are allowd in the identifier, false otherwise | [optional]
9
- **allow_underscore** | **BOOLEAN** | True if underscores are allowed in the identifier, false otherwise | [optional]
10
- **allow_numbers** | **BOOLEAN** | True if numbers are allowed in the identifier, false otherwise | [optional]
11
- **allow_periods** | **BOOLEAN** | True if periods are allowed in the identifier, false otherwise | [optional]
12
- **max_length** | **Integer** | Optional; maximum length, if any, of the identifier | [optional]
13
- **min_length** | **Integer** | Optional; minimum length, if any, of the identifier | [optional]
14
-
15
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateIdentifierResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_identifier** | **BOOLEAN** | True if the input identifier is valid, false otherwise | [optional]
7
- **error** | **String** | Resulting error from the identifier validation; possible errors are: \"InputIsEmpty\", \"ContainsWhitespace\", \"ContainsNumbers\", \"ContainsHyphen\", \"ContainsUnderscore\", \"ContainsPeriod\", \"TooShort\", \"TooLong\", \"ContainsSpecialCharacters\" | [optional]
8
-
9
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateUrlRequestFull
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **url** | **String** | URL to validate | [optional]
7
-
8
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateUrlRequestSyntaxOnly
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **url** | **String** | URL to validate | [optional]
7
-
8
-
@@ -1,12 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateUrlResponseFull
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_url** | **BOOLEAN** | True if the URL has valid syntax, a valid domain, a valid endpoint, and passes virus scan checks; false otherwise | [optional]
7
- **valid_syntax** | **BOOLEAN** | True if the URL has valid syntax, false otherwise | [optional]
8
- **valid_domain** | **BOOLEAN** | True if the domain name is valid and exists, false otherwise | [optional]
9
- **valid_endpoint** | **BOOLEAN** | True if the endpoint is up and responsive and passes a virus scan check, false otherwise | [optional]
10
- **well_formed_url** | **String** | Well-formed version of the URL | [optional]
11
-
12
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateUrlResponseSyntaxOnly
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_url** | **BOOLEAN** | True if the URL is valid, false otherwise | [optional]
7
- **well_formed_url** | **String** | Well-formed version of the URL | [optional]
8
-
9
-
@@ -1,63 +0,0 @@
1
- # CloudmersiveValidateApiClient::VatApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**vat_vat_lookup**](VatApi.md#vat_vat_lookup) | **POST** /validate/vat/lookup | Lookup a VAT code
8
-
9
-
10
- # **vat_vat_lookup**
11
- > VatLookupResponse vat_vat_lookup(input)
12
-
13
- Lookup a VAT code
14
-
15
- Checks if a VAT code is valid, and if it is, returns more information about it
16
-
17
- ### Example
18
- ```ruby
19
- # load the gem
20
- require 'cloudmersive-validate-api-client'
21
- # setup authorization
22
- CloudmersiveValidateApiClient.configure do |config|
23
- # Configure API key authorization: Apikey
24
- config.api_key['Apikey'] = 'YOUR API KEY'
25
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
- #config.api_key_prefix['Apikey'] = 'Bearer'
27
- end
28
-
29
- api_instance = CloudmersiveValidateApiClient::VatApi.new
30
-
31
- input = CloudmersiveValidateApiClient::VatLookupRequest.new # VatLookupRequest | Input VAT code
32
-
33
-
34
- begin
35
- #Lookup a VAT code
36
- result = api_instance.vat_vat_lookup(input)
37
- p result
38
- rescue CloudmersiveValidateApiClient::ApiError => e
39
- puts "Exception when calling VatApi->vat_vat_lookup: #{e}"
40
- end
41
- ```
42
-
43
- ### Parameters
44
-
45
- Name | Type | Description | Notes
46
- ------------- | ------------- | ------------- | -------------
47
- **input** | [**VatLookupRequest**](VatLookupRequest.md)| Input VAT code |
48
-
49
- ### Return type
50
-
51
- [**VatLookupResponse**](VatLookupResponse.md)
52
-
53
- ### Authorization
54
-
55
- [Apikey](../README.md#Apikey)
56
-
57
- ### HTTP request headers
58
-
59
- - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
60
- - **Accept**: application/json, text/json, application/xml, text/xml
61
-
62
-
63
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::VatLookupRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **vat_code** | **String** | VAT code to lookup; example \"CZ25123891\" | [optional]
7
-
8
-
@@ -1,12 +0,0 @@
1
- # CloudmersiveValidateApiClient::VatLookupResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **country_code** | **String** | Two-letter country code | [optional]
7
- **vat_number** | **String** | VAT number | [optional]
8
- **is_valid** | **BOOLEAN** | True if the VAT code is valid, false otherwise | [optional]
9
- **business_name** | **String** | Name of the business | [optional]
10
- **business_address** | **String** | Business address | [optional]
11
-
12
-
@@ -1,11 +0,0 @@
1
- # CloudmersiveValidateApiClient::WhoisResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_domain** | **BOOLEAN** | True if the domain is valid, false if it is not | [optional]
7
- **whois_server** | **String** | Server used to lookup WHOIS information (may change based on lookup). | [optional]
8
- **raw_text_record** | **String** | WHOIS raw text record | [optional]
9
- **created_dt** | **DateTime** | Creation date for the record | [optional]
10
-
11
-
@@ -1,55 +0,0 @@
1
- #!/bin/sh
2
- #
3
- # Generated by: https://github.com/swagger-api/swagger-codegen.git
4
- #
5
- # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
6
- #
7
- # Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
8
-
9
- git_user_id=$1
10
- git_repo_id=$2
11
- release_note=$3
12
-
13
- if [ "$git_user_id" = "" ]; then
14
- git_user_id="GIT_USER_ID"
15
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
16
- fi
17
-
18
- if [ "$git_repo_id" = "" ]; then
19
- git_repo_id="GIT_REPO_ID"
20
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
21
- fi
22
-
23
- if [ "$release_note" = "" ]; then
24
- release_note="Minor update"
25
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
26
- fi
27
-
28
- # Initialize the local directory as a Git repository
29
- git init
30
-
31
- # Adds the files in the local repository and stages them for commit.
32
- git add .
33
-
34
- # Commits the tracked changes and prepares them to be pushed to a remote repository.
35
- git commit -m "$release_note"
36
-
37
- # Sets the new remote
38
- git_remote=`git remote`
39
- if [ "$git_remote" = "" ]; then # git remote not defined
40
-
41
- if [ "$GIT_TOKEN" = "" ]; then
42
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
43
- git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
44
- else
45
- git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
46
- fi
47
-
48
- fi
49
-
50
- git pull origin master
51
-
52
- # Pushes (Forces) the changes in the local repository up to the remote repository
53
- echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
54
- git push origin master 2>&1 | grep -v 'To https'
55
-
@@ -1,75 +0,0 @@
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
- # Common files
14
- require 'cloudmersive-validate-api-client/api_client'
15
- require 'cloudmersive-validate-api-client/api_error'
16
- require 'cloudmersive-validate-api-client/version'
17
- require 'cloudmersive-validate-api-client/configuration'
18
-
19
- # Models
20
- require 'cloudmersive-validate-api-client/models/address_get_servers_response'
21
- require 'cloudmersive-validate-api-client/models/address_verify_syntax_only_response'
22
- require 'cloudmersive-validate-api-client/models/check_response'
23
- require 'cloudmersive-validate-api-client/models/first_name_validation_request'
24
- require 'cloudmersive-validate-api-client/models/first_name_validation_response'
25
- require 'cloudmersive-validate-api-client/models/full_email_validation_response'
26
- require 'cloudmersive-validate-api-client/models/full_name_validation_request'
27
- require 'cloudmersive-validate-api-client/models/full_name_validation_response'
28
- require 'cloudmersive-validate-api-client/models/geolocate_response'
29
- require 'cloudmersive-validate-api-client/models/get_gender_request'
30
- require 'cloudmersive-validate-api-client/models/get_gender_response'
31
- require 'cloudmersive-validate-api-client/models/last_name_validation_request'
32
- require 'cloudmersive-validate-api-client/models/last_name_validation_response'
33
- require 'cloudmersive-validate-api-client/models/parse_address_request'
34
- require 'cloudmersive-validate-api-client/models/parse_address_response'
35
- require 'cloudmersive-validate-api-client/models/phone_number_validate_request'
36
- require 'cloudmersive-validate-api-client/models/phone_number_validation_response'
37
- require 'cloudmersive-validate-api-client/models/user_agent_validate_request'
38
- require 'cloudmersive-validate-api-client/models/user_agent_validate_response'
39
- require 'cloudmersive-validate-api-client/models/validate_identifier_request'
40
- require 'cloudmersive-validate-api-client/models/validate_identifier_response'
41
- require 'cloudmersive-validate-api-client/models/validate_url_request_full'
42
- require 'cloudmersive-validate-api-client/models/validate_url_request_syntax_only'
43
- require 'cloudmersive-validate-api-client/models/validate_url_response_full'
44
- require 'cloudmersive-validate-api-client/models/validate_url_response_syntax_only'
45
- require 'cloudmersive-validate-api-client/models/vat_lookup_request'
46
- require 'cloudmersive-validate-api-client/models/vat_lookup_response'
47
- require 'cloudmersive-validate-api-client/models/whois_response'
48
-
49
- # APIs
50
- require 'cloudmersive-validate-api-client/api/address_api'
51
- require 'cloudmersive-validate-api-client/api/domain_api'
52
- require 'cloudmersive-validate-api-client/api/email_api'
53
- require 'cloudmersive-validate-api-client/api/ip_address_api'
54
- require 'cloudmersive-validate-api-client/api/name_api'
55
- require 'cloudmersive-validate-api-client/api/phone_number_api'
56
- require 'cloudmersive-validate-api-client/api/user_agent_api'
57
- require 'cloudmersive-validate-api-client/api/vat_api'
58
-
59
- module CloudmersiveValidateApiClient
60
- class << self
61
- # Customize default settings for the SDK using block.
62
- # CloudmersiveValidateApiClient.configure do |config|
63
- # config.username = "xxx"
64
- # config.password = "xxx"
65
- # end
66
- # If no block given, return the default Configuration object.
67
- def configure
68
- if block_given?
69
- yield(Configuration.default)
70
- else
71
- Configuration.default
72
- end
73
- end
74
- end
75
- end