mailslurp_client 15.19.21 → 15.19.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/imap_controller_api.rb +61 -0
  3. data/lib/mailslurp_client/api/inbox_controller_api.rb +63 -0
  4. data/lib/mailslurp_client/models/alias_projection.rb +38 -38
  5. data/lib/mailslurp_client/models/attachment_projection.rb +29 -29
  6. data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
  7. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +22 -22
  8. data/lib/mailslurp_client/models/connector_projection.rb +24 -24
  9. data/lib/mailslurp_client/models/connector_sync_event_projection.rb +15 -15
  10. data/lib/mailslurp_client/models/contact_projection.rb +10 -10
  11. data/lib/mailslurp_client/models/domain_name_record.rb +16 -4
  12. data/lib/mailslurp_client/models/email_available_result.rb +211 -0
  13. data/lib/mailslurp_client/models/email_projection.rb +15 -15
  14. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
  15. data/lib/mailslurp_client/models/imap_email_projection.rb +15 -15
  16. data/lib/mailslurp_client/models/imap_server_mailbox_result.rb +221 -0
  17. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +10 -10
  18. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +20 -20
  19. data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +15 -15
  20. data/lib/mailslurp_client/models/missed_email_projection.rb +10 -10
  21. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  22. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  23. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  24. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  25. data/lib/mailslurp_client/models/page_complaint.rb +10 -10
  26. data/lib/mailslurp_client/models/page_connector.rb +10 -10
  27. data/lib/mailslurp_client/models/page_connector_sync_events.rb +10 -10
  28. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  29. data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
  30. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  31. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  32. data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
  33. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  34. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  35. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  36. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +10 -10
  37. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  38. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +10 -10
  39. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +10 -10
  40. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
  41. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +10 -10
  42. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  43. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  44. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  45. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
  46. data/lib/mailslurp_client/models/page_sent_email_projection.rb +10 -10
  47. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +10 -10
  48. data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
  49. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  50. data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
  51. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  52. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  53. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  54. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  55. data/lib/mailslurp_client/models/pageable_object.rb +10 -10
  56. data/lib/mailslurp_client/models/phone_number_projection.rb +15 -15
  57. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  58. data/lib/mailslurp_client/models/sms_projection.rb +29 -29
  59. data/lib/mailslurp_client/models/template_projection.rb +17 -17
  60. data/lib/mailslurp_client/models/thread_projection.rb +31 -31
  61. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +15 -15
  62. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -10
  63. data/lib/mailslurp_client/models/webhook_projection.rb +25 -25
  64. data/lib/mailslurp_client/version.rb +1 -1
  65. data/lib/mailslurp_client.rb +2 -0
  66. metadata +4 -2
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
+ attr_accessor :first
31
+
30
32
  attr_accessor :size
31
33
 
32
34
  attr_accessor :number
33
35
 
34
36
  attr_accessor :sort
35
37
 
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',
49
50
  :'size' => :'size',
50
51
  :'number' => :'number',
51
52
  :'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',
66
67
  :'size' => :'Integer',
67
68
  :'number' => :'Integer',
68
69
  :'sort' => :'SortObject',
69
- :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ 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
+
121
125
  if attributes.key?(:'size')
122
126
  self.size = attributes[:'size']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.sort = attributes[:'sort']
131
135
  end
132
136
 
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 &&
176
177
  size == o.size &&
177
178
  number == o.number &&
178
179
  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, size, number, sort, first, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, 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
+
30
32
  attr_accessor :size
31
33
 
32
34
  attr_accessor :number
33
35
 
34
36
  attr_accessor :sort
35
37
 
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',
49
50
  :'size' => :'size',
50
51
  :'number' => :'number',
51
52
  :'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',
66
67
  :'size' => :'Integer',
67
68
  :'number' => :'Integer',
68
69
  :'sort' => :'SortObject',
69
- :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ 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
+
121
125
  if attributes.key?(:'size')
122
126
  self.size = attributes[:'size']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.sort = attributes[:'sort']
131
135
  end
132
136
 
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 &&
176
177
  size == o.size &&
177
178
  number == o.number &&
178
179
  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, size, number, sort, first, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, 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
+
30
32
  attr_accessor :size
31
33
 
32
34
  attr_accessor :number
33
35
 
34
36
  attr_accessor :sort
35
37
 
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',
49
50
  :'size' => :'size',
50
51
  :'number' => :'number',
51
52
  :'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',
66
67
  :'size' => :'Integer',
67
68
  :'number' => :'Integer',
68
69
  :'sort' => :'SortObject',
69
- :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ 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
+
121
125
  if attributes.key?(:'size')
122
126
  self.size = attributes[:'size']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.sort = attributes[:'sort']
131
135
  end
132
136
 
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 &&
176
177
  size == o.size &&
177
178
  number == o.number &&
178
179
  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, size, number, sort, first, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, 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
+
30
32
  attr_accessor :size
31
33
 
32
34
  attr_accessor :number
33
35
 
34
36
  attr_accessor :sort
35
37
 
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',
49
50
  :'size' => :'size',
50
51
  :'number' => :'number',
51
52
  :'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',
66
67
  :'size' => :'Integer',
67
68
  :'number' => :'Integer',
68
69
  :'sort' => :'SortObject',
69
- :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ 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
+
121
125
  if attributes.key?(:'size')
122
126
  self.size = attributes[:'size']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.sort = attributes[:'sort']
131
135
  end
132
136
 
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 &&
176
177
  size == o.size &&
177
178
  number == o.number &&
178
179
  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, size, number, sort, first, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, 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
+
30
32
  attr_accessor :size
31
33
 
32
34
  attr_accessor :number
33
35
 
34
36
  attr_accessor :sort
35
37
 
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',
49
50
  :'size' => :'size',
50
51
  :'number' => :'number',
51
52
  :'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',
66
67
  :'size' => :'Integer',
67
68
  :'number' => :'Integer',
68
69
  :'sort' => :'SortObject',
69
- :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ 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
+
121
125
  if attributes.key?(:'size')
122
126
  self.size = attributes[:'size']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.sort = attributes[:'sort']
131
135
  end
132
136
 
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 &&
176
177
  size == o.size &&
177
178
  number == o.number &&
178
179
  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, size, number, sort, first, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, 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
+
30
32
  attr_accessor :size
31
33
 
32
34
  attr_accessor :number
33
35
 
34
36
  attr_accessor :sort
35
37
 
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',
49
50
  :'size' => :'size',
50
51
  :'number' => :'number',
51
52
  :'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',
66
67
  :'size' => :'Integer',
67
68
  :'number' => :'Integer',
68
69
  :'sort' => :'SortObject',
69
- :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ 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
+
121
125
  if attributes.key?(:'size')
122
126
  self.size = attributes[:'size']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.sort = attributes[:'sort']
131
135
  end
132
136
 
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 &&
176
177
  size == o.size &&
177
178
  number == o.number &&
178
179
  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, size, number, sort, first, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, 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
+
30
32
  attr_accessor :size
31
33
 
32
34
  attr_accessor :number
33
35
 
34
36
  attr_accessor :sort
35
37
 
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',
49
50
  :'size' => :'size',
50
51
  :'number' => :'number',
51
52
  :'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',
66
67
  :'size' => :'Integer',
67
68
  :'number' => :'Integer',
68
69
  :'sort' => :'SortObject',
69
- :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ 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
+
121
125
  if attributes.key?(:'size')
122
126
  self.size = attributes[:'size']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.sort = attributes[:'sort']
131
135
  end
132
136
 
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 &&
176
177
  size == o.size &&
177
178
  number == o.number &&
178
179
  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, size, number, sort, first, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, 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
+
30
32
  attr_accessor :size
31
33
 
32
34
  attr_accessor :number
33
35
 
34
36
  attr_accessor :sort
35
37
 
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',
49
50
  :'size' => :'size',
50
51
  :'number' => :'number',
51
52
  :'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',
66
67
  :'size' => :'Integer',
67
68
  :'number' => :'Integer',
68
69
  :'sort' => :'SortObject',
69
- :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ 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
+
121
125
  if attributes.key?(:'size')
122
126
  self.size = attributes[:'size']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.sort = attributes[:'sort']
131
135
  end
132
136
 
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 &&
176
177
  size == o.size &&
177
178
  number == o.number &&
178
179
  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, size, number, sort, first, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash