cloudmersive-validate-api-client 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7e845594e73989c5d0a4661c004b7d90214048cb96ee4ccc88c14633196c9eb
4
- data.tar.gz: b056a8361289e40855ebefbb1c2a0edb84337ccd2f77f096122d3f1d95668d96
3
+ metadata.gz: 651df94b49985ee194b2b4f98a807122b77ccc2229f16e755b3e57eaa6a41f67
4
+ data.tar.gz: 8b0a5a3632a2b263c8ada9924f64048586a1b52732a7f48df51d1b30ddc9c77f
5
5
  SHA512:
6
- metadata.gz: 3330ae0c6d5c0560b8f62016a15f8e1d061d4406b951e755be027628116ee32f25f6e2a3e8df44d4fe75e417ae49ddb4ceaee6ed18fa7b39e292355a1945d5d6
7
- data.tar.gz: d8c55d9300dc77d9860368912847742ba32d22feda048614ff3726e4001be80463d6f375bb824a996ac9691e4ac3fb507a1fae6babd839baf3e6919265b27b03
6
+ metadata.gz: a8582002ca7fae01d888e84a6e22c6dc5f4c6f11db9201f257d8e381723bd047b012aa869f9201a6ab2183dcb654796b1baeb363d4dfc0ce700911d67005e2ea
7
+ data.tar.gz: 42d02589332c71c7f26197019c9ca7099866d0fa9a1ac5cfbf703261d86345c0a89b0fbf928d79a13c6dd19f8efd3e6c343d4a54d2928f651ab66515ec794f7c
data/README.md CHANGED
@@ -7,7 +7,7 @@ The validation APIs help you validate data. Check if an E-mail address is real.
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 1.3.2
10
+ - Package version: 1.3.3
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build cloudmersive-validate-api-client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./cloudmersive-validate-api-client-1.3.2.gem
26
+ gem install ./cloudmersive-validate-api-client-1.3.3.gem
27
27
  ```
28
- (for development, run `gem install --dev ./cloudmersive-validate-api-client-1.3.2.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./cloudmersive-validate-api-client-1.3.3.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'cloudmersive-validate-api-client', '~> 1.3.2'
34
+ gem 'cloudmersive-validate-api-client', '~> 1.3.3'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -10,5 +10,7 @@ Name | Type | Description | Notes
10
10
  **valid_smtp** | **BOOLEAN** | True if the email address was verified by the remote server, false otherwise. This is one component of ValidAddress, but not the only one. | [optional]
11
11
  **is_catchall_domain** | **BOOLEAN** | True if the domain is a catch-all domain name, false otherwise. Catch-all domain names, while rare, always accept inbound email to ensure they do not lose any potentially useful emails. Catch-all domain names can occassionally be configured to first accept and store all inbound email, but then later send a bounce email back to the sender after a delayed period of time. | [optional]
12
12
  **domain** | **String** | Domain name of the email address | [optional]
13
+ **is_free_email_provider** | **BOOLEAN** | True if the email domain name is a free provider (typically a free to sign up web email provider for consumers / personal use), false otherwise. | [optional]
14
+ **is_disposable** | **BOOLEAN** | True if the email address is a disposable email address, false otherwise; these disposable providers are not typically used to receive email and so will have a low likelihood of opening mail sent there. | [optional]
13
15
 
14
16
 
@@ -36,6 +36,12 @@ module CloudmersiveValidateApiClient
36
36
  # Domain name of the email address
37
37
  attr_accessor :domain
38
38
 
39
+ # True if the email domain name is a free provider (typically a free to sign up web email provider for consumers / personal use), false otherwise.
40
+ attr_accessor :is_free_email_provider
41
+
42
+ # True if the email address is a disposable email address, false otherwise; these disposable providers are not typically used to receive email and so will have a low likelihood of opening mail sent there.
43
+ attr_accessor :is_disposable
44
+
39
45
 
40
46
  # Attribute mapping from ruby-style variable name to JSON key.
41
47
  def self.attribute_map
@@ -46,7 +52,9 @@ module CloudmersiveValidateApiClient
46
52
  :'valid_domain' => :'Valid_Domain',
47
53
  :'valid_smtp' => :'Valid_SMTP',
48
54
  :'is_catchall_domain' => :'IsCatchallDomain',
49
- :'domain' => :'Domain'
55
+ :'domain' => :'Domain',
56
+ :'is_free_email_provider' => :'IsFreeEmailProvider',
57
+ :'is_disposable' => :'IsDisposable'
50
58
  }
51
59
  end
52
60
 
@@ -59,7 +67,9 @@ module CloudmersiveValidateApiClient
59
67
  :'valid_domain' => :'BOOLEAN',
60
68
  :'valid_smtp' => :'BOOLEAN',
61
69
  :'is_catchall_domain' => :'BOOLEAN',
62
- :'domain' => :'String'
70
+ :'domain' => :'String',
71
+ :'is_free_email_provider' => :'BOOLEAN',
72
+ :'is_disposable' => :'BOOLEAN'
63
73
  }
64
74
  end
65
75
 
@@ -99,6 +109,14 @@ module CloudmersiveValidateApiClient
99
109
  self.domain = attributes[:'Domain']
100
110
  end
101
111
 
112
+ if attributes.has_key?(:'IsFreeEmailProvider')
113
+ self.is_free_email_provider = attributes[:'IsFreeEmailProvider']
114
+ end
115
+
116
+ if attributes.has_key?(:'IsDisposable')
117
+ self.is_disposable = attributes[:'IsDisposable']
118
+ end
119
+
102
120
  end
103
121
 
104
122
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -125,7 +143,9 @@ module CloudmersiveValidateApiClient
125
143
  valid_domain == o.valid_domain &&
126
144
  valid_smtp == o.valid_smtp &&
127
145
  is_catchall_domain == o.is_catchall_domain &&
128
- domain == o.domain
146
+ domain == o.domain &&
147
+ is_free_email_provider == o.is_free_email_provider &&
148
+ is_disposable == o.is_disposable
129
149
  end
130
150
 
131
151
  # @see the `==` method
@@ -137,7 +157,7 @@ module CloudmersiveValidateApiClient
137
157
  # Calculates hash code according to all attributes.
138
158
  # @return [Fixnum] Hash code
139
159
  def hash
140
- [valid_address, mail_server_used_for_validation, valid_syntax, valid_domain, valid_smtp, is_catchall_domain, domain].hash
160
+ [valid_address, mail_server_used_for_validation, valid_syntax, valid_domain, valid_smtp, is_catchall_domain, domain, is_free_email_provider, is_disposable].hash
141
161
  end
142
162
 
143
163
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: unset
11
11
  =end
12
12
 
13
13
  module CloudmersiveValidateApiClient
14
- VERSION = "1.3.2"
14
+ VERSION = "1.3.3"
15
15
  end
@@ -74,5 +74,17 @@ describe 'FullEmailValidationResponse' do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "is_free_email_provider"' 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 "is_disposable"' 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
+
77
89
  end
78
90
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmersive-validate-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-29 00:00:00.000000000 Z
11
+ date: 2019-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus