mailslurp_client 16.2.5 → 17.0.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 (88) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/inbox_controller_api.rb +15 -15
  3. data/lib/mailslurp_client/api/{inbox_ruleset_controller_api.rb → ruleset_controller_api.rb} +184 -175
  4. data/lib/mailslurp_client/api/tools_controller_api.rb +62 -0
  5. data/lib/mailslurp_client/api/webhook_controller_api.rb +82 -0
  6. data/lib/mailslurp_client/models/ai_transform_dto.rb +19 -5
  7. data/lib/mailslurp_client/models/alias_projection.rb +29 -29
  8. data/lib/mailslurp_client/models/alias_thread_projection.rb +26 -26
  9. data/lib/mailslurp_client/models/attachment_projection.rb +21 -21
  10. data/lib/mailslurp_client/models/connector_projection.rb +15 -15
  11. data/lib/mailslurp_client/models/{create_inbox_ruleset_options.rb → create_ruleset_options.rb} +5 -5
  12. data/lib/mailslurp_client/models/email.rb +13 -13
  13. data/lib/mailslurp_client/models/email_thread_projection.rb +23 -23
  14. data/lib/mailslurp_client/models/entity_automation_item_projection.rb +10 -10
  15. data/lib/mailslurp_client/models/guest_portal_user_projection.rb +24 -24
  16. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +11 -11
  17. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +11 -11
  18. data/lib/mailslurp_client/models/lookup_mx_records_options.rb +211 -0
  19. data/lib/mailslurp_client/models/lookup_mx_records_results.rb +245 -0
  20. data/lib/mailslurp_client/models/opt_in_identity_projection.rb +21 -21
  21. data/lib/mailslurp_client/models/page_ai_transform_mapping_projection.rb +10 -10
  22. data/lib/mailslurp_client/models/page_ai_transform_projection.rb +10 -10
  23. data/lib/mailslurp_client/models/page_ai_transform_result_projection.rb +10 -10
  24. data/lib/mailslurp_client/models/page_alias.rb +10 -10
  25. data/lib/mailslurp_client/models/page_alias_thread_projection.rb +10 -10
  26. data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
  27. data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
  28. data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
  29. data/lib/mailslurp_client/models/page_complaint.rb +10 -10
  30. data/lib/mailslurp_client/models/page_connector.rb +10 -10
  31. data/lib/mailslurp_client/models/page_connector_events.rb +10 -10
  32. data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
  33. data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
  34. data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
  35. data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
  36. data/lib/mailslurp_client/models/page_email_thread_projection.rb +10 -10
  37. data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
  38. data/lib/mailslurp_client/models/page_entity_automation_items.rb +10 -10
  39. data/lib/mailslurp_client/models/page_entity_event_items.rb +10 -10
  40. data/lib/mailslurp_client/models/page_entity_favourite_items.rb +10 -10
  41. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
  42. data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
  43. data/lib/mailslurp_client/models/page_guest_portal_users.rb +10 -10
  44. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
  45. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +10 -10
  46. data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
  47. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +10 -10
  48. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +10 -10
  49. data/lib/mailslurp_client/models/page_inbox_tags.rb +10 -10
  50. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +10 -10
  51. data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
  52. data/lib/mailslurp_client/models/page_opt_in_identity_projection.rb +10 -10
  53. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
  54. data/lib/mailslurp_client/models/page_phone_message_thread_item_projection.rb +10 -10
  55. data/lib/mailslurp_client/models/page_phone_message_thread_projection.rb +10 -10
  56. data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
  57. data/lib/mailslurp_client/models/page_plus_address_projection.rb +10 -10
  58. data/lib/mailslurp_client/models/page_reputation_items.rb +10 -10
  59. data/lib/mailslurp_client/models/{page_inbox_ruleset_dto.rb → page_ruleset_dto.rb} +15 -15
  60. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
  61. data/lib/mailslurp_client/models/page_sent_email_projection.rb +10 -10
  62. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +10 -10
  63. data/lib/mailslurp_client/models/page_sent_sms_projection.rb +10 -10
  64. data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
  65. data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
  66. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
  67. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
  68. data/lib/mailslurp_client/models/page_webhook_endpoint_projection.rb +10 -10
  69. data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
  70. data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
  71. data/lib/mailslurp_client/models/pageable_object.rb +13 -13
  72. data/lib/mailslurp_client/models/phone_message_thread_projection.rb +27 -27
  73. data/lib/mailslurp_client/models/plus_address_projection.rb +24 -24
  74. data/lib/mailslurp_client/models/{inbox_ruleset_dto.rb → ruleset_dto.rb} +17 -7
  75. data/lib/mailslurp_client/models/{inbox_ruleset_test_options.rb → ruleset_test_options.rb} +3 -3
  76. data/lib/mailslurp_client/models/sent_email_projection.rb +45 -45
  77. data/lib/mailslurp_client/models/template_projection.rb +15 -15
  78. data/lib/mailslurp_client/models/test_inbox_ruleset_sending_options.rb +13 -7
  79. data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +11 -11
  80. data/lib/mailslurp_client/models/{test_inbox_ruleset_receiving_options.rb → test_ruleset_receiving_options.rb} +16 -10
  81. data/lib/mailslurp_client/models/{test_inbox_ruleset_receiving_result.rb → test_ruleset_receiving_result.rb} +3 -3
  82. data/lib/mailslurp_client/models/{test_inbox_ruleset_sending_result.rb → test_ruleset_sending_result.rb} +3 -3
  83. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  84. data/lib/mailslurp_client/models/webhook_projection.rb +39 -30
  85. data/lib/mailslurp_client/models/webhook_result_dto.rb +15 -5
  86. data/lib/mailslurp_client/version.rb +1 -1
  87. data/lib/mailslurp_client.rb +10 -8
  88. metadata +12 -10
@@ -16,22 +16,22 @@ module MailSlurpClient
16
16
  class OptInIdentityProjection
17
17
  attr_accessor :id
18
18
 
19
- attr_accessor :email_address
19
+ attr_accessor :verified
20
20
 
21
- attr_accessor :updated_at
21
+ attr_accessor :email_address
22
22
 
23
23
  attr_accessor :created_at
24
24
 
25
- attr_accessor :verified
25
+ attr_accessor :updated_at
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
28
28
  def self.attribute_map
29
29
  {
30
30
  :'id' => :'id',
31
+ :'verified' => :'verified',
31
32
  :'email_address' => :'emailAddress',
32
- :'updated_at' => :'updatedAt',
33
33
  :'created_at' => :'createdAt',
34
- :'verified' => :'verified'
34
+ :'updated_at' => :'updatedAt'
35
35
  }
36
36
  end
37
37
 
@@ -39,10 +39,10 @@ module MailSlurpClient
39
39
  def self.openapi_types
40
40
  {
41
41
  :'id' => :'String',
42
+ :'verified' => :'Boolean',
42
43
  :'email_address' => :'String',
43
- :'updated_at' => :'DateTime',
44
44
  :'created_at' => :'DateTime',
45
- :'verified' => :'Boolean'
45
+ :'updated_at' => :'DateTime'
46
46
  }
47
47
  end
48
48
 
@@ -71,20 +71,20 @@ module MailSlurpClient
71
71
  self.id = attributes[:'id']
72
72
  end
73
73
 
74
- if attributes.key?(:'email_address')
75
- self.email_address = attributes[:'email_address']
74
+ if attributes.key?(:'verified')
75
+ self.verified = attributes[:'verified']
76
76
  end
77
77
 
78
- if attributes.key?(:'updated_at')
79
- self.updated_at = attributes[:'updated_at']
78
+ if attributes.key?(:'email_address')
79
+ self.email_address = attributes[:'email_address']
80
80
  end
81
81
 
82
82
  if attributes.key?(:'created_at')
83
83
  self.created_at = attributes[:'created_at']
84
84
  end
85
85
 
86
- if attributes.key?(:'verified')
87
- self.verified = attributes[:'verified']
86
+ if attributes.key?(:'updated_at')
87
+ self.updated_at = attributes[:'updated_at']
88
88
  end
89
89
  end
90
90
 
@@ -100,14 +100,14 @@ module MailSlurpClient
100
100
  invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
101
101
  end
102
102
 
103
- if @updated_at.nil?
104
- invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
105
- end
106
-
107
103
  if @created_at.nil?
108
104
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
109
105
  end
110
106
 
107
+ if @updated_at.nil?
108
+ invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
109
+ end
110
+
111
111
  invalid_properties
112
112
  end
113
113
 
@@ -116,8 +116,8 @@ module MailSlurpClient
116
116
  def valid?
117
117
  return false if @id.nil?
118
118
  return false if @email_address.nil?
119
- return false if @updated_at.nil?
120
119
  return false if @created_at.nil?
120
+ return false if @updated_at.nil?
121
121
  true
122
122
  end
123
123
 
@@ -127,10 +127,10 @@ module MailSlurpClient
127
127
  return true if self.equal?(o)
128
128
  self.class == o.class &&
129
129
  id == o.id &&
130
+ verified == o.verified &&
130
131
  email_address == o.email_address &&
131
- updated_at == o.updated_at &&
132
132
  created_at == o.created_at &&
133
- verified == o.verified
133
+ updated_at == o.updated_at
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, email_address, updated_at, created_at, verified].hash
145
+ [id, verified, email_address, created_at, updated_at].hash
146
146
  end
147
147
 
148
148
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
+ attr_accessor :sort
31
+
30
32
  attr_accessor :first
31
33
 
32
34
  attr_accessor :size
33
35
 
34
36
  attr_accessor :number
35
37
 
36
- attr_accessor :sort
37
-
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_pages' => :'totalPages',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
+ :'sort' => :'sort',
49
50
  :'first' => :'first',
50
51
  :'size' => :'size',
51
52
  :'number' => :'number',
52
- :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_pages' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
+ :'sort' => :'SortObject',
66
67
  :'first' => :'Boolean',
67
68
  :'size' => :'Integer',
68
69
  :'number' => :'Integer',
69
- :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
+ if attributes.key?(:'sort')
122
+ self.sort = attributes[:'sort']
123
+ end
124
+
121
125
  if attributes.key?(:'first')
122
126
  self.first = attributes[:'first']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.number = attributes[:'number']
131
135
  end
132
136
 
133
- if attributes.key?(:'sort')
134
- self.sort = attributes[:'sort']
135
- end
136
-
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_pages == o.total_pages &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
+ sort == o.sort &&
176
177
  first == o.first &&
177
178
  size == o.size &&
178
179
  number == o.number &&
179
- sort == o.sort &&
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_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
+ attr_accessor :sort
31
+
30
32
  attr_accessor :first
31
33
 
32
34
  attr_accessor :size
33
35
 
34
36
  attr_accessor :number
35
37
 
36
- attr_accessor :sort
37
-
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_pages' => :'totalPages',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
+ :'sort' => :'sort',
49
50
  :'first' => :'first',
50
51
  :'size' => :'size',
51
52
  :'number' => :'number',
52
- :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_pages' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
+ :'sort' => :'SortObject',
66
67
  :'first' => :'Boolean',
67
68
  :'size' => :'Integer',
68
69
  :'number' => :'Integer',
69
- :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
+ if attributes.key?(:'sort')
122
+ self.sort = attributes[:'sort']
123
+ end
124
+
121
125
  if attributes.key?(:'first')
122
126
  self.first = attributes[:'first']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.number = attributes[:'number']
131
135
  end
132
136
 
133
- if attributes.key?(:'sort')
134
- self.sort = attributes[:'sort']
135
- end
136
-
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_pages == o.total_pages &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
+ sort == o.sort &&
176
177
  first == o.first &&
177
178
  size == o.size &&
178
179
  number == o.number &&
179
- sort == o.sort &&
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_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
+ attr_accessor :sort
31
+
30
32
  attr_accessor :first
31
33
 
32
34
  attr_accessor :size
33
35
 
34
36
  attr_accessor :number
35
37
 
36
- attr_accessor :sort
37
-
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_pages' => :'totalPages',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
+ :'sort' => :'sort',
49
50
  :'first' => :'first',
50
51
  :'size' => :'size',
51
52
  :'number' => :'number',
52
- :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_pages' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
+ :'sort' => :'SortObject',
66
67
  :'first' => :'Boolean',
67
68
  :'size' => :'Integer',
68
69
  :'number' => :'Integer',
69
- :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
+ if attributes.key?(:'sort')
122
+ self.sort = attributes[:'sort']
123
+ end
124
+
121
125
  if attributes.key?(:'first')
122
126
  self.first = attributes[:'first']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.number = attributes[:'number']
131
135
  end
132
136
 
133
- if attributes.key?(:'sort')
134
- self.sort = attributes[:'sort']
135
- end
136
-
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_pages == o.total_pages &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
+ sort == o.sort &&
176
177
  first == o.first &&
177
178
  size == o.size &&
178
179
  number == o.number &&
179
- sort == o.sort &&
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_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
+ attr_accessor :sort
31
+
30
32
  attr_accessor :first
31
33
 
32
34
  attr_accessor :size
33
35
 
34
36
  attr_accessor :number
35
37
 
36
- attr_accessor :sort
37
-
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_pages' => :'totalPages',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
+ :'sort' => :'sort',
49
50
  :'first' => :'first',
50
51
  :'size' => :'size',
51
52
  :'number' => :'number',
52
- :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_pages' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
+ :'sort' => :'SortObject',
66
67
  :'first' => :'Boolean',
67
68
  :'size' => :'Integer',
68
69
  :'number' => :'Integer',
69
- :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
+ if attributes.key?(:'sort')
122
+ self.sort = attributes[:'sort']
123
+ end
124
+
121
125
  if attributes.key?(:'first')
122
126
  self.first = attributes[:'first']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.number = attributes[:'number']
131
135
  end
132
136
 
133
- if attributes.key?(:'sort')
134
- self.sort = attributes[:'sort']
135
- end
136
-
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_pages == o.total_pages &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
+ sort == o.sort &&
176
177
  first == o.first &&
177
178
  size == o.size &&
178
179
  number == o.number &&
179
- sort == o.sort &&
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_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
+ attr_accessor :sort
31
+
30
32
  attr_accessor :first
31
33
 
32
34
  attr_accessor :size
33
35
 
34
36
  attr_accessor :number
35
37
 
36
- attr_accessor :sort
37
-
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_pages' => :'totalPages',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
+ :'sort' => :'sort',
49
50
  :'first' => :'first',
50
51
  :'size' => :'size',
51
52
  :'number' => :'number',
52
- :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_pages' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
+ :'sort' => :'SortObject',
66
67
  :'first' => :'Boolean',
67
68
  :'size' => :'Integer',
68
69
  :'number' => :'Integer',
69
- :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
+ if attributes.key?(:'sort')
122
+ self.sort = attributes[:'sort']
123
+ end
124
+
121
125
  if attributes.key?(:'first')
122
126
  self.first = attributes[:'first']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.number = attributes[:'number']
131
135
  end
132
136
 
133
- if attributes.key?(:'sort')
134
- self.sort = attributes[:'sort']
135
- end
136
-
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_pages == o.total_pages &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
+ sort == o.sort &&
176
177
  first == o.first &&
177
178
  size == o.size &&
178
179
  number == o.number &&
179
- sort == o.sort &&
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_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
+ attr_accessor :sort
31
+
30
32
  attr_accessor :first
31
33
 
32
34
  attr_accessor :size
33
35
 
34
36
  attr_accessor :number
35
37
 
36
- attr_accessor :sort
37
-
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_pages' => :'totalPages',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
+ :'sort' => :'sort',
49
50
  :'first' => :'first',
50
51
  :'size' => :'size',
51
52
  :'number' => :'number',
52
- :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_pages' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
+ :'sort' => :'SortObject',
66
67
  :'first' => :'Boolean',
67
68
  :'size' => :'Integer',
68
69
  :'number' => :'Integer',
69
- :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
+ if attributes.key?(:'sort')
122
+ self.sort = attributes[:'sort']
123
+ end
124
+
121
125
  if attributes.key?(:'first')
122
126
  self.first = attributes[:'first']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.number = attributes[:'number']
131
135
  end
132
136
 
133
- if attributes.key?(:'sort')
134
- self.sort = attributes[:'sort']
135
- end
136
-
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_pages == o.total_pages &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
+ sort == o.sort &&
176
177
  first == o.first &&
177
178
  size == o.size &&
178
179
  number == o.number &&
179
- sort == o.sort &&
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_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -27,14 +27,14 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :number_of_elements
29
29
 
30
+ attr_accessor :sort
31
+
30
32
  attr_accessor :first
31
33
 
32
34
  attr_accessor :size
33
35
 
34
36
  attr_accessor :number
35
37
 
36
- attr_accessor :sort
37
-
38
38
  attr_accessor :empty
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,10 +46,10 @@ module MailSlurpClient
46
46
  :'total_pages' => :'totalPages',
47
47
  :'last' => :'last',
48
48
  :'number_of_elements' => :'numberOfElements',
49
+ :'sort' => :'sort',
49
50
  :'first' => :'first',
50
51
  :'size' => :'size',
51
52
  :'number' => :'number',
52
- :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -63,10 +63,10 @@ module MailSlurpClient
63
63
  :'total_pages' => :'Integer',
64
64
  :'last' => :'Boolean',
65
65
  :'number_of_elements' => :'Integer',
66
+ :'sort' => :'SortObject',
66
67
  :'first' => :'Boolean',
67
68
  :'size' => :'Integer',
68
69
  :'number' => :'Integer',
69
- :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -118,6 +118,10 @@ module MailSlurpClient
118
118
  self.number_of_elements = attributes[:'number_of_elements']
119
119
  end
120
120
 
121
+ if attributes.key?(:'sort')
122
+ self.sort = attributes[:'sort']
123
+ end
124
+
121
125
  if attributes.key?(:'first')
122
126
  self.first = attributes[:'first']
123
127
  end
@@ -130,10 +134,6 @@ module MailSlurpClient
130
134
  self.number = attributes[:'number']
131
135
  end
132
136
 
133
- if attributes.key?(:'sort')
134
- self.sort = attributes[:'sort']
135
- end
136
-
137
137
  if attributes.key?(:'empty')
138
138
  self.empty = attributes[:'empty']
139
139
  end
@@ -173,10 +173,10 @@ module MailSlurpClient
173
173
  total_pages == o.total_pages &&
174
174
  last == o.last &&
175
175
  number_of_elements == o.number_of_elements &&
176
+ sort == o.sort &&
176
177
  first == o.first &&
177
178
  size == o.size &&
178
179
  number == o.number &&
179
- sort == o.sort &&
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_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
192
+ [content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash