diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 0c89fc9..aa31e71 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -4.0.0 \ No newline at end of file +4.0.3 \ No newline at end of file diff --git a/README.md b/README.md index 66ec536..dd89ae4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Messente API Library - Messente API version: 1.0.2 -- Python package version: 1.0.3 +- Python package version: 1.0.4 [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. @@ -124,7 +124,7 @@ except ApiException as exception: ## License -[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) +[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0.html) ## Terms diff --git a/docs/BlacklistApi.md b/docs/BlacklistApi.md index 9941b74..e8b4ef5 100644 --- a/docs/BlacklistApi.md +++ b/docs/BlacklistApi.md @@ -29,9 +29,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.BlacklistApi(messente_api.ApiClient(configuration)) -number_to_blacklist = messente_api.NumberToBlacklist() # NumberToBlacklist | Phone number to be blacklisted +number_to_blacklist = {"phoneNumber":"+37251000000"} # NumberToBlacklist | Phone number to be blacklisted try: # Adds a phone number to the blacklist @@ -59,6 +61,15 @@ void (empty response body) - **Content-Type**: application/json - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Phone number added to the blacklist | - | +**400** | Invalid phone number provided | - | +**401** | Unauthorized | - | +**409** | Phone number already blacklisted | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_from_blacklist** @@ -80,9 +91,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.BlacklistApi(messente_api.ApiClient(configuration)) -phone = 'phone_example' # str | A phone number +phone = '+37251000000' # str | A phone number try: # Deletes a phone number from the blacklist @@ -110,6 +123,15 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Phone number deleted from the blacklist | - | +**400** | Invalid phone number provided | - | +**401** | Unauthorized | - | +**404** | Phone number is not in the blacklist | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **fetch_blacklist** @@ -131,7 +153,9 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.BlacklistApi(messente_api.ApiClient(configuration)) try: @@ -158,6 +182,13 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An object containing a list of blacklisted phone numbers | - | +**401** | Unauthorized | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **is_blacklisted** @@ -179,9 +210,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.BlacklistApi(messente_api.ApiClient(configuration)) -phone = 'phone_example' # str | A phone number +phone = '+37251000000' # str | A phone number try: # Checks if a phone number is blacklisted @@ -209,5 +242,13 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Phone number is in the blacklist | - | +**400** | Invalid phone number provided | - | +**401** | Unauthorized | - | +**404** | Phone number is not in the blacklist | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/ContactsApi.md b/docs/ContactsApi.md index 13d3682..e460599 100644 --- a/docs/ContactsApi.md +++ b/docs/ContactsApi.md @@ -33,10 +33,12 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.ContactsApi(messente_api.ApiClient(configuration)) -group_id = 'group_id_example' # str | String in UUID format -phone = 'phone_example' # str | A phone number +group_id = '5792a02a-e5c2-422b-a0a0-0ae65d814663' # str | String in UUID format +phone = '+37251000000' # str | A phone number try: # Adds a contact to a group @@ -66,6 +68,16 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | An empty object | - | +**400** | Invalid phone number provided | - | +**401** | Unauthorized | - | +**404** | Contact or group is missing | - | +**409** | Contact already added to group | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_contact** @@ -87,9 +99,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.ContactsApi(messente_api.ApiClient(configuration)) -contact_fields = messente_api.ContactFields() # ContactFields | +contact_fields = {"phoneNumber":"+37251000000","email":"anyone@messente.com","firstName":"Any","lastName":"One","company":"Messente","title":"Sir","custom":"Any custom","custom2":"Any custom two","custom3":"Any custom three","custom4":"Any custom four"} # ContactFields | try: # Creates a new contact @@ -118,6 +132,15 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | An object containing a contact object | - | +**400** | Invalid phone number provided | - | +**401** | Unauthorized | - | +**409** | Contact with phone already created | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_contact** @@ -139,9 +162,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.ContactsApi(messente_api.ApiClient(configuration)) -phone = 'phone_example' # str | A phone number +phone = '+37251000000' # str | A phone number try: # Deletes a contact @@ -169,6 +194,15 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Contact deleted | - | +**400** | Invalid phone number provided | - | +**401** | Unauthorized | - | +**404** | Contact missing | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **fetch_contact** @@ -190,9 +224,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.ContactsApi(messente_api.ApiClient(configuration)) -phone = 'phone_example' # str | A phone number +phone = '+37251000000' # str | A phone number try: # Lists a contact @@ -221,6 +257,14 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An object containing a contact object | - | +**400** | Invalid phone number provided | - | +**401** | Unauthorized | - | +**404** | Contact missing | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **fetch_contact_groups** @@ -242,9 +286,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.ContactsApi(messente_api.ApiClient(configuration)) -phone = 'phone_example' # str | A phone number +phone = '+37251000000' # str | A phone number try: # Lists groups of a contact @@ -273,6 +319,14 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An object containing a list of group objects | - | +**400** | Invalid phone number provided | - | +**401** | Unauthorized | - | +**404** | Contact missing | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **fetch_contacts** @@ -294,9 +348,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.ContactsApi(messente_api.ApiClient(configuration)) -group_ids = ['group_ids_example'] # list[str] | Optional one or many group id strings in UUID format. For example: \"/contacts?groupIds=group_id_one&groupIds=group_id_two\" (optional) +group_ids = ['[\"5792a02a-e5c2-422b-a0a0-0ae65d814663\",\"4792a02a-e5c2-422b-a0a0-0ae65d814662\"]'] # list[str] | Optional one or many group id strings in UUID format. For example: \"/contacts?groupIds=group_id_one&groupIds=group_id_two\" (optional) try: # Returns all contacts @@ -325,6 +381,14 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An object containing a list of contact objects | - | +**400** | Invalid \"groupIds\" parameters provided | - | +**401** | Unauthorized | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **remove_contact_from_group** @@ -346,10 +410,12 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.ContactsApi(messente_api.ApiClient(configuration)) -group_id = 'group_id_example' # str | String in UUID format -phone = 'phone_example' # str | A phone number +group_id = '5792a02a-e5c2-422b-a0a0-0ae65d814663' # str | String in UUID format +phone = '+37251000000' # str | A phone number try: # Removes a contact from a group @@ -378,6 +444,15 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Contact removed from group | - | +**400** | Invalid phone number provided | - | +**401** | Unauthorized | - | +**404** | Contact or group is missing or contact is missing from group | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_contact** @@ -399,10 +474,12 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.ContactsApi(messente_api.ApiClient(configuration)) -phone = 'phone_example' # str | A phone number -contact_update_fields = messente_api.ContactUpdateFields() # ContactUpdateFields | +phone = '+37251000000' # str | A phone number +contact_update_fields = {"email":"anyone@messente.com","firstName":"Any","lastName":"One","company":"Messente","title":"Sir","custom":"Any custom","custom2":"Any custom two","custom3":"Any custom three","custom4":"Any custom four"} # ContactUpdateFields | try: # Updates a contact @@ -432,5 +509,14 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An object containing a contact object | - | +**400** | Invalid phone number or empty patch body or unknown fields provided | - | +**401** | Unauthorized | - | +**404** | Contact missing | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/DeliveryReportApi.md b/docs/DeliveryReportApi.md index 26612eb..f843cf5 100644 --- a/docs/DeliveryReportApi.md +++ b/docs/DeliveryReportApi.md @@ -26,7 +26,9 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.DeliveryReportApi(messente_api.ApiClient(configuration)) omnimessage_id = 'omnimessage_id_example' # str | UUID of the omnimessage to for which the delivery report is to be retrieved @@ -57,5 +59,11 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Delivery report success | - | +**404** | If no such message exists or you do not have access to the particular message | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index e389ff7..995de21 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -30,9 +30,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.GroupsApi(messente_api.ApiClient(configuration)) -group_name = messente_api.GroupName() # GroupName | +group_name = {"name":"Any group name"} # GroupName | try: # Creates a new group with the provided name @@ -61,6 +63,14 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | An object containing a group object | - | +**400** | Name is invalid string or shorter than length 1 | - | +**401** | Unauthorized | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_group** @@ -82,9 +92,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.GroupsApi(messente_api.ApiClient(configuration)) -group_id = 'group_id_example' # str | String in UUID format +group_id = '5792a02a-e5c2-422b-a0a0-0ae65d814663' # str | String in UUID format try: # Deletes a group @@ -112,6 +124,14 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Group deleted | - | +**401** | Unauthorized | - | +**404** | Group missing | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **fetch_group** @@ -133,9 +153,11 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.GroupsApi(messente_api.ApiClient(configuration)) -group_id = 'group_id_example' # str | String in UUID format +group_id = '5792a02a-e5c2-422b-a0a0-0ae65d814663' # str | String in UUID format try: # Lists a group @@ -164,6 +186,13 @@ Name | Type | Description | Notes - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An object containing a group object | - | +**401** | Unauthorized | - | +**404** | Missing group | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **fetch_groups** @@ -185,7 +214,9 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.GroupsApi(messente_api.ApiClient(configuration)) try: @@ -212,6 +243,13 @@ This endpoint does not need any parameter. - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An object containing a list of group objects | - | +**401** | Unauthorized | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_group** @@ -233,10 +271,12 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.GroupsApi(messente_api.ApiClient(configuration)) -group_id = 'group_id_example' # str | String in UUID format -group_name = messente_api.GroupName() # GroupName | +group_id = '5792a02a-e5c2-422b-a0a0-0ae65d814663' # str | String in UUID format +group_name = {"name":"Any group name"} # GroupName | try: # Updates a group with the provided name @@ -266,5 +306,14 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | An object containing a group object | - | +**400** | Name is invalid string or shorter than length 1 | - | +**401** | Unauthorized | - | +**404** | Group missing | - | +**0** | General error | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/OmnimessageApi.md b/docs/OmnimessageApi.md index c3365fa..e0f907e 100644 --- a/docs/OmnimessageApi.md +++ b/docs/OmnimessageApi.md @@ -27,7 +27,9 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.OmnimessageApi(messente_api.ApiClient(configuration)) omnimessage_id = 'omnimessage_id_example' # str | UUID of the scheduled omnimessage to be cancelled @@ -57,6 +59,12 @@ void (empty response body) - **Content-Type**: Not defined - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Scheduled omnimessage successfully cancelled | - | +**404** | If the omnimessage has already been sent or no such message exists | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **send_omnimessage** @@ -78,7 +86,9 @@ configuration = messente_api.Configuration() configuration.username = 'YOUR_USERNAME' configuration.password = 'YOUR_PASSWORD' -# create an instance of the API class +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class api_instance = messente_api.OmnimessageApi(messente_api.ApiClient(configuration)) omnimessage = messente_api.Omnimessage() # Omnimessage | Omnimessage to be sent @@ -109,5 +119,11 @@ Name | Type | Description | Notes - **Content-Type**: application/json - **Accept**: application/json +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Omnimessage success response | - | +**400** | Invalid input | - | + [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/messente_api/__init__.py b/messente_api/__init__.py index 693f22b..62f828d 100644 --- a/messente_api/__init__.py +++ b/messente_api/__init__.py @@ -15,7 +15,7 @@ from __future__ import absolute_import -__version__ = "1.0.3" +__version__ = "1.0.4" # import apis into sdk package from messente_api.api.blacklist_api import BlacklistApi diff --git a/messente_api/api/blacklist_api.py b/messente_api/api/blacklist_api.py index cd1d4c2..6005d91 100644 --- a/messente_api/api/blacklist_api.py +++ b/messente_api/api/blacklist_api.py @@ -45,18 +45,21 @@ def add_to_blacklist(self, number_to_blacklist, **kwargs): # noqa: E501 >>> thread = api.add_to_blacklist(number_to_blacklist, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param NumberToBlacklist number_to_blacklist: Phone number to be blacklisted (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.add_to_blacklist_with_http_info(number_to_blacklist, **kwargs) # noqa: E501 - else: - (data) = self.add_to_blacklist_with_http_info(number_to_blacklist, **kwargs) # noqa: E501 - return data + return self.add_to_blacklist_with_http_info(number_to_blacklist, **kwargs) # noqa: E501 def add_to_blacklist_with_http_info(self, number_to_blacklist, **kwargs): # noqa: E501 """Adds a phone number to the blacklist # noqa: E501 @@ -66,8 +69,17 @@ def add_to_blacklist_with_http_info(self, number_to_blacklist, **kwargs): # noq >>> thread = api.add_to_blacklist_with_http_info(number_to_blacklist, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param NumberToBlacklist number_to_blacklist: Phone number to be blacklisted (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. @@ -143,18 +155,21 @@ def delete_from_blacklist(self, phone, **kwargs): # noqa: E501 >>> thread = api.delete_from_blacklist(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_from_blacklist_with_http_info(phone, **kwargs) # noqa: E501 - else: - (data) = self.delete_from_blacklist_with_http_info(phone, **kwargs) # noqa: E501 - return data + return self.delete_from_blacklist_with_http_info(phone, **kwargs) # noqa: E501 def delete_from_blacklist_with_http_info(self, phone, **kwargs): # noqa: E501 """Deletes a phone number from the blacklist # noqa: E501 @@ -164,8 +179,17 @@ def delete_from_blacklist_with_http_info(self, phone, **kwargs): # noqa: E501 >>> thread = api.delete_from_blacklist_with_http_info(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. @@ -237,17 +261,20 @@ def fetch_blacklist(self, **kwargs): # noqa: E501 >>> thread = api.fetch_blacklist(async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: FetchBlacklistSuccess If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.fetch_blacklist_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.fetch_blacklist_with_http_info(**kwargs) # noqa: E501 - return data + return self.fetch_blacklist_with_http_info(**kwargs) # noqa: E501 def fetch_blacklist_with_http_info(self, **kwargs): # noqa: E501 """Returns all blacklisted phone numbers # noqa: E501 @@ -257,8 +284,17 @@ def fetch_blacklist_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.fetch_blacklist_with_http_info(async_req=True) >>> result = thread.get() - :param async_req bool - :return: FetchBlacklistSuccess + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(FetchBlacklistSuccess, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -323,18 +359,21 @@ def is_blacklisted(self, phone, **kwargs): # noqa: E501 >>> thread = api.is_blacklisted(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.is_blacklisted_with_http_info(phone, **kwargs) # noqa: E501 - else: - (data) = self.is_blacklisted_with_http_info(phone, **kwargs) # noqa: E501 - return data + return self.is_blacklisted_with_http_info(phone, **kwargs) # noqa: E501 def is_blacklisted_with_http_info(self, phone, **kwargs): # noqa: E501 """Checks if a phone number is blacklisted # noqa: E501 @@ -344,8 +383,17 @@ def is_blacklisted_with_http_info(self, phone, **kwargs): # noqa: E501 >>> thread = api.is_blacklisted_with_http_info(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. diff --git a/messente_api/api/contacts_api.py b/messente_api/api/contacts_api.py index 2ecf3ec..008ad2b 100644 --- a/messente_api/api/contacts_api.py +++ b/messente_api/api/contacts_api.py @@ -45,19 +45,22 @@ def add_contact_to_group(self, group_id, phone, **kwargs): # noqa: E501 >>> thread = api.add_contact_to_group(group_id, phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) :param str phone: A phone number (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: object If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.add_contact_to_group_with_http_info(group_id, phone, **kwargs) # noqa: E501 - else: - (data) = self.add_contact_to_group_with_http_info(group_id, phone, **kwargs) # noqa: E501 - return data + return self.add_contact_to_group_with_http_info(group_id, phone, **kwargs) # noqa: E501 def add_contact_to_group_with_http_info(self, group_id, phone, **kwargs): # noqa: E501 """Adds a contact to a group # noqa: E501 @@ -67,10 +70,19 @@ def add_contact_to_group_with_http_info(self, group_id, phone, **kwargs): # noq >>> thread = api.add_contact_to_group_with_http_info(group_id, phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) :param str phone: A phone number (required) - :return: object + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(object, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -147,18 +159,21 @@ def create_contact(self, contact_fields, **kwargs): # noqa: E501 >>> thread = api.create_contact(contact_fields, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param ContactFields contact_fields: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: ContactEnvelope If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_contact_with_http_info(contact_fields, **kwargs) # noqa: E501 - else: - (data) = self.create_contact_with_http_info(contact_fields, **kwargs) # noqa: E501 - return data + return self.create_contact_with_http_info(contact_fields, **kwargs) # noqa: E501 def create_contact_with_http_info(self, contact_fields, **kwargs): # noqa: E501 """Creates a new contact # noqa: E501 @@ -168,9 +183,18 @@ def create_contact_with_http_info(self, contact_fields, **kwargs): # noqa: E501 >>> thread = api.create_contact_with_http_info(contact_fields, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param ContactFields contact_fields: (required) - :return: ContactEnvelope + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ContactEnvelope, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -245,18 +269,21 @@ def delete_contact(self, phone, **kwargs): # noqa: E501 >>> thread = api.delete_contact(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_contact_with_http_info(phone, **kwargs) # noqa: E501 - else: - (data) = self.delete_contact_with_http_info(phone, **kwargs) # noqa: E501 - return data + return self.delete_contact_with_http_info(phone, **kwargs) # noqa: E501 def delete_contact_with_http_info(self, phone, **kwargs): # noqa: E501 """Deletes a contact # noqa: E501 @@ -266,8 +293,17 @@ def delete_contact_with_http_info(self, phone, **kwargs): # noqa: E501 >>> thread = api.delete_contact_with_http_info(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. @@ -339,18 +375,21 @@ def fetch_contact(self, phone, **kwargs): # noqa: E501 >>> thread = api.fetch_contact(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: ContactEnvelope If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.fetch_contact_with_http_info(phone, **kwargs) # noqa: E501 - else: - (data) = self.fetch_contact_with_http_info(phone, **kwargs) # noqa: E501 - return data + return self.fetch_contact_with_http_info(phone, **kwargs) # noqa: E501 def fetch_contact_with_http_info(self, phone, **kwargs): # noqa: E501 """Lists a contact # noqa: E501 @@ -360,9 +399,18 @@ def fetch_contact_with_http_info(self, phone, **kwargs): # noqa: E501 >>> thread = api.fetch_contact_with_http_info(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) - :return: ContactEnvelope + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ContactEnvelope, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -433,18 +481,21 @@ def fetch_contact_groups(self, phone, **kwargs): # noqa: E501 >>> thread = api.fetch_contact_groups(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: GroupListEnvelope If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.fetch_contact_groups_with_http_info(phone, **kwargs) # noqa: E501 - else: - (data) = self.fetch_contact_groups_with_http_info(phone, **kwargs) # noqa: E501 - return data + return self.fetch_contact_groups_with_http_info(phone, **kwargs) # noqa: E501 def fetch_contact_groups_with_http_info(self, phone, **kwargs): # noqa: E501 """Lists groups of a contact # noqa: E501 @@ -454,9 +505,18 @@ def fetch_contact_groups_with_http_info(self, phone, **kwargs): # noqa: E501 >>> thread = api.fetch_contact_groups_with_http_info(phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) - :return: GroupListEnvelope + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GroupListEnvelope, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -527,18 +587,21 @@ def fetch_contacts(self, **kwargs): # noqa: E501 >>> thread = api.fetch_contacts(async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param list[str] group_ids: Optional one or many group id strings in UUID format. For example: \"/contacts?groupIds=group_id_one&groupIds=group_id_two\" + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: ContactListEnvelope If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.fetch_contacts_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.fetch_contacts_with_http_info(**kwargs) # noqa: E501 - return data + return self.fetch_contacts_with_http_info(**kwargs) # noqa: E501 def fetch_contacts_with_http_info(self, **kwargs): # noqa: E501 """Returns all contacts # noqa: E501 @@ -548,9 +611,18 @@ def fetch_contacts_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.fetch_contacts_with_http_info(async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param list[str] group_ids: Optional one or many group id strings in UUID format. For example: \"/contacts?groupIds=group_id_one&groupIds=group_id_two\" - :return: ContactListEnvelope + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ContactListEnvelope, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -618,19 +690,22 @@ def remove_contact_from_group(self, group_id, phone, **kwargs): # noqa: E501 >>> thread = api.remove_contact_from_group(group_id, phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) :param str phone: A phone number (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.remove_contact_from_group_with_http_info(group_id, phone, **kwargs) # noqa: E501 - else: - (data) = self.remove_contact_from_group_with_http_info(group_id, phone, **kwargs) # noqa: E501 - return data + return self.remove_contact_from_group_with_http_info(group_id, phone, **kwargs) # noqa: E501 def remove_contact_from_group_with_http_info(self, group_id, phone, **kwargs): # noqa: E501 """Removes a contact from a group # noqa: E501 @@ -640,9 +715,18 @@ def remove_contact_from_group_with_http_info(self, group_id, phone, **kwargs): >>> thread = api.remove_contact_from_group_with_http_info(group_id, phone, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) :param str phone: A phone number (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. @@ -720,19 +804,22 @@ def update_contact(self, phone, contact_update_fields, **kwargs): # noqa: E501 >>> thread = api.update_contact(phone, contact_update_fields, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) :param ContactUpdateFields contact_update_fields: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: ContactEnvelope If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_contact_with_http_info(phone, contact_update_fields, **kwargs) # noqa: E501 - else: - (data) = self.update_contact_with_http_info(phone, contact_update_fields, **kwargs) # noqa: E501 - return data + return self.update_contact_with_http_info(phone, contact_update_fields, **kwargs) # noqa: E501 def update_contact_with_http_info(self, phone, contact_update_fields, **kwargs): # noqa: E501 """Updates a contact # noqa: E501 @@ -742,10 +829,19 @@ def update_contact_with_http_info(self, phone, contact_update_fields, **kwargs): >>> thread = api.update_contact_with_http_info(phone, contact_update_fields, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str phone: A phone number (required) :param ContactUpdateFields contact_update_fields: (required) - :return: ContactEnvelope + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(ContactEnvelope, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ diff --git a/messente_api/api/delivery_report_api.py b/messente_api/api/delivery_report_api.py index 47592bf..18444d4 100644 --- a/messente_api/api/delivery_report_api.py +++ b/messente_api/api/delivery_report_api.py @@ -45,18 +45,21 @@ def retrieve_delivery_report(self, omnimessage_id, **kwargs): # noqa: E501 >>> thread = api.retrieve_delivery_report(omnimessage_id, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str omnimessage_id: UUID of the omnimessage to for which the delivery report is to be retrieved (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: DeliveryReportResponse If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.retrieve_delivery_report_with_http_info(omnimessage_id, **kwargs) # noqa: E501 - else: - (data) = self.retrieve_delivery_report_with_http_info(omnimessage_id, **kwargs) # noqa: E501 - return data + return self.retrieve_delivery_report_with_http_info(omnimessage_id, **kwargs) # noqa: E501 def retrieve_delivery_report_with_http_info(self, omnimessage_id, **kwargs): # noqa: E501 """Retrieves the delivery report for the Omnimessage # noqa: E501 @@ -66,9 +69,18 @@ def retrieve_delivery_report_with_http_info(self, omnimessage_id, **kwargs): # >>> thread = api.retrieve_delivery_report_with_http_info(omnimessage_id, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str omnimessage_id: UUID of the omnimessage to for which the delivery report is to be retrieved (required) - :return: DeliveryReportResponse + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(DeliveryReportResponse, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ diff --git a/messente_api/api/groups_api.py b/messente_api/api/groups_api.py index 59ec0c3..710f5f7 100644 --- a/messente_api/api/groups_api.py +++ b/messente_api/api/groups_api.py @@ -45,18 +45,21 @@ def create_group(self, group_name, **kwargs): # noqa: E501 >>> thread = api.create_group(group_name, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param GroupName group_name: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: GroupEnvelope If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.create_group_with_http_info(group_name, **kwargs) # noqa: E501 - else: - (data) = self.create_group_with_http_info(group_name, **kwargs) # noqa: E501 - return data + return self.create_group_with_http_info(group_name, **kwargs) # noqa: E501 def create_group_with_http_info(self, group_name, **kwargs): # noqa: E501 """Creates a new group with the provided name # noqa: E501 @@ -66,9 +69,18 @@ def create_group_with_http_info(self, group_name, **kwargs): # noqa: E501 >>> thread = api.create_group_with_http_info(group_name, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param GroupName group_name: (required) - :return: GroupEnvelope + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GroupEnvelope, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -143,18 +155,21 @@ def delete_group(self, group_id, **kwargs): # noqa: E501 >>> thread = api.delete_group(group_id, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.delete_group_with_http_info(group_id, **kwargs) # noqa: E501 - else: - (data) = self.delete_group_with_http_info(group_id, **kwargs) # noqa: E501 - return data + return self.delete_group_with_http_info(group_id, **kwargs) # noqa: E501 def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 """Deletes a group # noqa: E501 @@ -164,8 +179,17 @@ def delete_group_with_http_info(self, group_id, **kwargs): # noqa: E501 >>> thread = api.delete_group_with_http_info(group_id, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. @@ -237,18 +261,21 @@ def fetch_group(self, group_id, **kwargs): # noqa: E501 >>> thread = api.fetch_group(group_id, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: GroupEnvelope If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.fetch_group_with_http_info(group_id, **kwargs) # noqa: E501 - else: - (data) = self.fetch_group_with_http_info(group_id, **kwargs) # noqa: E501 - return data + return self.fetch_group_with_http_info(group_id, **kwargs) # noqa: E501 def fetch_group_with_http_info(self, group_id, **kwargs): # noqa: E501 """Lists a group # noqa: E501 @@ -258,9 +285,18 @@ def fetch_group_with_http_info(self, group_id, **kwargs): # noqa: E501 >>> thread = api.fetch_group_with_http_info(group_id, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) - :return: GroupEnvelope + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GroupEnvelope, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -331,17 +367,20 @@ def fetch_groups(self, **kwargs): # noqa: E501 >>> thread = api.fetch_groups(async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: GroupListEnvelope If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.fetch_groups_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.fetch_groups_with_http_info(**kwargs) # noqa: E501 - return data + return self.fetch_groups_with_http_info(**kwargs) # noqa: E501 def fetch_groups_with_http_info(self, **kwargs): # noqa: E501 """Returns all groups # noqa: E501 @@ -351,8 +390,17 @@ def fetch_groups_with_http_info(self, **kwargs): # noqa: E501 >>> thread = api.fetch_groups_with_http_info(async_req=True) >>> result = thread.get() - :param async_req bool - :return: GroupListEnvelope + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GroupListEnvelope, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -417,19 +465,22 @@ def update_group(self, group_id, group_name, **kwargs): # noqa: E501 >>> thread = api.update_group(group_id, group_name, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) :param GroupName group_name: (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: GroupEnvelope If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.update_group_with_http_info(group_id, group_name, **kwargs) # noqa: E501 - else: - (data) = self.update_group_with_http_info(group_id, group_name, **kwargs) # noqa: E501 - return data + return self.update_group_with_http_info(group_id, group_name, **kwargs) # noqa: E501 def update_group_with_http_info(self, group_id, group_name, **kwargs): # noqa: E501 """Updates a group with the provided name # noqa: E501 @@ -439,10 +490,19 @@ def update_group_with_http_info(self, group_id, group_name, **kwargs): # noqa: >>> thread = api.update_group_with_http_info(group_id, group_name, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str group_id: String in UUID format (required) :param GroupName group_name: (required) - :return: GroupEnvelope + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(GroupEnvelope, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ diff --git a/messente_api/api/omnimessage_api.py b/messente_api/api/omnimessage_api.py index 708a036..936a3fb 100644 --- a/messente_api/api/omnimessage_api.py +++ b/messente_api/api/omnimessage_api.py @@ -45,18 +45,21 @@ def cancel_scheduled_message(self, omnimessage_id, **kwargs): # noqa: E501 >>> thread = api.cancel_scheduled_message(omnimessage_id, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str omnimessage_id: UUID of the scheduled omnimessage to be cancelled (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.cancel_scheduled_message_with_http_info(omnimessage_id, **kwargs) # noqa: E501 - else: - (data) = self.cancel_scheduled_message_with_http_info(omnimessage_id, **kwargs) # noqa: E501 - return data + return self.cancel_scheduled_message_with_http_info(omnimessage_id, **kwargs) # noqa: E501 def cancel_scheduled_message_with_http_info(self, omnimessage_id, **kwargs): # noqa: E501 """Cancels a scheduled Omnimessage # noqa: E501 @@ -66,8 +69,17 @@ def cancel_scheduled_message_with_http_info(self, omnimessage_id, **kwargs): # >>> thread = api.cancel_scheduled_message_with_http_info(omnimessage_id, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param str omnimessage_id: UUID of the scheduled omnimessage to be cancelled (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: None If the method is called asynchronously, returns the request thread. @@ -139,18 +151,21 @@ def send_omnimessage(self, omnimessage, **kwargs): # noqa: E501 >>> thread = api.send_omnimessage(omnimessage, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param Omnimessage omnimessage: Omnimessage to be sent (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. :return: OmniMessageCreateSuccessResponse If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.send_omnimessage_with_http_info(omnimessage, **kwargs) # noqa: E501 - else: - (data) = self.send_omnimessage_with_http_info(omnimessage, **kwargs) # noqa: E501 - return data + return self.send_omnimessage_with_http_info(omnimessage, **kwargs) # noqa: E501 def send_omnimessage_with_http_info(self, omnimessage, **kwargs): # noqa: E501 """Sends an Omnimessage # noqa: E501 @@ -160,9 +175,18 @@ def send_omnimessage_with_http_info(self, omnimessage, **kwargs): # noqa: E501 >>> thread = api.send_omnimessage_with_http_info(omnimessage, async_req=True) >>> result = thread.get() - :param async_req bool + :param async_req bool: execute request asynchronously :param Omnimessage omnimessage: Omnimessage to be sent (required) - :return: OmniMessageCreateSuccessResponse + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(OmniMessageCreateSuccessResponse, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ diff --git a/messente_api/api_client.py b/messente_api/api_client.py index b25e9d2..4528822 100644 --- a/messente_api/api_client.py +++ b/messente_api/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.0.3/python' + self.user_agent = 'OpenAPI-Generator/1.0.4/python' def __del__(self): if self._pool: diff --git a/messente_api/configuration.py b/messente_api/configuration.py index 5ba7fe9..44ccef5 100644 --- a/messente_api/configuration.py +++ b/messente_api/configuration.py @@ -28,9 +28,9 @@ def __init__(cls, name, bases, dct): super(TypeWithDefault, cls).__init__(name, bases, dct) cls._default = None - def __call__(cls): + def __call__(cls, **kwargs): if cls._default is None: - cls._default = type.__call__(cls) + cls._default = type.__call__(cls, **kwargs) return copy.copy(cls._default) def set_default(cls, default): @@ -42,67 +42,97 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): Ref: https://openapi-generator.tech Do not edit the class manually. + + :param host: Base url + :param api_key: Dict to store API key(s) + :param api_key_prefix: Dict to store API prefix (e.g. Bearer) + :param username: Username for HTTP basic authentication + :param password: Password for HTTP basic authentication """ - def __init__(self): - """Constructor""" - # Default Base url - self.host = "https://api.messente.com/v1" - # Temp file folder for downloading files + def __init__(self, host="https://api.messente.com/v1", + api_key={}, api_key_prefix={}, + username="", password=""): + """Constructor + """ + self.host = host + """Default Base url + """ self.temp_folder_path = None - + """Temp file folder for downloading files + """ # Authentication Settings - # dict to store API key(s) - self.api_key = {} - # dict to store API prefix (e.g. Bearer) - self.api_key_prefix = {} - # Username for HTTP basic authentication - self.username = "" - # Password for HTTP basic authentication - self.password = "" - # Logging Settings + self.api_key = api_key + """dict to store API key(s) + """ + self.api_key_prefix = api_key_prefix + """dict to store API prefix (e.g. Bearer) + """ + self.username = username + """Username for HTTP basic authentication + """ + self.password = password + """Password for HTTP basic authentication + """ self.logger = {} + """Logging Settings + """ self.logger["package_logger"] = logging.getLogger("messente_api") self.logger["urllib3_logger"] = logging.getLogger("urllib3") - # Log format self.logger_format = '%(asctime)s %(levelname)s %(message)s' - # Log stream handler + """Log format + """ self.logger_stream_handler = None - # Log file handler + """Log stream handler + """ self.logger_file_handler = None - # Debug file location + """Log file handler + """ self.logger_file = None - # Debug switch + """Debug file location + """ self.debug = False + """Debug switch + """ - # SSL/TLS verification - # Set this to false to skip verifying SSL certificate when calling API - # from https server. self.verify_ssl = True - # Set this to customize the certificate file to verify the peer. + """SSL/TLS verification + Set this to false to skip verifying SSL certificate when calling API + from https server. + """ self.ssl_ca_cert = None - # client certificate file + """Set this to customize the certificate file to verify the peer. + """ self.cert_file = None - # client key file + """client certificate file + """ self.key_file = None - # Set this to True/False to enable/disable SSL hostname verification. + """client key file + """ self.assert_hostname = None + """Set this to True/False to enable/disable SSL hostname verification. + """ - # urllib3 connection pool's maximum number of connections saved - # per pool. urllib3 uses 1 connection as default value, but this is - # not the best value when you are making a lot of possibly parallel - # requests to the same host, which is often the case here. - # cpu_count * 5 is used as default value to increase performance. self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 + """urllib3 connection pool's maximum number of connections saved + per pool. urllib3 uses 1 connection as default value, but this is + not the best value when you are making a lot of possibly parallel + requests to the same host, which is often the case here. + cpu_count * 5 is used as default value to increase performance. + """ - # Proxy URL self.proxy = None - # Proxy headers + """Proxy URL + """ self.proxy_headers = None - # Safe chars for path_param + """Proxy headers + """ self.safe_chars_for_path_param = '' - # Adding retries to override urllib3 default value 3 + """Safe chars for path_param + """ self.retries = None + """Adding retries to override urllib3 default value 3 + """ @property def logger_file(self): @@ -234,7 +264,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.2\n"\ - "SDK Package Version: 1.0.3".\ + "SDK Package Version: 1.0.4".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index 0afb52f..293f75e 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "messente-api" -VERSION = "1.0.3" +VERSION = "1.0.4" # To install the library, run the following # # python setup.py install diff --git a/test/__init__.py b/test/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/test/test_blacklist_api.py b/test/test_blacklist_api.py deleted file mode 100644 index a6386e0..0000000 --- a/test/test_blacklist_api.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.api.blacklist_api import BlacklistApi # noqa: E501 -from messente_api.rest import ApiException - - -class TestBlacklistApi(unittest.TestCase): - """BlacklistApi unit test stubs""" - - def setUp(self): - self.api = messente_api.api.blacklist_api.BlacklistApi() # noqa: E501 - - def tearDown(self): - pass - - def test_add_to_blacklist(self): - """Test case for add_to_blacklist - - Adds a phone number to the blacklist # noqa: E501 - """ - pass - - def test_delete_from_blacklist(self): - """Test case for delete_from_blacklist - - Deletes a phone number from the blacklist # noqa: E501 - """ - pass - - def test_fetch_blacklist(self): - """Test case for fetch_blacklist - - Returns all blacklisted phone numbers # noqa: E501 - """ - pass - - def test_is_blacklisted(self): - """Test case for is_blacklisted - - Checks if a phone number is blacklisted # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_channel.py b/test/test_channel.py deleted file mode 100644 index 31efecf..0000000 --- a/test/test_channel.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.channel import Channel # noqa: E501 -from messente_api.rest import ApiException - - -class TestChannel(unittest.TestCase): - """Channel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannel(self): - """Test Channel""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.channel.Channel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_contact_envelope.py b/test/test_contact_envelope.py deleted file mode 100644 index 67007e5..0000000 --- a/test/test_contact_envelope.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.contact_envelope import ContactEnvelope # noqa: E501 -from messente_api.rest import ApiException - - -class TestContactEnvelope(unittest.TestCase): - """ContactEnvelope unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testContactEnvelope(self): - """Test ContactEnvelope""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.contact_envelope.ContactEnvelope() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_contact_fields.py b/test/test_contact_fields.py deleted file mode 100644 index 0a910ae..0000000 --- a/test/test_contact_fields.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.contact_fields import ContactFields # noqa: E501 -from messente_api.rest import ApiException - - -class TestContactFields(unittest.TestCase): - """ContactFields unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testContactFields(self): - """Test ContactFields""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.contact_fields.ContactFields() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_contact_list_envelope.py b/test/test_contact_list_envelope.py deleted file mode 100644 index 773a162..0000000 --- a/test/test_contact_list_envelope.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.contact_list_envelope import ContactListEnvelope # noqa: E501 -from messente_api.rest import ApiException - - -class TestContactListEnvelope(unittest.TestCase): - """ContactListEnvelope unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testContactListEnvelope(self): - """Test ContactListEnvelope""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.contact_list_envelope.ContactListEnvelope() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_contact_update_fields.py b/test/test_contact_update_fields.py deleted file mode 100644 index 93c9016..0000000 --- a/test/test_contact_update_fields.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.contact_update_fields import ContactUpdateFields # noqa: E501 -from messente_api.rest import ApiException - - -class TestContactUpdateFields(unittest.TestCase): - """ContactUpdateFields unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testContactUpdateFields(self): - """Test ContactUpdateFields""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.contact_update_fields.ContactUpdateFields() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_contacts_api.py b/test/test_contacts_api.py deleted file mode 100644 index 58d248f..0000000 --- a/test/test_contacts_api.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.api.contacts_api import ContactsApi # noqa: E501 -from messente_api.rest import ApiException - - -class TestContactsApi(unittest.TestCase): - """ContactsApi unit test stubs""" - - def setUp(self): - self.api = messente_api.api.contacts_api.ContactsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_add_contact_to_group(self): - """Test case for add_contact_to_group - - Adds a contact to a group # noqa: E501 - """ - pass - - def test_create_contact(self): - """Test case for create_contact - - Creates a new contact # noqa: E501 - """ - pass - - def test_delete_contact(self): - """Test case for delete_contact - - Deletes a contact # noqa: E501 - """ - pass - - def test_fetch_contact(self): - """Test case for fetch_contact - - Lists a contact # noqa: E501 - """ - pass - - def test_fetch_contact_groups(self): - """Test case for fetch_contact_groups - - Lists groups of a contact # noqa: E501 - """ - pass - - def test_fetch_contacts(self): - """Test case for fetch_contacts - - Returns all contacts # noqa: E501 - """ - pass - - def test_remove_contact_from_group(self): - """Test case for remove_contact_from_group - - Removes a contact from a group # noqa: E501 - """ - pass - - def test_update_contact(self): - """Test case for update_contact - - Updates a contact # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_delivery_report_api.py b/test/test_delivery_report_api.py deleted file mode 100644 index 5ccfbf1..0000000 --- a/test/test_delivery_report_api.py +++ /dev/null @@ -1,41 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.api.delivery_report_api import DeliveryReportApi # noqa: E501 -from messente_api.rest import ApiException - - -class TestDeliveryReportApi(unittest.TestCase): - """DeliveryReportApi unit test stubs""" - - def setUp(self): - self.api = messente_api.api.delivery_report_api.DeliveryReportApi() # noqa: E501 - - def tearDown(self): - pass - - def test_retrieve_delivery_report(self): - """Test case for retrieve_delivery_report - - Retrieves the delivery report for the Omnimessage # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_delivery_report_response.py b/test/test_delivery_report_response.py deleted file mode 100644 index b4c004d..0000000 --- a/test/test_delivery_report_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.delivery_report_response import DeliveryReportResponse # noqa: E501 -from messente_api.rest import ApiException - - -class TestDeliveryReportResponse(unittest.TestCase): - """DeliveryReportResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDeliveryReportResponse(self): - """Test DeliveryReportResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.delivery_report_response.DeliveryReportResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_delivery_result.py b/test/test_delivery_result.py deleted file mode 100644 index 2ddc1ad..0000000 --- a/test/test_delivery_result.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.delivery_result import DeliveryResult # noqa: E501 -from messente_api.rest import ApiException - - -class TestDeliveryResult(unittest.TestCase): - """DeliveryResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDeliveryResult(self): - """Test DeliveryResult""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.delivery_result.DeliveryResult() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_code_omnichannel.py b/test/test_error_code_omnichannel.py deleted file mode 100644 index 849f4eb..0000000 --- a/test/test_error_code_omnichannel.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.error_code_omnichannel import ErrorCodeOmnichannel # noqa: E501 -from messente_api.rest import ApiException - - -class TestErrorCodeOmnichannel(unittest.TestCase): - """ErrorCodeOmnichannel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorCodeOmnichannel(self): - """Test ErrorCodeOmnichannel""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.error_code_omnichannel.ErrorCodeOmnichannel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_code_omnichannel_machine.py b/test/test_error_code_omnichannel_machine.py deleted file mode 100644 index 4d9123d..0000000 --- a/test/test_error_code_omnichannel_machine.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.error_code_omnichannel_machine import ErrorCodeOmnichannelMachine # noqa: E501 -from messente_api.rest import ApiException - - -class TestErrorCodeOmnichannelMachine(unittest.TestCase): - """ErrorCodeOmnichannelMachine unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorCodeOmnichannelMachine(self): - """Test ErrorCodeOmnichannelMachine""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.error_code_omnichannel_machine.ErrorCodeOmnichannelMachine() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_code_phonebook.py b/test/test_error_code_phonebook.py deleted file mode 100644 index fb3f7f9..0000000 --- a/test/test_error_code_phonebook.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.error_code_phonebook import ErrorCodePhonebook # noqa: E501 -from messente_api.rest import ApiException - - -class TestErrorCodePhonebook(unittest.TestCase): - """ErrorCodePhonebook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorCodePhonebook(self): - """Test ErrorCodePhonebook""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.error_code_phonebook.ErrorCodePhonebook() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_item_omnichannel.py b/test/test_error_item_omnichannel.py deleted file mode 100644 index 77519ed..0000000 --- a/test/test_error_item_omnichannel.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.error_item_omnichannel import ErrorItemOmnichannel # noqa: E501 -from messente_api.rest import ApiException - - -class TestErrorItemOmnichannel(unittest.TestCase): - """ErrorItemOmnichannel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorItemOmnichannel(self): - """Test ErrorItemOmnichannel""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.error_item_omnichannel.ErrorItemOmnichannel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_item_phonebook.py b/test/test_error_item_phonebook.py deleted file mode 100644 index 186766b..0000000 --- a/test/test_error_item_phonebook.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.error_item_phonebook import ErrorItemPhonebook # noqa: E501 -from messente_api.rest import ApiException - - -class TestErrorItemPhonebook(unittest.TestCase): - """ErrorItemPhonebook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorItemPhonebook(self): - """Test ErrorItemPhonebook""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.error_item_phonebook.ErrorItemPhonebook() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_omnichannel.py b/test/test_error_omnichannel.py deleted file mode 100644 index 4618e53..0000000 --- a/test/test_error_omnichannel.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.error_omnichannel import ErrorOmnichannel # noqa: E501 -from messente_api.rest import ApiException - - -class TestErrorOmnichannel(unittest.TestCase): - """ErrorOmnichannel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorOmnichannel(self): - """Test ErrorOmnichannel""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.error_omnichannel.ErrorOmnichannel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_phonebook.py b/test/test_error_phonebook.py deleted file mode 100644 index 05eadd4..0000000 --- a/test/test_error_phonebook.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.error_phonebook import ErrorPhonebook # noqa: E501 -from messente_api.rest import ApiException - - -class TestErrorPhonebook(unittest.TestCase): - """ErrorPhonebook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorPhonebook(self): - """Test ErrorPhonebook""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.error_phonebook.ErrorPhonebook() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_title_omnichannel.py b/test/test_error_title_omnichannel.py deleted file mode 100644 index f89ea7b..0000000 --- a/test/test_error_title_omnichannel.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.error_title_omnichannel import ErrorTitleOmnichannel # noqa: E501 -from messente_api.rest import ApiException - - -class TestErrorTitleOmnichannel(unittest.TestCase): - """ErrorTitleOmnichannel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorTitleOmnichannel(self): - """Test ErrorTitleOmnichannel""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.error_title_omnichannel.ErrorTitleOmnichannel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_title_phonebook.py b/test/test_error_title_phonebook.py deleted file mode 100644 index 240cbd7..0000000 --- a/test/test_error_title_phonebook.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.error_title_phonebook import ErrorTitlePhonebook # noqa: E501 -from messente_api.rest import ApiException - - -class TestErrorTitlePhonebook(unittest.TestCase): - """ErrorTitlePhonebook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorTitlePhonebook(self): - """Test ErrorTitlePhonebook""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.error_title_phonebook.ErrorTitlePhonebook() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_fetch_blacklist_success.py b/test/test_fetch_blacklist_success.py deleted file mode 100644 index d2c6931..0000000 --- a/test/test_fetch_blacklist_success.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.fetch_blacklist_success import FetchBlacklistSuccess # noqa: E501 -from messente_api.rest import ApiException - - -class TestFetchBlacklistSuccess(unittest.TestCase): - """FetchBlacklistSuccess unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFetchBlacklistSuccess(self): - """Test FetchBlacklistSuccess""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.fetch_blacklist_success.FetchBlacklistSuccess() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_group_envelope.py b/test/test_group_envelope.py deleted file mode 100644 index cb10e1f..0000000 --- a/test/test_group_envelope.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.group_envelope import GroupEnvelope # noqa: E501 -from messente_api.rest import ApiException - - -class TestGroupEnvelope(unittest.TestCase): - """GroupEnvelope unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGroupEnvelope(self): - """Test GroupEnvelope""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.group_envelope.GroupEnvelope() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_group_list_envelope.py b/test/test_group_list_envelope.py deleted file mode 100644 index 3ee156f..0000000 --- a/test/test_group_list_envelope.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.group_list_envelope import GroupListEnvelope # noqa: E501 -from messente_api.rest import ApiException - - -class TestGroupListEnvelope(unittest.TestCase): - """GroupListEnvelope unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGroupListEnvelope(self): - """Test GroupListEnvelope""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.group_list_envelope.GroupListEnvelope() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_group_name.py b/test/test_group_name.py deleted file mode 100644 index 94a4e47..0000000 --- a/test/test_group_name.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.group_name import GroupName # noqa: E501 -from messente_api.rest import ApiException - - -class TestGroupName(unittest.TestCase): - """GroupName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGroupName(self): - """Test GroupName""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.group_name.GroupName() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_group_response_fields.py b/test/test_group_response_fields.py deleted file mode 100644 index 4c53725..0000000 --- a/test/test_group_response_fields.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.group_response_fields import GroupResponseFields # noqa: E501 -from messente_api.rest import ApiException - - -class TestGroupResponseFields(unittest.TestCase): - """GroupResponseFields unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGroupResponseFields(self): - """Test GroupResponseFields""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.group_response_fields.GroupResponseFields() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_groups_api.py b/test/test_groups_api.py deleted file mode 100644 index b86ecb2..0000000 --- a/test/test_groups_api.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.api.groups_api import GroupsApi # noqa: E501 -from messente_api.rest import ApiException - - -class TestGroupsApi(unittest.TestCase): - """GroupsApi unit test stubs""" - - def setUp(self): - self.api = messente_api.api.groups_api.GroupsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_group(self): - """Test case for create_group - - Creates a new group with the provided name # noqa: E501 - """ - pass - - def test_delete_group(self): - """Test case for delete_group - - Deletes a group # noqa: E501 - """ - pass - - def test_fetch_group(self): - """Test case for fetch_group - - Lists a group # noqa: E501 - """ - pass - - def test_fetch_groups(self): - """Test case for fetch_groups - - Returns all groups # noqa: E501 - """ - pass - - def test_update_group(self): - """Test case for update_group - - Updates a group with the provided name # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_result.py b/test/test_message_result.py deleted file mode 100644 index f7d7982..0000000 --- a/test/test_message_result.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.message_result import MessageResult # noqa: E501 -from messente_api.rest import ApiException - - -class TestMessageResult(unittest.TestCase): - """MessageResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMessageResult(self): - """Test MessageResult""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.message_result.MessageResult() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_number_to_blacklist.py b/test/test_number_to_blacklist.py deleted file mode 100644 index 5de59bc..0000000 --- a/test/test_number_to_blacklist.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.number_to_blacklist import NumberToBlacklist # noqa: E501 -from messente_api.rest import ApiException - - -class TestNumberToBlacklist(unittest.TestCase): - """NumberToBlacklist unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNumberToBlacklist(self): - """Test NumberToBlacklist""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.number_to_blacklist.NumberToBlacklist() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_omni_message_create_success_response.py b/test/test_omni_message_create_success_response.py deleted file mode 100644 index 866c84d..0000000 --- a/test/test_omni_message_create_success_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.omni_message_create_success_response import OmniMessageCreateSuccessResponse # noqa: E501 -from messente_api.rest import ApiException - - -class TestOmniMessageCreateSuccessResponse(unittest.TestCase): - """OmniMessageCreateSuccessResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOmniMessageCreateSuccessResponse(self): - """Test OmniMessageCreateSuccessResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.omni_message_create_success_response.OmniMessageCreateSuccessResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_omnimessage.py b/test/test_omnimessage.py deleted file mode 100644 index e88ad2d..0000000 --- a/test/test_omnimessage.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.omnimessage import Omnimessage # noqa: E501 -from messente_api.rest import ApiException - - -class TestOmnimessage(unittest.TestCase): - """Omnimessage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOmnimessage(self): - """Test Omnimessage""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.omnimessage.Omnimessage() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_omnimessage_api.py b/test/test_omnimessage_api.py deleted file mode 100644 index 687b0e3..0000000 --- a/test/test_omnimessage_api.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.api.omnimessage_api import OmnimessageApi # noqa: E501 -from messente_api.rest import ApiException - - -class TestOmnimessageApi(unittest.TestCase): - """OmnimessageApi unit test stubs""" - - def setUp(self): - self.api = messente_api.api.omnimessage_api.OmnimessageApi() # noqa: E501 - - def tearDown(self): - pass - - def test_cancel_scheduled_message(self): - """Test case for cancel_scheduled_message - - Cancels a scheduled Omnimessage # noqa: E501 - """ - pass - - def test_send_omnimessage(self): - """Test case for send_omnimessage - - Sends an Omnimessage # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_sms.py b/test/test_sms.py deleted file mode 100644 index e9b38eb..0000000 --- a/test/test_sms.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.sms import SMS # noqa: E501 -from messente_api.rest import ApiException - - -class TestSMS(unittest.TestCase): - """SMS unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSMS(self): - """Test SMS""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.sms.SMS() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_status.py b/test/test_status.py deleted file mode 100644 index 17c193e..0000000 --- a/test/test_status.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.status import Status # noqa: E501 -from messente_api.rest import ApiException - - -class TestStatus(unittest.TestCase): - """Status unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatus(self): - """Test Status""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.status.Status() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_text_store.py b/test/test_text_store.py deleted file mode 100644 index 3ef1671..0000000 --- a/test/test_text_store.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.text_store import TextStore # noqa: E501 -from messente_api.rest import ApiException - - -class TestTextStore(unittest.TestCase): - """TextStore unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTextStore(self): - """Test TextStore""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.text_store.TextStore() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_viber.py b/test/test_viber.py deleted file mode 100644 index d6befeb..0000000 --- a/test/test_viber.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.viber import Viber # noqa: E501 -from messente_api.rest import ApiException - - -class TestViber(unittest.TestCase): - """Viber unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testViber(self): - """Test Viber""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.viber.Viber() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_whats_app.py b/test/test_whats_app.py deleted file mode 100644 index 330137c..0000000 --- a/test/test_whats_app.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.whats_app import WhatsApp # noqa: E501 -from messente_api.rest import ApiException - - -class TestWhatsApp(unittest.TestCase): - """WhatsApp unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWhatsApp(self): - """Test WhatsApp""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.whats_app.WhatsApp() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_whats_app_audio.py b/test/test_whats_app_audio.py deleted file mode 100644 index 0855246..0000000 --- a/test/test_whats_app_audio.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.whats_app_audio import WhatsAppAudio # noqa: E501 -from messente_api.rest import ApiException - - -class TestWhatsAppAudio(unittest.TestCase): - """WhatsAppAudio unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWhatsAppAudio(self): - """Test WhatsAppAudio""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.whats_app_audio.WhatsAppAudio() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_whats_app_document.py b/test/test_whats_app_document.py deleted file mode 100644 index f4def7a..0000000 --- a/test/test_whats_app_document.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.whats_app_document import WhatsAppDocument # noqa: E501 -from messente_api.rest import ApiException - - -class TestWhatsAppDocument(unittest.TestCase): - """WhatsAppDocument unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWhatsAppDocument(self): - """Test WhatsAppDocument""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.whats_app_document.WhatsAppDocument() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_whats_app_image.py b/test/test_whats_app_image.py deleted file mode 100644 index 664ba9c..0000000 --- a/test/test_whats_app_image.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.whats_app_image import WhatsAppImage # noqa: E501 -from messente_api.rest import ApiException - - -class TestWhatsAppImage(unittest.TestCase): - """WhatsAppImage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWhatsAppImage(self): - """Test WhatsAppImage""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.whats_app_image.WhatsAppImage() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_whats_app_text.py b/test/test_whats_app_text.py deleted file mode 100644 index 50f93c2..0000000 --- a/test/test_whats_app_text.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Messente API - - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - - The version of the OpenAPI document: 1.0.2 - Contact: messente@messente.com - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import messente_api -from messente_api.models.whats_app_text import WhatsAppText # noqa: E501 -from messente_api.rest import ApiException - - -class TestWhatsAppText(unittest.TestCase): - """WhatsAppText unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testWhatsAppText(self): - """Test WhatsAppText""" - # FIXME: construct object with mandatory attributes with example values - # model = messente_api.models.whats_app_text.WhatsAppText() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main()