messente_api 1.2.0 → 1.4.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/Gemfile +1 -1
- data/README.md +2 -2
- data/docs/ContactEnvelope.md +1 -1
- data/docs/ContactListEnvelope.md +1 -1
- data/docs/ContactResponseFields.md +37 -0
- data/docs/Omnimessage.md +3 -1
- data/docs/OmnimessageApi.md +4 -3
- data/docs/Priority.md +16 -0
- data/docs/StatisticsReportSettings.md +1 -1
- data/docs/SyncNumberLookupResult.md +1 -1
- data/git_push.sh +10 -7
- data/lib/messente_api.rb +4 -2
- data/lib/messente_api/api/blacklist_api.rb +2 -2
- data/lib/messente_api/api/contacts_api.rb +2 -2
- data/lib/messente_api/api/delivery_report_api.rb +2 -2
- data/lib/messente_api/api/groups_api.rb +2 -2
- data/lib/messente_api/api/number_lookup_api.rb +2 -2
- data/lib/messente_api/api/omnimessage_api.rb +7 -7
- data/lib/messente_api/api/statistics_api.rb +2 -2
- data/lib/messente_api/api_client.rb +37 -35
- data/lib/messente_api/api_error.rb +2 -2
- data/lib/messente_api/configuration.rb +3 -3
- data/lib/messente_api/models/channel.rb +2 -2
- data/lib/messente_api/models/contact_envelope.rb +14 -4
- data/lib/messente_api/models/contact_fields.rb +23 -4
- data/lib/messente_api/models/contact_list_envelope.rb +14 -4
- data/lib/messente_api/models/contact_response_fields.rb +318 -0
- data/lib/messente_api/models/contact_update_fields.rb +22 -3
- data/lib/messente_api/models/delivery_report_response.rb +13 -3
- data/lib/messente_api/models/delivery_result.rb +13 -3
- data/lib/messente_api/models/error_code_omnichannel.rb +2 -2
- data/lib/messente_api/models/error_code_omnichannel_machine.rb +2 -2
- data/lib/messente_api/models/error_code_phonebook.rb +2 -2
- data/lib/messente_api/models/error_code_statistics.rb +2 -2
- data/lib/messente_api/models/error_item_number_lookup.rb +13 -3
- data/lib/messente_api/models/error_item_number_lookup_error.rb +13 -3
- data/lib/messente_api/models/error_item_omnichannel.rb +14 -8
- data/lib/messente_api/models/error_item_phonebook.rb +13 -3
- data/lib/messente_api/models/error_item_statistics.rb +13 -3
- data/lib/messente_api/models/error_number_lookup.rb +13 -3
- data/lib/messente_api/models/error_omnichannel.rb +13 -3
- data/lib/messente_api/models/error_phonebook.rb +13 -3
- data/lib/messente_api/models/error_statistics.rb +13 -3
- data/lib/messente_api/models/error_title_omnichannel.rb +2 -2
- data/lib/messente_api/models/error_title_phonebook.rb +2 -2
- data/lib/messente_api/models/fetch_blacklist_success.rb +13 -3
- data/lib/messente_api/models/group_envelope.rb +13 -3
- data/lib/messente_api/models/group_list_envelope.rb +13 -3
- data/lib/messente_api/models/group_name.rb +13 -3
- data/lib/messente_api/models/group_response_fields.rb +14 -3
- data/lib/messente_api/models/message_result.rb +13 -3
- data/lib/messente_api/models/mobile_network.rb +13 -3
- data/lib/messente_api/models/number_to_blacklist.rb +13 -3
- data/lib/messente_api/models/numbers_to_investigate.rb +13 -3
- data/lib/messente_api/models/omni_message_create_success_response.rb +13 -3
- data/lib/messente_api/models/omnimessage.rb +26 -7
- data/lib/messente_api/models/priority.rb +37 -0
- data/lib/messente_api/models/sms.rb +13 -3
- data/lib/messente_api/models/statistics_report.rb +13 -3
- data/lib/messente_api/models/statistics_report_settings.rb +14 -4
- data/lib/messente_api/models/statistics_report_success.rb +13 -3
- data/lib/messente_api/models/status.rb +2 -2
- data/lib/messente_api/models/sync_number_lookup_result.rb +20 -4
- data/lib/messente_api/models/sync_number_lookup_success.rb +13 -3
- data/lib/messente_api/models/telegram.rb +13 -3
- data/lib/messente_api/models/text_store.rb +2 -2
- data/lib/messente_api/models/viber.rb +13 -3
- data/lib/messente_api/models/whats_app.rb +13 -3
- data/lib/messente_api/models/whats_app_audio.rb +13 -3
- data/lib/messente_api/models/whats_app_document.rb +13 -3
- data/lib/messente_api/models/whats_app_image.rb +13 -3
- data/lib/messente_api/models/whats_app_text.rb +13 -3
- data/lib/messente_api/version.rb +3 -3
- data/messente_api.gemspec +2 -8
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +15 -132
- data/Gemfile.lock +0 -79
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,6 +32,12 @@ module MessenteApi
|
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# List of attributes with nullable: true
|
|
36
|
+
def self.openapi_nullable
|
|
37
|
+
Set.new([
|
|
38
|
+
])
|
|
39
|
+
end
|
|
40
|
+
|
|
35
41
|
# Initializes the object
|
|
36
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
43
|
def initialize(attributes = {})
|
|
@@ -178,7 +184,11 @@ module MessenteApi
|
|
|
178
184
|
hash = {}
|
|
179
185
|
self.class.attribute_map.each_pair do |attr, param|
|
|
180
186
|
value = self.send(attr)
|
|
181
|
-
|
|
187
|
+
if value.nil?
|
|
188
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
189
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
190
|
+
end
|
|
191
|
+
|
|
182
192
|
hash[param] = _to_hash(value)
|
|
183
193
|
end
|
|
184
194
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,6 +32,12 @@ module MessenteApi
|
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# List of attributes with nullable: true
|
|
36
|
+
def self.openapi_nullable
|
|
37
|
+
Set.new([
|
|
38
|
+
])
|
|
39
|
+
end
|
|
40
|
+
|
|
35
41
|
# Initializes the object
|
|
36
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
43
|
def initialize(attributes = {})
|
|
@@ -178,7 +184,11 @@ module MessenteApi
|
|
|
178
184
|
hash = {}
|
|
179
185
|
self.class.attribute_map.each_pair do |attr, param|
|
|
180
186
|
value = self.send(attr)
|
|
181
|
-
|
|
187
|
+
if value.nil?
|
|
188
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
189
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
190
|
+
end
|
|
191
|
+
|
|
182
192
|
hash[param] = _to_hash(value)
|
|
183
193
|
end
|
|
184
194
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,6 +32,12 @@ module MessenteApi
|
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# List of attributes with nullable: true
|
|
36
|
+
def self.openapi_nullable
|
|
37
|
+
Set.new([
|
|
38
|
+
])
|
|
39
|
+
end
|
|
40
|
+
|
|
35
41
|
# Initializes the object
|
|
36
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
43
|
def initialize(attributes = {})
|
|
@@ -173,7 +179,11 @@ module MessenteApi
|
|
|
173
179
|
hash = {}
|
|
174
180
|
self.class.attribute_map.each_pair do |attr, param|
|
|
175
181
|
value = self.send(attr)
|
|
176
|
-
|
|
182
|
+
if value.nil?
|
|
183
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
184
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
185
|
+
end
|
|
186
|
+
|
|
177
187
|
hash[param] = _to_hash(value)
|
|
178
188
|
end
|
|
179
189
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -31,6 +31,12 @@ module MessenteApi
|
|
|
31
31
|
}
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
+
# List of attributes with nullable: true
|
|
35
|
+
def self.openapi_nullable
|
|
36
|
+
Set.new([
|
|
37
|
+
])
|
|
38
|
+
end
|
|
39
|
+
|
|
34
40
|
# Initializes the object
|
|
35
41
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
36
42
|
def initialize(attributes = {})
|
|
@@ -170,7 +176,11 @@ module MessenteApi
|
|
|
170
176
|
hash = {}
|
|
171
177
|
self.class.attribute_map.each_pair do |attr, param|
|
|
172
178
|
value = self.send(attr)
|
|
173
|
-
|
|
179
|
+
if value.nil?
|
|
180
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
181
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
182
|
+
end
|
|
183
|
+
|
|
174
184
|
hash[param] = _to_hash(value)
|
|
175
185
|
end
|
|
176
186
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,6 +32,12 @@ module MessenteApi
|
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# List of attributes with nullable: true
|
|
36
|
+
def self.openapi_nullable
|
|
37
|
+
Set.new([
|
|
38
|
+
])
|
|
39
|
+
end
|
|
40
|
+
|
|
35
41
|
# Initializes the object
|
|
36
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
43
|
def initialize(attributes = {})
|
|
@@ -173,7 +179,11 @@ module MessenteApi
|
|
|
173
179
|
hash = {}
|
|
174
180
|
self.class.attribute_map.each_pair do |attr, param|
|
|
175
181
|
value = self.send(attr)
|
|
176
|
-
|
|
182
|
+
if value.nil?
|
|
183
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
184
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
185
|
+
end
|
|
186
|
+
|
|
177
187
|
hash[param] = _to_hash(value)
|
|
178
188
|
end
|
|
179
189
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,6 +32,12 @@ module MessenteApi
|
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# List of attributes with nullable: true
|
|
36
|
+
def self.openapi_nullable
|
|
37
|
+
Set.new([
|
|
38
|
+
])
|
|
39
|
+
end
|
|
40
|
+
|
|
35
41
|
# Initializes the object
|
|
36
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
43
|
def initialize(attributes = {})
|
|
@@ -195,7 +201,11 @@ module MessenteApi
|
|
|
195
201
|
hash = {}
|
|
196
202
|
self.class.attribute_map.each_pair do |attr, param|
|
|
197
203
|
value = self.send(attr)
|
|
198
|
-
|
|
204
|
+
if value.nil?
|
|
205
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
206
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
207
|
+
end
|
|
208
|
+
|
|
199
209
|
hash[param] = _to_hash(value)
|
|
200
210
|
end
|
|
201
211
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -47,6 +47,13 @@ module MessenteApi
|
|
|
47
47
|
}
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
+
# List of attributes with nullable: true
|
|
51
|
+
def self.openapi_nullable
|
|
52
|
+
Set.new([
|
|
53
|
+
:'created_on',
|
|
54
|
+
])
|
|
55
|
+
end
|
|
56
|
+
|
|
50
57
|
# Initializes the object
|
|
51
58
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
59
|
def initialize(attributes = {})
|
|
@@ -216,7 +223,11 @@ module MessenteApi
|
|
|
216
223
|
hash = {}
|
|
217
224
|
self.class.attribute_map.each_pair do |attr, param|
|
|
218
225
|
value = self.send(attr)
|
|
219
|
-
|
|
226
|
+
if value.nil?
|
|
227
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
228
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
229
|
+
end
|
|
230
|
+
|
|
220
231
|
hash[param] = _to_hash(value)
|
|
221
232
|
end
|
|
222
233
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -41,6 +41,12 @@ module MessenteApi
|
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
+
# List of attributes with nullable: true
|
|
45
|
+
def self.openapi_nullable
|
|
46
|
+
Set.new([
|
|
47
|
+
])
|
|
48
|
+
end
|
|
49
|
+
|
|
44
50
|
# Initializes the object
|
|
45
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
46
52
|
def initialize(attributes = {})
|
|
@@ -205,7 +211,11 @@ module MessenteApi
|
|
|
205
211
|
hash = {}
|
|
206
212
|
self.class.attribute_map.each_pair do |attr, param|
|
|
207
213
|
value = self.send(attr)
|
|
208
|
-
|
|
214
|
+
if value.nil?
|
|
215
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
216
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
217
|
+
end
|
|
218
|
+
|
|
209
219
|
hash[param] = _to_hash(value)
|
|
210
220
|
end
|
|
211
221
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -52,6 +52,12 @@ module MessenteApi
|
|
|
52
52
|
}
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
+
# List of attributes with nullable: true
|
|
56
|
+
def self.openapi_nullable
|
|
57
|
+
Set.new([
|
|
58
|
+
])
|
|
59
|
+
end
|
|
60
|
+
|
|
55
61
|
# Initializes the object
|
|
56
62
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
57
63
|
def initialize(attributes = {})
|
|
@@ -211,7 +217,11 @@ module MessenteApi
|
|
|
211
217
|
hash = {}
|
|
212
218
|
self.class.attribute_map.each_pair do |attr, param|
|
|
213
219
|
value = self.send(attr)
|
|
214
|
-
|
|
220
|
+
if value.nil?
|
|
221
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
222
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
223
|
+
end
|
|
224
|
+
|
|
215
225
|
hash[param] = _to_hash(value)
|
|
216
226
|
end
|
|
217
227
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,6 +32,12 @@ module MessenteApi
|
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# List of attributes with nullable: true
|
|
36
|
+
def self.openapi_nullable
|
|
37
|
+
Set.new([
|
|
38
|
+
])
|
|
39
|
+
end
|
|
40
|
+
|
|
35
41
|
# Initializes the object
|
|
36
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
43
|
def initialize(attributes = {})
|
|
@@ -176,7 +182,11 @@ module MessenteApi
|
|
|
176
182
|
hash = {}
|
|
177
183
|
self.class.attribute_map.each_pair do |attr, param|
|
|
178
184
|
value = self.send(attr)
|
|
179
|
-
|
|
185
|
+
if value.nil?
|
|
186
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
187
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
188
|
+
end
|
|
189
|
+
|
|
180
190
|
hash[param] = _to_hash(value)
|
|
181
191
|
end
|
|
182
192
|
hash
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.4.0
|
|
7
7
|
Contact: messente@messente.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,6 +32,12 @@ module MessenteApi
|
|
|
32
32
|
}
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# List of attributes with nullable: true
|
|
36
|
+
def self.openapi_nullable
|
|
37
|
+
Set.new([
|
|
38
|
+
])
|
|
39
|
+
end
|
|
40
|
+
|
|
35
41
|
# Initializes the object
|
|
36
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
43
|
def initialize(attributes = {})
|
|
@@ -178,7 +184,11 @@ module MessenteApi
|
|
|
178
184
|
hash = {}
|
|
179
185
|
self.class.attribute_map.each_pair do |attr, param|
|
|
180
186
|
value = self.send(attr)
|
|
181
|
-
|
|
187
|
+
if value.nil?
|
|
188
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
189
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
190
|
+
end
|
|
191
|
+
|
|
182
192
|
hash[param] = _to_hash(value)
|
|
183
193
|
end
|
|
184
194
|
hash
|