mailslurp_client 15.13.7 → 15.13.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/api/webhook_controller_api.rb +87 -2
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +2 -2
- data/lib/mailslurp_client/models/alias_projection.rb +27 -27
- data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
- data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
- data/lib/mailslurp_client/models/bounce_recipient_projection.rb +13 -13
- data/lib/mailslurp_client/models/create_webhook_options.rb +2 -2
- data/lib/mailslurp_client/models/page_alias.rb +19 -19
- data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_complaint.rb +19 -19
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_delivery_status.rb +19 -19
- data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
- data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
- 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 +19 -19
- data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
- data/lib/mailslurp_client/models/phone_number_projection.rb +19 -19
- data/lib/mailslurp_client/models/template_projection.rb +15 -15
- data/lib/mailslurp_client/models/thread_projection.rb +16 -16
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/webhook_bounce_payload.rb +4 -2
- data/lib/mailslurp_client/models/webhook_bounce_recipient_payload.rb +2 -2
- data/lib/mailslurp_client/models/webhook_dto.rb +2 -2
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +3 -3
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +3 -3
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +2 -2
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +17 -2
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +3 -3
- data/lib/mailslurp_client/models/webhook_projection.rb +12 -3
- data/lib/mailslurp_client/models/webhook_result_dto.rb +2 -2
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
@@ -21,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :last
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :last
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
33
33
|
|
34
34
|
attr_accessor :sort
|
35
35
|
|
36
|
-
attr_accessor :first
|
37
|
-
|
38
36
|
attr_accessor :number_of_elements
|
39
37
|
|
38
|
+
attr_accessor :first
|
39
|
+
|
40
40
|
attr_accessor :empty
|
41
41
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,14 +45,14 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'last' => :'last',
|
49
48
|
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
54
|
-
:'first' => :'first',
|
55
54
|
:'number_of_elements' => :'numberOfElements',
|
55
|
+
:'first' => :'first',
|
56
56
|
:'empty' => :'empty'
|
57
57
|
}
|
58
58
|
end
|
@@ -63,14 +63,14 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<MissedEmailProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'last' => :'Boolean',
|
67
66
|
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
72
|
-
:'first' => :'Boolean',
|
73
72
|
:'number_of_elements' => :'Integer',
|
73
|
+
:'first' => :'Boolean',
|
74
74
|
:'empty' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
@@ -110,10 +110,6 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'last')
|
114
|
-
self.last = attributes[:'last']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
@@ -122,6 +118,10 @@ module MailSlurpClient
|
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'last')
|
122
|
+
self.last = attributes[:'last']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -134,14 +134,14 @@ module MailSlurpClient
|
|
134
134
|
self.sort = attributes[:'sort']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'first')
|
138
|
-
self.first = attributes[:'first']
|
139
|
-
end
|
140
|
-
|
141
137
|
if attributes.key?(:'number_of_elements')
|
142
138
|
self.number_of_elements = attributes[:'number_of_elements']
|
143
139
|
end
|
144
140
|
|
141
|
+
if attributes.key?(:'first')
|
142
|
+
self.first = attributes[:'first']
|
143
|
+
end
|
144
|
+
|
145
145
|
if attributes.key?(:'empty')
|
146
146
|
self.empty = attributes[:'empty']
|
147
147
|
end
|
@@ -168,14 +168,14 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
last == o.last &&
|
172
171
|
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
177
|
-
first == o.first &&
|
178
177
|
number_of_elements == o.number_of_elements &&
|
178
|
+
first == o.first &&
|
179
179
|
empty == o.empty
|
180
180
|
end
|
181
181
|
|
@@ -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,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :last
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :last
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
33
33
|
|
34
34
|
attr_accessor :sort
|
35
35
|
|
36
|
-
attr_accessor :first
|
37
|
-
|
38
36
|
attr_accessor :number_of_elements
|
39
37
|
|
38
|
+
attr_accessor :first
|
39
|
+
|
40
40
|
attr_accessor :empty
|
41
41
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,14 +45,14 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'last' => :'last',
|
49
48
|
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
54
|
-
:'first' => :'first',
|
55
54
|
:'number_of_elements' => :'numberOfElements',
|
55
|
+
:'first' => :'first',
|
56
56
|
:'empty' => :'empty'
|
57
57
|
}
|
58
58
|
end
|
@@ -63,14 +63,14 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<OrganizationInboxProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'last' => :'Boolean',
|
67
66
|
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
72
|
-
:'first' => :'Boolean',
|
73
72
|
:'number_of_elements' => :'Integer',
|
73
|
+
:'first' => :'Boolean',
|
74
74
|
:'empty' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
@@ -110,10 +110,6 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'last')
|
114
|
-
self.last = attributes[:'last']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
@@ -122,6 +118,10 @@ module MailSlurpClient
|
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'last')
|
122
|
+
self.last = attributes[:'last']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -134,14 +134,14 @@ module MailSlurpClient
|
|
134
134
|
self.sort = attributes[:'sort']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'first')
|
138
|
-
self.first = attributes[:'first']
|
139
|
-
end
|
140
|
-
|
141
137
|
if attributes.key?(:'number_of_elements')
|
142
138
|
self.number_of_elements = attributes[:'number_of_elements']
|
143
139
|
end
|
144
140
|
|
141
|
+
if attributes.key?(:'first')
|
142
|
+
self.first = attributes[:'first']
|
143
|
+
end
|
144
|
+
|
145
145
|
if attributes.key?(:'empty')
|
146
146
|
self.empty = attributes[:'empty']
|
147
147
|
end
|
@@ -168,14 +168,14 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
last == o.last &&
|
172
171
|
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
177
|
-
first == o.first &&
|
178
177
|
number_of_elements == o.number_of_elements &&
|
178
|
+
first == o.first &&
|
179
179
|
empty == o.empty
|
180
180
|
end
|
181
181
|
|
@@ -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,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -21,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
-
attr_accessor :last
|
25
|
-
|
26
24
|
attr_accessor :total_pages
|
27
25
|
|
28
26
|
attr_accessor :total_elements
|
29
27
|
|
28
|
+
attr_accessor :last
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
33
33
|
|
34
34
|
attr_accessor :sort
|
35
35
|
|
36
|
-
attr_accessor :first
|
37
|
-
|
38
36
|
attr_accessor :number_of_elements
|
39
37
|
|
38
|
+
attr_accessor :first
|
39
|
+
|
40
40
|
attr_accessor :empty
|
41
41
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,14 +45,14 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
-
:'last' => :'last',
|
49
48
|
:'total_pages' => :'totalPages',
|
50
49
|
:'total_elements' => :'totalElements',
|
50
|
+
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
54
|
-
:'first' => :'first',
|
55
54
|
:'number_of_elements' => :'numberOfElements',
|
55
|
+
:'first' => :'first',
|
56
56
|
:'empty' => :'empty'
|
57
57
|
}
|
58
58
|
end
|
@@ -63,14 +63,14 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<PhoneNumberProjection>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
-
:'last' => :'Boolean',
|
67
66
|
:'total_pages' => :'Integer',
|
68
67
|
:'total_elements' => :'Integer',
|
68
|
+
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
72
|
-
:'first' => :'Boolean',
|
73
72
|
:'number_of_elements' => :'Integer',
|
73
|
+
:'first' => :'Boolean',
|
74
74
|
:'empty' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
@@ -110,10 +110,6 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'last')
|
114
|
-
self.last = attributes[:'last']
|
115
|
-
end
|
116
|
-
|
117
113
|
if attributes.key?(:'total_pages')
|
118
114
|
self.total_pages = attributes[:'total_pages']
|
119
115
|
end
|
@@ -122,6 +118,10 @@ module MailSlurpClient
|
|
122
118
|
self.total_elements = attributes[:'total_elements']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'last')
|
122
|
+
self.last = attributes[:'last']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -134,14 +134,14 @@ module MailSlurpClient
|
|
134
134
|
self.sort = attributes[:'sort']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'first')
|
138
|
-
self.first = attributes[:'first']
|
139
|
-
end
|
140
|
-
|
141
137
|
if attributes.key?(:'number_of_elements')
|
142
138
|
self.number_of_elements = attributes[:'number_of_elements']
|
143
139
|
end
|
144
140
|
|
141
|
+
if attributes.key?(:'first')
|
142
|
+
self.first = attributes[:'first']
|
143
|
+
end
|
144
|
+
|
145
145
|
if attributes.key?(:'empty')
|
146
146
|
self.empty = attributes[:'empty']
|
147
147
|
end
|
@@ -168,14 +168,14 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
-
last == o.last &&
|
172
171
|
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
177
|
-
first == o.first &&
|
178
177
|
number_of_elements == o.number_of_elements &&
|
178
|
+
first == o.first &&
|
179
179
|
empty == o.empty
|
180
180
|
end
|
181
181
|
|
@@ -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,
|
191
|
+
[content, pageable, total, total_pages, total_elements, last, size, number, sort, number_of_elements, first, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -28,12 +28,12 @@ module MailSlurpClient
|
|
28
28
|
# Page number starting at 0
|
29
29
|
attr_accessor :number
|
30
30
|
|
31
|
-
# Total number of pages available
|
32
|
-
attr_accessor :total_pages
|
33
|
-
|
34
31
|
# Number of items returned
|
35
32
|
attr_accessor :number_of_elements
|
36
33
|
|
34
|
+
# Total number of pages available
|
35
|
+
attr_accessor :total_pages
|
36
|
+
|
37
37
|
# Total number of items available for querying
|
38
38
|
attr_accessor :total_elements
|
39
39
|
|
@@ -53,8 +53,8 @@ module MailSlurpClient
|
|
53
53
|
:'total' => :'total',
|
54
54
|
:'size' => :'size',
|
55
55
|
:'number' => :'number',
|
56
|
-
:'total_pages' => :'totalPages',
|
57
56
|
:'number_of_elements' => :'numberOfElements',
|
57
|
+
:'total_pages' => :'totalPages',
|
58
58
|
:'total_elements' => :'totalElements',
|
59
59
|
:'last' => :'last',
|
60
60
|
:'sort' => :'sort',
|
@@ -71,8 +71,8 @@ module MailSlurpClient
|
|
71
71
|
:'total' => :'Integer',
|
72
72
|
:'size' => :'Integer',
|
73
73
|
:'number' => :'Integer',
|
74
|
-
:'total_pages' => :'Integer',
|
75
74
|
:'number_of_elements' => :'Integer',
|
75
|
+
:'total_pages' => :'Integer',
|
76
76
|
:'total_elements' => :'Integer',
|
77
77
|
:'last' => :'Boolean',
|
78
78
|
:'sort' => :'Sort',
|
@@ -124,14 +124,14 @@ module MailSlurpClient
|
|
124
124
|
self.number = attributes[:'number']
|
125
125
|
end
|
126
126
|
|
127
|
-
if attributes.key?(:'total_pages')
|
128
|
-
self.total_pages = attributes[:'total_pages']
|
129
|
-
end
|
130
|
-
|
131
127
|
if attributes.key?(:'number_of_elements')
|
132
128
|
self.number_of_elements = attributes[:'number_of_elements']
|
133
129
|
end
|
134
130
|
|
131
|
+
if attributes.key?(:'total_pages')
|
132
|
+
self.total_pages = attributes[:'total_pages']
|
133
|
+
end
|
134
|
+
|
135
135
|
if attributes.key?(:'total_elements')
|
136
136
|
self.total_elements = attributes[:'total_elements']
|
137
137
|
end
|
@@ -169,14 +169,14 @@ module MailSlurpClient
|
|
169
169
|
invalid_properties.push('invalid value for "number", number cannot be nil.')
|
170
170
|
end
|
171
171
|
|
172
|
-
if @total_pages.nil?
|
173
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
174
|
-
end
|
175
|
-
|
176
172
|
if @number_of_elements.nil?
|
177
173
|
invalid_properties.push('invalid value for "number_of_elements", number_of_elements cannot be nil.')
|
178
174
|
end
|
179
175
|
|
176
|
+
if @total_pages.nil?
|
177
|
+
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
178
|
+
end
|
179
|
+
|
180
180
|
if @total_elements.nil?
|
181
181
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
182
182
|
end
|
@@ -190,8 +190,8 @@ module MailSlurpClient
|
|
190
190
|
return false if @content.nil?
|
191
191
|
return false if @size.nil?
|
192
192
|
return false if @number.nil?
|
193
|
-
return false if @total_pages.nil?
|
194
193
|
return false if @number_of_elements.nil?
|
194
|
+
return false if @total_pages.nil?
|
195
195
|
return false if @total_elements.nil?
|
196
196
|
true
|
197
197
|
end
|
@@ -206,8 +206,8 @@ module MailSlurpClient
|
|
206
206
|
total == o.total &&
|
207
207
|
size == o.size &&
|
208
208
|
number == o.number &&
|
209
|
-
total_pages == o.total_pages &&
|
210
209
|
number_of_elements == o.number_of_elements &&
|
210
|
+
total_pages == o.total_pages &&
|
211
211
|
total_elements == o.total_elements &&
|
212
212
|
last == o.last &&
|
213
213
|
sort == o.sort &&
|
@@ -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,
|
227
|
+
[content, pageable, total, size, number, number_of_elements, total_pages, total_elements, last, sort, first, empty].hash
|
228
228
|
end
|
229
229
|
|
230
230
|
# Builds the object from hash
|
@@ -28,12 +28,12 @@ module MailSlurpClient
|
|
28
28
|
# Page number starting at 0
|
29
29
|
attr_accessor :number
|
30
30
|
|
31
|
-
# Total number of pages available
|
32
|
-
attr_accessor :total_pages
|
33
|
-
|
34
31
|
# Number of items returned
|
35
32
|
attr_accessor :number_of_elements
|
36
33
|
|
34
|
+
# Total number of pages available
|
35
|
+
attr_accessor :total_pages
|
36
|
+
|
37
37
|
# Total number of items available for querying
|
38
38
|
attr_accessor :total_elements
|
39
39
|
|
@@ -53,8 +53,8 @@ module MailSlurpClient
|
|
53
53
|
:'total' => :'total',
|
54
54
|
:'size' => :'size',
|
55
55
|
:'number' => :'number',
|
56
|
-
:'total_pages' => :'totalPages',
|
57
56
|
:'number_of_elements' => :'numberOfElements',
|
57
|
+
:'total_pages' => :'totalPages',
|
58
58
|
:'total_elements' => :'totalElements',
|
59
59
|
:'last' => :'last',
|
60
60
|
:'sort' => :'sort',
|
@@ -71,8 +71,8 @@ module MailSlurpClient
|
|
71
71
|
:'total' => :'Integer',
|
72
72
|
:'size' => :'Integer',
|
73
73
|
:'number' => :'Integer',
|
74
|
-
:'total_pages' => :'Integer',
|
75
74
|
:'number_of_elements' => :'Integer',
|
75
|
+
:'total_pages' => :'Integer',
|
76
76
|
:'total_elements' => :'Integer',
|
77
77
|
:'last' => :'Boolean',
|
78
78
|
:'sort' => :'Sort',
|
@@ -124,14 +124,14 @@ module MailSlurpClient
|
|
124
124
|
self.number = attributes[:'number']
|
125
125
|
end
|
126
126
|
|
127
|
-
if attributes.key?(:'total_pages')
|
128
|
-
self.total_pages = attributes[:'total_pages']
|
129
|
-
end
|
130
|
-
|
131
127
|
if attributes.key?(:'number_of_elements')
|
132
128
|
self.number_of_elements = attributes[:'number_of_elements']
|
133
129
|
end
|
134
130
|
|
131
|
+
if attributes.key?(:'total_pages')
|
132
|
+
self.total_pages = attributes[:'total_pages']
|
133
|
+
end
|
134
|
+
|
135
135
|
if attributes.key?(:'total_elements')
|
136
136
|
self.total_elements = attributes[:'total_elements']
|
137
137
|
end
|
@@ -169,14 +169,14 @@ module MailSlurpClient
|
|
169
169
|
invalid_properties.push('invalid value for "number", number cannot be nil.')
|
170
170
|
end
|
171
171
|
|
172
|
-
if @total_pages.nil?
|
173
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
174
|
-
end
|
175
|
-
|
176
172
|
if @number_of_elements.nil?
|
177
173
|
invalid_properties.push('invalid value for "number_of_elements", number_of_elements cannot be nil.')
|
178
174
|
end
|
179
175
|
|
176
|
+
if @total_pages.nil?
|
177
|
+
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
178
|
+
end
|
179
|
+
|
180
180
|
if @total_elements.nil?
|
181
181
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
182
182
|
end
|
@@ -190,8 +190,8 @@ module MailSlurpClient
|
|
190
190
|
return false if @content.nil?
|
191
191
|
return false if @size.nil?
|
192
192
|
return false if @number.nil?
|
193
|
-
return false if @total_pages.nil?
|
194
193
|
return false if @number_of_elements.nil?
|
194
|
+
return false if @total_pages.nil?
|
195
195
|
return false if @total_elements.nil?
|
196
196
|
true
|
197
197
|
end
|
@@ -206,8 +206,8 @@ module MailSlurpClient
|
|
206
206
|
total == o.total &&
|
207
207
|
size == o.size &&
|
208
208
|
number == o.number &&
|
209
|
-
total_pages == o.total_pages &&
|
210
209
|
number_of_elements == o.number_of_elements &&
|
210
|
+
total_pages == o.total_pages &&
|
211
211
|
total_elements == o.total_elements &&
|
212
212
|
last == o.last &&
|
213
213
|
sort == o.sort &&
|
@@ -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,
|
227
|
+
[content, pageable, total, size, number, number_of_elements, total_pages, total_elements, last, sort, first, empty].hash
|
228
228
|
end
|
229
229
|
|
230
230
|
# Builds the object from hash
|