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,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::FullNameValidationRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **full_name_string** | **String** | Full name to process as a free-form string; supports many components such as First Name, Middle Name, Last Name, Title, Nickname, Suffix, and Display Name | [optional]
7
-
8
-
@@ -1,17 +0,0 @@
1
- # CloudmersiveValidateApiClient::FullNameValidationResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if the validation operation was successful, false otherwise | [optional]
7
- **validation_result_first_name** | **String** | Possible values are: ValidFirstName, ValidUnknownFirstName, InvalidSpamInput, InvalidCharacters, InvalidEmpty | [optional]
8
- **validation_result_last_name** | **String** | Possible values are: ValidLastName, ValidUnknownLastName, InvalidSpamInput, InvalidCharacters, InvalidEmpty | [optional]
9
- **title** | **String** | The person's title (if supplied), e.g. \"Mr.\" or \"Ms.\" | [optional]
10
- **first_name** | **String** | The first name (given name) | [optional]
11
- **middle_name** | **String** | The middle name(s); if there are multiple names they will be separated by spaces | [optional]
12
- **last_name** | **String** | The last name (surname) | [optional]
13
- **nick_name** | **String** | Nickname (if supplied) | [optional]
14
- **suffix** | **String** | Suffix to the name, e.g. \"Jr.\" or \"Sr.\" | [optional]
15
- **display_name** | **String** | The full display name of the name | [optional]
16
-
17
-
@@ -1,16 +0,0 @@
1
- # CloudmersiveValidateApiClient::GeolocateResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **country_code** | **String** | Two-letter country code of IP address | [optional]
7
- **country_name** | **String** | Country name of IP address | [optional]
8
- **city** | **String** | City of IP address | [optional]
9
- **region_code** | **String** | State/region code of IP address | [optional]
10
- **region_name** | **String** | State/region of IP address | [optional]
11
- **zip_code** | **String** | Zip or postal code of IP address | [optional]
12
- **timezone_standard_name** | **String** | Timezone of IP address | [optional]
13
- **latitude** | **Float** | Latitude of IP address | [optional]
14
- **longitude** | **Float** | Longitude of IP address | [optional]
15
-
16
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::GetGenderRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **first_name** | **String** | Input first name (given name) to get the gender of | [optional]
7
- **country_code** | **String** | Optional; the country for this name, possible values are \"US\", \"LY\", \"NI\", \"TT\", \"MK\", \"KZ\", \"BO\", \"UG\", \"TZ\", \"CL\", \"SI\", \"MA\", \"RW\", \"VN\", \"AW\", \"CY\", \"BH\", \"SG\", \"ZA\", \"MU\", \"BR\", \"TN\", \"KH\", \"US\", \"TH\", \"TW\", \"UY\", \"DO\", \"CO\", \"UA\", \"QA\", \"BY\", \"SN\", \"SD\", \"FJ\", \"LB\", \"BE\", \"ML\", \"LV\", \"FR\", \"TM\", \"NG\", \"EC\", \"NO\", \"SL\", \"CR\", \"PA\", \"GE\", \"CH\", \"KR\", \"RS\", \"ZM\", \"FI\", \"BF\", \"MC\", \"AU\", \"GA\", \"LS\", \"RU\", \"IN\", \"SE\", \"LK\", \"BZ\", \"MX\", \"GH\", \"AF\", \"TJ\", \"BN\", \"DZ\", \"CM\", \"GR\", \"MD\", \"HN\", \"AT\", \"NZ\", \"SV\", \"GW\", \"NA\", \"AR\", \"MZ\", \"PK\", \"MN\", \"IQ\", \"BW\", \"VE\", \"PT\", \"BS\", \"AL\", \"TG\", \"ID\", \"ET\", \"CF\", \"JP\", \"BB\", \"PH\", \"CU\", \"BD\", \"AO\", \"SM\", \"LC\", \"ME\", \"RO\", DANIL\"O\"\", \"ES\", \"EE\", \"IL\", \"ZW\", \"SY\", \"MW\", \"LU\", \"IR\", \"SC\", \"NL\", \"JO\", \"AM\", \"DE\", \"GL\", \"OM\", \"DK\", \"HR\", \"LI\", \"TD\", \"KM\", \"BA\", \"GM\", \"GD\", \"CA\", \"CZ\", \"MR\", \"ST\", \"IS\", \"LR\", \"IE\", \"VC\", \"AE\", \"KG\", \"DJ\", \"TR\", \"KE\", \"NE\", \"UZ\", \"CN\", \"GQ\", \"SK\", \"BJ\", \"MG\", \"BT\", \"EG\", \"PL\", \"IT\", \"SA\", \"MY\", \"CI\", \"AG\", \"AD\", \"KS\", \"HU\", \"CG\", \"KP\", \"DM\", \"GN\", \"GT\", \"NP\", \"JM\", \"LA\", \"GB\", \"BG\", \"HT\", \"PE\", \"AZ\", \"LT\", \"SZ\", \"PY\", \"MT\", \"VA\" | [optional]
8
-
9
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::GetGenderResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
7
- **gender** | **String** | Gender for this name; possible values are Male, Female, and Neutral (can be applied to Male or Female) | [optional]
8
-
9
-
@@ -1,63 +0,0 @@
1
- # CloudmersiveValidateApiClient::IPAddressApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**i_p_address_post**](IPAddressApi.md#i_p_address_post) | **POST** /validate/ip/geolocate | Geolocate an IP address
8
-
9
-
10
- # **i_p_address_post**
11
- > GeolocateResponse i_p_address_post(value)
12
-
13
- Geolocate an IP address
14
-
15
- Identify an IP address Country, State/Provence, City, Zip/Postal Code, etc. Useful for security and UX applications.
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::IPAddressApi.new
30
-
31
- value = "value_example" # String | IP address to geolocate, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
32
-
33
-
34
- begin
35
- #Geolocate an IP address
36
- result = api_instance.i_p_address_post(value)
37
- p result
38
- rescue CloudmersiveValidateApiClient::ApiError => e
39
- puts "Exception when calling IPAddressApi->i_p_address_post: #{e}"
40
- end
41
- ```
42
-
43
- ### Parameters
44
-
45
- Name | Type | Description | Notes
46
- ------------- | ------------- | ------------- | -------------
47
- **value** | **String**| IP address to geolocate, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes. |
48
-
49
- ### Return type
50
-
51
- [**GeolocateResponse**](GeolocateResponse.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::LastNameValidationRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **last_name** | **String** | Last name to process | [optional]
7
-
8
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::LastNameValidationResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if the validation operation was successful, false otherwise | [optional]
7
- **validation_result** | **String** | Possible values are: ValidLastName, ValidUnknownLastName, InvalidSpamInput, InvalidCharacters, InvalidEmpty | [optional]
8
-
9
-
@@ -1,283 +0,0 @@
1
- # CloudmersiveValidateApiClient::NameApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**name_get_gender**](NameApi.md#name_get_gender) | **POST** /validate/name/get-gender | Get the gender of a first name
8
- [**name_identifier**](NameApi.md#name_identifier) | **POST** /validate/name/identifier | Validate a code identifier
9
- [**name_validate_first_name**](NameApi.md#name_validate_first_name) | **POST** /validate/name/first | Validate a first name
10
- [**name_validate_full_name**](NameApi.md#name_validate_full_name) | **POST** /validate/name/full-name | Parse and validate a full name
11
- [**name_validate_last_name**](NameApi.md#name_validate_last_name) | **POST** /validate/name/last | Validate a last name
12
-
13
-
14
- # **name_get_gender**
15
- > GetGenderResponse name_get_gender(input)
16
-
17
- Get the gender of a first name
18
-
19
- Determines the gender of a first name (given name)
20
-
21
- ### Example
22
- ```ruby
23
- # load the gem
24
- require 'cloudmersive-validate-api-client'
25
- # setup authorization
26
- CloudmersiveValidateApiClient.configure do |config|
27
- # Configure API key authorization: Apikey
28
- config.api_key['Apikey'] = 'YOUR API KEY'
29
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
30
- #config.api_key_prefix['Apikey'] = 'Bearer'
31
- end
32
-
33
- api_instance = CloudmersiveValidateApiClient::NameApi.new
34
-
35
- input = CloudmersiveValidateApiClient::GetGenderRequest.new # GetGenderRequest | Gender request information
36
-
37
-
38
- begin
39
- #Get the gender of a first name
40
- result = api_instance.name_get_gender(input)
41
- p result
42
- rescue CloudmersiveValidateApiClient::ApiError => e
43
- puts "Exception when calling NameApi->name_get_gender: #{e}"
44
- end
45
- ```
46
-
47
- ### Parameters
48
-
49
- Name | Type | Description | Notes
50
- ------------- | ------------- | ------------- | -------------
51
- **input** | [**GetGenderRequest**](GetGenderRequest.md)| Gender request information |
52
-
53
- ### Return type
54
-
55
- [**GetGenderResponse**](GetGenderResponse.md)
56
-
57
- ### Authorization
58
-
59
- [Apikey](../README.md#Apikey)
60
-
61
- ### HTTP request headers
62
-
63
- - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
64
- - **Accept**: application/json, text/json, application/xml, text/xml
65
-
66
-
67
-
68
- # **name_identifier**
69
- > ValidateIdentifierResponse name_identifier(input)
70
-
71
- Validate a code identifier
72
-
73
- 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\".
74
-
75
- ### Example
76
- ```ruby
77
- # load the gem
78
- require 'cloudmersive-validate-api-client'
79
- # setup authorization
80
- CloudmersiveValidateApiClient.configure do |config|
81
- # Configure API key authorization: Apikey
82
- config.api_key['Apikey'] = 'YOUR API KEY'
83
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
84
- #config.api_key_prefix['Apikey'] = 'Bearer'
85
- end
86
-
87
- api_instance = CloudmersiveValidateApiClient::NameApi.new
88
-
89
- input = CloudmersiveValidateApiClient::ValidateIdentifierRequest.new # ValidateIdentifierRequest | Identifier validation request information
90
-
91
-
92
- begin
93
- #Validate a code identifier
94
- result = api_instance.name_identifier(input)
95
- p result
96
- rescue CloudmersiveValidateApiClient::ApiError => e
97
- puts "Exception when calling NameApi->name_identifier: #{e}"
98
- end
99
- ```
100
-
101
- ### Parameters
102
-
103
- Name | Type | Description | Notes
104
- ------------- | ------------- | ------------- | -------------
105
- **input** | [**ValidateIdentifierRequest**](ValidateIdentifierRequest.md)| Identifier validation request information |
106
-
107
- ### Return type
108
-
109
- [**ValidateIdentifierResponse**](ValidateIdentifierResponse.md)
110
-
111
- ### Authorization
112
-
113
- [Apikey](../README.md#Apikey)
114
-
115
- ### HTTP request headers
116
-
117
- - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
118
- - **Accept**: application/json, text/json, application/xml, text/xml
119
-
120
-
121
-
122
- # **name_validate_first_name**
123
- > FirstNameValidationResponse name_validate_first_name(input)
124
-
125
- Validate a first name
126
-
127
- Determines if a string is a valid first name (given name)
128
-
129
- ### Example
130
- ```ruby
131
- # load the gem
132
- require 'cloudmersive-validate-api-client'
133
- # setup authorization
134
- CloudmersiveValidateApiClient.configure do |config|
135
- # Configure API key authorization: Apikey
136
- config.api_key['Apikey'] = 'YOUR API KEY'
137
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
138
- #config.api_key_prefix['Apikey'] = 'Bearer'
139
- end
140
-
141
- api_instance = CloudmersiveValidateApiClient::NameApi.new
142
-
143
- input = CloudmersiveValidateApiClient::FirstNameValidationRequest.new # FirstNameValidationRequest | Validation request information
144
-
145
-
146
- begin
147
- #Validate a first name
148
- result = api_instance.name_validate_first_name(input)
149
- p result
150
- rescue CloudmersiveValidateApiClient::ApiError => e
151
- puts "Exception when calling NameApi->name_validate_first_name: #{e}"
152
- end
153
- ```
154
-
155
- ### Parameters
156
-
157
- Name | Type | Description | Notes
158
- ------------- | ------------- | ------------- | -------------
159
- **input** | [**FirstNameValidationRequest**](FirstNameValidationRequest.md)| Validation request information |
160
-
161
- ### Return type
162
-
163
- [**FirstNameValidationResponse**](FirstNameValidationResponse.md)
164
-
165
- ### Authorization
166
-
167
- [Apikey](../README.md#Apikey)
168
-
169
- ### HTTP request headers
170
-
171
- - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
172
- - **Accept**: application/json, text/json, application/xml, text/xml
173
-
174
-
175
-
176
- # **name_validate_full_name**
177
- > FullNameValidationResponse name_validate_full_name(input)
178
-
179
- Parse and validate a full name
180
-
181
- Parses a full name string (e.g. \"Mr. Jon van der Waal Jr.\") into its component parts (and returns these component parts), and then validates whether it is a valid name string or not
182
-
183
- ### Example
184
- ```ruby
185
- # load the gem
186
- require 'cloudmersive-validate-api-client'
187
- # setup authorization
188
- CloudmersiveValidateApiClient.configure do |config|
189
- # Configure API key authorization: Apikey
190
- config.api_key['Apikey'] = 'YOUR API KEY'
191
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
192
- #config.api_key_prefix['Apikey'] = 'Bearer'
193
- end
194
-
195
- api_instance = CloudmersiveValidateApiClient::NameApi.new
196
-
197
- input = CloudmersiveValidateApiClient::FullNameValidationRequest.new # FullNameValidationRequest | Validation request information
198
-
199
-
200
- begin
201
- #Parse and validate a full name
202
- result = api_instance.name_validate_full_name(input)
203
- p result
204
- rescue CloudmersiveValidateApiClient::ApiError => e
205
- puts "Exception when calling NameApi->name_validate_full_name: #{e}"
206
- end
207
- ```
208
-
209
- ### Parameters
210
-
211
- Name | Type | Description | Notes
212
- ------------- | ------------- | ------------- | -------------
213
- **input** | [**FullNameValidationRequest**](FullNameValidationRequest.md)| Validation request information |
214
-
215
- ### Return type
216
-
217
- [**FullNameValidationResponse**](FullNameValidationResponse.md)
218
-
219
- ### Authorization
220
-
221
- [Apikey](../README.md#Apikey)
222
-
223
- ### HTTP request headers
224
-
225
- - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
226
- - **Accept**: application/json, text/json, application/xml, text/xml
227
-
228
-
229
-
230
- # **name_validate_last_name**
231
- > LastNameValidationResponse name_validate_last_name(input)
232
-
233
- Validate a last name
234
-
235
- Determines if a string is a valid last name (surname)
236
-
237
- ### Example
238
- ```ruby
239
- # load the gem
240
- require 'cloudmersive-validate-api-client'
241
- # setup authorization
242
- CloudmersiveValidateApiClient.configure do |config|
243
- # Configure API key authorization: Apikey
244
- config.api_key['Apikey'] = 'YOUR API KEY'
245
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
246
- #config.api_key_prefix['Apikey'] = 'Bearer'
247
- end
248
-
249
- api_instance = CloudmersiveValidateApiClient::NameApi.new
250
-
251
- input = CloudmersiveValidateApiClient::LastNameValidationRequest.new # LastNameValidationRequest | Validation request information
252
-
253
-
254
- begin
255
- #Validate a last name
256
- result = api_instance.name_validate_last_name(input)
257
- p result
258
- rescue CloudmersiveValidateApiClient::ApiError => e
259
- puts "Exception when calling NameApi->name_validate_last_name: #{e}"
260
- end
261
- ```
262
-
263
- ### Parameters
264
-
265
- Name | Type | Description | Notes
266
- ------------- | ------------- | ------------- | -------------
267
- **input** | [**LastNameValidationRequest**](LastNameValidationRequest.md)| Validation request information |
268
-
269
- ### Return type
270
-
271
- [**LastNameValidationResponse**](LastNameValidationResponse.md)
272
-
273
- ### Authorization
274
-
275
- [Apikey](../README.md#Apikey)
276
-
277
- ### HTTP request headers
278
-
279
- - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
280
- - **Accept**: application/json, text/json, application/xml, text/xml
281
-
282
-
283
-
@@ -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,15 +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** | **String** | Country of the address, if present in the address. If not included in the address it will be null. | [optional]
14
-
15
-