mailslurp_client 15.16.5 → 15.16.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/models/attachment_projection.rb +15 -15
  3. data/lib/mailslurp_client/models/bounce_projection.rb +15 -15
  4. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +10 -10
  5. data/lib/mailslurp_client/models/email_projection.rb +23 -23
  6. data/lib/mailslurp_client/models/imap_smtp_access_details.rb +62 -2
  7. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +14 -14
  8. data/lib/mailslurp_client/models/page_alias.rb +22 -22
  9. data/lib/mailslurp_client/models/page_attachment_entity.rb +22 -22
  10. data/lib/mailslurp_client/models/page_bounced_email.rb +22 -22
  11. data/lib/mailslurp_client/models/page_bounced_recipients.rb +22 -22
  12. data/lib/mailslurp_client/models/page_complaint.rb +22 -22
  13. data/lib/mailslurp_client/models/page_contact_projection.rb +22 -22
  14. data/lib/mailslurp_client/models/page_delivery_status.rb +22 -22
  15. data/lib/mailslurp_client/models/page_email_preview.rb +22 -22
  16. data/lib/mailslurp_client/models/page_email_projection.rb +22 -22
  17. data/lib/mailslurp_client/models/page_email_validation_request.rb +22 -22
  18. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +22 -22
  19. data/lib/mailslurp_client/models/page_group_projection.rb +22 -22
  20. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +22 -22
  21. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +22 -22
  22. data/lib/mailslurp_client/models/page_inbox_projection.rb +22 -22
  23. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +22 -22
  24. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +22 -22
  25. data/lib/mailslurp_client/models/page_missed_email_projection.rb +22 -22
  26. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +22 -22
  27. data/lib/mailslurp_client/models/page_phone_number_projection.rb +22 -22
  28. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +22 -22
  29. data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
  30. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
  31. data/lib/mailslurp_client/models/page_sms_projection.rb +22 -22
  32. data/lib/mailslurp_client/models/page_template_projection.rb +22 -22
  33. data/lib/mailslurp_client/models/page_thread_projection.rb +22 -22
  34. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +22 -22
  35. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +22 -22
  36. data/lib/mailslurp_client/models/page_webhook_projection.rb +22 -22
  37. data/lib/mailslurp_client/models/page_webhook_result.rb +22 -22
  38. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  39. data/lib/mailslurp_client/models/sort.rb +13 -13
  40. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  41. data/lib/mailslurp_client/version.rb +1 -1
  42. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9adfbd727b7ce17d2a281c3dfbd4fc2322c2c3a5dc82ce477bbe28d6c879d732
4
- data.tar.gz: 983c60ae3b4e94efd58c96cab7cf210500b7144956e295f8a392a5ddf9d249a0
3
+ metadata.gz: 6c03088f5d68de881a1a83a1abb671ebee0d6793548d38202a84b2f396a882d2
4
+ data.tar.gz: 7f14f6283d561bb3b832312a42d765cd89bd8e5afcedc060a7a24ce0484ff69d
5
5
  SHA512:
6
- metadata.gz: 9d2fd36724403e6e9158933bc4090e0df49d8940dd2043c6ee57abad2fa223a7d8fb3f51eac75254c668eb3fc19c3dfa7703c5375723d417d54f0f4669df8cf2
7
- data.tar.gz: 2d4125a7dbceab2bd14455e2bacd44ad806b151130dc883c520804c4a6b8bcccd1035b9f3f67fc75f8d84e0781953f215daa4604cfdbd7b9f53371951af3599b
6
+ metadata.gz: dc3e5f1bb633ce207a344f59c24b568d1a38a135e2a14649bbb5e3ba77e70a029500aff2088911c8120110554b4fa038f16d4b5ade38cb1ffd7ae7ca77f89623
7
+ data.tar.gz: d834d8836adc348a11b9774442286a8dc31bc9d95d613f6e54a2d754f001f2bc02df7545ff4ef2dc7cefd1298b6cd760a5777ba56e3e327cc90f1799a210bf2e
@@ -20,9 +20,6 @@ module MailSlurpClient
20
20
  # Content length of attachment in bytes
21
21
  attr_accessor :content_length
22
22
 
23
- # Content type of attachment.
24
- attr_accessor :content_type
25
-
26
23
  attr_accessor :user_id
27
24
 
28
25
  attr_accessor :created_at
@@ -32,16 +29,19 @@ module MailSlurpClient
32
29
  # Attachment ID
33
30
  attr_accessor :attachment_id
34
31
 
32
+ # Content type of attachment.
33
+ attr_accessor :content_type
34
+
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
36
36
  def self.attribute_map
37
37
  {
38
38
  :'name' => :'name',
39
39
  :'content_length' => :'contentLength',
40
- :'content_type' => :'contentType',
41
40
  :'user_id' => :'userId',
42
41
  :'created_at' => :'createdAt',
43
42
  :'updated_at' => :'updatedAt',
44
- :'attachment_id' => :'attachmentId'
43
+ :'attachment_id' => :'attachmentId',
44
+ :'content_type' => :'contentType'
45
45
  }
46
46
  end
47
47
 
@@ -50,11 +50,11 @@ module MailSlurpClient
50
50
  {
51
51
  :'name' => :'String',
52
52
  :'content_length' => :'Integer',
53
- :'content_type' => :'String',
54
53
  :'user_id' => :'String',
55
54
  :'created_at' => :'DateTime',
56
55
  :'updated_at' => :'DateTime',
57
- :'attachment_id' => :'String'
56
+ :'attachment_id' => :'String',
57
+ :'content_type' => :'String'
58
58
  }
59
59
  end
60
60
 
@@ -63,7 +63,7 @@ module MailSlurpClient
63
63
  Set.new([
64
64
  :'name',
65
65
  :'content_length',
66
- :'content_type',
66
+ :'content_type'
67
67
  ])
68
68
  end
69
69
 
@@ -90,10 +90,6 @@ module MailSlurpClient
90
90
  self.content_length = attributes[:'content_length']
91
91
  end
92
92
 
93
- if attributes.key?(:'content_type')
94
- self.content_type = attributes[:'content_type']
95
- end
96
-
97
93
  if attributes.key?(:'user_id')
98
94
  self.user_id = attributes[:'user_id']
99
95
  end
@@ -109,6 +105,10 @@ module MailSlurpClient
109
105
  if attributes.key?(:'attachment_id')
110
106
  self.attachment_id = attributes[:'attachment_id']
111
107
  end
108
+
109
+ if attributes.key?(:'content_type')
110
+ self.content_type = attributes[:'content_type']
111
+ end
112
112
  end
113
113
 
114
114
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -151,11 +151,11 @@ module MailSlurpClient
151
151
  self.class == o.class &&
152
152
  name == o.name &&
153
153
  content_length == o.content_length &&
154
- content_type == o.content_type &&
155
154
  user_id == o.user_id &&
156
155
  created_at == o.created_at &&
157
156
  updated_at == o.updated_at &&
158
- attachment_id == o.attachment_id
157
+ attachment_id == o.attachment_id &&
158
+ content_type == o.content_type
159
159
  end
160
160
 
161
161
  # @see the `==` method
@@ -167,7 +167,7 @@ module MailSlurpClient
167
167
  # Calculates hash code according to all attributes.
168
168
  # @return [Integer] Hash code
169
169
  def hash
170
- [name, content_length, content_type, user_id, created_at, updated_at, attachment_id].hash
170
+ [name, content_length, user_id, created_at, updated_at, attachment_id, content_type].hash
171
171
  end
172
172
 
173
173
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :created_at
25
25
 
26
- attr_accessor :bounce_type
27
-
28
26
  attr_accessor :bounce_mta
29
27
 
28
+ attr_accessor :bounce_type
29
+
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
31
31
  def self.attribute_map
32
32
  {
@@ -34,8 +34,8 @@ module MailSlurpClient
34
34
  :'sender' => :'sender',
35
35
  :'subject' => :'subject',
36
36
  :'created_at' => :'createdAt',
37
- :'bounce_type' => :'bounceType',
38
- :'bounce_mta' => :'bounceMta'
37
+ :'bounce_mta' => :'bounceMta',
38
+ :'bounce_type' => :'bounceType'
39
39
  }
40
40
  end
41
41
 
@@ -46,8 +46,8 @@ module MailSlurpClient
46
46
  :'sender' => :'String',
47
47
  :'subject' => :'String',
48
48
  :'created_at' => :'DateTime',
49
- :'bounce_type' => :'String',
50
- :'bounce_mta' => :'String'
49
+ :'bounce_mta' => :'String',
50
+ :'bounce_type' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -55,8 +55,8 @@ module MailSlurpClient
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
57
  :'subject',
58
- :'bounce_type',
59
- :'bounce_mta'
58
+ :'bounce_mta',
59
+ :'bounce_type'
60
60
  ])
61
61
  end
62
62
 
@@ -91,13 +91,13 @@ module MailSlurpClient
91
91
  self.created_at = attributes[:'created_at']
92
92
  end
93
93
 
94
- if attributes.key?(:'bounce_type')
95
- self.bounce_type = attributes[:'bounce_type']
96
- end
97
-
98
94
  if attributes.key?(:'bounce_mta')
99
95
  self.bounce_mta = attributes[:'bounce_mta']
100
96
  end
97
+
98
+ if attributes.key?(:'bounce_type')
99
+ self.bounce_type = attributes[:'bounce_type']
100
+ end
101
101
  end
102
102
 
103
103
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -132,8 +132,8 @@ module MailSlurpClient
132
132
  sender == o.sender &&
133
133
  subject == o.subject &&
134
134
  created_at == o.created_at &&
135
- bounce_type == o.bounce_type &&
136
- bounce_mta == o.bounce_mta
135
+ bounce_mta == o.bounce_mta &&
136
+ bounce_type == o.bounce_type
137
137
  end
138
138
 
139
139
  # @see the `==` method
@@ -145,7 +145,7 @@ module MailSlurpClient
145
145
  # Calculates hash code according to all attributes.
146
146
  # @return [Integer] Hash code
147
147
  def hash
148
- [id, sender, subject, created_at, bounce_type, bounce_mta].hash
148
+ [id, sender, subject, created_at, bounce_mta, bounce_type].hash
149
149
  end
150
150
 
151
151
  # Builds the object from hash
@@ -19,10 +19,10 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :status
21
21
 
22
- attr_accessor :created_at
23
-
24
22
  attr_accessor :sent_email_id
25
23
 
24
+ attr_accessor :created_at
25
+
26
26
  attr_accessor :recipient
27
27
 
28
28
  attr_accessor :action
@@ -32,8 +32,8 @@ module MailSlurpClient
32
32
  {
33
33
  :'id' => :'id',
34
34
  :'status' => :'status',
35
- :'created_at' => :'createdAt',
36
35
  :'sent_email_id' => :'sentEmailId',
36
+ :'created_at' => :'createdAt',
37
37
  :'recipient' => :'recipient',
38
38
  :'action' => :'action'
39
39
  }
@@ -44,8 +44,8 @@ module MailSlurpClient
44
44
  {
45
45
  :'id' => :'String',
46
46
  :'status' => :'String',
47
- :'created_at' => :'DateTime',
48
47
  :'sent_email_id' => :'String',
48
+ :'created_at' => :'DateTime',
49
49
  :'recipient' => :'String',
50
50
  :'action' => :'String'
51
51
  }
@@ -83,14 +83,14 @@ module MailSlurpClient
83
83
  self.status = attributes[:'status']
84
84
  end
85
85
 
86
- if attributes.key?(:'created_at')
87
- self.created_at = attributes[:'created_at']
88
- end
89
-
90
86
  if attributes.key?(:'sent_email_id')
91
87
  self.sent_email_id = attributes[:'sent_email_id']
92
88
  end
93
89
 
90
+ if attributes.key?(:'created_at')
91
+ self.created_at = attributes[:'created_at']
92
+ end
93
+
94
94
  if attributes.key?(:'recipient')
95
95
  self.recipient = attributes[:'recipient']
96
96
  end
@@ -130,8 +130,8 @@ module MailSlurpClient
130
130
  self.class == o.class &&
131
131
  id == o.id &&
132
132
  status == o.status &&
133
- created_at == o.created_at &&
134
133
  sent_email_id == o.sent_email_id &&
134
+ created_at == o.created_at &&
135
135
  recipient == o.recipient &&
136
136
  action == o.action
137
137
  end
@@ -145,7 +145,7 @@ module MailSlurpClient
145
145
  # Calculates hash code according to all attributes.
146
146
  # @return [Integer] Hash code
147
147
  def hash
148
- [id, status, created_at, sent_email_id, recipient, action].hash
148
+ [id, status, sent_email_id, created_at, recipient, action].hash
149
149
  end
150
150
 
151
151
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :inbox_id
25
25
 
26
- attr_accessor :created_at
27
-
28
26
  attr_accessor :attachments
29
27
 
28
+ attr_accessor :created_at
29
+
30
30
  attr_accessor :to
31
31
 
32
32
  attr_accessor :bcc
@@ -35,14 +35,14 @@ module MailSlurpClient
35
35
 
36
36
  attr_accessor :domain_id
37
37
 
38
- attr_accessor :body_md5_hash
39
-
40
38
  attr_accessor :read
41
39
 
42
40
  attr_accessor :body_excerpt
43
41
 
44
42
  attr_accessor :team_access
45
43
 
44
+ attr_accessor :body_md5_hash
45
+
46
46
  # Attribute mapping from ruby-style variable name to JSON key.
47
47
  def self.attribute_map
48
48
  {
@@ -50,16 +50,16 @@ module MailSlurpClient
50
50
  :'from' => :'from',
51
51
  :'subject' => :'subject',
52
52
  :'inbox_id' => :'inboxId',
53
- :'created_at' => :'createdAt',
54
53
  :'attachments' => :'attachments',
54
+ :'created_at' => :'createdAt',
55
55
  :'to' => :'to',
56
56
  :'bcc' => :'bcc',
57
57
  :'cc' => :'cc',
58
58
  :'domain_id' => :'domainId',
59
- :'body_md5_hash' => :'bodyMD5Hash',
60
59
  :'read' => :'read',
61
60
  :'body_excerpt' => :'bodyExcerpt',
62
- :'team_access' => :'teamAccess'
61
+ :'team_access' => :'teamAccess',
62
+ :'body_md5_hash' => :'bodyMD5Hash'
63
63
  }
64
64
  end
65
65
 
@@ -70,16 +70,16 @@ module MailSlurpClient
70
70
  :'from' => :'String',
71
71
  :'subject' => :'String',
72
72
  :'inbox_id' => :'String',
73
- :'created_at' => :'DateTime',
74
73
  :'attachments' => :'Array<String>',
74
+ :'created_at' => :'DateTime',
75
75
  :'to' => :'Array<String>',
76
76
  :'bcc' => :'Array<String>',
77
77
  :'cc' => :'Array<String>',
78
78
  :'domain_id' => :'String',
79
- :'body_md5_hash' => :'String',
80
79
  :'read' => :'Boolean',
81
80
  :'body_excerpt' => :'String',
82
- :'team_access' => :'Boolean'
81
+ :'team_access' => :'Boolean',
82
+ :'body_md5_hash' => :'String'
83
83
  }
84
84
  end
85
85
 
@@ -92,8 +92,8 @@ module MailSlurpClient
92
92
  :'bcc',
93
93
  :'cc',
94
94
  :'domain_id',
95
- :'body_md5_hash',
96
95
  :'body_excerpt',
96
+ :'body_md5_hash'
97
97
  ])
98
98
  end
99
99
 
@@ -128,16 +128,16 @@ module MailSlurpClient
128
128
  self.inbox_id = attributes[:'inbox_id']
129
129
  end
130
130
 
131
- if attributes.key?(:'created_at')
132
- self.created_at = attributes[:'created_at']
133
- end
134
-
135
131
  if attributes.key?(:'attachments')
136
132
  if (value = attributes[:'attachments']).is_a?(Array)
137
133
  self.attachments = value
138
134
  end
139
135
  end
140
136
 
137
+ if attributes.key?(:'created_at')
138
+ self.created_at = attributes[:'created_at']
139
+ end
140
+
141
141
  if attributes.key?(:'to')
142
142
  if (value = attributes[:'to']).is_a?(Array)
143
143
  self.to = value
@@ -160,10 +160,6 @@ module MailSlurpClient
160
160
  self.domain_id = attributes[:'domain_id']
161
161
  end
162
162
 
163
- if attributes.key?(:'body_md5_hash')
164
- self.body_md5_hash = attributes[:'body_md5_hash']
165
- end
166
-
167
163
  if attributes.key?(:'read')
168
164
  self.read = attributes[:'read']
169
165
  end
@@ -175,6 +171,10 @@ module MailSlurpClient
175
171
  if attributes.key?(:'team_access')
176
172
  self.team_access = attributes[:'team_access']
177
173
  end
174
+
175
+ if attributes.key?(:'body_md5_hash')
176
+ self.body_md5_hash = attributes[:'body_md5_hash']
177
+ end
178
178
  end
179
179
 
180
180
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -229,16 +229,16 @@ module MailSlurpClient
229
229
  from == o.from &&
230
230
  subject == o.subject &&
231
231
  inbox_id == o.inbox_id &&
232
- created_at == o.created_at &&
233
232
  attachments == o.attachments &&
233
+ created_at == o.created_at &&
234
234
  to == o.to &&
235
235
  bcc == o.bcc &&
236
236
  cc == o.cc &&
237
237
  domain_id == o.domain_id &&
238
- body_md5_hash == o.body_md5_hash &&
239
238
  read == o.read &&
240
239
  body_excerpt == o.body_excerpt &&
241
- team_access == o.team_access
240
+ team_access == o.team_access &&
241
+ body_md5_hash == o.body_md5_hash
242
242
  end
243
243
 
244
244
  # @see the `==` method
@@ -250,7 +250,7 @@ module MailSlurpClient
250
250
  # Calculates hash code according to all attributes.
251
251
  # @return [Integer] Hash code
252
252
  def hash
253
- [id, from, subject, inbox_id, created_at, attachments, to, bcc, cc, domain_id, body_md5_hash, read, body_excerpt, team_access].hash
253
+ [id, from, subject, inbox_id, attachments, created_at, to, bcc, cc, domain_id, read, body_excerpt, team_access, body_md5_hash].hash
254
254
  end
255
255
 
256
256
  # Builds the object from hash
@@ -15,6 +15,18 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Access details for inbox using SMTP or IMAP
17
17
  class ImapSmtpAccessDetails
18
+ # Secure TLS SMTP server host domain
19
+ attr_accessor :secure_smtp_server_host
20
+
21
+ # Secure TLS SMTP server host port
22
+ attr_accessor :secure_smtp_server_port
23
+
24
+ # Secure TLS SMTP username for login
25
+ attr_accessor :secure_smtp_username
26
+
27
+ # Secure TLS SMTP password for login
28
+ attr_accessor :secure_smtp_password
29
+
18
30
  # SMTP server host domain
19
31
  attr_accessor :smtp_server_host
20
32
 
@@ -24,7 +36,7 @@ module MailSlurpClient
24
36
  # SMTP username for login
25
37
  attr_accessor :smtp_username
26
38
 
27
- # SMTP for login
39
+ # SMTP password for login
28
40
  attr_accessor :smtp_password
29
41
 
30
42
  # IMAP server host domain
@@ -42,6 +54,10 @@ module MailSlurpClient
42
54
  # Attribute mapping from ruby-style variable name to JSON key.
43
55
  def self.attribute_map
44
56
  {
57
+ :'secure_smtp_server_host' => :'secureSmtpServerHost',
58
+ :'secure_smtp_server_port' => :'secureSmtpServerPort',
59
+ :'secure_smtp_username' => :'secureSmtpUsername',
60
+ :'secure_smtp_password' => :'secureSmtpPassword',
45
61
  :'smtp_server_host' => :'smtpServerHost',
46
62
  :'smtp_server_port' => :'smtpServerPort',
47
63
  :'smtp_username' => :'smtpUsername',
@@ -56,6 +72,10 @@ module MailSlurpClient
56
72
  # Attribute type mapping.
57
73
  def self.openapi_types
58
74
  {
75
+ :'secure_smtp_server_host' => :'String',
76
+ :'secure_smtp_server_port' => :'Integer',
77
+ :'secure_smtp_username' => :'String',
78
+ :'secure_smtp_password' => :'String',
59
79
  :'smtp_server_host' => :'String',
60
80
  :'smtp_server_port' => :'Integer',
61
81
  :'smtp_username' => :'String',
@@ -88,6 +108,22 @@ module MailSlurpClient
88
108
  h[k.to_sym] = v
89
109
  }
90
110
 
111
+ if attributes.key?(:'secure_smtp_server_host')
112
+ self.secure_smtp_server_host = attributes[:'secure_smtp_server_host']
113
+ end
114
+
115
+ if attributes.key?(:'secure_smtp_server_port')
116
+ self.secure_smtp_server_port = attributes[:'secure_smtp_server_port']
117
+ end
118
+
119
+ if attributes.key?(:'secure_smtp_username')
120
+ self.secure_smtp_username = attributes[:'secure_smtp_username']
121
+ end
122
+
123
+ if attributes.key?(:'secure_smtp_password')
124
+ self.secure_smtp_password = attributes[:'secure_smtp_password']
125
+ end
126
+
91
127
  if attributes.key?(:'smtp_server_host')
92
128
  self.smtp_server_host = attributes[:'smtp_server_host']
93
129
  end
@@ -125,6 +161,22 @@ module MailSlurpClient
125
161
  # @return Array for valid properties with the reasons
126
162
  def list_invalid_properties
127
163
  invalid_properties = Array.new
164
+ if @secure_smtp_server_host.nil?
165
+ invalid_properties.push('invalid value for "secure_smtp_server_host", secure_smtp_server_host cannot be nil.')
166
+ end
167
+
168
+ if @secure_smtp_server_port.nil?
169
+ invalid_properties.push('invalid value for "secure_smtp_server_port", secure_smtp_server_port cannot be nil.')
170
+ end
171
+
172
+ if @secure_smtp_username.nil?
173
+ invalid_properties.push('invalid value for "secure_smtp_username", secure_smtp_username cannot be nil.')
174
+ end
175
+
176
+ if @secure_smtp_password.nil?
177
+ invalid_properties.push('invalid value for "secure_smtp_password", secure_smtp_password cannot be nil.')
178
+ end
179
+
128
180
  if @smtp_server_host.nil?
129
181
  invalid_properties.push('invalid value for "smtp_server_host", smtp_server_host cannot be nil.')
130
182
  end
@@ -163,6 +215,10 @@ module MailSlurpClient
163
215
  # Check to see if the all the properties in the model are valid
164
216
  # @return true if the model is valid
165
217
  def valid?
218
+ return false if @secure_smtp_server_host.nil?
219
+ return false if @secure_smtp_server_port.nil?
220
+ return false if @secure_smtp_username.nil?
221
+ return false if @secure_smtp_password.nil?
166
222
  return false if @smtp_server_host.nil?
167
223
  return false if @smtp_server_port.nil?
168
224
  return false if @smtp_username.nil?
@@ -179,6 +235,10 @@ module MailSlurpClient
179
235
  def ==(o)
180
236
  return true if self.equal?(o)
181
237
  self.class == o.class &&
238
+ secure_smtp_server_host == o.secure_smtp_server_host &&
239
+ secure_smtp_server_port == o.secure_smtp_server_port &&
240
+ secure_smtp_username == o.secure_smtp_username &&
241
+ secure_smtp_password == o.secure_smtp_password &&
182
242
  smtp_server_host == o.smtp_server_host &&
183
243
  smtp_server_port == o.smtp_server_port &&
184
244
  smtp_username == o.smtp_username &&
@@ -198,7 +258,7 @@ module MailSlurpClient
198
258
  # Calculates hash code according to all attributes.
199
259
  # @return [Integer] Hash code
200
260
  def hash
201
- [smtp_server_host, smtp_server_port, smtp_username, smtp_password, imap_server_host, imap_server_port, imap_username, imap_password].hash
261
+ [secure_smtp_server_host, secure_smtp_server_port, secure_smtp_username, secure_smtp_password, smtp_server_host, smtp_server_port, smtp_username, smtp_password, imap_server_host, imap_server_port, imap_username, imap_password].hash
202
262
  end
203
263
 
204
264
  # Builds the object from hash
@@ -21,6 +21,8 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :status
23
23
 
24
+ attr_accessor :forwarder_id
25
+
24
26
  attr_accessor :email_id
25
27
 
26
28
  attr_accessor :inbox_id
@@ -29,8 +31,6 @@ module MailSlurpClient
29
31
 
30
32
  attr_accessor :created_at
31
33
 
32
- attr_accessor :forwarder_id
33
-
34
34
  class EnumAttributeValidator
35
35
  attr_reader :datatype
36
36
  attr_reader :allowable_values
@@ -59,11 +59,11 @@ module MailSlurpClient
59
59
  :'message' => :'message',
60
60
  :'id' => :'id',
61
61
  :'status' => :'status',
62
+ :'forwarder_id' => :'forwarderId',
62
63
  :'email_id' => :'emailId',
63
64
  :'inbox_id' => :'inboxId',
64
65
  :'user_id' => :'userId',
65
- :'created_at' => :'createdAt',
66
- :'forwarder_id' => :'forwarderId'
66
+ :'created_at' => :'createdAt'
67
67
  }
68
68
  end
69
69
 
@@ -73,11 +73,11 @@ module MailSlurpClient
73
73
  :'message' => :'String',
74
74
  :'id' => :'String',
75
75
  :'status' => :'String',
76
+ :'forwarder_id' => :'String',
76
77
  :'email_id' => :'String',
77
78
  :'inbox_id' => :'String',
78
79
  :'user_id' => :'String',
79
- :'created_at' => :'DateTime',
80
- :'forwarder_id' => :'String'
80
+ :'created_at' => :'DateTime'
81
81
  }
82
82
  end
83
83
 
@@ -87,10 +87,10 @@ module MailSlurpClient
87
87
  :'message',
88
88
  :'id',
89
89
  :'status',
90
+ :'forwarder_id',
90
91
  :'email_id',
91
92
  :'inbox_id',
92
93
  :'user_id',
93
- :'forwarder_id'
94
94
  ])
95
95
  end
96
96
 
@@ -121,6 +121,10 @@ module MailSlurpClient
121
121
  self.status = attributes[:'status']
122
122
  end
123
123
 
124
+ if attributes.key?(:'forwarder_id')
125
+ self.forwarder_id = attributes[:'forwarder_id']
126
+ end
127
+
124
128
  if attributes.key?(:'email_id')
125
129
  self.email_id = attributes[:'email_id']
126
130
  end
@@ -136,10 +140,6 @@ module MailSlurpClient
136
140
  if attributes.key?(:'created_at')
137
141
  self.created_at = attributes[:'created_at']
138
142
  end
139
-
140
- if attributes.key?(:'forwarder_id')
141
- self.forwarder_id = attributes[:'forwarder_id']
142
- end
143
143
  end
144
144
 
145
145
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -180,11 +180,11 @@ module MailSlurpClient
180
180
  message == o.message &&
181
181
  id == o.id &&
182
182
  status == o.status &&
183
+ forwarder_id == o.forwarder_id &&
183
184
  email_id == o.email_id &&
184
185
  inbox_id == o.inbox_id &&
185
186
  user_id == o.user_id &&
186
- created_at == o.created_at &&
187
- forwarder_id == o.forwarder_id
187
+ created_at == o.created_at
188
188
  end
189
189
 
190
190
  # @see the `==` method
@@ -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
- [message, id, status, email_id, inbox_id, user_id, created_at, forwarder_id].hash
199
+ [message, id, status, forwarder_id, email_id, inbox_id, user_id, created_at].hash
200
200
  end
201
201
 
202
202
  # Builds the object from hash