cloudmersive-validate-api-client 1.3.9 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -139
  3. data/Gemfile +0 -7
  4. data/README.md +0 -151
  5. data/Rakefile +0 -8
  6. data/cloudmersive-validate-api-client.gemspec +0 -45
  7. data/docs/AddressApi.md +0 -118
  8. data/docs/AddressGetServersResponse.md +0 -9
  9. data/docs/AddressVerifySyntaxOnlyResponse.md +0 -11
  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/LeadEnrichmentApi.md +0 -61
  25. data/docs/LeadEnrichmentRequest.md +0 -21
  26. data/docs/LeadEnrichmentResponse.md +0 -25
  27. data/docs/NameApi.md +0 -283
  28. data/docs/ParseAddressRequest.md +0 -9
  29. data/docs/ParseAddressResponse.md +0 -16
  30. data/docs/PhoneNumberApi.md +0 -63
  31. data/docs/PhoneNumberValidateRequest.md +0 -9
  32. data/docs/PhoneNumberValidationResponse.md +0 -15
  33. data/docs/UserAgentApi.md +0 -63
  34. data/docs/UserAgentValidateRequest.md +0 -8
  35. data/docs/UserAgentValidateResponse.md +0 -21
  36. data/docs/ValidateCountryRequest.md +0 -8
  37. data/docs/ValidateCountryResponse.md +0 -12
  38. data/docs/ValidateIdentifierRequest.md +0 -15
  39. data/docs/ValidateIdentifierResponse.md +0 -9
  40. data/docs/ValidateUrlRequestFull.md +0 -8
  41. data/docs/ValidateUrlRequestSyntaxOnly.md +0 -8
  42. data/docs/ValidateUrlResponseFull.md +0 -12
  43. data/docs/ValidateUrlResponseSyntaxOnly.md +0 -9
  44. data/docs/VatApi.md +0 -63
  45. data/docs/VatLookupRequest.md +0 -8
  46. data/docs/VatLookupResponse.md +0 -19
  47. data/docs/WhoisResponse.md +0 -22
  48. data/git_push.sh +0 -55
  49. data/lib/cloudmersive-validate-api-client.rb +0 -80
  50. data/lib/cloudmersive-validate-api-client/api/address_api.rb +0 -133
  51. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +0 -243
  52. data/lib/cloudmersive-validate-api-client/api/email_api.rb +0 -188
  53. data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +0 -78
  54. data/lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb +0 -78
  55. data/lib/cloudmersive-validate-api-client/api/name_api.rb +0 -298
  56. data/lib/cloudmersive-validate-api-client/api/phone_number_api.rb +0 -78
  57. data/lib/cloudmersive-validate-api-client/api/user_agent_api.rb +0 -78
  58. data/lib/cloudmersive-validate-api-client/api/vat_api.rb +0 -78
  59. data/lib/cloudmersive-validate-api-client/api_client.rb +0 -389
  60. data/lib/cloudmersive-validate-api-client/api_error.rb +0 -38
  61. data/lib/cloudmersive-validate-api-client/configuration.rb +0 -209
  62. data/lib/cloudmersive-validate-api-client/models/address_get_servers_response.rb +0 -201
  63. data/lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb +0 -219
  64. data/lib/cloudmersive-validate-api-client/models/check_response.rb +0 -189
  65. data/lib/cloudmersive-validate-api-client/models/first_name_validation_request.rb +0 -189
  66. data/lib/cloudmersive-validate-api-client/models/first_name_validation_response.rb +0 -199
  67. data/lib/cloudmersive-validate-api-client/models/full_email_validation_response.rb +0 -269
  68. data/lib/cloudmersive-validate-api-client/models/full_name_validation_request.rb +0 -189
  69. data/lib/cloudmersive-validate-api-client/models/full_name_validation_response.rb +0 -279
  70. data/lib/cloudmersive-validate-api-client/models/geolocate_response.rb +0 -269
  71. data/lib/cloudmersive-validate-api-client/models/get_gender_request.rb +0 -199
  72. data/lib/cloudmersive-validate-api-client/models/get_gender_response.rb +0 -199
  73. data/lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb +0 -189
  74. data/lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb +0 -199
  75. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb +0 -319
  76. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb +0 -359
  77. data/lib/cloudmersive-validate-api-client/models/parse_address_request.rb +0 -199
  78. data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +0 -269
  79. data/lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb +0 -199
  80. data/lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb +0 -259
  81. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb +0 -189
  82. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb +0 -319
  83. data/lib/cloudmersive-validate-api-client/models/validate_country_request.rb +0 -189
  84. data/lib/cloudmersive-validate-api-client/models/validate_country_response.rb +0 -229
  85. data/lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb +0 -259
  86. data/lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb +0 -199
  87. data/lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb +0 -189
  88. data/lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb +0 -189
  89. data/lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb +0 -229
  90. data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +0 -199
  91. data/lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb +0 -189
  92. data/lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb +0 -299
  93. data/lib/cloudmersive-validate-api-client/models/whois_response.rb +0 -329
  94. data/lib/cloudmersive-validate-api-client/version.rb +0 -15
  95. data/spec/api/address_api_spec.rb +0 -59
  96. data/spec/api/domain_api_spec.rb +0 -83
  97. data/spec/api/email_api_spec.rb +0 -71
  98. data/spec/api/ip_address_api_spec.rb +0 -47
  99. data/spec/api/lead_enrichment_api_spec.rb +0 -47
  100. data/spec/api/name_api_spec.rb +0 -95
  101. data/spec/api/phone_number_api_spec.rb +0 -47
  102. data/spec/api/user_agent_api_spec.rb +0 -47
  103. data/spec/api/vat_api_spec.rb +0 -47
  104. data/spec/api_client_spec.rb +0 -226
  105. data/spec/configuration_spec.rb +0 -42
  106. data/spec/models/address_get_servers_response_spec.rb +0 -48
  107. data/spec/models/address_verify_syntax_only_response_spec.rb +0 -60
  108. data/spec/models/check_response_spec.rb +0 -42
  109. data/spec/models/first_name_validation_request_spec.rb +0 -42
  110. data/spec/models/first_name_validation_response_spec.rb +0 -48
  111. data/spec/models/full_email_validation_response_spec.rb +0 -90
  112. data/spec/models/full_name_validation_request_spec.rb +0 -42
  113. data/spec/models/full_name_validation_response_spec.rb +0 -96
  114. data/spec/models/geolocate_response_spec.rb +0 -90
  115. data/spec/models/get_gender_request_spec.rb +0 -48
  116. data/spec/models/get_gender_response_spec.rb +0 -48
  117. data/spec/models/last_name_validation_request_spec.rb +0 -42
  118. data/spec/models/last_name_validation_response_spec.rb +0 -48
  119. data/spec/models/lead_enrichment_request_spec.rb +0 -120
  120. data/spec/models/lead_enrichment_response_spec.rb +0 -144
  121. data/spec/models/parse_address_request_spec.rb +0 -48
  122. data/spec/models/parse_address_response_spec.rb +0 -90
  123. data/spec/models/phone_number_validate_request_spec.rb +0 -48
  124. data/spec/models/phone_number_validation_response_spec.rb +0 -84
  125. data/spec/models/user_agent_validate_request_spec.rb +0 -42
  126. data/spec/models/user_agent_validate_response_spec.rb +0 -120
  127. data/spec/models/validate_country_request_spec.rb +0 -42
  128. data/spec/models/validate_country_response_spec.rb +0 -66
  129. data/spec/models/validate_identifier_request_spec.rb +0 -84
  130. data/spec/models/validate_identifier_response_spec.rb +0 -48
  131. data/spec/models/validate_url_request_full_spec.rb +0 -42
  132. data/spec/models/validate_url_request_syntax_only_spec.rb +0 -42
  133. data/spec/models/validate_url_response_full_spec.rb +0 -66
  134. data/spec/models/validate_url_response_syntax_only_spec.rb +0 -48
  135. data/spec/models/vat_lookup_request_spec.rb +0 -42
  136. data/spec/models/vat_lookup_response_spec.rb +0 -108
  137. data/spec/models/whois_response_spec.rb +0 -126
  138. data/spec/spec_helper.rb +0 -111
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::ParseAddressRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **address_string** | **String** | A mailing address or street address formatted as a single text string; this will be parsed into its components | [optional]
7
- **capitalization_mode** | **String** | Optional; indicates how the parsed output should be capitalized; default is Title Case; possible values are: \"Uppercase\" will set the capitalization to UPPER CASE; \"Lowercase\" will set the capitalization to lower case; \"Titlecase\" will set the capitalization to Title Case; and \"Originalcase\" will preserve the original casing as much as possible | [optional]
8
-
9
-
@@ -1,16 +0,0 @@
1
- # CloudmersiveValidateApiClient::ParseAddressResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if the parsing operation was successful, false otherwise | [optional]
7
- **building** | **String** | The name of the building, house or structure if applicable, such as \"Cloudmersive Building 2\". This will often by null. | [optional]
8
- **street_number** | **String** | 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. | [optional]
9
- **street** | **String** | 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\". | [optional]
10
- **city** | **String** | The city of the address. | [optional]
11
- **state_or_province** | **String** | The state or province of the address. | [optional]
12
- **postal_code** | **String** | The postal code or zip code of the address. | [optional]
13
- **country_full_name** | **String** | Country of the address, if present in the address. If not included in the address it will be null. | [optional]
14
- **iso_two_letter_code** | **String** | Two-letter ISO 3166-1 country code | [optional]
15
-
16
-
@@ -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
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
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,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateCountryRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **raw_country_input** | **String** | Raw country input - can be a two-letter code (FIPS 10-4 or ISO 3166-1), three-letter code (ISO 3166-1) or country name | [optional]
7
-
8
-
@@ -1,12 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateCountryResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
7
- **country_full_name** | **String** | Full name of the country | [optional]
8
- **iso_two_letter_code** | **String** | Two-letter ISO 3166-1 country code | [optional]
9
- **fips_two_letter_code** | **String** | Two-letter FIPS 10-4 country code | [optional]
10
- **three_letter_code** | **String** | Three-letter ISO 3166-1 country code | [optional]
11
-
12
-
@@ -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
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,19 +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 as a single string | [optional]
11
- **business_building** | **String** | For the business address, the name of the building, house or structure if applicable, such as \"Cloudmersive Building 2\". This will often by null. | [optional]
12
- **business_street_number** | **String** | 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. | [optional]
13
- **business_street** | **String** | 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\". | [optional]
14
- **business_city** | **String** | For the business address, the city of the address. | [optional]
15
- **business_state_or_province** | **String** | For the business address, the state or province of the address. | [optional]
16
- **business_postal_code** | **String** | For the business address, the postal code or zip code of the address. | [optional]
17
- **business_country** | **String** | For the business address, country of the address, if present in the address. If not included in the address it will be null. | [optional]
18
-
19
-
@@ -1,22 +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
- **registrant_name** | **String** | Name of the domain registrant | [optional]
8
- **registrant_organization** | **String** | Organization name of the domain registrant | [optional]
9
- **registrant_email** | **String** | Email address of the domain registrant | [optional]
10
- **registrant_street_number** | **String** | Street number of the address of the domain registrant, if available | [optional]
11
- **registrant_street** | **String** | Street name of the address of the domain registrant, if available | [optional]
12
- **registrant_city** | **String** | City of the domain registrant, if available | [optional]
13
- **registrant_state_or_province** | **String** | State or Province of the address of the domain registrant, if available | [optional]
14
- **registrant_postal_code** | **String** | Postal code of the address of the domain registrant, if available | [optional]
15
- **registrant_country** | **String** | Country of the address of the domain registrant, if available | [optional]
16
- **registrant_raw_address** | **String** | Raw address string of the domain registrant, if available | [optional]
17
- **registrant_telephone** | **String** | Telephone number of the address of the domain registrant | [optional]
18
- **whois_server** | **String** | Server used to lookup WHOIS information (may change based on lookup). | [optional]
19
- **raw_text_record** | **String** | WHOIS raw text record | [optional]
20
- **created_dt** | **DateTime** | Creation date for the record | [optional]
21
-
22
-
@@ -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
-