mailslurp_client 15.0.7 → 15.1.2
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/attachment_controller_api.rb +3 -3
- data/lib/mailslurp_client/api/email_controller_api.rb +6 -6
- data/lib/mailslurp_client/api/expired_controller_api.rb +9 -9
- data/lib/mailslurp_client/api/inbox_controller_api.rb +10 -10
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +13 -13
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/attachment_projection.rb +28 -28
- data/lib/mailslurp_client/models/contact_projection.rb +13 -13
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- data/lib/mailslurp_client/models/missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_alias.rb +19 -19
- data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
- data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
- data/lib/mailslurp_client/models/pageable_object.rb +22 -22
- data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/thread_projection.rb +24 -24
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
@@ -21,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :total
|
23
23
|
|
24
|
+
attr_accessor :last
|
25
|
+
|
24
26
|
attr_accessor :total_elements
|
25
27
|
|
26
28
|
attr_accessor :total_pages
|
27
29
|
|
28
|
-
attr_accessor :last
|
29
|
-
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
33
33
|
|
34
34
|
attr_accessor :sort
|
35
35
|
|
36
|
-
attr_accessor :number_of_elements
|
37
|
-
|
38
36
|
attr_accessor :first
|
39
37
|
|
38
|
+
attr_accessor :number_of_elements
|
39
|
+
|
40
40
|
attr_accessor :empty
|
41
41
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -45,14 +45,14 @@ module MailSlurpClient
|
|
45
45
|
:'content' => :'content',
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
|
+
:'last' => :'last',
|
48
49
|
:'total_elements' => :'totalElements',
|
49
50
|
:'total_pages' => :'totalPages',
|
50
|
-
:'last' => :'last',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
54
|
-
:'number_of_elements' => :'numberOfElements',
|
55
54
|
:'first' => :'first',
|
55
|
+
:'number_of_elements' => :'numberOfElements',
|
56
56
|
:'empty' => :'empty'
|
57
57
|
}
|
58
58
|
end
|
@@ -63,14 +63,14 @@ module MailSlurpClient
|
|
63
63
|
:'content' => :'Array<WebhookResultDto>',
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
|
+
:'last' => :'Boolean',
|
66
67
|
:'total_elements' => :'Integer',
|
67
68
|
:'total_pages' => :'Integer',
|
68
|
-
:'last' => :'Boolean',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
72
|
-
:'number_of_elements' => :'Integer',
|
73
72
|
:'first' => :'Boolean',
|
73
|
+
:'number_of_elements' => :'Integer',
|
74
74
|
:'empty' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
@@ -110,6 +110,10 @@ module MailSlurpClient
|
|
110
110
|
self.total = attributes[:'total']
|
111
111
|
end
|
112
112
|
|
113
|
+
if attributes.key?(:'last')
|
114
|
+
self.last = attributes[:'last']
|
115
|
+
end
|
116
|
+
|
113
117
|
if attributes.key?(:'total_elements')
|
114
118
|
self.total_elements = attributes[:'total_elements']
|
115
119
|
end
|
@@ -118,10 +122,6 @@ module MailSlurpClient
|
|
118
122
|
self.total_pages = attributes[:'total_pages']
|
119
123
|
end
|
120
124
|
|
121
|
-
if attributes.key?(:'last')
|
122
|
-
self.last = attributes[:'last']
|
123
|
-
end
|
124
|
-
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -134,14 +134,14 @@ module MailSlurpClient
|
|
134
134
|
self.sort = attributes[:'sort']
|
135
135
|
end
|
136
136
|
|
137
|
-
if attributes.key?(:'number_of_elements')
|
138
|
-
self.number_of_elements = attributes[:'number_of_elements']
|
139
|
-
end
|
140
|
-
|
141
137
|
if attributes.key?(:'first')
|
142
138
|
self.first = attributes[:'first']
|
143
139
|
end
|
144
140
|
|
141
|
+
if attributes.key?(:'number_of_elements')
|
142
|
+
self.number_of_elements = attributes[:'number_of_elements']
|
143
|
+
end
|
144
|
+
|
145
145
|
if attributes.key?(:'empty')
|
146
146
|
self.empty = attributes[:'empty']
|
147
147
|
end
|
@@ -168,14 +168,14 @@ module MailSlurpClient
|
|
168
168
|
content == o.content &&
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
|
+
last == o.last &&
|
171
172
|
total_elements == o.total_elements &&
|
172
173
|
total_pages == o.total_pages &&
|
173
|
-
last == o.last &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
177
|
-
number_of_elements == o.number_of_elements &&
|
178
177
|
first == o.first &&
|
178
|
+
number_of_elements == o.number_of_elements &&
|
179
179
|
empty == o.empty
|
180
180
|
end
|
181
181
|
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[content, pageable, total, total_elements, total_pages,
|
191
|
+
[content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -18,23 +18,23 @@ module MailSlurpClient
|
|
18
18
|
|
19
19
|
attr_accessor :sort
|
20
20
|
|
21
|
-
attr_accessor :paged
|
22
|
-
|
23
|
-
attr_accessor :unpaged
|
24
|
-
|
25
21
|
attr_accessor :page_number
|
26
22
|
|
27
23
|
attr_accessor :page_size
|
28
24
|
|
25
|
+
attr_accessor :paged
|
26
|
+
|
27
|
+
attr_accessor :unpaged
|
28
|
+
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
32
|
:'offset' => :'offset',
|
33
33
|
:'sort' => :'sort',
|
34
|
-
:'paged' => :'paged',
|
35
|
-
:'unpaged' => :'unpaged',
|
36
34
|
:'page_number' => :'pageNumber',
|
37
|
-
:'page_size' => :'pageSize'
|
35
|
+
:'page_size' => :'pageSize',
|
36
|
+
:'paged' => :'paged',
|
37
|
+
:'unpaged' => :'unpaged'
|
38
38
|
}
|
39
39
|
end
|
40
40
|
|
@@ -43,10 +43,10 @@ module MailSlurpClient
|
|
43
43
|
{
|
44
44
|
:'offset' => :'Integer',
|
45
45
|
:'sort' => :'Sort',
|
46
|
-
:'paged' => :'Boolean',
|
47
|
-
:'unpaged' => :'Boolean',
|
48
46
|
:'page_number' => :'Integer',
|
49
|
-
:'page_size' => :'Integer'
|
47
|
+
:'page_size' => :'Integer',
|
48
|
+
:'paged' => :'Boolean',
|
49
|
+
:'unpaged' => :'Boolean'
|
50
50
|
}
|
51
51
|
end
|
52
52
|
|
@@ -79,14 +79,6 @@ module MailSlurpClient
|
|
79
79
|
self.sort = attributes[:'sort']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'paged')
|
83
|
-
self.paged = attributes[:'paged']
|
84
|
-
end
|
85
|
-
|
86
|
-
if attributes.key?(:'unpaged')
|
87
|
-
self.unpaged = attributes[:'unpaged']
|
88
|
-
end
|
89
|
-
|
90
82
|
if attributes.key?(:'page_number')
|
91
83
|
self.page_number = attributes[:'page_number']
|
92
84
|
end
|
@@ -94,6 +86,14 @@ module MailSlurpClient
|
|
94
86
|
if attributes.key?(:'page_size')
|
95
87
|
self.page_size = attributes[:'page_size']
|
96
88
|
end
|
89
|
+
|
90
|
+
if attributes.key?(:'paged')
|
91
|
+
self.paged = attributes[:'paged']
|
92
|
+
end
|
93
|
+
|
94
|
+
if attributes.key?(:'unpaged')
|
95
|
+
self.unpaged = attributes[:'unpaged']
|
96
|
+
end
|
97
97
|
end
|
98
98
|
|
99
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -116,10 +116,10 @@ module MailSlurpClient
|
|
116
116
|
self.class == o.class &&
|
117
117
|
offset == o.offset &&
|
118
118
|
sort == o.sort &&
|
119
|
-
paged == o.paged &&
|
120
|
-
unpaged == o.unpaged &&
|
121
119
|
page_number == o.page_number &&
|
122
|
-
page_size == o.page_size
|
120
|
+
page_size == o.page_size &&
|
121
|
+
paged == o.paged &&
|
122
|
+
unpaged == o.unpaged
|
123
123
|
end
|
124
124
|
|
125
125
|
# @see the `==` method
|
@@ -131,7 +131,7 @@ module MailSlurpClient
|
|
131
131
|
# Calculates hash code according to all attributes.
|
132
132
|
# @return [Integer] Hash code
|
133
133
|
def hash
|
134
|
-
[offset, sort,
|
134
|
+
[offset, sort, page_number, page_size, paged, unpaged].hash
|
135
135
|
end
|
136
136
|
|
137
137
|
# Builds the object from hash
|
@@ -29,12 +29,12 @@ module MailSlurpClient
|
|
29
29
|
|
30
30
|
attr_accessor :attachments
|
31
31
|
|
32
|
-
attr_accessor :created_at
|
33
|
-
|
34
32
|
attr_accessor :bcc
|
35
33
|
|
36
34
|
attr_accessor :cc
|
37
35
|
|
36
|
+
attr_accessor :created_at
|
37
|
+
|
38
38
|
attr_accessor :body_md5_hash
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -47,9 +47,9 @@ module MailSlurpClient
|
|
47
47
|
:'inbox_id' => :'inboxId',
|
48
48
|
:'to' => :'to',
|
49
49
|
:'attachments' => :'attachments',
|
50
|
-
:'created_at' => :'createdAt',
|
51
50
|
:'bcc' => :'bcc',
|
52
51
|
:'cc' => :'cc',
|
52
|
+
:'created_at' => :'createdAt',
|
53
53
|
:'body_md5_hash' => :'bodyMD5Hash'
|
54
54
|
}
|
55
55
|
end
|
@@ -64,9 +64,9 @@ module MailSlurpClient
|
|
64
64
|
:'inbox_id' => :'String',
|
65
65
|
:'to' => :'Array<String>',
|
66
66
|
:'attachments' => :'Array<String>',
|
67
|
-
:'created_at' => :'DateTime',
|
68
67
|
:'bcc' => :'Array<String>',
|
69
68
|
:'cc' => :'Array<String>',
|
69
|
+
:'created_at' => :'DateTime',
|
70
70
|
:'body_md5_hash' => :'String'
|
71
71
|
}
|
72
72
|
end
|
@@ -124,10 +124,6 @@ module MailSlurpClient
|
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
127
|
-
if attributes.key?(:'created_at')
|
128
|
-
self.created_at = attributes[:'created_at']
|
129
|
-
end
|
130
|
-
|
131
127
|
if attributes.key?(:'bcc')
|
132
128
|
if (value = attributes[:'bcc']).is_a?(Array)
|
133
129
|
self.bcc = value
|
@@ -140,6 +136,10 @@ module MailSlurpClient
|
|
140
136
|
end
|
141
137
|
end
|
142
138
|
|
139
|
+
if attributes.key?(:'created_at')
|
140
|
+
self.created_at = attributes[:'created_at']
|
141
|
+
end
|
142
|
+
|
143
143
|
if attributes.key?(:'body_md5_hash')
|
144
144
|
self.body_md5_hash = attributes[:'body_md5_hash']
|
145
145
|
end
|
@@ -169,10 +169,6 @@ module MailSlurpClient
|
|
169
169
|
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
170
170
|
end
|
171
171
|
|
172
|
-
if @created_at.nil?
|
173
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
174
|
-
end
|
175
|
-
|
176
172
|
if @bcc.nil?
|
177
173
|
invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
|
178
174
|
end
|
@@ -181,6 +177,10 @@ module MailSlurpClient
|
|
181
177
|
invalid_properties.push('invalid value for "cc", cc cannot be nil.')
|
182
178
|
end
|
183
179
|
|
180
|
+
if @created_at.nil?
|
181
|
+
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
182
|
+
end
|
183
|
+
|
184
184
|
invalid_properties
|
185
185
|
end
|
186
186
|
|
@@ -192,9 +192,9 @@ module MailSlurpClient
|
|
192
192
|
return false if @inbox_id.nil?
|
193
193
|
return false if @to.nil?
|
194
194
|
return false if @attachments.nil?
|
195
|
-
return false if @created_at.nil?
|
196
195
|
return false if @bcc.nil?
|
197
196
|
return false if @cc.nil?
|
197
|
+
return false if @created_at.nil?
|
198
198
|
true
|
199
199
|
end
|
200
200
|
|
@@ -210,9 +210,9 @@ module MailSlurpClient
|
|
210
210
|
inbox_id == o.inbox_id &&
|
211
211
|
to == o.to &&
|
212
212
|
attachments == o.attachments &&
|
213
|
-
created_at == o.created_at &&
|
214
213
|
bcc == o.bcc &&
|
215
214
|
cc == o.cc &&
|
215
|
+
created_at == o.created_at &&
|
216
216
|
body_md5_hash == o.body_md5_hash
|
217
217
|
end
|
218
218
|
|
@@ -225,7 +225,7 @@ module MailSlurpClient
|
|
225
225
|
# Calculates hash code according to all attributes.
|
226
226
|
# @return [Integer] Hash code
|
227
227
|
def hash
|
228
|
-
[id, from, user_id, subject, inbox_id, to, attachments,
|
228
|
+
[id, from, user_id, subject, inbox_id, to, attachments, bcc, cc, created_at, body_md5_hash].hash
|
229
229
|
end
|
230
230
|
|
231
231
|
# Builds the object from hash
|
@@ -19,20 +19,20 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
+
attr_accessor :user_id
|
23
|
+
|
22
24
|
attr_accessor :subject
|
23
25
|
|
24
26
|
attr_accessor :inbox_id
|
25
27
|
|
26
|
-
attr_accessor :user_id
|
27
|
-
|
28
28
|
attr_accessor :to
|
29
29
|
|
30
|
-
attr_accessor :created_at
|
31
|
-
|
32
30
|
attr_accessor :bcc
|
33
31
|
|
34
32
|
attr_accessor :cc
|
35
33
|
|
34
|
+
attr_accessor :created_at
|
35
|
+
|
36
36
|
attr_accessor :updated_at
|
37
37
|
|
38
38
|
attr_accessor :alias_id
|
@@ -42,13 +42,13 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'name' => :'name',
|
44
44
|
:'id' => :'id',
|
45
|
+
:'user_id' => :'userId',
|
45
46
|
:'subject' => :'subject',
|
46
47
|
:'inbox_id' => :'inboxId',
|
47
|
-
:'user_id' => :'userId',
|
48
48
|
:'to' => :'to',
|
49
|
-
:'created_at' => :'createdAt',
|
50
49
|
:'bcc' => :'bcc',
|
51
50
|
:'cc' => :'cc',
|
51
|
+
:'created_at' => :'createdAt',
|
52
52
|
:'updated_at' => :'updatedAt',
|
53
53
|
:'alias_id' => :'aliasId'
|
54
54
|
}
|
@@ -59,13 +59,13 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'name' => :'String',
|
61
61
|
:'id' => :'String',
|
62
|
+
:'user_id' => :'String',
|
62
63
|
:'subject' => :'String',
|
63
64
|
:'inbox_id' => :'String',
|
64
|
-
:'user_id' => :'String',
|
65
65
|
:'to' => :'Array<String>',
|
66
|
-
:'created_at' => :'DateTime',
|
67
66
|
:'bcc' => :'Array<String>',
|
68
67
|
:'cc' => :'Array<String>',
|
68
|
+
:'created_at' => :'DateTime',
|
69
69
|
:'updated_at' => :'DateTime',
|
70
70
|
:'alias_id' => :'String'
|
71
71
|
}
|
@@ -100,6 +100,10 @@ module MailSlurpClient
|
|
100
100
|
self.id = attributes[:'id']
|
101
101
|
end
|
102
102
|
|
103
|
+
if attributes.key?(:'user_id')
|
104
|
+
self.user_id = attributes[:'user_id']
|
105
|
+
end
|
106
|
+
|
103
107
|
if attributes.key?(:'subject')
|
104
108
|
self.subject = attributes[:'subject']
|
105
109
|
end
|
@@ -108,20 +112,12 @@ module MailSlurpClient
|
|
108
112
|
self.inbox_id = attributes[:'inbox_id']
|
109
113
|
end
|
110
114
|
|
111
|
-
if attributes.key?(:'user_id')
|
112
|
-
self.user_id = attributes[:'user_id']
|
113
|
-
end
|
114
|
-
|
115
115
|
if attributes.key?(:'to')
|
116
116
|
if (value = attributes[:'to']).is_a?(Array)
|
117
117
|
self.to = value
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
121
|
-
if attributes.key?(:'created_at')
|
122
|
-
self.created_at = attributes[:'created_at']
|
123
|
-
end
|
124
|
-
|
125
121
|
if attributes.key?(:'bcc')
|
126
122
|
if (value = attributes[:'bcc']).is_a?(Array)
|
127
123
|
self.bcc = value
|
@@ -134,6 +130,10 @@ module MailSlurpClient
|
|
134
130
|
end
|
135
131
|
end
|
136
132
|
|
133
|
+
if attributes.key?(:'created_at')
|
134
|
+
self.created_at = attributes[:'created_at']
|
135
|
+
end
|
136
|
+
|
137
137
|
if attributes.key?(:'updated_at')
|
138
138
|
self.updated_at = attributes[:'updated_at']
|
139
139
|
end
|
@@ -151,14 +151,14 @@ module MailSlurpClient
|
|
151
151
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
152
152
|
end
|
153
153
|
|
154
|
-
if @inbox_id.nil?
|
155
|
-
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
156
|
-
end
|
157
|
-
|
158
154
|
if @user_id.nil?
|
159
155
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
160
156
|
end
|
161
157
|
|
158
|
+
if @inbox_id.nil?
|
159
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
160
|
+
end
|
161
|
+
|
162
162
|
if @to.nil?
|
163
163
|
invalid_properties.push('invalid value for "to", to cannot be nil.')
|
164
164
|
end
|
@@ -182,8 +182,8 @@ module MailSlurpClient
|
|
182
182
|
# @return true if the model is valid
|
183
183
|
def valid?
|
184
184
|
return false if @id.nil?
|
185
|
-
return false if @inbox_id.nil?
|
186
185
|
return false if @user_id.nil?
|
186
|
+
return false if @inbox_id.nil?
|
187
187
|
return false if @to.nil?
|
188
188
|
return false if @created_at.nil?
|
189
189
|
return false if @updated_at.nil?
|
@@ -198,13 +198,13 @@ module MailSlurpClient
|
|
198
198
|
self.class == o.class &&
|
199
199
|
name == o.name &&
|
200
200
|
id == o.id &&
|
201
|
+
user_id == o.user_id &&
|
201
202
|
subject == o.subject &&
|
202
203
|
inbox_id == o.inbox_id &&
|
203
|
-
user_id == o.user_id &&
|
204
204
|
to == o.to &&
|
205
|
-
created_at == o.created_at &&
|
206
205
|
bcc == o.bcc &&
|
207
206
|
cc == o.cc &&
|
207
|
+
created_at == o.created_at &&
|
208
208
|
updated_at == o.updated_at &&
|
209
209
|
alias_id == o.alias_id
|
210
210
|
end
|
@@ -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
|
-
[name, id, subject, inbox_id,
|
221
|
+
[name, id, user_id, subject, inbox_id, to, bcc, cc, created_at, updated_at, alias_id].hash
|
222
222
|
end
|
223
223
|
|
224
224
|
# Builds the object from hash
|
@@ -18,10 +18,10 @@ module MailSlurpClient
|
|
18
18
|
|
19
19
|
attr_accessor :id
|
20
20
|
|
21
|
-
attr_accessor :inbox_id
|
22
|
-
|
23
21
|
attr_accessor :user_id
|
24
22
|
|
23
|
+
attr_accessor :inbox_id
|
24
|
+
|
25
25
|
attr_accessor :created_at
|
26
26
|
|
27
27
|
attr_accessor :seen
|
@@ -37,8 +37,8 @@ module MailSlurpClient
|
|
37
37
|
{
|
38
38
|
:'name' => :'name',
|
39
39
|
:'id' => :'id',
|
40
|
-
:'inbox_id' => :'inboxId',
|
41
40
|
:'user_id' => :'userId',
|
41
|
+
:'inbox_id' => :'inboxId',
|
42
42
|
:'created_at' => :'createdAt',
|
43
43
|
:'seen' => :'seen',
|
44
44
|
:'recipient' => :'recipient',
|
@@ -52,8 +52,8 @@ module MailSlurpClient
|
|
52
52
|
{
|
53
53
|
:'name' => :'String',
|
54
54
|
:'id' => :'String',
|
55
|
-
:'inbox_id' => :'String',
|
56
55
|
:'user_id' => :'String',
|
56
|
+
:'inbox_id' => :'String',
|
57
57
|
:'created_at' => :'DateTime',
|
58
58
|
:'seen' => :'Boolean',
|
59
59
|
:'recipient' => :'String',
|
@@ -91,14 +91,14 @@ module MailSlurpClient
|
|
91
91
|
self.id = attributes[:'id']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'inbox_id')
|
95
|
-
self.inbox_id = attributes[:'inbox_id']
|
96
|
-
end
|
97
|
-
|
98
94
|
if attributes.key?(:'user_id')
|
99
95
|
self.user_id = attributes[:'user_id']
|
100
96
|
end
|
101
97
|
|
98
|
+
if attributes.key?(:'inbox_id')
|
99
|
+
self.inbox_id = attributes[:'inbox_id']
|
100
|
+
end
|
101
|
+
|
102
102
|
if attributes.key?(:'created_at')
|
103
103
|
self.created_at = attributes[:'created_at']
|
104
104
|
end
|
@@ -160,8 +160,8 @@ module MailSlurpClient
|
|
160
160
|
self.class == o.class &&
|
161
161
|
name == o.name &&
|
162
162
|
id == o.id &&
|
163
|
-
inbox_id == o.inbox_id &&
|
164
163
|
user_id == o.user_id &&
|
164
|
+
inbox_id == o.inbox_id &&
|
165
165
|
created_at == o.created_at &&
|
166
166
|
seen == o.seen &&
|
167
167
|
recipient == o.recipient &&
|
@@ -178,7 +178,7 @@ module MailSlurpClient
|
|
178
178
|
# Calculates hash code according to all attributes.
|
179
179
|
# @return [Integer] Hash code
|
180
180
|
def hash
|
181
|
-
[name, id,
|
181
|
+
[name, id, user_id, inbox_id, created_at, seen, recipient, seen_at, sent_email_id].hash
|
182
182
|
end
|
183
183
|
|
184
184
|
# Builds the object from hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailslurp_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.
|
4
|
+
version: 15.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Create emails addresses in Ruby then send and receive real emails and
|
14
14
|
attachments. See https://www.mailslurp.com/docs/ruby/ for full Ruby documentation.
|