mailslurp_client 11.7.0 → 11.7.6

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: 550a88d809d0f491954c55a8f46f2390e467c14e92ec49dabe13de4d7c07ab27
4
- data.tar.gz: 929c369c715deaed6d372f1fe49b49f9a3977eaec936c2f1b2c337cfc8987b40
3
+ metadata.gz: ea395cb368d8de0fec54e4f8b1b06ebd2d21544aa1713763ab7838b804090634
4
+ data.tar.gz: d8e8d7e31a95d704ea7ccff45ab88e91fa5e3ca7d9b1a173b87a32e59959435f
5
5
  SHA512:
6
- metadata.gz: 7db503af72065a717b5c87dcedcc37c61ce3254d0be99458657946de8b0e75f7793a8640fc4b6fc3d1bec60704f56808324cb50d081defd580858b014273547b
7
- data.tar.gz: 006c444269145dc22add6527be5c2c80fc8c1a67b9d77baf06d8a4326163596462f0e517d97d6b093f1680eced74d85998979a41d2e7d22a9574af5f86a387e6
6
+ metadata.gz: 4b0398966441fd20f64c7605d9e10223e1868cecc7bfe49f2bc090934ee798b12bf4f26946debe7f663fe4d906ab153ec3054782e5be951541899862f147d739
7
+ data.tar.gz: 492ec6946545abd8a9e33fcd056697bcf0b7934d3338ea157cb0db2abece57d099fe102a98545f9c953a39642e94bcb47992be0a385b3f849a7a8515dccf1bd8
@@ -24,6 +24,8 @@ module MailSlurpClient
24
24
 
25
25
  attr_accessor :created_at
26
26
 
27
+ attr_accessor :from
28
+
27
29
  attr_accessor :id
28
30
 
29
31
  attr_accessor :inbox_ids
@@ -44,6 +46,7 @@ module MailSlurpClient
44
46
  :'body_excerpt' => :'bodyExcerpt',
45
47
  :'cc' => :'cc',
46
48
  :'created_at' => :'createdAt',
49
+ :'from' => :'from',
47
50
  :'id' => :'id',
48
51
  :'inbox_ids' => :'inboxIds',
49
52
  :'subject' => :'subject',
@@ -61,6 +64,7 @@ module MailSlurpClient
61
64
  :'body_excerpt' => :'String',
62
65
  :'cc' => :'Array<String>',
63
66
  :'created_at' => :'DateTime',
67
+ :'from' => :'String',
64
68
  :'id' => :'String',
65
69
  :'inbox_ids' => :'Array<String>',
66
70
  :'subject' => :'String',
@@ -115,6 +119,10 @@ module MailSlurpClient
115
119
  self.created_at = attributes[:'created_at']
116
120
  end
117
121
 
122
+ if attributes.key?(:'from')
123
+ self.from = attributes[:'from']
124
+ end
125
+
118
126
  if attributes.key?(:'id')
119
127
  self.id = attributes[:'id']
120
128
  end
@@ -207,6 +215,7 @@ module MailSlurpClient
207
215
  body_excerpt == o.body_excerpt &&
208
216
  cc == o.cc &&
209
217
  created_at == o.created_at &&
218
+ from == o.from &&
210
219
  id == o.id &&
211
220
  inbox_ids == o.inbox_ids &&
212
221
  subject == o.subject &&
@@ -224,7 +233,7 @@ module MailSlurpClient
224
233
  # Calculates hash code according to all attributes.
225
234
  # @return [Integer] Hash code
226
235
  def hash
227
- [attachment_count, bcc, body_excerpt, cc, created_at, id, inbox_ids, subject, to, updated_at, user_id].hash
236
+ [attachment_count, bcc, body_excerpt, cc, created_at, from, id, inbox_ids, subject, to, updated_at, user_id].hash
228
237
  end
229
238
 
230
239
  # Builds the object from hash
@@ -14,6 +14,10 @@ require 'date'
14
14
 
15
15
  module MailSlurpClient
16
16
  class MissedEmailProjection
17
+ attr_accessor :created_at
18
+
19
+ attr_accessor :from
20
+
17
21
  attr_accessor :id
18
22
 
19
23
  attr_accessor :subject
@@ -23,6 +27,8 @@ module MailSlurpClient
23
27
  # Attribute mapping from ruby-style variable name to JSON key.
24
28
  def self.attribute_map
25
29
  {
30
+ :'created_at' => :'createdAt',
31
+ :'from' => :'from',
26
32
  :'id' => :'id',
27
33
  :'subject' => :'subject',
28
34
  :'user_id' => :'userId'
@@ -32,6 +38,8 @@ module MailSlurpClient
32
38
  # Attribute type mapping.
33
39
  def self.openapi_types
34
40
  {
41
+ :'created_at' => :'DateTime',
42
+ :'from' => :'String',
35
43
  :'id' => :'String',
36
44
  :'subject' => :'String',
37
45
  :'user_id' => :'String'
@@ -59,6 +67,14 @@ module MailSlurpClient
59
67
  h[k.to_sym] = v
60
68
  }
61
69
 
70
+ if attributes.key?(:'created_at')
71
+ self.created_at = attributes[:'created_at']
72
+ end
73
+
74
+ if attributes.key?(:'from')
75
+ self.from = attributes[:'from']
76
+ end
77
+
62
78
  if attributes.key?(:'id')
63
79
  self.id = attributes[:'id']
64
80
  end
@@ -76,6 +92,10 @@ module MailSlurpClient
76
92
  # @return Array for valid properties with the reasons
77
93
  def list_invalid_properties
78
94
  invalid_properties = Array.new
95
+ if @created_at.nil?
96
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
97
+ end
98
+
79
99
  if @id.nil?
80
100
  invalid_properties.push('invalid value for "id", id cannot be nil.')
81
101
  end
@@ -90,6 +110,7 @@ module MailSlurpClient
90
110
  # Check to see if the all the properties in the model are valid
91
111
  # @return true if the model is valid
92
112
  def valid?
113
+ return false if @created_at.nil?
93
114
  return false if @id.nil?
94
115
  return false if @user_id.nil?
95
116
  true
@@ -100,6 +121,8 @@ module MailSlurpClient
100
121
  def ==(o)
101
122
  return true if self.equal?(o)
102
123
  self.class == o.class &&
124
+ created_at == o.created_at &&
125
+ from == o.from &&
103
126
  id == o.id &&
104
127
  subject == o.subject &&
105
128
  user_id == o.user_id
@@ -114,7 +137,7 @@ module MailSlurpClient
114
137
  # Calculates hash code according to all attributes.
115
138
  # @return [Integer] Hash code
116
139
  def hash
117
- [id, subject, user_id].hash
140
+ [created_at, from, id, subject, user_id].hash
118
141
  end
119
142
 
120
143
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '11.7.0'
14
+ VERSION = '11.7.6'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailslurp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.7.0
4
+ version: 11.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-15 00:00:00.000000000 Z
11
+ date: 2021-04-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Create emails addresses in Ruby then send and receive real emails and
14
14
  attachments. See https://www.mailslurp.com/docs/ruby/ for full Ruby documentation.