mailslurp_client 16.1.1 → 16.1.2
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/ai_controller_api.rb +64 -0
- data/lib/mailslurp_client/models/email_projection.rb +11 -11
- data/lib/mailslurp_client/models/email_thread_projection.rb +26 -26
- data/lib/mailslurp_client/models/generate_structured_content_attachment_options.rb +237 -0
- data/lib/mailslurp_client/models/page_alias.rb +15 -15
- data/lib/mailslurp_client/models/page_alias_thread_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_attachment_entity.rb +15 -15
- data/lib/mailslurp_client/models/page_bounced_email.rb +15 -15
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +15 -15
- data/lib/mailslurp_client/models/page_complaint.rb +15 -15
- data/lib/mailslurp_client/models/page_connector.rb +15 -15
- data/lib/mailslurp_client/models/page_connector_events.rb +15 -15
- data/lib/mailslurp_client/models/page_contact_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_delivery_status.rb +15 -15
- data/lib/mailslurp_client/models/page_email_preview.rb +15 -15
- data/lib/mailslurp_client/models/page_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_email_thread_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_email_validation_request.rb +15 -15
- data/lib/mailslurp_client/models/page_entity_automation_items.rb +15 -15
- data/lib/mailslurp_client/models/page_entity_event_items.rb +15 -15
- data/lib/mailslurp_client/models/page_entity_favourite_items.rb +15 -15
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_group_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_guest_portal_users.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +15 -15
- data/lib/mailslurp_client/models/page_inbox_tags.rb +15 -15
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +15 -15
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_opt_in_identity_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_phone_message_thread_item_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_phone_message_thread_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_plus_address_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_reputation_items.rb +15 -15
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +15 -15
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_sent_sms_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_sms_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_template_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_webhook_endpoint_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_webhook_projection.rb +15 -15
- data/lib/mailslurp_client/models/page_webhook_result.rb +15 -15
- data/lib/mailslurp_client/models/sent_email_projection.rb +11 -11
- data/lib/mailslurp_client/models/sort_object.rb +10 -10
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +1 -0
- metadata +3 -2
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_elements
|
23
|
-
|
24
22
|
attr_accessor :total_pages
|
25
23
|
|
24
|
+
attr_accessor :total_elements
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_elements' => :'totalElements',
|
46
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<UnknownMissedEmailProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_elements' => :'Integer',
|
63
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_elements')
|
106
|
-
self.total_elements = attributes[:'total_elements']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_pages')
|
110
106
|
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_elements')
|
110
|
+
self.total_elements = attributes[:'total_elements']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -143,22 +143,22 @@ module MailSlurpClient
|
|
143
143
|
# @return Array for valid properties with the reasons
|
144
144
|
def list_invalid_properties
|
145
145
|
invalid_properties = Array.new
|
146
|
-
if @total_elements.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_pages.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_elements.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
|
+
end
|
153
|
+
|
154
154
|
invalid_properties
|
155
155
|
end
|
156
156
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
158
158
|
# @return true if the model is valid
|
159
159
|
def valid?
|
160
|
-
return false if @total_elements.nil?
|
161
160
|
return false if @total_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -189,7 +189,7 @@ module MailSlurpClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_elements
|
23
|
-
|
24
22
|
attr_accessor :total_pages
|
25
23
|
|
24
|
+
attr_accessor :total_elements
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_elements' => :'totalElements',
|
46
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<WebhookEndpointProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_elements' => :'Integer',
|
63
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_elements')
|
106
|
-
self.total_elements = attributes[:'total_elements']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_pages')
|
110
106
|
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_elements')
|
110
|
+
self.total_elements = attributes[:'total_elements']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -143,22 +143,22 @@ module MailSlurpClient
|
|
143
143
|
# @return Array for valid properties with the reasons
|
144
144
|
def list_invalid_properties
|
145
145
|
invalid_properties = Array.new
|
146
|
-
if @total_elements.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_pages.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_elements.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
|
+
end
|
153
|
+
|
154
154
|
invalid_properties
|
155
155
|
end
|
156
156
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
158
158
|
# @return true if the model is valid
|
159
159
|
def valid?
|
160
|
-
return false if @total_elements.nil?
|
161
160
|
return false if @total_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -189,7 +189,7 @@ module MailSlurpClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_elements
|
23
|
-
|
24
22
|
attr_accessor :total_pages
|
25
23
|
|
24
|
+
attr_accessor :total_elements
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_elements' => :'totalElements',
|
46
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<WebhookProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_elements' => :'Integer',
|
63
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_elements')
|
106
|
-
self.total_elements = attributes[:'total_elements']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_pages')
|
110
106
|
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_elements')
|
110
|
+
self.total_elements = attributes[:'total_elements']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -143,22 +143,22 @@ module MailSlurpClient
|
|
143
143
|
# @return Array for valid properties with the reasons
|
144
144
|
def list_invalid_properties
|
145
145
|
invalid_properties = Array.new
|
146
|
-
if @total_elements.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_pages.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_elements.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
|
+
end
|
153
|
+
|
154
154
|
invalid_properties
|
155
155
|
end
|
156
156
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
158
158
|
# @return true if the model is valid
|
159
159
|
def valid?
|
160
|
-
return false if @total_elements.nil?
|
161
160
|
return false if @total_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -189,7 +189,7 @@ module MailSlurpClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_elements
|
23
|
-
|
24
22
|
attr_accessor :total_pages
|
25
23
|
|
24
|
+
attr_accessor :total_elements
|
25
|
+
|
26
26
|
attr_accessor :last
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
{
|
43
43
|
:'content' => :'content',
|
44
44
|
:'pageable' => :'pageable',
|
45
|
-
:'total_elements' => :'totalElements',
|
46
45
|
:'total_pages' => :'totalPages',
|
46
|
+
:'total_elements' => :'totalElements',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
49
|
:'first' => :'first',
|
@@ -59,8 +59,8 @@ module MailSlurpClient
|
|
59
59
|
{
|
60
60
|
:'content' => :'Array<WebhookResultDto>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_elements' => :'Integer',
|
63
62
|
:'total_pages' => :'Integer',
|
63
|
+
:'total_elements' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
66
|
:'first' => :'Boolean',
|
@@ -102,14 +102,14 @@ module MailSlurpClient
|
|
102
102
|
self.pageable = attributes[:'pageable']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'total_elements')
|
106
|
-
self.total_elements = attributes[:'total_elements']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_pages')
|
110
106
|
self.total_pages = attributes[:'total_pages']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_elements')
|
110
|
+
self.total_elements = attributes[:'total_elements']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'last')
|
114
114
|
self.last = attributes[:'last']
|
115
115
|
end
|
@@ -143,22 +143,22 @@ module MailSlurpClient
|
|
143
143
|
# @return Array for valid properties with the reasons
|
144
144
|
def list_invalid_properties
|
145
145
|
invalid_properties = Array.new
|
146
|
-
if @total_elements.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_pages.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_elements.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
|
+
end
|
153
|
+
|
154
154
|
invalid_properties
|
155
155
|
end
|
156
156
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
158
158
|
# @return true if the model is valid
|
159
159
|
def valid?
|
160
|
-
return false if @total_elements.nil?
|
161
160
|
return false if @total_pages.nil?
|
161
|
+
return false if @total_elements.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -169,8 +169,8 @@ module MailSlurpClient
|
|
169
169
|
self.class == o.class &&
|
170
170
|
content == o.content &&
|
171
171
|
pageable == o.pageable &&
|
172
|
-
total_elements == o.total_elements &&
|
173
172
|
total_pages == o.total_pages &&
|
173
|
+
total_elements == o.total_elements &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
176
|
first == o.first &&
|
@@ -189,7 +189,7 @@ module MailSlurpClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[content, pageable,
|
192
|
+
[content, pageable, total_pages, total_elements, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -16,14 +16,14 @@ module MailSlurpClient
|
|
16
16
|
class SentEmailProjection
|
17
17
|
attr_accessor :id
|
18
18
|
|
19
|
-
attr_accessor :subject
|
20
|
-
|
21
19
|
attr_accessor :from
|
22
20
|
|
23
21
|
attr_accessor :sender
|
24
22
|
|
25
23
|
attr_accessor :recipients
|
26
24
|
|
25
|
+
attr_accessor :subject
|
26
|
+
|
27
27
|
attr_accessor :user_id
|
28
28
|
|
29
29
|
attr_accessor :attachments
|
@@ -56,10 +56,10 @@ module MailSlurpClient
|
|
56
56
|
def self.attribute_map
|
57
57
|
{
|
58
58
|
:'id' => :'id',
|
59
|
-
:'subject' => :'subject',
|
60
59
|
:'from' => :'from',
|
61
60
|
:'sender' => :'sender',
|
62
61
|
:'recipients' => :'recipients',
|
62
|
+
:'subject' => :'subject',
|
63
63
|
:'user_id' => :'userId',
|
64
64
|
:'attachments' => :'attachments',
|
65
65
|
:'inbox_id' => :'inboxId',
|
@@ -81,10 +81,10 @@ module MailSlurpClient
|
|
81
81
|
def self.openapi_types
|
82
82
|
{
|
83
83
|
:'id' => :'String',
|
84
|
-
:'subject' => :'String',
|
85
84
|
:'from' => :'String',
|
86
85
|
:'sender' => :'Sender',
|
87
86
|
:'recipients' => :'EmailRecipients',
|
87
|
+
:'subject' => :'String',
|
88
88
|
:'user_id' => :'String',
|
89
89
|
:'attachments' => :'Array<String>',
|
90
90
|
:'inbox_id' => :'String',
|
@@ -105,10 +105,10 @@ module MailSlurpClient
|
|
105
105
|
# List of attributes with nullable: true
|
106
106
|
def self.openapi_nullable
|
107
107
|
Set.new([
|
108
|
-
:'subject',
|
109
108
|
:'from',
|
110
109
|
:'sender',
|
111
110
|
:'recipients',
|
111
|
+
:'subject',
|
112
112
|
:'attachments',
|
113
113
|
:'message_id',
|
114
114
|
:'in_reply_to',
|
@@ -138,10 +138,6 @@ module MailSlurpClient
|
|
138
138
|
self.id = attributes[:'id']
|
139
139
|
end
|
140
140
|
|
141
|
-
if attributes.key?(:'subject')
|
142
|
-
self.subject = attributes[:'subject']
|
143
|
-
end
|
144
|
-
|
145
141
|
if attributes.key?(:'from')
|
146
142
|
self.from = attributes[:'from']
|
147
143
|
end
|
@@ -154,6 +150,10 @@ module MailSlurpClient
|
|
154
150
|
self.recipients = attributes[:'recipients']
|
155
151
|
end
|
156
152
|
|
153
|
+
if attributes.key?(:'subject')
|
154
|
+
self.subject = attributes[:'subject']
|
155
|
+
end
|
156
|
+
|
157
157
|
if attributes.key?(:'user_id')
|
158
158
|
self.user_id = attributes[:'user_id']
|
159
159
|
end
|
@@ -278,10 +278,10 @@ module MailSlurpClient
|
|
278
278
|
return true if self.equal?(o)
|
279
279
|
self.class == o.class &&
|
280
280
|
id == o.id &&
|
281
|
-
subject == o.subject &&
|
282
281
|
from == o.from &&
|
283
282
|
sender == o.sender &&
|
284
283
|
recipients == o.recipients &&
|
284
|
+
subject == o.subject &&
|
285
285
|
user_id == o.user_id &&
|
286
286
|
attachments == o.attachments &&
|
287
287
|
inbox_id == o.inbox_id &&
|
@@ -307,7 +307,7 @@ module MailSlurpClient
|
|
307
307
|
# Calculates hash code according to all attributes.
|
308
308
|
# @return [Integer] Hash code
|
309
309
|
def hash
|
310
|
-
[id,
|
310
|
+
[id, from, sender, recipients, subject, user_id, attachments, inbox_id, created_at, to, cc, bcc, message_id, in_reply_to, body_excerpt, text_excerpt, body_md5_hash, virtual_send, thread_id].hash
|
311
311
|
end
|
312
312
|
|
313
313
|
# Builds the object from hash
|
@@ -14,17 +14,17 @@ require 'date'
|
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
16
|
class SortObject
|
17
|
-
attr_accessor :sorted
|
18
|
-
|
19
17
|
attr_accessor :unsorted
|
20
18
|
|
19
|
+
attr_accessor :sorted
|
20
|
+
|
21
21
|
attr_accessor :empty
|
22
22
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
24
|
def self.attribute_map
|
25
25
|
{
|
26
|
-
:'sorted' => :'sorted',
|
27
26
|
:'unsorted' => :'unsorted',
|
27
|
+
:'sorted' => :'sorted',
|
28
28
|
:'empty' => :'empty'
|
29
29
|
}
|
30
30
|
end
|
@@ -32,8 +32,8 @@ module MailSlurpClient
|
|
32
32
|
# Attribute type mapping.
|
33
33
|
def self.openapi_types
|
34
34
|
{
|
35
|
-
:'sorted' => :'Boolean',
|
36
35
|
:'unsorted' => :'Boolean',
|
36
|
+
:'sorted' => :'Boolean',
|
37
37
|
:'empty' => :'Boolean'
|
38
38
|
}
|
39
39
|
end
|
@@ -59,14 +59,14 @@ module MailSlurpClient
|
|
59
59
|
h[k.to_sym] = v
|
60
60
|
}
|
61
61
|
|
62
|
-
if attributes.key?(:'sorted')
|
63
|
-
self.sorted = attributes[:'sorted']
|
64
|
-
end
|
65
|
-
|
66
62
|
if attributes.key?(:'unsorted')
|
67
63
|
self.unsorted = attributes[:'unsorted']
|
68
64
|
end
|
69
65
|
|
66
|
+
if attributes.key?(:'sorted')
|
67
|
+
self.sorted = attributes[:'sorted']
|
68
|
+
end
|
69
|
+
|
70
70
|
if attributes.key?(:'empty')
|
71
71
|
self.empty = attributes[:'empty']
|
72
72
|
end
|
@@ -90,8 +90,8 @@ module MailSlurpClient
|
|
90
90
|
def ==(o)
|
91
91
|
return true if self.equal?(o)
|
92
92
|
self.class == o.class &&
|
93
|
-
sorted == o.sorted &&
|
94
93
|
unsorted == o.unsorted &&
|
94
|
+
sorted == o.sorted &&
|
95
95
|
empty == o.empty
|
96
96
|
end
|
97
97
|
|
@@ -104,7 +104,7 @@ module MailSlurpClient
|
|
104
104
|
# Calculates hash code according to all attributes.
|
105
105
|
# @return [Integer] Hash code
|
106
106
|
def hash
|
107
|
-
[
|
107
|
+
[unsorted, sorted, empty].hash
|
108
108
|
end
|
109
109
|
|
110
110
|
# Builds the object from hash
|
data/lib/mailslurp_client.rb
CHANGED
@@ -149,6 +149,7 @@ require 'mailslurp_client/models/generate_dmarc_record_options'
|
|
149
149
|
require 'mailslurp_client/models/generate_dmarc_record_results'
|
150
150
|
require 'mailslurp_client/models/generate_mta_sts_record_options'
|
151
151
|
require 'mailslurp_client/models/generate_mta_sts_record_results'
|
152
|
+
require 'mailslurp_client/models/generate_structured_content_attachment_options'
|
152
153
|
require 'mailslurp_client/models/generate_structured_content_email_options'
|
153
154
|
require 'mailslurp_client/models/generate_tls_reporting_record_options'
|
154
155
|
require 'mailslurp_client/models/generate_tls_reporting_record_results'
|
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: 16.1.
|
4
|
+
version: 16.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: 2025-05-
|
11
|
+
date: 2025-05-26 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
|
@@ -192,6 +192,7 @@ files:
|
|
192
192
|
- lib/mailslurp_client/models/generate_dmarc_record_results.rb
|
193
193
|
- lib/mailslurp_client/models/generate_mta_sts_record_options.rb
|
194
194
|
- lib/mailslurp_client/models/generate_mta_sts_record_results.rb
|
195
|
+
- lib/mailslurp_client/models/generate_structured_content_attachment_options.rb
|
195
196
|
- lib/mailslurp_client/models/generate_structured_content_email_options.rb
|
196
197
|
- lib/mailslurp_client/models/generate_tls_reporting_record_options.rb
|
197
198
|
- lib/mailslurp_client/models/generate_tls_reporting_record_results.rb
|