mailslurp_client 15.18.5 → 15.19.0
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/connector_controller_api.rb +260 -0
- data/lib/mailslurp_client/api/domain_controller_api.rb +126 -0
- data/lib/mailslurp_client/api/email_controller_api.rb +138 -0
- data/lib/mailslurp_client/api/imap_controller_api.rb +279 -0
- data/lib/mailslurp_client/api/inbox_controller_api.rb +114 -0
- data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +3 -0
- data/lib/mailslurp_client/api/mail_server_controller_api.rb +62 -0
- data/lib/mailslurp_client/models/alias_projection.rb +29 -29
- data/lib/mailslurp_client/models/attachment_projection.rb +29 -29
- data/lib/mailslurp_client/models/bounce_projection.rb +29 -29
- data/lib/mailslurp_client/models/bounce_recipient_projection.rb +22 -22
- data/lib/mailslurp_client/models/connector_dto.rb +42 -108
- data/lib/mailslurp_client/models/connector_imap_connection_dto.rb +311 -0
- data/lib/mailslurp_client/models/connector_projection.rb +39 -43
- data/lib/mailslurp_client/models/connector_smtp_connection_dto.rb +293 -0
- data/lib/mailslurp_client/models/connector_sync_event_projection.rb +15 -15
- data/lib/mailslurp_client/models/contact_projection.rb +10 -10
- data/lib/mailslurp_client/models/create_connector_imap_connection_options.rb +286 -0
- data/lib/mailslurp_client/models/create_connector_options.rb +38 -87
- data/lib/mailslurp_client/models/create_connector_smtp_connection_options.rb +256 -0
- data/lib/mailslurp_client/models/dns_lookup_options.rb +1 -1
- data/lib/mailslurp_client/models/dns_lookups_options.rb +214 -0
- data/lib/mailslurp_client/models/domain_group.rb +261 -0
- data/lib/mailslurp_client/models/domain_groups_dto.rb +213 -0
- data/lib/mailslurp_client/models/domain_information.rb +274 -0
- data/lib/mailslurp_client/models/email_preview_urls.rb +18 -4
- data/lib/mailslurp_client/models/email_projection.rb +19 -19
- data/lib/mailslurp_client/models/email_screenshot_result.rb +211 -0
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
- data/lib/mailslurp_client/models/get_email_screenshot_options.rb +220 -0
- data/lib/mailslurp_client/models/imap_access_details.rb +273 -0
- data/lib/mailslurp_client/models/imap_email_projection.rb +239 -0
- data/lib/mailslurp_client/models/{create_connector_imap_options.rb → imap_server_fetch_item.rb} +55 -49
- data/lib/mailslurp_client/models/imap_server_fetch_result.rb +208 -0
- data/lib/mailslurp_client/models/{create_connector_imap_fetch_options.rb → imap_server_list_options.rb} +18 -16
- data/lib/mailslurp_client/models/imap_server_list_result.rb +213 -0
- data/lib/mailslurp_client/models/imap_server_search_options.rb +318 -0
- data/lib/mailslurp_client/models/imap_server_search_result.rb +213 -0
- data/lib/mailslurp_client/models/imap_smtp_access_details.rb +16 -1
- data/lib/mailslurp_client/models/imap_update_flags_options.rb +277 -0
- data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +10 -10
- data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +10 -10
- data/lib/mailslurp_client/models/list_unsubscribe_recipient_projection.rb +15 -15
- data/lib/mailslurp_client/models/match_option.rb +4 -4
- data/lib/mailslurp_client/models/missed_email_projection.rb +14 -14
- data/lib/mailslurp_client/models/page_alias.rb +15 -15
- data/lib/mailslurp_client/models/page_attachment_entity.rb +15 -15
- data/lib/mailslurp_client/models/page_bounced_email.rb +15 -15
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +15 -15
- data/lib/mailslurp_client/models/page_complaint.rb +15 -15
- data/lib/mailslurp_client/models/page_connector.rb +15 -15
- data/lib/mailslurp_client/models/page_connector_sync_events.rb +15 -15
- data/lib/mailslurp_client/models/page_contact_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_delivery_status.rb +15 -15
- data/lib/mailslurp_client/models/page_email_preview.rb +15 -15
- data/lib/mailslurp_client/models/page_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_email_validation_request.rb +15 -15
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_group_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +15 -15
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +15 -15
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +15 -15
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_sms_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_template_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_thread_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_webhook_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_webhook_result.rb +15 -15
- data/lib/mailslurp_client/models/phone_number_projection.rb +15 -15
- data/lib/mailslurp_client/models/sent_email_projection.rb +35 -35
- data/lib/mailslurp_client/models/sms_match_option.rb +2 -2
- data/lib/mailslurp_client/models/sms_projection.rb +29 -29
- data/lib/mailslurp_client/models/smtp_access_details.rb +329 -0
- data/lib/mailslurp_client/models/template_projection.rb +17 -17
- data/lib/mailslurp_client/models/thread_projection.rb +35 -35
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +15 -15
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +13 -13
- data/lib/mailslurp_client/models/webhook_projection.rb +25 -25
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +21 -2
- metadata +23 -4
@@ -15,8 +15,6 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Inbox replier event
|
17
17
|
class InboxReplierEventProjection
|
18
|
-
attr_accessor :created_at
|
19
|
-
|
20
18
|
attr_accessor :replier_id
|
21
19
|
|
22
20
|
attr_accessor :recipients
|
@@ -29,6 +27,8 @@ module MailSlurpClient
|
|
29
27
|
|
30
28
|
attr_accessor :sent_id
|
31
29
|
|
30
|
+
attr_accessor :created_at
|
31
|
+
|
32
32
|
attr_accessor :message
|
33
33
|
|
34
34
|
attr_accessor :id
|
@@ -60,13 +60,13 @@ module MailSlurpClient
|
|
60
60
|
# Attribute mapping from ruby-style variable name to JSON key.
|
61
61
|
def self.attribute_map
|
62
62
|
{
|
63
|
-
:'created_at' => :'createdAt',
|
64
63
|
:'replier_id' => :'replierId',
|
65
64
|
:'recipients' => :'recipients',
|
66
65
|
:'email_id' => :'emailId',
|
67
66
|
:'inbox_id' => :'inboxId',
|
68
67
|
:'user_id' => :'userId',
|
69
68
|
:'sent_id' => :'sentId',
|
69
|
+
:'created_at' => :'createdAt',
|
70
70
|
:'message' => :'message',
|
71
71
|
:'id' => :'id',
|
72
72
|
:'status' => :'status'
|
@@ -76,13 +76,13 @@ module MailSlurpClient
|
|
76
76
|
# Attribute type mapping.
|
77
77
|
def self.openapi_types
|
78
78
|
{
|
79
|
-
:'created_at' => :'DateTime',
|
80
79
|
:'replier_id' => :'String',
|
81
80
|
:'recipients' => :'Array<String>',
|
82
81
|
:'email_id' => :'String',
|
83
82
|
:'inbox_id' => :'String',
|
84
83
|
:'user_id' => :'String',
|
85
84
|
:'sent_id' => :'String',
|
85
|
+
:'created_at' => :'DateTime',
|
86
86
|
:'message' => :'String',
|
87
87
|
:'id' => :'String',
|
88
88
|
:'status' => :'String'
|
@@ -119,10 +119,6 @@ module MailSlurpClient
|
|
119
119
|
h[k.to_sym] = v
|
120
120
|
}
|
121
121
|
|
122
|
-
if attributes.key?(:'created_at')
|
123
|
-
self.created_at = attributes[:'created_at']
|
124
|
-
end
|
125
|
-
|
126
122
|
if attributes.key?(:'replier_id')
|
127
123
|
self.replier_id = attributes[:'replier_id']
|
128
124
|
end
|
@@ -149,6 +145,10 @@ module MailSlurpClient
|
|
149
145
|
self.sent_id = attributes[:'sent_id']
|
150
146
|
end
|
151
147
|
|
148
|
+
if attributes.key?(:'created_at')
|
149
|
+
self.created_at = attributes[:'created_at']
|
150
|
+
end
|
151
|
+
|
152
152
|
if attributes.key?(:'message')
|
153
153
|
self.message = attributes[:'message']
|
154
154
|
end
|
@@ -197,13 +197,13 @@ module MailSlurpClient
|
|
197
197
|
def ==(o)
|
198
198
|
return true if self.equal?(o)
|
199
199
|
self.class == o.class &&
|
200
|
-
created_at == o.created_at &&
|
201
200
|
replier_id == o.replier_id &&
|
202
201
|
recipients == o.recipients &&
|
203
202
|
email_id == o.email_id &&
|
204
203
|
inbox_id == o.inbox_id &&
|
205
204
|
user_id == o.user_id &&
|
206
205
|
sent_id == o.sent_id &&
|
206
|
+
created_at == o.created_at &&
|
207
207
|
message == o.message &&
|
208
208
|
id == o.id &&
|
209
209
|
status == o.status
|
@@ -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
|
-
[
|
221
|
+
[replier_id, recipients, email_id, inbox_id, user_id, sent_id, created_at, message, id, status].hash
|
222
222
|
end
|
223
223
|
|
224
224
|
# Builds the object from hash
|
@@ -15,20 +15,20 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# List unsubscribe recipient
|
17
17
|
class ListUnsubscribeRecipientProjection
|
18
|
-
attr_accessor :created_at
|
19
|
-
|
20
18
|
attr_accessor :email_address
|
21
19
|
|
22
20
|
attr_accessor :domain_id
|
23
21
|
|
22
|
+
attr_accessor :created_at
|
23
|
+
|
24
24
|
attr_accessor :id
|
25
25
|
|
26
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
27
|
def self.attribute_map
|
28
28
|
{
|
29
|
-
:'created_at' => :'createdAt',
|
30
29
|
:'email_address' => :'emailAddress',
|
31
30
|
:'domain_id' => :'domainId',
|
31
|
+
:'created_at' => :'createdAt',
|
32
32
|
:'id' => :'id'
|
33
33
|
}
|
34
34
|
end
|
@@ -36,9 +36,9 @@ module MailSlurpClient
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'created_at' => :'DateTime',
|
40
39
|
:'email_address' => :'String',
|
41
40
|
:'domain_id' => :'String',
|
41
|
+
:'created_at' => :'DateTime',
|
42
42
|
:'id' => :'String'
|
43
43
|
}
|
44
44
|
end
|
@@ -65,10 +65,6 @@ module MailSlurpClient
|
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
67
67
|
|
68
|
-
if attributes.key?(:'created_at')
|
69
|
-
self.created_at = attributes[:'created_at']
|
70
|
-
end
|
71
|
-
|
72
68
|
if attributes.key?(:'email_address')
|
73
69
|
self.email_address = attributes[:'email_address']
|
74
70
|
end
|
@@ -77,6 +73,10 @@ module MailSlurpClient
|
|
77
73
|
self.domain_id = attributes[:'domain_id']
|
78
74
|
end
|
79
75
|
|
76
|
+
if attributes.key?(:'created_at')
|
77
|
+
self.created_at = attributes[:'created_at']
|
78
|
+
end
|
79
|
+
|
80
80
|
if attributes.key?(:'id')
|
81
81
|
self.id = attributes[:'id']
|
82
82
|
end
|
@@ -86,14 +86,14 @@ module MailSlurpClient
|
|
86
86
|
# @return Array for valid properties with the reasons
|
87
87
|
def list_invalid_properties
|
88
88
|
invalid_properties = Array.new
|
89
|
-
if @created_at.nil?
|
90
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
91
|
-
end
|
92
|
-
|
93
89
|
if @email_address.nil?
|
94
90
|
invalid_properties.push('invalid value for "email_address", email_address cannot be nil.')
|
95
91
|
end
|
96
92
|
|
93
|
+
if @created_at.nil?
|
94
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
95
|
+
end
|
96
|
+
|
97
97
|
if @id.nil?
|
98
98
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
99
99
|
end
|
@@ -104,8 +104,8 @@ module MailSlurpClient
|
|
104
104
|
# Check to see if the all the properties in the model are valid
|
105
105
|
# @return true if the model is valid
|
106
106
|
def valid?
|
107
|
-
return false if @created_at.nil?
|
108
107
|
return false if @email_address.nil?
|
108
|
+
return false if @created_at.nil?
|
109
109
|
return false if @id.nil?
|
110
110
|
true
|
111
111
|
end
|
@@ -115,9 +115,9 @@ module MailSlurpClient
|
|
115
115
|
def ==(o)
|
116
116
|
return true if self.equal?(o)
|
117
117
|
self.class == o.class &&
|
118
|
-
created_at == o.created_at &&
|
119
118
|
email_address == o.email_address &&
|
120
119
|
domain_id == o.domain_id &&
|
120
|
+
created_at == o.created_at &&
|
121
121
|
id == o.id
|
122
122
|
end
|
123
123
|
|
@@ -130,7 +130,7 @@ module MailSlurpClient
|
|
130
130
|
# Calculates hash code according to all attributes.
|
131
131
|
# @return [Integer] Hash code
|
132
132
|
def hash
|
133
|
-
[
|
133
|
+
[email_address, domain_id, created_at, id].hash
|
134
134
|
end
|
135
135
|
|
136
136
|
# Builds the object from hash
|
@@ -121,10 +121,10 @@ module MailSlurpClient
|
|
121
121
|
# @return true if the model is valid
|
122
122
|
def valid?
|
123
123
|
return false if @field.nil?
|
124
|
-
field_validator = EnumAttributeValidator.new('String', ["SUBJECT", "TO", "BCC", "CC", "FROM"])
|
124
|
+
field_validator = EnumAttributeValidator.new('String', ["SUBJECT", "TO", "BCC", "CC", "FROM", "HEADERS"])
|
125
125
|
return false unless field_validator.valid?(@field)
|
126
126
|
return false if @should.nil?
|
127
|
-
should_validator = EnumAttributeValidator.new('String', ["CONTAIN", "EQUAL"])
|
127
|
+
should_validator = EnumAttributeValidator.new('String', ["MATCH", "CONTAIN", "EQUAL"])
|
128
128
|
return false unless should_validator.valid?(@should)
|
129
129
|
return false if @value.nil?
|
130
130
|
true
|
@@ -133,7 +133,7 @@ module MailSlurpClient
|
|
133
133
|
# Custom attribute writer method checking allowed values (enum).
|
134
134
|
# @param [Object] field Object to be assigned
|
135
135
|
def field=(field)
|
136
|
-
validator = EnumAttributeValidator.new('String', ["SUBJECT", "TO", "BCC", "CC", "FROM"])
|
136
|
+
validator = EnumAttributeValidator.new('String', ["SUBJECT", "TO", "BCC", "CC", "FROM", "HEADERS"])
|
137
137
|
unless validator.valid?(field)
|
138
138
|
fail ArgumentError, "invalid value for \"field\", must be one of #{validator.allowable_values}."
|
139
139
|
end
|
@@ -143,7 +143,7 @@ module MailSlurpClient
|
|
143
143
|
# Custom attribute writer method checking allowed values (enum).
|
144
144
|
# @param [Object] should Object to be assigned
|
145
145
|
def should=(should)
|
146
|
-
validator = EnumAttributeValidator.new('String', ["CONTAIN", "EQUAL"])
|
146
|
+
validator = EnumAttributeValidator.new('String', ["MATCH", "CONTAIN", "EQUAL"])
|
147
147
|
unless validator.valid?(should)
|
148
148
|
fail ArgumentError, "invalid value for \"should\", must be one of #{validator.allowable_values}."
|
149
149
|
end
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Missed email data
|
17
17
|
class MissedEmailProjection
|
18
|
-
attr_accessor :
|
18
|
+
attr_accessor :subject
|
19
19
|
|
20
20
|
attr_accessor :user_id
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :created_at
|
23
23
|
|
24
24
|
attr_accessor :id
|
25
25
|
|
@@ -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
|
-
:'created_at' => :'createdAt',
|
32
|
-
:'user_id' => :'userId',
|
33
31
|
:'subject' => :'subject',
|
32
|
+
:'user_id' => :'userId',
|
33
|
+
:'created_at' => :'createdAt',
|
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
|
-
:'created_at' => :'DateTime',
|
43
|
-
:'user_id' => :'String',
|
44
42
|
:'subject' => :'String',
|
43
|
+
:'user_id' => :'String',
|
44
|
+
:'created_at' => :'DateTime',
|
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
|
-
:'user_id',
|
54
53
|
:'subject',
|
54
|
+
:'user_id',
|
55
55
|
:'from'
|
56
56
|
])
|
57
57
|
end
|
@@ -71,16 +71,16 @@ module MailSlurpClient
|
|
71
71
|
h[k.to_sym] = v
|
72
72
|
}
|
73
73
|
|
74
|
-
if attributes.key?(:'
|
75
|
-
self.
|
74
|
+
if attributes.key?(:'subject')
|
75
|
+
self.subject = attributes[:'subject']
|
76
76
|
end
|
77
77
|
|
78
78
|
if attributes.key?(:'user_id')
|
79
79
|
self.user_id = attributes[:'user_id']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
82
|
+
if attributes.key?(:'created_at')
|
83
|
+
self.created_at = attributes[:'created_at']
|
84
84
|
end
|
85
85
|
|
86
86
|
if attributes.key?(:'id')
|
@@ -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
|
-
created_at == o.created_at &&
|
124
|
-
user_id == o.user_id &&
|
125
123
|
subject == o.subject &&
|
124
|
+
user_id == o.user_id &&
|
125
|
+
created_at == o.created_at &&
|
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
|
+
[subject, user_id, created_at, id, from].hash
|
140
140
|
end
|
141
141
|
|
142
142
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<AliasProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -143,22 +143,22 @@ module MailSlurpClient
|
|
143
143
|
# @return Array for valid properties with the reasons
|
144
144
|
def list_invalid_properties
|
145
145
|
invalid_properties = Array.new
|
146
|
-
if @total_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -189,7 +189,7 @@ module MailSlurpClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<AttachmentProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -143,22 +143,22 @@ module MailSlurpClient
|
|
143
143
|
# @return Array for valid properties with the reasons
|
144
144
|
def list_invalid_properties
|
145
145
|
invalid_properties = Array.new
|
146
|
-
if @total_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -189,7 +189,7 @@ module MailSlurpClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<BounceProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -143,22 +143,22 @@ module MailSlurpClient
|
|
143
143
|
# @return Array for valid properties with the reasons
|
144
144
|
def list_invalid_properties
|
145
145
|
invalid_properties = Array.new
|
146
|
-
if @total_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -189,7 +189,7 @@ module MailSlurpClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|