mailslurp_client 15.17.33 → 15.17.34
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/attachment_controller_api.rb +3 -0
- data/lib/mailslurp_client/api/sms_controller_api.rb +56 -0
- data/lib/mailslurp_client/api/webhook_controller_api.rb +186 -0
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/attachment_entity.rb +10 -1
- data/lib/mailslurp_client/models/bounce_projection.rb +11 -11
- data/lib/mailslurp_client/models/email.rb +13 -13
- data/lib/mailslurp_client/models/email_projection.rb +19 -19
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
- data/lib/mailslurp_client/models/missed_email_projection.rb +11 -11
- data/lib/mailslurp_client/models/page_alias.rb +17 -16
- data/lib/mailslurp_client/models/page_attachment_entity.rb +17 -16
- data/lib/mailslurp_client/models/page_bounced_email.rb +17 -16
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +17 -16
- data/lib/mailslurp_client/models/page_complaint.rb +17 -16
- data/lib/mailslurp_client/models/page_connector.rb +17 -16
- data/lib/mailslurp_client/models/page_connector_sync_events.rb +17 -16
- data/lib/mailslurp_client/models/page_contact_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_delivery_status.rb +17 -16
- data/lib/mailslurp_client/models/page_email_preview.rb +17 -16
- data/lib/mailslurp_client/models/page_email_projection.rb +12 -21
- data/lib/mailslurp_client/models/page_email_validation_request.rb +17 -16
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_group_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +17 -16
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +17 -16
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +17 -16
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +34 -69
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +34 -69
- data/lib/mailslurp_client/models/page_sms_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_template_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_thread_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_webhook_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_webhook_result.rb +17 -16
- data/lib/mailslurp_client/models/pageable_object.rb +10 -10
- data/lib/mailslurp_client/models/send_with_queue_result.rb +0 -1
- data/lib/mailslurp_client/models/sent_email_projection.rb +30 -31
- data/lib/mailslurp_client/models/thread_projection.rb +11 -11
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/user_info_dto.rb +2 -2
- data/lib/mailslurp_client/models/webhook_redrive_all_result.rb +222 -0
- data/lib/mailslurp_client/models/webhook_result_dto.rb +56 -16
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +1 -0
- metadata +3 -2
@@ -19,12 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total_pages
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :last
|
29
27
|
|
30
28
|
attr_accessor :number_of_elements
|
@@ -44,9 +42,8 @@ module MailSlurpClient
|
|
44
42
|
{
|
45
43
|
:'content' => :'content',
|
46
44
|
:'pageable' => :'pageable',
|
47
|
-
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
50
47
|
:'last' => :'last',
|
51
48
|
:'number_of_elements' => :'numberOfElements',
|
52
49
|
:'first' => :'first',
|
@@ -62,9 +59,8 @@ module MailSlurpClient
|
|
62
59
|
{
|
63
60
|
:'content' => :'Array<BounceRecipientProjection>',
|
64
61
|
:'pageable' => :'PageableObject',
|
65
|
-
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
68
64
|
:'last' => :'Boolean',
|
69
65
|
:'number_of_elements' => :'Integer',
|
70
66
|
:'first' => :'Boolean',
|
@@ -106,18 +102,14 @@ module MailSlurpClient
|
|
106
102
|
self.pageable = attributes[:'pageable']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'total_pages')
|
106
|
+
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'total_elements')
|
114
110
|
self.total_elements = attributes[:'total_elements']
|
115
111
|
end
|
116
112
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
113
|
if attributes.key?(:'last')
|
122
114
|
self.last = attributes[:'last']
|
123
115
|
end
|
@@ -151,12 +143,22 @@ module MailSlurpClient
|
|
151
143
|
# @return Array for valid properties with the reasons
|
152
144
|
def list_invalid_properties
|
153
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
|
+
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_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
160
162
|
true
|
161
163
|
end
|
162
164
|
|
@@ -167,9 +169,8 @@ module MailSlurpClient
|
|
167
169
|
self.class == o.class &&
|
168
170
|
content == o.content &&
|
169
171
|
pageable == o.pageable &&
|
170
|
-
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
173
174
|
last == o.last &&
|
174
175
|
number_of_elements == o.number_of_elements &&
|
175
176
|
first == o.first &&
|
@@ -188,7 +189,7 @@ module MailSlurpClient
|
|
188
189
|
# Calculates hash code according to all attributes.
|
189
190
|
# @return [Integer] Hash code
|
190
191
|
def hash
|
191
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
192
193
|
end
|
193
194
|
|
194
195
|
# Builds the object from hash
|
@@ -19,12 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total_pages
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :last
|
29
27
|
|
30
28
|
attr_accessor :number_of_elements
|
@@ -44,9 +42,8 @@ module MailSlurpClient
|
|
44
42
|
{
|
45
43
|
:'content' => :'content',
|
46
44
|
:'pageable' => :'pageable',
|
47
|
-
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
50
47
|
:'last' => :'last',
|
51
48
|
:'number_of_elements' => :'numberOfElements',
|
52
49
|
:'first' => :'first',
|
@@ -62,9 +59,8 @@ module MailSlurpClient
|
|
62
59
|
{
|
63
60
|
:'content' => :'Array<Complaint>',
|
64
61
|
:'pageable' => :'PageableObject',
|
65
|
-
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
68
64
|
:'last' => :'Boolean',
|
69
65
|
:'number_of_elements' => :'Integer',
|
70
66
|
:'first' => :'Boolean',
|
@@ -106,18 +102,14 @@ module MailSlurpClient
|
|
106
102
|
self.pageable = attributes[:'pageable']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'total_pages')
|
106
|
+
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'total_elements')
|
114
110
|
self.total_elements = attributes[:'total_elements']
|
115
111
|
end
|
116
112
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
113
|
if attributes.key?(:'last')
|
122
114
|
self.last = attributes[:'last']
|
123
115
|
end
|
@@ -151,12 +143,22 @@ module MailSlurpClient
|
|
151
143
|
# @return Array for valid properties with the reasons
|
152
144
|
def list_invalid_properties
|
153
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
|
+
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_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
160
162
|
true
|
161
163
|
end
|
162
164
|
|
@@ -167,9 +169,8 @@ module MailSlurpClient
|
|
167
169
|
self.class == o.class &&
|
168
170
|
content == o.content &&
|
169
171
|
pageable == o.pageable &&
|
170
|
-
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
173
174
|
last == o.last &&
|
174
175
|
number_of_elements == o.number_of_elements &&
|
175
176
|
first == o.first &&
|
@@ -188,7 +189,7 @@ module MailSlurpClient
|
|
188
189
|
# Calculates hash code according to all attributes.
|
189
190
|
# @return [Integer] Hash code
|
190
191
|
def hash
|
191
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
192
193
|
end
|
193
194
|
|
194
195
|
# Builds the object from hash
|
@@ -19,12 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total_pages
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :last
|
29
27
|
|
30
28
|
attr_accessor :number_of_elements
|
@@ -44,9 +42,8 @@ module MailSlurpClient
|
|
44
42
|
{
|
45
43
|
:'content' => :'content',
|
46
44
|
:'pageable' => :'pageable',
|
47
|
-
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
50
47
|
:'last' => :'last',
|
51
48
|
:'number_of_elements' => :'numberOfElements',
|
52
49
|
:'first' => :'first',
|
@@ -62,9 +59,8 @@ module MailSlurpClient
|
|
62
59
|
{
|
63
60
|
:'content' => :'Array<ConnectorProjection>',
|
64
61
|
:'pageable' => :'PageableObject',
|
65
|
-
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
68
64
|
:'last' => :'Boolean',
|
69
65
|
:'number_of_elements' => :'Integer',
|
70
66
|
:'first' => :'Boolean',
|
@@ -106,18 +102,14 @@ module MailSlurpClient
|
|
106
102
|
self.pageable = attributes[:'pageable']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'total_pages')
|
106
|
+
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'total_elements')
|
114
110
|
self.total_elements = attributes[:'total_elements']
|
115
111
|
end
|
116
112
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
113
|
if attributes.key?(:'last')
|
122
114
|
self.last = attributes[:'last']
|
123
115
|
end
|
@@ -151,12 +143,22 @@ module MailSlurpClient
|
|
151
143
|
# @return Array for valid properties with the reasons
|
152
144
|
def list_invalid_properties
|
153
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
|
+
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_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
160
162
|
true
|
161
163
|
end
|
162
164
|
|
@@ -167,9 +169,8 @@ module MailSlurpClient
|
|
167
169
|
self.class == o.class &&
|
168
170
|
content == o.content &&
|
169
171
|
pageable == o.pageable &&
|
170
|
-
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
173
174
|
last == o.last &&
|
174
175
|
number_of_elements == o.number_of_elements &&
|
175
176
|
first == o.first &&
|
@@ -188,7 +189,7 @@ module MailSlurpClient
|
|
188
189
|
# Calculates hash code according to all attributes.
|
189
190
|
# @return [Integer] Hash code
|
190
191
|
def hash
|
191
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
192
193
|
end
|
193
194
|
|
194
195
|
# Builds the object from hash
|
@@ -19,12 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total_pages
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :last
|
29
27
|
|
30
28
|
attr_accessor :number_of_elements
|
@@ -44,9 +42,8 @@ module MailSlurpClient
|
|
44
42
|
{
|
45
43
|
:'content' => :'content',
|
46
44
|
:'pageable' => :'pageable',
|
47
|
-
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
50
47
|
:'last' => :'last',
|
51
48
|
:'number_of_elements' => :'numberOfElements',
|
52
49
|
:'first' => :'first',
|
@@ -62,9 +59,8 @@ module MailSlurpClient
|
|
62
59
|
{
|
63
60
|
:'content' => :'Array<ConnectorSyncEventProjection>',
|
64
61
|
:'pageable' => :'PageableObject',
|
65
|
-
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
68
64
|
:'last' => :'Boolean',
|
69
65
|
:'number_of_elements' => :'Integer',
|
70
66
|
:'first' => :'Boolean',
|
@@ -106,18 +102,14 @@ module MailSlurpClient
|
|
106
102
|
self.pageable = attributes[:'pageable']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'total_pages')
|
106
|
+
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'total_elements')
|
114
110
|
self.total_elements = attributes[:'total_elements']
|
115
111
|
end
|
116
112
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
113
|
if attributes.key?(:'last')
|
122
114
|
self.last = attributes[:'last']
|
123
115
|
end
|
@@ -151,12 +143,22 @@ module MailSlurpClient
|
|
151
143
|
# @return Array for valid properties with the reasons
|
152
144
|
def list_invalid_properties
|
153
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
|
+
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_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
160
162
|
true
|
161
163
|
end
|
162
164
|
|
@@ -167,9 +169,8 @@ module MailSlurpClient
|
|
167
169
|
self.class == o.class &&
|
168
170
|
content == o.content &&
|
169
171
|
pageable == o.pageable &&
|
170
|
-
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
173
174
|
last == o.last &&
|
174
175
|
number_of_elements == o.number_of_elements &&
|
175
176
|
first == o.first &&
|
@@ -188,7 +189,7 @@ module MailSlurpClient
|
|
188
189
|
# Calculates hash code according to all attributes.
|
189
190
|
# @return [Integer] Hash code
|
190
191
|
def hash
|
191
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
192
193
|
end
|
193
194
|
|
194
195
|
# Builds the object from hash
|
@@ -19,12 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total_pages
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :last
|
29
27
|
|
30
28
|
attr_accessor :number_of_elements
|
@@ -44,9 +42,8 @@ module MailSlurpClient
|
|
44
42
|
{
|
45
43
|
:'content' => :'content',
|
46
44
|
:'pageable' => :'pageable',
|
47
|
-
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
50
47
|
:'last' => :'last',
|
51
48
|
:'number_of_elements' => :'numberOfElements',
|
52
49
|
:'first' => :'first',
|
@@ -62,9 +59,8 @@ module MailSlurpClient
|
|
62
59
|
{
|
63
60
|
:'content' => :'Array<ContactProjection>',
|
64
61
|
:'pageable' => :'PageableObject',
|
65
|
-
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
68
64
|
:'last' => :'Boolean',
|
69
65
|
:'number_of_elements' => :'Integer',
|
70
66
|
:'first' => :'Boolean',
|
@@ -106,18 +102,14 @@ module MailSlurpClient
|
|
106
102
|
self.pageable = attributes[:'pageable']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'total_pages')
|
106
|
+
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'total_elements')
|
114
110
|
self.total_elements = attributes[:'total_elements']
|
115
111
|
end
|
116
112
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
113
|
if attributes.key?(:'last')
|
122
114
|
self.last = attributes[:'last']
|
123
115
|
end
|
@@ -151,12 +143,22 @@ module MailSlurpClient
|
|
151
143
|
# @return Array for valid properties with the reasons
|
152
144
|
def list_invalid_properties
|
153
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
|
+
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_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
160
162
|
true
|
161
163
|
end
|
162
164
|
|
@@ -167,9 +169,8 @@ module MailSlurpClient
|
|
167
169
|
self.class == o.class &&
|
168
170
|
content == o.content &&
|
169
171
|
pageable == o.pageable &&
|
170
|
-
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
173
174
|
last == o.last &&
|
174
175
|
number_of_elements == o.number_of_elements &&
|
175
176
|
first == o.first &&
|
@@ -188,7 +189,7 @@ module MailSlurpClient
|
|
188
189
|
# Calculates hash code according to all attributes.
|
189
190
|
# @return [Integer] Hash code
|
190
191
|
def hash
|
191
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
192
193
|
end
|
193
194
|
|
194
195
|
# Builds the object from hash
|
@@ -19,12 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total_pages
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :last
|
29
27
|
|
30
28
|
attr_accessor :number_of_elements
|
@@ -44,9 +42,8 @@ module MailSlurpClient
|
|
44
42
|
{
|
45
43
|
:'content' => :'content',
|
46
44
|
:'pageable' => :'pageable',
|
47
|
-
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
50
47
|
:'last' => :'last',
|
51
48
|
:'number_of_elements' => :'numberOfElements',
|
52
49
|
:'first' => :'first',
|
@@ -62,9 +59,8 @@ module MailSlurpClient
|
|
62
59
|
{
|
63
60
|
:'content' => :'Array<DeliveryStatusDto>',
|
64
61
|
:'pageable' => :'PageableObject',
|
65
|
-
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
68
64
|
:'last' => :'Boolean',
|
69
65
|
:'number_of_elements' => :'Integer',
|
70
66
|
:'first' => :'Boolean',
|
@@ -106,18 +102,14 @@ module MailSlurpClient
|
|
106
102
|
self.pageable = attributes[:'pageable']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'total_pages')
|
106
|
+
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'total_elements')
|
114
110
|
self.total_elements = attributes[:'total_elements']
|
115
111
|
end
|
116
112
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
113
|
if attributes.key?(:'last')
|
122
114
|
self.last = attributes[:'last']
|
123
115
|
end
|
@@ -151,12 +143,22 @@ module MailSlurpClient
|
|
151
143
|
# @return Array for valid properties with the reasons
|
152
144
|
def list_invalid_properties
|
153
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
|
+
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_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
160
162
|
true
|
161
163
|
end
|
162
164
|
|
@@ -167,9 +169,8 @@ module MailSlurpClient
|
|
167
169
|
self.class == o.class &&
|
168
170
|
content == o.content &&
|
169
171
|
pageable == o.pageable &&
|
170
|
-
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
173
174
|
last == o.last &&
|
174
175
|
number_of_elements == o.number_of_elements &&
|
175
176
|
first == o.first &&
|
@@ -188,7 +189,7 @@ module MailSlurpClient
|
|
188
189
|
# Calculates hash code according to all attributes.
|
189
190
|
# @return [Integer] Hash code
|
190
191
|
def hash
|
191
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
192
193
|
end
|
193
194
|
|
194
195
|
# Builds the object from hash
|
@@ -19,12 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total_pages
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :last
|
29
27
|
|
30
28
|
attr_accessor :number_of_elements
|
@@ -44,9 +42,8 @@ module MailSlurpClient
|
|
44
42
|
{
|
45
43
|
:'content' => :'content',
|
46
44
|
:'pageable' => :'pageable',
|
47
|
-
:'total' => :'total',
|
48
|
-
:'total_elements' => :'totalElements',
|
49
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
50
47
|
:'last' => :'last',
|
51
48
|
:'number_of_elements' => :'numberOfElements',
|
52
49
|
:'first' => :'first',
|
@@ -62,9 +59,8 @@ module MailSlurpClient
|
|
62
59
|
{
|
63
60
|
:'content' => :'Array<EmailPreview>',
|
64
61
|
:'pageable' => :'PageableObject',
|
65
|
-
:'total' => :'Integer',
|
66
|
-
:'total_elements' => :'Integer',
|
67
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
68
64
|
:'last' => :'Boolean',
|
69
65
|
:'number_of_elements' => :'Integer',
|
70
66
|
:'first' => :'Boolean',
|
@@ -106,18 +102,14 @@ module MailSlurpClient
|
|
106
102
|
self.pageable = attributes[:'pageable']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'total_pages')
|
106
|
+
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'total_elements')
|
114
110
|
self.total_elements = attributes[:'total_elements']
|
115
111
|
end
|
116
112
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
113
|
if attributes.key?(:'last')
|
122
114
|
self.last = attributes[:'last']
|
123
115
|
end
|
@@ -151,12 +143,22 @@ module MailSlurpClient
|
|
151
143
|
# @return Array for valid properties with the reasons
|
152
144
|
def list_invalid_properties
|
153
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
|
+
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_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
160
162
|
true
|
161
163
|
end
|
162
164
|
|
@@ -167,9 +169,8 @@ module MailSlurpClient
|
|
167
169
|
self.class == o.class &&
|
168
170
|
content == o.content &&
|
169
171
|
pageable == o.pageable &&
|
170
|
-
total == o.total &&
|
171
|
-
total_elements == o.total_elements &&
|
172
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
173
174
|
last == o.last &&
|
174
175
|
number_of_elements == o.number_of_elements &&
|
175
176
|
first == o.first &&
|
@@ -188,7 +189,7 @@ module MailSlurpClient
|
|
188
189
|
# Calculates hash code according to all attributes.
|
189
190
|
# @return [Integer] Hash code
|
190
191
|
def hash
|
191
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
192
193
|
end
|
193
194
|
|
194
195
|
# Builds the object from hash
|