diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 3c380aa..fd847a9 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -127,6 +127,8 @@ docs/Say.md docs/SayAllOf.md docs/SendDigits.md docs/SendDigitsAllOf.md +docs/SetDTMFPassThrough.md +docs/SetDTMFPassThroughAllOf.md docs/SetListen.md docs/SetListenAllOf.md docs/SetTalk.md @@ -267,6 +269,8 @@ freeclimb/model/say.py freeclimb/model/say_all_of.py freeclimb/model/send_digits.py freeclimb/model/send_digits_all_of.py +freeclimb/model/set_dtmf_pass_through.py +freeclimb/model/set_dtmf_pass_through_all_of.py freeclimb/model/set_listen.py freeclimb/model/set_listen_all_of.py freeclimb/model/set_talk.py @@ -305,4 +309,6 @@ requirements.txt setup.cfg setup.py test/__init__.py +test/test_set_dtmf_pass_through.py +test/test_set_dtmf_pass_through_all_of.py tox.ini diff --git a/README.md b/README.md index 05d98ce..d757bc7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 4.8.0 +- Package version: 4.9.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/) @@ -315,6 +315,8 @@ Class | Method | HTTP request | Description - [SayAllOf](docs/SayAllOf.md) - [SendDigits](docs/SendDigits.md) - [SendDigitsAllOf](docs/SendDigitsAllOf.md) + - [SetDTMFPassThrough](docs/SetDTMFPassThrough.md) + - [SetDTMFPassThroughAllOf](docs/SetDTMFPassThroughAllOf.md) - [SetListen](docs/SetListen.md) - [SetListenAllOf](docs/SetListenAllOf.md) - [SetTalk](docs/SetTalk.md) diff --git a/docs/AddToConference.md b/docs/AddToConference.md index 33ba1e7..f51dbe4 100644 --- a/docs/AddToConference.md +++ b/docs/AddToConference.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **notification_url** | **str** | When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters. | [optional] **start_conf_on_enter** | **bool** | Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants. | [optional] **talk** | **bool** | If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. | [optional] +**dtmf_pass_through** | **bool** | If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. | [optional] **command** | **str** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AddToConferenceAllOf.md b/docs/AddToConferenceAllOf.md index c9cf1a7..64e9c6d 100644 --- a/docs/AddToConferenceAllOf.md +++ b/docs/AddToConferenceAllOf.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **notification_url** | **str** | When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters. | [optional] **start_conf_on_enter** | **bool** | Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants. | [optional] **talk** | **bool** | If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. | [optional] +**dtmf_pass_through** | **bool** | If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CallResult.md b/docs/CallResult.md index e7a3930..0f8f5f3 100644 --- a/docs/CallResult.md +++ b/docs/CallResult.md @@ -22,6 +22,7 @@ Name | Type | Description | Notes **direction** | [**CallDirection**](CallDirection.md) | | [optional] **answered_by** | [**AnsweredBy**](AnsweredBy.md) | | [optional] **subresource_uris** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional] +**application_id** | **str, none_type** | ApplicationId associated with the Call. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CallResultAllOf.md b/docs/CallResultAllOf.md index abe3f21..788b3f7 100644 --- a/docs/CallResultAllOf.md +++ b/docs/CallResultAllOf.md @@ -18,6 +18,7 @@ Name | Type | Description | Notes **direction** | [**CallDirection**](CallDirection.md) | | [optional] **answered_by** | [**AnsweredBy**](AnsweredBy.md) | | [optional] **subresource_uris** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional] +**application_id** | **str, none_type** | ApplicationId associated with the Call. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ConferenceParticipantResult.md b/docs/ConferenceParticipantResult.md index e9260b7..545f1a7 100644 --- a/docs/ConferenceParticipantResult.md +++ b/docs/ConferenceParticipantResult.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **call_id** | **str, none_type** | ID of the Call associated with this Participant. | [optional] **talk** | **bool, none_type** | True if this Participant has talk privileges in the Conference. False otherwise. | [optional] **listen** | **bool, none_type** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] +**dtmf_pass_through** | **bool, none_type** | True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise. | [optional] **start_conf_on_enter** | **bool, none_type** | True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ConferenceParticipantResultAllOf.md b/docs/ConferenceParticipantResultAllOf.md index 4a37b47..4e04f8d 100644 --- a/docs/ConferenceParticipantResultAllOf.md +++ b/docs/ConferenceParticipantResultAllOf.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **call_id** | **str, none_type** | ID of the Call associated with this Participant. | [optional] **talk** | **bool, none_type** | True if this Participant has talk privileges in the Conference. False otherwise. | [optional] **listen** | **bool, none_type** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] +**dtmf_pass_through** | **bool, none_type** | True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise. | [optional] **start_conf_on_enter** | **bool, none_type** | True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 3d9ff56..955cc07 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -3555,6 +3555,7 @@ with freeclimb.ApiClient(configuration) as api_client: conference_id = "conferenceId_example" # str | ID of the conference this participant is in. talk = True # bool | Only show Participants with the talk privilege. (optional) listen = True # bool | Only show Participants with the listen privilege. (optional) + dtmf_pass_through = True # bool | Only show Participants with the dtmfPassThrough privilege. (optional) # example passing only required values which don't have defaults set try: @@ -3568,7 +3569,7 @@ with freeclimb.ApiClient(configuration) as api_client: # and optional values try: # List Participants - api_response = api_instance.list_participants(conference_id, talk=talk, listen=listen) + api_response = api_instance.list_participants(conference_id, talk=talk, listen=listen, dtmf_pass_through=dtmf_pass_through) pprint(api_response) except freeclimb.ApiException as e: print("Exception when calling DefaultApi->list_participants: %s\n" % e) @@ -3582,6 +3583,7 @@ Name | Type | Description | Notes **conference_id** | **str**| ID of the conference this participant is in. | **talk** | **bool**| Only show Participants with the talk privilege. | [optional] **listen** | **bool**| Only show Participants with the listen privilege. | [optional] + **dtmf_pass_through** | **bool**| Only show Participants with the dtmfPassThrough privilege. | [optional] ### Return type @@ -4419,6 +4421,7 @@ with freeclimb.ApiClient(configuration) as api_client: update_conference_participant_request = UpdateConferenceParticipantRequest( talk=True, listen=True, + dtmf_pass_through=True, ) # UpdateConferenceParticipantRequest | Conference participant details to update (optional) # example passing only required values which don't have defaults set diff --git a/docs/MessageRequest.md b/docs/MessageRequest.md index c1c118e..9c07aa8 100644 --- a/docs/MessageRequest.md +++ b/docs/MessageRequest.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **date_updated** | **str** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **revision** | **int** | Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated. | [optional] **notification_url** | **str** | When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored. | [optional] -**media_urls** | **[str]** | an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile. | [optional] +**media_urls** | **[str], none_type** | an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MessageRequestAllOf.md b/docs/MessageRequestAllOf.md index c3cfd59..ee8d9c1 100644 --- a/docs/MessageRequestAllOf.md +++ b/docs/MessageRequestAllOf.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **to** | **str** | Phone number to receive the message. Must be within FreeClimb's service area. | **text** | **str** | Text contained in the message (maximum 160 characters). **Note:** For text, only ASCII characters are supported. | **notification_url** | **str** | When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored. | [optional] -**media_urls** | **[str]** | an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile. | [optional] +**media_urls** | **[str], none_type** | an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MessageResult.md b/docs/MessageResult.md index 96bd192..1e48f3d 100644 --- a/docs/MessageResult.md +++ b/docs/MessageResult.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **brand_id** | **str, none_type** | The unique identifier for the brand associated with the message | [optional] **campaign_id** | **str, none_type** | The unique identifier for the campaign associated with the message | [optional] **segment_count** | **float, none_type** | The number of segments into which the message was split | [optional] -**media_urls** | **[str]** | an array of HTTP URLs which were attached this this message | [optional] +**media_urls** | **[str], none_type** | an array of HTTP URLs which were attached this this message | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MessageResultAllOf.md b/docs/MessageResultAllOf.md index 592e204..287f621 100644 --- a/docs/MessageResultAllOf.md +++ b/docs/MessageResultAllOf.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **brand_id** | **str, none_type** | The unique identifier for the brand associated with the message | [optional] **campaign_id** | **str, none_type** | The unique identifier for the campaign associated with the message | [optional] **segment_count** | **float, none_type** | The number of segments into which the message was split | [optional] -**media_urls** | **[str]** | an array of HTTP URLs which were attached this this message | [optional] +**media_urls** | **[str], none_type** | an array of HTTP URLs which were attached this this message | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SetDTMFPassThrough.md b/docs/SetDTMFPassThrough.md new file mode 100644 index 0000000..284b13e --- /dev/null +++ b/docs/SetDTMFPassThrough.md @@ -0,0 +1,12 @@ +# SetDTMFPassThrough + +The `SetDTMFPassThrough` command enables or disables the dtmfPassThrough privilege for this Conference Participant. If 'true', DTMFs will be passed through from this Participant to all other Participants in the Conference +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dtmf_pass_through** | **bool** | Specifying `false` mutes the Participant's dtmf audio. | [optional] +**command** | **str** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SetDTMFPassThroughAllOf.md b/docs/SetDTMFPassThroughAllOf.md new file mode 100644 index 0000000..0ef49a5 --- /dev/null +++ b/docs/SetDTMFPassThroughAllOf.md @@ -0,0 +1,10 @@ +# SetDTMFPassThroughAllOf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dtmf_pass_through** | **bool** | Specifying `false` mutes the Participant's dtmf audio. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SetListen.md b/docs/SetListen.md index 9c29a09..6bc02d9 100644 --- a/docs/SetListen.md +++ b/docs/SetListen.md @@ -1,6 +1,6 @@ # SetListen -The `SetListen` command enables or disables the listen privilege for a Conference Participant provided both calls are in the same conference. The Participant can hear what the other participants are saying only if this privilege is enabled. +The `SetListen` command enables or disables the listen privilege for this Conference Participant. The Participant can hear what the other participants are saying only if this privilege is enabled. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/SetTalk.md b/docs/SetTalk.md index ce1586e..d3d45d9 100644 --- a/docs/SetTalk.md +++ b/docs/SetTalk.md @@ -1,6 +1,6 @@ # SetTalk -The `SetTalk` command enables or disables the talk privilege for a Participant in a Conference provided both calls are in the same conference. If 'true', no audio from that Participant is shared with the other Participants of the Conference. +The `SetTalk` command enables or disables the talk privilege for this Conference Participant. If 'true', no audio from that Participant is shared with the other Participants of the Conference. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/docs/UpdateConferenceParticipantRequest.md b/docs/UpdateConferenceParticipantRequest.md index c4aac3d..d098109 100644 --- a/docs/UpdateConferenceParticipantRequest.md +++ b/docs/UpdateConferenceParticipantRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **talk** | **bool** | (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value. | [optional] **listen** | **bool** | (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value. | [optional] +**dtmf_pass_through** | **bool** | (Optional) Default is `true`. Setting to `false` mutes dtmf audio for this Participant. FreeClimb returns an error and ignores any other value. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/freeclimb/__init__.py b/freeclimb/__init__.py index c4e2070..b30318c 100644 --- a/freeclimb/__init__.py +++ b/freeclimb/__init__.py @@ -11,7 +11,7 @@ """ -__version__ = "4.8.0" +__version__ = "4.9.0" # import ApiClient from freeclimb.api_client import ApiClient @@ -157,6 +157,8 @@ from freeclimb.model.say_all_of import SayAllOf from freeclimb.model.send_digits import SendDigits from freeclimb.model.send_digits_all_of import SendDigitsAllOf +from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough +from freeclimb.model.set_dtmf_pass_through_all_of import SetDTMFPassThroughAllOf from freeclimb.model.set_listen import SetListen from freeclimb.model.set_listen_all_of import SetListenAllOf from freeclimb.model.set_talk import SetTalk diff --git a/freeclimb/api/default_api.py b/freeclimb/api/default_api.py index dd73fbb..fdd87f3 100644 --- a/freeclimb/api/default_api.py +++ b/freeclimb/api/default_api.py @@ -2667,6 +2667,7 @@ def __init__(self, api_client=None, account_id=None): 'conference_id', 'talk', 'listen', + 'dtmf_pass_through', ], 'required': [ 'account_id', @@ -2693,18 +2694,22 @@ def __init__(self, api_client=None, account_id=None): (bool,), 'listen': (bool,), + 'dtmf_pass_through': + (bool,), }, 'attribute_map': { 'account_id': 'accountId', 'conference_id': 'conferenceId', 'talk': 'talk', 'listen': 'listen', + 'dtmf_pass_through': 'dtmfPassThrough', }, 'location_map': { 'account_id': 'path', 'conference_id': 'path', 'talk': 'query', 'listen': 'query', + 'dtmf_pass_through': 'query', }, 'collection_format_map': { } @@ -7229,6 +7234,7 @@ def list_participants( Keyword Args: talk (bool): Only show Participants with the talk privilege.. [optional] listen (bool): Only show Participants with the listen privilege.. [optional] + dtmf_pass_through (bool): Only show Participants with the dtmfPassThrough privilege.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/freeclimb/api_client.py b/freeclimb/api_client.py index a287930..6cde6c1 100644 --- a/freeclimb/api_client.py +++ b/freeclimb/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/4.8.0/python' + self.user_agent = 'OpenAPI-Generator/4.9.0/python' def __enter__(self): return self diff --git a/freeclimb/configuration.py b/freeclimb/configuration.py index 14d0d1e..92b5e26 100644 --- a/freeclimb/configuration.py +++ b/freeclimb/configuration.py @@ -405,7 +405,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ - "SDK Package Version: 4.8.0".\ + "SDK Package Version: 4.9.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/freeclimb/model/add_to_conference.py b/freeclimb/model/add_to_conference.py index 914015e..15bce32 100644 --- a/freeclimb/model/add_to_conference.py +++ b/freeclimb/model/add_to_conference.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms @@ -149,6 +151,7 @@ def openapi_types(): 'notification_url': (str,), # noqa: E501 'start_conf_on_enter': (bool,), # noqa: E501 'talk': (bool,), # noqa: E501 + 'dtmf_pass_through': (bool,), # noqa: E501 'command': (str,), # noqa: E501 } @@ -167,6 +170,7 @@ def discriminator(): 'notification_url': 'notificationUrl', # noqa: E501 'start_conf_on_enter': 'startConfOnEnter', # noqa: E501 'talk': 'talk', # noqa: E501 + 'dtmf_pass_through': 'dtmfPassThrough', # noqa: E501 'command': 'command', # noqa: E501 } @@ -218,6 +222,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 notification_url (str): When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters.. [optional] # noqa: E501 start_conf_on_enter (bool): Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants.. [optional] # noqa: E501 talk (bool): If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. . [optional] # noqa: E501 + dtmf_pass_through (bool): If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. . [optional] # noqa: E501 command (str): Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments). [optional] # noqa: E501 """ @@ -327,6 +332,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 notification_url (str): When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters.. [optional] # noqa: E501 start_conf_on_enter (bool): Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants.. [optional] # noqa: E501 talk (bool): If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. . [optional] # noqa: E501 + dtmf_pass_through (bool): If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. . [optional] # noqa: E501 command (str): Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments). [optional] # noqa: E501 """ diff --git a/freeclimb/model/add_to_conference_all_of.py b/freeclimb/model/add_to_conference_all_of.py index e0503ff..1d41b87 100644 --- a/freeclimb/model/add_to_conference_all_of.py +++ b/freeclimb/model/add_to_conference_all_of.py @@ -92,6 +92,7 @@ def openapi_types(): 'notification_url': (str,), # noqa: E501 'start_conf_on_enter': (bool,), # noqa: E501 'talk': (bool,), # noqa: E501 + 'dtmf_pass_through': (bool,), # noqa: E501 } @cached_property @@ -109,6 +110,7 @@ def discriminator(): 'notification_url': 'notificationUrl', # noqa: E501 'start_conf_on_enter': 'startConfOnEnter', # noqa: E501 'talk': 'talk', # noqa: E501 + 'dtmf_pass_through': 'dtmfPassThrough', # noqa: E501 } read_only_vars = { @@ -163,6 +165,7 @@ def _from_openapi_data(cls, conference_id, *args, **kwargs): # noqa: E501 notification_url (str): When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters.. [optional] # noqa: E501 start_conf_on_enter (bool): Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants.. [optional] # noqa: E501 talk (bool): If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. . [optional] # noqa: E501 + dtmf_pass_through (bool): If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. . [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -256,6 +259,7 @@ def __init__(self, conference_id, *args, **kwargs): # noqa: E501 notification_url (str): When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters.. [optional] # noqa: E501 start_conf_on_enter (bool): Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants.. [optional] # noqa: E501 talk (bool): If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. . [optional] # noqa: E501 + dtmf_pass_through (bool): If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. . [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/freeclimb/model/call_result.py b/freeclimb/model/call_result.py index d4071d1..2a37937 100644 --- a/freeclimb/model/call_result.py +++ b/freeclimb/model/call_result.py @@ -115,6 +115,7 @@ def openapi_types(): 'direction': (CallDirection,), # noqa: E501 'answered_by': (AnsweredBy,), # noqa: E501 'subresource_uris': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501 + 'application_id': (str, none_type,), # noqa: E501 } @cached_property @@ -142,6 +143,7 @@ def discriminator(): 'direction': 'direction', # noqa: E501 'answered_by': 'answeredBy', # noqa: E501 'subresource_uris': 'subresourceUris', # noqa: E501 + 'application_id': 'applicationId', # noqa: E501 } read_only_vars = { @@ -202,6 +204,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 direction (CallDirection): [optional] # noqa: E501 answered_by (AnsweredBy): [optional] # noqa: E501 subresource_uris ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): The list of subresources for this Call. These include things like logs and recordings associated with the Call.. [optional] # noqa: E501 + application_id (str, none_type): ApplicationId associated with the Call.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -320,6 +323,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 direction (CallDirection): [optional] # noqa: E501 answered_by (AnsweredBy): [optional] # noqa: E501 subresource_uris ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): The list of subresources for this Call. These include things like logs and recordings associated with the Call.. [optional] # noqa: E501 + application_id (str, none_type): ApplicationId associated with the Call.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/freeclimb/model/call_result_all_of.py b/freeclimb/model/call_result_all_of.py index 7ac1a36..d8cd084 100644 --- a/freeclimb/model/call_result_all_of.py +++ b/freeclimb/model/call_result_all_of.py @@ -108,6 +108,7 @@ def openapi_types(): 'direction': (CallDirection,), # noqa: E501 'answered_by': (AnsweredBy,), # noqa: E501 'subresource_uris': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501 + 'application_id': (str, none_type,), # noqa: E501 } @cached_property @@ -131,6 +132,7 @@ def discriminator(): 'direction': 'direction', # noqa: E501 'answered_by': 'answeredBy', # noqa: E501 'subresource_uris': 'subresourceUris', # noqa: E501 + 'application_id': 'applicationId', # noqa: E501 } read_only_vars = { @@ -189,6 +191,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 direction (CallDirection): [optional] # noqa: E501 answered_by (AnsweredBy): [optional] # noqa: E501 subresource_uris ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): The list of subresources for this Call. These include things like logs and recordings associated with the Call.. [optional] # noqa: E501 + application_id (str, none_type): ApplicationId associated with the Call.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -285,6 +288,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 direction (CallDirection): [optional] # noqa: E501 answered_by (AnsweredBy): [optional] # noqa: E501 subresource_uris ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): The list of subresources for this Call. These include things like logs and recordings associated with the Call.. [optional] # noqa: E501 + application_id (str, none_type): ApplicationId associated with the Call.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/freeclimb/model/conference_participant_result.py b/freeclimb/model/conference_participant_result.py index 47106b6..0e6885e 100644 --- a/freeclimb/model/conference_participant_result.py +++ b/freeclimb/model/conference_participant_result.py @@ -99,6 +99,7 @@ def openapi_types(): 'call_id': (str, none_type,), # noqa: E501 'talk': (bool, none_type,), # noqa: E501 'listen': (bool, none_type,), # noqa: E501 + 'dtmf_pass_through': (bool, none_type,), # noqa: E501 'start_conf_on_enter': (bool, none_type,), # noqa: E501 } @@ -117,6 +118,7 @@ def discriminator(): 'call_id': 'callId', # noqa: E501 'talk': 'talk', # noqa: E501 'listen': 'listen', # noqa: E501 + 'dtmf_pass_through': 'dtmfPassThrough', # noqa: E501 'start_conf_on_enter': 'startConfOnEnter', # noqa: E501 } @@ -168,6 +170,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 call_id (str, none_type): ID of the Call associated with this Participant.. [optional] # noqa: E501 talk (bool, none_type): True if this Participant has talk privileges in the Conference. False otherwise.. [optional] # noqa: E501 listen (bool, none_type): True if this Participant has listen privileges in the Conference. False otherwise.. [optional] # noqa: E501 + dtmf_pass_through (bool, none_type): True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise.. [optional] # noqa: E501 start_conf_on_enter (bool, none_type): True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise.. [optional] # noqa: E501 """ @@ -277,6 +280,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 call_id (str, none_type): ID of the Call associated with this Participant.. [optional] # noqa: E501 talk (bool, none_type): True if this Participant has talk privileges in the Conference. False otherwise.. [optional] # noqa: E501 listen (bool, none_type): True if this Participant has listen privileges in the Conference. False otherwise.. [optional] # noqa: E501 + dtmf_pass_through (bool, none_type): True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise.. [optional] # noqa: E501 start_conf_on_enter (bool, none_type): True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise.. [optional] # noqa: E501 """ diff --git a/freeclimb/model/conference_participant_result_all_of.py b/freeclimb/model/conference_participant_result_all_of.py index 77b094d..8c70a9a 100644 --- a/freeclimb/model/conference_participant_result_all_of.py +++ b/freeclimb/model/conference_participant_result_all_of.py @@ -88,6 +88,7 @@ def openapi_types(): 'call_id': (str, none_type,), # noqa: E501 'talk': (bool, none_type,), # noqa: E501 'listen': (bool, none_type,), # noqa: E501 + 'dtmf_pass_through': (bool, none_type,), # noqa: E501 'start_conf_on_enter': (bool, none_type,), # noqa: E501 } @@ -102,6 +103,7 @@ def discriminator(): 'call_id': 'callId', # noqa: E501 'talk': 'talk', # noqa: E501 'listen': 'listen', # noqa: E501 + 'dtmf_pass_through': 'dtmfPassThrough', # noqa: E501 'start_conf_on_enter': 'startConfOnEnter', # noqa: E501 } @@ -151,6 +153,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 call_id (str, none_type): ID of the Call associated with this Participant.. [optional] # noqa: E501 talk (bool, none_type): True if this Participant has talk privileges in the Conference. False otherwise.. [optional] # noqa: E501 listen (bool, none_type): True if this Participant has listen privileges in the Conference. False otherwise.. [optional] # noqa: E501 + dtmf_pass_through (bool, none_type): True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise.. [optional] # noqa: E501 start_conf_on_enter (bool, none_type): True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise.. [optional] # noqa: E501 """ @@ -238,6 +241,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 call_id (str, none_type): ID of the Call associated with this Participant.. [optional] # noqa: E501 talk (bool, none_type): True if this Participant has talk privileges in the Conference. False otherwise.. [optional] # noqa: E501 listen (bool, none_type): True if this Participant has listen privileges in the Conference. False otherwise.. [optional] # noqa: E501 + dtmf_pass_through (bool, none_type): True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise.. [optional] # noqa: E501 start_conf_on_enter (bool, none_type): True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise.. [optional] # noqa: E501 """ diff --git a/freeclimb/model/create_conference.py b/freeclimb/model/create_conference.py index 049c683..db9d7cc 100644 --- a/freeclimb/model/create_conference.py +++ b/freeclimb/model/create_conference.py @@ -53,6 +53,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -81,6 +82,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/dequeue.py b/freeclimb/model/dequeue.py index bf42c61..151508a 100644 --- a/freeclimb/model/dequeue.py +++ b/freeclimb/model/dequeue.py @@ -51,6 +51,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -77,6 +78,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/enqueue.py b/freeclimb/model/enqueue.py index 63a128e..15f6c08 100644 --- a/freeclimb/model/enqueue.py +++ b/freeclimb/model/enqueue.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/get_digits.py b/freeclimb/model/get_digits.py index 8090493..66d5e8b 100644 --- a/freeclimb/model/get_digits.py +++ b/freeclimb/model/get_digits.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/get_speech.py b/freeclimb/model/get_speech.py index 4b6633a..5873c13 100644 --- a/freeclimb/model/get_speech.py +++ b/freeclimb/model/get_speech.py @@ -53,6 +53,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -81,6 +82,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/hangup.py b/freeclimb/model/hangup.py index aa4a141..8ff76d8 100644 --- a/freeclimb/model/hangup.py +++ b/freeclimb/model/hangup.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/message_request.py b/freeclimb/model/message_request.py index 0caba0a..2335af8 100644 --- a/freeclimb/model/message_request.py +++ b/freeclimb/model/message_request.py @@ -98,7 +98,7 @@ def openapi_types(): 'date_updated': (str,), # noqa: E501 'revision': (int,), # noqa: E501 'notification_url': (str,), # noqa: E501 - 'media_urls': ([str],), # noqa: E501 + 'media_urls': ([str], none_type,), # noqa: E501 } @cached_property @@ -165,7 +165,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 date_updated (str): The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT).. [optional] # noqa: E501 revision (int): Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated.. [optional] # noqa: E501 notification_url (str): When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored.. [optional] # noqa: E501 - media_urls ([str]): an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile.. [optional] # noqa: E501 + media_urls ([str], none_type): an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -273,7 +273,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 date_updated (str): The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT).. [optional] # noqa: E501 revision (int): Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated.. [optional] # noqa: E501 notification_url (str): When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored.. [optional] # noqa: E501 - media_urls ([str]): an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile.. [optional] # noqa: E501 + media_urls ([str], none_type): an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/freeclimb/model/message_request_all_of.py b/freeclimb/model/message_request_all_of.py index 60d1cd9..dec48ad 100644 --- a/freeclimb/model/message_request_all_of.py +++ b/freeclimb/model/message_request_all_of.py @@ -87,7 +87,7 @@ def openapi_types(): 'to': (str,), # noqa: E501 'text': (str,), # noqa: E501 'notification_url': (str,), # noqa: E501 - 'media_urls': ([str],), # noqa: E501 + 'media_urls': ([str], none_type,), # noqa: E501 } @cached_property @@ -150,7 +150,7 @@ def _from_openapi_data(cls, _from, to, text, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) notification_url (str): When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored.. [optional] # noqa: E501 - media_urls ([str]): an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile.. [optional] # noqa: E501 + media_urls ([str], none_type): an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -241,7 +241,7 @@ def __init__(self, _from, to, text, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) notification_url (str): When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored.. [optional] # noqa: E501 - media_urls ([str]): an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile.. [optional] # noqa: E501 + media_urls ([str], none_type): an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/freeclimb/model/message_result.py b/freeclimb/model/message_result.py index 3742465..2c5fcc7 100644 --- a/freeclimb/model/message_result.py +++ b/freeclimb/model/message_result.py @@ -107,7 +107,7 @@ def openapi_types(): 'brand_id': (str, none_type,), # noqa: E501 'campaign_id': (str, none_type,), # noqa: E501 'segment_count': (float, none_type,), # noqa: E501 - 'media_urls': ([str],), # noqa: E501 + 'media_urls': ([str], none_type,), # noqa: E501 } @cached_property @@ -188,7 +188,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 brand_id (str, none_type): The unique identifier for the brand associated with the message. [optional] # noqa: E501 campaign_id (str, none_type): The unique identifier for the campaign associated with the message. [optional] # noqa: E501 segment_count (float, none_type): The number of segments into which the message was split. [optional] # noqa: E501 - media_urls ([str]): an array of HTTP URLs which were attached this this message. [optional] # noqa: E501 + media_urls ([str], none_type): an array of HTTP URLs which were attached this this message. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -303,7 +303,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 brand_id (str, none_type): The unique identifier for the brand associated with the message. [optional] # noqa: E501 campaign_id (str, none_type): The unique identifier for the campaign associated with the message. [optional] # noqa: E501 segment_count (float, none_type): The number of segments into which the message was split. [optional] # noqa: E501 - media_urls ([str]): an array of HTTP URLs which were attached this this message. [optional] # noqa: E501 + media_urls ([str], none_type): an array of HTTP URLs which were attached this this message. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/freeclimb/model/message_result_all_of.py b/freeclimb/model/message_result_all_of.py index f48b27e..d3802ad 100644 --- a/freeclimb/model/message_result_all_of.py +++ b/freeclimb/model/message_result_all_of.py @@ -100,7 +100,7 @@ def openapi_types(): 'brand_id': (str, none_type,), # noqa: E501 'campaign_id': (str, none_type,), # noqa: E501 'segment_count': (float, none_type,), # noqa: E501 - 'media_urls': ([str],), # noqa: E501 + 'media_urls': ([str], none_type,), # noqa: E501 } @cached_property @@ -175,7 +175,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 brand_id (str, none_type): The unique identifier for the brand associated with the message. [optional] # noqa: E501 campaign_id (str, none_type): The unique identifier for the campaign associated with the message. [optional] # noqa: E501 segment_count (float, none_type): The number of segments into which the message was split. [optional] # noqa: E501 - media_urls ([str]): an array of HTTP URLs which were attached this this message. [optional] # noqa: E501 + media_urls ([str], none_type): an array of HTTP URLs which were attached this this message. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -268,7 +268,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 brand_id (str, none_type): The unique identifier for the brand associated with the message. [optional] # noqa: E501 campaign_id (str, none_type): The unique identifier for the campaign associated with the message. [optional] # noqa: E501 segment_count (float, none_type): The number of segments into which the message was split. [optional] # noqa: E501 - media_urls ([str]): an array of HTTP URLs which were attached this this message. [optional] # noqa: E501 + media_urls ([str], none_type): an array of HTTP URLs which were attached this this message. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/freeclimb/model/out_dial.py b/freeclimb/model/out_dial.py index 75e291a..58b1590 100644 --- a/freeclimb/model/out_dial.py +++ b/freeclimb/model/out_dial.py @@ -53,6 +53,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -81,6 +82,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/park.py b/freeclimb/model/park.py index 7b28ab1..67a48a8 100644 --- a/freeclimb/model/park.py +++ b/freeclimb/model/park.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/pause.py b/freeclimb/model/pause.py index a9340a8..9bceb97 100644 --- a/freeclimb/model/pause.py +++ b/freeclimb/model/pause.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/percl_command.py b/freeclimb/model/percl_command.py index 19e4b7f..324801e 100644 --- a/freeclimb/model/percl_command.py +++ b/freeclimb/model/percl_command.py @@ -50,6 +50,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -75,6 +76,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms @@ -162,6 +164,7 @@ def discriminator(): 'RemoveFromConference': RemoveFromConference, 'Say': Say, 'SendDigits': SendDigits, + 'SetDTMFPassThrough': SetDTMFPassThrough, 'SetListen': SetListen, 'SetTalk': SetTalk, 'Sms': Sms, diff --git a/freeclimb/model/play.py b/freeclimb/model/play.py index c76bb54..e830fe1 100644 --- a/freeclimb/model/play.py +++ b/freeclimb/model/play.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/play_early_media.py b/freeclimb/model/play_early_media.py index ebd9660..07ca7ff 100644 --- a/freeclimb/model/play_early_media.py +++ b/freeclimb/model/play_early_media.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/record_utterance.py b/freeclimb/model/record_utterance.py index ff27b9b..7e79d31 100644 --- a/freeclimb/model/record_utterance.py +++ b/freeclimb/model/record_utterance.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/redirect.py b/freeclimb/model/redirect.py index 3456ace..6adf854 100644 --- a/freeclimb/model/redirect.py +++ b/freeclimb/model/redirect.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/reject.py b/freeclimb/model/reject.py index 4df3f70..6c61b66 100644 --- a/freeclimb/model/reject.py +++ b/freeclimb/model/reject.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/remove_from_conference.py b/freeclimb/model/remove_from_conference.py index ae3719b..be4b934 100644 --- a/freeclimb/model/remove_from_conference.py +++ b/freeclimb/model/remove_from_conference.py @@ -51,6 +51,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -77,6 +78,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/say.py b/freeclimb/model/say.py index b5f0113..21a1d53 100644 --- a/freeclimb/model/say.py +++ b/freeclimb/model/say.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.say import Say from freeclimb.model.say_all_of import SayAllOf from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['Say'] = Say globals()['SayAllOf'] = SayAllOf globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/send_digits.py b/freeclimb/model/send_digits.py index 2287af8..a643e8c 100644 --- a/freeclimb/model/send_digits.py +++ b/freeclimb/model/send_digits.py @@ -52,6 +52,7 @@ def lazy_import(): from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits from freeclimb.model.send_digits_all_of import SendDigitsAllOf + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['Say'] = Say globals()['SendDigits'] = SendDigits globals()['SendDigitsAllOf'] = SendDigitsAllOf + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/set_dtmf_pass_through.py b/freeclimb/model/set_dtmf_pass_through.py new file mode 100644 index 0000000..739f093 --- /dev/null +++ b/freeclimb/model/set_dtmf_pass_through.py @@ -0,0 +1,379 @@ +""" + FreeClimb API + + FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request. # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Contact: support@freeclimb.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from freeclimb.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from freeclimb.exceptions import ApiAttributeError + + + +def lazy_import(): + from freeclimb.model.add_to_conference import AddToConference + from freeclimb.model.create_conference import CreateConference + from freeclimb.model.dequeue import Dequeue + from freeclimb.model.enqueue import Enqueue + from freeclimb.model.get_digits import GetDigits + from freeclimb.model.get_speech import GetSpeech + from freeclimb.model.hangup import Hangup + from freeclimb.model.out_dial import OutDial + from freeclimb.model.park import Park + from freeclimb.model.pause import Pause + from freeclimb.model.percl_command import PerclCommand + from freeclimb.model.play import Play + from freeclimb.model.play_early_media import PlayEarlyMedia + from freeclimb.model.record_utterance import RecordUtterance + from freeclimb.model.redirect import Redirect + from freeclimb.model.reject import Reject + from freeclimb.model.remove_from_conference import RemoveFromConference + from freeclimb.model.say import Say + from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough + from freeclimb.model.set_dtmf_pass_through_all_of import SetDTMFPassThroughAllOf + from freeclimb.model.set_listen import SetListen + from freeclimb.model.set_talk import SetTalk + from freeclimb.model.sms import Sms + from freeclimb.model.start_record_call import StartRecordCall + from freeclimb.model.terminate_conference import TerminateConference + from freeclimb.model.transcribe_utterance import TranscribeUtterance + from freeclimb.model.unpark import Unpark + globals()['AddToConference'] = AddToConference + globals()['CreateConference'] = CreateConference + globals()['Dequeue'] = Dequeue + globals()['Enqueue'] = Enqueue + globals()['GetDigits'] = GetDigits + globals()['GetSpeech'] = GetSpeech + globals()['Hangup'] = Hangup + globals()['OutDial'] = OutDial + globals()['Park'] = Park + globals()['Pause'] = Pause + globals()['PerclCommand'] = PerclCommand + globals()['Play'] = Play + globals()['PlayEarlyMedia'] = PlayEarlyMedia + globals()['RecordUtterance'] = RecordUtterance + globals()['Redirect'] = Redirect + globals()['Reject'] = Reject + globals()['RemoveFromConference'] = RemoveFromConference + globals()['Say'] = Say + globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough + globals()['SetDTMFPassThroughAllOf'] = SetDTMFPassThroughAllOf + globals()['SetListen'] = SetListen + globals()['SetTalk'] = SetTalk + globals()['Sms'] = Sms + globals()['StartRecordCall'] = StartRecordCall + globals()['TerminateConference'] = TerminateConference + globals()['TranscribeUtterance'] = TranscribeUtterance + globals()['Unpark'] = Unpark + +class SetDTMFPassThrough(ModelComposed): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'dtmf_pass_through': (bool,), # noqa: E501 + 'command': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'dtmf_pass_through': 'dtmfPassThrough', # noqa: E501 + 'command': 'command', # noqa: E501 + } + + read_only_vars = { + } + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """SetDTMFPassThrough - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + dtmf_pass_through (bool): Specifying `false` mutes the Participant's dtmf audio.. [optional] # noqa: E501 + command (str): Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + '_composed_instances', + '_var_name_to_model_instances', + '_additional_properties_model_instances', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """SetDTMFPassThrough - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + dtmf_pass_through (bool): Specifying `false` mutes the Participant's dtmf audio.. [optional] # noqa: E501 + command (str): Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments). [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + constant_args = { + '_check_type': _check_type, + '_path_to_item': _path_to_item, + '_spec_property_naming': _spec_property_naming, + '_configuration': _configuration, + '_visited_composed_classes': self._visited_composed_classes, + } + composed_info = validate_get_composed_info( + constant_args, kwargs, self) + self._composed_instances = composed_info[0] + self._var_name_to_model_instances = composed_info[1] + self._additional_properties_model_instances = composed_info[2] + discarded_args = composed_info[3] + + for var_name, var_value in kwargs.items(): + if var_name in discarded_args and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self._additional_properties_model_instances: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") + + @cached_property + def command(): + mappings = PerclCommand.discriminator['command'] + mapping = next((mapping for mapping,schema in mappings.items() if schema == SetDTMFPassThrough), None) + if mapping == None: + raise ApiAttributeError("{0} has no mapping '{1}'".format(SetDTMFPassThrough.__class__.name, 'command')) + return mapping + + @cached_property + def _composed_schemas(): + # we need this here to make our import statements work + # we must store _composed_schemas in here so the code is only run + # when we invoke this method. If we kept this at the class + # level we would get an error because the class level + # code would be run when this module is imported, and these composed + # classes don't exist yet because their module has not finished + # loading + lazy_import() + return { + 'anyOf': [ + ], + 'allOf': [ + PerclCommand, + SetDTMFPassThroughAllOf, + ], + 'oneOf': [ + ], + } diff --git a/freeclimb/model/set_dtmf_pass_through_all_of.py b/freeclimb/model/set_dtmf_pass_through_all_of.py new file mode 100644 index 0000000..c4b0800 --- /dev/null +++ b/freeclimb/model/set_dtmf_pass_through_all_of.py @@ -0,0 +1,259 @@ +""" + FreeClimb API + + FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request. # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Contact: support@freeclimb.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from freeclimb.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from freeclimb.exceptions import ApiAttributeError + + + + +class SetDTMFPassThroughAllOf(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'dtmf_pass_through': (bool,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'dtmf_pass_through': 'dtmfPassThrough', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """SetDTMFPassThroughAllOf - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + dtmf_pass_through (bool): Specifying `false` mutes the Participant's dtmf audio.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """SetDTMFPassThroughAllOf - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + dtmf_pass_through (bool): Specifying `false` mutes the Participant's dtmf audio.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") + + diff --git a/freeclimb/model/set_listen.py b/freeclimb/model/set_listen.py index 206d265..5ac912e 100644 --- a/freeclimb/model/set_listen.py +++ b/freeclimb/model/set_listen.py @@ -51,6 +51,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_listen_all_of import SetListenAllOf from freeclimb.model.set_talk import SetTalk @@ -78,6 +79,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetListenAllOf'] = SetListenAllOf globals()['SetTalk'] = SetTalk diff --git a/freeclimb/model/set_talk.py b/freeclimb/model/set_talk.py index c52ffc5..6c908e5 100644 --- a/freeclimb/model/set_talk.py +++ b/freeclimb/model/set_talk.py @@ -51,6 +51,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.set_talk_all_of import SetTalkAllOf @@ -78,6 +79,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['SetTalkAllOf'] = SetTalkAllOf diff --git a/freeclimb/model/sms.py b/freeclimb/model/sms.py index 0667ffb..3fd3c95 100644 --- a/freeclimb/model/sms.py +++ b/freeclimb/model/sms.py @@ -51,6 +51,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -78,6 +79,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/start_record_call.py b/freeclimb/model/start_record_call.py index b2a822c..1feb5af 100644 --- a/freeclimb/model/start_record_call.py +++ b/freeclimb/model/start_record_call.py @@ -51,6 +51,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -77,6 +78,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/terminate_conference.py b/freeclimb/model/terminate_conference.py index dda8182..afd8cb0 100644 --- a/freeclimb/model/terminate_conference.py +++ b/freeclimb/model/terminate_conference.py @@ -51,6 +51,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -77,6 +78,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/transcribe_utterance.py b/freeclimb/model/transcribe_utterance.py index d5cfaf1..c692f57 100644 --- a/freeclimb/model/transcribe_utterance.py +++ b/freeclimb/model/transcribe_utterance.py @@ -51,6 +51,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -79,6 +80,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/unpark.py b/freeclimb/model/unpark.py index 03c5c54..74b110a 100644 --- a/freeclimb/model/unpark.py +++ b/freeclimb/model/unpark.py @@ -51,6 +51,7 @@ def lazy_import(): from freeclimb.model.remove_from_conference import RemoveFromConference from freeclimb.model.say import Say from freeclimb.model.send_digits import SendDigits + from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough from freeclimb.model.set_listen import SetListen from freeclimb.model.set_talk import SetTalk from freeclimb.model.sms import Sms @@ -77,6 +78,7 @@ def lazy_import(): globals()['RemoveFromConference'] = RemoveFromConference globals()['Say'] = Say globals()['SendDigits'] = SendDigits + globals()['SetDTMFPassThrough'] = SetDTMFPassThrough globals()['SetListen'] = SetListen globals()['SetTalk'] = SetTalk globals()['Sms'] = Sms diff --git a/freeclimb/model/update_conference_participant_request.py b/freeclimb/model/update_conference_participant_request.py index e773681..dd9545b 100644 --- a/freeclimb/model/update_conference_participant_request.py +++ b/freeclimb/model/update_conference_participant_request.py @@ -85,6 +85,7 @@ def openapi_types(): return { 'talk': (bool,), # noqa: E501 'listen': (bool,), # noqa: E501 + 'dtmf_pass_through': (bool,), # noqa: E501 } @cached_property @@ -95,6 +96,7 @@ def discriminator(): attribute_map = { 'talk': 'talk', # noqa: E501 'listen': 'listen', # noqa: E501 + 'dtmf_pass_through': 'dtmfPassThrough', # noqa: E501 } read_only_vars = { @@ -140,6 +142,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) talk (bool): (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value.. [optional] # noqa: E501 listen (bool): (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value.. [optional] # noqa: E501 + dtmf_pass_through (bool): (Optional) Default is `true`. Setting to `false` mutes dtmf audio for this Participant. FreeClimb returns an error and ignores any other value.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -223,6 +226,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) talk (bool): (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value.. [optional] # noqa: E501 listen (bool): (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value.. [optional] # noqa: E501 + dtmf_pass_through (bool): (Optional) Default is `true`. Setting to `false` mutes dtmf audio for this Participant. FreeClimb returns an error and ignores any other value.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/freeclimb/models/__init__.py b/freeclimb/models/__init__.py index 86fa42a..85197ce 100644 --- a/freeclimb/models/__init__.py +++ b/freeclimb/models/__init__.py @@ -136,6 +136,8 @@ from freeclimb.model.say_all_of import SayAllOf from freeclimb.model.send_digits import SendDigits from freeclimb.model.send_digits_all_of import SendDigitsAllOf +from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough +from freeclimb.model.set_dtmf_pass_through_all_of import SetDTMFPassThroughAllOf from freeclimb.model.set_listen import SetListen from freeclimb.model.set_listen_all_of import SetListenAllOf from freeclimb.model.set_talk import SetTalk diff --git a/openapi.json b/openapi.json index 7314149..554dc8c 100644 --- a/openapi.json +++ b/openapi.json @@ -464,6 +464,7 @@ "SendDigits": "#/components/schemas/SendDigits", "SetListen": "#/components/schemas/SetListen", "SetTalk": "#/components/schemas/SetTalk", + "SetDTMFPassThrough": "#/components/schemas/SetDTMFPassThrough", "Sms": "#/components/schemas/Sms", "StartRecordCall": "#/components/schemas/StartRecordCall", "TerminateConference": "#/components/schemas/TerminateConference", @@ -536,6 +537,10 @@ "talk": { "description": "If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. ", "type": "boolean" + }, + "dtmfPassThrough": { + "description": "If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. ", + "type": "boolean" } } } @@ -1175,7 +1180,7 @@ ] }, "SetListen": { - "description": "The `SetListen` command enables or disables the listen privilege for a Conference Participant provided both calls are in the same conference. The Participant can hear what the other participants are saying only if this privilege is enabled.", + "description": "The `SetListen` command enables or disables the listen privilege for this Conference Participant. The Participant can hear what the other participants are saying only if this privilege is enabled.", "x-percl-command": true, "x-ref-properties": ["false"], "allOf": [ @@ -1195,7 +1200,7 @@ ] }, "SetTalk": { - "description": "The `SetTalk` command enables or disables the talk privilege for a Participant in a Conference provided both calls are in the same conference. If 'true', no audio from that Participant is shared with the other Participants of the Conference.", + "description": "The `SetTalk` command enables or disables the talk privilege for this Conference Participant. If 'true', no audio from that Participant is shared with the other Participants of the Conference.", "x-percl-command": true, "x-ref-properties": ["false"], "allOf": [ @@ -1214,6 +1219,26 @@ } ] }, + "SetDTMFPassThrough": { + "description": "The `SetDTMFPassThrough` command enables or disables the dtmfPassThrough privilege for this Conference Participant. If 'true', DTMFs will be passed through from this Participant to all other Participants in the Conference", + "x-percl-command": true, + "x-ref-properties": ["false"], + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": [], + "type": "object", + "properties": { + "dtmfPassThrough": { + "description": "Specifying `false` mutes the Participant's dtmf audio.", + "type": "boolean" + } + } + } + ] + }, "Sms": { "description": "The `Sms` command can be used to send an SMS message to a phone number during a phone call. International SMS is disabled by default.", "x-percl-command": true, @@ -1842,6 +1867,11 @@ "type": "object", "description": "The list of subresources for this Call. These include things like logs and recordings associated with the Call.", "nullable": true + }, + "applicationId": { + "type": "string", + "description": "ApplicationId associated with the Call.", + "nullable": true } } } @@ -2155,7 +2185,8 @@ "items": { "type": "string", "format": "uri" - } + }, + "nullable": true } } } @@ -2282,7 +2313,8 @@ "items": { "type": "string", "format": "uri" - } + }, + "nullable": true } } } @@ -2360,6 +2392,11 @@ "description": "True if this Participant has listen privileges in the Conference. False otherwise.", "nullable": true }, + "dtmfPassThrough": { + "type": "boolean", + "description": "True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise.", + "nullable": true + }, "startConfOnEnter": { "type": "boolean", "description": "True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise.", @@ -2379,6 +2416,10 @@ "listen": { "type": "boolean", "description": "(Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value." + }, + "dtmfPassThrough": { + "type": "boolean", + "description": "(Optional) Default is `true`. Setting to `false` mutes dtmf audio for this Participant. FreeClimb returns an error and ignores any other value." } } }, @@ -4936,6 +4977,15 @@ "type": "boolean" } }, + { + "name": "dtmfPassThrough", + "in": "query", + "description": "Only show Participants with the dtmfPassThrough privilege.", + "required": false, + "schema": { + "type": "boolean" + } + }, { "$ref": "#/components/parameters/AccountId" }, diff --git a/setup.py b/setup.py index f33f1dc..e6255cd 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "FreeClimb" -VERSION = "4.8.0" +VERSION = "4.9.0" # To install the library, run the following # # python setup.py install diff --git a/test/test_set_dtmf_pass_through.py b/test/test_set_dtmf_pass_through.py new file mode 100644 index 0000000..2e77f1d --- /dev/null +++ b/test/test_set_dtmf_pass_through.py @@ -0,0 +1,94 @@ +""" + FreeClimb API + + FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request. # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Contact: support@freeclimb.com + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest +from datetime import datetime, date +import pytest + +import freeclimb +from freeclimb.model.add_to_conference import AddToConference +from freeclimb.model.create_conference import CreateConference +from freeclimb.model.dequeue import Dequeue +from freeclimb.model.enqueue import Enqueue +from freeclimb.model.get_digits import GetDigits +from freeclimb.model.get_speech import GetSpeech +from freeclimb.model.hangup import Hangup +from freeclimb.model.out_dial import OutDial +from freeclimb.model.park import Park +from freeclimb.model.pause import Pause +from freeclimb.model.percl_command import PerclCommand +from freeclimb.model.play import Play +from freeclimb.model.play_early_media import PlayEarlyMedia +from freeclimb.model.record_utterance import RecordUtterance +from freeclimb.model.redirect import Redirect +from freeclimb.model.reject import Reject +from freeclimb.model.remove_from_conference import RemoveFromConference +from freeclimb.model.say import Say +from freeclimb.model.send_digits import SendDigits +from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough +from freeclimb.model.set_dtmf_pass_through_all_of import SetDTMFPassThroughAllOf +from freeclimb.model.set_listen import SetListen +from freeclimb.model.set_talk import SetTalk +from freeclimb.model.sms import Sms +from freeclimb.model.start_record_call import StartRecordCall +from freeclimb.model.terminate_conference import TerminateConference +from freeclimb.model.transcribe_utterance import TranscribeUtterance +from freeclimb.model.unpark import Unpark +globals()['AddToConference'] = AddToConference +globals()['CreateConference'] = CreateConference +globals()['Dequeue'] = Dequeue +globals()['Enqueue'] = Enqueue +globals()['GetDigits'] = GetDigits +globals()['GetSpeech'] = GetSpeech +globals()['Hangup'] = Hangup +globals()['OutDial'] = OutDial +globals()['Park'] = Park +globals()['Pause'] = Pause +globals()['PerclCommand'] = PerclCommand +globals()['Play'] = Play +globals()['PlayEarlyMedia'] = PlayEarlyMedia +globals()['RecordUtterance'] = RecordUtterance +globals()['Redirect'] = Redirect +globals()['Reject'] = Reject +globals()['RemoveFromConference'] = RemoveFromConference +globals()['Say'] = Say +globals()['SendDigits'] = SendDigits +globals()['SetDTMFPassThrough'] = SetDTMFPassThrough +globals()['SetDTMFPassThroughAllOf'] = SetDTMFPassThroughAllOf +globals()['SetListen'] = SetListen +globals()['SetTalk'] = SetTalk +globals()['Sms'] = Sms +globals()['StartRecordCall'] = StartRecordCall +globals()['TerminateConference'] = TerminateConference +globals()['TranscribeUtterance'] = TranscribeUtterance +globals()['Unpark'] = Unpark + +from freeclimb.model.set_dtmf_pass_through import SetDTMFPassThrough # noqa: E501 + +class TestSetDTMFPassThrough(unittest.TestCase): + """SetDTMFPassThrough unit test stubs""" + + def setUp(self): + self.model = SetDTMFPassThrough( + ) + + def test_dtmf_pass_through(self): + """Test SetDTMFPassThrough.dtmf_pass_through""" + self.model.dtmf_pass_through = False + assert self.model.get("dtmf_pass_through") == False + + + def test_command_test(self): + assert self.model.command == "SetDTMFPassThrough" + +if __name__ == '__main__': + unittest.main() \ No newline at end of file diff --git a/test/test_set_dtmf_pass_through_all_of.py b/test/test_set_dtmf_pass_through_all_of.py new file mode 100644 index 0000000..1266788 --- /dev/null +++ b/test/test_set_dtmf_pass_through_all_of.py @@ -0,0 +1,35 @@ +""" + FreeClimb API + + FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request. # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Contact: support@freeclimb.com + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest +from datetime import datetime, date +import pytest + +import freeclimb + +from freeclimb.model.set_dtmf_pass_through_all_of import SetDTMFPassThroughAllOf # noqa: E501 + +class TestSetDTMFPassThroughAllOf(unittest.TestCase): + """SetDTMFPassThroughAllOf unit test stubs""" + + def setUp(self): + self.model = SetDTMFPassThroughAllOf( + ) + + def test_dtmf_pass_through(self): + """Test SetDTMFPassThroughAllOf.dtmf_pass_through""" + self.model.dtmf_pass_through = False + assert self.model.get("dtmf_pass_through") == False + + +if __name__ == '__main__': + unittest.main() \ No newline at end of file