mailslurp_client 15.19.13 → 15.19.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/email_controller_api.rb +3 -0
  3. data/lib/mailslurp_client/api/inbox_controller_api.rb +182 -2
  4. data/lib/mailslurp_client/models/alias_projection.rb +15 -15
  5. data/lib/mailslurp_client/models/connector_projection.rb +15 -15
  6. data/lib/mailslurp_client/models/create_domain_options.rb +1 -1
  7. data/lib/mailslurp_client/models/imap_access_details.rb +61 -1
  8. data/lib/mailslurp_client/models/imap_smtp_access_details.rb +61 -1
  9. data/lib/mailslurp_client/models/imap_smtp_access_servers.rb +254 -0
  10. data/lib/mailslurp_client/models/inbox_dto.rb +1 -1
  11. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +11 -11
  12. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +11 -11
  13. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  14. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  15. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  16. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  17. data/lib/mailslurp_client/models/page_complaint.rb +10 -10
  18. data/lib/mailslurp_client/models/page_connector.rb +10 -10
  19. data/lib/mailslurp_client/models/page_connector_sync_events.rb +10 -10
  20. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  21. data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
  22. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  23. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  24. data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
  25. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  26. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  27. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  28. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +10 -10
  29. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  30. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +10 -10
  31. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +10 -10
  32. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
  33. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +10 -10
  34. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  35. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  36. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  37. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
  38. data/lib/mailslurp_client/models/page_sent_email_projection.rb +10 -10
  39. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +10 -10
  40. data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
  41. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  42. data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
  43. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  44. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  45. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  46. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  47. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  48. data/lib/mailslurp_client/models/server_endpoints.rb +255 -0
  49. data/lib/mailslurp_client/models/thread_projection.rb +16 -16
  50. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +13 -13
  51. data/lib/mailslurp_client/models/update_imap_access_options.rb +220 -0
  52. data/lib/mailslurp_client/models/update_smtp_access_options.rb +220 -0
  53. data/lib/mailslurp_client/version.rb +1 -1
  54. data/lib/mailslurp_client.rb +4 -0
  55. metadata +6 -2
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
- attr_accessor :first
31
-
32
30
  attr_accessor :size
33
31
 
34
32
  attr_accessor :number
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
- :'first' => :'first',
50
49
  :'size' => :'size',
51
50
  :'number' => :'number',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
- :'first' => :'Boolean',
67
66
  :'size' => :'Integer',
68
67
  :'number' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'first')
122
- self.first = attributes[:'first']
123
- end
124
-
125
121
  if attributes.key?(:'size')
126
122
  self.size = attributes[:'size']
127
123
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_elements == o.total_elements &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
- first == o.first &&
177
176
  size == o.size &&
178
177
  number == o.number &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, size, number, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
- attr_accessor :first
31
-
32
30
  attr_accessor :size
33
31
 
34
32
  attr_accessor :number
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
- :'first' => :'first',
50
49
  :'size' => :'size',
51
50
  :'number' => :'number',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
- :'first' => :'Boolean',
67
66
  :'size' => :'Integer',
68
67
  :'number' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'first')
122
- self.first = attributes[:'first']
123
- end
124
-
125
121
  if attributes.key?(:'size')
126
122
  self.size = attributes[:'size']
127
123
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_elements == o.total_elements &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
- first == o.first &&
177
176
  size == o.size &&
178
177
  number == o.number &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, size, number, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
- attr_accessor :first
31
-
32
30
  attr_accessor :size
33
31
 
34
32
  attr_accessor :number
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
- :'first' => :'first',
50
49
  :'size' => :'size',
51
50
  :'number' => :'number',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
- :'first' => :'Boolean',
67
66
  :'size' => :'Integer',
68
67
  :'number' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'first')
122
- self.first = attributes[:'first']
123
- end
124
-
125
121
  if attributes.key?(:'size')
126
122
  self.size = attributes[:'size']
127
123
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_elements == o.total_elements &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
- first == o.first &&
177
176
  size == o.size &&
178
177
  number == o.number &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, size, number, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
- attr_accessor :first
31
-
32
30
  attr_accessor :size
33
31
 
34
32
  attr_accessor :number
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
- :'first' => :'first',
50
49
  :'size' => :'size',
51
50
  :'number' => :'number',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
- :'first' => :'Boolean',
67
66
  :'size' => :'Integer',
68
67
  :'number' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'first')
122
- self.first = attributes[:'first']
123
- end
124
-
125
121
  if attributes.key?(:'size')
126
122
  self.size = attributes[:'size']
127
123
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_elements == o.total_elements &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
- first == o.first &&
177
176
  size == o.size &&
178
177
  number == o.number &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, size, number, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
- attr_accessor :first
31
-
32
30
  attr_accessor :size
33
31
 
34
32
  attr_accessor :number
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
- :'first' => :'first',
50
49
  :'size' => :'size',
51
50
  :'number' => :'number',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
- :'first' => :'Boolean',
67
66
  :'size' => :'Integer',
68
67
  :'number' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'first')
122
- self.first = attributes[:'first']
123
- end
124
-
125
121
  if attributes.key?(:'size')
126
122
  self.size = attributes[:'size']
127
123
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_elements == o.total_elements &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
- first == o.first &&
177
176
  size == o.size &&
178
177
  number == o.number &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, size, number, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
- attr_accessor :first
31
-
32
30
  attr_accessor :size
33
31
 
34
32
  attr_accessor :number
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
- :'first' => :'first',
50
49
  :'size' => :'size',
51
50
  :'number' => :'number',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
- :'first' => :'Boolean',
67
66
  :'size' => :'Integer',
68
67
  :'number' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'first')
122
- self.first = attributes[:'first']
123
- end
124
-
125
121
  if attributes.key?(:'size')
126
122
  self.size = attributes[:'size']
127
123
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_elements == o.total_elements &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
- first == o.first &&
177
176
  size == o.size &&
178
177
  number == o.number &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, size, number, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
- attr_accessor :first
31
-
32
30
  attr_accessor :size
33
31
 
34
32
  attr_accessor :number
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
- :'first' => :'first',
50
49
  :'size' => :'size',
51
50
  :'number' => :'number',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
- :'first' => :'Boolean',
67
66
  :'size' => :'Integer',
68
67
  :'number' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'first')
122
- self.first = attributes[:'first']
123
- end
124
-
125
121
  if attributes.key?(:'size')
126
122
  self.size = attributes[:'size']
127
123
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_elements == o.total_elements &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
- first == o.first &&
177
176
  size == o.size &&
178
177
  number == o.number &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, size, number, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
- attr_accessor :first
31
-
32
30
  attr_accessor :size
33
31
 
34
32
  attr_accessor :number
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
- :'first' => :'first',
50
49
  :'size' => :'size',
51
50
  :'number' => :'number',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
- :'first' => :'Boolean',
67
66
  :'size' => :'Integer',
68
67
  :'number' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'first')
122
- self.first = attributes[:'first']
123
- end
124
-
125
121
  if attributes.key?(:'size')
126
122
  self.size = attributes[:'size']
127
123
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_elements == o.total_elements &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
- first == o.first &&
177
176
  size == o.size &&
178
177
  number == o.number &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, size, number, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash