mailslurp_client 15.12.3 → 15.12.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/alias_projection.rb +15 -15
  3. data/lib/mailslurp_client/models/bounce_projection.rb +13 -13
  4. data/lib/mailslurp_client/models/email_projection.rb +10 -10
  5. data/lib/mailslurp_client/models/inbox_dto.rb +5 -0
  6. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  7. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  8. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  9. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  10. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  11. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  12. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  13. data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
  14. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  15. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  16. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  17. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  18. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
  19. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  20. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  21. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  22. data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
  23. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
  24. data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
  25. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  26. data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
  27. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  28. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  29. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  30. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  31. data/lib/mailslurp_client/models/sent_email_projection.rb +24 -24
  32. data/lib/mailslurp_client/models/thread_projection.rb +16 -16
  33. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  34. data/lib/mailslurp_client/version.rb +1 -1
  35. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64abc4be5df029c9fafe84b3a95a67d30de2078a6dc027e92ac54cf8aadd821c
4
- data.tar.gz: d893a0db9539a073a02c5d8adcba521778da1a5a6ae6b5258fedc82cd5edc903
3
+ metadata.gz: 2f5e9088eca9f13a4a3a191c8420b083d3d7275c8ce5ebcdd219596ae707952f
4
+ data.tar.gz: 72799ac2111498f027841601d121bc8c3937ada005ad1c176125fe0d8179740c
5
5
  SHA512:
6
- metadata.gz: 4749a16d667dd0a225fd083f5957fd21076b60f50e38c3849ebe2573b101eeb5388efb75843f40468569c13e1c702ce28690d3d9c0e97a54f03e18abd71be6ba
7
- data.tar.gz: c1dd995efb1965b4f7fe56b80dc8d2031201856f5bb164d8d95f7cda652d4a5116e3de629758db73a7cb0ecd3a4a2995b0f11d03c3ee213922b5273555e3a189
6
+ metadata.gz: 554fc7a4b57fcfd2b68a4aa26b79f18bfb90ade633863bcce473269048cda126e14f51cd932e34e3e5e250edb83bce49d27fb9989f2cd4a0c21e5143c7ae44bc
7
+ data.tar.gz: e91106807651b9ad2c62ad26ac1d44b01b6ed50d96f67e8dd4140033181812118e0700895c887200e24a244bd2f4599e7fdd955528c20e921705ac47859776b0
@@ -19,12 +19,12 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :id
21
21
 
22
+ attr_accessor :inbox_id
23
+
22
24
  attr_accessor :user_id
23
25
 
24
26
  attr_accessor :email_address
25
27
 
26
- attr_accessor :inbox_id
27
-
28
28
  attr_accessor :created_at
29
29
 
30
30
  attr_accessor :updated_at
@@ -36,9 +36,9 @@ module MailSlurpClient
36
36
  {
37
37
  :'name' => :'name',
38
38
  :'id' => :'id',
39
+ :'inbox_id' => :'inboxId',
39
40
  :'user_id' => :'userId',
40
41
  :'email_address' => :'emailAddress',
41
- :'inbox_id' => :'inboxId',
42
42
  :'created_at' => :'createdAt',
43
43
  :'updated_at' => :'updatedAt',
44
44
  :'use_threads' => :'useThreads'
@@ -50,9 +50,9 @@ module MailSlurpClient
50
50
  {
51
51
  :'name' => :'String',
52
52
  :'id' => :'String',
53
+ :'inbox_id' => :'String',
53
54
  :'user_id' => :'String',
54
55
  :'email_address' => :'String',
55
- :'inbox_id' => :'String',
56
56
  :'created_at' => :'DateTime',
57
57
  :'updated_at' => :'DateTime',
58
58
  :'use_threads' => :'Boolean'
@@ -88,6 +88,10 @@ module MailSlurpClient
88
88
  self.id = attributes[:'id']
89
89
  end
90
90
 
91
+ if attributes.key?(:'inbox_id')
92
+ self.inbox_id = attributes[:'inbox_id']
93
+ end
94
+
91
95
  if attributes.key?(:'user_id')
92
96
  self.user_id = attributes[:'user_id']
93
97
  end
@@ -96,10 +100,6 @@ module MailSlurpClient
96
100
  self.email_address = attributes[:'email_address']
97
101
  end
98
102
 
99
- if attributes.key?(:'inbox_id')
100
- self.inbox_id = attributes[:'inbox_id']
101
- end
102
-
103
103
  if attributes.key?(:'created_at')
104
104
  self.created_at = attributes[:'created_at']
105
105
  end
@@ -121,6 +121,10 @@ module MailSlurpClient
121
121
  invalid_properties.push('invalid value for "id", id cannot be nil.')
122
122
  end
123
123
 
124
+ if @inbox_id.nil?
125
+ invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
126
+ end
127
+
124
128
  if @user_id.nil?
125
129
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
126
130
  end
@@ -129,10 +133,6 @@ module MailSlurpClient
129
133
  invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
130
134
  end
131
135
 
132
- if @inbox_id.nil?
133
- invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
134
- end
135
-
136
136
  if @created_at.nil?
137
137
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
138
138
  end
@@ -148,9 +148,9 @@ module MailSlurpClient
148
148
  # @return true if the model is valid
149
149
  def valid?
150
150
  return false if @id.nil?
151
+ return false if @inbox_id.nil?
151
152
  return false if @user_id.nil?
152
153
  return false if @email_address.nil?
153
- return false if @inbox_id.nil?
154
154
  return false if @created_at.nil?
155
155
  return false if @updated_at.nil?
156
156
  true
@@ -163,9 +163,9 @@ module MailSlurpClient
163
163
  self.class == o.class &&
164
164
  name == o.name &&
165
165
  id == o.id &&
166
+ inbox_id == o.inbox_id &&
166
167
  user_id == o.user_id &&
167
168
  email_address == o.email_address &&
168
- inbox_id == o.inbox_id &&
169
169
  created_at == o.created_at &&
170
170
  updated_at == o.updated_at &&
171
171
  use_threads == o.use_threads
@@ -180,7 +180,7 @@ module MailSlurpClient
180
180
  # Calculates hash code according to all attributes.
181
181
  # @return [Integer] Hash code
182
182
  def hash
183
- [name, id, user_id, email_address, inbox_id, created_at, updated_at, use_threads].hash
183
+ [name, id, inbox_id, user_id, email_address, created_at, updated_at, use_threads].hash
184
184
  end
185
185
 
186
186
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :created_at
25
25
 
26
- attr_accessor :bounce_type
27
-
28
26
  attr_accessor :bounce_mta
29
27
 
28
+ attr_accessor :bounce_type
29
+
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
31
31
  def self.attribute_map
32
32
  {
@@ -34,8 +34,8 @@ module MailSlurpClient
34
34
  :'sender' => :'sender',
35
35
  :'subject' => :'subject',
36
36
  :'created_at' => :'createdAt',
37
- :'bounce_type' => :'bounceType',
38
- :'bounce_mta' => :'bounceMta'
37
+ :'bounce_mta' => :'bounceMta',
38
+ :'bounce_type' => :'bounceType'
39
39
  }
40
40
  end
41
41
 
@@ -46,8 +46,8 @@ module MailSlurpClient
46
46
  :'sender' => :'String',
47
47
  :'subject' => :'String',
48
48
  :'created_at' => :'DateTime',
49
- :'bounce_type' => :'String',
50
- :'bounce_mta' => :'String'
49
+ :'bounce_mta' => :'String',
50
+ :'bounce_type' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -88,13 +88,13 @@ module MailSlurpClient
88
88
  self.created_at = attributes[:'created_at']
89
89
  end
90
90
 
91
- if attributes.key?(:'bounce_type')
92
- self.bounce_type = attributes[:'bounce_type']
93
- end
94
-
95
91
  if attributes.key?(:'bounce_mta')
96
92
  self.bounce_mta = attributes[:'bounce_mta']
97
93
  end
94
+
95
+ if attributes.key?(:'bounce_type')
96
+ self.bounce_type = attributes[:'bounce_type']
97
+ end
98
98
  end
99
99
 
100
100
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -129,8 +129,8 @@ module MailSlurpClient
129
129
  sender == o.sender &&
130
130
  subject == o.subject &&
131
131
  created_at == o.created_at &&
132
- bounce_type == o.bounce_type &&
133
- bounce_mta == o.bounce_mta
132
+ bounce_mta == o.bounce_mta &&
133
+ bounce_type == o.bounce_type
134
134
  end
135
135
 
136
136
  # @see the `==` method
@@ -142,7 +142,7 @@ module MailSlurpClient
142
142
  # Calculates hash code according to all attributes.
143
143
  # @return [Integer] Hash code
144
144
  def hash
145
- [id, sender, subject, created_at, bounce_type, bounce_mta].hash
145
+ [id, sender, subject, created_at, bounce_mta, bounce_type].hash
146
146
  end
147
147
 
148
148
  # Builds the object from hash
@@ -21,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :subject
23
23
 
24
- attr_accessor :attachments
25
-
26
24
  attr_accessor :inbox_id
27
25
 
26
+ attr_accessor :attachments
27
+
28
28
  attr_accessor :to
29
29
 
30
30
  attr_accessor :created_at
@@ -47,8 +47,8 @@ module MailSlurpClient
47
47
  :'id' => :'id',
48
48
  :'from' => :'from',
49
49
  :'subject' => :'subject',
50
- :'attachments' => :'attachments',
51
50
  :'inbox_id' => :'inboxId',
51
+ :'attachments' => :'attachments',
52
52
  :'to' => :'to',
53
53
  :'created_at' => :'createdAt',
54
54
  :'bcc' => :'bcc',
@@ -66,8 +66,8 @@ module MailSlurpClient
66
66
  :'id' => :'String',
67
67
  :'from' => :'String',
68
68
  :'subject' => :'String',
69
- :'attachments' => :'Array<String>',
70
69
  :'inbox_id' => :'String',
70
+ :'attachments' => :'Array<String>',
71
71
  :'to' => :'Array<String>',
72
72
  :'created_at' => :'DateTime',
73
73
  :'bcc' => :'Array<String>',
@@ -112,16 +112,16 @@ module MailSlurpClient
112
112
  self.subject = attributes[:'subject']
113
113
  end
114
114
 
115
+ if attributes.key?(:'inbox_id')
116
+ self.inbox_id = attributes[:'inbox_id']
117
+ end
118
+
115
119
  if attributes.key?(:'attachments')
116
120
  if (value = attributes[:'attachments']).is_a?(Array)
117
121
  self.attachments = value
118
122
  end
119
123
  end
120
124
 
121
- if attributes.key?(:'inbox_id')
122
- self.inbox_id = attributes[:'inbox_id']
123
- end
124
-
125
125
  if attributes.key?(:'to')
126
126
  if (value = attributes[:'to']).is_a?(Array)
127
127
  self.to = value
@@ -212,8 +212,8 @@ module MailSlurpClient
212
212
  id == o.id &&
213
213
  from == o.from &&
214
214
  subject == o.subject &&
215
- attachments == o.attachments &&
216
215
  inbox_id == o.inbox_id &&
216
+ attachments == o.attachments &&
217
217
  to == o.to &&
218
218
  created_at == o.created_at &&
219
219
  bcc == o.bcc &&
@@ -233,7 +233,7 @@ module MailSlurpClient
233
233
  # Calculates hash code according to all attributes.
234
234
  # @return [Integer] Hash code
235
235
  def hash
236
- [id, from, subject, attachments, inbox_id, to, created_at, bcc, cc, team_access, read, body_md5_hash, body_excerpt].hash
236
+ [id, from, subject, inbox_id, attachments, to, created_at, bcc, cc, team_access, read, body_md5_hash, body_excerpt].hash
237
237
  end
238
238
 
239
239
  # Builds the object from hash
@@ -117,6 +117,11 @@ module MailSlurpClient
117
117
  # List of attributes with nullable: true
118
118
  def self.openapi_nullable
119
119
  Set.new([
120
+ :'user_id',
121
+ :'name',
122
+ :'domain_id',
123
+ :'description',
124
+ :'inbox_type',
120
125
  ])
121
126
  end
122
127
 
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :last
25
25
 
26
- attr_accessor :total_pages
27
-
28
26
  attr_accessor :total_elements
29
27
 
28
+ attr_accessor :total_pages
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
@@ -46,8 +46,8 @@ module MailSlurpClient
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
48
  :'last' => :'last',
49
- :'total_pages' => :'totalPages',
50
49
  :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
@@ -64,8 +64,8 @@ module MailSlurpClient
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
66
  :'last' => :'Boolean',
67
- :'total_pages' => :'Integer',
68
67
  :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
@@ -114,14 +114,14 @@ module MailSlurpClient
114
114
  self.last = attributes[:'last']
115
115
  end
116
116
 
117
- if attributes.key?(:'total_pages')
118
- self.total_pages = attributes[:'total_pages']
119
- end
120
-
121
117
  if attributes.key?(:'total_elements')
122
118
  self.total_elements = attributes[:'total_elements']
123
119
  end
124
120
 
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -169,8 +169,8 @@ module MailSlurpClient
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
171
  last == o.last &&
172
- total_pages == o.total_pages &&
173
172
  total_elements == o.total_elements &&
173
+ total_pages == o.total_pages &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
@@ -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, last, total_pages, total_elements, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :last
25
25
 
26
- attr_accessor :total_pages
27
-
28
26
  attr_accessor :total_elements
29
27
 
28
+ attr_accessor :total_pages
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
@@ -46,8 +46,8 @@ module MailSlurpClient
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
48
  :'last' => :'last',
49
- :'total_pages' => :'totalPages',
50
49
  :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
@@ -64,8 +64,8 @@ module MailSlurpClient
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
66
  :'last' => :'Boolean',
67
- :'total_pages' => :'Integer',
68
67
  :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
@@ -114,14 +114,14 @@ module MailSlurpClient
114
114
  self.last = attributes[:'last']
115
115
  end
116
116
 
117
- if attributes.key?(:'total_pages')
118
- self.total_pages = attributes[:'total_pages']
119
- end
120
-
121
117
  if attributes.key?(:'total_elements')
122
118
  self.total_elements = attributes[:'total_elements']
123
119
  end
124
120
 
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -169,8 +169,8 @@ module MailSlurpClient
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
171
  last == o.last &&
172
- total_pages == o.total_pages &&
173
172
  total_elements == o.total_elements &&
173
+ total_pages == o.total_pages &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
@@ -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, last, total_pages, total_elements, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :last
25
25
 
26
- attr_accessor :total_pages
27
-
28
26
  attr_accessor :total_elements
29
27
 
28
+ attr_accessor :total_pages
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
@@ -46,8 +46,8 @@ module MailSlurpClient
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
48
  :'last' => :'last',
49
- :'total_pages' => :'totalPages',
50
49
  :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
@@ -64,8 +64,8 @@ module MailSlurpClient
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
66
  :'last' => :'Boolean',
67
- :'total_pages' => :'Integer',
68
67
  :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
@@ -114,14 +114,14 @@ module MailSlurpClient
114
114
  self.last = attributes[:'last']
115
115
  end
116
116
 
117
- if attributes.key?(:'total_pages')
118
- self.total_pages = attributes[:'total_pages']
119
- end
120
-
121
117
  if attributes.key?(:'total_elements')
122
118
  self.total_elements = attributes[:'total_elements']
123
119
  end
124
120
 
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -169,8 +169,8 @@ module MailSlurpClient
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
171
  last == o.last &&
172
- total_pages == o.total_pages &&
173
172
  total_elements == o.total_elements &&
173
+ total_pages == o.total_pages &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
@@ -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, last, total_pages, total_elements, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :last
25
25
 
26
- attr_accessor :total_pages
27
-
28
26
  attr_accessor :total_elements
29
27
 
28
+ attr_accessor :total_pages
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
@@ -46,8 +46,8 @@ module MailSlurpClient
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
48
  :'last' => :'last',
49
- :'total_pages' => :'totalPages',
50
49
  :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
@@ -64,8 +64,8 @@ module MailSlurpClient
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
66
  :'last' => :'Boolean',
67
- :'total_pages' => :'Integer',
68
67
  :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
@@ -114,14 +114,14 @@ module MailSlurpClient
114
114
  self.last = attributes[:'last']
115
115
  end
116
116
 
117
- if attributes.key?(:'total_pages')
118
- self.total_pages = attributes[:'total_pages']
119
- end
120
-
121
117
  if attributes.key?(:'total_elements')
122
118
  self.total_elements = attributes[:'total_elements']
123
119
  end
124
120
 
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -169,8 +169,8 @@ module MailSlurpClient
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
171
  last == o.last &&
172
- total_pages == o.total_pages &&
173
172
  total_elements == o.total_elements &&
173
+ total_pages == o.total_pages &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
@@ -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, last, total_pages, total_elements, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :last
25
25
 
26
- attr_accessor :total_pages
27
-
28
26
  attr_accessor :total_elements
29
27
 
28
+ attr_accessor :total_pages
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
@@ -46,8 +46,8 @@ module MailSlurpClient
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
48
  :'last' => :'last',
49
- :'total_pages' => :'totalPages',
50
49
  :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
@@ -64,8 +64,8 @@ module MailSlurpClient
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
66
  :'last' => :'Boolean',
67
- :'total_pages' => :'Integer',
68
67
  :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
@@ -114,14 +114,14 @@ module MailSlurpClient
114
114
  self.last = attributes[:'last']
115
115
  end
116
116
 
117
- if attributes.key?(:'total_pages')
118
- self.total_pages = attributes[:'total_pages']
119
- end
120
-
121
117
  if attributes.key?(:'total_elements')
122
118
  self.total_elements = attributes[:'total_elements']
123
119
  end
124
120
 
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -169,8 +169,8 @@ module MailSlurpClient
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
171
  last == o.last &&
172
- total_pages == o.total_pages &&
173
172
  total_elements == o.total_elements &&
173
+ total_pages == o.total_pages &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
@@ -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, last, total_pages, total_elements, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash