mailslurp_client 15.17.24 → 15.17.26
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/email_controller_api.rb +64 -0
- data/lib/mailslurp_client/api/inbox_controller_api.rb +64 -0
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/bounce_projection.rb +11 -11
- data/lib/mailslurp_client/models/connector_projection.rb +15 -15
- data/lib/mailslurp_client/models/email_projection.rb +21 -21
- data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +11 -11
- data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +11 -11
- data/lib/mailslurp_client/models/missed_email_projection.rb +11 -11
- data/lib/mailslurp_client/models/page_alias.rb +16 -17
- data/lib/mailslurp_client/models/page_attachment_entity.rb +16 -17
- data/lib/mailslurp_client/models/page_bounced_email.rb +16 -17
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +16 -17
- data/lib/mailslurp_client/models/page_complaint.rb +16 -17
- data/lib/mailslurp_client/models/page_connector.rb +16 -17
- data/lib/mailslurp_client/models/page_connector_sync_events.rb +16 -17
- data/lib/mailslurp_client/models/page_contact_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_delivery_status.rb +16 -17
- data/lib/mailslurp_client/models/page_email_preview.rb +16 -17
- data/lib/mailslurp_client/models/page_email_projection.rb +21 -12
- data/lib/mailslurp_client/models/page_email_validation_request.rb +16 -17
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_group_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +16 -17
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +16 -17
- data/lib/mailslurp_client/models/page_inbox_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +16 -17
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +16 -17
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +16 -17
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +16 -17
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +16 -17
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +69 -34
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +69 -34
- data/lib/mailslurp_client/models/page_sms_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_template_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_thread_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_webhook_projection.rb +16 -17
- data/lib/mailslurp_client/models/page_webhook_result.rb +16 -17
- data/lib/mailslurp_client/models/pageable_object.rb +10 -10
- data/lib/mailslurp_client/models/search_emails_options.rb +328 -0
- data/lib/mailslurp_client/models/search_inboxes_options.rb +376 -0
- data/lib/mailslurp_client/models/send_with_queue_result.rb +1 -0
- data/lib/mailslurp_client/models/sent_email_projection.rb +17 -16
- data/lib/mailslurp_client/models/thread_projection.rb +23 -23
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +2 -0
- metadata +4 -2
@@ -15,12 +15,12 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Inbox forwarder event
|
17
17
|
class InboxForwarderEventProjection
|
18
|
-
attr_accessor :user_id
|
19
|
-
|
20
18
|
attr_accessor :email_id
|
21
19
|
|
22
20
|
attr_accessor :inbox_id
|
23
21
|
|
22
|
+
attr_accessor :user_id
|
23
|
+
|
24
24
|
attr_accessor :forwarder_id
|
25
25
|
|
26
26
|
attr_accessor :created_at
|
@@ -56,9 +56,9 @@ module MailSlurpClient
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
57
|
def self.attribute_map
|
58
58
|
{
|
59
|
-
:'user_id' => :'userId',
|
60
59
|
:'email_id' => :'emailId',
|
61
60
|
:'inbox_id' => :'inboxId',
|
61
|
+
:'user_id' => :'userId',
|
62
62
|
:'forwarder_id' => :'forwarderId',
|
63
63
|
:'created_at' => :'createdAt',
|
64
64
|
:'message' => :'message',
|
@@ -70,9 +70,9 @@ module MailSlurpClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
-
:'user_id' => :'String',
|
74
73
|
:'email_id' => :'String',
|
75
74
|
:'inbox_id' => :'String',
|
75
|
+
:'user_id' => :'String',
|
76
76
|
:'forwarder_id' => :'String',
|
77
77
|
:'created_at' => :'DateTime',
|
78
78
|
:'message' => :'String',
|
@@ -84,9 +84,9 @@ module MailSlurpClient
|
|
84
84
|
# List of attributes with nullable: true
|
85
85
|
def self.openapi_nullable
|
86
86
|
Set.new([
|
87
|
-
:'user_id',
|
88
87
|
:'email_id',
|
89
88
|
:'inbox_id',
|
89
|
+
:'user_id',
|
90
90
|
:'forwarder_id',
|
91
91
|
:'message',
|
92
92
|
:'id',
|
@@ -109,10 +109,6 @@ module MailSlurpClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'user_id')
|
113
|
-
self.user_id = attributes[:'user_id']
|
114
|
-
end
|
115
|
-
|
116
112
|
if attributes.key?(:'email_id')
|
117
113
|
self.email_id = attributes[:'email_id']
|
118
114
|
end
|
@@ -121,6 +117,10 @@ module MailSlurpClient
|
|
121
117
|
self.inbox_id = attributes[:'inbox_id']
|
122
118
|
end
|
123
119
|
|
120
|
+
if attributes.key?(:'user_id')
|
121
|
+
self.user_id = attributes[:'user_id']
|
122
|
+
end
|
123
|
+
|
124
124
|
if attributes.key?(:'forwarder_id')
|
125
125
|
self.forwarder_id = attributes[:'forwarder_id']
|
126
126
|
end
|
@@ -177,9 +177,9 @@ module MailSlurpClient
|
|
177
177
|
def ==(o)
|
178
178
|
return true if self.equal?(o)
|
179
179
|
self.class == o.class &&
|
180
|
-
user_id == o.user_id &&
|
181
180
|
email_id == o.email_id &&
|
182
181
|
inbox_id == o.inbox_id &&
|
182
|
+
user_id == o.user_id &&
|
183
183
|
forwarder_id == o.forwarder_id &&
|
184
184
|
created_at == o.created_at &&
|
185
185
|
message == o.message &&
|
@@ -196,7 +196,7 @@ module MailSlurpClient
|
|
196
196
|
# Calculates hash code according to all attributes.
|
197
197
|
# @return [Integer] Hash code
|
198
198
|
def hash
|
199
|
-
[
|
199
|
+
[email_id, inbox_id, user_id, forwarder_id, created_at, message, id, status].hash
|
200
200
|
end
|
201
201
|
|
202
202
|
# Builds the object from hash
|
@@ -17,12 +17,12 @@ module MailSlurpClient
|
|
17
17
|
class InboxReplierEventProjection
|
18
18
|
attr_accessor :recipients
|
19
19
|
|
20
|
-
attr_accessor :user_id
|
21
|
-
|
22
20
|
attr_accessor :email_id
|
23
21
|
|
24
22
|
attr_accessor :inbox_id
|
25
23
|
|
24
|
+
attr_accessor :user_id
|
25
|
+
|
26
26
|
attr_accessor :sent_id
|
27
27
|
|
28
28
|
attr_accessor :replier_id
|
@@ -61,9 +61,9 @@ module MailSlurpClient
|
|
61
61
|
def self.attribute_map
|
62
62
|
{
|
63
63
|
:'recipients' => :'recipients',
|
64
|
-
:'user_id' => :'userId',
|
65
64
|
:'email_id' => :'emailId',
|
66
65
|
:'inbox_id' => :'inboxId',
|
66
|
+
:'user_id' => :'userId',
|
67
67
|
:'sent_id' => :'sentId',
|
68
68
|
:'replier_id' => :'replierId',
|
69
69
|
:'created_at' => :'createdAt',
|
@@ -77,9 +77,9 @@ module MailSlurpClient
|
|
77
77
|
def self.openapi_types
|
78
78
|
{
|
79
79
|
:'recipients' => :'Array<String>',
|
80
|
-
:'user_id' => :'String',
|
81
80
|
:'email_id' => :'String',
|
82
81
|
:'inbox_id' => :'String',
|
82
|
+
:'user_id' => :'String',
|
83
83
|
:'sent_id' => :'String',
|
84
84
|
:'replier_id' => :'String',
|
85
85
|
:'created_at' => :'DateTime',
|
@@ -93,9 +93,9 @@ module MailSlurpClient
|
|
93
93
|
def self.openapi_nullable
|
94
94
|
Set.new([
|
95
95
|
:'recipients',
|
96
|
-
:'user_id',
|
97
96
|
:'email_id',
|
98
97
|
:'inbox_id',
|
98
|
+
:'user_id',
|
99
99
|
:'sent_id',
|
100
100
|
:'replier_id',
|
101
101
|
:'message',
|
@@ -125,10 +125,6 @@ module MailSlurpClient
|
|
125
125
|
end
|
126
126
|
end
|
127
127
|
|
128
|
-
if attributes.key?(:'user_id')
|
129
|
-
self.user_id = attributes[:'user_id']
|
130
|
-
end
|
131
|
-
|
132
128
|
if attributes.key?(:'email_id')
|
133
129
|
self.email_id = attributes[:'email_id']
|
134
130
|
end
|
@@ -137,6 +133,10 @@ module MailSlurpClient
|
|
137
133
|
self.inbox_id = attributes[:'inbox_id']
|
138
134
|
end
|
139
135
|
|
136
|
+
if attributes.key?(:'user_id')
|
137
|
+
self.user_id = attributes[:'user_id']
|
138
|
+
end
|
139
|
+
|
140
140
|
if attributes.key?(:'sent_id')
|
141
141
|
self.sent_id = attributes[:'sent_id']
|
142
142
|
end
|
@@ -198,9 +198,9 @@ module MailSlurpClient
|
|
198
198
|
return true if self.equal?(o)
|
199
199
|
self.class == o.class &&
|
200
200
|
recipients == o.recipients &&
|
201
|
-
user_id == o.user_id &&
|
202
201
|
email_id == o.email_id &&
|
203
202
|
inbox_id == o.inbox_id &&
|
203
|
+
user_id == o.user_id &&
|
204
204
|
sent_id == o.sent_id &&
|
205
205
|
replier_id == o.replier_id &&
|
206
206
|
created_at == o.created_at &&
|
@@ -218,7 +218,7 @@ module MailSlurpClient
|
|
218
218
|
# Calculates hash code according to all attributes.
|
219
219
|
# @return [Integer] Hash code
|
220
220
|
def hash
|
221
|
-
[recipients,
|
221
|
+
[recipients, email_id, inbox_id, user_id, sent_id, replier_id, created_at, message, id, status].hash
|
222
222
|
end
|
223
223
|
|
224
224
|
# Builds the object from hash
|
@@ -15,12 +15,12 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Missed email data
|
17
17
|
class MissedEmailProjection
|
18
|
-
attr_accessor :subject
|
19
|
-
|
20
18
|
attr_accessor :user_id
|
21
19
|
|
22
20
|
attr_accessor :created_at
|
23
21
|
|
22
|
+
attr_accessor :subject
|
23
|
+
|
24
24
|
attr_accessor :id
|
25
25
|
|
26
26
|
attr_accessor :from
|
@@ -28,9 +28,9 @@ module MailSlurpClient
|
|
28
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
29
|
def self.attribute_map
|
30
30
|
{
|
31
|
-
:'subject' => :'subject',
|
32
31
|
:'user_id' => :'userId',
|
33
32
|
:'created_at' => :'createdAt',
|
33
|
+
:'subject' => :'subject',
|
34
34
|
:'id' => :'id',
|
35
35
|
:'from' => :'from'
|
36
36
|
}
|
@@ -39,9 +39,9 @@ module MailSlurpClient
|
|
39
39
|
# Attribute type mapping.
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
|
-
:'subject' => :'String',
|
43
42
|
:'user_id' => :'String',
|
44
43
|
:'created_at' => :'DateTime',
|
44
|
+
:'subject' => :'String',
|
45
45
|
:'id' => :'String',
|
46
46
|
:'from' => :'String'
|
47
47
|
}
|
@@ -50,8 +50,8 @@ module MailSlurpClient
|
|
50
50
|
# List of attributes with nullable: true
|
51
51
|
def self.openapi_nullable
|
52
52
|
Set.new([
|
53
|
-
:'subject',
|
54
53
|
:'user_id',
|
54
|
+
:'subject',
|
55
55
|
:'from'
|
56
56
|
])
|
57
57
|
end
|
@@ -71,10 +71,6 @@ module MailSlurpClient
|
|
71
71
|
h[k.to_sym] = v
|
72
72
|
}
|
73
73
|
|
74
|
-
if attributes.key?(:'subject')
|
75
|
-
self.subject = attributes[:'subject']
|
76
|
-
end
|
77
|
-
|
78
74
|
if attributes.key?(:'user_id')
|
79
75
|
self.user_id = attributes[:'user_id']
|
80
76
|
end
|
@@ -83,6 +79,10 @@ module MailSlurpClient
|
|
83
79
|
self.created_at = attributes[:'created_at']
|
84
80
|
end
|
85
81
|
|
82
|
+
if attributes.key?(:'subject')
|
83
|
+
self.subject = attributes[:'subject']
|
84
|
+
end
|
85
|
+
|
86
86
|
if attributes.key?(:'id')
|
87
87
|
self.id = attributes[:'id']
|
88
88
|
end
|
@@ -120,9 +120,9 @@ module MailSlurpClient
|
|
120
120
|
def ==(o)
|
121
121
|
return true if self.equal?(o)
|
122
122
|
self.class == o.class &&
|
123
|
-
subject == o.subject &&
|
124
123
|
user_id == o.user_id &&
|
125
124
|
created_at == o.created_at &&
|
125
|
+
subject == o.subject &&
|
126
126
|
id == o.id &&
|
127
127
|
from == o.from
|
128
128
|
end
|
@@ -136,7 +136,7 @@ module MailSlurpClient
|
|
136
136
|
# Calculates hash code according to all attributes.
|
137
137
|
# @return [Integer] Hash code
|
138
138
|
def hash
|
139
|
-
[
|
139
|
+
[user_id, created_at, subject, id, from].hash
|
140
140
|
end
|
141
141
|
|
142
142
|
# Builds the object from hash
|
@@ -19,10 +19,12 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
+
attr_accessor :total_pages
|
27
|
+
|
26
28
|
attr_accessor :last
|
27
29
|
|
28
30
|
attr_accessor :number_of_elements
|
@@ -42,8 +44,9 @@ module MailSlurpClient
|
|
42
44
|
{
|
43
45
|
:'content' => :'content',
|
44
46
|
:'pageable' => :'pageable',
|
45
|
-
:'
|
47
|
+
:'total' => :'total',
|
46
48
|
:'total_elements' => :'totalElements',
|
49
|
+
:'total_pages' => :'totalPages',
|
47
50
|
:'last' => :'last',
|
48
51
|
:'number_of_elements' => :'numberOfElements',
|
49
52
|
:'first' => :'first',
|
@@ -59,8 +62,9 @@ module MailSlurpClient
|
|
59
62
|
{
|
60
63
|
:'content' => :'Array<AliasProjection>',
|
61
64
|
:'pageable' => :'PageableObject',
|
62
|
-
:'
|
65
|
+
:'total' => :'Integer',
|
63
66
|
:'total_elements' => :'Integer',
|
67
|
+
:'total_pages' => :'Integer',
|
64
68
|
:'last' => :'Boolean',
|
65
69
|
:'number_of_elements' => :'Integer',
|
66
70
|
:'first' => :'Boolean',
|
@@ -102,14 +106,18 @@ module MailSlurpClient
|
|
102
106
|
self.pageable = attributes[:'pageable']
|
103
107
|
end
|
104
108
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
109
|
+
if attributes.key?(:'total')
|
110
|
+
self.total = attributes[:'total']
|
107
111
|
end
|
108
112
|
|
109
113
|
if attributes.key?(:'total_elements')
|
110
114
|
self.total_elements = attributes[:'total_elements']
|
111
115
|
end
|
112
116
|
|
117
|
+
if attributes.key?(:'total_pages')
|
118
|
+
self.total_pages = attributes[:'total_pages']
|
119
|
+
end
|
120
|
+
|
113
121
|
if attributes.key?(:'last')
|
114
122
|
self.last = attributes[:'last']
|
115
123
|
end
|
@@ -143,22 +151,12 @@ module MailSlurpClient
|
|
143
151
|
# @return Array for valid properties with the reasons
|
144
152
|
def list_invalid_properties
|
145
153
|
invalid_properties = Array.new
|
146
|
-
if @total_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
|
-
if @total_elements.nil?
|
151
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
|
-
end
|
153
|
-
|
154
154
|
invalid_properties
|
155
155
|
end
|
156
156
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
158
158
|
# @return true if the model is valid
|
159
159
|
def valid?
|
160
|
-
return false if @total_pages.nil?
|
161
|
-
return false if @total_elements.nil?
|
162
160
|
true
|
163
161
|
end
|
164
162
|
|
@@ -169,8 +167,9 @@ module MailSlurpClient
|
|
169
167
|
self.class == o.class &&
|
170
168
|
content == o.content &&
|
171
169
|
pageable == o.pageable &&
|
172
|
-
|
170
|
+
total == o.total &&
|
173
171
|
total_elements == o.total_elements &&
|
172
|
+
total_pages == o.total_pages &&
|
174
173
|
last == o.last &&
|
175
174
|
number_of_elements == o.number_of_elements &&
|
176
175
|
first == o.first &&
|
@@ -189,7 +188,7 @@ module MailSlurpClient
|
|
189
188
|
# Calculates hash code according to all attributes.
|
190
189
|
# @return [Integer] Hash code
|
191
190
|
def hash
|
192
|
-
[content, pageable,
|
191
|
+
[content, pageable, total, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
192
|
end
|
194
193
|
|
195
194
|
# Builds the object from hash
|
@@ -19,10 +19,12 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
+
attr_accessor :total_pages
|
27
|
+
|
26
28
|
attr_accessor :last
|
27
29
|
|
28
30
|
attr_accessor :number_of_elements
|
@@ -42,8 +44,9 @@ module MailSlurpClient
|
|
42
44
|
{
|
43
45
|
:'content' => :'content',
|
44
46
|
:'pageable' => :'pageable',
|
45
|
-
:'
|
47
|
+
:'total' => :'total',
|
46
48
|
:'total_elements' => :'totalElements',
|
49
|
+
:'total_pages' => :'totalPages',
|
47
50
|
:'last' => :'last',
|
48
51
|
:'number_of_elements' => :'numberOfElements',
|
49
52
|
:'first' => :'first',
|
@@ -59,8 +62,9 @@ module MailSlurpClient
|
|
59
62
|
{
|
60
63
|
:'content' => :'Array<AttachmentProjection>',
|
61
64
|
:'pageable' => :'PageableObject',
|
62
|
-
:'
|
65
|
+
:'total' => :'Integer',
|
63
66
|
:'total_elements' => :'Integer',
|
67
|
+
:'total_pages' => :'Integer',
|
64
68
|
:'last' => :'Boolean',
|
65
69
|
:'number_of_elements' => :'Integer',
|
66
70
|
:'first' => :'Boolean',
|
@@ -102,14 +106,18 @@ module MailSlurpClient
|
|
102
106
|
self.pageable = attributes[:'pageable']
|
103
107
|
end
|
104
108
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
109
|
+
if attributes.key?(:'total')
|
110
|
+
self.total = attributes[:'total']
|
107
111
|
end
|
108
112
|
|
109
113
|
if attributes.key?(:'total_elements')
|
110
114
|
self.total_elements = attributes[:'total_elements']
|
111
115
|
end
|
112
116
|
|
117
|
+
if attributes.key?(:'total_pages')
|
118
|
+
self.total_pages = attributes[:'total_pages']
|
119
|
+
end
|
120
|
+
|
113
121
|
if attributes.key?(:'last')
|
114
122
|
self.last = attributes[:'last']
|
115
123
|
end
|
@@ -143,22 +151,12 @@ module MailSlurpClient
|
|
143
151
|
# @return Array for valid properties with the reasons
|
144
152
|
def list_invalid_properties
|
145
153
|
invalid_properties = Array.new
|
146
|
-
if @total_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
|
-
if @total_elements.nil?
|
151
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
|
-
end
|
153
|
-
|
154
154
|
invalid_properties
|
155
155
|
end
|
156
156
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
158
158
|
# @return true if the model is valid
|
159
159
|
def valid?
|
160
|
-
return false if @total_pages.nil?
|
161
|
-
return false if @total_elements.nil?
|
162
160
|
true
|
163
161
|
end
|
164
162
|
|
@@ -169,8 +167,9 @@ module MailSlurpClient
|
|
169
167
|
self.class == o.class &&
|
170
168
|
content == o.content &&
|
171
169
|
pageable == o.pageable &&
|
172
|
-
|
170
|
+
total == o.total &&
|
173
171
|
total_elements == o.total_elements &&
|
172
|
+
total_pages == o.total_pages &&
|
174
173
|
last == o.last &&
|
175
174
|
number_of_elements == o.number_of_elements &&
|
176
175
|
first == o.first &&
|
@@ -189,7 +188,7 @@ module MailSlurpClient
|
|
189
188
|
# Calculates hash code according to all attributes.
|
190
189
|
# @return [Integer] Hash code
|
191
190
|
def hash
|
192
|
-
[content, pageable,
|
191
|
+
[content, pageable, total, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
192
|
end
|
194
193
|
|
195
194
|
# Builds the object from hash
|
@@ -19,10 +19,12 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
+
attr_accessor :total_pages
|
27
|
+
|
26
28
|
attr_accessor :last
|
27
29
|
|
28
30
|
attr_accessor :number_of_elements
|
@@ -42,8 +44,9 @@ module MailSlurpClient
|
|
42
44
|
{
|
43
45
|
:'content' => :'content',
|
44
46
|
:'pageable' => :'pageable',
|
45
|
-
:'
|
47
|
+
:'total' => :'total',
|
46
48
|
:'total_elements' => :'totalElements',
|
49
|
+
:'total_pages' => :'totalPages',
|
47
50
|
:'last' => :'last',
|
48
51
|
:'number_of_elements' => :'numberOfElements',
|
49
52
|
:'first' => :'first',
|
@@ -59,8 +62,9 @@ module MailSlurpClient
|
|
59
62
|
{
|
60
63
|
:'content' => :'Array<BounceProjection>',
|
61
64
|
:'pageable' => :'PageableObject',
|
62
|
-
:'
|
65
|
+
:'total' => :'Integer',
|
63
66
|
:'total_elements' => :'Integer',
|
67
|
+
:'total_pages' => :'Integer',
|
64
68
|
:'last' => :'Boolean',
|
65
69
|
:'number_of_elements' => :'Integer',
|
66
70
|
:'first' => :'Boolean',
|
@@ -102,14 +106,18 @@ module MailSlurpClient
|
|
102
106
|
self.pageable = attributes[:'pageable']
|
103
107
|
end
|
104
108
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
109
|
+
if attributes.key?(:'total')
|
110
|
+
self.total = attributes[:'total']
|
107
111
|
end
|
108
112
|
|
109
113
|
if attributes.key?(:'total_elements')
|
110
114
|
self.total_elements = attributes[:'total_elements']
|
111
115
|
end
|
112
116
|
|
117
|
+
if attributes.key?(:'total_pages')
|
118
|
+
self.total_pages = attributes[:'total_pages']
|
119
|
+
end
|
120
|
+
|
113
121
|
if attributes.key?(:'last')
|
114
122
|
self.last = attributes[:'last']
|
115
123
|
end
|
@@ -143,22 +151,12 @@ module MailSlurpClient
|
|
143
151
|
# @return Array for valid properties with the reasons
|
144
152
|
def list_invalid_properties
|
145
153
|
invalid_properties = Array.new
|
146
|
-
if @total_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
|
-
if @total_elements.nil?
|
151
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
|
-
end
|
153
|
-
|
154
154
|
invalid_properties
|
155
155
|
end
|
156
156
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
158
158
|
# @return true if the model is valid
|
159
159
|
def valid?
|
160
|
-
return false if @total_pages.nil?
|
161
|
-
return false if @total_elements.nil?
|
162
160
|
true
|
163
161
|
end
|
164
162
|
|
@@ -169,8 +167,9 @@ module MailSlurpClient
|
|
169
167
|
self.class == o.class &&
|
170
168
|
content == o.content &&
|
171
169
|
pageable == o.pageable &&
|
172
|
-
|
170
|
+
total == o.total &&
|
173
171
|
total_elements == o.total_elements &&
|
172
|
+
total_pages == o.total_pages &&
|
174
173
|
last == o.last &&
|
175
174
|
number_of_elements == o.number_of_elements &&
|
176
175
|
first == o.first &&
|
@@ -189,7 +188,7 @@ module MailSlurpClient
|
|
189
188
|
# Calculates hash code according to all attributes.
|
190
189
|
# @return [Integer] Hash code
|
191
190
|
def hash
|
192
|
-
[content, pageable,
|
191
|
+
[content, pageable, total, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
192
|
end
|
194
193
|
|
195
194
|
# Builds the object from hash
|
@@ -19,10 +19,12 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :total
|
23
23
|
|
24
24
|
attr_accessor :total_elements
|
25
25
|
|
26
|
+
attr_accessor :total_pages
|
27
|
+
|
26
28
|
attr_accessor :last
|
27
29
|
|
28
30
|
attr_accessor :number_of_elements
|
@@ -42,8 +44,9 @@ module MailSlurpClient
|
|
42
44
|
{
|
43
45
|
:'content' => :'content',
|
44
46
|
:'pageable' => :'pageable',
|
45
|
-
:'
|
47
|
+
:'total' => :'total',
|
46
48
|
:'total_elements' => :'totalElements',
|
49
|
+
:'total_pages' => :'totalPages',
|
47
50
|
:'last' => :'last',
|
48
51
|
:'number_of_elements' => :'numberOfElements',
|
49
52
|
:'first' => :'first',
|
@@ -59,8 +62,9 @@ module MailSlurpClient
|
|
59
62
|
{
|
60
63
|
:'content' => :'Array<BounceRecipientProjection>',
|
61
64
|
:'pageable' => :'PageableObject',
|
62
|
-
:'
|
65
|
+
:'total' => :'Integer',
|
63
66
|
:'total_elements' => :'Integer',
|
67
|
+
:'total_pages' => :'Integer',
|
64
68
|
:'last' => :'Boolean',
|
65
69
|
:'number_of_elements' => :'Integer',
|
66
70
|
:'first' => :'Boolean',
|
@@ -102,14 +106,18 @@ module MailSlurpClient
|
|
102
106
|
self.pageable = attributes[:'pageable']
|
103
107
|
end
|
104
108
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
109
|
+
if attributes.key?(:'total')
|
110
|
+
self.total = attributes[:'total']
|
107
111
|
end
|
108
112
|
|
109
113
|
if attributes.key?(:'total_elements')
|
110
114
|
self.total_elements = attributes[:'total_elements']
|
111
115
|
end
|
112
116
|
|
117
|
+
if attributes.key?(:'total_pages')
|
118
|
+
self.total_pages = attributes[:'total_pages']
|
119
|
+
end
|
120
|
+
|
113
121
|
if attributes.key?(:'last')
|
114
122
|
self.last = attributes[:'last']
|
115
123
|
end
|
@@ -143,22 +151,12 @@ module MailSlurpClient
|
|
143
151
|
# @return Array for valid properties with the reasons
|
144
152
|
def list_invalid_properties
|
145
153
|
invalid_properties = Array.new
|
146
|
-
if @total_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
|
-
if @total_elements.nil?
|
151
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
|
-
end
|
153
|
-
|
154
154
|
invalid_properties
|
155
155
|
end
|
156
156
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
158
158
|
# @return true if the model is valid
|
159
159
|
def valid?
|
160
|
-
return false if @total_pages.nil?
|
161
|
-
return false if @total_elements.nil?
|
162
160
|
true
|
163
161
|
end
|
164
162
|
|
@@ -169,8 +167,9 @@ module MailSlurpClient
|
|
169
167
|
self.class == o.class &&
|
170
168
|
content == o.content &&
|
171
169
|
pageable == o.pageable &&
|
172
|
-
|
170
|
+
total == o.total &&
|
173
171
|
total_elements == o.total_elements &&
|
172
|
+
total_pages == o.total_pages &&
|
174
173
|
last == o.last &&
|
175
174
|
number_of_elements == o.number_of_elements &&
|
176
175
|
first == o.first &&
|
@@ -189,7 +188,7 @@ module MailSlurpClient
|
|
189
188
|
# Calculates hash code according to all attributes.
|
190
189
|
# @return [Integer] Hash code
|
191
190
|
def hash
|
192
|
-
[content, pageable,
|
191
|
+
[content, pageable, total, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
192
|
end
|
194
193
|
|
195
194
|
# Builds the object from hash
|