mailslurp_client 15.14.0 → 15.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/bounce_controller_api.rb +76 -0
  3. data/lib/mailslurp_client/api/inbox_controller_api.rb +131 -5
  4. data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +145 -0
  5. data/lib/mailslurp_client/models/contact_projection.rb +26 -26
  6. data/lib/mailslurp_client/models/forward_email_options.rb +16 -5
  7. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +316 -0
  8. data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +250 -0
  9. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  10. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  11. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  12. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  13. data/lib/mailslurp_client/models/page_complaint.rb +10 -10
  14. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  15. data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
  16. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  17. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  18. data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
  19. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  20. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  21. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  22. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +308 -0
  23. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  24. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
  25. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +308 -0
  26. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  27. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  28. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  29. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
  30. data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
  31. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
  32. data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
  33. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  34. data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
  35. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  36. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  37. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  38. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  39. data/lib/mailslurp_client/models/scheduled_job.rb +2 -2
  40. data/lib/mailslurp_client/models/scheduled_job_dto.rb +371 -0
  41. data/lib/mailslurp_client/models/sent_email_projection.rb +56 -56
  42. data/lib/mailslurp_client/models/sort.rb +13 -13
  43. data/lib/mailslurp_client/version.rb +1 -1
  44. data/lib/mailslurp_client.rb +5 -0
  45. metadata +7 -2
@@ -21,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
25
-
26
24
  attr_accessor :total_elements
27
25
 
26
+ attr_accessor :total_pages
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
48
  :'total_elements' => :'totalElements',
49
+ :'total_pages' => :'totalPages',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<BounceProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
66
  :'total_elements' => :'Integer',
67
+ :'total_pages' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_pages')
118
+ self.total_pages = attributes[:'total_pages']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
171
  total_elements == o.total_elements &&
172
+ total_pages == o.total_pages &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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_pages, total_elements, last, size, number, sort, number_of_elements, first, 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,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
25
-
26
24
  attr_accessor :total_elements
27
25
 
26
+ attr_accessor :total_pages
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
48
  :'total_elements' => :'totalElements',
49
+ :'total_pages' => :'totalPages',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<BounceRecipientProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
66
  :'total_elements' => :'Integer',
67
+ :'total_pages' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_pages')
118
+ self.total_pages = attributes[:'total_pages']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
171
  total_elements == o.total_elements &&
172
+ total_pages == o.total_pages &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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_pages, total_elements, last, size, number, sort, number_of_elements, first, 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,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
25
-
26
24
  attr_accessor :total_elements
27
25
 
26
+ attr_accessor :total_pages
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
48
  :'total_elements' => :'totalElements',
49
+ :'total_pages' => :'totalPages',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<Complaint>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
66
  :'total_elements' => :'Integer',
67
+ :'total_pages' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_pages')
118
+ self.total_pages = attributes[:'total_pages']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
171
  total_elements == o.total_elements &&
172
+ total_pages == o.total_pages &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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_pages, total_elements, last, size, number, sort, number_of_elements, first, 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,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
25
-
26
24
  attr_accessor :total_elements
27
25
 
26
+ attr_accessor :total_pages
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
48
  :'total_elements' => :'totalElements',
49
+ :'total_pages' => :'totalPages',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<ContactProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
66
  :'total_elements' => :'Integer',
67
+ :'total_pages' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_pages')
118
+ self.total_pages = attributes[:'total_pages']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
171
  total_elements == o.total_elements &&
172
+ total_pages == o.total_pages &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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_pages, total_elements, last, size, number, sort, number_of_elements, first, 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,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
25
-
26
24
  attr_accessor :total_elements
27
25
 
26
+ attr_accessor :total_pages
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
48
  :'total_elements' => :'totalElements',
49
+ :'total_pages' => :'totalPages',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<DeliveryStatusDto>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
66
  :'total_elements' => :'Integer',
67
+ :'total_pages' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_pages')
118
+ self.total_pages = attributes[:'total_pages']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
171
  total_elements == o.total_elements &&
172
+ total_pages == o.total_pages &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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_pages, total_elements, last, size, number, sort, number_of_elements, first, 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,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
25
-
26
24
  attr_accessor :total_elements
27
25
 
26
+ attr_accessor :total_pages
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
48
  :'total_elements' => :'totalElements',
49
+ :'total_pages' => :'totalPages',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<EmailPreview>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
66
  :'total_elements' => :'Integer',
67
+ :'total_pages' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_pages')
118
+ self.total_pages = attributes[:'total_pages']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
171
  total_elements == o.total_elements &&
172
+ total_pages == o.total_pages &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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_pages, total_elements, last, size, number, sort, number_of_elements, first, 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,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
25
-
26
24
  attr_accessor :total_elements
27
25
 
26
+ attr_accessor :total_pages
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
48
  :'total_elements' => :'totalElements',
49
+ :'total_pages' => :'totalPages',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<EmailProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
66
  :'total_elements' => :'Integer',
67
+ :'total_pages' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_pages')
118
+ self.total_pages = attributes[:'total_pages']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
171
  total_elements == o.total_elements &&
172
+ total_pages == o.total_pages &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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_pages, total_elements, last, size, number, sort, number_of_elements, first, 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,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
25
-
26
24
  attr_accessor :total_elements
27
25
 
26
+ attr_accessor :total_pages
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
48
  :'total_elements' => :'totalElements',
49
+ :'total_pages' => :'totalPages',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<EmailValidationRequestDto>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
66
  :'total_elements' => :'Integer',
67
+ :'total_pages' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_pages')
118
+ self.total_pages = attributes[:'total_pages']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
171
  total_elements == o.total_elements &&
172
+ total_pages == o.total_pages &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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_pages, total_elements, last, size, number, sort, number_of_elements, first, 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,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
25
-
26
24
  attr_accessor :total_elements
27
25
 
26
+ attr_accessor :total_pages
27
+
28
28
  attr_accessor :last
29
29
 
30
30
  attr_accessor :size
@@ -45,8 +45,8 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
48
  :'total_elements' => :'totalElements',
49
+ :'total_pages' => :'totalPages',
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
@@ -63,8 +63,8 @@ module MailSlurpClient
63
63
  :'content' => :'Array<ExpiredInboxRecordProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
66
  :'total_elements' => :'Integer',
67
+ :'total_pages' => :'Integer',
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
@@ -110,14 +110,14 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
120
116
 
117
+ if attributes.key?(:'total_pages')
118
+ self.total_pages = attributes[:'total_pages']
119
+ end
120
+
121
121
  if attributes.key?(:'last')
122
122
  self.last = attributes[:'last']
123
123
  end
@@ -168,8 +168,8 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
171
  total_elements == o.total_elements &&
172
+ total_pages == o.total_pages &&
173
173
  last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
@@ -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_pages, total_elements, last, size, number, sort, number_of_elements, first, 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