mailslurp_client 15.13.1 → 15.13.2
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/phone_controller_api.rb +10 -0
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_alias.rb +10 -10
- data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
- data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
- data/lib/mailslurp_client/models/page_complaint.rb +10 -10
- data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
- data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
- data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
- data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
- data/lib/mailslurp_client/models/sent_email_projection.rb +26 -26
- data/lib/mailslurp_client/models/sort.rb +13 -13
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -31,12 +31,12 @@ module MailSlurpClient
|
|
31
31
|
# Number of items returned
|
32
32
|
attr_accessor :number_of_elements
|
33
33
|
|
34
|
-
# Total number of pages available
|
35
|
-
attr_accessor :total_pages
|
36
|
-
|
37
34
|
# Total number of items available for querying
|
38
35
|
attr_accessor :total_elements
|
39
36
|
|
37
|
+
# Total number of pages available
|
38
|
+
attr_accessor :total_pages
|
39
|
+
|
40
40
|
attr_accessor :last
|
41
41
|
|
42
42
|
attr_accessor :sort
|
@@ -54,8 +54,8 @@ module MailSlurpClient
|
|
54
54
|
:'size' => :'size',
|
55
55
|
:'number' => :'number',
|
56
56
|
:'number_of_elements' => :'numberOfElements',
|
57
|
-
:'total_pages' => :'totalPages',
|
58
57
|
:'total_elements' => :'totalElements',
|
58
|
+
:'total_pages' => :'totalPages',
|
59
59
|
:'last' => :'last',
|
60
60
|
:'sort' => :'sort',
|
61
61
|
:'first' => :'first',
|
@@ -72,8 +72,8 @@ module MailSlurpClient
|
|
72
72
|
:'size' => :'Integer',
|
73
73
|
:'number' => :'Integer',
|
74
74
|
:'number_of_elements' => :'Integer',
|
75
|
-
:'total_pages' => :'Integer',
|
76
75
|
:'total_elements' => :'Integer',
|
76
|
+
:'total_pages' => :'Integer',
|
77
77
|
:'last' => :'Boolean',
|
78
78
|
:'sort' => :'Sort',
|
79
79
|
:'first' => :'Boolean',
|
@@ -128,14 +128,14 @@ module MailSlurpClient
|
|
128
128
|
self.number_of_elements = attributes[:'number_of_elements']
|
129
129
|
end
|
130
130
|
|
131
|
-
if attributes.key?(:'total_pages')
|
132
|
-
self.total_pages = attributes[:'total_pages']
|
133
|
-
end
|
134
|
-
|
135
131
|
if attributes.key?(:'total_elements')
|
136
132
|
self.total_elements = attributes[:'total_elements']
|
137
133
|
end
|
138
134
|
|
135
|
+
if attributes.key?(:'total_pages')
|
136
|
+
self.total_pages = attributes[:'total_pages']
|
137
|
+
end
|
138
|
+
|
139
139
|
if attributes.key?(:'last')
|
140
140
|
self.last = attributes[:'last']
|
141
141
|
end
|
@@ -173,14 +173,14 @@ module MailSlurpClient
|
|
173
173
|
invalid_properties.push('invalid value for "number_of_elements", number_of_elements cannot be nil.')
|
174
174
|
end
|
175
175
|
|
176
|
-
if @total_pages.nil?
|
177
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
178
|
-
end
|
179
|
-
|
180
176
|
if @total_elements.nil?
|
181
177
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
182
178
|
end
|
183
179
|
|
180
|
+
if @total_pages.nil?
|
181
|
+
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
182
|
+
end
|
183
|
+
|
184
184
|
invalid_properties
|
185
185
|
end
|
186
186
|
|
@@ -191,8 +191,8 @@ module MailSlurpClient
|
|
191
191
|
return false if @size.nil?
|
192
192
|
return false if @number.nil?
|
193
193
|
return false if @number_of_elements.nil?
|
194
|
-
return false if @total_pages.nil?
|
195
194
|
return false if @total_elements.nil?
|
195
|
+
return false if @total_pages.nil?
|
196
196
|
true
|
197
197
|
end
|
198
198
|
|
@@ -207,8 +207,8 @@ module MailSlurpClient
|
|
207
207
|
size == o.size &&
|
208
208
|
number == o.number &&
|
209
209
|
number_of_elements == o.number_of_elements &&
|
210
|
-
total_pages == o.total_pages &&
|
211
210
|
total_elements == o.total_elements &&
|
211
|
+
total_pages == o.total_pages &&
|
212
212
|
last == o.last &&
|
213
213
|
sort == o.sort &&
|
214
214
|
first == o.first &&
|
@@ -224,7 +224,7 @@ module MailSlurpClient
|
|
224
224
|
# Calculates hash code according to all attributes.
|
225
225
|
# @return [Integer] Hash code
|
226
226
|
def hash
|
227
|
-
[content, pageable, total, size, number, number_of_elements,
|
227
|
+
[content, pageable, total, size, number, number_of_elements, total_elements, total_pages, last, sort, first, empty].hash
|
228
228
|
end
|
229
229
|
|
230
230
|
# Builds the object from hash
|
@@ -31,12 +31,12 @@ module MailSlurpClient
|
|
31
31
|
# Number of items returned
|
32
32
|
attr_accessor :number_of_elements
|
33
33
|
|
34
|
-
# Total number of pages available
|
35
|
-
attr_accessor :total_pages
|
36
|
-
|
37
34
|
# Total number of items available for querying
|
38
35
|
attr_accessor :total_elements
|
39
36
|
|
37
|
+
# Total number of pages available
|
38
|
+
attr_accessor :total_pages
|
39
|
+
|
40
40
|
attr_accessor :last
|
41
41
|
|
42
42
|
attr_accessor :sort
|
@@ -54,8 +54,8 @@ module MailSlurpClient
|
|
54
54
|
:'size' => :'size',
|
55
55
|
:'number' => :'number',
|
56
56
|
:'number_of_elements' => :'numberOfElements',
|
57
|
-
:'total_pages' => :'totalPages',
|
58
57
|
:'total_elements' => :'totalElements',
|
58
|
+
:'total_pages' => :'totalPages',
|
59
59
|
:'last' => :'last',
|
60
60
|
:'sort' => :'sort',
|
61
61
|
:'first' => :'first',
|
@@ -72,8 +72,8 @@ module MailSlurpClient
|
|
72
72
|
:'size' => :'Integer',
|
73
73
|
:'number' => :'Integer',
|
74
74
|
:'number_of_elements' => :'Integer',
|
75
|
-
:'total_pages' => :'Integer',
|
76
75
|
:'total_elements' => :'Integer',
|
76
|
+
:'total_pages' => :'Integer',
|
77
77
|
:'last' => :'Boolean',
|
78
78
|
:'sort' => :'Sort',
|
79
79
|
:'first' => :'Boolean',
|
@@ -128,14 +128,14 @@ module MailSlurpClient
|
|
128
128
|
self.number_of_elements = attributes[:'number_of_elements']
|
129
129
|
end
|
130
130
|
|
131
|
-
if attributes.key?(:'total_pages')
|
132
|
-
self.total_pages = attributes[:'total_pages']
|
133
|
-
end
|
134
|
-
|
135
131
|
if attributes.key?(:'total_elements')
|
136
132
|
self.total_elements = attributes[:'total_elements']
|
137
133
|
end
|
138
134
|
|
135
|
+
if attributes.key?(:'total_pages')
|
136
|
+
self.total_pages = attributes[:'total_pages']
|
137
|
+
end
|
138
|
+
|
139
139
|
if attributes.key?(:'last')
|
140
140
|
self.last = attributes[:'last']
|
141
141
|
end
|
@@ -173,14 +173,14 @@ module MailSlurpClient
|
|
173
173
|
invalid_properties.push('invalid value for "number_of_elements", number_of_elements cannot be nil.')
|
174
174
|
end
|
175
175
|
|
176
|
-
if @total_pages.nil?
|
177
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
178
|
-
end
|
179
|
-
|
180
176
|
if @total_elements.nil?
|
181
177
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
182
178
|
end
|
183
179
|
|
180
|
+
if @total_pages.nil?
|
181
|
+
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
182
|
+
end
|
183
|
+
|
184
184
|
invalid_properties
|
185
185
|
end
|
186
186
|
|
@@ -191,8 +191,8 @@ module MailSlurpClient
|
|
191
191
|
return false if @size.nil?
|
192
192
|
return false if @number.nil?
|
193
193
|
return false if @number_of_elements.nil?
|
194
|
-
return false if @total_pages.nil?
|
195
194
|
return false if @total_elements.nil?
|
195
|
+
return false if @total_pages.nil?
|
196
196
|
true
|
197
197
|
end
|
198
198
|
|
@@ -207,8 +207,8 @@ module MailSlurpClient
|
|
207
207
|
size == o.size &&
|
208
208
|
number == o.number &&
|
209
209
|
number_of_elements == o.number_of_elements &&
|
210
|
-
total_pages == o.total_pages &&
|
211
210
|
total_elements == o.total_elements &&
|
211
|
+
total_pages == o.total_pages &&
|
212
212
|
last == o.last &&
|
213
213
|
sort == o.sort &&
|
214
214
|
first == o.first &&
|
@@ -224,7 +224,7 @@ module MailSlurpClient
|
|
224
224
|
# Calculates hash code according to all attributes.
|
225
225
|
# @return [Integer] Hash code
|
226
226
|
def hash
|
227
|
-
[content, pageable, total, size, number, number_of_elements,
|
227
|
+
[content, pageable, total, size, number, number_of_elements, total_elements, total_pages, last, sort, first, empty].hash
|
228
228
|
end
|
229
229
|
|
230
230
|
# Builds the object from hash
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_pages
|
27
|
-
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :total_pages
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'total_pages' => :'totalPages',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'total_pages' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_pages')
|
118
|
-
self.total_pages = attributes[:'total_pages']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_elements')
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_pages')
|
122
|
+
self.total_pages = attributes[:'total_pages']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total, last,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|