mailslurp_client 15.12.13 → 15.12.16
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/api/api_user_controller_api.rb +104 -0
- data/lib/mailslurp_client/api/bounce_controller_api.rb +79 -0
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +212 -0
- data/lib/mailslurp_client/api/webhook_controller_api.rb +71 -0
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/complaint.rb +289 -0
- data/lib/mailslurp_client/models/create_contact_options.rb +7 -0
- data/lib/mailslurp_client/models/create_domain_options.rb +3 -0
- data/lib/mailslurp_client/models/create_inbox_dto.rb +10 -0
- data/lib/mailslurp_client/models/create_webhook_options.rb +17 -7
- data/lib/mailslurp_client/models/delivery_status.rb +331 -0
- data/lib/mailslurp_client/models/email.rb +15 -0
- data/lib/mailslurp_client/models/email_analysis.rb +5 -0
- data/lib/mailslurp_client/models/email_preview.rb +6 -5
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- data/lib/mailslurp_client/models/inbox_dto.rb +2 -0
- data/lib/mailslurp_client/models/inbox_preview.rb +5 -0
- data/lib/mailslurp_client/models/missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +4 -0
- data/lib/mailslurp_client/models/page_alias.rb +10 -10
- data/lib/mailslurp_client/models/page_attachment_entity.rb +10 -10
- data/lib/mailslurp_client/models/page_bounced_email.rb +10 -10
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +10 -10
- data/lib/mailslurp_client/models/page_complaint.rb +308 -0
- data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_delivery_status.rb +308 -0
- data/lib/mailslurp_client/models/page_email_preview.rb +10 -10
- data/lib/mailslurp_client/models/page_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_group_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +16 -16
- data/lib/mailslurp_client/models/page_sms_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_template_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_thread_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_webhook_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_webhook_result.rb +10 -10
- data/lib/mailslurp_client/models/sent_email_dto.rb +52 -1
- data/lib/mailslurp_client/models/sent_email_projection.rb +59 -59
- data/lib/mailslurp_client/models/thread_projection.rb +20 -20
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/update_inbox_options.rb +5 -0
- data/lib/mailslurp_client/models/upload_attachment_options.rb +2 -0
- data/lib/mailslurp_client/models/webhook_dto.rb +18 -9
- data/lib/mailslurp_client/models/webhook_header_name_value.rb +228 -0
- data/lib/mailslurp_client/models/webhook_headers.rb +215 -0
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +6 -0
- metadata +11 -5
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :last
|
25
25
|
|
26
|
-
attr_accessor :total_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_pages, total_elements, 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 :last
|
25
25
|
|
26
|
-
attr_accessor :total_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_pages, total_elements, 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 :last
|
25
25
|
|
26
|
-
attr_accessor :total_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_pages, total_elements, 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 :last
|
25
25
|
|
26
|
-
attr_accessor :total_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_pages, total_elements, 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 :last
|
25
25
|
|
26
|
-
attr_accessor :total_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_pages, total_elements, 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 :last
|
25
25
|
|
26
|
-
attr_accessor :total_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_pages, total_elements, 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 :last
|
25
25
|
|
26
|
-
attr_accessor :total_elements
|
27
|
-
|
28
26
|
attr_accessor :total_pages
|
29
27
|
|
28
|
+
attr_accessor :total_elements
|
29
|
+
|
30
30
|
attr_accessor :size
|
31
31
|
|
32
32
|
attr_accessor :number
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'pageable' => :'pageable',
|
47
47
|
:'total' => :'total',
|
48
48
|
:'last' => :'last',
|
49
|
-
:'total_elements' => :'totalElements',
|
50
49
|
:'total_pages' => :'totalPages',
|
50
|
+
:'total_elements' => :'totalElements',
|
51
51
|
:'size' => :'size',
|
52
52
|
:'number' => :'number',
|
53
53
|
:'sort' => :'sort',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'pageable' => :'PageableObject',
|
65
65
|
:'total' => :'Integer',
|
66
66
|
:'last' => :'Boolean',
|
67
|
-
:'total_elements' => :'Integer',
|
68
67
|
:'total_pages' => :'Integer',
|
68
|
+
:'total_elements' => :'Integer',
|
69
69
|
:'size' => :'Integer',
|
70
70
|
:'number' => :'Integer',
|
71
71
|
:'sort' => :'Sort',
|
@@ -114,14 +114,14 @@ module MailSlurpClient
|
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'total_elements')
|
118
|
-
self.total_elements = attributes[:'total_elements']
|
119
|
-
end
|
120
|
-
|
121
117
|
if attributes.key?(:'total_pages')
|
122
118
|
self.total_pages = attributes[:'total_pages']
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'total_elements')
|
122
|
+
self.total_elements = attributes[:'total_elements']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'size')
|
126
126
|
self.size = attributes[:'size']
|
127
127
|
end
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
pageable == o.pageable &&
|
170
170
|
total == o.total &&
|
171
171
|
last == o.last &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
size == o.size &&
|
175
175
|
number == o.number &&
|
176
176
|
sort == o.sort &&
|
@@ -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, last,
|
191
|
+
[content, pageable, total, last, total_pages, total_elements, size, number, sort, first, number_of_elements, empty].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -45,6 +45,10 @@ module MailSlurpClient
|
|
45
45
|
|
46
46
|
attr_accessor :body
|
47
47
|
|
48
|
+
attr_accessor :to_contacts
|
49
|
+
|
50
|
+
attr_accessor :to_group
|
51
|
+
|
48
52
|
attr_accessor :charset
|
49
53
|
|
50
54
|
attr_accessor :is_html
|
@@ -55,8 +59,14 @@ module MailSlurpClient
|
|
55
59
|
|
56
60
|
attr_accessor :message_id
|
57
61
|
|
62
|
+
attr_accessor :message_ids
|
63
|
+
|
58
64
|
attr_accessor :virtual_send
|
59
65
|
|
66
|
+
attr_accessor :template_id
|
67
|
+
|
68
|
+
attr_accessor :template_variables
|
69
|
+
|
60
70
|
attr_accessor :html
|
61
71
|
|
62
72
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -74,12 +84,17 @@ module MailSlurpClient
|
|
74
84
|
:'subject' => :'subject',
|
75
85
|
:'body_md5_hash' => :'bodyMD5Hash',
|
76
86
|
:'body' => :'body',
|
87
|
+
:'to_contacts' => :'toContacts',
|
88
|
+
:'to_group' => :'toGroup',
|
77
89
|
:'charset' => :'charset',
|
78
90
|
:'is_html' => :'isHTML',
|
79
91
|
:'sent_at' => :'sentAt',
|
80
92
|
:'pixel_ids' => :'pixelIds',
|
81
93
|
:'message_id' => :'messageId',
|
94
|
+
:'message_ids' => :'messageIds',
|
82
95
|
:'virtual_send' => :'virtualSend',
|
96
|
+
:'template_id' => :'templateId',
|
97
|
+
:'template_variables' => :'templateVariables',
|
83
98
|
:'html' => :'html'
|
84
99
|
}
|
85
100
|
end
|
@@ -99,12 +114,17 @@ module MailSlurpClient
|
|
99
114
|
:'subject' => :'String',
|
100
115
|
:'body_md5_hash' => :'String',
|
101
116
|
:'body' => :'String',
|
117
|
+
:'to_contacts' => :'Array<String>',
|
118
|
+
:'to_group' => :'String',
|
102
119
|
:'charset' => :'String',
|
103
120
|
:'is_html' => :'Boolean',
|
104
121
|
:'sent_at' => :'DateTime',
|
105
122
|
:'pixel_ids' => :'Array<String>',
|
106
123
|
:'message_id' => :'String',
|
124
|
+
:'message_ids' => :'Array<String>',
|
107
125
|
:'virtual_send' => :'Boolean',
|
126
|
+
:'template_id' => :'String',
|
127
|
+
:'template_variables' => :'Hash<String, Object>',
|
108
128
|
:'html' => :'Boolean'
|
109
129
|
}
|
110
130
|
end
|
@@ -186,6 +206,16 @@ module MailSlurpClient
|
|
186
206
|
self.body = attributes[:'body']
|
187
207
|
end
|
188
208
|
|
209
|
+
if attributes.key?(:'to_contacts')
|
210
|
+
if (value = attributes[:'to_contacts']).is_a?(Array)
|
211
|
+
self.to_contacts = value
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
if attributes.key?(:'to_group')
|
216
|
+
self.to_group = attributes[:'to_group']
|
217
|
+
end
|
218
|
+
|
189
219
|
if attributes.key?(:'charset')
|
190
220
|
self.charset = attributes[:'charset']
|
191
221
|
end
|
@@ -208,10 +238,26 @@ module MailSlurpClient
|
|
208
238
|
self.message_id = attributes[:'message_id']
|
209
239
|
end
|
210
240
|
|
241
|
+
if attributes.key?(:'message_ids')
|
242
|
+
if (value = attributes[:'message_ids']).is_a?(Array)
|
243
|
+
self.message_ids = value
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
211
247
|
if attributes.key?(:'virtual_send')
|
212
248
|
self.virtual_send = attributes[:'virtual_send']
|
213
249
|
end
|
214
250
|
|
251
|
+
if attributes.key?(:'template_id')
|
252
|
+
self.template_id = attributes[:'template_id']
|
253
|
+
end
|
254
|
+
|
255
|
+
if attributes.key?(:'template_variables')
|
256
|
+
if (value = attributes[:'template_variables']).is_a?(Hash)
|
257
|
+
self.template_variables = value
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
215
261
|
if attributes.key?(:'html')
|
216
262
|
self.html = attributes[:'html']
|
217
263
|
end
|
@@ -267,12 +313,17 @@ module MailSlurpClient
|
|
267
313
|
subject == o.subject &&
|
268
314
|
body_md5_hash == o.body_md5_hash &&
|
269
315
|
body == o.body &&
|
316
|
+
to_contacts == o.to_contacts &&
|
317
|
+
to_group == o.to_group &&
|
270
318
|
charset == o.charset &&
|
271
319
|
is_html == o.is_html &&
|
272
320
|
sent_at == o.sent_at &&
|
273
321
|
pixel_ids == o.pixel_ids &&
|
274
322
|
message_id == o.message_id &&
|
323
|
+
message_ids == o.message_ids &&
|
275
324
|
virtual_send == o.virtual_send &&
|
325
|
+
template_id == o.template_id &&
|
326
|
+
template_variables == o.template_variables &&
|
276
327
|
html == o.html
|
277
328
|
end
|
278
329
|
|
@@ -285,7 +336,7 @@ module MailSlurpClient
|
|
285
336
|
# Calculates hash code according to all attributes.
|
286
337
|
# @return [Integer] Hash code
|
287
338
|
def hash
|
288
|
-
[id, user_id, inbox_id, to, from, reply_to, cc, bcc, attachments, subject, body_md5_hash, body, charset, is_html, sent_at, pixel_ids, message_id, virtual_send, html].hash
|
339
|
+
[id, user_id, inbox_id, to, from, reply_to, cc, bcc, attachments, subject, body_md5_hash, body, to_contacts, to_group, charset, is_html, sent_at, pixel_ids, message_id, message_ids, virtual_send, template_id, template_variables, html].hash
|
289
340
|
end
|
290
341
|
|
291
342
|
# Builds the object from hash
|