mailslurp_client 17.4.0 → 17.5.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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/abstract_webhook_payload.rb +13 -13
  3. data/lib/mailslurp_client/models/attachment_projection.rb +15 -15
  4. data/lib/mailslurp_client/models/create_phone_number_options.rb +2 -2
  5. data/lib/mailslurp_client/models/page_ai_transform_mapping_projection.rb +10 -10
  6. data/lib/mailslurp_client/models/page_ai_transform_projection.rb +10 -10
  7. data/lib/mailslurp_client/models/page_ai_transform_result_projection.rb +10 -10
  8. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  9. data/lib/mailslurp_client/models/page_alias_thread_projection.rb +10 -10
  10. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  11. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  12. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  13. data/lib/mailslurp_client/models/page_complaint.rb +10 -10
  14. data/lib/mailslurp_client/models/page_connector.rb +10 -10
  15. data/lib/mailslurp_client/models/page_connector_events.rb +10 -10
  16. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  17. data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
  18. data/lib/mailslurp_client/models/page_device_preview_run_projection.rb +10 -10
  19. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  20. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  21. data/lib/mailslurp_client/models/page_email_thread_projection.rb +10 -10
  22. data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
  23. data/lib/mailslurp_client/models/page_entity_automation_items.rb +10 -10
  24. data/lib/mailslurp_client/models/page_entity_event_items.rb +10 -10
  25. data/lib/mailslurp_client/models/page_entity_favourite_items.rb +10 -10
  26. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  27. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  28. data/lib/mailslurp_client/models/page_guest_portal_users.rb +10 -10
  29. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  30. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +10 -10
  31. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  32. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +10 -10
  33. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +10 -10
  34. data/lib/mailslurp_client/models/page_inbox_tags.rb +10 -10
  35. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +10 -10
  36. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  37. data/lib/mailslurp_client/models/page_missed_sms_projection.rb +10 -10
  38. data/lib/mailslurp_client/models/page_opt_in_identity_projection.rb +10 -10
  39. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  40. data/lib/mailslurp_client/models/page_phone_message_thread_item_projection.rb +10 -10
  41. data/lib/mailslurp_client/models/page_phone_message_thread_projection.rb +10 -10
  42. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  43. data/lib/mailslurp_client/models/page_phone_number_release_projection.rb +10 -10
  44. data/lib/mailslurp_client/models/page_plus_address_projection.rb +10 -10
  45. data/lib/mailslurp_client/models/page_reputation_items.rb +10 -10
  46. data/lib/mailslurp_client/models/page_ruleset_dto.rb +10 -10
  47. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
  48. data/lib/mailslurp_client/models/page_sent_email_projection.rb +10 -10
  49. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +10 -10
  50. data/lib/mailslurp_client/models/page_sent_sms_projection.rb +10 -10
  51. data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
  52. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  53. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  54. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  55. data/lib/mailslurp_client/models/page_webhook_endpoint_projection.rb +10 -10
  56. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  57. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  58. data/lib/mailslurp_client/models/pageable_object.rb +13 -13
  59. data/lib/mailslurp_client/models/sort_object.rb +13 -13
  60. data/lib/mailslurp_client/version.rb +1 -1
  61. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32b5ec259b245443444827fc91b58f0a1de41e0b3b0114f1b186f2ba1aa0876b
4
- data.tar.gz: e756d11d6c04ab49ef01d826bd7ed1d1963d2ac7f07f04fa3effad30bef8b471
3
+ metadata.gz: e9cca68a03c98f464c456e6bab679226c2d87d1ed04efa21c023422f10e9d825
4
+ data.tar.gz: 148d1bfca643531243d255b568f26022fe92291330ffe9e73cb798c9bdd3829a
5
5
  SHA512:
6
- metadata.gz: 80cf772e272db9d81e17b300ebfc246297618267deb710b8fbce4cec1834253ad6ca6ac3bbc83da8a86ced675801b7ab16940a7d97d4b3c3b15a4669dacad6c9
7
- data.tar.gz: 14013ad9957d159f278ad1614e19b5e0753aa0d57414abd0412d1131e325e8f31d555ecd3d0b29c7d7f2886c4bb917b6325f68146bc3a6382eb9d59aeb896d59
6
+ metadata.gz: 43a1215d6bc320b20ebfbf1730520837c38a6143962d583340e642a779df399b453ff07071052d564b20fbbc41b5dce04ea92869d53e6fb7b38354bfb2122f27
7
+ data.tar.gz: 45a032773c98df0c3d15f6bf752282c0e2f8fbd9028c613b30a1757530ba82f74e848a07aeba214508220d0511b0092e3dbb6564f1b03f7a9dcfc194bb8f3c13
@@ -15,14 +15,14 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Abstract webhook payload. Use the correct payload type for your webhook event type in order to access all the specific properties for that event. See the `NEW_EMAIL`,`NEW_CONTACT`, `NEW_ATTACHMENT` and `EMAIL_OPENED` payloads for the properties available for those events.
17
17
  class AbstractWebhookPayload
18
- attr_accessor :webhook_name
19
-
20
18
  attr_accessor :event_name
21
19
 
22
20
  attr_accessor :webhook_id
23
21
 
24
22
  attr_accessor :message_id
25
23
 
24
+ attr_accessor :webhook_name
25
+
26
26
  class EnumAttributeValidator
27
27
  attr_reader :datatype
28
28
  attr_reader :allowable_values
@@ -48,20 +48,20 @@ module MailSlurpClient
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
- :'webhook_name' => :'webhookName',
52
51
  :'event_name' => :'eventName',
53
52
  :'webhook_id' => :'webhookId',
54
- :'message_id' => :'messageId'
53
+ :'message_id' => :'messageId',
54
+ :'webhook_name' => :'webhookName'
55
55
  }
56
56
  end
57
57
 
58
58
  # Attribute type mapping.
59
59
  def self.openapi_types
60
60
  {
61
- :'webhook_name' => :'String',
62
61
  :'event_name' => :'String',
63
62
  :'webhook_id' => :'String',
64
- :'message_id' => :'String'
63
+ :'message_id' => :'String',
64
+ :'webhook_name' => :'String'
65
65
  }
66
66
  end
67
67
 
@@ -86,10 +86,6 @@ module MailSlurpClient
86
86
  h[k.to_sym] = v
87
87
  }
88
88
 
89
- if attributes.key?(:'webhook_name')
90
- self.webhook_name = attributes[:'webhook_name']
91
- end
92
-
93
89
  if attributes.key?(:'event_name')
94
90
  self.event_name = attributes[:'event_name']
95
91
  end
@@ -101,6 +97,10 @@ module MailSlurpClient
101
97
  if attributes.key?(:'message_id')
102
98
  self.message_id = attributes[:'message_id']
103
99
  end
100
+
101
+ if attributes.key?(:'webhook_name')
102
+ self.webhook_name = attributes[:'webhook_name']
103
+ end
104
104
  end
105
105
 
106
106
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -148,10 +148,10 @@ module MailSlurpClient
148
148
  def ==(o)
149
149
  return true if self.equal?(o)
150
150
  self.class == o.class &&
151
- webhook_name == o.webhook_name &&
152
151
  event_name == o.event_name &&
153
152
  webhook_id == o.webhook_id &&
154
- message_id == o.message_id
153
+ message_id == o.message_id &&
154
+ webhook_name == o.webhook_name
155
155
  end
156
156
 
157
157
  # @see the `==` method
@@ -163,7 +163,7 @@ module MailSlurpClient
163
163
  # Calculates hash code according to all attributes.
164
164
  # @return [Integer] Hash code
165
165
  def hash
166
- [webhook_name, event_name, webhook_id, message_id].hash
166
+ [event_name, webhook_id, message_id, webhook_name].hash
167
167
  end
168
168
 
169
169
  # Builds the object from hash
@@ -23,9 +23,6 @@ module MailSlurpClient
23
23
  # Content length of attachment in bytes
24
24
  attr_accessor :content_length
25
25
 
26
- # Content type of attachment.
27
- attr_accessor :content_type
28
-
29
26
  attr_accessor :user_id
30
27
 
31
28
  # Inbox ID
@@ -41,19 +38,22 @@ module MailSlurpClient
41
38
  # Attachment ID
42
39
  attr_accessor :attachment_id
43
40
 
41
+ # Content type of attachment.
42
+ attr_accessor :content_type
43
+
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
47
  :'name' => :'name',
48
48
  :'id' => :'id',
49
49
  :'content_length' => :'contentLength',
50
- :'content_type' => :'contentType',
51
50
  :'user_id' => :'userId',
52
51
  :'inbox_id' => :'inboxId',
53
52
  :'updated_at' => :'updatedAt',
54
53
  :'created_at' => :'createdAt',
55
54
  :'content_id' => :'contentId',
56
- :'attachment_id' => :'attachmentId'
55
+ :'attachment_id' => :'attachmentId',
56
+ :'content_type' => :'contentType'
57
57
  }
58
58
  end
59
59
 
@@ -63,13 +63,13 @@ module MailSlurpClient
63
63
  :'name' => :'String',
64
64
  :'id' => :'String',
65
65
  :'content_length' => :'Integer',
66
- :'content_type' => :'String',
67
66
  :'user_id' => :'String',
68
67
  :'inbox_id' => :'String',
69
68
  :'updated_at' => :'DateTime',
70
69
  :'created_at' => :'DateTime',
71
70
  :'content_id' => :'String',
72
- :'attachment_id' => :'String'
71
+ :'attachment_id' => :'String',
72
+ :'content_type' => :'String'
73
73
  }
74
74
  end
75
75
 
@@ -78,8 +78,8 @@ module MailSlurpClient
78
78
  Set.new([
79
79
  :'name',
80
80
  :'content_length',
81
- :'content_type',
82
81
  :'content_id',
82
+ :'content_type'
83
83
  ])
84
84
  end
85
85
 
@@ -110,10 +110,6 @@ module MailSlurpClient
110
110
  self.content_length = attributes[:'content_length']
111
111
  end
112
112
 
113
- if attributes.key?(:'content_type')
114
- self.content_type = attributes[:'content_type']
115
- end
116
-
117
113
  if attributes.key?(:'user_id')
118
114
  self.user_id = attributes[:'user_id']
119
115
  end
@@ -137,6 +133,10 @@ module MailSlurpClient
137
133
  if attributes.key?(:'attachment_id')
138
134
  self.attachment_id = attributes[:'attachment_id']
139
135
  end
136
+
137
+ if attributes.key?(:'content_type')
138
+ self.content_type = attributes[:'content_type']
139
+ end
140
140
  end
141
141
 
142
142
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -185,13 +185,13 @@ module MailSlurpClient
185
185
  name == o.name &&
186
186
  id == o.id &&
187
187
  content_length == o.content_length &&
188
- content_type == o.content_type &&
189
188
  user_id == o.user_id &&
190
189
  inbox_id == o.inbox_id &&
191
190
  updated_at == o.updated_at &&
192
191
  created_at == o.created_at &&
193
192
  content_id == o.content_id &&
194
- attachment_id == o.attachment_id
193
+ attachment_id == o.attachment_id &&
194
+ content_type == o.content_type
195
195
  end
196
196
 
197
197
  # @see the `==` method
@@ -203,7 +203,7 @@ module MailSlurpClient
203
203
  # Calculates hash code according to all attributes.
204
204
  # @return [Integer] Hash code
205
205
  def hash
206
- [name, id, content_length, content_type, user_id, inbox_id, updated_at, created_at, content_id, attachment_id].hash
206
+ [name, id, content_length, user_id, inbox_id, updated_at, created_at, content_id, attachment_id, content_type].hash
207
207
  end
208
208
 
209
209
  # Builds the object from hash
@@ -166,7 +166,7 @@ module MailSlurpClient
166
166
  return false unless schedule_validator.valid?(@schedule)
167
167
  phone_number_variant_validator = EnumAttributeValidator.new('String', ["LOCAL", "MOBILE", "TOLL_FREE"])
168
168
  return false unless phone_number_variant_validator.valid?(@phone_number_variant)
169
- phone_provider_validator = EnumAttributeValidator.new('String', ["TWILIO", "TELNYX"])
169
+ phone_provider_validator = EnumAttributeValidator.new('String', ["T1", "T2"])
170
170
  return false unless phone_provider_validator.valid?(@phone_provider)
171
171
  phone_line_filter_validator = EnumAttributeValidator.new('String', ["ANY", "OTP_FRIENDLY", "NON_VOIP"])
172
172
  return false unless phone_line_filter_validator.valid?(@phone_line_filter)
@@ -206,7 +206,7 @@ module MailSlurpClient
206
206
  # Custom attribute writer method checking allowed values (enum).
207
207
  # @param [Object] phone_provider Object to be assigned
208
208
  def phone_provider=(phone_provider)
209
- validator = EnumAttributeValidator.new('String', ["TWILIO", "TELNYX"])
209
+ validator = EnumAttributeValidator.new('String', ["T1", "T2"])
210
210
  unless validator.valid?(phone_provider)
211
211
  fail ArgumentError, "invalid value for \"phone_provider\", must be one of #{validator.allowable_values}."
212
212
  end
@@ -29,12 +29,12 @@ module MailSlurpClient
29
29
 
30
30
  attr_accessor :number
31
31
 
32
- attr_accessor :first
33
-
34
32
  attr_accessor :number_of_elements
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -47,9 +47,9 @@ module MailSlurpClient
47
47
  :'last' => :'last',
48
48
  :'size' => :'size',
49
49
  :'number' => :'number',
50
- :'first' => :'first',
51
50
  :'number_of_elements' => :'numberOfElements',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -64,9 +64,9 @@ module MailSlurpClient
64
64
  :'last' => :'Boolean',
65
65
  :'size' => :'Integer',
66
66
  :'number' => :'Integer',
67
- :'first' => :'Boolean',
68
67
  :'number_of_elements' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -122,10 +122,6 @@ module MailSlurpClient
122
122
  self.number = attributes[:'number']
123
123
  end
124
124
 
125
- if attributes.key?(:'first')
126
- self.first = attributes[:'first']
127
- end
128
-
129
125
  if attributes.key?(:'number_of_elements')
130
126
  self.number_of_elements = attributes[:'number_of_elements']
131
127
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -174,9 +174,9 @@ module MailSlurpClient
174
174
  last == o.last &&
175
175
  size == o.size &&
176
176
  number == o.number &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, size, number, number_of_elements, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -29,12 +29,12 @@ module MailSlurpClient
29
29
 
30
30
  attr_accessor :number
31
31
 
32
- attr_accessor :first
33
-
34
32
  attr_accessor :number_of_elements
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -47,9 +47,9 @@ module MailSlurpClient
47
47
  :'last' => :'last',
48
48
  :'size' => :'size',
49
49
  :'number' => :'number',
50
- :'first' => :'first',
51
50
  :'number_of_elements' => :'numberOfElements',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -64,9 +64,9 @@ module MailSlurpClient
64
64
  :'last' => :'Boolean',
65
65
  :'size' => :'Integer',
66
66
  :'number' => :'Integer',
67
- :'first' => :'Boolean',
68
67
  :'number_of_elements' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -122,10 +122,6 @@ module MailSlurpClient
122
122
  self.number = attributes[:'number']
123
123
  end
124
124
 
125
- if attributes.key?(:'first')
126
- self.first = attributes[:'first']
127
- end
128
-
129
125
  if attributes.key?(:'number_of_elements')
130
126
  self.number_of_elements = attributes[:'number_of_elements']
131
127
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -174,9 +174,9 @@ module MailSlurpClient
174
174
  last == o.last &&
175
175
  size == o.size &&
176
176
  number == o.number &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, size, number, number_of_elements, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -31,12 +31,12 @@ module MailSlurpClient
31
31
 
32
32
  attr_accessor :number
33
33
 
34
- attr_accessor :first
35
-
36
34
  attr_accessor :number_of_elements
37
35
 
38
36
  attr_accessor :sort
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.
@@ -50,9 +50,9 @@ module MailSlurpClient
50
50
  :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
- :'first' => :'first',
54
53
  :'number_of_elements' => :'numberOfElements',
55
54
  :'sort' => :'sort',
55
+ :'first' => :'first',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -68,9 +68,9 @@ module MailSlurpClient
68
68
  :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
- :'first' => :'Boolean',
72
71
  :'number_of_elements' => :'Integer',
73
72
  :'sort' => :'SortObject',
73
+ :'first' => :'Boolean',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -132,10 +132,6 @@ module MailSlurpClient
132
132
  self.number = attributes[:'number']
133
133
  end
134
134
 
135
- if attributes.key?(:'first')
136
- self.first = attributes[:'first']
137
- end
138
-
139
135
  if attributes.key?(:'number_of_elements')
140
136
  self.number_of_elements = attributes[:'number_of_elements']
141
137
  end
@@ -144,6 +140,10 @@ module MailSlurpClient
144
140
  self.sort = attributes[:'sort']
145
141
  end
146
142
 
143
+ if attributes.key?(:'first')
144
+ self.first = attributes[:'first']
145
+ end
146
+
147
147
  if attributes.key?(:'empty')
148
148
  self.empty = attributes[:'empty']
149
149
  end
@@ -190,9 +190,9 @@ module MailSlurpClient
190
190
  last == o.last &&
191
191
  size == o.size &&
192
192
  number == o.number &&
193
- first == o.first &&
194
193
  number_of_elements == o.number_of_elements &&
195
194
  sort == o.sort &&
195
+ first == o.first &&
196
196
  empty == o.empty
197
197
  end
198
198
 
@@ -205,7 +205,7 @@ module MailSlurpClient
205
205
  # Calculates hash code according to all attributes.
206
206
  # @return [Integer] Hash code
207
207
  def hash
208
- [content, pageable, columns, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
208
+ [content, pageable, columns, total_pages, total_elements, last, size, number, number_of_elements, sort, first, empty].hash
209
209
  end
210
210
 
211
211
  # Builds the object from hash
@@ -29,12 +29,12 @@ module MailSlurpClient
29
29
 
30
30
  attr_accessor :number
31
31
 
32
- attr_accessor :first
33
-
34
32
  attr_accessor :number_of_elements
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -47,9 +47,9 @@ module MailSlurpClient
47
47
  :'last' => :'last',
48
48
  :'size' => :'size',
49
49
  :'number' => :'number',
50
- :'first' => :'first',
51
50
  :'number_of_elements' => :'numberOfElements',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -64,9 +64,9 @@ module MailSlurpClient
64
64
  :'last' => :'Boolean',
65
65
  :'size' => :'Integer',
66
66
  :'number' => :'Integer',
67
- :'first' => :'Boolean',
68
67
  :'number_of_elements' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -122,10 +122,6 @@ module MailSlurpClient
122
122
  self.number = attributes[:'number']
123
123
  end
124
124
 
125
- if attributes.key?(:'first')
126
- self.first = attributes[:'first']
127
- end
128
-
129
125
  if attributes.key?(:'number_of_elements')
130
126
  self.number_of_elements = attributes[:'number_of_elements']
131
127
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -174,9 +174,9 @@ module MailSlurpClient
174
174
  last == o.last &&
175
175
  size == o.size &&
176
176
  number == o.number &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, size, number, number_of_elements, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -29,12 +29,12 @@ module MailSlurpClient
29
29
 
30
30
  attr_accessor :number
31
31
 
32
- attr_accessor :first
33
-
34
32
  attr_accessor :number_of_elements
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -47,9 +47,9 @@ module MailSlurpClient
47
47
  :'last' => :'last',
48
48
  :'size' => :'size',
49
49
  :'number' => :'number',
50
- :'first' => :'first',
51
50
  :'number_of_elements' => :'numberOfElements',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -64,9 +64,9 @@ module MailSlurpClient
64
64
  :'last' => :'Boolean',
65
65
  :'size' => :'Integer',
66
66
  :'number' => :'Integer',
67
- :'first' => :'Boolean',
68
67
  :'number_of_elements' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -122,10 +122,6 @@ module MailSlurpClient
122
122
  self.number = attributes[:'number']
123
123
  end
124
124
 
125
- if attributes.key?(:'first')
126
- self.first = attributes[:'first']
127
- end
128
-
129
125
  if attributes.key?(:'number_of_elements')
130
126
  self.number_of_elements = attributes[:'number_of_elements']
131
127
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -174,9 +174,9 @@ module MailSlurpClient
174
174
  last == o.last &&
175
175
  size == o.size &&
176
176
  number == o.number &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, size, number, number_of_elements, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -29,12 +29,12 @@ module MailSlurpClient
29
29
 
30
30
  attr_accessor :number
31
31
 
32
- attr_accessor :first
33
-
34
32
  attr_accessor :number_of_elements
35
33
 
36
34
  attr_accessor :sort
37
35
 
36
+ attr_accessor :first
37
+
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -47,9 +47,9 @@ module MailSlurpClient
47
47
  :'last' => :'last',
48
48
  :'size' => :'size',
49
49
  :'number' => :'number',
50
- :'first' => :'first',
51
50
  :'number_of_elements' => :'numberOfElements',
52
51
  :'sort' => :'sort',
52
+ :'first' => :'first',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -64,9 +64,9 @@ module MailSlurpClient
64
64
  :'last' => :'Boolean',
65
65
  :'size' => :'Integer',
66
66
  :'number' => :'Integer',
67
- :'first' => :'Boolean',
68
67
  :'number_of_elements' => :'Integer',
69
68
  :'sort' => :'SortObject',
69
+ :'first' => :'Boolean',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -122,10 +122,6 @@ module MailSlurpClient
122
122
  self.number = attributes[:'number']
123
123
  end
124
124
 
125
- if attributes.key?(:'first')
126
- self.first = attributes[:'first']
127
- end
128
-
129
125
  if attributes.key?(:'number_of_elements')
130
126
  self.number_of_elements = attributes[:'number_of_elements']
131
127
  end
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  self.sort = attributes[:'sort']
135
131
  end
136
132
 
133
+ if attributes.key?(:'first')
134
+ self.first = attributes[:'first']
135
+ end
136
+
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -174,9 +174,9 @@ module MailSlurpClient
174
174
  last == o.last &&
175
175
  size == o.size &&
176
176
  number == o.number &&
177
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
179
178
  sort == o.sort &&
179
+ first == o.first &&
180
180
  empty == o.empty
181
181
  end
182
182
 
@@ -189,7 +189,7 @@ module MailSlurpClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, size, number, number_of_elements, sort, first, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash