mailslurp_client 15.13.4 → 15.13.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/alias_projection.rb +13 -13
  3. data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
  4. data/lib/mailslurp_client/models/contact_projection.rb +13 -13
  5. data/lib/mailslurp_client/models/email_projection.rb +40 -40
  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_complaint.rb +10 -10
  11. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  12. data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
  13. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  14. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  15. data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
  16. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  17. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  18. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  19. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  20. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
  21. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  22. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  23. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  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 +10 -10
  27. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  28. data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
  29. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  30. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  31. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  32. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  33. data/lib/mailslurp_client/models/phone_number_projection.rb +15 -15
  34. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  35. data/lib/mailslurp_client/models/sort.rb +13 -13
  36. data/lib/mailslurp_client/models/template_projection.rb +20 -20
  37. data/lib/mailslurp_client/models/thread_projection.rb +21 -21
  38. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  39. data/lib/mailslurp_client/models/webhook_dto.rb +13 -2
  40. data/lib/mailslurp_client/version.rb +1 -1
  41. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae31e0fa60d269c647b253f76d46dcfc30ab6a04710555f708caf611742018c7
4
- data.tar.gz: 43e1b1848aefbb4e40dafc64e38576c58975eb039d1b9dc415c4b0503e9cc653
3
+ metadata.gz: 9e009c02749d910453c16ff43d3d0585fcc97e12983c2017dc355a800c08d801
4
+ data.tar.gz: e7ffd245f4dc17b627acb5fa78af1a28ddc3d8074a89febf105c9adf842284a1
5
5
  SHA512:
6
- metadata.gz: 52117afd790199a0b03aec567efb62634fd8ff1a535effeb2f79c426716fedd450506b8ec5875fb0a5b9b71825b8530a7a810917996dec18d7ff8ae8ec44213d
7
- data.tar.gz: d49f11bf635aa6fbb22eb6d84dc4c14a5685532fa8f48c319a248ff8f7879786671452a14cd15b629dfc060993e7028e8232cf2b7c3825bc65e1e787a58b1779
6
+ metadata.gz: 6b74530fd166102030368e37b62ad135caad640b966b79281dad7d603eba93f6ae03943cd61827ca28e02e83908bdd27f403a08f6ae0f5725fd1f2a165414c5c
7
+ data.tar.gz: 92d08993c16d968c28e5172a70401fa409e969fce4baeb9d8da46fd03e23e4e98491ab7d8c4c1b8042fa9a50bf2509c972e458668fe4385a1b60e4cde445fb3a
@@ -27,10 +27,10 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :created_at
29
29
 
30
- attr_accessor :updated_at
31
-
32
30
  attr_accessor :use_threads
33
31
 
32
+ attr_accessor :updated_at
33
+
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
36
36
  {
@@ -40,8 +40,8 @@ module MailSlurpClient
40
40
  :'user_id' => :'userId',
41
41
  :'email_address' => :'emailAddress',
42
42
  :'created_at' => :'createdAt',
43
- :'updated_at' => :'updatedAt',
44
- :'use_threads' => :'useThreads'
43
+ :'use_threads' => :'useThreads',
44
+ :'updated_at' => :'updatedAt'
45
45
  }
46
46
  end
47
47
 
@@ -54,8 +54,8 @@ module MailSlurpClient
54
54
  :'user_id' => :'String',
55
55
  :'email_address' => :'String',
56
56
  :'created_at' => :'DateTime',
57
- :'updated_at' => :'DateTime',
58
- :'use_threads' => :'Boolean'
57
+ :'use_threads' => :'Boolean',
58
+ :'updated_at' => :'DateTime'
59
59
  }
60
60
  end
61
61
 
@@ -104,13 +104,13 @@ module MailSlurpClient
104
104
  self.created_at = attributes[:'created_at']
105
105
  end
106
106
 
107
- if attributes.key?(:'updated_at')
108
- self.updated_at = attributes[:'updated_at']
109
- end
110
-
111
107
  if attributes.key?(:'use_threads')
112
108
  self.use_threads = attributes[:'use_threads']
113
109
  end
110
+
111
+ if attributes.key?(:'updated_at')
112
+ self.updated_at = attributes[:'updated_at']
113
+ end
114
114
  end
115
115
 
116
116
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -167,8 +167,8 @@ module MailSlurpClient
167
167
  user_id == o.user_id &&
168
168
  email_address == o.email_address &&
169
169
  created_at == o.created_at &&
170
- updated_at == o.updated_at &&
171
- use_threads == o.use_threads
170
+ use_threads == o.use_threads &&
171
+ updated_at == o.updated_at
172
172
  end
173
173
 
174
174
  # @see the `==` method
@@ -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, inbox_id, user_id, email_address, created_at, updated_at, use_threads].hash
183
+ [name, id, inbox_id, user_id, email_address, created_at, use_threads, updated_at].hash
184
184
  end
185
185
 
186
186
  # Builds the object from hash
@@ -17,25 +17,25 @@ module MailSlurpClient
17
17
  class BounceProjection
18
18
  attr_accessor :id
19
19
 
20
- attr_accessor :sender
21
-
22
20
  attr_accessor :subject
23
21
 
24
- attr_accessor :created_at
22
+ attr_accessor :sender
25
23
 
26
- attr_accessor :bounce_mta
24
+ attr_accessor :created_at
27
25
 
28
26
  attr_accessor :bounce_type
29
27
 
28
+ attr_accessor :bounce_mta
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
- :'sender' => :'sender',
35
34
  :'subject' => :'subject',
35
+ :'sender' => :'sender',
36
36
  :'created_at' => :'createdAt',
37
- :'bounce_mta' => :'bounceMta',
38
- :'bounce_type' => :'bounceType'
37
+ :'bounce_type' => :'bounceType',
38
+ :'bounce_mta' => :'bounceMta'
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
- :'sender' => :'String',
47
46
  :'subject' => :'String',
47
+ :'sender' => :'String',
48
48
  :'created_at' => :'DateTime',
49
- :'bounce_mta' => :'String',
50
- :'bounce_type' => :'String'
49
+ :'bounce_type' => :'String',
50
+ :'bounce_mta' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -76,25 +76,25 @@ module MailSlurpClient
76
76
  self.id = attributes[:'id']
77
77
  end
78
78
 
79
- if attributes.key?(:'sender')
80
- self.sender = attributes[:'sender']
81
- end
82
-
83
79
  if attributes.key?(:'subject')
84
80
  self.subject = attributes[:'subject']
85
81
  end
86
82
 
87
- if attributes.key?(:'created_at')
88
- self.created_at = attributes[:'created_at']
83
+ if attributes.key?(:'sender')
84
+ self.sender = attributes[:'sender']
89
85
  end
90
86
 
91
- if attributes.key?(:'bounce_mta')
92
- self.bounce_mta = attributes[:'bounce_mta']
87
+ if attributes.key?(:'created_at')
88
+ self.created_at = attributes[:'created_at']
93
89
  end
94
90
 
95
91
  if attributes.key?(:'bounce_type')
96
92
  self.bounce_type = attributes[:'bounce_type']
97
93
  end
94
+
95
+ if attributes.key?(:'bounce_mta')
96
+ self.bounce_mta = attributes[:'bounce_mta']
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
- sender == o.sender &&
130
129
  subject == o.subject &&
130
+ sender == o.sender &&
131
131
  created_at == o.created_at &&
132
- bounce_mta == o.bounce_mta &&
133
- bounce_type == o.bounce_type
132
+ bounce_type == o.bounce_type &&
133
+ bounce_mta == o.bounce_mta
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_mta, bounce_type].hash
145
+ [id, subject, sender, created_at, bounce_type, bounce_mta].hash
146
146
  end
147
147
 
148
148
  # Builds the object from hash
@@ -21,6 +21,8 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :created_at
23
23
 
24
+ attr_accessor :first_name
25
+
24
26
  attr_accessor :last_name
25
27
 
26
28
  attr_accessor :company
@@ -29,19 +31,17 @@ module MailSlurpClient
29
31
 
30
32
  attr_accessor :opt_out
31
33
 
32
- attr_accessor :first_name
33
-
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  def self.attribute_map
36
36
  {
37
37
  :'id' => :'id',
38
38
  :'group_id' => :'groupId',
39
39
  :'created_at' => :'createdAt',
40
+ :'first_name' => :'firstName',
40
41
  :'last_name' => :'lastName',
41
42
  :'company' => :'company',
42
43
  :'email_addresses' => :'emailAddresses',
43
- :'opt_out' => :'optOut',
44
- :'first_name' => :'firstName'
44
+ :'opt_out' => :'optOut'
45
45
  }
46
46
  end
47
47
 
@@ -51,11 +51,11 @@ module MailSlurpClient
51
51
  :'id' => :'String',
52
52
  :'group_id' => :'String',
53
53
  :'created_at' => :'DateTime',
54
+ :'first_name' => :'String',
54
55
  :'last_name' => :'String',
55
56
  :'company' => :'String',
56
57
  :'email_addresses' => :'Array<String>',
57
- :'opt_out' => :'Boolean',
58
- :'first_name' => :'String'
58
+ :'opt_out' => :'Boolean'
59
59
  }
60
60
  end
61
61
 
@@ -92,6 +92,10 @@ module MailSlurpClient
92
92
  self.created_at = attributes[:'created_at']
93
93
  end
94
94
 
95
+ if attributes.key?(:'first_name')
96
+ self.first_name = attributes[:'first_name']
97
+ end
98
+
95
99
  if attributes.key?(:'last_name')
96
100
  self.last_name = attributes[:'last_name']
97
101
  end
@@ -109,10 +113,6 @@ module MailSlurpClient
109
113
  if attributes.key?(:'opt_out')
110
114
  self.opt_out = attributes[:'opt_out']
111
115
  end
112
-
113
- if attributes.key?(:'first_name')
114
- self.first_name = attributes[:'first_name']
115
- end
116
116
  end
117
117
 
118
118
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -151,11 +151,11 @@ module MailSlurpClient
151
151
  id == o.id &&
152
152
  group_id == o.group_id &&
153
153
  created_at == o.created_at &&
154
+ first_name == o.first_name &&
154
155
  last_name == o.last_name &&
155
156
  company == o.company &&
156
157
  email_addresses == o.email_addresses &&
157
- opt_out == o.opt_out &&
158
- first_name == o.first_name
158
+ opt_out == o.opt_out
159
159
  end
160
160
 
161
161
  # @see the `==` method
@@ -167,7 +167,7 @@ module MailSlurpClient
167
167
  # Calculates hash code according to all attributes.
168
168
  # @return [Integer] Hash code
169
169
  def hash
170
- [id, group_id, created_at, last_name, company, email_addresses, opt_out, first_name].hash
170
+ [id, group_id, created_at, first_name, last_name, company, email_addresses, opt_out].hash
171
171
  end
172
172
 
173
173
  # Builds the object from hash
@@ -21,45 +21,45 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :subject
23
23
 
24
- attr_accessor :attachments
25
-
26
24
  attr_accessor :inbox_id
27
25
 
28
- attr_accessor :to
26
+ attr_accessor :attachments
29
27
 
30
- attr_accessor :created_at
28
+ attr_accessor :to
31
29
 
32
30
  attr_accessor :bcc
33
31
 
34
32
  attr_accessor :cc
35
33
 
36
- attr_accessor :domain_id
37
-
38
- attr_accessor :body_md5_hash
34
+ attr_accessor :created_at
39
35
 
40
- attr_accessor :body_excerpt
36
+ attr_accessor :domain_id
41
37
 
42
38
  attr_accessor :read
43
39
 
44
40
  attr_accessor :team_access
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
  {
49
49
  :'id' => :'id',
50
50
  :'from' => :'from',
51
51
  :'subject' => :'subject',
52
- :'attachments' => :'attachments',
53
52
  :'inbox_id' => :'inboxId',
53
+ :'attachments' => :'attachments',
54
54
  :'to' => :'to',
55
- :'created_at' => :'createdAt',
56
55
  :'bcc' => :'bcc',
57
56
  :'cc' => :'cc',
57
+ :'created_at' => :'createdAt',
58
58
  :'domain_id' => :'domainId',
59
- :'body_md5_hash' => :'bodyMD5Hash',
60
- :'body_excerpt' => :'bodyExcerpt',
61
59
  :'read' => :'read',
62
- :'team_access' => :'teamAccess'
60
+ :'team_access' => :'teamAccess',
61
+ :'body_md5_hash' => :'bodyMD5Hash',
62
+ :'body_excerpt' => :'bodyExcerpt'
63
63
  }
64
64
  end
65
65
 
@@ -69,17 +69,17 @@ module MailSlurpClient
69
69
  :'id' => :'String',
70
70
  :'from' => :'String',
71
71
  :'subject' => :'String',
72
- :'attachments' => :'Array<String>',
73
72
  :'inbox_id' => :'String',
73
+ :'attachments' => :'Array<String>',
74
74
  :'to' => :'Array<String>',
75
- :'created_at' => :'DateTime',
76
75
  :'bcc' => :'Array<String>',
77
76
  :'cc' => :'Array<String>',
77
+ :'created_at' => :'DateTime',
78
78
  :'domain_id' => :'String',
79
- :'body_md5_hash' => :'String',
80
- :'body_excerpt' => :'String',
81
79
  :'read' => :'Boolean',
82
- :'team_access' => :'Boolean'
80
+ :'team_access' => :'Boolean',
81
+ :'body_md5_hash' => :'String',
82
+ :'body_excerpt' => :'String'
83
83
  }
84
84
  end
85
85
 
@@ -116,26 +116,22 @@ module MailSlurpClient
116
116
  self.subject = attributes[:'subject']
117
117
  end
118
118
 
119
+ if attributes.key?(:'inbox_id')
120
+ self.inbox_id = attributes[:'inbox_id']
121
+ end
122
+
119
123
  if attributes.key?(:'attachments')
120
124
  if (value = attributes[:'attachments']).is_a?(Array)
121
125
  self.attachments = value
122
126
  end
123
127
  end
124
128
 
125
- if attributes.key?(:'inbox_id')
126
- self.inbox_id = attributes[:'inbox_id']
127
- end
128
-
129
129
  if attributes.key?(:'to')
130
130
  if (value = attributes[:'to']).is_a?(Array)
131
131
  self.to = value
132
132
  end
133
133
  end
134
134
 
135
- if attributes.key?(:'created_at')
136
- self.created_at = attributes[:'created_at']
137
- end
138
-
139
135
  if attributes.key?(:'bcc')
140
136
  if (value = attributes[:'bcc']).is_a?(Array)
141
137
  self.bcc = value
@@ -148,16 +144,12 @@ module MailSlurpClient
148
144
  end
149
145
  end
150
146
 
151
- if attributes.key?(:'domain_id')
152
- self.domain_id = attributes[:'domain_id']
153
- end
154
-
155
- if attributes.key?(:'body_md5_hash')
156
- self.body_md5_hash = attributes[:'body_md5_hash']
147
+ if attributes.key?(:'created_at')
148
+ self.created_at = attributes[:'created_at']
157
149
  end
158
150
 
159
- if attributes.key?(:'body_excerpt')
160
- self.body_excerpt = attributes[:'body_excerpt']
151
+ if attributes.key?(:'domain_id')
152
+ self.domain_id = attributes[:'domain_id']
161
153
  end
162
154
 
163
155
  if attributes.key?(:'read')
@@ -167,6 +159,14 @@ module MailSlurpClient
167
159
  if attributes.key?(:'team_access')
168
160
  self.team_access = attributes[:'team_access']
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?
@@ -220,17 +220,17 @@ module MailSlurpClient
220
220
  id == o.id &&
221
221
  from == o.from &&
222
222
  subject == o.subject &&
223
- attachments == o.attachments &&
224
223
  inbox_id == o.inbox_id &&
224
+ attachments == o.attachments &&
225
225
  to == o.to &&
226
- created_at == o.created_at &&
227
226
  bcc == o.bcc &&
228
227
  cc == o.cc &&
228
+ created_at == o.created_at &&
229
229
  domain_id == o.domain_id &&
230
- body_md5_hash == o.body_md5_hash &&
231
- body_excerpt == o.body_excerpt &&
232
230
  read == o.read &&
233
- team_access == o.team_access
231
+ team_access == o.team_access &&
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, attachments, inbox_id, to, created_at, bcc, cc, domain_id, body_md5_hash, body_excerpt, read, team_access].hash
245
+ [id, from, subject, inbox_id, attachments, to, bcc, cc, created_at, domain_id, read, team_access, body_md5_hash, body_excerpt].hash
246
246
  end
247
247
 
248
248
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :last
25
25
 
26
- attr_accessor :total_elements
27
-
28
26
  attr_accessor :total_pages
29
27
 
28
+ attr_accessor :total_elements
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_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'total_elements' => :'totalElements',
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_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'total_elements' => :'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_elements')
118
- self.total_elements = attributes[:'total_elements']
119
- end
120
-
121
117
  if attributes.key?(:'total_pages')
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
121
+ if attributes.key?(:'total_elements')
122
+ self.total_elements = attributes[:'total_elements']
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_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ total_elements == o.total_elements &&
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_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, last, total_pages, total_elements, 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_elements
27
-
28
26
  attr_accessor :total_pages
29
27
 
28
+ attr_accessor :total_elements
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_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'total_elements' => :'totalElements',
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_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'total_elements' => :'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_elements')
118
- self.total_elements = attributes[:'total_elements']
119
- end
120
-
121
117
  if attributes.key?(:'total_pages')
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
121
+ if attributes.key?(:'total_elements')
122
+ self.total_elements = attributes[:'total_elements']
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_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ total_elements == o.total_elements &&
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_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, last, total_pages, total_elements, 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_elements
27
-
28
26
  attr_accessor :total_pages
29
27
 
28
+ attr_accessor :total_elements
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_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'total_elements' => :'totalElements',
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_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'total_elements' => :'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_elements')
118
- self.total_elements = attributes[:'total_elements']
119
- end
120
-
121
117
  if attributes.key?(:'total_pages')
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
121
+ if attributes.key?(:'total_elements')
122
+ self.total_elements = attributes[:'total_elements']
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_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ total_elements == o.total_elements &&
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_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, last, total_pages, total_elements, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash