mailslurp_client 15.17.0 → 15.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/attachment_projection.rb +15 -15
  3. data/lib/mailslurp_client/models/create_inbox_replier_options.rb +3 -2
  4. data/lib/mailslurp_client/models/create_webhook_options.rb +14 -1
  5. data/lib/mailslurp_client/models/email.rb +14 -1
  6. data/lib/mailslurp_client/models/email_projection.rb +11 -11
  7. data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +6 -1
  8. data/lib/mailslurp_client/models/inbox_replier_dto.rb +7 -0
  9. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +23 -1
  10. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  11. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  12. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  13. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  14. data/lib/mailslurp_client/models/page_complaint.rb +19 -19
  15. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  16. data/lib/mailslurp_client/models/page_delivery_status.rb +19 -19
  17. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  18. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  19. data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
  20. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  21. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  22. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  23. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +19 -19
  24. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  25. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +19 -19
  26. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +19 -19
  27. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  28. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +19 -19
  29. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  31. data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
  32. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +19 -19
  33. data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
  34. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  35. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  36. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  37. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  38. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  39. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  40. data/lib/mailslurp_client/models/update_inbox_replier_options.rb +10 -0
  41. data/lib/mailslurp_client/models/webhook_dto.rb +16 -5
  42. data/lib/mailslurp_client/version.rb +1 -1
  43. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 689a4b6259b23936d710609495553961a7575f8ff937b4479e5b8558ad938e7e
4
- data.tar.gz: c0085338d5181e0f5cac26b9dbdd740ee224238e95314eb05ac0f3eec37d019f
3
+ metadata.gz: '039765324551c965d4abdd1034904be3717c0b3ea97381636ed49d765955d6a1'
4
+ data.tar.gz: d7c48ba49c44875aa30189bde75246b5f549901c4250df923a0c117a58ffdfa9
5
5
  SHA512:
6
- metadata.gz: d51df1c80f7c09a98cbece13f04586acabe94ab362d827afc202d3730c897110c009e153f880e8068c006687375cbd91ba60427ce270444adde2b751f90b2942
7
- data.tar.gz: 319f31dfe478092592c37399b966d02b4026c2679bb82847a2190dbf09e72d34ac7bd263823af8f0af566385c1f6d35f3a464ba98780d8ebdc5a4510c859aca4
6
+ metadata.gz: 4de7848050b62c2ab5b50f6e7de0d71b32b5fc29e39931040f7944fcaa3de471be4d9ed773cd7e68d1b4eebd5a4e9a89bbb8a1f255ca52d64b9f23defb544927
7
+ data.tar.gz: d161f3c5e041d66d9d966061876fcd7088184afea31eb3a88c375ac4f7b3b04fe9c272551dccb0b8089ff12093549cd364e707988a7efee061aafc32790c2e36
@@ -20,6 +20,9 @@ module MailSlurpClient
20
20
  # Content length of attachment in bytes
21
21
  attr_accessor :content_length
22
22
 
23
+ # Content type of attachment.
24
+ attr_accessor :content_type
25
+
23
26
  attr_accessor :user_id
24
27
 
25
28
  attr_accessor :created_at
@@ -29,19 +32,16 @@ module MailSlurpClient
29
32
  # Attachment ID
30
33
  attr_accessor :attachment_id
31
34
 
32
- # Content type of attachment.
33
- attr_accessor :content_type
34
-
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
36
36
  def self.attribute_map
37
37
  {
38
38
  :'name' => :'name',
39
39
  :'content_length' => :'contentLength',
40
+ :'content_type' => :'contentType',
40
41
  :'user_id' => :'userId',
41
42
  :'created_at' => :'createdAt',
42
43
  :'updated_at' => :'updatedAt',
43
- :'attachment_id' => :'attachmentId',
44
- :'content_type' => :'contentType'
44
+ :'attachment_id' => :'attachmentId'
45
45
  }
46
46
  end
47
47
 
@@ -50,11 +50,11 @@ module MailSlurpClient
50
50
  {
51
51
  :'name' => :'String',
52
52
  :'content_length' => :'Integer',
53
+ :'content_type' => :'String',
53
54
  :'user_id' => :'String',
54
55
  :'created_at' => :'DateTime',
55
56
  :'updated_at' => :'DateTime',
56
- :'attachment_id' => :'String',
57
- :'content_type' => :'String'
57
+ :'attachment_id' => :'String'
58
58
  }
59
59
  end
60
60
 
@@ -63,7 +63,7 @@ module MailSlurpClient
63
63
  Set.new([
64
64
  :'name',
65
65
  :'content_length',
66
- :'content_type'
66
+ :'content_type',
67
67
  ])
68
68
  end
69
69
 
@@ -90,6 +90,10 @@ module MailSlurpClient
90
90
  self.content_length = attributes[:'content_length']
91
91
  end
92
92
 
93
+ if attributes.key?(:'content_type')
94
+ self.content_type = attributes[:'content_type']
95
+ end
96
+
93
97
  if attributes.key?(:'user_id')
94
98
  self.user_id = attributes[:'user_id']
95
99
  end
@@ -105,10 +109,6 @@ module MailSlurpClient
105
109
  if attributes.key?(:'attachment_id')
106
110
  self.attachment_id = attributes[:'attachment_id']
107
111
  end
108
-
109
- if attributes.key?(:'content_type')
110
- self.content_type = attributes[:'content_type']
111
- end
112
112
  end
113
113
 
114
114
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -151,11 +151,11 @@ module MailSlurpClient
151
151
  self.class == o.class &&
152
152
  name == o.name &&
153
153
  content_length == o.content_length &&
154
+ content_type == o.content_type &&
154
155
  user_id == o.user_id &&
155
156
  created_at == o.created_at &&
156
157
  updated_at == o.updated_at &&
157
- attachment_id == o.attachment_id &&
158
- content_type == o.content_type
158
+ attachment_id == o.attachment_id
159
159
  end
160
160
 
161
161
  # @see the `==` method
@@ -167,7 +167,7 @@ module MailSlurpClient
167
167
  # Calculates hash code according to all attributes.
168
168
  # @return [Integer] Hash code
169
169
  def hash
170
- [name, content_length, user_id, created_at, updated_at, attachment_id, content_type].hash
170
+ [name, content_length, content_type, user_id, created_at, updated_at, attachment_id].hash
171
171
  end
172
172
 
173
173
  # Builds the object from hash
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # Options for creating an inbox replier
16
+ # Options for creating an inbox replier. Repliers can be attached to inboxes and send automated responses when an inbound email matches given criteria.
17
17
  class CreateInboxReplierOptions
18
18
  # Inbox ID to attach replier to
19
19
  attr_accessor :inbox_id
@@ -24,7 +24,7 @@ module MailSlurpClient
24
24
  # Field to match against to trigger inbox replier for inbound email
25
25
  attr_accessor :field
26
26
 
27
- # String or wildcard style match for field specified when evaluating reply rules
27
+ # String or wildcard style match for field specified when evaluating reply rules. Use `*` to match anything.
28
28
  attr_accessor :match
29
29
 
30
30
  # Reply-to email address when sending replying
@@ -122,6 +122,7 @@ module MailSlurpClient
122
122
  :'subject',
123
123
  :'from',
124
124
  :'charset',
125
+ :'ignore_reply_to',
125
126
  :'is_html',
126
127
  :'body',
127
128
  :'template_id',
@@ -31,6 +31,9 @@ module MailSlurpClient
31
31
  # Template for the JSON body of the webhook request that will be sent to your server. Use Moustache style `{{variableName}}` templating to use parts of the standard webhook payload for the given event.
32
32
  attr_accessor :request_body_template
33
33
 
34
+ # Use static IP range when calling webhook endpoint
35
+ attr_accessor :use_static_ip_range
36
+
34
37
  # Ignore insecure SSL certificates when sending request. Useful for self-signed certs.
35
38
  attr_accessor :ignore_insecure_ssl_certificates
36
39
 
@@ -65,6 +68,7 @@ module MailSlurpClient
65
68
  :'event_name' => :'eventName',
66
69
  :'include_headers' => :'includeHeaders',
67
70
  :'request_body_template' => :'requestBodyTemplate',
71
+ :'use_static_ip_range' => :'useStaticIpRange',
68
72
  :'ignore_insecure_ssl_certificates' => :'ignoreInsecureSslCertificates'
69
73
  }
70
74
  end
@@ -78,6 +82,7 @@ module MailSlurpClient
78
82
  :'event_name' => :'String',
79
83
  :'include_headers' => :'WebhookHeaders',
80
84
  :'request_body_template' => :'String',
85
+ :'use_static_ip_range' => :'Boolean',
81
86
  :'ignore_insecure_ssl_certificates' => :'Boolean'
82
87
  }
83
88
  end
@@ -89,6 +94,7 @@ module MailSlurpClient
89
94
  :'name',
90
95
  :'event_name',
91
96
  :'request_body_template',
97
+ :'use_static_ip_range',
92
98
  :'ignore_insecure_ssl_certificates'
93
99
  ])
94
100
  end
@@ -132,6 +138,12 @@ module MailSlurpClient
132
138
  self.request_body_template = attributes[:'request_body_template']
133
139
  end
134
140
 
141
+ if attributes.key?(:'use_static_ip_range')
142
+ self.use_static_ip_range = attributes[:'use_static_ip_range']
143
+ else
144
+ self.use_static_ip_range = false
145
+ end
146
+
135
147
  if attributes.key?(:'ignore_insecure_ssl_certificates')
136
148
  self.ignore_insecure_ssl_certificates = attributes[:'ignore_insecure_ssl_certificates']
137
149
  end
@@ -178,6 +190,7 @@ module MailSlurpClient
178
190
  event_name == o.event_name &&
179
191
  include_headers == o.include_headers &&
180
192
  request_body_template == o.request_body_template &&
193
+ use_static_ip_range == o.use_static_ip_range &&
181
194
  ignore_insecure_ssl_certificates == o.ignore_insecure_ssl_certificates
182
195
  end
183
196
 
@@ -190,7 +203,7 @@ module MailSlurpClient
190
203
  # Calculates hash code according to all attributes.
191
204
  # @return [Integer] Hash code
192
205
  def hash
193
- [url, basic_auth, name, event_name, include_headers, request_body_template, ignore_insecure_ssl_certificates].hash
206
+ [url, basic_auth, name, event_name, include_headers, request_body_template, use_static_ip_range, ignore_insecure_ssl_certificates].hash
194
207
  end
195
208
 
196
209
  # Builds the object from hash
@@ -49,6 +49,9 @@ module MailSlurpClient
49
49
  # Collection of SMTP headers attached to email
50
50
  attr_accessor :headers
51
51
 
52
+ # Multi-value map of SMTP headers attached to email
53
+ attr_accessor :headers_map
54
+
52
55
  # List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.
53
56
  attr_accessor :attachments
54
57
 
@@ -101,6 +104,7 @@ module MailSlurpClient
101
104
  :'cc' => :'cc',
102
105
  :'bcc' => :'bcc',
103
106
  :'headers' => :'headers',
107
+ :'headers_map' => :'headersMap',
104
108
  :'attachments' => :'attachments',
105
109
  :'subject' => :'subject',
106
110
  :'body' => :'body',
@@ -132,6 +136,7 @@ module MailSlurpClient
132
136
  :'cc' => :'Array<String>',
133
137
  :'bcc' => :'Array<String>',
134
138
  :'headers' => :'Hash<String, String>',
139
+ :'headers_map' => :'Hash<String, Array<String>>',
135
140
  :'attachments' => :'Array<String>',
136
141
  :'subject' => :'String',
137
142
  :'body' => :'String',
@@ -159,6 +164,7 @@ module MailSlurpClient
159
164
  :'cc',
160
165
  :'bcc',
161
166
  :'headers',
167
+ :'headers_map',
162
168
  :'attachments',
163
169
  :'subject',
164
170
  :'body',
@@ -241,6 +247,12 @@ module MailSlurpClient
241
247
  end
242
248
  end
243
249
 
250
+ if attributes.key?(:'headers_map')
251
+ if (value = attributes[:'headers_map']).is_a?(Hash)
252
+ self.headers_map = value
253
+ end
254
+ end
255
+
244
256
  if attributes.key?(:'attachments')
245
257
  if (value = attributes[:'attachments']).is_a?(Array)
246
258
  self.attachments = value
@@ -366,6 +378,7 @@ module MailSlurpClient
366
378
  cc == o.cc &&
367
379
  bcc == o.bcc &&
368
380
  headers == o.headers &&
381
+ headers_map == o.headers_map &&
369
382
  attachments == o.attachments &&
370
383
  subject == o.subject &&
371
384
  body == o.body &&
@@ -390,7 +403,7 @@ module MailSlurpClient
390
403
  # Calculates hash code according to all attributes.
391
404
  # @return [Integer] Hash code
392
405
  def hash
393
- [id, user_id, inbox_id, domain_id, to, from, sender, recipients, reply_to, cc, bcc, headers, attachments, subject, body, body_excerpt, body_md5_hash, is_html, charset, analysis, created_at, updated_at, read, team_access, html].hash
406
+ [id, user_id, inbox_id, domain_id, to, from, sender, recipients, reply_to, cc, bcc, headers, headers_map, attachments, subject, body, body_excerpt, body_md5_hash, is_html, charset, analysis, created_at, updated_at, read, team_access, html].hash
394
407
  end
395
408
 
396
409
  # Builds the object from hash
@@ -29,12 +29,12 @@ module MailSlurpClient
29
29
 
30
30
  attr_accessor :to
31
31
 
32
+ attr_accessor :domain_id
33
+
32
34
  attr_accessor :bcc
33
35
 
34
36
  attr_accessor :cc
35
37
 
36
- attr_accessor :domain_id
37
-
38
38
  attr_accessor :read
39
39
 
40
40
  attr_accessor :body_excerpt
@@ -53,9 +53,9 @@ module MailSlurpClient
53
53
  :'inbox_id' => :'inboxId',
54
54
  :'created_at' => :'createdAt',
55
55
  :'to' => :'to',
56
+ :'domain_id' => :'domainId',
56
57
  :'bcc' => :'bcc',
57
58
  :'cc' => :'cc',
58
- :'domain_id' => :'domainId',
59
59
  :'read' => :'read',
60
60
  :'body_excerpt' => :'bodyExcerpt',
61
61
  :'team_access' => :'teamAccess',
@@ -73,9 +73,9 @@ module MailSlurpClient
73
73
  :'inbox_id' => :'String',
74
74
  :'created_at' => :'DateTime',
75
75
  :'to' => :'Array<String>',
76
+ :'domain_id' => :'String',
76
77
  :'bcc' => :'Array<String>',
77
78
  :'cc' => :'Array<String>',
78
- :'domain_id' => :'String',
79
79
  :'read' => :'Boolean',
80
80
  :'body_excerpt' => :'String',
81
81
  :'team_access' => :'Boolean',
@@ -89,9 +89,9 @@ module MailSlurpClient
89
89
  :'from',
90
90
  :'subject',
91
91
  :'attachments',
92
+ :'domain_id',
92
93
  :'bcc',
93
94
  :'cc',
94
- :'domain_id',
95
95
  :'body_excerpt',
96
96
  :'body_md5_hash'
97
97
  ])
@@ -144,6 +144,10 @@ module MailSlurpClient
144
144
  end
145
145
  end
146
146
 
147
+ if attributes.key?(:'domain_id')
148
+ self.domain_id = attributes[:'domain_id']
149
+ end
150
+
147
151
  if attributes.key?(:'bcc')
148
152
  if (value = attributes[:'bcc']).is_a?(Array)
149
153
  self.bcc = value
@@ -156,10 +160,6 @@ module MailSlurpClient
156
160
  end
157
161
  end
158
162
 
159
- if attributes.key?(:'domain_id')
160
- self.domain_id = attributes[:'domain_id']
161
- end
162
-
163
163
  if attributes.key?(:'read')
164
164
  self.read = attributes[:'read']
165
165
  end
@@ -232,9 +232,9 @@ module MailSlurpClient
232
232
  inbox_id == o.inbox_id &&
233
233
  created_at == o.created_at &&
234
234
  to == o.to &&
235
+ domain_id == o.domain_id &&
235
236
  bcc == o.bcc &&
236
237
  cc == o.cc &&
237
- domain_id == o.domain_id &&
238
238
  read == o.read &&
239
239
  body_excerpt == o.body_excerpt &&
240
240
  team_access == o.team_access &&
@@ -250,7 +250,7 @@ module MailSlurpClient
250
250
  # Calculates hash code according to all attributes.
251
251
  # @return [Integer] Hash code
252
252
  def hash
253
- [id, from, subject, attachments, inbox_id, created_at, to, bcc, cc, domain_id, read, body_excerpt, team_access, body_md5_hash].hash
253
+ [id, from, subject, attachments, inbox_id, created_at, to, domain_id, bcc, cc, read, body_excerpt, team_access, body_md5_hash].hash
254
254
  end
255
255
 
256
256
  # Builds the object from hash
@@ -13,18 +13,22 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # Inbox forwarder
16
+ # Inbox forwarder. Describes how an inbox will forward matching emails to designated recipients.
17
17
  class InboxForwarderDto
18
18
  attr_accessor :id
19
19
 
20
20
  attr_accessor :inbox_id
21
21
 
22
+ # Name of inbox forwarder
22
23
  attr_accessor :name
23
24
 
25
+ # Which field to match against
24
26
  attr_accessor :field
25
27
 
28
+ # Wild-card type pattern to apply to field
26
29
  attr_accessor :match
27
30
 
31
+ # Who to send forwarded email to
28
32
  attr_accessor :forward_to_recipients
29
33
 
30
34
  attr_accessor :created_at
@@ -80,6 +84,7 @@ module MailSlurpClient
80
84
  # List of attributes with nullable: true
81
85
  def self.openapi_nullable
82
86
  Set.new([
87
+ :'name',
83
88
  ])
84
89
  end
85
90
 
@@ -108,6 +108,13 @@ module MailSlurpClient
108
108
  # List of attributes with nullable: true
109
109
  def self.openapi_nullable
110
110
  Set.new([
111
+ :'name',
112
+ :'reply_to',
113
+ :'subject',
114
+ :'from',
115
+ :'charset',
116
+ :'template_id',
117
+ :'template_variables',
111
118
  ])
112
119
  end
113
120
 
@@ -21,6 +21,8 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :status
23
23
 
24
+ attr_accessor :recipients
25
+
24
26
  attr_accessor :user_id
25
27
 
26
28
  attr_accessor :email_id
@@ -29,6 +31,8 @@ module MailSlurpClient
29
31
 
30
32
  attr_accessor :created_at
31
33
 
34
+ attr_accessor :sent_id
35
+
32
36
  attr_accessor :replier_id
33
37
 
34
38
  class EnumAttributeValidator
@@ -59,10 +63,12 @@ module MailSlurpClient
59
63
  :'message' => :'message',
60
64
  :'id' => :'id',
61
65
  :'status' => :'status',
66
+ :'recipients' => :'recipients',
62
67
  :'user_id' => :'userId',
63
68
  :'email_id' => :'emailId',
64
69
  :'inbox_id' => :'inboxId',
65
70
  :'created_at' => :'createdAt',
71
+ :'sent_id' => :'sentId',
66
72
  :'replier_id' => :'replierId'
67
73
  }
68
74
  end
@@ -73,10 +79,12 @@ module MailSlurpClient
73
79
  :'message' => :'String',
74
80
  :'id' => :'String',
75
81
  :'status' => :'String',
82
+ :'recipients' => :'Array<String>',
76
83
  :'user_id' => :'String',
77
84
  :'email_id' => :'String',
78
85
  :'inbox_id' => :'String',
79
86
  :'created_at' => :'DateTime',
87
+ :'sent_id' => :'String',
80
88
  :'replier_id' => :'String'
81
89
  }
82
90
  end
@@ -87,9 +95,11 @@ module MailSlurpClient
87
95
  :'message',
88
96
  :'id',
89
97
  :'status',
98
+ :'recipients',
90
99
  :'user_id',
91
100
  :'email_id',
92
101
  :'inbox_id',
102
+ :'sent_id',
93
103
  :'replier_id'
94
104
  ])
95
105
  end
@@ -121,6 +131,12 @@ module MailSlurpClient
121
131
  self.status = attributes[:'status']
122
132
  end
123
133
 
134
+ if attributes.key?(:'recipients')
135
+ if (value = attributes[:'recipients']).is_a?(Array)
136
+ self.recipients = value
137
+ end
138
+ end
139
+
124
140
  if attributes.key?(:'user_id')
125
141
  self.user_id = attributes[:'user_id']
126
142
  end
@@ -137,6 +153,10 @@ module MailSlurpClient
137
153
  self.created_at = attributes[:'created_at']
138
154
  end
139
155
 
156
+ if attributes.key?(:'sent_id')
157
+ self.sent_id = attributes[:'sent_id']
158
+ end
159
+
140
160
  if attributes.key?(:'replier_id')
141
161
  self.replier_id = attributes[:'replier_id']
142
162
  end
@@ -180,10 +200,12 @@ module MailSlurpClient
180
200
  message == o.message &&
181
201
  id == o.id &&
182
202
  status == o.status &&
203
+ recipients == o.recipients &&
183
204
  user_id == o.user_id &&
184
205
  email_id == o.email_id &&
185
206
  inbox_id == o.inbox_id &&
186
207
  created_at == o.created_at &&
208
+ sent_id == o.sent_id &&
187
209
  replier_id == o.replier_id
188
210
  end
189
211
 
@@ -196,7 +218,7 @@ module MailSlurpClient
196
218
  # Calculates hash code according to all attributes.
197
219
  # @return [Integer] Hash code
198
220
  def hash
199
- [message, id, status, user_id, email_id, inbox_id, created_at, replier_id].hash
221
+ [message, id, status, recipients, user_id, email_id, inbox_id, created_at, sent_id, replier_id].hash
200
222
  end
201
223
 
202
224
  # 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
+
24
26
  attr_accessor :total_elements
25
27
 
26
28
  attr_accessor :total_pages
27
29
 
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 :number_of_elements
37
-
38
36
  attr_accessor :first
39
37
 
38
+ attr_accessor :number_of_elements
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',
48
49
  :'total_elements' => :'totalElements',
49
50
  :'total_pages' => :'totalPages',
50
- :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'number_of_elements' => :'numberOfElements',
55
54
  :'first' => :'first',
55
+ :'number_of_elements' => :'numberOfElements',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<AliasProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
+ :'last' => :'Boolean',
66
67
  :'total_elements' => :'Integer',
67
68
  :'total_pages' => :'Integer',
68
- :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'number_of_elements' => :'Integer',
73
72
  :'first' => :'Boolean',
73
+ :'number_of_elements' => :'Integer',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,6 +110,10 @@ 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
+
113
117
  if attributes.key?(:'total_elements')
114
118
  self.total_elements = attributes[:'total_elements']
115
119
  end
@@ -118,10 +122,6 @@ module MailSlurpClient
118
122
  self.total_pages = attributes[:'total_pages']
119
123
  end
120
124
 
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?(:'number_of_elements')
138
- self.number_of_elements = attributes[:'number_of_elements']
139
- end
140
-
141
137
  if attributes.key?(:'first')
142
138
  self.first = attributes[:'first']
143
139
  end
144
140
 
141
+ if attributes.key?(:'number_of_elements')
142
+ self.number_of_elements = attributes[:'number_of_elements']
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 &&
171
172
  total_elements == o.total_elements &&
172
173
  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
- number_of_elements == o.number_of_elements &&
178
177
  first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
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, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash