mailslurp_client 15.19.12 → 15.19.14

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 (58) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/email_controller_api.rb +68 -2
  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/email_projection.rb +10 -10
  8. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
  9. data/lib/mailslurp_client/models/imap_access_details.rb +61 -1
  10. data/lib/mailslurp_client/models/imap_smtp_access_details.rb +61 -1
  11. data/lib/mailslurp_client/models/imap_smtp_access_servers.rb +254 -0
  12. data/lib/mailslurp_client/models/inbox_dto.rb +1 -1
  13. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +11 -11
  14. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +11 -11
  15. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  16. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  17. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  18. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  19. data/lib/mailslurp_client/models/page_complaint.rb +10 -10
  20. data/lib/mailslurp_client/models/page_connector.rb +10 -10
  21. data/lib/mailslurp_client/models/page_connector_sync_events.rb +10 -10
  22. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  23. data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
  24. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  25. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  26. data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
  27. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  28. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  29. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  30. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +10 -10
  31. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  32. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +10 -10
  33. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +10 -10
  34. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
  35. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +10 -10
  36. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  37. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  38. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  39. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
  40. data/lib/mailslurp_client/models/page_sent_email_projection.rb +10 -10
  41. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +10 -10
  42. data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
  43. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  44. data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
  45. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  46. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  47. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  48. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  49. data/lib/mailslurp_client/models/pageable_object.rb +10 -10
  50. data/lib/mailslurp_client/models/sent_email_projection.rb +21 -21
  51. data/lib/mailslurp_client/models/server_endpoints.rb +255 -0
  52. data/lib/mailslurp_client/models/thread_projection.rb +16 -16
  53. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  54. data/lib/mailslurp_client/models/update_imap_access_options.rb +220 -0
  55. data/lib/mailslurp_client/models/update_smtp_access_options.rb +220 -0
  56. data/lib/mailslurp_client/version.rb +1 -1
  57. data/lib/mailslurp_client.rb +4 -0
  58. metadata +6 -2
@@ -17,12 +17,12 @@ module MailSlurpClient
17
17
  class InboxReplierEventProjection
18
18
  attr_accessor :recipients
19
19
 
20
- attr_accessor :user_id
21
-
22
20
  attr_accessor :email_id
23
21
 
24
22
  attr_accessor :inbox_id
25
23
 
24
+ attr_accessor :user_id
25
+
26
26
  attr_accessor :sent_id
27
27
 
28
28
  attr_accessor :replier_id
@@ -61,9 +61,9 @@ module MailSlurpClient
61
61
  def self.attribute_map
62
62
  {
63
63
  :'recipients' => :'recipients',
64
- :'user_id' => :'userId',
65
64
  :'email_id' => :'emailId',
66
65
  :'inbox_id' => :'inboxId',
66
+ :'user_id' => :'userId',
67
67
  :'sent_id' => :'sentId',
68
68
  :'replier_id' => :'replierId',
69
69
  :'created_at' => :'createdAt',
@@ -77,9 +77,9 @@ module MailSlurpClient
77
77
  def self.openapi_types
78
78
  {
79
79
  :'recipients' => :'Array<String>',
80
- :'user_id' => :'String',
81
80
  :'email_id' => :'String',
82
81
  :'inbox_id' => :'String',
82
+ :'user_id' => :'String',
83
83
  :'sent_id' => :'String',
84
84
  :'replier_id' => :'String',
85
85
  :'created_at' => :'DateTime',
@@ -93,9 +93,9 @@ module MailSlurpClient
93
93
  def self.openapi_nullable
94
94
  Set.new([
95
95
  :'recipients',
96
- :'user_id',
97
96
  :'email_id',
98
97
  :'inbox_id',
98
+ :'user_id',
99
99
  :'sent_id',
100
100
  :'replier_id',
101
101
  :'message',
@@ -125,10 +125,6 @@ module MailSlurpClient
125
125
  end
126
126
  end
127
127
 
128
- if attributes.key?(:'user_id')
129
- self.user_id = attributes[:'user_id']
130
- end
131
-
132
128
  if attributes.key?(:'email_id')
133
129
  self.email_id = attributes[:'email_id']
134
130
  end
@@ -137,6 +133,10 @@ module MailSlurpClient
137
133
  self.inbox_id = attributes[:'inbox_id']
138
134
  end
139
135
 
136
+ if attributes.key?(:'user_id')
137
+ self.user_id = attributes[:'user_id']
138
+ end
139
+
140
140
  if attributes.key?(:'sent_id')
141
141
  self.sent_id = attributes[:'sent_id']
142
142
  end
@@ -198,9 +198,9 @@ module MailSlurpClient
198
198
  return true if self.equal?(o)
199
199
  self.class == o.class &&
200
200
  recipients == o.recipients &&
201
- user_id == o.user_id &&
202
201
  email_id == o.email_id &&
203
202
  inbox_id == o.inbox_id &&
203
+ user_id == o.user_id &&
204
204
  sent_id == o.sent_id &&
205
205
  replier_id == o.replier_id &&
206
206
  created_at == o.created_at &&
@@ -218,7 +218,7 @@ module MailSlurpClient
218
218
  # Calculates hash code according to all attributes.
219
219
  # @return [Integer] Hash code
220
220
  def hash
221
- [recipients, user_id, email_id, inbox_id, sent_id, replier_id, created_at, message, id, status].hash
221
+ [recipients, email_id, inbox_id, user_id, sent_id, replier_id, created_at, message, id, status].hash
222
222
  end
223
223
 
224
224
  # 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