mailslurp_client 15.7.15 → 15.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/attachment_controller_api.rb +9 -9
  3. data/lib/mailslurp_client/api/common_actions_controller_api.rb +6 -0
  4. data/lib/mailslurp_client/api/email_controller_api.rb +3 -0
  5. data/lib/mailslurp_client/api/inbox_controller_api.rb +5 -2
  6. data/lib/mailslurp_client/api/template_controller_api.rb +28 -16
  7. data/lib/mailslurp_client/api/webhook_controller_api.rb +68 -10
  8. data/lib/mailslurp_client/models/abstract_webhook_payload.rb +15 -15
  9. data/lib/mailslurp_client/models/alias_projection.rb +27 -27
  10. data/lib/mailslurp_client/models/attachment_projection.rb +22 -22
  11. data/lib/mailslurp_client/models/contact_projection.rb +14 -13
  12. data/lib/mailslurp_client/models/create_inbox_dto.rb +14 -4
  13. data/lib/mailslurp_client/models/create_template_options.rb +3 -1
  14. data/lib/mailslurp_client/models/email.rb +13 -4
  15. data/lib/mailslurp_client/models/email_projection.rb +35 -35
  16. data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +2 -0
  17. data/lib/mailslurp_client/models/group_dto.rb +1 -0
  18. data/lib/mailslurp_client/models/inbox_dto.rb +19 -4
  19. data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -0
  20. data/lib/mailslurp_client/models/inbox_preview.rb +11 -1
  21. data/lib/mailslurp_client/models/inline_object1.rb +270 -0
  22. data/lib/mailslurp_client/models/organization_inbox_projection.rb +14 -4
  23. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  24. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  25. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  26. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  27. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  28. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  29. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
  31. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  32. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  33. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  34. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  35. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  36. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  37. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  38. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  39. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  40. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  41. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  42. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  43. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  44. data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +13 -4
  45. data/lib/mailslurp_client/models/reply_to_email_options.rb +13 -4
  46. data/lib/mailslurp_client/models/sent_email_dto.rb +22 -4
  47. data/lib/mailslurp_client/models/sent_email_projection.rb +41 -32
  48. data/lib/mailslurp_client/models/template_dto.rb +5 -0
  49. data/lib/mailslurp_client/models/template_projection.rb +18 -18
  50. data/lib/mailslurp_client/models/template_variable.rb +2 -0
  51. data/lib/mailslurp_client/models/thread_projection.rb +49 -38
  52. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  53. data/lib/mailslurp_client/models/validate_email_address_list_options.rb +1 -0
  54. data/lib/mailslurp_client/models/verify_webhook_signature_options.rb +225 -0
  55. data/lib/mailslurp_client/models/verify_webhook_signature_results.rb +211 -0
  56. data/lib/mailslurp_client/models/webhook_projection.rb +18 -18
  57. data/lib/mailslurp_client/version.rb +1 -1
  58. data/lib/mailslurp_client.rb +3 -0
  59. metadata +5 -2
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
25
-
26
24
  attr_accessor :total_elements
27
25
 
28
26
  attr_accessor :total_pages
29
27
 
28
+ attr_accessor :last
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :first
37
-
38
36
  attr_accessor :number_of_elements
39
37
 
38
+ attr_accessor :first
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'last' => :'last',
49
48
  :'total_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'first' => :'first',
55
54
  :'number_of_elements' => :'numberOfElements',
55
+ :'first' => :'first',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<UnknownMissedEmailProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'last' => :'Boolean',
67
66
  :'total_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'first' => :'Boolean',
73
72
  :'number_of_elements' => :'Integer',
73
+ :'first' => :'Boolean',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,10 +110,6 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
@@ -122,6 +118,10 @@ module MailSlurpClient
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'first')
138
- self.first = attributes[:'first']
139
- end
140
-
141
137
  if attributes.key?(:'number_of_elements')
142
138
  self.number_of_elements = attributes[:'number_of_elements']
143
139
  end
144
140
 
141
+ if attributes.key?(:'first')
142
+ self.first = attributes[:'first']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- last == o.last &&
172
171
  total_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
178
+ first == o.first &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
25
-
26
24
  attr_accessor :total_elements
27
25
 
28
26
  attr_accessor :total_pages
29
27
 
28
+ attr_accessor :last
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :first
37
-
38
36
  attr_accessor :number_of_elements
39
37
 
38
+ attr_accessor :first
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'last' => :'last',
49
48
  :'total_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'first' => :'first',
55
54
  :'number_of_elements' => :'numberOfElements',
55
+ :'first' => :'first',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<WebhookProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'last' => :'Boolean',
67
66
  :'total_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'first' => :'Boolean',
73
72
  :'number_of_elements' => :'Integer',
73
+ :'first' => :'Boolean',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,10 +110,6 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
@@ -122,6 +118,10 @@ module MailSlurpClient
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'first')
138
- self.first = attributes[:'first']
139
- end
140
-
141
137
  if attributes.key?(:'number_of_elements')
142
138
  self.number_of_elements = attributes[:'number_of_elements']
143
139
  end
144
140
 
141
+ if attributes.key?(:'first')
142
+ self.first = attributes[:'first']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- last == o.last &&
172
171
  total_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
178
+ first == o.first &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
25
-
26
24
  attr_accessor :total_elements
27
25
 
28
26
  attr_accessor :total_pages
29
27
 
28
+ attr_accessor :last
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :first
37
-
38
36
  attr_accessor :number_of_elements
39
37
 
38
+ attr_accessor :first
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'last' => :'last',
49
48
  :'total_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'first' => :'first',
55
54
  :'number_of_elements' => :'numberOfElements',
55
+ :'first' => :'first',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<WebhookResultDto>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'last' => :'Boolean',
67
66
  :'total_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'first' => :'Boolean',
73
72
  :'number_of_elements' => :'Integer',
73
+ :'first' => :'Boolean',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,10 +110,6 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
@@ -122,6 +118,10 @@ module MailSlurpClient
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'first')
138
- self.first = attributes[:'first']
139
- end
140
-
141
137
  if attributes.key?(:'number_of_elements')
142
138
  self.number_of_elements = attributes[:'number_of_elements']
143
139
  end
144
140
 
141
+ if attributes.key?(:'first')
142
+ self.first = attributes[:'first']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- last == o.last &&
172
171
  total_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
178
+ first == o.first &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -39,6 +39,8 @@ module MailSlurpClient
39
39
  # Optionally use inbox name as display name for sender email address
40
40
  attr_accessor :use_inbox_name
41
41
 
42
+ attr_accessor :html
43
+
42
44
  class EnumAttributeValidator
43
45
  attr_reader :datatype
44
46
  attr_reader :allowable_values
@@ -71,7 +73,8 @@ module MailSlurpClient
71
73
  :'template_variables' => :'templateVariables',
72
74
  :'template' => :'template',
73
75
  :'send_strategy' => :'sendStrategy',
74
- :'use_inbox_name' => :'useInboxName'
76
+ :'use_inbox_name' => :'useInboxName',
77
+ :'html' => :'html'
75
78
  }
76
79
  end
77
80
 
@@ -85,7 +88,8 @@ module MailSlurpClient
85
88
  :'template_variables' => :'Hash<String, Object>',
86
89
  :'template' => :'String',
87
90
  :'send_strategy' => :'String',
88
- :'use_inbox_name' => :'Boolean'
91
+ :'use_inbox_name' => :'Boolean',
92
+ :'html' => :'Boolean'
89
93
  }
90
94
  end
91
95
 
@@ -145,6 +149,10 @@ module MailSlurpClient
145
149
  if attributes.key?(:'use_inbox_name')
146
150
  self.use_inbox_name = attributes[:'use_inbox_name']
147
151
  end
152
+
153
+ if attributes.key?(:'html')
154
+ self.html = attributes[:'html']
155
+ end
148
156
  end
149
157
 
150
158
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -194,7 +202,8 @@ module MailSlurpClient
194
202
  template_variables == o.template_variables &&
195
203
  template == o.template &&
196
204
  send_strategy == o.send_strategy &&
197
- use_inbox_name == o.use_inbox_name
205
+ use_inbox_name == o.use_inbox_name &&
206
+ html == o.html
198
207
  end
199
208
 
200
209
  # @see the `==` method
@@ -206,7 +215,7 @@ module MailSlurpClient
206
215
  # Calculates hash code according to all attributes.
207
216
  # @return [Integer] Hash code
208
217
  def hash
209
- [body, is_html, charset, attachments, template_variables, template, send_strategy, use_inbox_name].hash
218
+ [body, is_html, charset, attachments, template_variables, template, send_strategy, use_inbox_name, html].hash
210
219
  end
211
220
 
212
221
  # Builds the object from hash
@@ -45,6 +45,8 @@ module MailSlurpClient
45
45
  # Optionally use inbox name as display name for sender email address
46
46
  attr_accessor :use_inbox_name
47
47
 
48
+ attr_accessor :html
49
+
48
50
  class EnumAttributeValidator
49
51
  attr_reader :datatype
50
52
  attr_reader :allowable_values
@@ -79,7 +81,8 @@ module MailSlurpClient
79
81
  :'template_variables' => :'templateVariables',
80
82
  :'template' => :'template',
81
83
  :'send_strategy' => :'sendStrategy',
82
- :'use_inbox_name' => :'useInboxName'
84
+ :'use_inbox_name' => :'useInboxName',
85
+ :'html' => :'html'
83
86
  }
84
87
  end
85
88
 
@@ -95,7 +98,8 @@ module MailSlurpClient
95
98
  :'template_variables' => :'Hash<String, Object>',
96
99
  :'template' => :'String',
97
100
  :'send_strategy' => :'String',
98
- :'use_inbox_name' => :'Boolean'
101
+ :'use_inbox_name' => :'Boolean',
102
+ :'html' => :'Boolean'
99
103
  }
100
104
  end
101
105
 
@@ -163,6 +167,10 @@ module MailSlurpClient
163
167
  if attributes.key?(:'use_inbox_name')
164
168
  self.use_inbox_name = attributes[:'use_inbox_name']
165
169
  end
170
+
171
+ if attributes.key?(:'html')
172
+ self.html = attributes[:'html']
173
+ end
166
174
  end
167
175
 
168
176
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -214,7 +222,8 @@ module MailSlurpClient
214
222
  template_variables == o.template_variables &&
215
223
  template == o.template &&
216
224
  send_strategy == o.send_strategy &&
217
- use_inbox_name == o.use_inbox_name
225
+ use_inbox_name == o.use_inbox_name &&
226
+ html == o.html
218
227
  end
219
228
 
220
229
  # @see the `==` method
@@ -226,7 +235,7 @@ module MailSlurpClient
226
235
  # Calculates hash code according to all attributes.
227
236
  # @return [Integer] Hash code
228
237
  def hash
229
- [body, is_html, from, reply_to, charset, attachments, template_variables, template, send_strategy, use_inbox_name].hash
238
+ [body, is_html, from, reply_to, charset, attachments, template_variables, template, send_strategy, use_inbox_name, html].hash
230
239
  end
231
240
 
232
241
  # Builds the object from hash
@@ -55,6 +55,10 @@ module MailSlurpClient
55
55
 
56
56
  attr_accessor :message_id
57
57
 
58
+ attr_accessor :virtual_send
59
+
60
+ attr_accessor :html
61
+
58
62
  # Attribute mapping from ruby-style variable name to JSON key.
59
63
  def self.attribute_map
60
64
  {
@@ -74,7 +78,9 @@ module MailSlurpClient
74
78
  :'is_html' => :'isHTML',
75
79
  :'sent_at' => :'sentAt',
76
80
  :'pixel_ids' => :'pixelIds',
77
- :'message_id' => :'messageId'
81
+ :'message_id' => :'messageId',
82
+ :'virtual_send' => :'virtualSend',
83
+ :'html' => :'html'
78
84
  }
79
85
  end
80
86
 
@@ -97,7 +103,9 @@ module MailSlurpClient
97
103
  :'is_html' => :'Boolean',
98
104
  :'sent_at' => :'DateTime',
99
105
  :'pixel_ids' => :'Array<String>',
100
- :'message_id' => :'String'
106
+ :'message_id' => :'String',
107
+ :'virtual_send' => :'Boolean',
108
+ :'html' => :'Boolean'
101
109
  }
102
110
  end
103
111
 
@@ -199,6 +207,14 @@ module MailSlurpClient
199
207
  if attributes.key?(:'message_id')
200
208
  self.message_id = attributes[:'message_id']
201
209
  end
210
+
211
+ if attributes.key?(:'virtual_send')
212
+ self.virtual_send = attributes[:'virtual_send']
213
+ end
214
+
215
+ if attributes.key?(:'html')
216
+ self.html = attributes[:'html']
217
+ end
202
218
  end
203
219
 
204
220
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -255,7 +271,9 @@ module MailSlurpClient
255
271
  is_html == o.is_html &&
256
272
  sent_at == o.sent_at &&
257
273
  pixel_ids == o.pixel_ids &&
258
- message_id == o.message_id
274
+ message_id == o.message_id &&
275
+ virtual_send == o.virtual_send &&
276
+ html == o.html
259
277
  end
260
278
 
261
279
  # @see the `==` method
@@ -267,7 +285,7 @@ module MailSlurpClient
267
285
  # Calculates hash code according to all attributes.
268
286
  # @return [Integer] Hash code
269
287
  def hash
270
- [id, user_id, inbox_id, to, from, reply_to, cc, bcc, attachments, subject, body_md5_hash, body, charset, is_html, sent_at, pixel_ids, message_id].hash
288
+ [id, user_id, inbox_id, to, from, reply_to, cc, bcc, attachments, subject, body_md5_hash, body, charset, is_html, sent_at, pixel_ids, message_id, virtual_send, html].hash
271
289
  end
272
290
 
273
291
  # Builds the object from hash