mailslurp_client 17.2.0 → 17.4.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 (199) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/attachment_controller_api.rb +5 -5
  3. data/lib/mailslurp_client/api/campaign_probe_controller_api.rb +138 -0
  4. data/lib/mailslurp_client/api/domain_monitor_controller_api.rb +264 -0
  5. data/lib/mailslurp_client/api/email_audit_controller_api.rb +334 -0
  6. data/lib/mailslurp_client/api/email_controller_api.rb +126 -2
  7. data/lib/mailslurp_client/api/email_verification_controller_api.rb +64 -0
  8. data/lib/mailslurp_client/api/inbox_controller_api.rb +233 -4
  9. data/lib/mailslurp_client/api/phone_controller_api.rb +2091 -526
  10. data/lib/mailslurp_client/api/sms_controller_api.rb +125 -0
  11. data/lib/mailslurp_client/api/tools_controller_api.rb +806 -0
  12. data/lib/mailslurp_client/models/abstract_webhook_payload.rb +18 -18
  13. data/lib/mailslurp_client/models/acquire_phone_pool_lease_options.rb +233 -0
  14. data/lib/mailslurp_client/models/add_phone_pool_numbers_options.rb +213 -0
  15. data/lib/mailslurp_client/models/ai_transform_mapping_projection.rb +27 -27
  16. data/lib/mailslurp_client/models/ai_transform_projection.rb +28 -28
  17. data/lib/mailslurp_client/models/alias_projection.rb +36 -36
  18. data/lib/mailslurp_client/models/alias_thread_projection.rb +42 -42
  19. data/lib/mailslurp_client/models/analyze_dmarc_report_options.rb +248 -0
  20. data/lib/mailslurp_client/models/analyze_dmarc_report_results.rb +386 -0
  21. data/lib/mailslurp_client/models/analyze_email_headers_options.rb +240 -0
  22. data/lib/mailslurp_client/models/analyze_email_headers_results.rb +275 -0
  23. data/lib/mailslurp_client/models/attachment_projection.rb +66 -66
  24. data/lib/mailslurp_client/models/available_phone_number_dto.rb +325 -0
  25. data/lib/mailslurp_client/models/available_phone_numbers_result.rb +236 -0
  26. data/lib/mailslurp_client/models/bounce_projection.rb +28 -28
  27. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +24 -24
  28. data/lib/mailslurp_client/models/campaign_probe_run_comparison_dto.rb +397 -0
  29. data/lib/mailslurp_client/models/check_campaign_probe_options.rb +371 -0
  30. data/lib/mailslurp_client/models/check_campaign_probe_results.rb +482 -0
  31. data/lib/mailslurp_client/models/check_dns_propagation_options.rb +297 -0
  32. data/lib/mailslurp_client/models/check_dns_propagation_results.rb +361 -0
  33. data/lib/mailslurp_client/models/check_domain_monitor_options.rb +243 -0
  34. data/lib/mailslurp_client/models/check_domain_monitor_results.rb +398 -0
  35. data/lib/mailslurp_client/models/check_email_audit_options.rb +405 -0
  36. data/lib/mailslurp_client/models/check_email_auth_stack_options.rb +248 -0
  37. data/lib/mailslurp_client/models/check_email_auth_stack_results.rb +462 -0
  38. data/lib/mailslurp_client/models/check_email_blacklist_options.rb +241 -0
  39. data/lib/mailslurp_client/models/check_email_blacklist_results.rb +366 -0
  40. data/lib/mailslurp_client/models/connector_event_projection.rb +65 -65
  41. data/lib/mailslurp_client/models/connector_projection.rb +36 -36
  42. data/lib/mailslurp_client/models/contact_projection.rb +29 -29
  43. data/lib/mailslurp_client/models/create_email_audit_options.rb +394 -0
  44. data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +58 -29
  45. data/lib/mailslurp_client/models/create_inbox_replier_options.rb +39 -33
  46. data/lib/mailslurp_client/models/create_phone_number_options.rb +58 -4
  47. data/lib/mailslurp_client/models/create_phone_pool_options.rb +220 -0
  48. data/lib/mailslurp_client/models/create_phone_provisioning_job_item_options.rb +256 -0
  49. data/lib/mailslurp_client/models/create_phone_provisioning_job_options.rb +284 -0
  50. data/lib/mailslurp_client/models/dmarc_report_metadata.rb +308 -0
  51. data/lib/mailslurp_client/models/dmarc_report_source_summary.rb +274 -0
  52. data/lib/mailslurp_client/models/dns_propagation_resolver_result.rb +252 -0
  53. data/lib/mailslurp_client/models/domain_monitor_run_comparison_dto.rb +369 -0
  54. data/lib/mailslurp_client/models/domain_monitor_summary_dto.rb +248 -0
  55. data/lib/mailslurp_client/models/email_audit_analysis_result.rb +620 -0
  56. data/lib/mailslurp_client/models/email_audit_comparison_dto.rb +411 -0
  57. data/lib/mailslurp_client/models/email_audit_dto.rb +308 -0
  58. data/lib/mailslurp_client/models/email_audit_spelling_issue.rb +276 -0
  59. data/lib/mailslurp_client/models/email_audit_url_issue.rb +236 -0
  60. data/lib/mailslurp_client/models/email_blacklist_ip_result.rb +242 -0
  61. data/lib/mailslurp_client/models/email_blacklist_listing_result.rb +258 -0
  62. data/lib/mailslurp_client/models/email_header_analysis_summary.rb +242 -0
  63. data/lib/mailslurp_client/models/email_header_received_hop.rb +242 -0
  64. data/lib/mailslurp_client/models/email_intelligence_list_result.rb +285 -0
  65. data/lib/mailslurp_client/models/email_intelligence_options.rb +308 -0
  66. data/lib/mailslurp_client/models/email_intelligence_result_dto.rb +256 -0
  67. data/lib/mailslurp_client/models/email_intelligence_score_breakdown_dto.rb +296 -0
  68. data/lib/mailslurp_client/models/email_intelligence_signals_dto.rb +352 -0
  69. data/lib/mailslurp_client/models/email_intelligence_tests_options.rb +253 -0
  70. data/lib/mailslurp_client/models/email_projection.rb +88 -88
  71. data/lib/mailslurp_client/models/email_thread_projection.rb +57 -57
  72. data/lib/mailslurp_client/models/entity_automation_item_projection.rb +33 -33
  73. data/lib/mailslurp_client/models/entity_event_item_projection.rb +42 -42
  74. data/lib/mailslurp_client/models/entity_favourite_item_projection.rb +32 -32
  75. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +18 -18
  76. data/lib/mailslurp_client/models/extract_attachment_text_options.rb +1 -1
  77. data/lib/mailslurp_client/models/extract_attachment_text_result.rb +1 -1
  78. data/lib/mailslurp_client/models/generate_spf_record_options.rb +357 -0
  79. data/lib/mailslurp_client/models/generate_spf_record_results.rb +318 -0
  80. data/lib/mailslurp_client/models/get_or_create_phone_pool_options.rb +220 -0
  81. data/lib/mailslurp_client/models/group_projection.rb +19 -19
  82. data/lib/mailslurp_client/models/guest_portal_user_projection.rb +41 -41
  83. data/lib/mailslurp_client/models/imap_email_projection.rb +18 -18
  84. data/lib/mailslurp_client/models/import_email_options.rb +269 -0
  85. data/lib/mailslurp_client/models/inbox_automation_match_option.rb +308 -0
  86. data/lib/mailslurp_client/models/inbox_automation_match_options.rb +273 -0
  87. data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +65 -17
  88. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +36 -36
  89. data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +17 -9
  90. data/lib/mailslurp_client/models/inbox_replier_dto.rb +41 -16
  91. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +48 -48
  92. data/lib/mailslurp_client/models/inline_object.rb +12 -58
  93. data/lib/mailslurp_client/models/inline_object1.rb +58 -12
  94. data/lib/mailslurp_client/models/inline_object2.rb +211 -0
  95. data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +19 -19
  96. data/lib/mailslurp_client/models/lookup_dkim_domain_options.rb +275 -0
  97. data/lib/mailslurp_client/models/lookup_dkim_domain_results.rb +304 -0
  98. data/lib/mailslurp_client/models/lookup_ptr_options.rb +241 -0
  99. data/lib/mailslurp_client/models/lookup_ptr_results.rb +305 -0
  100. data/lib/mailslurp_client/models/lookup_spf_domain_options.rb +240 -0
  101. data/lib/mailslurp_client/models/lookup_spf_domain_results.rb +305 -0
  102. data/lib/mailslurp_client/models/missed_email_projection.rb +28 -28
  103. data/lib/mailslurp_client/models/missed_sms_projection.rb +32 -32
  104. data/lib/mailslurp_client/models/opt_in_identity_projection.rb +15 -15
  105. data/lib/mailslurp_client/models/page_ai_transform_mapping_projection.rb +36 -36
  106. data/lib/mailslurp_client/models/page_ai_transform_projection.rb +36 -36
  107. data/lib/mailslurp_client/models/page_ai_transform_result_projection.rb +36 -36
  108. data/lib/mailslurp_client/models/page_alias.rb +36 -36
  109. data/lib/mailslurp_client/models/page_alias_thread_projection.rb +36 -36
  110. data/lib/mailslurp_client/models/page_attachment_entity.rb +36 -36
  111. data/lib/mailslurp_client/models/page_bounced_email.rb +36 -36
  112. data/lib/mailslurp_client/models/page_bounced_recipients.rb +36 -36
  113. data/lib/mailslurp_client/models/page_complaint.rb +36 -36
  114. data/lib/mailslurp_client/models/page_connector.rb +36 -36
  115. data/lib/mailslurp_client/models/page_connector_events.rb +36 -36
  116. data/lib/mailslurp_client/models/page_contact_projection.rb +36 -36
  117. data/lib/mailslurp_client/models/page_delivery_status.rb +36 -36
  118. data/lib/mailslurp_client/models/page_device_preview_run_projection.rb +36 -36
  119. data/lib/mailslurp_client/models/page_email_preview.rb +36 -36
  120. data/lib/mailslurp_client/models/page_email_projection.rb +36 -36
  121. data/lib/mailslurp_client/models/page_email_thread_projection.rb +36 -36
  122. data/lib/mailslurp_client/models/page_email_validation_request.rb +36 -36
  123. data/lib/mailslurp_client/models/page_entity_automation_items.rb +36 -36
  124. data/lib/mailslurp_client/models/page_entity_event_items.rb +36 -36
  125. data/lib/mailslurp_client/models/page_entity_favourite_items.rb +36 -36
  126. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +36 -36
  127. data/lib/mailslurp_client/models/page_group_projection.rb +36 -36
  128. data/lib/mailslurp_client/models/page_guest_portal_users.rb +36 -36
  129. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +36 -36
  130. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +36 -36
  131. data/lib/mailslurp_client/models/page_inbox_projection.rb +36 -36
  132. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +36 -36
  133. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +36 -36
  134. data/lib/mailslurp_client/models/page_inbox_tags.rb +36 -36
  135. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +36 -36
  136. data/lib/mailslurp_client/models/page_missed_email_projection.rb +36 -36
  137. data/lib/mailslurp_client/models/page_missed_sms_projection.rb +36 -36
  138. data/lib/mailslurp_client/models/page_opt_in_identity_projection.rb +36 -36
  139. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +36 -36
  140. data/lib/mailslurp_client/models/page_phone_message_thread_item_projection.rb +36 -36
  141. data/lib/mailslurp_client/models/page_phone_message_thread_projection.rb +36 -36
  142. data/lib/mailslurp_client/models/page_phone_number_projection.rb +36 -36
  143. data/lib/mailslurp_client/models/page_phone_number_release_projection.rb +36 -36
  144. data/lib/mailslurp_client/models/page_plus_address_projection.rb +36 -36
  145. data/lib/mailslurp_client/models/page_reputation_items.rb +36 -36
  146. data/lib/mailslurp_client/models/page_ruleset_dto.rb +36 -36
  147. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +36 -36
  148. data/lib/mailslurp_client/models/page_sent_email_projection.rb +36 -36
  149. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +36 -36
  150. data/lib/mailslurp_client/models/page_sent_sms_projection.rb +36 -36
  151. data/lib/mailslurp_client/models/page_sms_projection.rb +36 -36
  152. data/lib/mailslurp_client/models/page_template_projection.rb +36 -36
  153. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +36 -36
  154. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +36 -36
  155. data/lib/mailslurp_client/models/page_webhook_endpoint_projection.rb +36 -36
  156. data/lib/mailslurp_client/models/page_webhook_projection.rb +36 -36
  157. data/lib/mailslurp_client/models/page_webhook_result.rb +36 -36
  158. data/lib/mailslurp_client/models/pageable_object.rb +28 -28
  159. data/lib/mailslurp_client/models/phone_message_thread_item_projection.rb +32 -32
  160. data/lib/mailslurp_client/models/phone_number_dto.rb +65 -4
  161. data/lib/mailslurp_client/models/phone_number_line_type_intelligence_dto.rb +242 -0
  162. data/lib/mailslurp_client/models/phone_number_line_type_lookup_dto.rb +286 -0
  163. data/lib/mailslurp_client/models/phone_number_projection.rb +80 -35
  164. data/lib/mailslurp_client/models/phone_number_release_projection.rb +39 -39
  165. data/lib/mailslurp_client/models/phone_number_tags_options.rb +213 -0
  166. data/lib/mailslurp_client/models/phone_pool_detail_dto.rb +334 -0
  167. data/lib/mailslurp_client/models/phone_pool_dto.rb +318 -0
  168. data/lib/mailslurp_client/models/phone_pool_lease_dto.rb +351 -0
  169. data/lib/mailslurp_client/models/phone_pool_member_dto.rb +333 -0
  170. data/lib/mailslurp_client/models/phone_provider_capabilities_result.rb +284 -0
  171. data/lib/mailslurp_client/models/phone_provisioning_job_dto.rb +434 -0
  172. data/lib/mailslurp_client/models/phone_provisioning_job_item_dto.rb +336 -0
  173. data/lib/mailslurp_client/models/phone_sms_prepaid_credit_dto.rb +340 -0
  174. data/lib/mailslurp_client/models/phone_sms_prepaid_credits_dto.rb +241 -0
  175. data/lib/mailslurp_client/models/plus_address_projection.rb +27 -27
  176. data/lib/mailslurp_client/models/recipient_projection.rb +13 -13
  177. data/lib/mailslurp_client/models/reputation_item_projection.rb +53 -53
  178. data/lib/mailslurp_client/models/search_available_phone_numbers_options.rb +377 -0
  179. data/lib/mailslurp_client/models/sender_projection.rb +13 -13
  180. data/lib/mailslurp_client/models/sent_email_projection.rb +63 -63
  181. data/lib/mailslurp_client/models/sent_sms_projection.rb +18 -18
  182. data/lib/mailslurp_client/models/sms_projection.rb +18 -18
  183. data/lib/mailslurp_client/models/smtp_auth_diagnostic_result.rb +235 -0
  184. data/lib/mailslurp_client/models/smtp_diagnostic_step.rb +236 -0
  185. data/lib/mailslurp_client/models/smtp_tls_diagnostic_result.rb +245 -0
  186. data/lib/mailslurp_client/models/sort_object.rb +10 -10
  187. data/lib/mailslurp_client/models/spf_mechanism_result.rb +229 -0
  188. data/lib/mailslurp_client/models/template_projection.rb +32 -32
  189. data/lib/mailslurp_client/models/test_smtp_server_options.rb +337 -0
  190. data/lib/mailslurp_client/models/test_smtp_server_results.rb +297 -0
  191. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +27 -27
  192. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +27 -27
  193. data/lib/mailslurp_client/models/update_inbox_replier_options.rb +39 -33
  194. data/lib/mailslurp_client/models/update_phone_pool_options.rb +215 -0
  195. data/lib/mailslurp_client/models/validation_dto.rb +1 -5
  196. data/lib/mailslurp_client/models/webhook_projection.rb +50 -50
  197. data/lib/mailslurp_client/version.rb +1 -1
  198. data/lib/mailslurp_client.rb +78 -0
  199. metadata +80 -2
@@ -21,21 +21,21 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :columns
23
23
 
24
- attr_accessor :total_elements
25
-
26
24
  attr_accessor :total_pages
27
25
 
26
+ attr_accessor :total_elements
27
+
28
28
  attr_accessor :last
29
29
 
30
- attr_accessor :number_of_elements
30
+ attr_accessor :size
31
31
 
32
- attr_accessor :sort
32
+ attr_accessor :number
33
33
 
34
34
  attr_accessor :first
35
35
 
36
- attr_accessor :size
36
+ attr_accessor :number_of_elements
37
37
 
38
- attr_accessor :number
38
+ attr_accessor :sort
39
39
 
40
40
  attr_accessor :empty
41
41
 
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'columns' => :'columns',
48
- :'total_elements' => :'totalElements',
49
48
  :'total_pages' => :'totalPages',
49
+ :'total_elements' => :'totalElements',
50
50
  :'last' => :'last',
51
- :'number_of_elements' => :'numberOfElements',
52
- :'sort' => :'sort',
53
- :'first' => :'first',
54
51
  :'size' => :'size',
55
52
  :'number' => :'number',
53
+ :'first' => :'first',
54
+ :'number_of_elements' => :'numberOfElements',
55
+ :'sort' => :'sort',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<AITransformResultProjectionDto>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'columns' => :'Array<String>',
66
- :'total_elements' => :'Integer',
67
66
  :'total_pages' => :'Integer',
67
+ :'total_elements' => :'Integer',
68
68
  :'last' => :'Boolean',
69
- :'number_of_elements' => :'Integer',
70
- :'sort' => :'SortObject',
71
- :'first' => :'Boolean',
72
69
  :'size' => :'Integer',
73
70
  :'number' => :'Integer',
71
+ :'first' => :'Boolean',
72
+ :'number_of_elements' => :'Integer',
73
+ :'sort' => :'SortObject',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -112,36 +112,36 @@ module MailSlurpClient
112
112
  end
113
113
  end
114
114
 
115
- if attributes.key?(:'total_elements')
116
- self.total_elements = attributes[:'total_elements']
117
- end
118
-
119
115
  if attributes.key?(:'total_pages')
120
116
  self.total_pages = attributes[:'total_pages']
121
117
  end
122
118
 
119
+ if attributes.key?(:'total_elements')
120
+ self.total_elements = attributes[:'total_elements']
121
+ end
122
+
123
123
  if attributes.key?(:'last')
124
124
  self.last = attributes[:'last']
125
125
  end
126
126
 
127
- if attributes.key?(:'number_of_elements')
128
- self.number_of_elements = attributes[:'number_of_elements']
127
+ if attributes.key?(:'size')
128
+ self.size = attributes[:'size']
129
129
  end
130
130
 
131
- if attributes.key?(:'sort')
132
- self.sort = attributes[:'sort']
131
+ if attributes.key?(:'number')
132
+ self.number = attributes[:'number']
133
133
  end
134
134
 
135
135
  if attributes.key?(:'first')
136
136
  self.first = attributes[:'first']
137
137
  end
138
138
 
139
- if attributes.key?(:'size')
140
- self.size = attributes[:'size']
139
+ if attributes.key?(:'number_of_elements')
140
+ self.number_of_elements = attributes[:'number_of_elements']
141
141
  end
142
142
 
143
- if attributes.key?(:'number')
144
- self.number = attributes[:'number']
143
+ if attributes.key?(:'sort')
144
+ self.sort = attributes[:'sort']
145
145
  end
146
146
 
147
147
  if attributes.key?(:'empty')
@@ -157,14 +157,14 @@ module MailSlurpClient
157
157
  invalid_properties.push('invalid value for "columns", columns cannot be nil.')
158
158
  end
159
159
 
160
- if @total_elements.nil?
161
- invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
162
- end
163
-
164
160
  if @total_pages.nil?
165
161
  invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
166
162
  end
167
163
 
164
+ if @total_elements.nil?
165
+ invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
166
+ end
167
+
168
168
  invalid_properties
169
169
  end
170
170
 
@@ -172,8 +172,8 @@ module MailSlurpClient
172
172
  # @return true if the model is valid
173
173
  def valid?
174
174
  return false if @columns.nil?
175
- return false if @total_elements.nil?
176
175
  return false if @total_pages.nil?
176
+ return false if @total_elements.nil?
177
177
  true
178
178
  end
179
179
 
@@ -185,14 +185,14 @@ module MailSlurpClient
185
185
  content == o.content &&
186
186
  pageable == o.pageable &&
187
187
  columns == o.columns &&
188
- total_elements == o.total_elements &&
189
188
  total_pages == o.total_pages &&
189
+ total_elements == o.total_elements &&
190
190
  last == o.last &&
191
- number_of_elements == o.number_of_elements &&
192
- sort == o.sort &&
193
- first == o.first &&
194
191
  size == o.size &&
195
192
  number == o.number &&
193
+ first == o.first &&
194
+ number_of_elements == o.number_of_elements &&
195
+ sort == o.sort &&
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_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
208
+ [content, pageable, columns, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
209
209
  end
210
210
 
211
211
  # Builds the object from hash
@@ -19,21 +19,21 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :pageable
21
21
 
22
- attr_accessor :total_elements
23
-
24
22
  attr_accessor :total_pages
25
23
 
24
+ attr_accessor :total_elements
25
+
26
26
  attr_accessor :last
27
27
 
28
- attr_accessor :number_of_elements
28
+ attr_accessor :size
29
29
 
30
- attr_accessor :sort
30
+ attr_accessor :number
31
31
 
32
32
  attr_accessor :first
33
33
 
34
- attr_accessor :size
34
+ attr_accessor :number_of_elements
35
35
 
36
- attr_accessor :number
36
+ attr_accessor :sort
37
37
 
38
38
  attr_accessor :empty
39
39
 
@@ -42,14 +42,14 @@ module MailSlurpClient
42
42
  {
43
43
  :'content' => :'content',
44
44
  :'pageable' => :'pageable',
45
- :'total_elements' => :'totalElements',
46
45
  :'total_pages' => :'totalPages',
46
+ :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
- :'number_of_elements' => :'numberOfElements',
49
- :'sort' => :'sort',
50
- :'first' => :'first',
51
48
  :'size' => :'size',
52
49
  :'number' => :'number',
50
+ :'first' => :'first',
51
+ :'number_of_elements' => :'numberOfElements',
52
+ :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -59,14 +59,14 @@ module MailSlurpClient
59
59
  {
60
60
  :'content' => :'Array<AliasProjection>',
61
61
  :'pageable' => :'PageableObject',
62
- :'total_elements' => :'Integer',
63
62
  :'total_pages' => :'Integer',
63
+ :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
- :'number_of_elements' => :'Integer',
66
- :'sort' => :'SortObject',
67
- :'first' => :'Boolean',
68
65
  :'size' => :'Integer',
69
66
  :'number' => :'Integer',
67
+ :'first' => :'Boolean',
68
+ :'number_of_elements' => :'Integer',
69
+ :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -102,36 +102,36 @@ module MailSlurpClient
102
102
  self.pageable = attributes[:'pageable']
103
103
  end
104
104
 
105
- if attributes.key?(:'total_elements')
106
- self.total_elements = attributes[:'total_elements']
107
- end
108
-
109
105
  if attributes.key?(:'total_pages')
110
106
  self.total_pages = attributes[:'total_pages']
111
107
  end
112
108
 
109
+ if attributes.key?(:'total_elements')
110
+ self.total_elements = attributes[:'total_elements']
111
+ end
112
+
113
113
  if attributes.key?(:'last')
114
114
  self.last = attributes[:'last']
115
115
  end
116
116
 
117
- if attributes.key?(:'number_of_elements')
118
- self.number_of_elements = attributes[:'number_of_elements']
117
+ if attributes.key?(:'size')
118
+ self.size = attributes[:'size']
119
119
  end
120
120
 
121
- if attributes.key?(:'sort')
122
- self.sort = attributes[:'sort']
121
+ if attributes.key?(:'number')
122
+ self.number = attributes[:'number']
123
123
  end
124
124
 
125
125
  if attributes.key?(:'first')
126
126
  self.first = attributes[:'first']
127
127
  end
128
128
 
129
- if attributes.key?(:'size')
130
- self.size = attributes[:'size']
129
+ if attributes.key?(:'number_of_elements')
130
+ self.number_of_elements = attributes[:'number_of_elements']
131
131
  end
132
132
 
133
- if attributes.key?(:'number')
134
- self.number = attributes[:'number']
133
+ if attributes.key?(:'sort')
134
+ self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
137
  if attributes.key?(:'empty')
@@ -143,22 +143,22 @@ module MailSlurpClient
143
143
  # @return Array for valid properties with the reasons
144
144
  def list_invalid_properties
145
145
  invalid_properties = Array.new
146
- if @total_elements.nil?
147
- invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
148
- end
149
-
150
146
  if @total_pages.nil?
151
147
  invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
152
148
  end
153
149
 
150
+ if @total_elements.nil?
151
+ invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
152
+ end
153
+
154
154
  invalid_properties
155
155
  end
156
156
 
157
157
  # Check to see if the all the properties in the model are valid
158
158
  # @return true if the model is valid
159
159
  def valid?
160
- return false if @total_elements.nil?
161
160
  return false if @total_pages.nil?
161
+ return false if @total_elements.nil?
162
162
  true
163
163
  end
164
164
 
@@ -169,14 +169,14 @@ module MailSlurpClient
169
169
  self.class == o.class &&
170
170
  content == o.content &&
171
171
  pageable == o.pageable &&
172
- total_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ total_elements == o.total_elements &&
174
174
  last == o.last &&
175
- number_of_elements == o.number_of_elements &&
176
- sort == o.sort &&
177
- first == o.first &&
178
175
  size == o.size &&
179
176
  number == o.number &&
177
+ first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
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, sort, first, size, number, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -19,21 +19,21 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :pageable
21
21
 
22
- attr_accessor :total_elements
23
-
24
22
  attr_accessor :total_pages
25
23
 
24
+ attr_accessor :total_elements
25
+
26
26
  attr_accessor :last
27
27
 
28
- attr_accessor :number_of_elements
28
+ attr_accessor :size
29
29
 
30
- attr_accessor :sort
30
+ attr_accessor :number
31
31
 
32
32
  attr_accessor :first
33
33
 
34
- attr_accessor :size
34
+ attr_accessor :number_of_elements
35
35
 
36
- attr_accessor :number
36
+ attr_accessor :sort
37
37
 
38
38
  attr_accessor :empty
39
39
 
@@ -42,14 +42,14 @@ module MailSlurpClient
42
42
  {
43
43
  :'content' => :'content',
44
44
  :'pageable' => :'pageable',
45
- :'total_elements' => :'totalElements',
46
45
  :'total_pages' => :'totalPages',
46
+ :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
- :'number_of_elements' => :'numberOfElements',
49
- :'sort' => :'sort',
50
- :'first' => :'first',
51
48
  :'size' => :'size',
52
49
  :'number' => :'number',
50
+ :'first' => :'first',
51
+ :'number_of_elements' => :'numberOfElements',
52
+ :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -59,14 +59,14 @@ module MailSlurpClient
59
59
  {
60
60
  :'content' => :'Array<AliasThreadProjection>',
61
61
  :'pageable' => :'PageableObject',
62
- :'total_elements' => :'Integer',
63
62
  :'total_pages' => :'Integer',
63
+ :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
- :'number_of_elements' => :'Integer',
66
- :'sort' => :'SortObject',
67
- :'first' => :'Boolean',
68
65
  :'size' => :'Integer',
69
66
  :'number' => :'Integer',
67
+ :'first' => :'Boolean',
68
+ :'number_of_elements' => :'Integer',
69
+ :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -102,36 +102,36 @@ module MailSlurpClient
102
102
  self.pageable = attributes[:'pageable']
103
103
  end
104
104
 
105
- if attributes.key?(:'total_elements')
106
- self.total_elements = attributes[:'total_elements']
107
- end
108
-
109
105
  if attributes.key?(:'total_pages')
110
106
  self.total_pages = attributes[:'total_pages']
111
107
  end
112
108
 
109
+ if attributes.key?(:'total_elements')
110
+ self.total_elements = attributes[:'total_elements']
111
+ end
112
+
113
113
  if attributes.key?(:'last')
114
114
  self.last = attributes[:'last']
115
115
  end
116
116
 
117
- if attributes.key?(:'number_of_elements')
118
- self.number_of_elements = attributes[:'number_of_elements']
117
+ if attributes.key?(:'size')
118
+ self.size = attributes[:'size']
119
119
  end
120
120
 
121
- if attributes.key?(:'sort')
122
- self.sort = attributes[:'sort']
121
+ if attributes.key?(:'number')
122
+ self.number = attributes[:'number']
123
123
  end
124
124
 
125
125
  if attributes.key?(:'first')
126
126
  self.first = attributes[:'first']
127
127
  end
128
128
 
129
- if attributes.key?(:'size')
130
- self.size = attributes[:'size']
129
+ if attributes.key?(:'number_of_elements')
130
+ self.number_of_elements = attributes[:'number_of_elements']
131
131
  end
132
132
 
133
- if attributes.key?(:'number')
134
- self.number = attributes[:'number']
133
+ if attributes.key?(:'sort')
134
+ self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
137
  if attributes.key?(:'empty')
@@ -143,22 +143,22 @@ module MailSlurpClient
143
143
  # @return Array for valid properties with the reasons
144
144
  def list_invalid_properties
145
145
  invalid_properties = Array.new
146
- if @total_elements.nil?
147
- invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
148
- end
149
-
150
146
  if @total_pages.nil?
151
147
  invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
152
148
  end
153
149
 
150
+ if @total_elements.nil?
151
+ invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
152
+ end
153
+
154
154
  invalid_properties
155
155
  end
156
156
 
157
157
  # Check to see if the all the properties in the model are valid
158
158
  # @return true if the model is valid
159
159
  def valid?
160
- return false if @total_elements.nil?
161
160
  return false if @total_pages.nil?
161
+ return false if @total_elements.nil?
162
162
  true
163
163
  end
164
164
 
@@ -169,14 +169,14 @@ module MailSlurpClient
169
169
  self.class == o.class &&
170
170
  content == o.content &&
171
171
  pageable == o.pageable &&
172
- total_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ total_elements == o.total_elements &&
174
174
  last == o.last &&
175
- number_of_elements == o.number_of_elements &&
176
- sort == o.sort &&
177
- first == o.first &&
178
175
  size == o.size &&
179
176
  number == o.number &&
177
+ first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
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, sort, first, size, number, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -19,21 +19,21 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :pageable
21
21
 
22
- attr_accessor :total_elements
23
-
24
22
  attr_accessor :total_pages
25
23
 
24
+ attr_accessor :total_elements
25
+
26
26
  attr_accessor :last
27
27
 
28
- attr_accessor :number_of_elements
28
+ attr_accessor :size
29
29
 
30
- attr_accessor :sort
30
+ attr_accessor :number
31
31
 
32
32
  attr_accessor :first
33
33
 
34
- attr_accessor :size
34
+ attr_accessor :number_of_elements
35
35
 
36
- attr_accessor :number
36
+ attr_accessor :sort
37
37
 
38
38
  attr_accessor :empty
39
39
 
@@ -42,14 +42,14 @@ module MailSlurpClient
42
42
  {
43
43
  :'content' => :'content',
44
44
  :'pageable' => :'pageable',
45
- :'total_elements' => :'totalElements',
46
45
  :'total_pages' => :'totalPages',
46
+ :'total_elements' => :'totalElements',
47
47
  :'last' => :'last',
48
- :'number_of_elements' => :'numberOfElements',
49
- :'sort' => :'sort',
50
- :'first' => :'first',
51
48
  :'size' => :'size',
52
49
  :'number' => :'number',
50
+ :'first' => :'first',
51
+ :'number_of_elements' => :'numberOfElements',
52
+ :'sort' => :'sort',
53
53
  :'empty' => :'empty'
54
54
  }
55
55
  end
@@ -59,14 +59,14 @@ module MailSlurpClient
59
59
  {
60
60
  :'content' => :'Array<AttachmentProjection>',
61
61
  :'pageable' => :'PageableObject',
62
- :'total_elements' => :'Integer',
63
62
  :'total_pages' => :'Integer',
63
+ :'total_elements' => :'Integer',
64
64
  :'last' => :'Boolean',
65
- :'number_of_elements' => :'Integer',
66
- :'sort' => :'SortObject',
67
- :'first' => :'Boolean',
68
65
  :'size' => :'Integer',
69
66
  :'number' => :'Integer',
67
+ :'first' => :'Boolean',
68
+ :'number_of_elements' => :'Integer',
69
+ :'sort' => :'SortObject',
70
70
  :'empty' => :'Boolean'
71
71
  }
72
72
  end
@@ -102,36 +102,36 @@ module MailSlurpClient
102
102
  self.pageable = attributes[:'pageable']
103
103
  end
104
104
 
105
- if attributes.key?(:'total_elements')
106
- self.total_elements = attributes[:'total_elements']
107
- end
108
-
109
105
  if attributes.key?(:'total_pages')
110
106
  self.total_pages = attributes[:'total_pages']
111
107
  end
112
108
 
109
+ if attributes.key?(:'total_elements')
110
+ self.total_elements = attributes[:'total_elements']
111
+ end
112
+
113
113
  if attributes.key?(:'last')
114
114
  self.last = attributes[:'last']
115
115
  end
116
116
 
117
- if attributes.key?(:'number_of_elements')
118
- self.number_of_elements = attributes[:'number_of_elements']
117
+ if attributes.key?(:'size')
118
+ self.size = attributes[:'size']
119
119
  end
120
120
 
121
- if attributes.key?(:'sort')
122
- self.sort = attributes[:'sort']
121
+ if attributes.key?(:'number')
122
+ self.number = attributes[:'number']
123
123
  end
124
124
 
125
125
  if attributes.key?(:'first')
126
126
  self.first = attributes[:'first']
127
127
  end
128
128
 
129
- if attributes.key?(:'size')
130
- self.size = attributes[:'size']
129
+ if attributes.key?(:'number_of_elements')
130
+ self.number_of_elements = attributes[:'number_of_elements']
131
131
  end
132
132
 
133
- if attributes.key?(:'number')
134
- self.number = attributes[:'number']
133
+ if attributes.key?(:'sort')
134
+ self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
137
  if attributes.key?(:'empty')
@@ -143,22 +143,22 @@ module MailSlurpClient
143
143
  # @return Array for valid properties with the reasons
144
144
  def list_invalid_properties
145
145
  invalid_properties = Array.new
146
- if @total_elements.nil?
147
- invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
148
- end
149
-
150
146
  if @total_pages.nil?
151
147
  invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
152
148
  end
153
149
 
150
+ if @total_elements.nil?
151
+ invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
152
+ end
153
+
154
154
  invalid_properties
155
155
  end
156
156
 
157
157
  # Check to see if the all the properties in the model are valid
158
158
  # @return true if the model is valid
159
159
  def valid?
160
- return false if @total_elements.nil?
161
160
  return false if @total_pages.nil?
161
+ return false if @total_elements.nil?
162
162
  true
163
163
  end
164
164
 
@@ -169,14 +169,14 @@ module MailSlurpClient
169
169
  self.class == o.class &&
170
170
  content == o.content &&
171
171
  pageable == o.pageable &&
172
- total_elements == o.total_elements &&
173
172
  total_pages == o.total_pages &&
173
+ total_elements == o.total_elements &&
174
174
  last == o.last &&
175
- number_of_elements == o.number_of_elements &&
176
- sort == o.sort &&
177
- first == o.first &&
178
175
  size == o.size &&
179
176
  number == o.number &&
177
+ first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
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, sort, first, size, number, empty].hash
192
+ [content, pageable, total_pages, total_elements, last, size, number, first, number_of_elements, sort, empty].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash