mailslurp_client 15.17.0 → 15.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/models/attachment_projection.rb +15 -15
- data/lib/mailslurp_client/models/create_webhook_options.rb +14 -1
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +23 -1
- 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_complaint.rb +19 -19
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_delivery_status.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_email_validation_request.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_forwarder_events.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.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_phone_number_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +19 -19
- data/lib/mailslurp_client/models/page_sms_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/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/webhook_dto.rb +16 -5
- 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<UnknownMissedEmailProjection>',
|
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
|
@@ -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<WebhookProjection>',
|
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
|
@@ -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
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :user_id
|
25
25
|
|
26
|
-
attr_accessor :attachments
|
27
|
-
|
28
26
|
attr_accessor :inbox_id
|
29
27
|
|
28
|
+
attr_accessor :attachments
|
29
|
+
|
30
30
|
attr_accessor :created_at
|
31
31
|
|
32
32
|
attr_accessor :to
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'from' => :'from',
|
47
47
|
:'subject' => :'subject',
|
48
48
|
:'user_id' => :'userId',
|
49
|
-
:'attachments' => :'attachments',
|
50
49
|
:'inbox_id' => :'inboxId',
|
50
|
+
:'attachments' => :'attachments',
|
51
51
|
:'created_at' => :'createdAt',
|
52
52
|
:'to' => :'to',
|
53
53
|
:'bcc' => :'bcc',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'from' => :'String',
|
65
65
|
:'subject' => :'String',
|
66
66
|
:'user_id' => :'String',
|
67
|
-
:'attachments' => :'Array<String>',
|
68
67
|
:'inbox_id' => :'String',
|
68
|
+
:'attachments' => :'Array<String>',
|
69
69
|
:'created_at' => :'DateTime',
|
70
70
|
:'to' => :'Array<String>',
|
71
71
|
:'bcc' => :'Array<String>',
|
@@ -112,16 +112,16 @@ module MailSlurpClient
|
|
112
112
|
self.user_id = attributes[:'user_id']
|
113
113
|
end
|
114
114
|
|
115
|
+
if attributes.key?(:'inbox_id')
|
116
|
+
self.inbox_id = attributes[:'inbox_id']
|
117
|
+
end
|
118
|
+
|
115
119
|
if attributes.key?(:'attachments')
|
116
120
|
if (value = attributes[:'attachments']).is_a?(Array)
|
117
121
|
self.attachments = value
|
118
122
|
end
|
119
123
|
end
|
120
124
|
|
121
|
-
if attributes.key?(:'inbox_id')
|
122
|
-
self.inbox_id = attributes[:'inbox_id']
|
123
|
-
end
|
124
|
-
|
125
125
|
if attributes.key?(:'created_at')
|
126
126
|
self.created_at = attributes[:'created_at']
|
127
127
|
end
|
@@ -165,14 +165,14 @@ module MailSlurpClient
|
|
165
165
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
166
166
|
end
|
167
167
|
|
168
|
-
if @attachments.nil?
|
169
|
-
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
170
|
-
end
|
171
|
-
|
172
168
|
if @inbox_id.nil?
|
173
169
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
174
170
|
end
|
175
171
|
|
172
|
+
if @attachments.nil?
|
173
|
+
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
174
|
+
end
|
175
|
+
|
176
176
|
if @created_at.nil?
|
177
177
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
178
178
|
end
|
@@ -201,8 +201,8 @@ module MailSlurpClient
|
|
201
201
|
def valid?
|
202
202
|
return false if @id.nil?
|
203
203
|
return false if @user_id.nil?
|
204
|
-
return false if @attachments.nil?
|
205
204
|
return false if @inbox_id.nil?
|
205
|
+
return false if @attachments.nil?
|
206
206
|
return false if @created_at.nil?
|
207
207
|
return false if @to.nil?
|
208
208
|
return false if @bcc.nil?
|
@@ -220,8 +220,8 @@ module MailSlurpClient
|
|
220
220
|
from == o.from &&
|
221
221
|
subject == o.subject &&
|
222
222
|
user_id == o.user_id &&
|
223
|
-
attachments == o.attachments &&
|
224
223
|
inbox_id == o.inbox_id &&
|
224
|
+
attachments == o.attachments &&
|
225
225
|
created_at == o.created_at &&
|
226
226
|
to == o.to &&
|
227
227
|
bcc == o.bcc &&
|
@@ -239,7 +239,7 @@ module MailSlurpClient
|
|
239
239
|
# Calculates hash code according to all attributes.
|
240
240
|
# @return [Integer] Hash code
|
241
241
|
def hash
|
242
|
-
[id, from, subject, user_id,
|
242
|
+
[id, from, subject, user_id, inbox_id, attachments, created_at, to, bcc, cc, body_md5_hash, virtual_send].hash
|
243
243
|
end
|
244
244
|
|
245
245
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :user_id
|
23
23
|
|
24
|
-
attr_accessor :sent_email_id
|
25
|
-
|
26
24
|
attr_accessor :inbox_id
|
27
25
|
|
26
|
+
attr_accessor :sent_email_id
|
27
|
+
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
30
|
attr_accessor :recipient
|
@@ -39,8 +39,8 @@ module MailSlurpClient
|
|
39
39
|
:'name' => :'name',
|
40
40
|
:'id' => :'id',
|
41
41
|
:'user_id' => :'userId',
|
42
|
-
:'sent_email_id' => :'sentEmailId',
|
43
42
|
:'inbox_id' => :'inboxId',
|
43
|
+
:'sent_email_id' => :'sentEmailId',
|
44
44
|
:'created_at' => :'createdAt',
|
45
45
|
:'recipient' => :'recipient',
|
46
46
|
:'seen' => :'seen',
|
@@ -54,8 +54,8 @@ module MailSlurpClient
|
|
54
54
|
:'name' => :'String',
|
55
55
|
:'id' => :'String',
|
56
56
|
:'user_id' => :'String',
|
57
|
-
:'sent_email_id' => :'String',
|
58
57
|
:'inbox_id' => :'String',
|
58
|
+
:'sent_email_id' => :'String',
|
59
59
|
:'created_at' => :'DateTime',
|
60
60
|
:'recipient' => :'String',
|
61
61
|
:'seen' => :'Boolean',
|
@@ -96,14 +96,14 @@ module MailSlurpClient
|
|
96
96
|
self.user_id = attributes[:'user_id']
|
97
97
|
end
|
98
98
|
|
99
|
-
if attributes.key?(:'sent_email_id')
|
100
|
-
self.sent_email_id = attributes[:'sent_email_id']
|
101
|
-
end
|
102
|
-
|
103
99
|
if attributes.key?(:'inbox_id')
|
104
100
|
self.inbox_id = attributes[:'inbox_id']
|
105
101
|
end
|
106
102
|
|
103
|
+
if attributes.key?(:'sent_email_id')
|
104
|
+
self.sent_email_id = attributes[:'sent_email_id']
|
105
|
+
end
|
106
|
+
|
107
107
|
if attributes.key?(:'created_at')
|
108
108
|
self.created_at = attributes[:'created_at']
|
109
109
|
end
|
@@ -162,8 +162,8 @@ module MailSlurpClient
|
|
162
162
|
name == o.name &&
|
163
163
|
id == o.id &&
|
164
164
|
user_id == o.user_id &&
|
165
|
-
sent_email_id == o.sent_email_id &&
|
166
165
|
inbox_id == o.inbox_id &&
|
166
|
+
sent_email_id == o.sent_email_id &&
|
167
167
|
created_at == o.created_at &&
|
168
168
|
recipient == o.recipient &&
|
169
169
|
seen == o.seen &&
|
@@ -179,7 +179,7 @@ module MailSlurpClient
|
|
179
179
|
# Calculates hash code according to all attributes.
|
180
180
|
# @return [Integer] Hash code
|
181
181
|
def hash
|
182
|
-
[name, id, user_id,
|
182
|
+
[name, id, user_id, inbox_id, sent_email_id, created_at, recipient, seen, seen_at].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|
@@ -58,6 +58,9 @@ module MailSlurpClient
|
|
58
58
|
# Should notifier ignore insecure SSL certificates
|
59
59
|
attr_accessor :ignore_insecure_ssl_certificates
|
60
60
|
|
61
|
+
# Should notifier use static IP range when sending webhook payload
|
62
|
+
attr_accessor :use_static_ip_range
|
63
|
+
|
61
64
|
class EnumAttributeValidator
|
62
65
|
attr_reader :datatype
|
63
66
|
attr_reader :allowable_values
|
@@ -97,7 +100,8 @@ module MailSlurpClient
|
|
97
100
|
:'updated_at' => :'updatedAt',
|
98
101
|
:'event_name' => :'eventName',
|
99
102
|
:'request_headers' => :'requestHeaders',
|
100
|
-
:'ignore_insecure_ssl_certificates' => :'ignoreInsecureSslCertificates'
|
103
|
+
:'ignore_insecure_ssl_certificates' => :'ignoreInsecureSslCertificates',
|
104
|
+
:'use_static_ip_range' => :'useStaticIpRange'
|
101
105
|
}
|
102
106
|
end
|
103
107
|
|
@@ -118,7 +122,8 @@ module MailSlurpClient
|
|
118
122
|
:'updated_at' => :'DateTime',
|
119
123
|
:'event_name' => :'String',
|
120
124
|
:'request_headers' => :'WebhookHeaders',
|
121
|
-
:'ignore_insecure_ssl_certificates' => :'Boolean'
|
125
|
+
:'ignore_insecure_ssl_certificates' => :'Boolean',
|
126
|
+
:'use_static_ip_range' => :'Boolean'
|
122
127
|
}
|
123
128
|
end
|
124
129
|
|
@@ -131,7 +136,8 @@ module MailSlurpClient
|
|
131
136
|
:'request_body_template',
|
132
137
|
:'created_at',
|
133
138
|
:'event_name',
|
134
|
-
:'ignore_insecure_ssl_certificates'
|
139
|
+
:'ignore_insecure_ssl_certificates',
|
140
|
+
:'use_static_ip_range'
|
135
141
|
])
|
136
142
|
end
|
137
143
|
|
@@ -209,6 +215,10 @@ module MailSlurpClient
|
|
209
215
|
if attributes.key?(:'ignore_insecure_ssl_certificates')
|
210
216
|
self.ignore_insecure_ssl_certificates = attributes[:'ignore_insecure_ssl_certificates']
|
211
217
|
end
|
218
|
+
|
219
|
+
if attributes.key?(:'use_static_ip_range')
|
220
|
+
self.use_static_ip_range = attributes[:'use_static_ip_range']
|
221
|
+
end
|
212
222
|
end
|
213
223
|
|
214
224
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -302,7 +312,8 @@ module MailSlurpClient
|
|
302
312
|
updated_at == o.updated_at &&
|
303
313
|
event_name == o.event_name &&
|
304
314
|
request_headers == o.request_headers &&
|
305
|
-
ignore_insecure_ssl_certificates == o.ignore_insecure_ssl_certificates
|
315
|
+
ignore_insecure_ssl_certificates == o.ignore_insecure_ssl_certificates &&
|
316
|
+
use_static_ip_range == o.use_static_ip_range
|
306
317
|
end
|
307
318
|
|
308
319
|
# @see the `==` method
|
@@ -314,7 +325,7 @@ module MailSlurpClient
|
|
314
325
|
# Calculates hash code according to all attributes.
|
315
326
|
# @return [Integer] Hash code
|
316
327
|
def hash
|
317
|
-
[id, user_id, basic_auth, name, phone_id, inbox_id, request_body_template, url, method, payload_json_schema, created_at, updated_at, event_name, request_headers, ignore_insecure_ssl_certificates].hash
|
328
|
+
[id, user_id, basic_auth, name, phone_id, inbox_id, request_body_template, url, method, payload_json_schema, created_at, updated_at, event_name, request_headers, ignore_insecure_ssl_certificates, use_static_ip_range].hash
|
318
329
|
end
|
319
330
|
|
320
331
|
# 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.17.
|
4
|
+
version: 15.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-09 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/ruby/ for full Ruby documentation. Get
|