mailslurp_client 16.2.5 → 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_thread_projection.rb +23 -23
- 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_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 +45 -45
- 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
|
@@ -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
|
@@ -13,8 +13,8 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
-
# Paginated
|
17
|
-
class
|
16
|
+
# Paginated ruleset results to deny or permit inbound or outbound SMS and email. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls.
|
17
|
+
class PageRulesetDto
|
18
18
|
attr_accessor :content
|
19
19
|
|
20
20
|
attr_accessor :pageable
|
@@ -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
|
@@ -57,16 +57,16 @@ module MailSlurpClient
|
|
57
57
|
# Attribute type mapping.
|
58
58
|
def self.openapi_types
|
59
59
|
{
|
60
|
-
:'content' => :'Array<
|
60
|
+
:'content' => :'Array<RulesetDto>',
|
61
61
|
:'pageable' => :'PageableObject',
|
62
62
|
:'total_elements' => :'Integer',
|
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
|
@@ -81,13 +81,13 @@ module MailSlurpClient
|
|
81
81
|
# @param [Hash] attributes Model attributes in the form of hash
|
82
82
|
def initialize(attributes = {})
|
83
83
|
if (!attributes.is_a?(Hash))
|
84
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::
|
84
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::PageRulesetDto` initialize method"
|
85
85
|
end
|
86
86
|
|
87
87
|
# check to see if the attribute exists and convert string to symbol for hash key
|
88
88
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
89
89
|
if (!self.class.attribute_map.key?(k.to_sym))
|
90
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::
|
90
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::PageRulesetDto`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
91
91
|
end
|
92
92
|
h[k.to_sym] = v
|
93
93
|
}
|
@@ -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
|