mailslurp_client 15.13.2 → 15.13.5
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 +13 -13
- data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
- data/lib/mailslurp_client/models/contact_projection.rb +13 -13
- data/lib/mailslurp_client/models/email_projection.rb +40 -40
- 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/phone_number_projection.rb +15 -15
- data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/sort.rb +13 -13
- data/lib/mailslurp_client/models/template_projection.rb +20 -20
- data/lib/mailslurp_client/models/thread_projection.rb +21 -21
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/webhook_dto.rb +13 -2
- 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_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
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_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
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_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'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_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
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_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
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_pages, total_elements, 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_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
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_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
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_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'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_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
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_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
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_pages, total_elements, 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_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
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_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
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_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'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_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
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_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
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_pages, total_elements, 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_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
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_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
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_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'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_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
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_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
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_pages, total_elements, 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_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
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_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
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_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'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_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
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_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
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_pages, total_elements, 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_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
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_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
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_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'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_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
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_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
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_pages, total_elements, 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_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
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_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
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_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'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_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
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_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
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_pages, total_elements, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :user_id
|
21
21
|
|
22
|
-
attr_accessor :phone_number
|
23
|
-
|
24
22
|
attr_accessor :phone_country
|
25
23
|
|
24
|
+
attr_accessor :phone_number
|
25
|
+
|
26
26
|
attr_accessor :created_at
|
27
27
|
|
28
28
|
class EnumAttributeValidator
|
@@ -52,8 +52,8 @@ module MailSlurpClient
|
|
52
52
|
{
|
53
53
|
:'id' => :'id',
|
54
54
|
:'user_id' => :'userId',
|
55
|
-
:'phone_number' => :'phoneNumber',
|
56
55
|
:'phone_country' => :'phoneCountry',
|
56
|
+
:'phone_number' => :'phoneNumber',
|
57
57
|
:'created_at' => :'createdAt'
|
58
58
|
}
|
59
59
|
end
|
@@ -63,8 +63,8 @@ module MailSlurpClient
|
|
63
63
|
{
|
64
64
|
:'id' => :'String',
|
65
65
|
:'user_id' => :'String',
|
66
|
-
:'phone_number' => :'String',
|
67
66
|
:'phone_country' => :'String',
|
67
|
+
:'phone_number' => :'String',
|
68
68
|
:'created_at' => :'DateTime'
|
69
69
|
}
|
70
70
|
end
|
@@ -98,14 +98,14 @@ module MailSlurpClient
|
|
98
98
|
self.user_id = attributes[:'user_id']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'phone_number')
|
102
|
-
self.phone_number = attributes[:'phone_number']
|
103
|
-
end
|
104
|
-
|
105
101
|
if attributes.key?(:'phone_country')
|
106
102
|
self.phone_country = attributes[:'phone_country']
|
107
103
|
end
|
108
104
|
|
105
|
+
if attributes.key?(:'phone_number')
|
106
|
+
self.phone_number = attributes[:'phone_number']
|
107
|
+
end
|
108
|
+
|
109
109
|
if attributes.key?(:'created_at')
|
110
110
|
self.created_at = attributes[:'created_at']
|
111
111
|
end
|
@@ -123,14 +123,14 @@ module MailSlurpClient
|
|
123
123
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
124
124
|
end
|
125
125
|
|
126
|
-
if @phone_number.nil?
|
127
|
-
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
128
|
-
end
|
129
|
-
|
130
126
|
if @phone_country.nil?
|
131
127
|
invalid_properties.push('invalid value for "phone_country", phone_country cannot be nil.')
|
132
128
|
end
|
133
129
|
|
130
|
+
if @phone_number.nil?
|
131
|
+
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
132
|
+
end
|
133
|
+
|
134
134
|
if @created_at.nil?
|
135
135
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
136
136
|
end
|
@@ -143,10 +143,10 @@ module MailSlurpClient
|
|
143
143
|
def valid?
|
144
144
|
return false if @id.nil?
|
145
145
|
return false if @user_id.nil?
|
146
|
-
return false if @phone_number.nil?
|
147
146
|
return false if @phone_country.nil?
|
148
147
|
phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
|
149
148
|
return false unless phone_country_validator.valid?(@phone_country)
|
149
|
+
return false if @phone_number.nil?
|
150
150
|
return false if @created_at.nil?
|
151
151
|
true
|
152
152
|
end
|
@@ -168,8 +168,8 @@ module MailSlurpClient
|
|
168
168
|
self.class == o.class &&
|
169
169
|
id == o.id &&
|
170
170
|
user_id == o.user_id &&
|
171
|
-
phone_number == o.phone_number &&
|
172
171
|
phone_country == o.phone_country &&
|
172
|
+
phone_number == o.phone_number &&
|
173
173
|
created_at == o.created_at
|
174
174
|
end
|
175
175
|
|
@@ -182,7 +182,7 @@ module MailSlurpClient
|
|
182
182
|
# Calculates hash code according to all attributes.
|
183
183
|
# @return [Integer] Hash code
|
184
184
|
def hash
|
185
|
-
[id, user_id,
|
185
|
+
[id, user_id, phone_country, phone_number, created_at].hash
|
186
186
|
end
|
187
187
|
|
188
188
|
# Builds the object from hash
|