mailslurp_client 15.12.17 → 15.13.0

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/alias_projection.rb +15 -15
  3. data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
  4. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +13 -13
  5. data/lib/mailslurp_client/models/email_projection.rb +22 -22
  6. data/lib/mailslurp_client/models/page_alias.rb +22 -22
  7. data/lib/mailslurp_client/models/page_attachment_entity.rb +22 -22
  8. data/lib/mailslurp_client/models/page_bounced_email.rb +22 -22
  9. data/lib/mailslurp_client/models/page_bounced_recipients.rb +22 -22
  10. data/lib/mailslurp_client/models/page_complaint.rb +22 -22
  11. data/lib/mailslurp_client/models/page_contact_projection.rb +22 -22
  12. data/lib/mailslurp_client/models/page_delivery_status.rb +22 -22
  13. data/lib/mailslurp_client/models/page_email_preview.rb +22 -22
  14. data/lib/mailslurp_client/models/page_email_projection.rb +22 -22
  15. data/lib/mailslurp_client/models/page_email_validation_request.rb +22 -22
  16. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +22 -22
  17. data/lib/mailslurp_client/models/page_group_projection.rb +22 -22
  18. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +22 -22
  19. data/lib/mailslurp_client/models/page_inbox_projection.rb +22 -22
  20. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +22 -22
  21. data/lib/mailslurp_client/models/page_missed_email_projection.rb +22 -22
  22. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +22 -22
  23. data/lib/mailslurp_client/models/page_phone_number_projection.rb +22 -22
  24. data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
  25. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
  26. data/lib/mailslurp_client/models/page_sms_projection.rb +22 -22
  27. data/lib/mailslurp_client/models/page_template_projection.rb +22 -22
  28. data/lib/mailslurp_client/models/page_thread_projection.rb +22 -22
  29. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +22 -22
  30. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +22 -22
  31. data/lib/mailslurp_client/models/page_webhook_projection.rb +22 -22
  32. data/lib/mailslurp_client/models/page_webhook_result.rb +22 -22
  33. data/lib/mailslurp_client/models/sent_email_projection.rb +56 -56
  34. data/lib/mailslurp_client/models/sort.rb +13 -13
  35. data/lib/mailslurp_client/models/thread_projection.rb +16 -16
  36. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  37. data/lib/mailslurp_client/version.rb +1 -1
  38. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1dac26ff14eb4f9f64b3b514fc28d7d59db6b07c64c450992dd86916227922a
4
- data.tar.gz: ae952361f60c99bee1dfb8f37d6d2e71b7e7621cb3ef48467b22d1ef5bc397f6
3
+ metadata.gz: 8fc7c87ec6802e9f72e70d0d40905eed5044a2d27e4e31757b04e92ca562fb58
4
+ data.tar.gz: dc3ef1bc48a69e61482469f5d7cf5b21b9cf88617aa1d9b211740e6efa0b8012
5
5
  SHA512:
6
- metadata.gz: 82dc3c0abe03f28aeebe0ee2e006fc56e2deed8b115e7501fffa770791ed1269b753da2f4552ba06056093a4cf1f92a977256b6ce124f0e5b99fbe38810a52cd
7
- data.tar.gz: a6835141e04325e7a71ac696c4d5c988555857c72f722b741aa638418b0e4f2311f32f1b8056a9b0c7c4837be3214604fe3fe525360549a8d5e4d56569af6a64
6
+ metadata.gz: f7d373481d401fe99929469da5dde544810bdf929baef20bdf294399dfb3473169bd4c1f6c71ea00c085fcf223a8a4a6b34e6f4e9a4eb681cff5fadba5bab5f8
7
+ data.tar.gz: ba6712f60183de2a614a95b7e49902979c609706d8bc26b1c832a7fea121caeebf360870c056510e10c9e6e3f88ab6f3f341fcde6293ceefdda2956d8a99ca48
@@ -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
@@ -20,6 +20,9 @@ module MailSlurpClient
20
20
  # Content length of attachment in bytes
21
21
  attr_accessor :content_length
22
22
 
23
+ # Content type of attachment.
24
+ attr_accessor :content_type
25
+
23
26
  attr_accessor :user_id
24
27
 
25
28
  # Attachment ID
@@ -29,19 +32,16 @@ module MailSlurpClient
29
32
 
30
33
  attr_accessor :updated_at
31
34
 
32
- # Content type of attachment.
33
- attr_accessor :content_type
34
-
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
36
36
  def self.attribute_map
37
37
  {
38
38
  :'name' => :'name',
39
39
  :'content_length' => :'contentLength',
40
+ :'content_type' => :'contentType',
40
41
  :'user_id' => :'userId',
41
42
  :'attachment_id' => :'attachmentId',
42
43
  :'created_at' => :'createdAt',
43
- :'updated_at' => :'updatedAt',
44
- :'content_type' => :'contentType'
44
+ :'updated_at' => :'updatedAt'
45
45
  }
46
46
  end
47
47
 
@@ -50,11 +50,11 @@ module MailSlurpClient
50
50
  {
51
51
  :'name' => :'String',
52
52
  :'content_length' => :'Integer',
53
+ :'content_type' => :'String',
53
54
  :'user_id' => :'String',
54
55
  :'attachment_id' => :'String',
55
56
  :'created_at' => :'DateTime',
56
- :'updated_at' => :'DateTime',
57
- :'content_type' => :'String'
57
+ :'updated_at' => :'DateTime'
58
58
  }
59
59
  end
60
60
 
@@ -87,6 +87,10 @@ module MailSlurpClient
87
87
  self.content_length = attributes[:'content_length']
88
88
  end
89
89
 
90
+ if attributes.key?(:'content_type')
91
+ self.content_type = attributes[:'content_type']
92
+ end
93
+
90
94
  if attributes.key?(:'user_id')
91
95
  self.user_id = attributes[:'user_id']
92
96
  end
@@ -102,10 +106,6 @@ module MailSlurpClient
102
106
  if attributes.key?(:'updated_at')
103
107
  self.updated_at = attributes[:'updated_at']
104
108
  end
105
-
106
- if attributes.key?(:'content_type')
107
- self.content_type = attributes[:'content_type']
108
- end
109
109
  end
110
110
 
111
111
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -148,11 +148,11 @@ module MailSlurpClient
148
148
  self.class == o.class &&
149
149
  name == o.name &&
150
150
  content_length == o.content_length &&
151
+ content_type == o.content_type &&
151
152
  user_id == o.user_id &&
152
153
  attachment_id == o.attachment_id &&
153
154
  created_at == o.created_at &&
154
- updated_at == o.updated_at &&
155
- content_type == o.content_type
155
+ updated_at == o.updated_at
156
156
  end
157
157
 
158
158
  # @see the `==` method
@@ -164,7 +164,7 @@ module MailSlurpClient
164
164
  # Calculates hash code according to all attributes.
165
165
  # @return [Integer] Hash code
166
166
  def hash
167
- [name, content_length, user_id, attachment_id, created_at, updated_at, content_type].hash
167
+ [name, content_length, content_type, user_id, attachment_id, created_at, updated_at].hash
168
168
  end
169
169
 
170
170
  # Builds the object from hash
@@ -17,6 +17,8 @@ module MailSlurpClient
17
17
  class BounceRecipientProjection
18
18
  attr_accessor :id
19
19
 
20
+ attr_accessor :action
21
+
20
22
  attr_accessor :status
21
23
 
22
24
  attr_accessor :sent_email_id
@@ -25,17 +27,15 @@ module MailSlurpClient
25
27
 
26
28
  attr_accessor :recipient
27
29
 
28
- attr_accessor :action
29
-
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
31
31
  def self.attribute_map
32
32
  {
33
33
  :'id' => :'id',
34
+ :'action' => :'action',
34
35
  :'status' => :'status',
35
36
  :'sent_email_id' => :'sentEmailId',
36
37
  :'created_at' => :'createdAt',
37
- :'recipient' => :'recipient',
38
- :'action' => :'action'
38
+ :'recipient' => :'recipient'
39
39
  }
40
40
  end
41
41
 
@@ -43,11 +43,11 @@ module MailSlurpClient
43
43
  def self.openapi_types
44
44
  {
45
45
  :'id' => :'String',
46
+ :'action' => :'String',
46
47
  :'status' => :'String',
47
48
  :'sent_email_id' => :'String',
48
49
  :'created_at' => :'DateTime',
49
- :'recipient' => :'String',
50
- :'action' => :'String'
50
+ :'recipient' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -76,6 +76,10 @@ module MailSlurpClient
76
76
  self.id = attributes[:'id']
77
77
  end
78
78
 
79
+ if attributes.key?(:'action')
80
+ self.action = attributes[:'action']
81
+ end
82
+
79
83
  if attributes.key?(:'status')
80
84
  self.status = attributes[:'status']
81
85
  end
@@ -91,10 +95,6 @@ module MailSlurpClient
91
95
  if attributes.key?(:'recipient')
92
96
  self.recipient = attributes[:'recipient']
93
97
  end
94
-
95
- if attributes.key?(:'action')
96
- self.action = attributes[:'action']
97
- end
98
98
  end
99
99
 
100
100
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -126,11 +126,11 @@ module MailSlurpClient
126
126
  return true if self.equal?(o)
127
127
  self.class == o.class &&
128
128
  id == o.id &&
129
+ action == o.action &&
129
130
  status == o.status &&
130
131
  sent_email_id == o.sent_email_id &&
131
132
  created_at == o.created_at &&
132
- recipient == o.recipient &&
133
- action == o.action
133
+ recipient == o.recipient
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, status, sent_email_id, created_at, recipient, action].hash
145
+ [id, action, status, sent_email_id, created_at, recipient].hash
146
146
  end
147
147
 
148
148
  # Builds the object from hash
@@ -25,10 +25,6 @@ module MailSlurpClient
25
25
 
26
26
  attr_accessor :attachments
27
27
 
28
- attr_accessor :body_md5_hash
29
-
30
- attr_accessor :body_excerpt
31
-
32
28
  attr_accessor :to
33
29
 
34
30
  attr_accessor :created_at
@@ -43,6 +39,10 @@ module MailSlurpClient
43
39
 
44
40
  attr_accessor :read
45
41
 
42
+ attr_accessor :body_md5_hash
43
+
44
+ attr_accessor :body_excerpt
45
+
46
46
  # Attribute mapping from ruby-style variable name to JSON key.
47
47
  def self.attribute_map
48
48
  {
@@ -51,15 +51,15 @@ module MailSlurpClient
51
51
  :'subject' => :'subject',
52
52
  :'inbox_id' => :'inboxId',
53
53
  :'attachments' => :'attachments',
54
- :'body_md5_hash' => :'bodyMD5Hash',
55
- :'body_excerpt' => :'bodyExcerpt',
56
54
  :'to' => :'to',
57
55
  :'created_at' => :'createdAt',
58
56
  :'bcc' => :'bcc',
59
57
  :'cc' => :'cc',
60
58
  :'domain_id' => :'domainId',
61
59
  :'team_access' => :'teamAccess',
62
- :'read' => :'read'
60
+ :'read' => :'read',
61
+ :'body_md5_hash' => :'bodyMD5Hash',
62
+ :'body_excerpt' => :'bodyExcerpt'
63
63
  }
64
64
  end
65
65
 
@@ -71,15 +71,15 @@ module MailSlurpClient
71
71
  :'subject' => :'String',
72
72
  :'inbox_id' => :'String',
73
73
  :'attachments' => :'Array<String>',
74
- :'body_md5_hash' => :'String',
75
- :'body_excerpt' => :'String',
76
74
  :'to' => :'Array<String>',
77
75
  :'created_at' => :'DateTime',
78
76
  :'bcc' => :'Array<String>',
79
77
  :'cc' => :'Array<String>',
80
78
  :'domain_id' => :'String',
81
79
  :'team_access' => :'Boolean',
82
- :'read' => :'Boolean'
80
+ :'read' => :'Boolean',
81
+ :'body_md5_hash' => :'String',
82
+ :'body_excerpt' => :'String'
83
83
  }
84
84
  end
85
85
 
@@ -126,14 +126,6 @@ module MailSlurpClient
126
126
  end
127
127
  end
128
128
 
129
- if attributes.key?(:'body_md5_hash')
130
- self.body_md5_hash = attributes[:'body_md5_hash']
131
- end
132
-
133
- if attributes.key?(:'body_excerpt')
134
- self.body_excerpt = attributes[:'body_excerpt']
135
- end
136
-
137
129
  if attributes.key?(:'to')
138
130
  if (value = attributes[:'to']).is_a?(Array)
139
131
  self.to = value
@@ -167,6 +159,14 @@ module MailSlurpClient
167
159
  if attributes.key?(:'read')
168
160
  self.read = attributes[:'read']
169
161
  end
162
+
163
+ if attributes.key?(:'body_md5_hash')
164
+ self.body_md5_hash = attributes[:'body_md5_hash']
165
+ end
166
+
167
+ if attributes.key?(:'body_excerpt')
168
+ self.body_excerpt = attributes[:'body_excerpt']
169
+ end
170
170
  end
171
171
 
172
172
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -222,15 +222,15 @@ module MailSlurpClient
222
222
  subject == o.subject &&
223
223
  inbox_id == o.inbox_id &&
224
224
  attachments == o.attachments &&
225
- body_md5_hash == o.body_md5_hash &&
226
- body_excerpt == o.body_excerpt &&
227
225
  to == o.to &&
228
226
  created_at == o.created_at &&
229
227
  bcc == o.bcc &&
230
228
  cc == o.cc &&
231
229
  domain_id == o.domain_id &&
232
230
  team_access == o.team_access &&
233
- read == o.read
231
+ read == o.read &&
232
+ body_md5_hash == o.body_md5_hash &&
233
+ body_excerpt == o.body_excerpt
234
234
  end
235
235
 
236
236
  # @see the `==` method
@@ -242,7 +242,7 @@ module MailSlurpClient
242
242
  # Calculates hash code according to all attributes.
243
243
  # @return [Integer] Hash code
244
244
  def hash
245
- [id, from, subject, inbox_id, attachments, body_md5_hash, body_excerpt, to, created_at, bcc, cc, domain_id, team_access, read].hash
245
+ [id, from, subject, inbox_id, attachments, to, created_at, bcc, cc, domain_id, team_access, read, body_md5_hash, body_excerpt].hash
246
246
  end
247
247
 
248
248
  # Builds the object from hash
@@ -21,11 +21,11 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
24
+ attr_accessor :last
25
25
 
26
26
  attr_accessor :total_elements
27
27
 
28
- attr_accessor :last
28
+ attr_accessor :total_pages
29
29
 
30
30
  attr_accessor :size
31
31
 
@@ -33,10 +33,10 @@ module MailSlurpClient
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :number_of_elements
37
-
38
36
  attr_accessor :first
39
37
 
38
+ attr_accessor :number_of_elements
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
- :'total_elements' => :'totalElements',
50
48
  :'last' => :'last',
49
+ :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'number_of_elements' => :'numberOfElements',
55
54
  :'first' => :'first',
55
+ :'number_of_elements' => :'numberOfElements',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<AliasProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
- :'total_elements' => :'Integer',
68
66
  :'last' => :'Boolean',
67
+ :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'number_of_elements' => :'Integer',
73
72
  :'first' => :'Boolean',
73
+ :'number_of_elements' => :'Integer',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,16 +110,16 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'total_elements')
118
118
  self.total_elements = attributes[:'total_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
123
  end
124
124
 
125
125
  if attributes.key?(:'size')
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'number_of_elements')
138
- self.number_of_elements = attributes[:'number_of_elements']
139
- end
140
-
141
137
  if attributes.key?(:'first')
142
138
  self.first = attributes[:'first']
143
139
  end
144
140
 
141
+ if attributes.key?(:'number_of_elements')
142
+ self.number_of_elements = attributes[:'number_of_elements']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
- total_elements == o.total_elements &&
173
171
  last == o.last &&
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 &&
177
- number_of_elements == o.number_of_elements &&
178
177
  first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
191
+ [content, pageable, total, 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
@@ -21,11 +21,11 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :total_pages
24
+ attr_accessor :last
25
25
 
26
26
  attr_accessor :total_elements
27
27
 
28
- attr_accessor :last
28
+ attr_accessor :total_pages
29
29
 
30
30
  attr_accessor :size
31
31
 
@@ -33,10 +33,10 @@ module MailSlurpClient
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :number_of_elements
37
-
38
36
  attr_accessor :first
39
37
 
38
+ attr_accessor :number_of_elements
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
- :'total_pages' => :'totalPages',
49
- :'total_elements' => :'totalElements',
50
48
  :'last' => :'last',
49
+ :'total_elements' => :'totalElements',
50
+ :'total_pages' => :'totalPages',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'number_of_elements' => :'numberOfElements',
55
54
  :'first' => :'first',
55
+ :'number_of_elements' => :'numberOfElements',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<AttachmentProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'total_pages' => :'Integer',
67
- :'total_elements' => :'Integer',
68
66
  :'last' => :'Boolean',
67
+ :'total_elements' => :'Integer',
68
+ :'total_pages' => :'Integer',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'number_of_elements' => :'Integer',
73
72
  :'first' => :'Boolean',
73
+ :'number_of_elements' => :'Integer',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,16 +110,16 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'total_pages')
114
- self.total_pages = attributes[:'total_pages']
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'total_elements')
118
118
  self.total_elements = attributes[:'total_elements']
119
119
  end
120
120
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
121
+ if attributes.key?(:'total_pages')
122
+ self.total_pages = attributes[:'total_pages']
123
123
  end
124
124
 
125
125
  if attributes.key?(:'size')
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'number_of_elements')
138
- self.number_of_elements = attributes[:'number_of_elements']
139
- end
140
-
141
137
  if attributes.key?(:'first')
142
138
  self.first = attributes[:'first']
143
139
  end
144
140
 
141
+ if attributes.key?(:'number_of_elements')
142
+ self.number_of_elements = attributes[:'number_of_elements']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
- total_pages == o.total_pages &&
172
- total_elements == o.total_elements &&
173
171
  last == o.last &&
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 &&
177
- number_of_elements == o.number_of_elements &&
178
177
  first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
191
+ [content, pageable, total, 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