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<PhoneNumberProjection>',
|
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<ScheduledJob>',
|
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
|
@@ -15,31 +15,23 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Paginated sent email results. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls.
|
17
17
|
class PageSentEmailProjection
|
18
|
-
# Collection of items
|
19
18
|
attr_accessor :content
|
20
19
|
|
21
20
|
attr_accessor :pageable
|
22
21
|
|
23
|
-
attr_accessor :
|
24
|
-
|
25
|
-
# Number of items returned
|
26
|
-
attr_accessor :number_of_elements
|
22
|
+
attr_accessor :total_pages
|
27
23
|
|
28
|
-
# Total number of items available for querying
|
29
24
|
attr_accessor :total_elements
|
30
25
|
|
31
|
-
|
32
|
-
attr_accessor :total_pages
|
26
|
+
attr_accessor :last
|
33
27
|
|
34
|
-
|
35
|
-
attr_accessor :size
|
28
|
+
attr_accessor :number_of_elements
|
36
29
|
|
37
|
-
|
38
|
-
attr_accessor :number
|
30
|
+
attr_accessor :first
|
39
31
|
|
40
|
-
attr_accessor :
|
32
|
+
attr_accessor :size
|
41
33
|
|
42
|
-
attr_accessor :
|
34
|
+
attr_accessor :number
|
43
35
|
|
44
36
|
attr_accessor :sort
|
45
37
|
|
@@ -50,14 +42,13 @@ module MailSlurpClient
|
|
50
42
|
{
|
51
43
|
:'content' => :'content',
|
52
44
|
:'pageable' => :'pageable',
|
53
|
-
:'total' => :'total',
|
54
|
-
:'number_of_elements' => :'numberOfElements',
|
55
|
-
:'total_elements' => :'totalElements',
|
56
45
|
:'total_pages' => :'totalPages',
|
57
|
-
:'
|
58
|
-
:'number' => :'number',
|
46
|
+
:'total_elements' => :'totalElements',
|
59
47
|
:'last' => :'last',
|
48
|
+
:'number_of_elements' => :'numberOfElements',
|
60
49
|
:'first' => :'first',
|
50
|
+
:'size' => :'size',
|
51
|
+
:'number' => :'number',
|
61
52
|
:'sort' => :'sort',
|
62
53
|
:'empty' => :'empty'
|
63
54
|
}
|
@@ -68,14 +59,13 @@ module MailSlurpClient
|
|
68
59
|
{
|
69
60
|
:'content' => :'Array<SentEmailProjection>',
|
70
61
|
:'pageable' => :'PageableObject',
|
71
|
-
:'total' => :'Integer',
|
72
|
-
:'number_of_elements' => :'Integer',
|
73
|
-
:'total_elements' => :'Integer',
|
74
62
|
:'total_pages' => :'Integer',
|
75
|
-
:'
|
76
|
-
:'number' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
77
64
|
:'last' => :'Boolean',
|
65
|
+
:'number_of_elements' => :'Integer',
|
78
66
|
:'first' => :'Boolean',
|
67
|
+
:'size' => :'Integer',
|
68
|
+
:'number' => :'Integer',
|
79
69
|
:'sort' => :'SortObject',
|
80
70
|
:'empty' => :'Boolean'
|
81
71
|
}
|
@@ -112,36 +102,32 @@ module MailSlurpClient
|
|
112
102
|
self.pageable = attributes[:'pageable']
|
113
103
|
end
|
114
104
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
117
|
-
end
|
118
|
-
|
119
|
-
if attributes.key?(:'number_of_elements')
|
120
|
-
self.number_of_elements = attributes[:'number_of_elements']
|
105
|
+
if attributes.key?(:'total_pages')
|
106
|
+
self.total_pages = attributes[:'total_pages']
|
121
107
|
end
|
122
108
|
|
123
109
|
if attributes.key?(:'total_elements')
|
124
110
|
self.total_elements = attributes[:'total_elements']
|
125
111
|
end
|
126
112
|
|
127
|
-
if attributes.key?(:'
|
128
|
-
self.
|
113
|
+
if attributes.key?(:'last')
|
114
|
+
self.last = attributes[:'last']
|
129
115
|
end
|
130
116
|
|
131
|
-
if attributes.key?(:'
|
132
|
-
self.
|
117
|
+
if attributes.key?(:'number_of_elements')
|
118
|
+
self.number_of_elements = attributes[:'number_of_elements']
|
133
119
|
end
|
134
120
|
|
135
|
-
if attributes.key?(:'
|
136
|
-
self.
|
121
|
+
if attributes.key?(:'first')
|
122
|
+
self.first = attributes[:'first']
|
137
123
|
end
|
138
124
|
|
139
|
-
if attributes.key?(:'
|
140
|
-
self.
|
125
|
+
if attributes.key?(:'size')
|
126
|
+
self.size = attributes[:'size']
|
141
127
|
end
|
142
128
|
|
143
|
-
if attributes.key?(:'
|
144
|
-
self.
|
129
|
+
if attributes.key?(:'number')
|
130
|
+
self.number = attributes[:'number']
|
145
131
|
end
|
146
132
|
|
147
133
|
if attributes.key?(:'sort')
|
@@ -157,28 +143,12 @@ module MailSlurpClient
|
|
157
143
|
# @return Array for valid properties with the reasons
|
158
144
|
def list_invalid_properties
|
159
145
|
invalid_properties = Array.new
|
160
|
-
if @content.nil?
|
161
|
-
invalid_properties.push('invalid value for "content", content cannot be nil.')
|
162
|
-
end
|
163
|
-
|
164
|
-
if @number_of_elements.nil?
|
165
|
-
invalid_properties.push('invalid value for "number_of_elements", number_of_elements cannot be nil.')
|
166
|
-
end
|
167
|
-
|
168
|
-
if @total_elements.nil?
|
169
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
170
|
-
end
|
171
|
-
|
172
146
|
if @total_pages.nil?
|
173
147
|
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
174
148
|
end
|
175
149
|
|
176
|
-
if @
|
177
|
-
invalid_properties.push('invalid value for "
|
178
|
-
end
|
179
|
-
|
180
|
-
if @number.nil?
|
181
|
-
invalid_properties.push('invalid value for "number", number cannot be nil.')
|
150
|
+
if @total_elements.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
182
152
|
end
|
183
153
|
|
184
154
|
invalid_properties
|
@@ -187,12 +157,8 @@ module MailSlurpClient
|
|
187
157
|
# Check to see if the all the properties in the model are valid
|
188
158
|
# @return true if the model is valid
|
189
159
|
def valid?
|
190
|
-
return false if @content.nil?
|
191
|
-
return false if @number_of_elements.nil?
|
192
|
-
return false if @total_elements.nil?
|
193
160
|
return false if @total_pages.nil?
|
194
|
-
return false if @
|
195
|
-
return false if @number.nil?
|
161
|
+
return false if @total_elements.nil?
|
196
162
|
true
|
197
163
|
end
|
198
164
|
|
@@ -203,14 +169,13 @@ module MailSlurpClient
|
|
203
169
|
self.class == o.class &&
|
204
170
|
content == o.content &&
|
205
171
|
pageable == o.pageable &&
|
206
|
-
total == o.total &&
|
207
|
-
number_of_elements == o.number_of_elements &&
|
208
|
-
total_elements == o.total_elements &&
|
209
172
|
total_pages == o.total_pages &&
|
210
|
-
|
211
|
-
number == o.number &&
|
173
|
+
total_elements == o.total_elements &&
|
212
174
|
last == o.last &&
|
175
|
+
number_of_elements == o.number_of_elements &&
|
213
176
|
first == o.first &&
|
177
|
+
size == o.size &&
|
178
|
+
number == o.number &&
|
214
179
|
sort == o.sort &&
|
215
180
|
empty == o.empty
|
216
181
|
end
|
@@ -224,7 +189,7 @@ module MailSlurpClient
|
|
224
189
|
# Calculates hash code according to all attributes.
|
225
190
|
# @return [Integer] Hash code
|
226
191
|
def hash
|
227
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
228
193
|
end
|
229
194
|
|
230
195
|
# Builds the object from hash
|
@@ -15,31 +15,23 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Paginated sent email results for emails sent with queue. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full sent email entity use the projection ID with individual method calls.
|
17
17
|
class PageSentEmailWithQueueProjection
|
18
|
-
# Collection of items
|
19
18
|
attr_accessor :content
|
20
19
|
|
21
20
|
attr_accessor :pageable
|
22
21
|
|
23
|
-
attr_accessor :
|
24
|
-
|
25
|
-
# Number of items returned
|
26
|
-
attr_accessor :number_of_elements
|
22
|
+
attr_accessor :total_pages
|
27
23
|
|
28
|
-
# Total number of items available for querying
|
29
24
|
attr_accessor :total_elements
|
30
25
|
|
31
|
-
|
32
|
-
attr_accessor :total_pages
|
26
|
+
attr_accessor :last
|
33
27
|
|
34
|
-
|
35
|
-
attr_accessor :size
|
28
|
+
attr_accessor :number_of_elements
|
36
29
|
|
37
|
-
|
38
|
-
attr_accessor :number
|
30
|
+
attr_accessor :first
|
39
31
|
|
40
|
-
attr_accessor :
|
32
|
+
attr_accessor :size
|
41
33
|
|
42
|
-
attr_accessor :
|
34
|
+
attr_accessor :number
|
43
35
|
|
44
36
|
attr_accessor :sort
|
45
37
|
|
@@ -50,14 +42,13 @@ module MailSlurpClient
|
|
50
42
|
{
|
51
43
|
:'content' => :'content',
|
52
44
|
:'pageable' => :'pageable',
|
53
|
-
:'total' => :'total',
|
54
|
-
:'number_of_elements' => :'numberOfElements',
|
55
|
-
:'total_elements' => :'totalElements',
|
56
45
|
:'total_pages' => :'totalPages',
|
57
|
-
:'
|
58
|
-
:'number' => :'number',
|
46
|
+
:'total_elements' => :'totalElements',
|
59
47
|
:'last' => :'last',
|
48
|
+
:'number_of_elements' => :'numberOfElements',
|
60
49
|
:'first' => :'first',
|
50
|
+
:'size' => :'size',
|
51
|
+
:'number' => :'number',
|
61
52
|
:'sort' => :'sort',
|
62
53
|
:'empty' => :'empty'
|
63
54
|
}
|
@@ -68,14 +59,13 @@ module MailSlurpClient
|
|
68
59
|
{
|
69
60
|
:'content' => :'Array<SendWithQueueResult>',
|
70
61
|
:'pageable' => :'PageableObject',
|
71
|
-
:'total' => :'Integer',
|
72
|
-
:'number_of_elements' => :'Integer',
|
73
|
-
:'total_elements' => :'Integer',
|
74
62
|
:'total_pages' => :'Integer',
|
75
|
-
:'
|
76
|
-
:'number' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
77
64
|
:'last' => :'Boolean',
|
65
|
+
:'number_of_elements' => :'Integer',
|
78
66
|
:'first' => :'Boolean',
|
67
|
+
:'size' => :'Integer',
|
68
|
+
:'number' => :'Integer',
|
79
69
|
:'sort' => :'SortObject',
|
80
70
|
:'empty' => :'Boolean'
|
81
71
|
}
|
@@ -112,36 +102,32 @@ module MailSlurpClient
|
|
112
102
|
self.pageable = attributes[:'pageable']
|
113
103
|
end
|
114
104
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
117
|
-
end
|
118
|
-
|
119
|
-
if attributes.key?(:'number_of_elements')
|
120
|
-
self.number_of_elements = attributes[:'number_of_elements']
|
105
|
+
if attributes.key?(:'total_pages')
|
106
|
+
self.total_pages = attributes[:'total_pages']
|
121
107
|
end
|
122
108
|
|
123
109
|
if attributes.key?(:'total_elements')
|
124
110
|
self.total_elements = attributes[:'total_elements']
|
125
111
|
end
|
126
112
|
|
127
|
-
if attributes.key?(:'
|
128
|
-
self.
|
113
|
+
if attributes.key?(:'last')
|
114
|
+
self.last = attributes[:'last']
|
129
115
|
end
|
130
116
|
|
131
|
-
if attributes.key?(:'
|
132
|
-
self.
|
117
|
+
if attributes.key?(:'number_of_elements')
|
118
|
+
self.number_of_elements = attributes[:'number_of_elements']
|
133
119
|
end
|
134
120
|
|
135
|
-
if attributes.key?(:'
|
136
|
-
self.
|
121
|
+
if attributes.key?(:'first')
|
122
|
+
self.first = attributes[:'first']
|
137
123
|
end
|
138
124
|
|
139
|
-
if attributes.key?(:'
|
140
|
-
self.
|
125
|
+
if attributes.key?(:'size')
|
126
|
+
self.size = attributes[:'size']
|
141
127
|
end
|
142
128
|
|
143
|
-
if attributes.key?(:'
|
144
|
-
self.
|
129
|
+
if attributes.key?(:'number')
|
130
|
+
self.number = attributes[:'number']
|
145
131
|
end
|
146
132
|
|
147
133
|
if attributes.key?(:'sort')
|
@@ -157,28 +143,12 @@ module MailSlurpClient
|
|
157
143
|
# @return Array for valid properties with the reasons
|
158
144
|
def list_invalid_properties
|
159
145
|
invalid_properties = Array.new
|
160
|
-
if @content.nil?
|
161
|
-
invalid_properties.push('invalid value for "content", content cannot be nil.')
|
162
|
-
end
|
163
|
-
|
164
|
-
if @number_of_elements.nil?
|
165
|
-
invalid_properties.push('invalid value for "number_of_elements", number_of_elements cannot be nil.')
|
166
|
-
end
|
167
|
-
|
168
|
-
if @total_elements.nil?
|
169
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
170
|
-
end
|
171
|
-
|
172
146
|
if @total_pages.nil?
|
173
147
|
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
174
148
|
end
|
175
149
|
|
176
|
-
if @
|
177
|
-
invalid_properties.push('invalid value for "
|
178
|
-
end
|
179
|
-
|
180
|
-
if @number.nil?
|
181
|
-
invalid_properties.push('invalid value for "number", number cannot be nil.')
|
150
|
+
if @total_elements.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
182
152
|
end
|
183
153
|
|
184
154
|
invalid_properties
|
@@ -187,12 +157,8 @@ module MailSlurpClient
|
|
187
157
|
# Check to see if the all the properties in the model are valid
|
188
158
|
# @return true if the model is valid
|
189
159
|
def valid?
|
190
|
-
return false if @content.nil?
|
191
|
-
return false if @number_of_elements.nil?
|
192
|
-
return false if @total_elements.nil?
|
193
160
|
return false if @total_pages.nil?
|
194
|
-
return false if @
|
195
|
-
return false if @number.nil?
|
161
|
+
return false if @total_elements.nil?
|
196
162
|
true
|
197
163
|
end
|
198
164
|
|
@@ -203,14 +169,13 @@ module MailSlurpClient
|
|
203
169
|
self.class == o.class &&
|
204
170
|
content == o.content &&
|
205
171
|
pageable == o.pageable &&
|
206
|
-
total == o.total &&
|
207
|
-
number_of_elements == o.number_of_elements &&
|
208
|
-
total_elements == o.total_elements &&
|
209
172
|
total_pages == o.total_pages &&
|
210
|
-
|
211
|
-
number == o.number &&
|
173
|
+
total_elements == o.total_elements &&
|
212
174
|
last == o.last &&
|
175
|
+
number_of_elements == o.number_of_elements &&
|
213
176
|
first == o.first &&
|
177
|
+
size == o.size &&
|
178
|
+
number == o.number &&
|
214
179
|
sort == o.sort &&
|
215
180
|
empty == o.empty
|
216
181
|
end
|
@@ -224,7 +189,7 @@ module MailSlurpClient
|
|
224
189
|
# Calculates hash code according to all attributes.
|
225
190
|
# @return [Integer] Hash code
|
226
191
|
def hash
|
227
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
228
193
|
end
|
229
194
|
|
230
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<SmsProjection>',
|
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
|