mailslurp_client 16.1.3 → 16.1.5
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 +813 -6
- data/lib/mailslurp_client/models/ai_tranform_create_options.rb +237 -0
- data/lib/mailslurp_client/models/ai_transform_dto.rb +251 -0
- data/lib/mailslurp_client/models/ai_transform_mapping_dto.rb +310 -0
- data/lib/mailslurp_client/models/ai_transform_mapping_projection.rb +352 -0
- data/lib/mailslurp_client/models/ai_transform_projection.rb +251 -0
- data/lib/mailslurp_client/models/ai_transform_result_dto.rb +353 -0
- data/lib/mailslurp_client/models/ai_transform_result_projection.rb +324 -0
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/alias_thread_projection.rb +16 -16
- data/lib/mailslurp_client/models/attachment_projection.rb +10 -10
- data/lib/mailslurp_client/models/connector_projection.rb +15 -15
- data/lib/mailslurp_client/models/create_ai_transformer_mapping_options.rb +338 -0
- data/lib/mailslurp_client/models/create_webhook_options.rb +12 -1
- data/lib/mailslurp_client/models/email_projection.rb +10 -10
- data/lib/mailslurp_client/models/email_thread_projection.rb +36 -36
- data/lib/mailslurp_client/models/generate_structured_content_attachment_options.rb +27 -9
- data/lib/mailslurp_client/models/generate_structured_content_email_options.rb +19 -11
- data/lib/mailslurp_client/models/generate_structured_content_sms_options.rb +244 -0
- data/lib/mailslurp_client/models/guest_portal_user_projection.rb +10 -10
- data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +11 -11
- data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +11 -11
- data/lib/mailslurp_client/models/page_ai_transform_mapping_projection.rb +309 -0
- data/lib/mailslurp_client/models/page_ai_transform_projection.rb +309 -0
- data/lib/mailslurp_client/models/page_ai_transform_result_projection.rb +309 -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/plus_address_projection.rb +15 -15
- data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/sort_object.rb +10 -10
- data/lib/mailslurp_client/models/{structured_content_result.rb → structured_content_result_dto.rb} +3 -3
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/webhook_dto.rb +12 -1
- data/lib/mailslurp_client/models/webhook_projection.rb +19 -10
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +13 -1
- metadata +15 -3
@@ -19,10 +19,10 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
21
21
|
|
22
|
-
attr_accessor :total_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
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_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
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<TrackingPixelProjection>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
|
-
:'total_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'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_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.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_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
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_elements, total_pages, 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_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
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_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
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_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'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_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.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_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
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_elements, total_pages, 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_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
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_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
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_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'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_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.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_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
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_elements, total_pages, 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_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
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_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
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_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'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_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.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_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
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_elements, total_pages, 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_pages
|
23
|
-
|
24
22
|
attr_accessor :total_elements
|
25
23
|
|
24
|
+
attr_accessor :total_pages
|
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_pages' => :'totalPages',
|
46
45
|
:'total_elements' => :'totalElements',
|
46
|
+
:'total_pages' => :'totalPages',
|
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_pages' => :'Integer',
|
63
62
|
:'total_elements' => :'Integer',
|
63
|
+
:'total_pages' => :'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_pages')
|
106
|
-
self.total_pages = attributes[:'total_pages']
|
107
|
-
end
|
108
|
-
|
109
105
|
if attributes.key?(:'total_elements')
|
110
106
|
self.total_elements = attributes[:'total_elements']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'total_pages')
|
110
|
+
self.total_pages = attributes[:'total_pages']
|
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_pages.nil?
|
147
|
-
invalid_properties.push('invalid value for "total_pages", total_pages cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @total_elements.nil?
|
151
147
|
invalid_properties.push('invalid value for "total_elements", total_elements cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @total_pages.nil?
|
151
|
+
invalid_properties.push('invalid value for "total_pages", total_pages 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_pages.nil?
|
161
160
|
return false if @total_elements.nil?
|
161
|
+
return false if @total_pages.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_pages == o.total_pages &&
|
173
172
|
total_elements == o.total_elements &&
|
173
|
+
total_pages == o.total_pages &&
|
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_elements, total_pages, last, number_of_elements, first, size, number, sort, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -14,10 +14,10 @@ require 'date'
|
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
16
|
class PlusAddressProjection
|
17
|
-
attr_accessor :user_id
|
18
|
-
|
19
17
|
attr_accessor :inbox_id
|
20
18
|
|
19
|
+
attr_accessor :user_id
|
20
|
+
|
21
21
|
attr_accessor :updated_at
|
22
22
|
|
23
23
|
attr_accessor :created_at
|
@@ -31,8 +31,8 @@ module MailSlurpClient
|
|
31
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
32
|
def self.attribute_map
|
33
33
|
{
|
34
|
-
:'user_id' => :'userId',
|
35
34
|
:'inbox_id' => :'inboxId',
|
35
|
+
:'user_id' => :'userId',
|
36
36
|
:'updated_at' => :'updatedAt',
|
37
37
|
:'created_at' => :'createdAt',
|
38
38
|
:'plus_address' => :'plusAddress',
|
@@ -44,8 +44,8 @@ module MailSlurpClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'user_id' => :'String',
|
48
47
|
:'inbox_id' => :'String',
|
48
|
+
:'user_id' => :'String',
|
49
49
|
:'updated_at' => :'DateTime',
|
50
50
|
:'created_at' => :'DateTime',
|
51
51
|
:'plus_address' => :'String',
|
@@ -75,14 +75,14 @@ module MailSlurpClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'user_id')
|
79
|
-
self.user_id = attributes[:'user_id']
|
80
|
-
end
|
81
|
-
|
82
78
|
if attributes.key?(:'inbox_id')
|
83
79
|
self.inbox_id = attributes[:'inbox_id']
|
84
80
|
end
|
85
81
|
|
82
|
+
if attributes.key?(:'user_id')
|
83
|
+
self.user_id = attributes[:'user_id']
|
84
|
+
end
|
85
|
+
|
86
86
|
if attributes.key?(:'updated_at')
|
87
87
|
self.updated_at = attributes[:'updated_at']
|
88
88
|
end
|
@@ -108,14 +108,14 @@ module MailSlurpClient
|
|
108
108
|
# @return Array for valid properties with the reasons
|
109
109
|
def list_invalid_properties
|
110
110
|
invalid_properties = Array.new
|
111
|
-
if @user_id.nil?
|
112
|
-
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
113
|
-
end
|
114
|
-
|
115
111
|
if @inbox_id.nil?
|
116
112
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
117
113
|
end
|
118
114
|
|
115
|
+
if @user_id.nil?
|
116
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
117
|
+
end
|
118
|
+
|
119
119
|
if @updated_at.nil?
|
120
120
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
121
121
|
end
|
@@ -142,8 +142,8 @@ module MailSlurpClient
|
|
142
142
|
# Check to see if the all the properties in the model are valid
|
143
143
|
# @return true if the model is valid
|
144
144
|
def valid?
|
145
|
-
return false if @user_id.nil?
|
146
145
|
return false if @inbox_id.nil?
|
146
|
+
return false if @user_id.nil?
|
147
147
|
return false if @updated_at.nil?
|
148
148
|
return false if @created_at.nil?
|
149
149
|
return false if @plus_address.nil?
|
@@ -157,8 +157,8 @@ module MailSlurpClient
|
|
157
157
|
def ==(o)
|
158
158
|
return true if self.equal?(o)
|
159
159
|
self.class == o.class &&
|
160
|
-
user_id == o.user_id &&
|
161
160
|
inbox_id == o.inbox_id &&
|
161
|
+
user_id == o.user_id &&
|
162
162
|
updated_at == o.updated_at &&
|
163
163
|
created_at == o.created_at &&
|
164
164
|
plus_address == o.plus_address &&
|
@@ -175,7 +175,7 @@ module MailSlurpClient
|
|
175
175
|
# Calculates hash code according to all attributes.
|
176
176
|
# @return [Integer] Hash code
|
177
177
|
def hash
|
178
|
-
[
|
178
|
+
[inbox_id, user_id, updated_at, created_at, plus_address, full_address, id].hash
|
179
179
|
end
|
180
180
|
|
181
181
|
# Builds the object from hash
|
@@ -24,12 +24,12 @@ module MailSlurpClient
|
|
24
24
|
|
25
25
|
attr_accessor :subject
|
26
26
|
|
27
|
+
attr_accessor :inbox_id
|
28
|
+
|
27
29
|
attr_accessor :user_id
|
28
30
|
|
29
31
|
attr_accessor :attachments
|
30
32
|
|
31
|
-
attr_accessor :inbox_id
|
32
|
-
|
33
33
|
attr_accessor :created_at
|
34
34
|
|
35
35
|
attr_accessor :to
|
@@ -60,9 +60,9 @@ module MailSlurpClient
|
|
60
60
|
:'sender' => :'sender',
|
61
61
|
:'recipients' => :'recipients',
|
62
62
|
:'subject' => :'subject',
|
63
|
+
:'inbox_id' => :'inboxId',
|
63
64
|
:'user_id' => :'userId',
|
64
65
|
:'attachments' => :'attachments',
|
65
|
-
:'inbox_id' => :'inboxId',
|
66
66
|
:'created_at' => :'createdAt',
|
67
67
|
:'to' => :'to',
|
68
68
|
:'cc' => :'cc',
|
@@ -85,9 +85,9 @@ module MailSlurpClient
|
|
85
85
|
:'sender' => :'Sender',
|
86
86
|
:'recipients' => :'EmailRecipients',
|
87
87
|
:'subject' => :'String',
|
88
|
+
:'inbox_id' => :'String',
|
88
89
|
:'user_id' => :'String',
|
89
90
|
:'attachments' => :'Array<String>',
|
90
|
-
:'inbox_id' => :'String',
|
91
91
|
:'created_at' => :'DateTime',
|
92
92
|
:'to' => :'Array<String>',
|
93
93
|
:'cc' => :'Array<String>',
|
@@ -154,6 +154,10 @@ module MailSlurpClient
|
|
154
154
|
self.subject = attributes[:'subject']
|
155
155
|
end
|
156
156
|
|
157
|
+
if attributes.key?(:'inbox_id')
|
158
|
+
self.inbox_id = attributes[:'inbox_id']
|
159
|
+
end
|
160
|
+
|
157
161
|
if attributes.key?(:'user_id')
|
158
162
|
self.user_id = attributes[:'user_id']
|
159
163
|
end
|
@@ -164,10 +168,6 @@ module MailSlurpClient
|
|
164
168
|
end
|
165
169
|
end
|
166
170
|
|
167
|
-
if attributes.key?(:'inbox_id')
|
168
|
-
self.inbox_id = attributes[:'inbox_id']
|
169
|
-
end
|
170
|
-
|
171
171
|
if attributes.key?(:'created_at')
|
172
172
|
self.created_at = attributes[:'created_at']
|
173
173
|
end
|
@@ -227,14 +227,14 @@ module MailSlurpClient
|
|
227
227
|
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
228
228
|
end
|
229
229
|
|
230
|
-
if @user_id.nil?
|
231
|
-
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
232
|
-
end
|
233
|
-
|
234
230
|
if @inbox_id.nil?
|
235
231
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
236
232
|
end
|
237
233
|
|
234
|
+
if @user_id.nil?
|
235
|
+
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
236
|
+
end
|
237
|
+
|
238
238
|
if @created_at.nil?
|
239
239
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
240
240
|
end
|
@@ -262,8 +262,8 @@ module MailSlurpClient
|
|
262
262
|
# @return true if the model is valid
|
263
263
|
def valid?
|
264
264
|
return false if @id.nil?
|
265
|
-
return false if @user_id.nil?
|
266
265
|
return false if @inbox_id.nil?
|
266
|
+
return false if @user_id.nil?
|
267
267
|
return false if @created_at.nil?
|
268
268
|
return false if @to.nil?
|
269
269
|
return false if @cc.nil?
|
@@ -282,9 +282,9 @@ module MailSlurpClient
|
|
282
282
|
sender == o.sender &&
|
283
283
|
recipients == o.recipients &&
|
284
284
|
subject == o.subject &&
|
285
|
+
inbox_id == o.inbox_id &&
|
285
286
|
user_id == o.user_id &&
|
286
287
|
attachments == o.attachments &&
|
287
|
-
inbox_id == o.inbox_id &&
|
288
288
|
created_at == o.created_at &&
|
289
289
|
to == o.to &&
|
290
290
|
cc == o.cc &&
|
@@ -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, from, sender, recipients, subject, user_id, attachments,
|
310
|
+
[id, from, sender, recipients, subject, inbox_id, user_id, attachments, 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
|