mailslurp_client 15.18.5 → 15.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/api/connector_controller_api.rb +260 -0
- data/lib/mailslurp_client/api/domain_controller_api.rb +126 -0
- data/lib/mailslurp_client/api/email_controller_api.rb +138 -0
- data/lib/mailslurp_client/api/imap_controller_api.rb +279 -0
- data/lib/mailslurp_client/api/inbox_controller_api.rb +114 -0
- data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +3 -0
- data/lib/mailslurp_client/api/mail_server_controller_api.rb +62 -0
- data/lib/mailslurp_client/models/alias_projection.rb +29 -29
- data/lib/mailslurp_client/models/attachment_projection.rb +29 -29
- data/lib/mailslurp_client/models/bounce_projection.rb +29 -29
- data/lib/mailslurp_client/models/bounce_recipient_projection.rb +22 -22
- data/lib/mailslurp_client/models/connector_dto.rb +42 -108
- data/lib/mailslurp_client/models/connector_imap_connection_dto.rb +311 -0
- data/lib/mailslurp_client/models/connector_projection.rb +39 -43
- data/lib/mailslurp_client/models/connector_smtp_connection_dto.rb +293 -0
- data/lib/mailslurp_client/models/connector_sync_event_projection.rb +15 -15
- data/lib/mailslurp_client/models/contact_projection.rb +10 -10
- data/lib/mailslurp_client/models/create_connector_imap_connection_options.rb +286 -0
- data/lib/mailslurp_client/models/create_connector_options.rb +38 -87
- data/lib/mailslurp_client/models/create_connector_smtp_connection_options.rb +256 -0
- data/lib/mailslurp_client/models/dns_lookup_options.rb +1 -1
- data/lib/mailslurp_client/models/dns_lookups_options.rb +214 -0
- data/lib/mailslurp_client/models/domain_group.rb +261 -0
- data/lib/mailslurp_client/models/domain_groups_dto.rb +213 -0
- data/lib/mailslurp_client/models/domain_information.rb +274 -0
- data/lib/mailslurp_client/models/email_preview_urls.rb +18 -4
- data/lib/mailslurp_client/models/email_projection.rb +19 -19
- data/lib/mailslurp_client/models/email_screenshot_result.rb +211 -0
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
- data/lib/mailslurp_client/models/get_email_screenshot_options.rb +220 -0
- data/lib/mailslurp_client/models/imap_access_details.rb +273 -0
- data/lib/mailslurp_client/models/imap_email_projection.rb +239 -0
- data/lib/mailslurp_client/models/{create_connector_imap_options.rb → imap_server_fetch_item.rb} +55 -49
- data/lib/mailslurp_client/models/imap_server_fetch_result.rb +208 -0
- data/lib/mailslurp_client/models/{create_connector_imap_fetch_options.rb → imap_server_list_options.rb} +18 -16
- data/lib/mailslurp_client/models/imap_server_list_result.rb +213 -0
- data/lib/mailslurp_client/models/imap_server_search_options.rb +318 -0
- data/lib/mailslurp_client/models/imap_server_search_result.rb +213 -0
- data/lib/mailslurp_client/models/imap_smtp_access_details.rb +16 -1
- data/lib/mailslurp_client/models/imap_update_flags_options.rb +277 -0
- data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +10 -10
- data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +10 -10
- data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +15 -15
- data/lib/mailslurp_client/models/match_option.rb +4 -4
- data/lib/mailslurp_client/models/missed_email_projection.rb +14 -14
- data/lib/mailslurp_client/models/page_alias.rb +15 -15
- data/lib/mailslurp_client/models/page_attachment_entity.rb +15 -15
- data/lib/mailslurp_client/models/page_bounced_email.rb +15 -15
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +15 -15
- data/lib/mailslurp_client/models/page_complaint.rb +15 -15
- data/lib/mailslurp_client/models/page_connector.rb +15 -15
- data/lib/mailslurp_client/models/page_connector_sync_events.rb +15 -15
- data/lib/mailslurp_client/models/page_contact_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_delivery_status.rb +15 -15
- data/lib/mailslurp_client/models/page_email_preview.rb +15 -15
- data/lib/mailslurp_client/models/page_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_email_validation_request.rb +15 -15
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_group_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +15 -15
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +15 -15
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +15 -15
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_sms_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_template_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_thread_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_webhook_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_webhook_result.rb +15 -15
- data/lib/mailslurp_client/models/phone_number_projection.rb +15 -15
- data/lib/mailslurp_client/models/sent_email_projection.rb +35 -35
- data/lib/mailslurp_client/models/sms_match_option.rb +2 -2
- data/lib/mailslurp_client/models/sms_projection.rb +29 -29
- data/lib/mailslurp_client/models/smtp_access_details.rb +329 -0
- data/lib/mailslurp_client/models/template_projection.rb +17 -17
- data/lib/mailslurp_client/models/thread_projection.rb +35 -35
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +15 -15
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +13 -13
- data/lib/mailslurp_client/models/webhook_projection.rb +25 -25
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +21 -2
- metadata +23 -4
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<BounceRecipientProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -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,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<Complaint>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -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,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<ConnectorProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -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,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<ConnectorSyncEventProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -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,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<ContactProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -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,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<DeliveryStatusDto>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -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,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<EmailPreview>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -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,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|