mailslurp_client 16.2.4 → 17.0.0
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/inbox_controller_api.rb +15 -15
- data/lib/mailslurp_client/api/{inbox_ruleset_controller_api.rb → ruleset_controller_api.rb} +184 -175
- data/lib/mailslurp_client/api/tools_controller_api.rb +62 -0
- data/lib/mailslurp_client/api/webhook_controller_api.rb +82 -0
- data/lib/mailslurp_client/models/ai_transform_dto.rb +19 -5
- data/lib/mailslurp_client/models/alias_projection.rb +29 -29
- data/lib/mailslurp_client/models/alias_thread_projection.rb +26 -26
- data/lib/mailslurp_client/models/attachment_projection.rb +21 -21
- data/lib/mailslurp_client/models/connector_projection.rb +15 -15
- data/lib/mailslurp_client/models/{create_inbox_ruleset_options.rb → create_ruleset_options.rb} +5 -5
- data/lib/mailslurp_client/models/email.rb +13 -13
- data/lib/mailslurp_client/models/email_projection.rb +11 -11
- data/lib/mailslurp_client/models/email_thread_projection.rb +29 -29
- data/lib/mailslurp_client/models/entity_automation_item_projection.rb +10 -10
- data/lib/mailslurp_client/models/guest_portal_user_projection.rb +24 -24
- 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/lookup_mx_records_options.rb +211 -0
- data/lib/mailslurp_client/models/lookup_mx_records_results.rb +245 -0
- data/lib/mailslurp_client/models/opt_in_identity_projection.rb +21 -21
- data/lib/mailslurp_client/models/page_ai_transform_mapping_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_ai_transform_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_ai_transform_result_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_alias.rb +10 -10
- data/lib/mailslurp_client/models/page_alias_thread_projection.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 +10 -10
- data/lib/mailslurp_client/models/page_connector.rb +10 -10
- data/lib/mailslurp_client/models/page_connector_events.rb +10 -10
- data/lib/mailslurp_client/models/page_contact_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_delivery_status.rb +10 -10
- 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_thread_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_email_validation_request.rb +10 -10
- data/lib/mailslurp_client/models/page_entity_automation_items.rb +10 -10
- data/lib/mailslurp_client/models/page_entity_event_items.rb +10 -10
- data/lib/mailslurp_client/models/page_entity_favourite_items.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_guest_portal_users.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +10 -10
- data/lib/mailslurp_client/models/page_inbox_tags.rb +10 -10
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +10 -10
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_opt_in_identity_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_phone_message_thread_item_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_phone_message_thread_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_plus_address_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_reputation_items.rb +10 -10
- data/lib/mailslurp_client/models/{page_inbox_ruleset_dto.rb → page_ruleset_dto.rb} +15 -15
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +10 -10
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +10 -10
- data/lib/mailslurp_client/models/page_sent_sms_projection.rb +10 -10
- 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_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_endpoint_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/pageable_object.rb +13 -13
- data/lib/mailslurp_client/models/phone_message_thread_item_projection.rb +19 -19
- data/lib/mailslurp_client/models/phone_message_thread_projection.rb +27 -27
- data/lib/mailslurp_client/models/plus_address_projection.rb +24 -24
- data/lib/mailslurp_client/models/{inbox_ruleset_dto.rb → ruleset_dto.rb} +17 -7
- data/lib/mailslurp_client/models/{inbox_ruleset_test_options.rb → ruleset_test_options.rb} +3 -3
- data/lib/mailslurp_client/models/sent_email_projection.rb +52 -52
- data/lib/mailslurp_client/models/template_projection.rb +15 -15
- data/lib/mailslurp_client/models/test_inbox_ruleset_sending_options.rb +13 -7
- data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +11 -11
- data/lib/mailslurp_client/models/{test_inbox_ruleset_receiving_options.rb → test_ruleset_receiving_options.rb} +16 -10
- data/lib/mailslurp_client/models/{test_inbox_ruleset_receiving_result.rb → test_ruleset_receiving_result.rb} +3 -3
- data/lib/mailslurp_client/models/{test_inbox_ruleset_sending_result.rb → test_ruleset_sending_result.rb} +3 -3
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/webhook_projection.rb +39 -30
- data/lib/mailslurp_client/models/webhook_result_dto.rb +15 -5
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +10 -8
- metadata +12 -10
@@ -27,14 +27,14 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
29
29
|
|
30
|
+
attr_accessor :sort
|
31
|
+
|
30
32
|
attr_accessor :first
|
31
33
|
|
32
34
|
attr_accessor :size
|
33
35
|
|
34
36
|
attr_accessor :number
|
35
37
|
|
36
|
-
attr_accessor :sort
|
37
|
-
|
38
38
|
attr_accessor :empty
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -46,10 +46,10 @@ module MailSlurpClient
|
|
46
46
|
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
|
+
:'sort' => :'sort',
|
49
50
|
:'first' => :'first',
|
50
51
|
:'size' => :'size',
|
51
52
|
:'number' => :'number',
|
52
|
-
:'sort' => :'sort',
|
53
53
|
:'empty' => :'empty'
|
54
54
|
}
|
55
55
|
end
|
@@ -63,10 +63,10 @@ module MailSlurpClient
|
|
63
63
|
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
|
+
:'sort' => :'SortObject',
|
66
67
|
:'first' => :'Boolean',
|
67
68
|
:'size' => :'Integer',
|
68
69
|
:'number' => :'Integer',
|
69
|
-
:'sort' => :'SortObject',
|
70
70
|
:'empty' => :'Boolean'
|
71
71
|
}
|
72
72
|
end
|
@@ -118,6 +118,10 @@ module MailSlurpClient
|
|
118
118
|
self.number_of_elements = attributes[:'number_of_elements']
|
119
119
|
end
|
120
120
|
|
121
|
+
if attributes.key?(:'sort')
|
122
|
+
self.sort = attributes[:'sort']
|
123
|
+
end
|
124
|
+
|
121
125
|
if attributes.key?(:'first')
|
122
126
|
self.first = attributes[:'first']
|
123
127
|
end
|
@@ -130,10 +134,6 @@ module MailSlurpClient
|
|
130
134
|
self.number = attributes[:'number']
|
131
135
|
end
|
132
136
|
|
133
|
-
if attributes.key?(:'sort')
|
134
|
-
self.sort = attributes[:'sort']
|
135
|
-
end
|
136
|
-
|
137
137
|
if attributes.key?(:'empty')
|
138
138
|
self.empty = attributes[:'empty']
|
139
139
|
end
|
@@ -173,10 +173,10 @@ module MailSlurpClient
|
|
173
173
|
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
|
+
sort == o.sort &&
|
176
177
|
first == o.first &&
|
177
178
|
size == o.size &&
|
178
179
|
number == o.number &&
|
179
|
-
sort == o.sort &&
|
180
180
|
empty == o.empty
|
181
181
|
end
|
182
182
|
|
@@ -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, total_elements, total_pages, last, number_of_elements, first, size, number,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -27,14 +27,14 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
29
29
|
|
30
|
+
attr_accessor :sort
|
31
|
+
|
30
32
|
attr_accessor :first
|
31
33
|
|
32
34
|
attr_accessor :size
|
33
35
|
|
34
36
|
attr_accessor :number
|
35
37
|
|
36
|
-
attr_accessor :sort
|
37
|
-
|
38
38
|
attr_accessor :empty
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -46,10 +46,10 @@ module MailSlurpClient
|
|
46
46
|
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
|
+
:'sort' => :'sort',
|
49
50
|
:'first' => :'first',
|
50
51
|
:'size' => :'size',
|
51
52
|
:'number' => :'number',
|
52
|
-
:'sort' => :'sort',
|
53
53
|
:'empty' => :'empty'
|
54
54
|
}
|
55
55
|
end
|
@@ -63,10 +63,10 @@ module MailSlurpClient
|
|
63
63
|
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
|
+
:'sort' => :'SortObject',
|
66
67
|
:'first' => :'Boolean',
|
67
68
|
:'size' => :'Integer',
|
68
69
|
:'number' => :'Integer',
|
69
|
-
:'sort' => :'SortObject',
|
70
70
|
:'empty' => :'Boolean'
|
71
71
|
}
|
72
72
|
end
|
@@ -118,6 +118,10 @@ module MailSlurpClient
|
|
118
118
|
self.number_of_elements = attributes[:'number_of_elements']
|
119
119
|
end
|
120
120
|
|
121
|
+
if attributes.key?(:'sort')
|
122
|
+
self.sort = attributes[:'sort']
|
123
|
+
end
|
124
|
+
|
121
125
|
if attributes.key?(:'first')
|
122
126
|
self.first = attributes[:'first']
|
123
127
|
end
|
@@ -130,10 +134,6 @@ module MailSlurpClient
|
|
130
134
|
self.number = attributes[:'number']
|
131
135
|
end
|
132
136
|
|
133
|
-
if attributes.key?(:'sort')
|
134
|
-
self.sort = attributes[:'sort']
|
135
|
-
end
|
136
|
-
|
137
137
|
if attributes.key?(:'empty')
|
138
138
|
self.empty = attributes[:'empty']
|
139
139
|
end
|
@@ -173,10 +173,10 @@ module MailSlurpClient
|
|
173
173
|
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
|
+
sort == o.sort &&
|
176
177
|
first == o.first &&
|
177
178
|
size == o.size &&
|
178
179
|
number == o.number &&
|
179
|
-
sort == o.sort &&
|
180
180
|
empty == o.empty
|
181
181
|
end
|
182
182
|
|
@@ -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, total_elements, total_pages, last, number_of_elements, first, size, number,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -27,14 +27,14 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
29
29
|
|
30
|
+
attr_accessor :sort
|
31
|
+
|
30
32
|
attr_accessor :first
|
31
33
|
|
32
34
|
attr_accessor :size
|
33
35
|
|
34
36
|
attr_accessor :number
|
35
37
|
|
36
|
-
attr_accessor :sort
|
37
|
-
|
38
38
|
attr_accessor :empty
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -46,10 +46,10 @@ module MailSlurpClient
|
|
46
46
|
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
|
+
:'sort' => :'sort',
|
49
50
|
:'first' => :'first',
|
50
51
|
:'size' => :'size',
|
51
52
|
:'number' => :'number',
|
52
|
-
:'sort' => :'sort',
|
53
53
|
:'empty' => :'empty'
|
54
54
|
}
|
55
55
|
end
|
@@ -63,10 +63,10 @@ module MailSlurpClient
|
|
63
63
|
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
|
+
:'sort' => :'SortObject',
|
66
67
|
:'first' => :'Boolean',
|
67
68
|
:'size' => :'Integer',
|
68
69
|
:'number' => :'Integer',
|
69
|
-
:'sort' => :'SortObject',
|
70
70
|
:'empty' => :'Boolean'
|
71
71
|
}
|
72
72
|
end
|
@@ -118,6 +118,10 @@ module MailSlurpClient
|
|
118
118
|
self.number_of_elements = attributes[:'number_of_elements']
|
119
119
|
end
|
120
120
|
|
121
|
+
if attributes.key?(:'sort')
|
122
|
+
self.sort = attributes[:'sort']
|
123
|
+
end
|
124
|
+
|
121
125
|
if attributes.key?(:'first')
|
122
126
|
self.first = attributes[:'first']
|
123
127
|
end
|
@@ -130,10 +134,6 @@ module MailSlurpClient
|
|
130
134
|
self.number = attributes[:'number']
|
131
135
|
end
|
132
136
|
|
133
|
-
if attributes.key?(:'sort')
|
134
|
-
self.sort = attributes[:'sort']
|
135
|
-
end
|
136
|
-
|
137
137
|
if attributes.key?(:'empty')
|
138
138
|
self.empty = attributes[:'empty']
|
139
139
|
end
|
@@ -173,10 +173,10 @@ module MailSlurpClient
|
|
173
173
|
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
|
+
sort == o.sort &&
|
176
177
|
first == o.first &&
|
177
178
|
size == o.size &&
|
178
179
|
number == o.number &&
|
179
|
-
sort == o.sort &&
|
180
180
|
empty == o.empty
|
181
181
|
end
|
182
182
|
|
@@ -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, total_elements, total_pages, last, number_of_elements, first, size, number,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -27,14 +27,14 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
29
29
|
|
30
|
+
attr_accessor :sort
|
31
|
+
|
30
32
|
attr_accessor :first
|
31
33
|
|
32
34
|
attr_accessor :size
|
33
35
|
|
34
36
|
attr_accessor :number
|
35
37
|
|
36
|
-
attr_accessor :sort
|
37
|
-
|
38
38
|
attr_accessor :empty
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -46,10 +46,10 @@ module MailSlurpClient
|
|
46
46
|
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
|
+
:'sort' => :'sort',
|
49
50
|
:'first' => :'first',
|
50
51
|
:'size' => :'size',
|
51
52
|
:'number' => :'number',
|
52
|
-
:'sort' => :'sort',
|
53
53
|
:'empty' => :'empty'
|
54
54
|
}
|
55
55
|
end
|
@@ -63,10 +63,10 @@ module MailSlurpClient
|
|
63
63
|
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
|
+
:'sort' => :'SortObject',
|
66
67
|
:'first' => :'Boolean',
|
67
68
|
:'size' => :'Integer',
|
68
69
|
:'number' => :'Integer',
|
69
|
-
:'sort' => :'SortObject',
|
70
70
|
:'empty' => :'Boolean'
|
71
71
|
}
|
72
72
|
end
|
@@ -118,6 +118,10 @@ module MailSlurpClient
|
|
118
118
|
self.number_of_elements = attributes[:'number_of_elements']
|
119
119
|
end
|
120
120
|
|
121
|
+
if attributes.key?(:'sort')
|
122
|
+
self.sort = attributes[:'sort']
|
123
|
+
end
|
124
|
+
|
121
125
|
if attributes.key?(:'first')
|
122
126
|
self.first = attributes[:'first']
|
123
127
|
end
|
@@ -130,10 +134,6 @@ module MailSlurpClient
|
|
130
134
|
self.number = attributes[:'number']
|
131
135
|
end
|
132
136
|
|
133
|
-
if attributes.key?(:'sort')
|
134
|
-
self.sort = attributes[:'sort']
|
135
|
-
end
|
136
|
-
|
137
137
|
if attributes.key?(:'empty')
|
138
138
|
self.empty = attributes[:'empty']
|
139
139
|
end
|
@@ -173,10 +173,10 @@ module MailSlurpClient
|
|
173
173
|
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
|
+
sort == o.sort &&
|
176
177
|
first == o.first &&
|
177
178
|
size == o.size &&
|
178
179
|
number == o.number &&
|
179
|
-
sort == o.sort &&
|
180
180
|
empty == o.empty
|
181
181
|
end
|
182
182
|
|
@@ -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, total_elements, total_pages, last, number_of_elements, first, size, number,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -27,14 +27,14 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
29
29
|
|
30
|
+
attr_accessor :sort
|
31
|
+
|
30
32
|
attr_accessor :first
|
31
33
|
|
32
34
|
attr_accessor :size
|
33
35
|
|
34
36
|
attr_accessor :number
|
35
37
|
|
36
|
-
attr_accessor :sort
|
37
|
-
|
38
38
|
attr_accessor :empty
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -46,10 +46,10 @@ module MailSlurpClient
|
|
46
46
|
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
|
+
:'sort' => :'sort',
|
49
50
|
:'first' => :'first',
|
50
51
|
:'size' => :'size',
|
51
52
|
:'number' => :'number',
|
52
|
-
:'sort' => :'sort',
|
53
53
|
:'empty' => :'empty'
|
54
54
|
}
|
55
55
|
end
|
@@ -63,10 +63,10 @@ module MailSlurpClient
|
|
63
63
|
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
|
+
:'sort' => :'SortObject',
|
66
67
|
:'first' => :'Boolean',
|
67
68
|
:'size' => :'Integer',
|
68
69
|
:'number' => :'Integer',
|
69
|
-
:'sort' => :'SortObject',
|
70
70
|
:'empty' => :'Boolean'
|
71
71
|
}
|
72
72
|
end
|
@@ -118,6 +118,10 @@ module MailSlurpClient
|
|
118
118
|
self.number_of_elements = attributes[:'number_of_elements']
|
119
119
|
end
|
120
120
|
|
121
|
+
if attributes.key?(:'sort')
|
122
|
+
self.sort = attributes[:'sort']
|
123
|
+
end
|
124
|
+
|
121
125
|
if attributes.key?(:'first')
|
122
126
|
self.first = attributes[:'first']
|
123
127
|
end
|
@@ -130,10 +134,6 @@ module MailSlurpClient
|
|
130
134
|
self.number = attributes[:'number']
|
131
135
|
end
|
132
136
|
|
133
|
-
if attributes.key?(:'sort')
|
134
|
-
self.sort = attributes[:'sort']
|
135
|
-
end
|
136
|
-
|
137
137
|
if attributes.key?(:'empty')
|
138
138
|
self.empty = attributes[:'empty']
|
139
139
|
end
|
@@ -173,10 +173,10 @@ module MailSlurpClient
|
|
173
173
|
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
|
+
sort == o.sort &&
|
176
177
|
first == o.first &&
|
177
178
|
size == o.size &&
|
178
179
|
number == o.number &&
|
179
|
-
sort == o.sort &&
|
180
180
|
empty == o.empty
|
181
181
|
end
|
182
182
|
|
@@ -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, total_elements, total_pages, last, number_of_elements, first, size, number,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -27,14 +27,14 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :number_of_elements
|
29
29
|
|
30
|
+
attr_accessor :sort
|
31
|
+
|
30
32
|
attr_accessor :first
|
31
33
|
|
32
34
|
attr_accessor :size
|
33
35
|
|
34
36
|
attr_accessor :number
|
35
37
|
|
36
|
-
attr_accessor :sort
|
37
|
-
|
38
38
|
attr_accessor :empty
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -46,10 +46,10 @@ module MailSlurpClient
|
|
46
46
|
:'total_pages' => :'totalPages',
|
47
47
|
:'last' => :'last',
|
48
48
|
:'number_of_elements' => :'numberOfElements',
|
49
|
+
:'sort' => :'sort',
|
49
50
|
:'first' => :'first',
|
50
51
|
:'size' => :'size',
|
51
52
|
:'number' => :'number',
|
52
|
-
:'sort' => :'sort',
|
53
53
|
:'empty' => :'empty'
|
54
54
|
}
|
55
55
|
end
|
@@ -63,10 +63,10 @@ module MailSlurpClient
|
|
63
63
|
:'total_pages' => :'Integer',
|
64
64
|
:'last' => :'Boolean',
|
65
65
|
:'number_of_elements' => :'Integer',
|
66
|
+
:'sort' => :'SortObject',
|
66
67
|
:'first' => :'Boolean',
|
67
68
|
:'size' => :'Integer',
|
68
69
|
:'number' => :'Integer',
|
69
|
-
:'sort' => :'SortObject',
|
70
70
|
:'empty' => :'Boolean'
|
71
71
|
}
|
72
72
|
end
|
@@ -118,6 +118,10 @@ module MailSlurpClient
|
|
118
118
|
self.number_of_elements = attributes[:'number_of_elements']
|
119
119
|
end
|
120
120
|
|
121
|
+
if attributes.key?(:'sort')
|
122
|
+
self.sort = attributes[:'sort']
|
123
|
+
end
|
124
|
+
|
121
125
|
if attributes.key?(:'first')
|
122
126
|
self.first = attributes[:'first']
|
123
127
|
end
|
@@ -130,10 +134,6 @@ module MailSlurpClient
|
|
130
134
|
self.number = attributes[:'number']
|
131
135
|
end
|
132
136
|
|
133
|
-
if attributes.key?(:'sort')
|
134
|
-
self.sort = attributes[:'sort']
|
135
|
-
end
|
136
|
-
|
137
137
|
if attributes.key?(:'empty')
|
138
138
|
self.empty = attributes[:'empty']
|
139
139
|
end
|
@@ -173,10 +173,10 @@ module MailSlurpClient
|
|
173
173
|
total_pages == o.total_pages &&
|
174
174
|
last == o.last &&
|
175
175
|
number_of_elements == o.number_of_elements &&
|
176
|
+
sort == o.sort &&
|
176
177
|
first == o.first &&
|
177
178
|
size == o.size &&
|
178
179
|
number == o.number &&
|
179
|
-
sort == o.sort &&
|
180
180
|
empty == o.empty
|
181
181
|
end
|
182
182
|
|
@@ -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, total_elements, total_pages, last, number_of_elements, first, size, number,
|
192
|
+
[content, pageable, total_elements, total_pages, last, number_of_elements, sort, first, size, number, empty].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -16,6 +16,8 @@ module MailSlurpClient
|
|
16
16
|
class PageableObject
|
17
17
|
attr_accessor :page_size
|
18
18
|
|
19
|
+
attr_accessor :sort
|
20
|
+
|
19
21
|
attr_accessor :paged
|
20
22
|
|
21
23
|
attr_accessor :page_number
|
@@ -24,17 +26,15 @@ module MailSlurpClient
|
|
24
26
|
|
25
27
|
attr_accessor :offset
|
26
28
|
|
27
|
-
attr_accessor :sort
|
28
|
-
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
32
|
:'page_size' => :'pageSize',
|
33
|
+
:'sort' => :'sort',
|
33
34
|
:'paged' => :'paged',
|
34
35
|
:'page_number' => :'pageNumber',
|
35
36
|
:'unpaged' => :'unpaged',
|
36
|
-
:'offset' => :'offset'
|
37
|
-
:'sort' => :'sort'
|
37
|
+
:'offset' => :'offset'
|
38
38
|
}
|
39
39
|
end
|
40
40
|
|
@@ -42,11 +42,11 @@ module MailSlurpClient
|
|
42
42
|
def self.openapi_types
|
43
43
|
{
|
44
44
|
:'page_size' => :'Integer',
|
45
|
+
:'sort' => :'SortObject',
|
45
46
|
:'paged' => :'Boolean',
|
46
47
|
:'page_number' => :'Integer',
|
47
48
|
:'unpaged' => :'Boolean',
|
48
|
-
:'offset' => :'Integer'
|
49
|
-
:'sort' => :'SortObject'
|
49
|
+
:'offset' => :'Integer'
|
50
50
|
}
|
51
51
|
end
|
52
52
|
|
@@ -75,6 +75,10 @@ module MailSlurpClient
|
|
75
75
|
self.page_size = attributes[:'page_size']
|
76
76
|
end
|
77
77
|
|
78
|
+
if attributes.key?(:'sort')
|
79
|
+
self.sort = attributes[:'sort']
|
80
|
+
end
|
81
|
+
|
78
82
|
if attributes.key?(:'paged')
|
79
83
|
self.paged = attributes[:'paged']
|
80
84
|
end
|
@@ -90,10 +94,6 @@ module MailSlurpClient
|
|
90
94
|
if attributes.key?(:'offset')
|
91
95
|
self.offset = attributes[:'offset']
|
92
96
|
end
|
93
|
-
|
94
|
-
if attributes.key?(:'sort')
|
95
|
-
self.sort = attributes[:'sort']
|
96
|
-
end
|
97
97
|
end
|
98
98
|
|
99
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -115,11 +115,11 @@ module MailSlurpClient
|
|
115
115
|
return true if self.equal?(o)
|
116
116
|
self.class == o.class &&
|
117
117
|
page_size == o.page_size &&
|
118
|
+
sort == o.sort &&
|
118
119
|
paged == o.paged &&
|
119
120
|
page_number == o.page_number &&
|
120
121
|
unpaged == o.unpaged &&
|
121
|
-
offset == o.offset
|
122
|
-
sort == o.sort
|
122
|
+
offset == o.offset
|
123
123
|
end
|
124
124
|
|
125
125
|
# @see the `==` method
|
@@ -131,7 +131,7 @@ module MailSlurpClient
|
|
131
131
|
# Calculates hash code according to all attributes.
|
132
132
|
# @return [Integer] Hash code
|
133
133
|
def hash
|
134
|
-
[page_size, paged, page_number, unpaged, offset
|
134
|
+
[page_size, sort, paged, page_number, unpaged, offset].hash
|
135
135
|
end
|
136
136
|
|
137
137
|
# Builds the object from hash
|
@@ -20,11 +20,11 @@ module MailSlurpClient
|
|
20
20
|
|
21
21
|
attr_accessor :created
|
22
22
|
|
23
|
-
attr_accessor :
|
23
|
+
attr_accessor :from_phone_number
|
24
24
|
|
25
25
|
attr_accessor :to_phone_number
|
26
26
|
|
27
|
-
attr_accessor :
|
27
|
+
attr_accessor :message_direction
|
28
28
|
|
29
29
|
class EnumAttributeValidator
|
30
30
|
attr_reader :datatype
|
@@ -54,9 +54,9 @@ module MailSlurpClient
|
|
54
54
|
:'body' => :'body',
|
55
55
|
:'phone_number_id' => :'phoneNumberId',
|
56
56
|
:'created' => :'created',
|
57
|
-
:'
|
57
|
+
:'from_phone_number' => :'fromPhoneNumber',
|
58
58
|
:'to_phone_number' => :'toPhoneNumber',
|
59
|
-
:'
|
59
|
+
:'message_direction' => :'messageDirection'
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
@@ -66,9 +66,9 @@ module MailSlurpClient
|
|
66
66
|
:'body' => :'String',
|
67
67
|
:'phone_number_id' => :'String',
|
68
68
|
:'created' => :'DateTime',
|
69
|
-
:'
|
69
|
+
:'from_phone_number' => :'String',
|
70
70
|
:'to_phone_number' => :'String',
|
71
|
-
:'
|
71
|
+
:'message_direction' => :'String'
|
72
72
|
}
|
73
73
|
end
|
74
74
|
|
@@ -105,16 +105,16 @@ module MailSlurpClient
|
|
105
105
|
self.created = attributes[:'created']
|
106
106
|
end
|
107
107
|
|
108
|
-
if attributes.key?(:'
|
109
|
-
self.
|
108
|
+
if attributes.key?(:'from_phone_number')
|
109
|
+
self.from_phone_number = attributes[:'from_phone_number']
|
110
110
|
end
|
111
111
|
|
112
112
|
if attributes.key?(:'to_phone_number')
|
113
113
|
self.to_phone_number = attributes[:'to_phone_number']
|
114
114
|
end
|
115
115
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
116
|
+
if attributes.key?(:'message_direction')
|
117
|
+
self.message_direction = attributes[:'message_direction']
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
@@ -134,16 +134,16 @@ module MailSlurpClient
|
|
134
134
|
invalid_properties.push('invalid value for "created", created cannot be nil.')
|
135
135
|
end
|
136
136
|
|
137
|
-
if @
|
138
|
-
invalid_properties.push('invalid value for "
|
137
|
+
if @from_phone_number.nil?
|
138
|
+
invalid_properties.push('invalid value for "from_phone_number", from_phone_number cannot be nil.')
|
139
139
|
end
|
140
140
|
|
141
141
|
if @to_phone_number.nil?
|
142
142
|
invalid_properties.push('invalid value for "to_phone_number", to_phone_number cannot be nil.')
|
143
143
|
end
|
144
144
|
|
145
|
-
if @
|
146
|
-
invalid_properties.push('invalid value for "
|
145
|
+
if @message_direction.nil?
|
146
|
+
invalid_properties.push('invalid value for "message_direction", message_direction cannot be nil.')
|
147
147
|
end
|
148
148
|
|
149
149
|
invalid_properties
|
@@ -155,11 +155,11 @@ module MailSlurpClient
|
|
155
155
|
return false if @body.nil?
|
156
156
|
return false if @phone_number_id.nil?
|
157
157
|
return false if @created.nil?
|
158
|
+
return false if @from_phone_number.nil?
|
159
|
+
return false if @to_phone_number.nil?
|
158
160
|
return false if @message_direction.nil?
|
159
161
|
message_direction_validator = EnumAttributeValidator.new('String', ["OUTBOUND", "INBOUND"])
|
160
162
|
return false unless message_direction_validator.valid?(@message_direction)
|
161
|
-
return false if @to_phone_number.nil?
|
162
|
-
return false if @from_phone_number.nil?
|
163
163
|
true
|
164
164
|
end
|
165
165
|
|
@@ -181,9 +181,9 @@ module MailSlurpClient
|
|
181
181
|
body == o.body &&
|
182
182
|
phone_number_id == o.phone_number_id &&
|
183
183
|
created == o.created &&
|
184
|
-
|
184
|
+
from_phone_number == o.from_phone_number &&
|
185
185
|
to_phone_number == o.to_phone_number &&
|
186
|
-
|
186
|
+
message_direction == o.message_direction
|
187
187
|
end
|
188
188
|
|
189
189
|
# @see the `==` method
|
@@ -195,7 +195,7 @@ module MailSlurpClient
|
|
195
195
|
# Calculates hash code according to all attributes.
|
196
196
|
# @return [Integer] Hash code
|
197
197
|
def hash
|
198
|
-
[body, phone_number_id, created,
|
198
|
+
[body, phone_number_id, created, from_phone_number, to_phone_number, message_direction].hash
|
199
199
|
end
|
200
200
|
|
201
201
|
# Builds the object from hash
|