cloudmersive-validate-api-client 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05bb59da0b575056bb82adbd429c529ba889b8dfbe56668e3914836566e4cbf9
4
- data.tar.gz: cc5c4ed09866e15ca51ad4cb7d84e57b49b299228815b889ef1fa2e2d3fa7c9f
3
+ metadata.gz: e7e845594e73989c5d0a4661c004b7d90214048cb96ee4ccc88c14633196c9eb
4
+ data.tar.gz: b056a8361289e40855ebefbb1c2a0edb84337ccd2f77f096122d3f1d95668d96
5
5
  SHA512:
6
- metadata.gz: a9c10ec06a37af7ae68cad4434d8cc1830c70d200cc29d711451cc2c68ada0f55d04757b7fc75561828f4289dc25ceb81981699ee82032f257311ead74ea932d
7
- data.tar.gz: 3e2d488d5188c41e2bf56f32391813a78011525907ce625002eba64f2b9ca02aa52ffd97cd9b0aa79522274d6a161bc9f69c4ec1ab3e8f6fe615595efc15cf2d
6
+ metadata.gz: 3330ae0c6d5c0560b8f62016a15f8e1d061d4406b951e755be027628116ee32f25f6e2a3e8df44d4fe75e417ae49ddb4ceaee6ed18fa7b39e292355a1945d5d6
7
+ data.tar.gz: d8c55d9300dc77d9860368912847742ba32d22feda048614ff3726e4001be80463d6f375bb824a996ac9691e4ac3fb507a1fae6babd839baf3e6919265b27b03
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.1
10
+ - Package version: 1.3.2
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.1.gem
26
+ gem install ./cloudmersive-validate-api-client-1.3.2.gem
27
27
  ```
28
- (for development, run `gem install --dev ./cloudmersive-validate-api-client-1.3.1.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./cloudmersive-validate-api-client-1.3.2.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.1'
34
+ gem 'cloudmersive-validate-api-client', '~> 1.3.2'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -3,7 +3,12 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **valid_address** | **BOOLEAN** | True if the email address is valid, false otherwise | [optional]
6
+ **valid_address** | **BOOLEAN** | True if the email address is valid overall, false otherwise | [optional]
7
7
  **mail_server_used_for_validation** | **String** | Email server connected to for verification | [optional]
8
+ **valid_syntax** | **BOOLEAN** | True if the syntax of the email address is valid, false otherwise. This is one component of ValidAddress, but not the only one. | [optional]
9
+ **valid_domain** | **BOOLEAN** | True if the domain name of the email address is valid, false otherwise. This is one component of ValidAddress, but not the only one. | [optional]
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
+ **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
+ **domain** | **String** | Domain name of the email address | [optional]
8
13
 
9
14
 
@@ -15,18 +15,38 @@ require 'date'
15
15
  module CloudmersiveValidateApiClient
16
16
  # Full email addresss validation result
17
17
  class FullEmailValidationResponse
18
- # True if the email address is valid, false otherwise
18
+ # True if the email address is valid overall, false otherwise
19
19
  attr_accessor :valid_address
20
20
 
21
21
  # Email server connected to for verification
22
22
  attr_accessor :mail_server_used_for_validation
23
23
 
24
+ # True if the syntax of the email address is valid, false otherwise. This is one component of ValidAddress, but not the only one.
25
+ attr_accessor :valid_syntax
26
+
27
+ # True if the domain name of the email address is valid, false otherwise. This is one component of ValidAddress, but not the only one.
28
+ attr_accessor :valid_domain
29
+
30
+ # True if the email address was verified by the remote server, false otherwise. This is one component of ValidAddress, but not the only one.
31
+ attr_accessor :valid_smtp
32
+
33
+ # 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.
34
+ attr_accessor :is_catchall_domain
35
+
36
+ # Domain name of the email address
37
+ attr_accessor :domain
38
+
24
39
 
25
40
  # Attribute mapping from ruby-style variable name to JSON key.
26
41
  def self.attribute_map
27
42
  {
28
43
  :'valid_address' => :'ValidAddress',
29
- :'mail_server_used_for_validation' => :'MailServerUsedForValidation'
44
+ :'mail_server_used_for_validation' => :'MailServerUsedForValidation',
45
+ :'valid_syntax' => :'Valid_Syntax',
46
+ :'valid_domain' => :'Valid_Domain',
47
+ :'valid_smtp' => :'Valid_SMTP',
48
+ :'is_catchall_domain' => :'IsCatchallDomain',
49
+ :'domain' => :'Domain'
30
50
  }
31
51
  end
32
52
 
@@ -34,7 +54,12 @@ module CloudmersiveValidateApiClient
34
54
  def self.swagger_types
35
55
  {
36
56
  :'valid_address' => :'BOOLEAN',
37
- :'mail_server_used_for_validation' => :'String'
57
+ :'mail_server_used_for_validation' => :'String',
58
+ :'valid_syntax' => :'BOOLEAN',
59
+ :'valid_domain' => :'BOOLEAN',
60
+ :'valid_smtp' => :'BOOLEAN',
61
+ :'is_catchall_domain' => :'BOOLEAN',
62
+ :'domain' => :'String'
38
63
  }
39
64
  end
40
65
 
@@ -54,6 +79,26 @@ module CloudmersiveValidateApiClient
54
79
  self.mail_server_used_for_validation = attributes[:'MailServerUsedForValidation']
55
80
  end
56
81
 
82
+ if attributes.has_key?(:'Valid_Syntax')
83
+ self.valid_syntax = attributes[:'Valid_Syntax']
84
+ end
85
+
86
+ if attributes.has_key?(:'Valid_Domain')
87
+ self.valid_domain = attributes[:'Valid_Domain']
88
+ end
89
+
90
+ if attributes.has_key?(:'Valid_SMTP')
91
+ self.valid_smtp = attributes[:'Valid_SMTP']
92
+ end
93
+
94
+ if attributes.has_key?(:'IsCatchallDomain')
95
+ self.is_catchall_domain = attributes[:'IsCatchallDomain']
96
+ end
97
+
98
+ if attributes.has_key?(:'Domain')
99
+ self.domain = attributes[:'Domain']
100
+ end
101
+
57
102
  end
58
103
 
59
104
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -75,7 +120,12 @@ module CloudmersiveValidateApiClient
75
120
  return true if self.equal?(o)
76
121
  self.class == o.class &&
77
122
  valid_address == o.valid_address &&
78
- mail_server_used_for_validation == o.mail_server_used_for_validation
123
+ mail_server_used_for_validation == o.mail_server_used_for_validation &&
124
+ valid_syntax == o.valid_syntax &&
125
+ valid_domain == o.valid_domain &&
126
+ valid_smtp == o.valid_smtp &&
127
+ is_catchall_domain == o.is_catchall_domain &&
128
+ domain == o.domain
79
129
  end
80
130
 
81
131
  # @see the `==` method
@@ -87,7 +137,7 @@ module CloudmersiveValidateApiClient
87
137
  # Calculates hash code according to all attributes.
88
138
  # @return [Fixnum] Hash code
89
139
  def hash
90
- [valid_address, mail_server_used_for_validation].hash
140
+ [valid_address, mail_server_used_for_validation, valid_syntax, valid_domain, valid_smtp, is_catchall_domain, domain].hash
91
141
  end
92
142
 
93
143
  # 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.1"
14
+ VERSION = "1.3.2"
15
15
  end
@@ -44,5 +44,35 @@ describe 'FullEmailValidationResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "valid_syntax"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "valid_domain"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "valid_smtp"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "is_catchall_domain"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "domain"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
47
77
  end
48
78
 
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.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-10 00:00:00.000000000 Z
11
+ date: 2019-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus