mailslurp_client 11.7.0 → 11.7.1

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: '0834fe09c538ac3d803e0efba345fa3cfc926e80fd575fc314e85d5ce507d51b'
4
+ data.tar.gz: 1ace497c33c6762c64a2298573dee3f96c92dc9d3f9bfd25b791760b6c034fcb
5
5
  SHA512:
6
- metadata.gz: 7db503af72065a717b5c87dcedcc37c61ce3254d0be99458657946de8b0e75f7793a8640fc4b6fc3d1bec60704f56808324cb50d081defd580858b014273547b
7
- data.tar.gz: 006c444269145dc22add6527be5c2c80fc8c1a67b9d77baf06d8a4326163596462f0e517d97d6b093f1680eced74d85998979a41d2e7d22a9574af5f86a387e6
6
+ metadata.gz: 6bcfa0169542867d1ce946971cbd56b7ba70dafd0064722aa293bea7cfb207db3c6a4a6ef3ea8f976e2b564cadcab6d66957f751264f7815c20f54fdb52b9ab6
7
+ data.tar.gz: 4afcc7e0addb83a0d028938e7acecc187437ae6304e7b1a0c192004c31c6c33cf8b966ea206a55f00fb8a995ae0d64b328e2d72dc08a781ff157265d7eb8382c
@@ -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.1'
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.1
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-16 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.