mailslurp_client 15.17.1 → 15.17.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/attachment_projection.rb +24 -24
  3. data/lib/mailslurp_client/models/create_inbox_replier_options.rb +3 -2
  4. data/lib/mailslurp_client/models/email.rb +14 -1
  5. data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +6 -1
  6. data/lib/mailslurp_client/models/inbox_replier_dto.rb +7 -0
  7. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  8. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  9. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  10. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  11. data/lib/mailslurp_client/models/page_complaint.rb +19 -19
  12. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  13. data/lib/mailslurp_client/models/page_delivery_status.rb +19 -19
  14. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  15. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  16. data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
  17. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  18. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  19. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  20. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +19 -19
  21. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  22. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +19 -19
  23. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +19 -19
  24. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  25. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +19 -19
  26. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  27. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  28. data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
  29. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +19 -19
  30. data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
  31. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  32. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  33. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  34. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  35. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  36. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  37. data/lib/mailslurp_client/models/phone_number_projection.rb +18 -18
  38. data/lib/mailslurp_client/models/update_inbox_replier_options.rb +10 -0
  39. data/lib/mailslurp_client/version.rb +1 -1
  40. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02f0fdd0f3b854bd93178c761c0425ad685d1f4ceea10206b564be259e4478af
4
- data.tar.gz: b427d575711ab031b0f1f90268aa727e14dca8159e1e752e15b29f87a2726713
3
+ metadata.gz: 7508ce747e86c857f1e91faa2ac1e439031769c2df3ac2ae6282ec6ac104f2a4
4
+ data.tar.gz: 0475b19ad6408a48321104838ac34ba86c2b83186933deec7f3a6616b3663032
5
5
  SHA512:
6
- metadata.gz: 2c91696d6102b43fe366158210718c084707e572036ab083844b01d28a0ccc65f4af8fdafa1d8e8eb4f4a5fb3c64441d1adeaf696134a29c6dcdab984eb03120
7
- data.tar.gz: c9253590e01175e7178fe73dc1ebb1161373d5998a41ed3a884f51782c6407b06f08f41b5789222a741c63dcbf2d82cc05dc72a7b196fdbb3cc45be2f2cbbc77
6
+ metadata.gz: 29b9af656e437264648f0c5a6e2ccc5c5b4a9e2a7a458c22a09c1624f9180ec3e5f5a7270f42149d64f763c19ed0c2be1f3709d026158389f2f6bb7303a3770a
7
+ data.tar.gz: 7bd629603685dbf72519077741a6c461a421bb739668caa17b0f7d5dd224579953a0246674bb97ff115e797a830f981d6d30114a6126d1491f2619de46e46456
@@ -20,28 +20,28 @@ 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
-
26
23
  attr_accessor :user_id
27
24
 
25
+ # Attachment ID
26
+ attr_accessor :attachment_id
27
+
28
28
  attr_accessor :created_at
29
29
 
30
30
  attr_accessor :updated_at
31
31
 
32
- # Attachment ID
33
- attr_accessor :attachment_id
32
+ # Content type of attachment.
33
+ attr_accessor :content_type
34
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',
41
40
  :'user_id' => :'userId',
41
+ :'attachment_id' => :'attachmentId',
42
42
  :'created_at' => :'createdAt',
43
43
  :'updated_at' => :'updatedAt',
44
- :'attachment_id' => :'attachmentId'
44
+ :'content_type' => :'contentType'
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',
54
53
  :'user_id' => :'String',
54
+ :'attachment_id' => :'String',
55
55
  :'created_at' => :'DateTime',
56
56
  :'updated_at' => :'DateTime',
57
- :'attachment_id' => :'String'
57
+ :'content_type' => :'String'
58
58
  }
59
59
  end
60
60
 
@@ -63,7 +63,7 @@ module MailSlurpClient
63
63
  Set.new([
64
64
  :'name',
65
65
  :'content_length',
66
- :'content_type',
66
+ :'content_type'
67
67
  ])
68
68
  end
69
69
 
@@ -90,14 +90,14 @@ module MailSlurpClient
90
90
  self.content_length = attributes[:'content_length']
91
91
  end
92
92
 
93
- if attributes.key?(:'content_type')
94
- self.content_type = attributes[:'content_type']
95
- end
96
-
97
93
  if attributes.key?(:'user_id')
98
94
  self.user_id = attributes[:'user_id']
99
95
  end
100
96
 
97
+ if attributes.key?(:'attachment_id')
98
+ self.attachment_id = attributes[:'attachment_id']
99
+ end
100
+
101
101
  if attributes.key?(:'created_at')
102
102
  self.created_at = attributes[:'created_at']
103
103
  end
@@ -106,8 +106,8 @@ module MailSlurpClient
106
106
  self.updated_at = attributes[:'updated_at']
107
107
  end
108
108
 
109
- if attributes.key?(:'attachment_id')
110
- self.attachment_id = attributes[:'attachment_id']
109
+ if attributes.key?(:'content_type')
110
+ self.content_type = attributes[:'content_type']
111
111
  end
112
112
  end
113
113
 
@@ -119,6 +119,10 @@ module MailSlurpClient
119
119
  invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
120
120
  end
121
121
 
122
+ if @attachment_id.nil?
123
+ invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
124
+ end
125
+
122
126
  if @created_at.nil?
123
127
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
124
128
  end
@@ -127,10 +131,6 @@ module MailSlurpClient
127
131
  invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
128
132
  end
129
133
 
130
- if @attachment_id.nil?
131
- invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
132
- end
133
-
134
134
  invalid_properties
135
135
  end
136
136
 
@@ -138,9 +138,9 @@ module MailSlurpClient
138
138
  # @return true if the model is valid
139
139
  def valid?
140
140
  return false if @user_id.nil?
141
+ return false if @attachment_id.nil?
141
142
  return false if @created_at.nil?
142
143
  return false if @updated_at.nil?
143
- return false if @attachment_id.nil?
144
144
  true
145
145
  end
146
146
 
@@ -151,11 +151,11 @@ module MailSlurpClient
151
151
  self.class == o.class &&
152
152
  name == o.name &&
153
153
  content_length == o.content_length &&
154
- content_type == o.content_type &&
155
154
  user_id == o.user_id &&
155
+ attachment_id == o.attachment_id &&
156
156
  created_at == o.created_at &&
157
157
  updated_at == o.updated_at &&
158
- attachment_id == o.attachment_id
158
+ content_type == o.content_type
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
- [name, content_length, content_type, user_id, created_at, updated_at, attachment_id].hash
170
+ [name, content_length, user_id, attachment_id, created_at, updated_at, content_type].hash
171
171
  end
172
172
 
173
173
  # Builds the object from hash
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # Options for creating an inbox replier
16
+ # Options for creating an inbox replier. Repliers can be attached to inboxes and send automated responses when an inbound email matches given criteria.
17
17
  class CreateInboxReplierOptions
18
18
  # Inbox ID to attach replier to
19
19
  attr_accessor :inbox_id
@@ -24,7 +24,7 @@ module MailSlurpClient
24
24
  # Field to match against to trigger inbox replier for inbound email
25
25
  attr_accessor :field
26
26
 
27
- # String or wildcard style match for field specified when evaluating reply rules
27
+ # String or wildcard style match for field specified when evaluating reply rules. Use `*` to match anything.
28
28
  attr_accessor :match
29
29
 
30
30
  # Reply-to email address when sending replying
@@ -122,6 +122,7 @@ module MailSlurpClient
122
122
  :'subject',
123
123
  :'from',
124
124
  :'charset',
125
+ :'ignore_reply_to',
125
126
  :'is_html',
126
127
  :'body',
127
128
  :'template_id',
@@ -49,6 +49,9 @@ module MailSlurpClient
49
49
  # Collection of SMTP headers attached to email
50
50
  attr_accessor :headers
51
51
 
52
+ # Multi-value map of SMTP headers attached to email
53
+ attr_accessor :headers_map
54
+
52
55
  # List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.
53
56
  attr_accessor :attachments
54
57
 
@@ -101,6 +104,7 @@ module MailSlurpClient
101
104
  :'cc' => :'cc',
102
105
  :'bcc' => :'bcc',
103
106
  :'headers' => :'headers',
107
+ :'headers_map' => :'headersMap',
104
108
  :'attachments' => :'attachments',
105
109
  :'subject' => :'subject',
106
110
  :'body' => :'body',
@@ -132,6 +136,7 @@ module MailSlurpClient
132
136
  :'cc' => :'Array<String>',
133
137
  :'bcc' => :'Array<String>',
134
138
  :'headers' => :'Hash<String, String>',
139
+ :'headers_map' => :'Hash<String, Array<String>>',
135
140
  :'attachments' => :'Array<String>',
136
141
  :'subject' => :'String',
137
142
  :'body' => :'String',
@@ -159,6 +164,7 @@ module MailSlurpClient
159
164
  :'cc',
160
165
  :'bcc',
161
166
  :'headers',
167
+ :'headers_map',
162
168
  :'attachments',
163
169
  :'subject',
164
170
  :'body',
@@ -241,6 +247,12 @@ module MailSlurpClient
241
247
  end
242
248
  end
243
249
 
250
+ if attributes.key?(:'headers_map')
251
+ if (value = attributes[:'headers_map']).is_a?(Hash)
252
+ self.headers_map = value
253
+ end
254
+ end
255
+
244
256
  if attributes.key?(:'attachments')
245
257
  if (value = attributes[:'attachments']).is_a?(Array)
246
258
  self.attachments = value
@@ -366,6 +378,7 @@ module MailSlurpClient
366
378
  cc == o.cc &&
367
379
  bcc == o.bcc &&
368
380
  headers == o.headers &&
381
+ headers_map == o.headers_map &&
369
382
  attachments == o.attachments &&
370
383
  subject == o.subject &&
371
384
  body == o.body &&
@@ -390,7 +403,7 @@ module MailSlurpClient
390
403
  # Calculates hash code according to all attributes.
391
404
  # @return [Integer] Hash code
392
405
  def hash
393
- [id, user_id, inbox_id, domain_id, to, from, sender, recipients, reply_to, cc, bcc, headers, attachments, subject, body, body_excerpt, body_md5_hash, is_html, charset, analysis, created_at, updated_at, read, team_access, html].hash
406
+ [id, user_id, inbox_id, domain_id, to, from, sender, recipients, reply_to, cc, bcc, headers, headers_map, attachments, subject, body, body_excerpt, body_md5_hash, is_html, charset, analysis, created_at, updated_at, read, team_access, html].hash
394
407
  end
395
408
 
396
409
  # Builds the object from hash
@@ -13,18 +13,22 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # Inbox forwarder
16
+ # Inbox forwarder. Describes how an inbox will forward matching emails to designated recipients.
17
17
  class InboxForwarderDto
18
18
  attr_accessor :id
19
19
 
20
20
  attr_accessor :inbox_id
21
21
 
22
+ # Name of inbox forwarder
22
23
  attr_accessor :name
23
24
 
25
+ # Which field to match against
24
26
  attr_accessor :field
25
27
 
28
+ # Wild-card type pattern to apply to field
26
29
  attr_accessor :match
27
30
 
31
+ # Who to send forwarded email to
28
32
  attr_accessor :forward_to_recipients
29
33
 
30
34
  attr_accessor :created_at
@@ -80,6 +84,7 @@ module MailSlurpClient
80
84
  # List of attributes with nullable: true
81
85
  def self.openapi_nullable
82
86
  Set.new([
87
+ :'name',
83
88
  ])
84
89
  end
85
90
 
@@ -108,6 +108,13 @@ module MailSlurpClient
108
108
  # List of attributes with nullable: true
109
109
  def self.openapi_nullable
110
110
  Set.new([
111
+ :'name',
112
+ :'reply_to',
113
+ :'subject',
114
+ :'from',
115
+ :'charset',
116
+ :'template_id',
117
+ :'template_variables',
111
118
  ])
112
119
  end
113
120
 
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
25
-
26
24
  attr_accessor :total_elements
27
25
 
28
26
  attr_accessor :total_pages
29
27
 
28
+ attr_accessor :last
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :first
37
-
38
36
  attr_accessor :number_of_elements
39
37
 
38
+ attr_accessor :first
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
- :'last' => :'last',
49
48
  :'total_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'first' => :'first',
55
54
  :'number_of_elements' => :'numberOfElements',
55
+ :'first' => :'first',
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
- :'last' => :'Boolean',
67
66
  :'total_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'first' => :'Boolean',
73
72
  :'number_of_elements' => :'Integer',
73
+ :'first' => :'Boolean',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,10 +110,6 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
@@ -122,6 +118,10 @@ module MailSlurpClient
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'first')
138
- self.first = attributes[:'first']
139
- end
140
-
141
137
  if attributes.key?(:'number_of_elements')
142
138
  self.number_of_elements = attributes[:'number_of_elements']
143
139
  end
144
140
 
141
+ if attributes.key?(:'first')
142
+ self.first = attributes[:'first']
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
- last == o.last &&
172
171
  total_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
178
+ first == o.first &&
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, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
25
-
26
24
  attr_accessor :total_elements
27
25
 
28
26
  attr_accessor :total_pages
29
27
 
28
+ attr_accessor :last
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :first
37
-
38
36
  attr_accessor :number_of_elements
39
37
 
38
+ attr_accessor :first
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
- :'last' => :'last',
49
48
  :'total_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'first' => :'first',
55
54
  :'number_of_elements' => :'numberOfElements',
55
+ :'first' => :'first',
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
- :'last' => :'Boolean',
67
66
  :'total_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'first' => :'Boolean',
73
72
  :'number_of_elements' => :'Integer',
73
+ :'first' => :'Boolean',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,10 +110,6 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
@@ -122,6 +118,10 @@ module MailSlurpClient
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'first')
138
- self.first = attributes[:'first']
139
- end
140
-
141
137
  if attributes.key?(:'number_of_elements')
142
138
  self.number_of_elements = attributes[:'number_of_elements']
143
139
  end
144
140
 
141
+ if attributes.key?(:'first')
142
+ self.first = attributes[:'first']
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
- last == o.last &&
172
171
  total_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
178
+ first == o.first &&
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, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
25
-
26
24
  attr_accessor :total_elements
27
25
 
28
26
  attr_accessor :total_pages
29
27
 
28
+ attr_accessor :last
29
+
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :first
37
-
38
36
  attr_accessor :number_of_elements
39
37
 
38
+ attr_accessor :first
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
- :'last' => :'last',
49
48
  :'total_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'first' => :'first',
55
54
  :'number_of_elements' => :'numberOfElements',
55
+ :'first' => :'first',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<BounceProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
- :'last' => :'Boolean',
67
66
  :'total_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'first' => :'Boolean',
73
72
  :'number_of_elements' => :'Integer',
73
+ :'first' => :'Boolean',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,10 +110,6 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
- if attributes.key?(:'last')
114
- self.last = attributes[:'last']
115
- end
116
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
@@ -122,6 +118,10 @@ module MailSlurpClient
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
121
+ if attributes.key?(:'last')
122
+ self.last = attributes[:'last']
123
+ end
124
+
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'first')
138
- self.first = attributes[:'first']
139
- end
140
-
141
137
  if attributes.key?(:'number_of_elements')
142
138
  self.number_of_elements = attributes[:'number_of_elements']
143
139
  end
144
140
 
141
+ if attributes.key?(:'first')
142
+ self.first = attributes[:'first']
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
- last == o.last &&
172
171
  total_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
178
+ first == o.first &&
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, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash