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