From 8e0ffd8cfb163f4b6f27e79343e596f4c12fb453 Mon Sep 17 00:00:00 2001 From: ngarg-vail Date: Thu, 17 Nov 2022 14:06:20 -0600 Subject: [PATCH 01/59] Introduce enums implementation --- .openapi-generator/FILES | 63 ++++++ README.md | 21 ++ docs/AccountResult.md | 4 +- docs/AccountResultAllOf.md | 4 +- docs/AccountStatus.md | 10 + docs/AccountType.md | 10 + docs/AnsweredBy.md | 10 + docs/CallDirection.md | 10 + docs/CallResult.md | 6 +- docs/CallResultAllOf.md | 6 +- docs/CallStatus.md | 10 + docs/ConferenceResult.md | 4 +- docs/ConferenceResultAllOf.md | 4 +- docs/ConferenceStatus.md | 10 + docs/CreateConferenceRequest.md | 2 +- docs/DefaultApi.md | 12 +- docs/GetSpeech.md | 6 +- docs/GetSpeechAllOf.md | 6 +- docs/GetSpeechReason.md | 9 + docs/GrammarFileBuiltIn.md | 9 + docs/GrammarType.md | 10 + docs/IfMachine.md | 10 + docs/Language.md | 9 + docs/LogLevel.md | 10 + docs/LogResult.md | 2 +- docs/MachineType.md | 9 + docs/MarchineType.md | 9 + docs/MessageDirection.md | 9 + docs/MessageResult.md | 2 +- docs/MessageResultAllOf.md | 2 +- docs/MessageStatus.md | 10 + docs/OutDial.md | 2 +- docs/OutDialAllOf.md | 2 +- docs/PlayBeep.md | 10 + docs/QueueResultStatus.md | 9 + docs/RecordUtteranceTermReason.md | 9 + docs/RequestType.md | 9 + docs/UpdateCallRequest.md | 2 +- docs/UpdateCallRequestStatus.md | 10 + docs/UpdateConferenceRequest.md | 4 +- docs/UpdateConferenceRequestStatus.md | 10 + .../Enums/AccountStatusTests.cs | 64 ++++++ src/freeclimb.Test/Enums/AccountTypeTests.cs | 64 ++++++ src/freeclimb.Test/Enums/AnsweredByTests.cs | 64 ++++++ .../Enums/CallDirectionTests.cs | 64 ++++++ src/freeclimb.Test/Enums/CallStatusTests.cs | 64 ++++++ .../Enums/ConferenceStatusTests.cs | 64 ++++++ .../Enums/GetSpeechReasonTests.cs | 64 ++++++ .../Enums/GrammarFileBuiltInTests.cs | 64 ++++++ src/freeclimb.Test/Enums/GrammarTypeTests.cs | 64 ++++++ src/freeclimb.Test/Enums/IfMachineTests.cs | 64 ++++++ src/freeclimb.Test/Enums/LanguageTests.cs | 64 ++++++ src/freeclimb.Test/Enums/LogLevelTests.cs | 64 ++++++ src/freeclimb.Test/Enums/MachineTypeTests.cs | 64 ++++++ src/freeclimb.Test/Enums/MarchineTypeTests.cs | 64 ++++++ .../Enums/MessageDirectionTests.cs | 64 ++++++ .../Enums/MessageStatusTests.cs | 64 ++++++ src/freeclimb.Test/Enums/PlayBeepTests.cs | 64 ++++++ .../Enums/QueueResultStatusTests.cs | 64 ++++++ .../Enums/RecordUtteranceTermReasonTests.cs | 64 ++++++ src/freeclimb.Test/Enums/RequestTypeTests.cs | 64 ++++++ .../Enums/UpdateCallRequestStatusTests.cs | 64 ++++++ .../UpdateConferenceRequestStatusTests.cs | 64 ++++++ src/freeclimb/Api/DefaultApi.cs | 33 +-- src/freeclimb/Enums/AccountStatus.cs | 57 +++++ src/freeclimb/Enums/AccountType.cs | 51 +++++ src/freeclimb/Enums/AnsweredBy.cs | 51 +++++ src/freeclimb/Enums/CallDirection.cs | 57 +++++ src/freeclimb/Enums/CallStatus.cs | 87 ++++++++ src/freeclimb/Enums/ConferenceStatus.cs | 63 ++++++ src/freeclimb/Enums/Extensions.cs | 18 ++ src/freeclimb/Enums/GetSpeechReason.cs | 74 +++++++ src/freeclimb/Enums/GrammarFileBuiltIn.cs | 128 ++++++++++++ src/freeclimb/Enums/GrammarType.cs | 51 +++++ src/freeclimb/Enums/IfMachine.cs | 51 +++++ src/freeclimb/Enums/Language.cs | 194 ++++++++++++++++++ src/freeclimb/Enums/LogLevel.cs | 57 +++++ src/freeclimb/Enums/MachineType.cs | 50 +++++ src/freeclimb/Enums/MarchineType.cs | 50 +++++ src/freeclimb/Enums/MessageDirection.cs | 50 +++++ src/freeclimb/Enums/MessageStatus.cs | 105 ++++++++++ src/freeclimb/Enums/PlayBeep.cs | 63 ++++++ src/freeclimb/Enums/QueueResultStatus.cs | 62 ++++++ .../Enums/RecordUtteranceTermReason.cs | 62 ++++++ src/freeclimb/Enums/Reflection.cs | 87 ++++++++ src/freeclimb/Enums/RequestType.cs | 176 ++++++++++++++++ .../Enums/UpdateCallRequestStatus.cs | 51 +++++ .../Enums/UpdateConferenceRequestStatus.cs | 51 +++++ src/freeclimb/Model/AccountRequest.cs | 1 + src/freeclimb/Model/AccountResult.cs | 69 +------ src/freeclimb/Model/AccountResultAllOf.cs | 69 +------ src/freeclimb/Model/AddToConference.cs | 1 + src/freeclimb/Model/AddToConferenceAllOf.cs | 1 + src/freeclimb/Model/ApplicationList.cs | 1 + src/freeclimb/Model/ApplicationListAllOf.cs | 1 + src/freeclimb/Model/ApplicationRequest.cs | 1 + src/freeclimb/Model/ApplicationResult.cs | 1 + src/freeclimb/Model/ApplicationResultAllOf.cs | 1 + src/freeclimb/Model/AvailableNumber.cs | 1 + src/freeclimb/Model/AvailableNumberList.cs | 1 + .../Model/AvailableNumberListAllOf.cs | 1 + .../Model/BuyIncomingNumberRequest.cs | 1 + src/freeclimb/Model/CallList.cs | 1 + src/freeclimb/Model/CallListAllOf.cs | 1 + src/freeclimb/Model/CallResult.cs | 109 ++-------- src/freeclimb/Model/CallResultAllOf.cs | 109 ++-------- src/freeclimb/Model/Capabilities.cs | 1 + src/freeclimb/Model/ConferenceList.cs | 1 + src/freeclimb/Model/ConferenceListAllOf.cs | 1 + .../Model/ConferenceParticipantList.cs | 1 + .../Model/ConferenceParticipantListAllOf.cs | 1 + .../Model/ConferenceParticipantResult.cs | 1 + .../Model/ConferenceParticipantResultAllOf.cs | 1 + src/freeclimb/Model/ConferenceResult.cs | 93 +-------- src/freeclimb/Model/ConferenceResultAllOf.cs | 93 +-------- src/freeclimb/Model/CreateConference.cs | 1 + src/freeclimb/Model/CreateConferenceAllOf.cs | 1 + .../Model/CreateConferenceRequest.cs | 43 +--- src/freeclimb/Model/Dequeue.cs | 1 + src/freeclimb/Model/Enqueue.cs | 1 + src/freeclimb/Model/EnqueueAllOf.cs | 1 + src/freeclimb/Model/FilterLogsRequest.cs | 1 + src/freeclimb/Model/GetDigits.cs | 1 + src/freeclimb/Model/GetDigitsAllOf.cs | 1 + src/freeclimb/Model/GetSpeech.cs | 38 ++-- src/freeclimb/Model/GetSpeechAllOf.cs | 38 ++-- src/freeclimb/Model/Hangup.cs | 1 + src/freeclimb/Model/HangupAllOf.cs | 1 + src/freeclimb/Model/IncomingNumberList.cs | 1 + .../Model/IncomingNumberListAllOf.cs | 1 + src/freeclimb/Model/IncomingNumberRequest.cs | 1 + src/freeclimb/Model/IncomingNumberResult.cs | 1 + .../Model/IncomingNumberResultAllOf.cs | 1 + src/freeclimb/Model/LogList.cs | 1 + src/freeclimb/Model/LogListAllOf.cs | 1 + src/freeclimb/Model/LogResult.cs | 39 +--- src/freeclimb/Model/MakeCallRequest.cs | 1 + src/freeclimb/Model/MessageRequest.cs | 1 + src/freeclimb/Model/MessageRequestAllOf.cs | 1 + src/freeclimb/Model/MessageResult.cs | 87 +------- src/freeclimb/Model/MessageResultAllOf.cs | 87 +------- src/freeclimb/Model/MessagesList.cs | 1 + src/freeclimb/Model/MessagesListAllOf.cs | 1 + src/freeclimb/Model/MutableResourceModel.cs | 1 + src/freeclimb/Model/OutDial.cs | 26 +-- src/freeclimb/Model/OutDialAllOf.cs | 26 +-- src/freeclimb/Model/PaginationModel.cs | 1 + src/freeclimb/Model/Park.cs | 1 + src/freeclimb/Model/ParkAllOf.cs | 1 + src/freeclimb/Model/Pause.cs | 1 + src/freeclimb/Model/PauseAllOf.cs | 1 + src/freeclimb/Model/PerclCommand.cs | 1 + src/freeclimb/Model/PerclScript.cs | 1 + src/freeclimb/Model/Play.cs | 1 + src/freeclimb/Model/PlayAllOf.cs | 1 + src/freeclimb/Model/PlayEarlyMedia.cs | 1 + src/freeclimb/Model/PlayEarlyMediaAllOf.cs | 1 + src/freeclimb/Model/QueueList.cs | 1 + src/freeclimb/Model/QueueListAllOf.cs | 1 + src/freeclimb/Model/QueueMember.cs | 1 + src/freeclimb/Model/QueueMemberList.cs | 1 + src/freeclimb/Model/QueueMemberListAllOf.cs | 1 + src/freeclimb/Model/QueueRequest.cs | 1 + src/freeclimb/Model/QueueResult.cs | 1 + src/freeclimb/Model/QueueResultAllOf.cs | 1 + src/freeclimb/Model/RecordUtterance.cs | 1 + src/freeclimb/Model/RecordUtteranceAllOf.cs | 1 + src/freeclimb/Model/RecordingList.cs | 1 + src/freeclimb/Model/RecordingListAllOf.cs | 1 + src/freeclimb/Model/RecordingResult.cs | 1 + src/freeclimb/Model/RecordingResultAllOf.cs | 1 + src/freeclimb/Model/Redirect.cs | 1 + src/freeclimb/Model/RedirectAllOf.cs | 1 + src/freeclimb/Model/Reject.cs | 1 + src/freeclimb/Model/RejectAllOf.cs | 1 + src/freeclimb/Model/RemoveFromConference.cs | 1 + .../Model/RemoveFromConferenceAllOf.cs | 1 + src/freeclimb/Model/Say.cs | 1 + src/freeclimb/Model/SayAllOf.cs | 1 + src/freeclimb/Model/SendDigits.cs | 1 + src/freeclimb/Model/SendDigitsAllOf.cs | 1 + src/freeclimb/Model/SetListen.cs | 1 + src/freeclimb/Model/SetListenAllOf.cs | 1 + src/freeclimb/Model/SetTalk.cs | 1 + src/freeclimb/Model/SetTalkAllOf.cs | 1 + src/freeclimb/Model/Sms.cs | 1 + src/freeclimb/Model/SmsAllOf.cs | 1 + src/freeclimb/Model/StartRecordCall.cs | 1 + src/freeclimb/Model/TerminateConference.cs | 1 + .../Model/TerminateConferenceAllOf.cs | 1 + src/freeclimb/Model/Unpark.cs | 1 + src/freeclimb/Model/UpdateCallRequest.cs | 31 +-- .../UpdateConferenceParticipantRequest.cs | 1 + .../Model/UpdateConferenceRequest.cs | 71 +------ src/freeclimb/freeclimb.csproj | 2 +- 195 files changed, 3770 insertions(+), 902 deletions(-) create mode 100644 docs/AccountStatus.md create mode 100644 docs/AccountType.md create mode 100644 docs/AnsweredBy.md create mode 100644 docs/CallDirection.md create mode 100644 docs/CallStatus.md create mode 100644 docs/ConferenceStatus.md create mode 100644 docs/GetSpeechReason.md create mode 100644 docs/GrammarFileBuiltIn.md create mode 100644 docs/GrammarType.md create mode 100644 docs/IfMachine.md create mode 100644 docs/Language.md create mode 100644 docs/LogLevel.md create mode 100644 docs/MachineType.md create mode 100644 docs/MarchineType.md create mode 100644 docs/MessageDirection.md create mode 100644 docs/MessageStatus.md create mode 100644 docs/PlayBeep.md create mode 100644 docs/QueueResultStatus.md create mode 100644 docs/RecordUtteranceTermReason.md create mode 100644 docs/RequestType.md create mode 100644 docs/UpdateCallRequestStatus.md create mode 100644 docs/UpdateConferenceRequestStatus.md create mode 100644 src/freeclimb.Test/Enums/AccountStatusTests.cs create mode 100644 src/freeclimb.Test/Enums/AccountTypeTests.cs create mode 100644 src/freeclimb.Test/Enums/AnsweredByTests.cs create mode 100644 src/freeclimb.Test/Enums/CallDirectionTests.cs create mode 100644 src/freeclimb.Test/Enums/CallStatusTests.cs create mode 100644 src/freeclimb.Test/Enums/ConferenceStatusTests.cs create mode 100644 src/freeclimb.Test/Enums/GetSpeechReasonTests.cs create mode 100644 src/freeclimb.Test/Enums/GrammarFileBuiltInTests.cs create mode 100644 src/freeclimb.Test/Enums/GrammarTypeTests.cs create mode 100644 src/freeclimb.Test/Enums/IfMachineTests.cs create mode 100644 src/freeclimb.Test/Enums/LanguageTests.cs create mode 100644 src/freeclimb.Test/Enums/LogLevelTests.cs create mode 100644 src/freeclimb.Test/Enums/MachineTypeTests.cs create mode 100644 src/freeclimb.Test/Enums/MarchineTypeTests.cs create mode 100644 src/freeclimb.Test/Enums/MessageDirectionTests.cs create mode 100644 src/freeclimb.Test/Enums/MessageStatusTests.cs create mode 100644 src/freeclimb.Test/Enums/PlayBeepTests.cs create mode 100644 src/freeclimb.Test/Enums/QueueResultStatusTests.cs create mode 100644 src/freeclimb.Test/Enums/RecordUtteranceTermReasonTests.cs create mode 100644 src/freeclimb.Test/Enums/RequestTypeTests.cs create mode 100644 src/freeclimb.Test/Enums/UpdateCallRequestStatusTests.cs create mode 100644 src/freeclimb.Test/Enums/UpdateConferenceRequestStatusTests.cs create mode 100644 src/freeclimb/Enums/AccountStatus.cs create mode 100644 src/freeclimb/Enums/AccountType.cs create mode 100644 src/freeclimb/Enums/AnsweredBy.cs create mode 100644 src/freeclimb/Enums/CallDirection.cs create mode 100644 src/freeclimb/Enums/CallStatus.cs create mode 100644 src/freeclimb/Enums/ConferenceStatus.cs create mode 100644 src/freeclimb/Enums/Extensions.cs create mode 100644 src/freeclimb/Enums/GetSpeechReason.cs create mode 100644 src/freeclimb/Enums/GrammarFileBuiltIn.cs create mode 100644 src/freeclimb/Enums/GrammarType.cs create mode 100644 src/freeclimb/Enums/IfMachine.cs create mode 100644 src/freeclimb/Enums/Language.cs create mode 100644 src/freeclimb/Enums/LogLevel.cs create mode 100644 src/freeclimb/Enums/MachineType.cs create mode 100644 src/freeclimb/Enums/MarchineType.cs create mode 100644 src/freeclimb/Enums/MessageDirection.cs create mode 100644 src/freeclimb/Enums/MessageStatus.cs create mode 100644 src/freeclimb/Enums/PlayBeep.cs create mode 100644 src/freeclimb/Enums/QueueResultStatus.cs create mode 100644 src/freeclimb/Enums/RecordUtteranceTermReason.cs create mode 100644 src/freeclimb/Enums/Reflection.cs create mode 100644 src/freeclimb/Enums/RequestType.cs create mode 100644 src/freeclimb/Enums/UpdateCallRequestStatus.cs create mode 100644 src/freeclimb/Enums/UpdateConferenceRequestStatus.cs diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index b41d42bb..51211f6a 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -4,8 +4,11 @@ appveyor.yml docs/AccountRequest.md docs/AccountResult.md docs/AccountResultAllOf.md +docs/AccountStatus.md +docs/AccountType.md docs/AddToConference.md docs/AddToConferenceAllOf.md +docs/AnsweredBy.md docs/ApplicationList.md docs/ApplicationListAllOf.md docs/ApplicationRequest.md @@ -15,10 +18,12 @@ docs/AvailableNumber.md docs/AvailableNumberList.md docs/AvailableNumberListAllOf.md docs/BuyIncomingNumberRequest.md +docs/CallDirection.md docs/CallList.md docs/CallListAllOf.md docs/CallResult.md docs/CallResultAllOf.md +docs/CallStatus.md docs/Capabilities.md docs/ConferenceList.md docs/ConferenceListAllOf.md @@ -28,6 +33,7 @@ docs/ConferenceParticipantResult.md docs/ConferenceParticipantResultAllOf.md docs/ConferenceResult.md docs/ConferenceResultAllOf.md +docs/ConferenceStatus.md docs/CreateConference.md docs/CreateConferenceAllOf.md docs/CreateConferenceRequest.md @@ -40,21 +46,30 @@ docs/GetDigits.md docs/GetDigitsAllOf.md docs/GetSpeech.md docs/GetSpeechAllOf.md +docs/GetSpeechReason.md +docs/GrammarFileBuiltIn.md +docs/GrammarType.md docs/Hangup.md docs/HangupAllOf.md +docs/IfMachine.md docs/IncomingNumberList.md docs/IncomingNumberListAllOf.md docs/IncomingNumberRequest.md docs/IncomingNumberResult.md docs/IncomingNumberResultAllOf.md +docs/Language.md +docs/LogLevel.md docs/LogList.md docs/LogListAllOf.md docs/LogResult.md +docs/MachineType.md docs/MakeCallRequest.md +docs/MessageDirection.md docs/MessageRequest.md docs/MessageRequestAllOf.md docs/MessageResult.md docs/MessageResultAllOf.md +docs/MessageStatus.md docs/MessagesList.md docs/MessagesListAllOf.md docs/MutableResourceModel.md @@ -69,6 +84,7 @@ docs/PerclCommand.md docs/PerclScript.md docs/Play.md docs/PlayAllOf.md +docs/PlayBeep.md docs/PlayEarlyMedia.md docs/PlayEarlyMediaAllOf.md docs/QueueList.md @@ -79,8 +95,10 @@ docs/QueueMemberListAllOf.md docs/QueueRequest.md docs/QueueResult.md docs/QueueResultAllOf.md +docs/QueueResultStatus.md docs/RecordUtterance.md docs/RecordUtteranceAllOf.md +docs/RecordUtteranceTermReason.md docs/RecordingList.md docs/RecordingListAllOf.md docs/RecordingResult.md @@ -91,6 +109,7 @@ docs/Reject.md docs/RejectAllOf.md docs/RemoveFromConference.md docs/RemoveFromConferenceAllOf.md +docs/RequestType.md docs/Say.md docs/SayAllOf.md docs/SendDigits.md @@ -106,10 +125,33 @@ docs/TerminateConference.md docs/TerminateConferenceAllOf.md docs/Unpark.md docs/UpdateCallRequest.md +docs/UpdateCallRequestStatus.md docs/UpdateConferenceParticipantRequest.md docs/UpdateConferenceRequest.md +docs/UpdateConferenceRequestStatus.md freeclimb.sln git_push.sh +src/freeclimb.Test/Model/AccountStatusTests.cs +src/freeclimb.Test/Model/AccountTypeTests.cs +src/freeclimb.Test/Model/AnsweredByTests.cs +src/freeclimb.Test/Model/CallDirectionTests.cs +src/freeclimb.Test/Model/CallStatusTests.cs +src/freeclimb.Test/Model/ConferenceStatusTests.cs +src/freeclimb.Test/Model/GetSpeechReasonTests.cs +src/freeclimb.Test/Model/GrammarFileBuiltInTests.cs +src/freeclimb.Test/Model/GrammarTypeTests.cs +src/freeclimb.Test/Model/IfMachineTests.cs +src/freeclimb.Test/Model/LanguageTests.cs +src/freeclimb.Test/Model/LogLevelTests.cs +src/freeclimb.Test/Model/MachineTypeTests.cs +src/freeclimb.Test/Model/MessageDirectionTests.cs +src/freeclimb.Test/Model/MessageStatusTests.cs +src/freeclimb.Test/Model/PlayBeepTests.cs +src/freeclimb.Test/Model/QueueResultStatusTests.cs +src/freeclimb.Test/Model/RecordUtteranceTermReasonTests.cs +src/freeclimb.Test/Model/RequestTypeTests.cs +src/freeclimb.Test/Model/UpdateCallRequestStatusTests.cs +src/freeclimb.Test/Model/UpdateConferenceRequestStatusTests.cs src/freeclimb.Test/freeclimb.Test.csproj src/freeclimb/Api/DefaultApi.cs src/freeclimb/Client/ApiClient.cs @@ -132,8 +174,11 @@ src/freeclimb/Model/AbstractOpenAPISchema.cs src/freeclimb/Model/AccountRequest.cs src/freeclimb/Model/AccountResult.cs src/freeclimb/Model/AccountResultAllOf.cs +src/freeclimb/Model/AccountStatus.cs +src/freeclimb/Model/AccountType.cs src/freeclimb/Model/AddToConference.cs src/freeclimb/Model/AddToConferenceAllOf.cs +src/freeclimb/Model/AnsweredBy.cs src/freeclimb/Model/ApplicationList.cs src/freeclimb/Model/ApplicationListAllOf.cs src/freeclimb/Model/ApplicationRequest.cs @@ -143,10 +188,12 @@ src/freeclimb/Model/AvailableNumber.cs src/freeclimb/Model/AvailableNumberList.cs src/freeclimb/Model/AvailableNumberListAllOf.cs src/freeclimb/Model/BuyIncomingNumberRequest.cs +src/freeclimb/Model/CallDirection.cs src/freeclimb/Model/CallList.cs src/freeclimb/Model/CallListAllOf.cs src/freeclimb/Model/CallResult.cs src/freeclimb/Model/CallResultAllOf.cs +src/freeclimb/Model/CallStatus.cs src/freeclimb/Model/Capabilities.cs src/freeclimb/Model/ConferenceList.cs src/freeclimb/Model/ConferenceListAllOf.cs @@ -156,6 +203,7 @@ src/freeclimb/Model/ConferenceParticipantResult.cs src/freeclimb/Model/ConferenceParticipantResultAllOf.cs src/freeclimb/Model/ConferenceResult.cs src/freeclimb/Model/ConferenceResultAllOf.cs +src/freeclimb/Model/ConferenceStatus.cs src/freeclimb/Model/CreateConference.cs src/freeclimb/Model/CreateConferenceAllOf.cs src/freeclimb/Model/CreateConferenceRequest.cs @@ -167,21 +215,30 @@ src/freeclimb/Model/GetDigits.cs src/freeclimb/Model/GetDigitsAllOf.cs src/freeclimb/Model/GetSpeech.cs src/freeclimb/Model/GetSpeechAllOf.cs +src/freeclimb/Model/GetSpeechReason.cs +src/freeclimb/Model/GrammarFileBuiltIn.cs +src/freeclimb/Model/GrammarType.cs src/freeclimb/Model/Hangup.cs src/freeclimb/Model/HangupAllOf.cs +src/freeclimb/Model/IfMachine.cs src/freeclimb/Model/IncomingNumberList.cs src/freeclimb/Model/IncomingNumberListAllOf.cs src/freeclimb/Model/IncomingNumberRequest.cs src/freeclimb/Model/IncomingNumberResult.cs src/freeclimb/Model/IncomingNumberResultAllOf.cs +src/freeclimb/Model/Language.cs +src/freeclimb/Model/LogLevel.cs src/freeclimb/Model/LogList.cs src/freeclimb/Model/LogListAllOf.cs src/freeclimb/Model/LogResult.cs +src/freeclimb/Model/MachineType.cs src/freeclimb/Model/MakeCallRequest.cs +src/freeclimb/Model/MessageDirection.cs src/freeclimb/Model/MessageRequest.cs src/freeclimb/Model/MessageRequestAllOf.cs src/freeclimb/Model/MessageResult.cs src/freeclimb/Model/MessageResultAllOf.cs +src/freeclimb/Model/MessageStatus.cs src/freeclimb/Model/MessagesList.cs src/freeclimb/Model/MessagesListAllOf.cs src/freeclimb/Model/MutableResourceModel.cs @@ -196,6 +253,7 @@ src/freeclimb/Model/PerclCommand.cs src/freeclimb/Model/PerclScript.cs src/freeclimb/Model/Play.cs src/freeclimb/Model/PlayAllOf.cs +src/freeclimb/Model/PlayBeep.cs src/freeclimb/Model/PlayEarlyMedia.cs src/freeclimb/Model/PlayEarlyMediaAllOf.cs src/freeclimb/Model/QueueList.cs @@ -206,8 +264,10 @@ src/freeclimb/Model/QueueMemberListAllOf.cs src/freeclimb/Model/QueueRequest.cs src/freeclimb/Model/QueueResult.cs src/freeclimb/Model/QueueResultAllOf.cs +src/freeclimb/Model/QueueResultStatus.cs src/freeclimb/Model/RecordUtterance.cs src/freeclimb/Model/RecordUtteranceAllOf.cs +src/freeclimb/Model/RecordUtteranceTermReason.cs src/freeclimb/Model/RecordingList.cs src/freeclimb/Model/RecordingListAllOf.cs src/freeclimb/Model/RecordingResult.cs @@ -218,6 +278,7 @@ src/freeclimb/Model/Reject.cs src/freeclimb/Model/RejectAllOf.cs src/freeclimb/Model/RemoveFromConference.cs src/freeclimb/Model/RemoveFromConferenceAllOf.cs +src/freeclimb/Model/RequestType.cs src/freeclimb/Model/Say.cs src/freeclimb/Model/SayAllOf.cs src/freeclimb/Model/SendDigits.cs @@ -233,6 +294,8 @@ src/freeclimb/Model/TerminateConference.cs src/freeclimb/Model/TerminateConferenceAllOf.cs src/freeclimb/Model/Unpark.cs src/freeclimb/Model/UpdateCallRequest.cs +src/freeclimb/Model/UpdateCallRequestStatus.cs src/freeclimb/Model/UpdateConferenceParticipantRequest.cs src/freeclimb/Model/UpdateConferenceRequest.cs +src/freeclimb/Model/UpdateConferenceRequestStatus.cs src/freeclimb/freeclimb.csproj diff --git a/README.md b/README.md index 4cf378a0..a72affcb 100644 --- a/README.md +++ b/README.md @@ -173,8 +173,11 @@ Class | Method | HTTP request | Description - [Model.AccountRequest](docs/AccountRequest.md) - [Model.AccountResult](docs/AccountResult.md) - [Model.AccountResultAllOf](docs/AccountResultAllOf.md) + - [Model.AccountStatus](docs/AccountStatus.md) + - [Model.AccountType](docs/AccountType.md) - [Model.AddToConference](docs/AddToConference.md) - [Model.AddToConferenceAllOf](docs/AddToConferenceAllOf.md) + - [Model.AnsweredBy](docs/AnsweredBy.md) - [Model.ApplicationList](docs/ApplicationList.md) - [Model.ApplicationListAllOf](docs/ApplicationListAllOf.md) - [Model.ApplicationRequest](docs/ApplicationRequest.md) @@ -184,10 +187,12 @@ Class | Method | HTTP request | Description - [Model.AvailableNumberList](docs/AvailableNumberList.md) - [Model.AvailableNumberListAllOf](docs/AvailableNumberListAllOf.md) - [Model.BuyIncomingNumberRequest](docs/BuyIncomingNumberRequest.md) + - [Model.CallDirection](docs/CallDirection.md) - [Model.CallList](docs/CallList.md) - [Model.CallListAllOf](docs/CallListAllOf.md) - [Model.CallResult](docs/CallResult.md) - [Model.CallResultAllOf](docs/CallResultAllOf.md) + - [Model.CallStatus](docs/CallStatus.md) - [Model.Capabilities](docs/Capabilities.md) - [Model.ConferenceList](docs/ConferenceList.md) - [Model.ConferenceListAllOf](docs/ConferenceListAllOf.md) @@ -197,6 +202,7 @@ Class | Method | HTTP request | Description - [Model.ConferenceParticipantResultAllOf](docs/ConferenceParticipantResultAllOf.md) - [Model.ConferenceResult](docs/ConferenceResult.md) - [Model.ConferenceResultAllOf](docs/ConferenceResultAllOf.md) + - [Model.ConferenceStatus](docs/ConferenceStatus.md) - [Model.CreateConference](docs/CreateConference.md) - [Model.CreateConferenceAllOf](docs/CreateConferenceAllOf.md) - [Model.CreateConferenceRequest](docs/CreateConferenceRequest.md) @@ -208,21 +214,30 @@ Class | Method | HTTP request | Description - [Model.GetDigitsAllOf](docs/GetDigitsAllOf.md) - [Model.GetSpeech](docs/GetSpeech.md) - [Model.GetSpeechAllOf](docs/GetSpeechAllOf.md) + - [Model.GetSpeechReason](docs/GetSpeechReason.md) + - [Model.GrammarFileBuiltIn](docs/GrammarFileBuiltIn.md) + - [Model.GrammarType](docs/GrammarType.md) - [Model.Hangup](docs/Hangup.md) - [Model.HangupAllOf](docs/HangupAllOf.md) + - [Model.IfMachine](docs/IfMachine.md) - [Model.IncomingNumberList](docs/IncomingNumberList.md) - [Model.IncomingNumberListAllOf](docs/IncomingNumberListAllOf.md) - [Model.IncomingNumberRequest](docs/IncomingNumberRequest.md) - [Model.IncomingNumberResult](docs/IncomingNumberResult.md) - [Model.IncomingNumberResultAllOf](docs/IncomingNumberResultAllOf.md) + - [Model.Language](docs/Language.md) + - [Model.LogLevel](docs/LogLevel.md) - [Model.LogList](docs/LogList.md) - [Model.LogListAllOf](docs/LogListAllOf.md) - [Model.LogResult](docs/LogResult.md) + - [Model.MachineType](docs/MachineType.md) - [Model.MakeCallRequest](docs/MakeCallRequest.md) + - [Model.MessageDirection](docs/MessageDirection.md) - [Model.MessageRequest](docs/MessageRequest.md) - [Model.MessageRequestAllOf](docs/MessageRequestAllOf.md) - [Model.MessageResult](docs/MessageResult.md) - [Model.MessageResultAllOf](docs/MessageResultAllOf.md) + - [Model.MessageStatus](docs/MessageStatus.md) - [Model.MessagesList](docs/MessagesList.md) - [Model.MessagesListAllOf](docs/MessagesListAllOf.md) - [Model.MutableResourceModel](docs/MutableResourceModel.md) @@ -237,6 +252,7 @@ Class | Method | HTTP request | Description - [Model.PerclScript](docs/PerclScript.md) - [Model.Play](docs/Play.md) - [Model.PlayAllOf](docs/PlayAllOf.md) + - [Model.PlayBeep](docs/PlayBeep.md) - [Model.PlayEarlyMedia](docs/PlayEarlyMedia.md) - [Model.PlayEarlyMediaAllOf](docs/PlayEarlyMediaAllOf.md) - [Model.QueueList](docs/QueueList.md) @@ -247,8 +263,10 @@ Class | Method | HTTP request | Description - [Model.QueueRequest](docs/QueueRequest.md) - [Model.QueueResult](docs/QueueResult.md) - [Model.QueueResultAllOf](docs/QueueResultAllOf.md) + - [Model.QueueResultStatus](docs/QueueResultStatus.md) - [Model.RecordUtterance](docs/RecordUtterance.md) - [Model.RecordUtteranceAllOf](docs/RecordUtteranceAllOf.md) + - [Model.RecordUtteranceTermReason](docs/RecordUtteranceTermReason.md) - [Model.RecordingList](docs/RecordingList.md) - [Model.RecordingListAllOf](docs/RecordingListAllOf.md) - [Model.RecordingResult](docs/RecordingResult.md) @@ -259,6 +277,7 @@ Class | Method | HTTP request | Description - [Model.RejectAllOf](docs/RejectAllOf.md) - [Model.RemoveFromConference](docs/RemoveFromConference.md) - [Model.RemoveFromConferenceAllOf](docs/RemoveFromConferenceAllOf.md) + - [Model.RequestType](docs/RequestType.md) - [Model.Say](docs/Say.md) - [Model.SayAllOf](docs/SayAllOf.md) - [Model.SendDigits](docs/SendDigits.md) @@ -274,8 +293,10 @@ Class | Method | HTTP request | Description - [Model.TerminateConferenceAllOf](docs/TerminateConferenceAllOf.md) - [Model.Unpark](docs/Unpark.md) - [Model.UpdateCallRequest](docs/UpdateCallRequest.md) + - [Model.UpdateCallRequestStatus](docs/UpdateCallRequestStatus.md) - [Model.UpdateConferenceParticipantRequest](docs/UpdateConferenceParticipantRequest.md) - [Model.UpdateConferenceRequest](docs/UpdateConferenceRequest.md) + - [Model.UpdateConferenceRequestStatus](docs/UpdateConferenceRequestStatus.md) diff --git a/docs/AccountResult.md b/docs/AccountResult.md index cbc9bb17..91dd77d5 100644 --- a/docs/AccountResult.md +++ b/docs/AccountResult.md @@ -12,8 +12,8 @@ Name | Type | Description | Notes **ApiKey** | **string** | The API key assigned to this account. This key must be kept a secret by the customer. | [optional] **Alias** | **string** | A description for this account. | [optional] **Label** | **string** | A string that identifies a category or group to which the account belongs. | [optional] -**Type** | **string** | The type of this account. It is one of: trial or full. | [optional] -**Status** | **string** | The status of this account. It is one of: active, suspended, or closed. | [optional] +**Type** | **AccountType** | | [optional] +**Status** | **AccountStatus** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this account. | [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/AccountResultAllOf.md b/docs/AccountResultAllOf.md index 6a26283f..7b6b6320 100644 --- a/docs/AccountResultAllOf.md +++ b/docs/AccountResultAllOf.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **ApiKey** | **string** | The API key assigned to this account. This key must be kept a secret by the customer. | [optional] **Alias** | **string** | A description for this account. | [optional] **Label** | **string** | A string that identifies a category or group to which the account belongs. | [optional] -**Type** | **string** | The type of this account. It is one of: trial or full. | [optional] -**Status** | **string** | The status of this account. It is one of: active, suspended, or closed. | [optional] +**Type** | **AccountType** | | [optional] +**Status** | **AccountStatus** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this account. | [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/AccountStatus.md b/docs/AccountStatus.md new file mode 100644 index 00000000..cf21be76 --- /dev/null +++ b/docs/AccountStatus.md @@ -0,0 +1,10 @@ +# freeclimb.Model.AccountStatus +The status of this account. It is one of: active, suspended, or closed. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/AccountType.md b/docs/AccountType.md new file mode 100644 index 00000000..45aa3dd3 --- /dev/null +++ b/docs/AccountType.md @@ -0,0 +1,10 @@ +# freeclimb.Model.AccountType +The type of this account. It is one of: trial or full. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/AnsweredBy.md b/docs/AnsweredBy.md new file mode 100644 index 00000000..3c44745b --- /dev/null +++ b/docs/AnsweredBy.md @@ -0,0 +1,10 @@ +# freeclimb.Model.AnsweredBy +If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/CallDirection.md b/docs/CallDirection.md new file mode 100644 index 00000000..132ecc51 --- /dev/null +++ b/docs/CallDirection.md @@ -0,0 +1,10 @@ +# freeclimb.Model.CallDirection +Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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 d171c48e..7a0b76c1 100644 --- a/docs/CallResult.md +++ b/docs/CallResult.md @@ -14,14 +14,14 @@ Name | Type | Description | Notes **From** | **string** | Phone number that initiated this Call. | [optional] **To** | **string** | Phone number that received this Call. | [optional] **PhoneNumberId** | **string** | If the Call was inbound, this is the ID of the IncomingPhoneNumber that received the Call (DNIS). If the Call was outbound, this is the ID of the phone number from which the Call was placed (ANI). | [optional] -**Status** | **string** | * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. | [optional] +**Status** | **CallStatus** | | [optional] **StartTime** | **string** | Start time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed. | [optional] **ConnectTime** | **string** | Time the Call was answered (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed. | [optional] **EndTime** | **string** | End time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call did not complete successfully. | [optional] **Duration** | **int?** | Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional] **ConnectDuration** | **int?** | Length of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional] -**Direction** | **string** | Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. | [optional] -**AnsweredBy** | **string** | If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. | [optional] +**Direction** | **CallDirection** | | [optional] +**AnsweredBy** | **AnsweredBy** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this Call. These include things like logs and recordings 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 f63459dd..70396050 100644 --- a/docs/CallResultAllOf.md +++ b/docs/CallResultAllOf.md @@ -10,14 +10,14 @@ Name | Type | Description | Notes **From** | **string** | Phone number that initiated this Call. | [optional] **To** | **string** | Phone number that received this Call. | [optional] **PhoneNumberId** | **string** | If the Call was inbound, this is the ID of the IncomingPhoneNumber that received the Call (DNIS). If the Call was outbound, this is the ID of the phone number from which the Call was placed (ANI). | [optional] -**Status** | **string** | * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. | [optional] +**Status** | **CallStatus** | | [optional] **StartTime** | **string** | Start time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed. | [optional] **ConnectTime** | **string** | Time the Call was answered (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed. | [optional] **EndTime** | **string** | End time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call did not complete successfully. | [optional] **Duration** | **int?** | Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional] **ConnectDuration** | **int?** | Length of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional] -**Direction** | **string** | Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. | [optional] -**AnsweredBy** | **string** | If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. | [optional] +**Direction** | **CallDirection** | | [optional] +**AnsweredBy** | **AnsweredBy** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this Call. These include things like logs and recordings 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/CallStatus.md b/docs/CallStatus.md new file mode 100644 index 00000000..eeb311ec --- /dev/null +++ b/docs/CallStatus.md @@ -0,0 +1,10 @@ +# freeclimb.Model.CallStatus +* `queued` – Call is ready and waiting in line before going out. * `ringing` – Call is currently ringing. * `inProgress` – Call was answered and is currently in progress. * `canceled` – Call was hung up while it was queued or ringing. * `completed` – Call was answered and has ended normally. * `busy` – Caller received a busy signal. * `failed` – Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` – Call ended without being answered. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/ConferenceResult.md b/docs/ConferenceResult.md index 571961c2..910211fd 100644 --- a/docs/ConferenceResult.md +++ b/docs/ConferenceResult.md @@ -11,9 +11,9 @@ Name | Type | Description | Notes **ConferenceId** | **string** | A string that uniquely identifies this Conference resource. | [optional] **AccountId** | **string** | ID of the account that created this Conference. | [optional] **Alias** | **string** | A description for this Conference. | [optional] -**PlayBeep** | **string** | Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. | [optional] +**PlayBeep** | **PlayBeep** | | [optional] **Record** | **bool?** | Flag indicating whether recording is enabled for this Conference. | [optional] -**Status** | **string** | The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. | [optional] +**Status** | **ConferenceStatus** | | [optional] **WaitUrl** | **string** | URL referencing the audio file to be used as default wait music for the Conference when it is in the populated state. | [optional] **ActionUrl** | **string** | URL invoked once the Conference is successfully created. | [optional] **StatusCallbackUrl** | **string** | URL to inform that the Conference status has changed. | [optional] diff --git a/docs/ConferenceResultAllOf.md b/docs/ConferenceResultAllOf.md index 49456c13..c222e373 100644 --- a/docs/ConferenceResultAllOf.md +++ b/docs/ConferenceResultAllOf.md @@ -7,9 +7,9 @@ Name | Type | Description | Notes **ConferenceId** | **string** | A string that uniquely identifies this Conference resource. | [optional] **AccountId** | **string** | ID of the account that created this Conference. | [optional] **Alias** | **string** | A description for this Conference. | [optional] -**PlayBeep** | **string** | Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. | [optional] +**PlayBeep** | **PlayBeep** | | [optional] **Record** | **bool?** | Flag indicating whether recording is enabled for this Conference. | [optional] -**Status** | **string** | The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. | [optional] +**Status** | **ConferenceStatus** | | [optional] **WaitUrl** | **string** | URL referencing the audio file to be used as default wait music for the Conference when it is in the populated state. | [optional] **ActionUrl** | **string** | URL invoked once the Conference is successfully created. | [optional] **StatusCallbackUrl** | **string** | URL to inform that the Conference status has changed. | [optional] diff --git a/docs/ConferenceStatus.md b/docs/ConferenceStatus.md new file mode 100644 index 00000000..cf66fcc8 --- /dev/null +++ b/docs/ConferenceStatus.md @@ -0,0 +1,10 @@ +# freeclimb.Model.ConferenceStatus +The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/CreateConferenceRequest.md b/docs/CreateConferenceRequest.md index e260ca4f..094f41a4 100644 --- a/docs/CreateConferenceRequest.md +++ b/docs/CreateConferenceRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Alias** | **string** | A description for this Conference. Maximum 64 characters. | [optional] -**PlayBeep** | **string** | Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. | [optional] [default to PlayBeepEnum.ALWAYS] +**PlayBeep** | **PlayBeep** | | [optional] **Record** | **bool** | Setting to `true` records the entire Conference. | [optional] **WaitUrl** | **string** | If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once &mdash; when the Conference is created. | [optional] **StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). | [optional] diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 7ddc49ae..ab1b5696 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -2208,7 +2208,7 @@ Name | Type | Description | Notes # **ListCalls** -> CallList ListCalls (bool? active = null, string to = null, string from = null, string status = null, string startTime = null, string endTime = null, string parentCallId = null) +> CallList ListCalls (bool? active = null, string to = null, string from = null, CallStatus? status = null, string startTime = null, string endTime = null, string parentCallId = null) List Calls @@ -2240,7 +2240,7 @@ namespace Example var from = "from_example"; // string | Only show Calls from this phone number. (optional) - var status = "status_example"; // string | Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) + var status = (CallStatus) "queued"; // CallStatus? | Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) var startTime = "startTime_example"; // string | Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) @@ -2273,7 +2273,7 @@ Name | Type | Description | Notes **active** | **bool?**| If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. | [optional] [default to false] **to** | **string**| Only show Calls to this phone number. | [optional] **from** | **string**| Only show Calls from this phone number. | [optional] - **status** | **string**| Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. | [optional] + **status** | **CallStatus?**| Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. | [optional] **startTime** | **string**| Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] **endTime** | **string**| Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. | [optional] **parentCallId** | **string**| Only show Calls spawned by the call with this ID. | [optional] @@ -2742,7 +2742,7 @@ Name | Type | Description | Notes # **ListSmsMessages** -> MessagesList ListSmsMessages (string to = null, string from = null, string beginTime = null, string endTime = null, string direction = null) +> MessagesList ListSmsMessages (string to = null, string from = null, string beginTime = null, string endTime = null, CallDirection? direction = null) List SMS Messages @@ -2776,7 +2776,7 @@ namespace Example var endTime = "endTime_example"; // string | Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - var direction = "inbound"; // string | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) + var direction = (CallDirection) "inbound"; // CallDirection? | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) try @@ -2804,7 +2804,7 @@ Name | Type | Description | Notes **from** | **string**| Only show Messages from this phone number. | [optional] **beginTime** | **string**| Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. | [optional] **endTime** | **string**| Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. | [optional] - **direction** | **string**| Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. | [optional] + **direction** | **CallDirection?**| Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. | [optional] ### Return type diff --git a/docs/GetSpeech.md b/docs/GetSpeech.md index 76158f29..eb342ed2 100644 --- a/docs/GetSpeech.md +++ b/docs/GetSpeech.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call. | -**GrammarType** | **int** | The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. | [optional] +**GrammarType** | **GrammarType** | | [optional] **GrammarFile** | **string** | The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL. | -**GrammarRule** | **bool** | The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`. | [optional] -**PlayBeep** | **string** | Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak. | [optional] +**GrammarRule** | **string** | The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`. | [optional] +**PlayBeep** | **bool** | Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak. | [optional] **Prompts** | [**List<PerclCommand>**](PerclCommand.md) | The JSON array of PerCL commands to nest within the `GetSpeech` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the caller. This allows for playing menu options to the caller and to prompt for the expected input. These commands stop executing when the caller begins to input speech. | [optional] **NoInputTimeoutMs** | **int** | When recognition is started and there is no speech detected for `noInputTimeoutMs` milliseconds, the recognizer will terminate the recognition operation. | [optional] **RecognitionTimeoutMs** | **int** | When playback of prompts ends and there is no match for `recognitionTimeoutMs` milliseconds, the recognizer will terminate the recognition operation. | [optional] diff --git a/docs/GetSpeechAllOf.md b/docs/GetSpeechAllOf.md index 25708ddc..ee8def81 100644 --- a/docs/GetSpeechAllOf.md +++ b/docs/GetSpeechAllOf.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ActionUrl** | **string** | When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call. | -**GrammarType** | **int** | The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. | [optional] +**GrammarType** | **GrammarType** | | [optional] **GrammarFile** | **string** | The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL. | -**GrammarRule** | **bool** | The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`. | [optional] -**PlayBeep** | **string** | Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak. | [optional] +**GrammarRule** | **string** | The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`. | [optional] +**PlayBeep** | **bool** | Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak. | [optional] **Prompts** | [**List<PerclCommand>**](PerclCommand.md) | The JSON array of PerCL commands to nest within the `GetSpeech` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the caller. This allows for playing menu options to the caller and to prompt for the expected input. These commands stop executing when the caller begins to input speech. | [optional] **NoInputTimeoutMs** | **int** | When recognition is started and there is no speech detected for `noInputTimeoutMs` milliseconds, the recognizer will terminate the recognition operation. | [optional] **RecognitionTimeoutMs** | **int** | When playback of prompts ends and there is no match for `recognitionTimeoutMs` milliseconds, the recognizer will terminate the recognition operation. | [optional] diff --git a/docs/GetSpeechReason.md b/docs/GetSpeechReason.md new file mode 100644 index 00000000..0b50068a --- /dev/null +++ b/docs/GetSpeechReason.md @@ -0,0 +1,9 @@ +# freeclimb.Model.GetSpeechReason + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/GrammarFileBuiltIn.md b/docs/GrammarFileBuiltIn.md new file mode 100644 index 00000000..e9c41a35 --- /dev/null +++ b/docs/GrammarFileBuiltIn.md @@ -0,0 +1,9 @@ +# freeclimb.Model.GrammarFileBuiltIn + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/GrammarType.md b/docs/GrammarType.md new file mode 100644 index 00000000..95480d0f --- /dev/null +++ b/docs/GrammarType.md @@ -0,0 +1,10 @@ +# freeclimb.Model.GrammarType +The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/IfMachine.md b/docs/IfMachine.md new file mode 100644 index 00000000..6b9e1ae9 --- /dev/null +++ b/docs/IfMachine.md @@ -0,0 +1,10 @@ +# freeclimb.Model.IfMachine +Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/Language.md b/docs/Language.md new file mode 100644 index 00000000..03f4c2be --- /dev/null +++ b/docs/Language.md @@ -0,0 +1,9 @@ +# freeclimb.Model.Language + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/LogLevel.md b/docs/LogLevel.md new file mode 100644 index 00000000..1211ee96 --- /dev/null +++ b/docs/LogLevel.md @@ -0,0 +1,10 @@ +# freeclimb.Model.LogLevel +Level of the log. Possible values are info, warning, and error. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/LogResult.md b/docs/LogResult.md index c28254c6..78e97af9 100644 --- a/docs/LogResult.md +++ b/docs/LogResult.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Timestamp** | **int?** | Time that the log was generated. The time is represented as microseconds since the Unix Epoch. | [optional] -**Level** | **string** | Level of the log. Possible values are info, warning, and error. | [optional] +**Level** | **LogLevel** | | [optional] **RequestId** | **string** | ID of the request associated with the log. The requestId is propagated across all logs generated by FreeClimb when processing a request. | [optional] **AccountId** | **string** | ID of the account that this log was generated under. | [optional] **CallId** | **string** | ID of the Call associated with the log. Can be set to null if the log was generated without regard to a specific Call. | [optional] diff --git a/docs/MachineType.md b/docs/MachineType.md new file mode 100644 index 00000000..df917ea0 --- /dev/null +++ b/docs/MachineType.md @@ -0,0 +1,9 @@ +# freeclimb.Model.MachineType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/MarchineType.md b/docs/MarchineType.md new file mode 100644 index 00000000..920ca19c --- /dev/null +++ b/docs/MarchineType.md @@ -0,0 +1,9 @@ +# freeclimb.Model.MarchineType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/MessageDirection.md b/docs/MessageDirection.md new file mode 100644 index 00000000..0ad75219 --- /dev/null +++ b/docs/MessageDirection.md @@ -0,0 +1,9 @@ +# freeclimb.Model.MessageDirection + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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 582b44db..a6119fca 100644 --- a/docs/MessageResult.md +++ b/docs/MessageResult.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **Revision** | **int** | Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated. | [optional] **AccountId** | **string** | String that uniquely identifies this account resource. | [optional] **MessageId** | **string** | String that uniquely identifies this message resource | [optional] -**Status** | **string** | Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown | [optional] +**Status** | **MessageStatus** | | [optional] **From** | **string** | Phone number in E.164 format that sent the message. | [optional] **To** | **string** | Phone number in E.164 format that received the message. | [optional] **Text** | **string** | Message contents | [optional] diff --git a/docs/MessageResultAllOf.md b/docs/MessageResultAllOf.md index 42efe6f2..bfe145a2 100644 --- a/docs/MessageResultAllOf.md +++ b/docs/MessageResultAllOf.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccountId** | **string** | String that uniquely identifies this account resource. | [optional] **MessageId** | **string** | String that uniquely identifies this message resource | [optional] -**Status** | **string** | Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown | [optional] +**Status** | **MessageStatus** | | [optional] **From** | **string** | Phone number in E.164 format that sent the message. | [optional] **To** | **string** | Phone number in E.164 format that received the message. | [optional] **Text** | **string** | Message contents | [optional] diff --git a/docs/MessageStatus.md b/docs/MessageStatus.md new file mode 100644 index 00000000..1fbf3e76 --- /dev/null +++ b/docs/MessageStatus.md @@ -0,0 +1,10 @@ +# freeclimb.Model.MessageStatus +Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/OutDial.md b/docs/OutDial.md index fa40d5c7..e85a732b 100644 --- a/docs/OutDial.md +++ b/docs/OutDial.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **CallConnectUrl** | **string** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. | **CallingNumber** | **decimal** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. | **Destination** | **decimal** | E.164 representation of the phone number to Call. | -**IfMachine** | **string** | Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. | [optional] +**IfMachine** | **IfMachine** | | [optional] **IfMachineUrl** | **string** | When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the `ifMachine` flag is set to `redirect`. Otherwise, it should not be included. | [optional] **SendDigits** | **string** | DTMF tones to play to the outdialed Call. This is typically used to dial a number and then dial an extension. | [optional] **StatusCallbackUrl** | **string** | When the outdialed Call leg terminates, FreeClimb sends a `callStatus` Webhook to the `statusCallbackUrl`. This is a notification only; any PerCL command returned is ignored. | [optional] diff --git a/docs/OutDialAllOf.md b/docs/OutDialAllOf.md index 555d5373..5714e6e4 100644 --- a/docs/OutDialAllOf.md +++ b/docs/OutDialAllOf.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **CallConnectUrl** | **string** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. | **CallingNumber** | **decimal** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. | **Destination** | **decimal** | E.164 representation of the phone number to Call. | -**IfMachine** | **string** | Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. | [optional] +**IfMachine** | **IfMachine** | | [optional] **IfMachineUrl** | **string** | When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the `ifMachine` flag is set to `redirect`. Otherwise, it should not be included. | [optional] **SendDigits** | **string** | DTMF tones to play to the outdialed Call. This is typically used to dial a number and then dial an extension. | [optional] **StatusCallbackUrl** | **string** | When the outdialed Call leg terminates, FreeClimb sends a `callStatus` Webhook to the `statusCallbackUrl`. This is a notification only; any PerCL command returned is ignored. | [optional] diff --git a/docs/PlayBeep.md b/docs/PlayBeep.md new file mode 100644 index 00000000..16ba3ea6 --- /dev/null +++ b/docs/PlayBeep.md @@ -0,0 +1,10 @@ +# freeclimb.Model.PlayBeep +Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/QueueResultStatus.md b/docs/QueueResultStatus.md new file mode 100644 index 00000000..bde3a988 --- /dev/null +++ b/docs/QueueResultStatus.md @@ -0,0 +1,9 @@ +# freeclimb.Model.QueueResultStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/RecordUtteranceTermReason.md b/docs/RecordUtteranceTermReason.md new file mode 100644 index 00000000..71620bc1 --- /dev/null +++ b/docs/RecordUtteranceTermReason.md @@ -0,0 +1,9 @@ +# freeclimb.Model.RecordUtteranceTermReason + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/RequestType.md b/docs/RequestType.md new file mode 100644 index 00000000..250d710d --- /dev/null +++ b/docs/RequestType.md @@ -0,0 +1,9 @@ +# freeclimb.Model.RequestType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/UpdateCallRequest.md b/docs/UpdateCallRequest.md index 8bf41296..8b0cfa3b 100644 --- a/docs/UpdateCallRequest.md +++ b/docs/UpdateCallRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Status** | **string** | Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. | +**Status** | **UpdateCallRequestStatus** | | [[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/UpdateCallRequestStatus.md b/docs/UpdateCallRequestStatus.md new file mode 100644 index 00000000..b3fd178d --- /dev/null +++ b/docs/UpdateCallRequestStatus.md @@ -0,0 +1,10 @@ +# freeclimb.Model.UpdateCallRequestStatus +Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/UpdateConferenceRequest.md b/docs/UpdateConferenceRequest.md index 7f380d41..df47a304 100644 --- a/docs/UpdateConferenceRequest.md +++ b/docs/UpdateConferenceRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Alias** | **string** | Description for this conference. Maximum 64 characters. | [optional] -**PlayBeep** | **string** | Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. | [optional] [default to PlayBeepEnum.ALWAYS] -**Status** | **string** | New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** | [optional] +**PlayBeep** | **PlayBeep** | | [optional] +**Status** | **UpdateConferenceRequestStatus** | | [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/UpdateConferenceRequestStatus.md b/docs/UpdateConferenceRequestStatus.md new file mode 100644 index 00000000..d7f234fd --- /dev/null +++ b/docs/UpdateConferenceRequestStatus.md @@ -0,0 +1,10 @@ +# freeclimb.Model.UpdateConferenceRequestStatus +New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[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/src/freeclimb.Test/Enums/AccountStatusTests.cs b/src/freeclimb.Test/Enums/AccountStatusTests.cs new file mode 100644 index 00000000..e4f4941e --- /dev/null +++ b/src/freeclimb.Test/Enums/AccountStatusTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing AccountStatus + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AccountStatusTests : IDisposable + { + // TODO uncomment below to declare an instance variable for AccountStatus + //private AccountStatus instance; + + public AccountStatusTests() + { + // TODO uncomment below to create an instance of AccountStatus + //instance = new AccountStatus(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of AccountStatus + /// + [Fact] + public void AccountStatusInstanceTest() + { + // TODO uncomment below to test "IsType" AccountStatus + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/AccountTypeTests.cs b/src/freeclimb.Test/Enums/AccountTypeTests.cs new file mode 100644 index 00000000..b0296be5 --- /dev/null +++ b/src/freeclimb.Test/Enums/AccountTypeTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing AccountType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AccountTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for AccountType + //private AccountType instance; + + public AccountTypeTests() + { + // TODO uncomment below to create an instance of AccountType + //instance = new AccountType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of AccountType + /// + [Fact] + public void AccountTypeInstanceTest() + { + // TODO uncomment below to test "IsType" AccountType + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/AnsweredByTests.cs b/src/freeclimb.Test/Enums/AnsweredByTests.cs new file mode 100644 index 00000000..24c30ae3 --- /dev/null +++ b/src/freeclimb.Test/Enums/AnsweredByTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing AnsweredBy + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class AnsweredByTests : IDisposable + { + // TODO uncomment below to declare an instance variable for AnsweredBy + //private AnsweredBy instance; + + public AnsweredByTests() + { + // TODO uncomment below to create an instance of AnsweredBy + //instance = new AnsweredBy(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of AnsweredBy + /// + [Fact] + public void AnsweredByInstanceTest() + { + // TODO uncomment below to test "IsType" AnsweredBy + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/CallDirectionTests.cs b/src/freeclimb.Test/Enums/CallDirectionTests.cs new file mode 100644 index 00000000..8485c436 --- /dev/null +++ b/src/freeclimb.Test/Enums/CallDirectionTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing CallDirection + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class CallDirectionTests : IDisposable + { + // TODO uncomment below to declare an instance variable for CallDirection + //private CallDirection instance; + + public CallDirectionTests() + { + // TODO uncomment below to create an instance of CallDirection + //instance = new CallDirection(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of CallDirection + /// + [Fact] + public void CallDirectionInstanceTest() + { + // TODO uncomment below to test "IsType" CallDirection + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/CallStatusTests.cs b/src/freeclimb.Test/Enums/CallStatusTests.cs new file mode 100644 index 00000000..bc4cdc16 --- /dev/null +++ b/src/freeclimb.Test/Enums/CallStatusTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing CallStatus + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class CallStatusTests : IDisposable + { + // TODO uncomment below to declare an instance variable for CallStatus + //private CallStatus instance; + + public CallStatusTests() + { + // TODO uncomment below to create an instance of CallStatus + //instance = new CallStatus(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of CallStatus + /// + [Fact] + public void CallStatusInstanceTest() + { + // TODO uncomment below to test "IsType" CallStatus + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/ConferenceStatusTests.cs b/src/freeclimb.Test/Enums/ConferenceStatusTests.cs new file mode 100644 index 00000000..4c8b590e --- /dev/null +++ b/src/freeclimb.Test/Enums/ConferenceStatusTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing ConferenceStatus + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ConferenceStatusTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ConferenceStatus + //private ConferenceStatus instance; + + public ConferenceStatusTests() + { + // TODO uncomment below to create an instance of ConferenceStatus + //instance = new ConferenceStatus(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ConferenceStatus + /// + [Fact] + public void ConferenceStatusInstanceTest() + { + // TODO uncomment below to test "IsType" ConferenceStatus + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/GetSpeechReasonTests.cs b/src/freeclimb.Test/Enums/GetSpeechReasonTests.cs new file mode 100644 index 00000000..e5199397 --- /dev/null +++ b/src/freeclimb.Test/Enums/GetSpeechReasonTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing GetSpeechReason + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GetSpeechReasonTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GetSpeechReason + //private GetSpeechReason instance; + + public GetSpeechReasonTests() + { + // TODO uncomment below to create an instance of GetSpeechReason + //instance = new GetSpeechReason(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GetSpeechReason + /// + [Fact] + public void GetSpeechReasonInstanceTest() + { + // TODO uncomment below to test "IsType" GetSpeechReason + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/GrammarFileBuiltInTests.cs b/src/freeclimb.Test/Enums/GrammarFileBuiltInTests.cs new file mode 100644 index 00000000..5eaabf02 --- /dev/null +++ b/src/freeclimb.Test/Enums/GrammarFileBuiltInTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing GrammarFileBuiltIn + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GrammarFileBuiltInTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GrammarFileBuiltIn + //private GrammarFileBuiltIn instance; + + public GrammarFileBuiltInTests() + { + // TODO uncomment below to create an instance of GrammarFileBuiltIn + //instance = new GrammarFileBuiltIn(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GrammarFileBuiltIn + /// + [Fact] + public void GrammarFileBuiltInInstanceTest() + { + // TODO uncomment below to test "IsType" GrammarFileBuiltIn + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/GrammarTypeTests.cs b/src/freeclimb.Test/Enums/GrammarTypeTests.cs new file mode 100644 index 00000000..496a0209 --- /dev/null +++ b/src/freeclimb.Test/Enums/GrammarTypeTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing GrammarType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class GrammarTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for GrammarType + //private GrammarType instance; + + public GrammarTypeTests() + { + // TODO uncomment below to create an instance of GrammarType + //instance = new GrammarType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of GrammarType + /// + [Fact] + public void GrammarTypeInstanceTest() + { + // TODO uncomment below to test "IsType" GrammarType + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/IfMachineTests.cs b/src/freeclimb.Test/Enums/IfMachineTests.cs new file mode 100644 index 00000000..0dfa865f --- /dev/null +++ b/src/freeclimb.Test/Enums/IfMachineTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing IfMachine + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class IfMachineTests : IDisposable + { + // TODO uncomment below to declare an instance variable for IfMachine + //private IfMachine instance; + + public IfMachineTests() + { + // TODO uncomment below to create an instance of IfMachine + //instance = new IfMachine(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of IfMachine + /// + [Fact] + public void IfMachineInstanceTest() + { + // TODO uncomment below to test "IsType" IfMachine + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/LanguageTests.cs b/src/freeclimb.Test/Enums/LanguageTests.cs new file mode 100644 index 00000000..39b19469 --- /dev/null +++ b/src/freeclimb.Test/Enums/LanguageTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing Language + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class LanguageTests : IDisposable + { + // TODO uncomment below to declare an instance variable for Language + //private Language instance; + + public LanguageTests() + { + // TODO uncomment below to create an instance of Language + //instance = new Language(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of Language + /// + [Fact] + public void LanguageInstanceTest() + { + // TODO uncomment below to test "IsType" Language + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/LogLevelTests.cs b/src/freeclimb.Test/Enums/LogLevelTests.cs new file mode 100644 index 00000000..a24cb63f --- /dev/null +++ b/src/freeclimb.Test/Enums/LogLevelTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing LogLevel + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class LogLevelTests : IDisposable + { + // TODO uncomment below to declare an instance variable for LogLevel + //private LogLevel instance; + + public LogLevelTests() + { + // TODO uncomment below to create an instance of LogLevel + //instance = new LogLevel(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of LogLevel + /// + [Fact] + public void LogLevelInstanceTest() + { + // TODO uncomment below to test "IsType" LogLevel + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/MachineTypeTests.cs b/src/freeclimb.Test/Enums/MachineTypeTests.cs new file mode 100644 index 00000000..27cf5e58 --- /dev/null +++ b/src/freeclimb.Test/Enums/MachineTypeTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing MachineType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class MachineTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for MachineType + //private MachineType instance; + + public MachineTypeTests() + { + // TODO uncomment below to create an instance of MachineType + //instance = new MachineType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of MachineType + /// + [Fact] + public void MachineTypeInstanceTest() + { + // TODO uncomment below to test "IsType" MachineType + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/MarchineTypeTests.cs b/src/freeclimb.Test/Enums/MarchineTypeTests.cs new file mode 100644 index 00000000..0b1c6580 --- /dev/null +++ b/src/freeclimb.Test/Enums/MarchineTypeTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing MarchineType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class MarchineTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for MarchineType + //private MarchineType instance; + + public MarchineTypeTests() + { + // TODO uncomment below to create an instance of MarchineType + //instance = new MarchineType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of MarchineType + /// + [Fact] + public void MarchineTypeInstanceTest() + { + // TODO uncomment below to test "IsType" MarchineType + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/MessageDirectionTests.cs b/src/freeclimb.Test/Enums/MessageDirectionTests.cs new file mode 100644 index 00000000..5c3f4cca --- /dev/null +++ b/src/freeclimb.Test/Enums/MessageDirectionTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing MessageDirection + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class MessageDirectionTests : IDisposable + { + // TODO uncomment below to declare an instance variable for MessageDirection + //private MessageDirection instance; + + public MessageDirectionTests() + { + // TODO uncomment below to create an instance of MessageDirection + //instance = new MessageDirection(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of MessageDirection + /// + [Fact] + public void MessageDirectionInstanceTest() + { + // TODO uncomment below to test "IsType" MessageDirection + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/MessageStatusTests.cs b/src/freeclimb.Test/Enums/MessageStatusTests.cs new file mode 100644 index 00000000..458334d9 --- /dev/null +++ b/src/freeclimb.Test/Enums/MessageStatusTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing MessageStatus + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class MessageStatusTests : IDisposable + { + // TODO uncomment below to declare an instance variable for MessageStatus + //private MessageStatus instance; + + public MessageStatusTests() + { + // TODO uncomment below to create an instance of MessageStatus + //instance = new MessageStatus(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of MessageStatus + /// + [Fact] + public void MessageStatusInstanceTest() + { + // TODO uncomment below to test "IsType" MessageStatus + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/PlayBeepTests.cs b/src/freeclimb.Test/Enums/PlayBeepTests.cs new file mode 100644 index 00000000..b38e5865 --- /dev/null +++ b/src/freeclimb.Test/Enums/PlayBeepTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing PlayBeep + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class PlayBeepTests : IDisposable + { + // TODO uncomment below to declare an instance variable for PlayBeep + //private PlayBeep instance; + + public PlayBeepTests() + { + // TODO uncomment below to create an instance of PlayBeep + //instance = new PlayBeep(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of PlayBeep + /// + [Fact] + public void PlayBeepInstanceTest() + { + // TODO uncomment below to test "IsType" PlayBeep + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/QueueResultStatusTests.cs b/src/freeclimb.Test/Enums/QueueResultStatusTests.cs new file mode 100644 index 00000000..d018bcd6 --- /dev/null +++ b/src/freeclimb.Test/Enums/QueueResultStatusTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing QueueResultStatus + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class QueueResultStatusTests : IDisposable + { + // TODO uncomment below to declare an instance variable for QueueResultStatus + //private QueueResultStatus instance; + + public QueueResultStatusTests() + { + // TODO uncomment below to create an instance of QueueResultStatus + //instance = new QueueResultStatus(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of QueueResultStatus + /// + [Fact] + public void QueueResultStatusInstanceTest() + { + // TODO uncomment below to test "IsType" QueueResultStatus + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/RecordUtteranceTermReasonTests.cs b/src/freeclimb.Test/Enums/RecordUtteranceTermReasonTests.cs new file mode 100644 index 00000000..5182b812 --- /dev/null +++ b/src/freeclimb.Test/Enums/RecordUtteranceTermReasonTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing RecordUtteranceTermReason + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class RecordUtteranceTermReasonTests : IDisposable + { + // TODO uncomment below to declare an instance variable for RecordUtteranceTermReason + //private RecordUtteranceTermReason instance; + + public RecordUtteranceTermReasonTests() + { + // TODO uncomment below to create an instance of RecordUtteranceTermReason + //instance = new RecordUtteranceTermReason(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of RecordUtteranceTermReason + /// + [Fact] + public void RecordUtteranceTermReasonInstanceTest() + { + // TODO uncomment below to test "IsType" RecordUtteranceTermReason + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/RequestTypeTests.cs b/src/freeclimb.Test/Enums/RequestTypeTests.cs new file mode 100644 index 00000000..40130637 --- /dev/null +++ b/src/freeclimb.Test/Enums/RequestTypeTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing RequestType + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class RequestTypeTests : IDisposable + { + // TODO uncomment below to declare an instance variable for RequestType + //private RequestType instance; + + public RequestTypeTests() + { + // TODO uncomment below to create an instance of RequestType + //instance = new RequestType(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of RequestType + /// + [Fact] + public void RequestTypeInstanceTest() + { + // TODO uncomment below to test "IsType" RequestType + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/UpdateCallRequestStatusTests.cs b/src/freeclimb.Test/Enums/UpdateCallRequestStatusTests.cs new file mode 100644 index 00000000..b1d35ddc --- /dev/null +++ b/src/freeclimb.Test/Enums/UpdateCallRequestStatusTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing UpdateCallRequestStatus + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class UpdateCallRequestStatusTests : IDisposable + { + // TODO uncomment below to declare an instance variable for UpdateCallRequestStatus + //private UpdateCallRequestStatus instance; + + public UpdateCallRequestStatusTests() + { + // TODO uncomment below to create an instance of UpdateCallRequestStatus + //instance = new UpdateCallRequestStatus(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of UpdateCallRequestStatus + /// + [Fact] + public void UpdateCallRequestStatusInstanceTest() + { + // TODO uncomment below to test "IsType" UpdateCallRequestStatus + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb.Test/Enums/UpdateConferenceRequestStatusTests.cs b/src/freeclimb.Test/Enums/UpdateConferenceRequestStatusTests.cs new file mode 100644 index 00000000..2ecd9bd5 --- /dev/null +++ b/src/freeclimb.Test/Enums/UpdateConferenceRequestStatusTests.cs @@ -0,0 +1,64 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using freeclimb.Api; +using freeclimb.Model; +using freeclimb.Client; +using System.Reflection; +using Newtonsoft.Json; + +using freeclimb.Enums; +namespace freeclimb.Test.Enums +{ + /// + /// Class for testing UpdateConferenceRequestStatus + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class UpdateConferenceRequestStatusTests : IDisposable + { + // TODO uncomment below to declare an instance variable for UpdateConferenceRequestStatus + //private UpdateConferenceRequestStatus instance; + + public UpdateConferenceRequestStatusTests() + { + // TODO uncomment below to create an instance of UpdateConferenceRequestStatus + //instance = new UpdateConferenceRequestStatus(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of UpdateConferenceRequestStatus + /// + [Fact] + public void UpdateConferenceRequestStatusInstanceTest() + { + // TODO uncomment below to test "IsType" UpdateConferenceRequestStatus + //Assert.IsType(instance); + } + + + + } + +} diff --git a/src/freeclimb/Api/DefaultApi.cs b/src/freeclimb/Api/DefaultApi.cs index 4bfc2445..a10f936d 100644 --- a/src/freeclimb/Api/DefaultApi.cs +++ b/src/freeclimb/Api/DefaultApi.cs @@ -16,6 +16,7 @@ using System.Net; using System.Net.Mime; using freeclimb.Client; +using freeclimb.Enums; using freeclimb.Model; namespace freeclimb.Api @@ -565,7 +566,7 @@ public interface IDefaultApiSync : IApiAccessor /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) /// Only show Calls spawned by the call with this ID. (optional) /// CallList - CallList ListCalls(bool? active = default(bool?), string to = default(string), string from = default(string), string status = default(string), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)); + CallList ListCalls(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)); /// /// List Calls @@ -582,7 +583,7 @@ public interface IDefaultApiSync : IApiAccessor /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) /// Only show Calls spawned by the call with this ID. (optional) /// ApiResponse of CallList - ApiResponse ListCallsWithHttpInfo(bool? active = default(bool?), string to = default(string), string from = default(string), string status = default(string), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)); + ApiResponse ListCallsWithHttpInfo(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)); /// /// List Conferences /// @@ -723,7 +724,7 @@ public interface IDefaultApiSync : IApiAccessor /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) /// MessagesList - MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), string direction = default(string)); + MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?)); /// /// List SMS Messages @@ -738,7 +739,7 @@ public interface IDefaultApiSync : IApiAccessor /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) /// ApiResponse of MessagesList - ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), string direction = default(string)); + ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?)); /// /// Make a Call /// @@ -1786,7 +1787,7 @@ public interface IDefaultApiAsync : IApiAccessor /// Cancellation Token to cancel the request. /// Task of CallList - System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), string status = default(string), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// List Calls @@ -1812,7 +1813,7 @@ public interface IDefaultApiAsync : IApiAccessor /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) - System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), string status = default(string), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// List Conferences /// @@ -2048,7 +2049,7 @@ public interface IDefaultApiAsync : IApiAccessor /// Cancellation Token to cancel the request. /// Task of MessagesList - System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), string direction = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// List SMS Messages @@ -2070,7 +2071,7 @@ public interface IDefaultApiAsync : IApiAccessor /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) - System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), string direction = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Make a Call /// @@ -7027,7 +7028,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) /// Only show Calls spawned by the call with this ID. (optional) /// CallList - public CallList ListCalls(bool? active = default(bool?), string to = default(string), string from = default(string), string status = default(string), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) + public CallList ListCalls(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { freeclimb.Client.ApiResponse localVarResponse = ListCallsWithHttpInfo(active , to , from , status , startTime , endTime , parentCallId ); return localVarResponse.Data; @@ -7045,7 +7046,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) /// Only show Calls spawned by the call with this ID. (optional) /// ApiResponse of CallList - public freeclimb.Client.ApiResponse ListCallsWithHttpInfo(bool? active = default(bool?), string to = default(string), string from = default(string), string status = default(string), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) + public freeclimb.Client.ApiResponse ListCallsWithHttpInfo(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { @@ -7149,7 +7150,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// Cancellation Token to cancel the request. /// Task of CallList - public async System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), string status = default(string), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { freeclimb.Client.ApiResponse localVarResponse = await ListCallsWithHttpInfoAsync(active, to, from, status, startTime, endTime, parentCallId, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; @@ -7176,7 +7177,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) - public async System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), string status = default(string), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { @@ -8353,7 +8354,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) /// MessagesList - public MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), string direction = default(string)) + public MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?)) { freeclimb.Client.ApiResponse localVarResponse = ListSmsMessagesWithHttpInfo(to , from , beginTime , endTime , direction ); return localVarResponse.Data; @@ -8369,7 +8370,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) /// ApiResponse of MessagesList - public freeclimb.Client.ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), string direction = default(string)) + public freeclimb.Client.ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?)) { @@ -8459,7 +8460,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Cancellation Token to cancel the request. /// Task of MessagesList - public async System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), string direction = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { freeclimb.Client.ApiResponse localVarResponse = await ListSmsMessagesWithHttpInfoAsync(to, from, beginTime, endTime, direction, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; @@ -8482,7 +8483,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) - public async System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), string direction = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { diff --git a/src/freeclimb/Enums/AccountStatus.cs b/src/freeclimb/Enums/AccountStatus.cs new file mode 100644 index 00000000..f5b0e6aa --- /dev/null +++ b/src/freeclimb/Enums/AccountStatus.cs @@ -0,0 +1,57 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// The status of this account. It is one of: active, suspended, or closed. + /// + /// The status of this account. It is one of: active, suspended, or closed. + [JsonConverter(typeof(StringEnumConverter))] + public enum AccountStatus + { + /// + /// Enum CLOSED for value: closed + /// + [EnumMember(Value = "closed")] + CLOSED = 1, + + /// + /// Enum SUSPENDED for value: suspended + /// + [EnumMember(Value = "suspended")] + SUSPENDED = 2, + + /// + /// Enum ACTIVE for value: active + /// + [EnumMember(Value = "active")] + ACTIVE = 3 + + } + +} diff --git a/src/freeclimb/Enums/AccountType.cs b/src/freeclimb/Enums/AccountType.cs new file mode 100644 index 00000000..f0db6648 --- /dev/null +++ b/src/freeclimb/Enums/AccountType.cs @@ -0,0 +1,51 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// The type of this account. It is one of: trial or full. + /// + /// The type of this account. It is one of: trial or full. + [JsonConverter(typeof(StringEnumConverter))] + public enum AccountType + { + /// + /// Enum TRIAL for value: trial + /// + [EnumMember(Value = "trial")] + TRIAL = 1, + + /// + /// Enum FULL for value: full + /// + [EnumMember(Value = "full")] + FULL = 2 + + } + +} diff --git a/src/freeclimb/Enums/AnsweredBy.cs b/src/freeclimb/Enums/AnsweredBy.cs new file mode 100644 index 00000000..426d8185 --- /dev/null +++ b/src/freeclimb/Enums/AnsweredBy.cs @@ -0,0 +1,51 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. + /// + /// If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. + [JsonConverter(typeof(StringEnumConverter))] + public enum AnsweredBy + { + /// + /// Enum HUMAN for value: human + /// + [EnumMember(Value = "human")] + HUMAN = 1, + + /// + /// Enum MACHINE for value: machine + /// + [EnumMember(Value = "machine")] + MACHINE = 2 + + } + +} diff --git a/src/freeclimb/Enums/CallDirection.cs b/src/freeclimb/Enums/CallDirection.cs new file mode 100644 index 00000000..d64e9cba --- /dev/null +++ b/src/freeclimb/Enums/CallDirection.cs @@ -0,0 +1,57 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. + /// + /// Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. + [JsonConverter(typeof(StringEnumConverter))] + public enum CallDirection + { + /// + /// Enum INBOUND for value: inbound + /// + [EnumMember(Value = "inbound")] + INBOUND = 1, + + /// + /// Enum OUTBOUND_API for value: outboundAPI + /// + [EnumMember(Value = "outboundAPI")] + OUTBOUND_API = 2, + + /// + /// Enum OUTBOUND_DIAL for value: outboundDial + /// + [EnumMember(Value = "outboundDial")] + OUTBOUND_DIAL = 3 + + } + +} diff --git a/src/freeclimb/Enums/CallStatus.cs b/src/freeclimb/Enums/CallStatus.cs new file mode 100644 index 00000000..fcceec7c --- /dev/null +++ b/src/freeclimb/Enums/CallStatus.cs @@ -0,0 +1,87 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. + /// + /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. + [JsonConverter(typeof(StringEnumConverter))] + public enum CallStatus + { + /// + /// Enum QUEUED for value: queued + /// + [EnumMember(Value = "queued")] + QUEUED = 1, + + /// + /// Enum RINGING for value: ringing + /// + [EnumMember(Value = "ringing")] + RINGING = 2, + + /// + /// Enum IN_PROGRESS for value: inProgress + /// + [EnumMember(Value = "inProgress")] + IN_PROGRESS = 3, + + /// + /// Enum CANCELED for value: canceled + /// + [EnumMember(Value = "canceled")] + CANCELED = 4, + + /// + /// Enum COMPLETED for value: completed + /// + [EnumMember(Value = "completed")] + COMPLETED = 5, + + /// + /// Enum FAILED for value: failed + /// + [EnumMember(Value = "failed")] + FAILED = 6, + + /// + /// Enum BUSY for value: busy + /// + [EnumMember(Value = "busy")] + BUSY = 7, + + /// + /// Enum NO_ANSWER for value: noAnswer + /// + [EnumMember(Value = "noAnswer")] + NO_ANSWER = 8 + + } + +} diff --git a/src/freeclimb/Enums/ConferenceStatus.cs b/src/freeclimb/Enums/ConferenceStatus.cs new file mode 100644 index 00000000..13052795 --- /dev/null +++ b/src/freeclimb/Enums/ConferenceStatus.cs @@ -0,0 +1,63 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. + /// + /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. + [JsonConverter(typeof(StringEnumConverter))] + public enum ConferenceStatus + { + /// + /// Enum EMPTY for value: empty + /// + [EnumMember(Value = "empty")] + EMPTY = 1, + + /// + /// Enum POPULATED for value: populated + /// + [EnumMember(Value = "populated")] + POPULATED = 2, + + /// + /// Enum IN_PROGRESS for value: inProgress + /// + [EnumMember(Value = "inProgress")] + IN_PROGRESS = 3, + + /// + /// Enum TERMINATED for value: terminated + /// + [EnumMember(Value = "terminated")] + TERMINATED = 4 + + } + +} diff --git a/src/freeclimb/Enums/Extensions.cs b/src/freeclimb/Enums/Extensions.cs new file mode 100644 index 00000000..6edfce73 --- /dev/null +++ b/src/freeclimb/Enums/Extensions.cs @@ -0,0 +1,18 @@ +using System; +using System.Linq; +using System.Reflection; +using System.Runtime.Serialization; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace freeclimb.Enums { + + public static partial class Extensions { + public static string GetMemberValue(this Enum @this) { + FieldInfo fieldInfo = @this.GetType().GetField(@this.ToString()); + if (fieldInfo == null) return null; + var attribute = (EnumMemberAttribute)fieldInfo.GetCustomAttribute(typeof (EnumMemberAttribute)); + return attribute.Value; + } + } +} \ No newline at end of file diff --git a/src/freeclimb/Enums/GetSpeechReason.cs b/src/freeclimb/Enums/GetSpeechReason.cs new file mode 100644 index 00000000..3777bbef --- /dev/null +++ b/src/freeclimb/Enums/GetSpeechReason.cs @@ -0,0 +1,74 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Defines GetSpeechReason + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum GetSpeechReason + { + /// + /// Enum ERROR for value: error + /// + [EnumMember(Value = "error")] + ERROR = 1, + + /// + /// Enum HANGUP for value: hangup + /// + [EnumMember(Value = "hangup")] + HANGUP = 2, + + /// + /// Enum DIGIT for value: digit + /// + [EnumMember(Value = "digit")] + DIGIT = 3, + + /// + /// Enum NO_INPUT for value: noInput + /// + [EnumMember(Value = "noInput")] + NO_INPUT = 4, + + /// + /// Enum NO_MATCH for value: noMatch + /// + [EnumMember(Value = "noMatch")] + NO_MATCH = 5, + + /// + /// Enum RECOGNITION for value: recognition + /// + [EnumMember(Value = "recognition")] + RECOGNITION = 6 + + } + +} diff --git a/src/freeclimb/Enums/GrammarFileBuiltIn.cs b/src/freeclimb/Enums/GrammarFileBuiltIn.cs new file mode 100644 index 00000000..7be1cea8 --- /dev/null +++ b/src/freeclimb/Enums/GrammarFileBuiltIn.cs @@ -0,0 +1,128 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Defines GrammarFileBuiltIn + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum GrammarFileBuiltIn + { + /// + /// Enum ALPHNUM6 for value: ALPHNUM6 + /// + [EnumMember(Value = "ALPHNUM6")] + ALPHNUM6 = 1, + + /// + /// Enum ANY_DIG for value: ANY_DIG + /// + [EnumMember(Value = "ANY_DIG")] + ANY_DIG = 2, + + /// + /// Enum DIG1 for value: DIG1 + /// + [EnumMember(Value = "DIG1")] + DIG1 = 3, + + /// + /// Enum DIG2 for value: DIG2 + /// + [EnumMember(Value = "DIG2")] + DIG2 = 4, + + /// + /// Enum DIG3 for value: DIG3 + /// + [EnumMember(Value = "DIG3")] + DIG3 = 5, + + /// + /// Enum DIG4 for value: DIG4 + /// + [EnumMember(Value = "DIG4")] + DIG4 = 6, + + /// + /// Enum DIG5 for value: DIG5 + /// + [EnumMember(Value = "DIG5")] + DIG5 = 7, + + /// + /// Enum DIG6 for value: DIG6 + /// + [EnumMember(Value = "DIG6")] + DIG6 = 8, + + /// + /// Enum DIG7 for value: DIG7 + /// + [EnumMember(Value = "DIG7")] + DIG7 = 9, + + /// + /// Enum DIG8 for value: DIG8 + /// + [EnumMember(Value = "DIG8")] + DIG8 = 10, + + /// + /// Enum DIG9 for value: DIG9 + /// + [EnumMember(Value = "DIG9")] + DIG9 = 11, + + /// + /// Enum DIG10 for value: DIG10 + /// + [EnumMember(Value = "DIG10")] + DIG10 = 12, + + /// + /// Enum DIG11 for value: DIG11 + /// + [EnumMember(Value = "DIG11")] + DIG11 = 13, + + /// + /// Enum UP_TO_20_DIGIT_SEQUENCE for value: UP_TO_20_DIGIT_SEQUENCE + /// + [EnumMember(Value = "UP_TO_20_DIGIT_SEQUENCE")] + UP_TO_20_DIGIT_SEQUENCE = 14, + + /// + /// Enum VERSAY_YESNO for value: VERSAY_YESNO + /// + [EnumMember(Value = "VERSAY_YESNO")] + VERSAY_YESNO = 15 + + } + +} diff --git a/src/freeclimb/Enums/GrammarType.cs b/src/freeclimb/Enums/GrammarType.cs new file mode 100644 index 00000000..1f7fa81a --- /dev/null +++ b/src/freeclimb/Enums/GrammarType.cs @@ -0,0 +1,51 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. + /// + /// The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. + [JsonConverter(typeof(StringEnumConverter))] + public enum GrammarType + { + /// + /// Enum URL for value: URL + /// + [EnumMember(Value = "URL")] + URL = 1, + + /// + /// Enum BUILT_IN for value: BUILTIN + /// + [EnumMember(Value = "BUILTIN")] + BUILT_IN = 2 + + } + +} diff --git a/src/freeclimb/Enums/IfMachine.cs b/src/freeclimb/Enums/IfMachine.cs new file mode 100644 index 00000000..3963cd5c --- /dev/null +++ b/src/freeclimb/Enums/IfMachine.cs @@ -0,0 +1,51 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. + /// + /// Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. + [JsonConverter(typeof(StringEnumConverter))] + public enum IfMachine + { + /// + /// Enum REDIRECT for value: redirect + /// + [EnumMember(Value = "redirect")] + REDIRECT = 1, + + /// + /// Enum HANGUP for value: hangup + /// + [EnumMember(Value = "hangup")] + HANGUP = 2 + + } + +} diff --git a/src/freeclimb/Enums/Language.cs b/src/freeclimb/Enums/Language.cs new file mode 100644 index 00000000..13e0163b --- /dev/null +++ b/src/freeclimb/Enums/Language.cs @@ -0,0 +1,194 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Defines Language + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum Language + { + /// + /// Enum CATALAN for value: ca-ES + /// + [EnumMember(Value = "ca-ES")] + CATALAN = 1, + + /// + /// Enum DANISH for value: da-DK + /// + [EnumMember(Value = "da-DK")] + DANISH = 2, + + /// + /// Enum GERMAN for value: de-DE + /// + [EnumMember(Value = "de-DE")] + GERMAN = 3, + + /// + /// Enum ENGLISH_AU for value: en-AU + /// + [EnumMember(Value = "en-AU")] + ENGLISH_AU = 4, + + /// + /// Enum ENGLISH_CA for value: en-CA + /// + [EnumMember(Value = "en-CA")] + ENGLISH_CA = 5, + + /// + /// Enum ENGLISH_UK for value: en-GB + /// + [EnumMember(Value = "en-GB")] + ENGLISH_UK = 6, + + /// + /// Enum ENGLISH_IN for value: en-IN + /// + [EnumMember(Value = "en-IN")] + ENGLISH_IN = 7, + + /// + /// Enum ENGLISH_US for value: en-US + /// + [EnumMember(Value = "en-US")] + ENGLISH_US = 8, + + /// + /// Enum ENGLISH_ES for value: es-ES + /// + [EnumMember(Value = "es-ES")] + ENGLISH_ES = 9, + + /// + /// Enum ENGLISH_MX for value: es-MX + /// + [EnumMember(Value = "es-MX")] + ENGLISH_MX = 10, + + /// + /// Enum FINNISH for value: fi-FI + /// + [EnumMember(Value = "fi-FI")] + FINNISH = 11, + + /// + /// Enum FRENCH_CA for value: fr-CA + /// + [EnumMember(Value = "fr-CA")] + FRENCH_CA = 12, + + /// + /// Enum FRENCH_FR for value: fr-FR + /// + [EnumMember(Value = "fr-FR")] + FRENCH_FR = 13, + + /// + /// Enum ITALIAN for value: it-IT + /// + [EnumMember(Value = "it-IT")] + ITALIAN = 14, + + /// + /// Enum JAPANESE for value: ja-JP + /// + [EnumMember(Value = "ja-JP")] + JAPANESE = 15, + + /// + /// Enum KOREAN for value: ko-KR + /// + [EnumMember(Value = "ko-KR")] + KOREAN = 16, + + /// + /// Enum NORWEGIAN for value: nb-NO + /// + [EnumMember(Value = "nb-NO")] + NORWEGIAN = 17, + + /// + /// Enum DUTCH for value: nl-NL + /// + [EnumMember(Value = "nl-NL")] + DUTCH = 18, + + /// + /// Enum POLISH for value: pl-PL + /// + [EnumMember(Value = "pl-PL")] + POLISH = 19, + + /// + /// Enum PORTUGESE_BR for value: pt-BR + /// + [EnumMember(Value = "pt-BR")] + PORTUGESE_BR = 20, + + /// + /// Enum PORTUGESE_PT for value: pt-PT + /// + [EnumMember(Value = "pt-PT")] + PORTUGESE_PT = 21, + + /// + /// Enum RUSSIAN for value: ru-RU + /// + [EnumMember(Value = "ru-RU")] + RUSSIAN = 22, + + /// + /// Enum SWEDISH for value: sv-SE + /// + [EnumMember(Value = "sv-SE")] + SWEDISH = 23, + + /// + /// Enum CHINESE_CN for value: zh-CN + /// + [EnumMember(Value = "zh-CN")] + CHINESE_CN = 24, + + /// + /// Enum CHINESE_HK for value: zh-HK + /// + [EnumMember(Value = "zh-HK")] + CHINESE_HK = 25, + + /// + /// Enum CHINESE_TW for value: zh-TW + /// + [EnumMember(Value = "zh-TW")] + CHINESE_TW = 26 + + } + +} diff --git a/src/freeclimb/Enums/LogLevel.cs b/src/freeclimb/Enums/LogLevel.cs new file mode 100644 index 00000000..cab0a5e5 --- /dev/null +++ b/src/freeclimb/Enums/LogLevel.cs @@ -0,0 +1,57 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Level of the log. Possible values are info, warning, and error. + /// + /// Level of the log. Possible values are info, warning, and error. + [JsonConverter(typeof(StringEnumConverter))] + public enum LogLevel + { + /// + /// Enum INFO for value: info + /// + [EnumMember(Value = "info")] + INFO = 1, + + /// + /// Enum WARNING for value: warning + /// + [EnumMember(Value = "warning")] + WARNING = 2, + + /// + /// Enum ERROR for value: error + /// + [EnumMember(Value = "error")] + ERROR = 3 + + } + +} diff --git a/src/freeclimb/Enums/MachineType.cs b/src/freeclimb/Enums/MachineType.cs new file mode 100644 index 00000000..8c93b9a1 --- /dev/null +++ b/src/freeclimb/Enums/MachineType.cs @@ -0,0 +1,50 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Defines MachineType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum MachineType + { + /// + /// Enum ANSWERING_MACHINE for value: answeringMachine + /// + [EnumMember(Value = "answeringMachine")] + ANSWERING_MACHINE = 1, + + /// + /// Enum FAX_MACHINE for value: faxMachine + /// + [EnumMember(Value = "faxMachine")] + FAX_MACHINE = 2 + + } + +} diff --git a/src/freeclimb/Enums/MarchineType.cs b/src/freeclimb/Enums/MarchineType.cs new file mode 100644 index 00000000..0537fa62 --- /dev/null +++ b/src/freeclimb/Enums/MarchineType.cs @@ -0,0 +1,50 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Defines MarchineType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum MarchineType + { + /// + /// Enum ANSWERING_MACHINE for value: answeringMachine + /// + [EnumMember(Value = "answeringMachine")] + ANSWERING_MACHINE = 1, + + /// + /// Enum FAX_MACHINE for value: faxMachine + /// + [EnumMember(Value = "faxMachine")] + FAX_MACHINE = 2 + + } + +} diff --git a/src/freeclimb/Enums/MessageDirection.cs b/src/freeclimb/Enums/MessageDirection.cs new file mode 100644 index 00000000..6eabb1fe --- /dev/null +++ b/src/freeclimb/Enums/MessageDirection.cs @@ -0,0 +1,50 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Defines MessageDirection + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum MessageDirection + { + /// + /// Enum INBOUND for value: inbound + /// + [EnumMember(Value = "inbound")] + INBOUND = 1, + + /// + /// Enum OUTBOUND for value: outbound + /// + [EnumMember(Value = "outbound")] + OUTBOUND = 2 + + } + +} diff --git a/src/freeclimb/Enums/MessageStatus.cs b/src/freeclimb/Enums/MessageStatus.cs new file mode 100644 index 00000000..b2745902 --- /dev/null +++ b/src/freeclimb/Enums/MessageStatus.cs @@ -0,0 +1,105 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown + /// + /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown + [JsonConverter(typeof(StringEnumConverter))] + public enum MessageStatus + { + /// + /// Enum NEW for value: new + /// + [EnumMember(Value = "new")] + NEW = 1, + + /// + /// Enum QUEUED for value: queued + /// + [EnumMember(Value = "queued")] + QUEUED = 2, + + /// + /// Enum REJECTED for value: rejected + /// + [EnumMember(Value = "rejected")] + REJECTED = 3, + + /// + /// Enum SENDING for value: sending + /// + [EnumMember(Value = "sending")] + SENDING = 4, + + /// + /// Enum SENT for value: sent + /// + [EnumMember(Value = "sent")] + SENT = 5, + + /// + /// Enum FAILED for value: failed + /// + [EnumMember(Value = "failed")] + FAILED = 6, + + /// + /// Enum RECEIVED for value: received + /// + [EnumMember(Value = "received")] + RECEIVED = 7, + + /// + /// Enum UNDELIVERED for value: undelivered + /// + [EnumMember(Value = "undelivered")] + UNDELIVERED = 8, + + /// + /// Enum EXPIRED for value: expired + /// + [EnumMember(Value = "expired")] + EXPIRED = 9, + + /// + /// Enum DELETED for value: deleted + /// + [EnumMember(Value = "deleted")] + DELETED = 10, + + /// + /// Enum UNKNOWN for value: unknown + /// + [EnumMember(Value = "unknown")] + UNKNOWN = 11 + + } + +} diff --git a/src/freeclimb/Enums/PlayBeep.cs b/src/freeclimb/Enums/PlayBeep.cs new file mode 100644 index 00000000..a20f74bc --- /dev/null +++ b/src/freeclimb/Enums/PlayBeep.cs @@ -0,0 +1,63 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. + /// + /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. + [JsonConverter(typeof(StringEnumConverter))] + public enum PlayBeep + { + /// + /// Enum ALWAYS for value: always + /// + [EnumMember(Value = "always")] + ALWAYS = 1, + + /// + /// Enum NEVER for value: never + /// + [EnumMember(Value = "never")] + NEVER = 2, + + /// + /// Enum ENTRY_ONLY for value: entryOnly + /// + [EnumMember(Value = "entryOnly")] + ENTRY_ONLY = 3, + + /// + /// Enum EXIT_ONLY for value: exitOnly + /// + [EnumMember(Value = "exitOnly")] + EXIT_ONLY = 4 + + } + +} diff --git a/src/freeclimb/Enums/QueueResultStatus.cs b/src/freeclimb/Enums/QueueResultStatus.cs new file mode 100644 index 00000000..c4e170f2 --- /dev/null +++ b/src/freeclimb/Enums/QueueResultStatus.cs @@ -0,0 +1,62 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Defines QueueResultStatus + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum QueueResultStatus + { + /// + /// Enum QUEUE_FULL for value: queueFull + /// + [EnumMember(Value = "queueFull")] + QUEUE_FULL = 1, + + /// + /// Enum DEQUEUED for value: dequeued + /// + [EnumMember(Value = "dequeued")] + DEQUEUED = 2, + + /// + /// Enum HANGUP for value: hangup + /// + [EnumMember(Value = "hangup")] + HANGUP = 3, + + /// + /// Enum SYSTEM_ERROR for value: systemError + /// + [EnumMember(Value = "systemError")] + SYSTEM_ERROR = 4 + + } + +} diff --git a/src/freeclimb/Enums/RecordUtteranceTermReason.cs b/src/freeclimb/Enums/RecordUtteranceTermReason.cs new file mode 100644 index 00000000..a9b4e5bc --- /dev/null +++ b/src/freeclimb/Enums/RecordUtteranceTermReason.cs @@ -0,0 +1,62 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Defines RecordUtteranceTermReason + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum RecordUtteranceTermReason + { + /// + /// Enum FINISH_KEY for value: finishKey + /// + [EnumMember(Value = "finishKey")] + FINISH_KEY = 1, + + /// + /// Enum TIMEOUT for value: timeout + /// + [EnumMember(Value = "timeout")] + TIMEOUT = 2, + + /// + /// Enum HANGUP for value: hangup + /// + [EnumMember(Value = "hangup")] + HANGUP = 3, + + /// + /// Enum MAX_LENGTH for value: maxLength + /// + [EnumMember(Value = "maxLength")] + MAX_LENGTH = 4 + + } + +} diff --git a/src/freeclimb/Enums/Reflection.cs b/src/freeclimb/Enums/Reflection.cs new file mode 100644 index 00000000..91669882 --- /dev/null +++ b/src/freeclimb/Enums/Reflection.cs @@ -0,0 +1,87 @@ +using System; +using System.Linq; +using System.Reflection; +using System.Runtime.Serialization; +using System.ComponentModel; +using System.Runtime.CompilerServices; + +namespace freeclimb.Enums { + + public static class Reflection { + /// + /// Retrieves an enum item from a specified string by matching the string to the EnumMemberAttribute + /// elements assigned to each enum item + /// + /// The enum type that should be returned + /// The value that should be searched + /// Whether string comparison of values should be case-sensitive or not + /// The matched enum item + /// Thrown if no enum item could be found with the corresponding value + public static TEnum GetEnumByValue(string value, bool ignoreCase = false) + // Add a condition to the generic type + where TEnum : Enum + { + // Loop through all the items in the specified enum + foreach (var item in typeof(TEnum).GetFields()) + { + // Check to see if the enum item has a value attribute + if (Attribute.GetCustomAttribute(item, typeof(EnumMemberAttribute)) is + EnumMemberAttribute attribute) + { + // If the enum item has a value attribute, then check if + // the value matches the given value parameter + if (string.Equals(attribute.Value, value, + ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)) + return (TEnum) item.GetValue(null); + } + } + + // If no enum item was found with the specified value , throw an + // exception + throw new ArgumentException($"Enum item with value \"{value}\" could not be found", + nameof(value)); + } + + /// + /// Tries to retrieve an enum item from the specified string by matching the string to the EnumMemberAttribute + /// elements assigned to each enum item + /// + /// The enum type that should be retrieved + /// The value that should be searched + /// Whether string comparison of values should be case-sensitive or not + /// The matched enum item if it was found + /// Whether or not the enum item was found or not + public static bool TryGetEnumByValue(string value, bool ignoreCase, out TEnum result) + where TEnum : Enum + { + try + { + // We try to get the enum using our original method + result = GetEnumByValue(value, ignoreCase); + return true; + } + catch (ArgumentException) + { + // If we cannot retrieve the enum item, set it to the default and + // return false + result = default(TEnum); + return false; + } + } + + /// + /// Tries to retrieve an enum item from the specified string by matching the string to the EnumMemberAttribute + /// elements assigned to each enum item + /// + /// The enum type that should be retrieved + /// The value that should be searched + /// The matched enum item if it was found + /// Whether or not the enum item was found or not + public static bool TryGetEnumByValue(string value, out TEnum result) + where TEnum : Enum + { + return TryGetEnumByValue(value, false, out result); + } + } + +} \ No newline at end of file diff --git a/src/freeclimb/Enums/RequestType.cs b/src/freeclimb/Enums/RequestType.cs new file mode 100644 index 00000000..0a5642d6 --- /dev/null +++ b/src/freeclimb/Enums/RequestType.cs @@ -0,0 +1,176 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Defines RequestType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum RequestType + { + /// + /// Enum INBOUND_CALL for value: inboundCall + /// + [EnumMember(Value = "inboundCall")] + INBOUND_CALL = 1, + + /// + /// Enum RECORD for value: record + /// + [EnumMember(Value = "record")] + RECORD = 2, + + /// + /// Enum GET_DIGITS for value: getDigits + /// + [EnumMember(Value = "getDigits")] + GET_DIGITS = 3, + + /// + /// Enum GET_SPEECH for value: getSpeech + /// + [EnumMember(Value = "getSpeech")] + GET_SPEECH = 4, + + /// + /// Enum REDIRECT for value: redirect + /// + [EnumMember(Value = "redirect")] + REDIRECT = 5, + + /// + /// Enum PAUSE for value: pause + /// + [EnumMember(Value = "pause")] + PAUSE = 6, + + /// + /// Enum OUT_DIAL_START for value: outDialStart + /// + [EnumMember(Value = "outDialStart")] + OUT_DIAL_START = 7, + + /// + /// Enum OUT_DIAL_CONNECT for value: outDialConnect + /// + [EnumMember(Value = "outDialConnect")] + OUT_DIAL_CONNECT = 8, + + /// + /// Enum OUT_DIAL_API_CONNECT for value: outDialApiConnect + /// + [EnumMember(Value = "outDialApiConnect")] + OUT_DIAL_API_CONNECT = 9, + + /// + /// Enum MACHINE_DETECTED for value: machineDetected + /// + [EnumMember(Value = "machineDetected")] + MACHINE_DETECTED = 10, + + /// + /// Enum DEQUEUE for value: dequeue + /// + [EnumMember(Value = "dequeue")] + DEQUEUE = 11, + + /// + /// Enum QUEUE_WAIT for value: queueWait + /// + [EnumMember(Value = "queueWait")] + QUEUE_WAIT = 12, + + /// + /// Enum ADD_TO_QUEUE_NOTIFICATION for value: addToQueueNotification + /// + [EnumMember(Value = "addToQueueNotification")] + ADD_TO_QUEUE_NOTIFICATION = 13, + + /// + /// Enum REMOVE_FROM_QUEUE_NOTIFICATION for value: removeFromQueueNotification + /// + [EnumMember(Value = "removeFromQueueNotification")] + REMOVE_FROM_QUEUE_NOTIFICATION = 14, + + /// + /// Enum CALL_STATUS for value: callStatus + /// + [EnumMember(Value = "callStatus")] + CALL_STATUS = 15, + + /// + /// Enum CREATE_CONFERENCE for value: createConference + /// + [EnumMember(Value = "createConference")] + CREATE_CONFERENCE = 16, + + /// + /// Enum CONFERENCE_STATUS for value: conferenceStatus + /// + [EnumMember(Value = "conferenceStatus")] + CONFERENCE_STATUS = 17, + + /// + /// Enum LEAVE_CONFERENCE for value: leaveConference + /// + [EnumMember(Value = "leaveConference")] + LEAVE_CONFERENCE = 18, + + /// + /// Enum ADD_TO_CONFERENCE_NOTIFICATION for value: addToConferenceNotification + /// + [EnumMember(Value = "addToConferenceNotification")] + ADD_TO_CONFERENCE_NOTIFICATION = 19, + + /// + /// Enum CONFERENCE_RECORDING_STATUS for value: conferenceRecordingStatus + /// + [EnumMember(Value = "conferenceRecordingStatus")] + CONFERENCE_RECORDING_STATUS = 20, + + /// + /// Enum CONFERENCE_CALL_CONTROL for value: conferenceCallControl + /// + [EnumMember(Value = "conferenceCallControl")] + CONFERENCE_CALL_CONTROL = 21, + + /// + /// Enum MESSAGE_DELIVERY for value: messageDelivery + /// + [EnumMember(Value = "messageDelivery")] + MESSAGE_DELIVERY = 22, + + /// + /// Enum MESSAGE_STATUS for value: messageStatus + /// + [EnumMember(Value = "messageStatus")] + MESSAGE_STATUS = 23 + + } + +} diff --git a/src/freeclimb/Enums/UpdateCallRequestStatus.cs b/src/freeclimb/Enums/UpdateCallRequestStatus.cs new file mode 100644 index 00000000..64365964 --- /dev/null +++ b/src/freeclimb/Enums/UpdateCallRequestStatus.cs @@ -0,0 +1,51 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. + /// + /// Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. + [JsonConverter(typeof(StringEnumConverter))] + public enum UpdateCallRequestStatus + { + /// + /// Enum CANCELED for value: canceled + /// + [EnumMember(Value = "canceled")] + CANCELED = 1, + + /// + /// Enum COMPLETED for value: completed + /// + [EnumMember(Value = "completed")] + COMPLETED = 2 + + } + +} diff --git a/src/freeclimb/Enums/UpdateConferenceRequestStatus.cs b/src/freeclimb/Enums/UpdateConferenceRequestStatus.cs new file mode 100644 index 00000000..a4a95a6a --- /dev/null +++ b/src/freeclimb/Enums/UpdateConferenceRequestStatus.cs @@ -0,0 +1,51 @@ +/* + * 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. + * + * The version of the OpenAPI document: 1.0.0 + * Contact: support@freeclimb.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; + +namespace freeclimb.Enums +{ + /// + /// New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** + /// + /// New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** + [JsonConverter(typeof(StringEnumConverter))] + public enum UpdateConferenceRequestStatus + { + /// + /// Enum EMPTY for value: empty + /// + [EnumMember(Value = "empty")] + EMPTY = 1, + + /// + /// Enum TERMINATED for value: terminated + /// + [EnumMember(Value = "terminated")] + TERMINATED = 2 + + } + +} diff --git a/src/freeclimb/Model/AccountRequest.cs b/src/freeclimb/Model/AccountRequest.cs index e4690e77..1cbfea8c 100644 --- a/src/freeclimb/Model/AccountRequest.cs +++ b/src/freeclimb/Model/AccountRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/AccountResult.cs b/src/freeclimb/Model/AccountResult.cs index e1688e1d..4ebd67c5 100644 --- a/src/freeclimb/Model/AccountResult.cs +++ b/src/freeclimb/Model/AccountResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,68 +33,18 @@ namespace freeclimb.Model [DataContract(Name = "AccountResult")] public partial class AccountResult : IEquatable, IValidatableObject { - /// - /// The type of this account. It is one of: trial or full. - /// - /// The type of this account. It is one of: trial or full. - [JsonConverter(typeof(StringEnumConverter))] - public enum TypeEnum - { - /// - /// Enum TRIAL for value: trial - /// - [EnumMember(Value = "trial")] - TRIAL = 1, - - /// - /// Enum FULL for value: full - /// - [EnumMember(Value = "full")] - FULL = 2 - - } - /// - /// The type of this account. It is one of: trial or full. + /// Gets or Sets Type /// - /// The type of this account. It is one of: trial or full. - [DataMember(Name = "type", EmitDefaultValue = true)] - public TypeEnum? Type { get; set; } - /// - /// The status of this account. It is one of: active, suspended, or closed. - /// - /// The status of this account. It is one of: active, suspended, or closed. - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum ACTIVE for value: active - /// - [EnumMember(Value = "active")] - ACTIVE = 1, - - /// - /// Enum SUSPENDED for value: suspended - /// - [EnumMember(Value = "suspended")] - SUSPENDED = 2, - - /// - /// Enum CLOSED for value: closed - /// - [EnumMember(Value = "closed")] - CLOSED = 3 - - } - + [DataMember(Name = "type", EmitDefaultValue = false)] + public AccountType? Type { get; set; } /// - /// The status of this account. It is one of: active, suspended, or closed. + /// Gets or Sets Status /// - /// The status of this account. It is one of: active, suspended, or closed. - [DataMember(Name = "status", EmitDefaultValue = true)] - public StatusEnum? Status { get; set; } + [DataMember(Name = "status", EmitDefaultValue = false)] + public AccountStatus? Status { get; set; } /// /// Initializes a new instance of the class. /// @@ -105,10 +56,10 @@ public enum StatusEnum /// The API key assigned to this account. This key must be kept a secret by the customer.. /// A description for this account.. /// A string that identifies a category or group to which the account belongs.. - /// The type of this account. It is one of: trial or full.. - /// The status of this account. It is one of: active, suspended, or closed.. + /// type. + /// status. /// The list of subresources for this account.. - public AccountResult(string uri = default(string), string dateCreated = default(string), string dateUpdated = default(string), int revision = default(int), string accountId = default(string), string apiKey = default(string), string alias = default(string), string label = default(string), TypeEnum? type = default(TypeEnum?), StatusEnum? status = default(StatusEnum?), Object subresourceUris = default(Object)) + public AccountResult(string uri = default(string), string dateCreated = default(string), string dateUpdated = default(string), int revision = default(int), string accountId = default(string), string apiKey = default(string), string alias = default(string), string label = default(string), AccountType? type = default(AccountType?), AccountStatus? status = default(AccountStatus?), Object subresourceUris = default(Object)) { this.Uri = uri; this.DateCreated = dateCreated; diff --git a/src/freeclimb/Model/AccountResultAllOf.cs b/src/freeclimb/Model/AccountResultAllOf.cs index e4ec8488..8943c9c7 100644 --- a/src/freeclimb/Model/AccountResultAllOf.cs +++ b/src/freeclimb/Model/AccountResultAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,68 +33,18 @@ namespace freeclimb.Model [DataContract(Name = "AccountResult_allOf")] public partial class AccountResultAllOf : IEquatable, IValidatableObject { - /// - /// The type of this account. It is one of: trial or full. - /// - /// The type of this account. It is one of: trial or full. - [JsonConverter(typeof(StringEnumConverter))] - public enum TypeEnum - { - /// - /// Enum TRIAL for value: trial - /// - [EnumMember(Value = "trial")] - TRIAL = 1, - - /// - /// Enum FULL for value: full - /// - [EnumMember(Value = "full")] - FULL = 2 - - } - /// - /// The type of this account. It is one of: trial or full. + /// Gets or Sets Type /// - /// The type of this account. It is one of: trial or full. - [DataMember(Name = "type", EmitDefaultValue = true)] - public TypeEnum? Type { get; set; } - /// - /// The status of this account. It is one of: active, suspended, or closed. - /// - /// The status of this account. It is one of: active, suspended, or closed. - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum ACTIVE for value: active - /// - [EnumMember(Value = "active")] - ACTIVE = 1, - - /// - /// Enum SUSPENDED for value: suspended - /// - [EnumMember(Value = "suspended")] - SUSPENDED = 2, - - /// - /// Enum CLOSED for value: closed - /// - [EnumMember(Value = "closed")] - CLOSED = 3 - - } - + [DataMember(Name = "type", EmitDefaultValue = false)] + public AccountType? Type { get; set; } /// - /// The status of this account. It is one of: active, suspended, or closed. + /// Gets or Sets Status /// - /// The status of this account. It is one of: active, suspended, or closed. - [DataMember(Name = "status", EmitDefaultValue = true)] - public StatusEnum? Status { get; set; } + [DataMember(Name = "status", EmitDefaultValue = false)] + public AccountStatus? Status { get; set; } /// /// Initializes a new instance of the class. /// @@ -101,10 +52,10 @@ public enum StatusEnum /// The API key assigned to this account. This key must be kept a secret by the customer.. /// A description for this account.. /// A string that identifies a category or group to which the account belongs.. - /// The type of this account. It is one of: trial or full.. - /// The status of this account. It is one of: active, suspended, or closed.. + /// type. + /// status. /// The list of subresources for this account.. - public AccountResultAllOf(string accountId = default(string), string apiKey = default(string), string alias = default(string), string label = default(string), TypeEnum? type = default(TypeEnum?), StatusEnum? status = default(StatusEnum?), Object subresourceUris = default(Object)) + public AccountResultAllOf(string accountId = default(string), string apiKey = default(string), string alias = default(string), string label = default(string), AccountType? type = default(AccountType?), AccountStatus? status = default(AccountStatus?), Object subresourceUris = default(Object)) { this.AccountId = accountId; this.ApiKey = apiKey; diff --git a/src/freeclimb/Model/AddToConference.cs b/src/freeclimb/Model/AddToConference.cs index 0272f216..cd0f0f86 100644 --- a/src/freeclimb/Model/AddToConference.cs +++ b/src/freeclimb/Model/AddToConference.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/AddToConferenceAllOf.cs b/src/freeclimb/Model/AddToConferenceAllOf.cs index 8df63cc6..68524b1d 100644 --- a/src/freeclimb/Model/AddToConferenceAllOf.cs +++ b/src/freeclimb/Model/AddToConferenceAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ApplicationList.cs b/src/freeclimb/Model/ApplicationList.cs index 37181811..29580f1b 100644 --- a/src/freeclimb/Model/ApplicationList.cs +++ b/src/freeclimb/Model/ApplicationList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ApplicationListAllOf.cs b/src/freeclimb/Model/ApplicationListAllOf.cs index edfb98e5..6e332ebb 100644 --- a/src/freeclimb/Model/ApplicationListAllOf.cs +++ b/src/freeclimb/Model/ApplicationListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ApplicationRequest.cs b/src/freeclimb/Model/ApplicationRequest.cs index 85556163..9b9ded84 100644 --- a/src/freeclimb/Model/ApplicationRequest.cs +++ b/src/freeclimb/Model/ApplicationRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ApplicationResult.cs b/src/freeclimb/Model/ApplicationResult.cs index 085b70ad..e6b0b020 100644 --- a/src/freeclimb/Model/ApplicationResult.cs +++ b/src/freeclimb/Model/ApplicationResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ApplicationResultAllOf.cs b/src/freeclimb/Model/ApplicationResultAllOf.cs index 5a910d34..65958e77 100644 --- a/src/freeclimb/Model/ApplicationResultAllOf.cs +++ b/src/freeclimb/Model/ApplicationResultAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/AvailableNumber.cs b/src/freeclimb/Model/AvailableNumber.cs index 0611240d..39e14a93 100644 --- a/src/freeclimb/Model/AvailableNumber.cs +++ b/src/freeclimb/Model/AvailableNumber.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/AvailableNumberList.cs b/src/freeclimb/Model/AvailableNumberList.cs index 50e4af97..bb11e8e5 100644 --- a/src/freeclimb/Model/AvailableNumberList.cs +++ b/src/freeclimb/Model/AvailableNumberList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/AvailableNumberListAllOf.cs b/src/freeclimb/Model/AvailableNumberListAllOf.cs index d876c071..2d382ea9 100644 --- a/src/freeclimb/Model/AvailableNumberListAllOf.cs +++ b/src/freeclimb/Model/AvailableNumberListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/BuyIncomingNumberRequest.cs b/src/freeclimb/Model/BuyIncomingNumberRequest.cs index 5d7de22c..bbf8ec82 100644 --- a/src/freeclimb/Model/BuyIncomingNumberRequest.cs +++ b/src/freeclimb/Model/BuyIncomingNumberRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/CallList.cs b/src/freeclimb/Model/CallList.cs index 7835a53e..69e97aa1 100644 --- a/src/freeclimb/Model/CallList.cs +++ b/src/freeclimb/Model/CallList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/CallListAllOf.cs b/src/freeclimb/Model/CallListAllOf.cs index 0f411ae9..7fcc8a55 100644 --- a/src/freeclimb/Model/CallListAllOf.cs +++ b/src/freeclimb/Model/CallListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/CallResult.cs b/src/freeclimb/Model/CallResult.cs index 34efc50c..e35c6261 100644 --- a/src/freeclimb/Model/CallResult.cs +++ b/src/freeclimb/Model/CallResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,70 +33,24 @@ namespace freeclimb.Model [DataContract(Name = "CallResult")] public partial class CallResult : IEquatable, IValidatableObject { + /// - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. + /// Gets or Sets Status /// - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum QUEUED for value: queued - /// - [EnumMember(Value = "queued")] - QUEUED = 1, - - /// - /// Enum RINGING for value: ringing - /// - [EnumMember(Value = "ringing")] - RINGING = 2, - - /// - /// Enum IN_PROGRESS for value: inProgress - /// - [EnumMember(Value = "inProgress")] - IN_PROGRESS = 3, - - /// - /// Enum CANCELED for value: canceled - /// - [EnumMember(Value = "canceled")] - CANCELED = 4, - - /// - /// Enum COMPLETED for value: completed - /// - [EnumMember(Value = "completed")] - COMPLETED = 5, - - /// - /// Enum BUSY for value: busy - /// - [EnumMember(Value = "busy")] - BUSY = 6, - - /// - /// Enum FAILED for value: failed - /// - [EnumMember(Value = "failed")] - FAILED = 7, - - /// - /// Enum NO_ANSWER for value: noAnswer - /// - [EnumMember(Value = "noAnswer")] - NO_ANSWER = 8 - - } + [DataMember(Name = "status", EmitDefaultValue = false)] + public CallStatus? Status { get; set; } + /// + /// Gets or Sets Direction + /// + [DataMember(Name = "direction", EmitDefaultValue = false)] + public CallDirection? Direction { get; set; } /// - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. + /// Gets or Sets AnsweredBy /// - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. - [DataMember(Name = "status", EmitDefaultValue = true)] - public StatusEnum? Status { get; set; } + [DataMember(Name = "answeredBy", EmitDefaultValue = false)] + public AnsweredBy? AnsweredBy { get; set; } /// /// Initializes a new instance of the class. /// @@ -109,16 +64,16 @@ public enum StatusEnum /// Phone number that initiated this Call.. /// Phone number that received this Call.. /// If the Call was inbound, this is the ID of the IncomingPhoneNumber that received the Call (DNIS). If the Call was outbound, this is the ID of the phone number from which the Call was placed (ANI).. - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered.. + /// status. /// Start time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.. /// Time the Call was answered (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.. /// End time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call did not complete successfully.. /// Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.. /// Length of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.. - /// Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command.. - /// If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise.. + /// direction. + /// answeredBy. /// The list of subresources for this Call. These include things like logs and recordings associated with the Call.. - public CallResult(string uri = default(string), string dateCreated = default(string), string dateUpdated = default(string), int revision = default(int), string callId = default(string), string parentCallId = default(string), string accountId = default(string), string from = default(string), string to = default(string), string phoneNumberId = default(string), StatusEnum? status = default(StatusEnum?), string startTime = default(string), string connectTime = default(string), string endTime = default(string), int? duration = default(int?), int? connectDuration = default(int?), string direction = default(string), string answeredBy = default(string), Object subresourceUris = default(Object)) + public CallResult(string uri = default(string), string dateCreated = default(string), string dateUpdated = default(string), int revision = default(int), string callId = default(string), string parentCallId = default(string), string accountId = default(string), string from = default(string), string to = default(string), string phoneNumberId = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string connectTime = default(string), string endTime = default(string), int? duration = default(int?), int? connectDuration = default(int?), CallDirection? direction = default(CallDirection?), AnsweredBy? answeredBy = default(AnsweredBy?), Object subresourceUris = default(Object)) { this.Uri = uri; this.DateCreated = dateCreated; @@ -246,20 +201,6 @@ public enum StatusEnum [DataMember(Name = "connectDuration", EmitDefaultValue = true)] public int? ConnectDuration { get; set; } - /// - /// Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. - /// - /// Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. - [DataMember(Name = "direction", EmitDefaultValue = true)] - public string Direction { get; set; } - - /// - /// If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. - /// - /// If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. - [DataMember(Name = "answeredBy", EmitDefaultValue = true)] - public string AnsweredBy { get; set; } - /// /// The list of subresources for this Call. These include things like logs and recordings associated with the Call. /// @@ -438,13 +379,11 @@ public bool Equals(CallResult input) ) && ( this.Direction == input.Direction || - (this.Direction != null && - this.Direction.Equals(input.Direction)) + this.Direction.Equals(input.Direction) ) && ( this.AnsweredBy == input.AnsweredBy || - (this.AnsweredBy != null && - this.AnsweredBy.Equals(input.AnsweredBy)) + this.AnsweredBy.Equals(input.AnsweredBy) ) && ( this.SubresourceUris == input.SubresourceUris || @@ -520,14 +459,8 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ConnectDuration.GetHashCode(); } - if (this.Direction != null) - { - hashCode = (hashCode * 59) + this.Direction.GetHashCode(); - } - if (this.AnsweredBy != null) - { - hashCode = (hashCode * 59) + this.AnsweredBy.GetHashCode(); - } + hashCode = (hashCode * 59) + this.Direction.GetHashCode(); + hashCode = (hashCode * 59) + this.AnsweredBy.GetHashCode(); if (this.SubresourceUris != null) { hashCode = (hashCode * 59) + this.SubresourceUris.GetHashCode(); diff --git a/src/freeclimb/Model/CallResultAllOf.cs b/src/freeclimb/Model/CallResultAllOf.cs index b6b9672c..b458bd11 100644 --- a/src/freeclimb/Model/CallResultAllOf.cs +++ b/src/freeclimb/Model/CallResultAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,70 +33,24 @@ namespace freeclimb.Model [DataContract(Name = "CallResult_allOf")] public partial class CallResultAllOf : IEquatable, IValidatableObject { + /// - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. + /// Gets or Sets Status /// - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum QUEUED for value: queued - /// - [EnumMember(Value = "queued")] - QUEUED = 1, - - /// - /// Enum RINGING for value: ringing - /// - [EnumMember(Value = "ringing")] - RINGING = 2, - - /// - /// Enum IN_PROGRESS for value: inProgress - /// - [EnumMember(Value = "inProgress")] - IN_PROGRESS = 3, - - /// - /// Enum CANCELED for value: canceled - /// - [EnumMember(Value = "canceled")] - CANCELED = 4, - - /// - /// Enum COMPLETED for value: completed - /// - [EnumMember(Value = "completed")] - COMPLETED = 5, - - /// - /// Enum BUSY for value: busy - /// - [EnumMember(Value = "busy")] - BUSY = 6, - - /// - /// Enum FAILED for value: failed - /// - [EnumMember(Value = "failed")] - FAILED = 7, - - /// - /// Enum NO_ANSWER for value: noAnswer - /// - [EnumMember(Value = "noAnswer")] - NO_ANSWER = 8 - - } + [DataMember(Name = "status", EmitDefaultValue = false)] + public CallStatus? Status { get; set; } + /// + /// Gets or Sets Direction + /// + [DataMember(Name = "direction", EmitDefaultValue = false)] + public CallDirection? Direction { get; set; } /// - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. + /// Gets or Sets AnsweredBy /// - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered. - [DataMember(Name = "status", EmitDefaultValue = true)] - public StatusEnum? Status { get; set; } + [DataMember(Name = "answeredBy", EmitDefaultValue = false)] + public AnsweredBy? AnsweredBy { get; set; } /// /// Initializes a new instance of the class. /// @@ -105,16 +60,16 @@ public enum StatusEnum /// Phone number that initiated this Call.. /// Phone number that received this Call.. /// If the Call was inbound, this is the ID of the IncomingPhoneNumber that received the Call (DNIS). If the Call was outbound, this is the ID of the phone number from which the Call was placed (ANI).. - /// * `queued` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; Call ended without being answered.. + /// status. /// Start time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.. /// Time the Call was answered (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.. /// End time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call did not complete successfully.. /// Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.. /// Length of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.. - /// Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command.. - /// If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise.. + /// direction. + /// answeredBy. /// The list of subresources for this Call. These include things like logs and recordings associated with the Call.. - public CallResultAllOf(string callId = default(string), string parentCallId = default(string), string accountId = default(string), string from = default(string), string to = default(string), string phoneNumberId = default(string), StatusEnum? status = default(StatusEnum?), string startTime = default(string), string connectTime = default(string), string endTime = default(string), int? duration = default(int?), int? connectDuration = default(int?), string direction = default(string), string answeredBy = default(string), Object subresourceUris = default(Object)) + public CallResultAllOf(string callId = default(string), string parentCallId = default(string), string accountId = default(string), string from = default(string), string to = default(string), string phoneNumberId = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string connectTime = default(string), string endTime = default(string), int? duration = default(int?), int? connectDuration = default(int?), CallDirection? direction = default(CallDirection?), AnsweredBy? answeredBy = default(AnsweredBy?), Object subresourceUris = default(Object)) { this.CallId = callId; this.ParentCallId = parentCallId; @@ -210,20 +165,6 @@ public enum StatusEnum [DataMember(Name = "connectDuration", EmitDefaultValue = true)] public int? ConnectDuration { get; set; } - /// - /// Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. - /// - /// Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. - [DataMember(Name = "direction", EmitDefaultValue = true)] - public string Direction { get; set; } - - /// - /// If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. - /// - /// If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. - [DataMember(Name = "answeredBy", EmitDefaultValue = true)] - public string AnsweredBy { get; set; } - /// /// The list of subresources for this Call. These include things like logs and recordings associated with the Call. /// @@ -375,13 +316,11 @@ public bool Equals(CallResultAllOf input) ) && ( this.Direction == input.Direction || - (this.Direction != null && - this.Direction.Equals(input.Direction)) + this.Direction.Equals(input.Direction) ) && ( this.AnsweredBy == input.AnsweredBy || - (this.AnsweredBy != null && - this.AnsweredBy.Equals(input.AnsweredBy)) + this.AnsweredBy.Equals(input.AnsweredBy) ) && ( this.SubresourceUris == input.SubresourceUris || @@ -444,14 +383,8 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ConnectDuration.GetHashCode(); } - if (this.Direction != null) - { - hashCode = (hashCode * 59) + this.Direction.GetHashCode(); - } - if (this.AnsweredBy != null) - { - hashCode = (hashCode * 59) + this.AnsweredBy.GetHashCode(); - } + hashCode = (hashCode * 59) + this.Direction.GetHashCode(); + hashCode = (hashCode * 59) + this.AnsweredBy.GetHashCode(); if (this.SubresourceUris != null) { hashCode = (hashCode * 59) + this.SubresourceUris.GetHashCode(); diff --git a/src/freeclimb/Model/Capabilities.cs b/src/freeclimb/Model/Capabilities.cs index 6aa78818..3d13360a 100644 --- a/src/freeclimb/Model/Capabilities.cs +++ b/src/freeclimb/Model/Capabilities.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ConferenceList.cs b/src/freeclimb/Model/ConferenceList.cs index 50b7e9e0..5a7ef2ab 100644 --- a/src/freeclimb/Model/ConferenceList.cs +++ b/src/freeclimb/Model/ConferenceList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ConferenceListAllOf.cs b/src/freeclimb/Model/ConferenceListAllOf.cs index 4444b6b0..1602a190 100644 --- a/src/freeclimb/Model/ConferenceListAllOf.cs +++ b/src/freeclimb/Model/ConferenceListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ConferenceParticipantList.cs b/src/freeclimb/Model/ConferenceParticipantList.cs index ac7cff76..b27a1b02 100644 --- a/src/freeclimb/Model/ConferenceParticipantList.cs +++ b/src/freeclimb/Model/ConferenceParticipantList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ConferenceParticipantListAllOf.cs b/src/freeclimb/Model/ConferenceParticipantListAllOf.cs index 2b5ffe23..e065620f 100644 --- a/src/freeclimb/Model/ConferenceParticipantListAllOf.cs +++ b/src/freeclimb/Model/ConferenceParticipantListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ConferenceParticipantResult.cs b/src/freeclimb/Model/ConferenceParticipantResult.cs index 05ae8e2b..565efa9f 100644 --- a/src/freeclimb/Model/ConferenceParticipantResult.cs +++ b/src/freeclimb/Model/ConferenceParticipantResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ConferenceParticipantResultAllOf.cs b/src/freeclimb/Model/ConferenceParticipantResultAllOf.cs index 24e73337..7dbb3354 100644 --- a/src/freeclimb/Model/ConferenceParticipantResultAllOf.cs +++ b/src/freeclimb/Model/ConferenceParticipantResultAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ConferenceResult.cs b/src/freeclimb/Model/ConferenceResult.cs index 2d5ca34f..0f9e643a 100644 --- a/src/freeclimb/Model/ConferenceResult.cs +++ b/src/freeclimb/Model/ConferenceResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,92 +33,18 @@ namespace freeclimb.Model [DataContract(Name = "ConferenceResult")] public partial class ConferenceResult : IEquatable, IValidatableObject { - /// - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. - /// - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. - [JsonConverter(typeof(StringEnumConverter))] - public enum PlayBeepEnum - { - /// - /// Enum ALWAYS for value: always - /// - [EnumMember(Value = "always")] - ALWAYS = 1, - - /// - /// Enum NEVER for value: never - /// - [EnumMember(Value = "never")] - NEVER = 2, - - /// - /// Enum ENTRY_ONLY for value: entryOnly - /// - [EnumMember(Value = "entryOnly")] - ENTRY_ONLY = 3, - - /// - /// Enum EXIT_ONLY for value: exitOnly - /// - [EnumMember(Value = "exitOnly")] - EXIT_ONLY = 4 - - } - /// - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. + /// Gets or Sets PlayBeep /// - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. - [DataMember(Name = "playBeep", EmitDefaultValue = true)] - public PlayBeepEnum? PlayBeep { get; set; } - /// - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. - /// - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum CREATING for value: creating - /// - [EnumMember(Value = "creating")] - CREATING = 1, - - /// - /// Enum EMPTY for value: empty - /// - [EnumMember(Value = "empty")] - EMPTY = 2, - - /// - /// Enum POPULATED for value: populated - /// - [EnumMember(Value = "populated")] - POPULATED = 3, - - /// - /// Enum IN_PROGRESS for value: inProgress - /// - [EnumMember(Value = "inProgress")] - IN_PROGRESS = 4, - - /// - /// Enum TERMINATED for value: terminated - /// - [EnumMember(Value = "terminated")] - TERMINATED = 5 - - } - + [DataMember(Name = "playBeep", EmitDefaultValue = false)] + public PlayBeep? PlayBeep { get; set; } /// - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. + /// Gets or Sets Status /// - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. - [DataMember(Name = "status", EmitDefaultValue = true)] - public StatusEnum? Status { get; set; } + [DataMember(Name = "status", EmitDefaultValue = false)] + public ConferenceStatus? Status { get; set; } /// /// Initializes a new instance of the class. /// @@ -128,14 +55,14 @@ public enum StatusEnum /// A string that uniquely identifies this Conference resource.. /// ID of the account that created this Conference.. /// A description for this Conference.. - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always.. + /// playBeep. /// Flag indicating whether recording is enabled for this Conference.. - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated.. + /// status. /// URL referencing the audio file to be used as default wait music for the Conference when it is in the populated state.. /// URL invoked once the Conference is successfully created.. /// URL to inform that the Conference status has changed.. /// The list of subresources for this Conference. This includes participants and/or recordings.. - public ConferenceResult(string uri = default(string), string dateCreated = default(string), string dateUpdated = default(string), int revision = default(int), string conferenceId = default(string), string accountId = default(string), string alias = default(string), PlayBeepEnum? playBeep = default(PlayBeepEnum?), bool? record = default(bool?), StatusEnum? status = default(StatusEnum?), string waitUrl = default(string), string actionUrl = default(string), string statusCallbackUrl = default(string), Object subresourceUris = default(Object)) + public ConferenceResult(string uri = default(string), string dateCreated = default(string), string dateUpdated = default(string), int revision = default(int), string conferenceId = default(string), string accountId = default(string), string alias = default(string), PlayBeep? playBeep = default(PlayBeep?), bool? record = default(bool?), ConferenceStatus? status = default(ConferenceStatus?), string waitUrl = default(string), string actionUrl = default(string), string statusCallbackUrl = default(string), Object subresourceUris = default(Object)) { this.Uri = uri; this.DateCreated = dateCreated; diff --git a/src/freeclimb/Model/ConferenceResultAllOf.cs b/src/freeclimb/Model/ConferenceResultAllOf.cs index 1b81c54f..ebbbe703 100644 --- a/src/freeclimb/Model/ConferenceResultAllOf.cs +++ b/src/freeclimb/Model/ConferenceResultAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,106 +33,32 @@ namespace freeclimb.Model [DataContract(Name = "ConferenceResult_allOf")] public partial class ConferenceResultAllOf : IEquatable, IValidatableObject { - /// - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. - /// - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. - [JsonConverter(typeof(StringEnumConverter))] - public enum PlayBeepEnum - { - /// - /// Enum ALWAYS for value: always - /// - [EnumMember(Value = "always")] - ALWAYS = 1, - - /// - /// Enum NEVER for value: never - /// - [EnumMember(Value = "never")] - NEVER = 2, - - /// - /// Enum ENTRY_ONLY for value: entryOnly - /// - [EnumMember(Value = "entryOnly")] - ENTRY_ONLY = 3, - - /// - /// Enum EXIT_ONLY for value: exitOnly - /// - [EnumMember(Value = "exitOnly")] - EXIT_ONLY = 4 - - } - /// - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. + /// Gets or Sets PlayBeep /// - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always. - [DataMember(Name = "playBeep", EmitDefaultValue = true)] - public PlayBeepEnum? PlayBeep { get; set; } - /// - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. - /// - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum CREATING for value: creating - /// - [EnumMember(Value = "creating")] - CREATING = 1, - - /// - /// Enum EMPTY for value: empty - /// - [EnumMember(Value = "empty")] - EMPTY = 2, - - /// - /// Enum POPULATED for value: populated - /// - [EnumMember(Value = "populated")] - POPULATED = 3, - - /// - /// Enum IN_PROGRESS for value: inProgress - /// - [EnumMember(Value = "inProgress")] - IN_PROGRESS = 4, - - /// - /// Enum TERMINATED for value: terminated - /// - [EnumMember(Value = "terminated")] - TERMINATED = 5 - - } - + [DataMember(Name = "playBeep", EmitDefaultValue = false)] + public PlayBeep? PlayBeep { get; set; } /// - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. + /// Gets or Sets Status /// - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. - [DataMember(Name = "status", EmitDefaultValue = true)] - public StatusEnum? Status { get; set; } + [DataMember(Name = "status", EmitDefaultValue = false)] + public ConferenceStatus? Status { get; set; } /// /// Initializes a new instance of the class. /// /// A string that uniquely identifies this Conference resource.. /// ID of the account that created this Conference.. /// A description for this Conference.. - /// Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always.. + /// playBeep. /// Flag indicating whether recording is enabled for this Conference.. - /// The status of the Conference. One of: creating, empty, populated, inProgress, or terminated.. + /// status. /// URL referencing the audio file to be used as default wait music for the Conference when it is in the populated state.. /// URL invoked once the Conference is successfully created.. /// URL to inform that the Conference status has changed.. /// The list of subresources for this Conference. This includes participants and/or recordings.. - public ConferenceResultAllOf(string conferenceId = default(string), string accountId = default(string), string alias = default(string), PlayBeepEnum? playBeep = default(PlayBeepEnum?), bool? record = default(bool?), StatusEnum? status = default(StatusEnum?), string waitUrl = default(string), string actionUrl = default(string), string statusCallbackUrl = default(string), Object subresourceUris = default(Object)) + public ConferenceResultAllOf(string conferenceId = default(string), string accountId = default(string), string alias = default(string), PlayBeep? playBeep = default(PlayBeep?), bool? record = default(bool?), ConferenceStatus? status = default(ConferenceStatus?), string waitUrl = default(string), string actionUrl = default(string), string statusCallbackUrl = default(string), Object subresourceUris = default(Object)) { this.ConferenceId = conferenceId; this.AccountId = accountId; diff --git a/src/freeclimb/Model/CreateConference.cs b/src/freeclimb/Model/CreateConference.cs index 96d4d972..31c3f2b5 100644 --- a/src/freeclimb/Model/CreateConference.cs +++ b/src/freeclimb/Model/CreateConference.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/CreateConferenceAllOf.cs b/src/freeclimb/Model/CreateConferenceAllOf.cs index ad28b308..e3bc4907 100644 --- a/src/freeclimb/Model/CreateConferenceAllOf.cs +++ b/src/freeclimb/Model/CreateConferenceAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/CreateConferenceRequest.cs b/src/freeclimb/Model/CreateConferenceRequest.cs index 52589111..07122825 100644 --- a/src/freeclimb/Model/CreateConferenceRequest.cs +++ b/src/freeclimb/Model/CreateConferenceRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,55 +33,21 @@ namespace freeclimb.Model [DataContract(Name = "CreateConferenceRequest")] public partial class CreateConferenceRequest : IEquatable, IValidatableObject { - /// - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. - /// - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. - [JsonConverter(typeof(StringEnumConverter))] - public enum PlayBeepEnum - { - /// - /// Enum ALWAYS for value: always - /// - [EnumMember(Value = "always")] - ALWAYS = 1, - - /// - /// Enum NEVER for value: never - /// - [EnumMember(Value = "never")] - NEVER = 2, - - /// - /// Enum ENTRY_ONLY for value: entryOnly - /// - [EnumMember(Value = "entryOnly")] - ENTRY_ONLY = 3, - - /// - /// Enum EXIT_ONLY for value: exitOnly - /// - [EnumMember(Value = "exitOnly")] - EXIT_ONLY = 4 - - } - /// - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. + /// Gets or Sets PlayBeep /// - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. [DataMember(Name = "playBeep", EmitDefaultValue = false)] - public PlayBeepEnum? PlayBeep { get; set; } + public PlayBeep? PlayBeep { get; set; } /// /// Initializes a new instance of the class. /// /// A description for this Conference. Maximum 64 characters.. - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. (default to PlayBeepEnum.ALWAYS). + /// playBeep. /// Setting to `true` records the entire Conference.. /// If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once &mdash; when the Conference is created.. /// This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below).. - public CreateConferenceRequest(string alias = default(string), PlayBeepEnum? playBeep = PlayBeepEnum.ALWAYS, bool record = default(bool), string waitUrl = default(string), string statusCallbackUrl = default(string)) + public CreateConferenceRequest(string alias = default(string), PlayBeep? playBeep = default(PlayBeep?), bool record = default(bool), string waitUrl = default(string), string statusCallbackUrl = default(string)) { this.Alias = alias; this.PlayBeep = playBeep; diff --git a/src/freeclimb/Model/Dequeue.cs b/src/freeclimb/Model/Dequeue.cs index f2665801..4a3da435 100644 --- a/src/freeclimb/Model/Dequeue.cs +++ b/src/freeclimb/Model/Dequeue.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/Enqueue.cs b/src/freeclimb/Model/Enqueue.cs index dd96b3bd..8cf7fac7 100644 --- a/src/freeclimb/Model/Enqueue.cs +++ b/src/freeclimb/Model/Enqueue.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/EnqueueAllOf.cs b/src/freeclimb/Model/EnqueueAllOf.cs index 110d6f1a..a7210997 100644 --- a/src/freeclimb/Model/EnqueueAllOf.cs +++ b/src/freeclimb/Model/EnqueueAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/FilterLogsRequest.cs b/src/freeclimb/Model/FilterLogsRequest.cs index e13418c2..adc94f3f 100644 --- a/src/freeclimb/Model/FilterLogsRequest.cs +++ b/src/freeclimb/Model/FilterLogsRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/GetDigits.cs b/src/freeclimb/Model/GetDigits.cs index 92261dc4..381ef1d1 100644 --- a/src/freeclimb/Model/GetDigits.cs +++ b/src/freeclimb/Model/GetDigits.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/GetDigitsAllOf.cs b/src/freeclimb/Model/GetDigitsAllOf.cs index ac000ed6..2cab45e4 100644 --- a/src/freeclimb/Model/GetDigitsAllOf.cs +++ b/src/freeclimb/Model/GetDigitsAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/GetSpeech.cs b/src/freeclimb/Model/GetSpeech.cs index 1ac9c38a..23733275 100644 --- a/src/freeclimb/Model/GetSpeech.cs +++ b/src/freeclimb/Model/GetSpeech.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -58,6 +59,12 @@ namespace freeclimb.Model [JsonSubtypes.KnownSubType(typeof(Unpark), "Unpark")] public partial class GetSpeech : PerclCommand, IEquatable, IValidatableObject { + + /// + /// Gets or Sets GrammarType + /// + [DataMember(Name = "grammarType", EmitDefaultValue = false)] + public GrammarType? GrammarType { get; set; } /// /// Initializes a new instance of the class. /// @@ -67,7 +74,7 @@ protected GetSpeech() { } /// Initializes a new instance of the class. /// /// When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call. (required). - /// The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files.. + /// grammarType. /// The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL. (required). /// The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`.. /// Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak.. @@ -80,7 +87,7 @@ protected GetSpeech() { } /// Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance.. /// Parameter privacyMode will not log the `text` as required by PCI compliance.. /// Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) (default to "GetSpeech"). - public GetSpeech(string actionUrl = default(string), int grammarType = default(int), string grammarFile = default(string), bool grammarRule = default(bool), string playBeep = default(string), List prompts = default(List), int noInputTimeoutMs = default(int), int recognitionTimeoutMs = default(int), decimal confidenceThreshold = default(decimal), decimal sensitivityLevel = default(decimal), int speechCompleteTimeoutMs = default(int), int speechIncompleteTimeoutMs = default(int), bool privacyMode = default(bool), string command = "GetSpeech") : base(command) + public GetSpeech(string actionUrl = default(string), GrammarType? grammarType = default(GrammarType?), string grammarFile = default(string), string grammarRule = default(string), bool playBeep = default(bool), List prompts = default(List), int noInputTimeoutMs = default(int), int recognitionTimeoutMs = default(int), decimal confidenceThreshold = default(decimal), decimal sensitivityLevel = default(decimal), int speechCompleteTimeoutMs = default(int), int speechIncompleteTimeoutMs = default(int), bool privacyMode = default(bool), string command = "GetSpeech") : base(command) { // to ensure "actionUrl" is required (not null) if (actionUrl == null) { @@ -112,13 +119,6 @@ protected GetSpeech() { } [DataMember(Name = "actionUrl", IsRequired = true, EmitDefaultValue = false)] public string ActionUrl { get; set; } - /// - /// The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. - /// - /// The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. - [DataMember(Name = "grammarType", EmitDefaultValue = false)] - public int GrammarType { get; set; } - /// /// The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL. /// @@ -130,15 +130,15 @@ protected GetSpeech() { } /// The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`. /// /// The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`. - [DataMember(Name = "grammarRule", EmitDefaultValue = true)] - public bool GrammarRule { get; set; } + [DataMember(Name = "grammarRule", EmitDefaultValue = false)] + public string GrammarRule { get; set; } /// /// Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak. /// /// Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak. - [DataMember(Name = "playBeep", EmitDefaultValue = false)] - public string PlayBeep { get; set; } + [DataMember(Name = "playBeep", EmitDefaultValue = true)] + public bool PlayBeep { get; set; } /// /// The JSON array of PerCL commands to nest within the `GetSpeech` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the caller. This allows for playing menu options to the caller and to prompt for the expected input. These commands stop executing when the caller begins to input speech. @@ -305,12 +305,12 @@ public bool Equals(GetSpeech input) ) && base.Equals(input) && ( this.GrammarRule == input.GrammarRule || - this.GrammarRule.Equals(input.GrammarRule) + (this.GrammarRule != null && + this.GrammarRule.Equals(input.GrammarRule)) ) && base.Equals(input) && ( this.PlayBeep == input.PlayBeep || - (this.PlayBeep != null && - this.PlayBeep.Equals(input.PlayBeep)) + this.PlayBeep.Equals(input.PlayBeep) ) && base.Equals(input) && ( this.Prompts == input.Prompts || @@ -366,11 +366,11 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.GrammarFile.GetHashCode(); } - hashCode = (hashCode * 59) + this.GrammarRule.GetHashCode(); - if (this.PlayBeep != null) + if (this.GrammarRule != null) { - hashCode = (hashCode * 59) + this.PlayBeep.GetHashCode(); + hashCode = (hashCode * 59) + this.GrammarRule.GetHashCode(); } + hashCode = (hashCode * 59) + this.PlayBeep.GetHashCode(); if (this.Prompts != null) { hashCode = (hashCode * 59) + this.Prompts.GetHashCode(); diff --git a/src/freeclimb/Model/GetSpeechAllOf.cs b/src/freeclimb/Model/GetSpeechAllOf.cs index a0d78efe..706e754c 100644 --- a/src/freeclimb/Model/GetSpeechAllOf.cs +++ b/src/freeclimb/Model/GetSpeechAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,6 +33,12 @@ namespace freeclimb.Model [DataContract(Name = "GetSpeech_allOf")] public partial class GetSpeechAllOf : IEquatable, IValidatableObject { + + /// + /// Gets or Sets GrammarType + /// + [DataMember(Name = "grammarType", EmitDefaultValue = false)] + public GrammarType? GrammarType { get; set; } /// /// Initializes a new instance of the class. /// @@ -41,7 +48,7 @@ protected GetSpeechAllOf() { } /// Initializes a new instance of the class. /// /// When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call. (required). - /// The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files.. + /// grammarType. /// The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL. (required). /// The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`.. /// Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak.. @@ -53,7 +60,7 @@ protected GetSpeechAllOf() { } /// Parameter `speechCompleteTimeoutMs` specifies the length of silence required following user speech before the speech recognizer finalizes a result. This timeout applies when the recognizer currently has a complete match against an active grammar. Reasonable speech complete timeout values are typically in the range of 0.3 seconds to 1.0 seconds.. /// Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance.. /// Parameter privacyMode will not log the `text` as required by PCI compliance.. - public GetSpeechAllOf(string actionUrl = default(string), int grammarType = default(int), string grammarFile = default(string), bool grammarRule = default(bool), string playBeep = default(string), List prompts = default(List), int noInputTimeoutMs = default(int), int recognitionTimeoutMs = default(int), decimal confidenceThreshold = default(decimal), decimal sensitivityLevel = default(decimal), int speechCompleteTimeoutMs = default(int), int speechIncompleteTimeoutMs = default(int), bool privacyMode = default(bool)) + public GetSpeechAllOf(string actionUrl = default(string), GrammarType? grammarType = default(GrammarType?), string grammarFile = default(string), string grammarRule = default(string), bool playBeep = default(bool), List prompts = default(List), int noInputTimeoutMs = default(int), int recognitionTimeoutMs = default(int), decimal confidenceThreshold = default(decimal), decimal sensitivityLevel = default(decimal), int speechCompleteTimeoutMs = default(int), int speechIncompleteTimeoutMs = default(int), bool privacyMode = default(bool)) { // to ensure "actionUrl" is required (not null) if (actionUrl == null) { @@ -85,13 +92,6 @@ protected GetSpeechAllOf() { } [DataMember(Name = "actionUrl", IsRequired = true, EmitDefaultValue = false)] public string ActionUrl { get; set; } - /// - /// The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. - /// - /// The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. - [DataMember(Name = "grammarType", EmitDefaultValue = false)] - public int GrammarType { get; set; } - /// /// The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL. /// @@ -103,15 +103,15 @@ protected GetSpeechAllOf() { } /// The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`. /// /// The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`. - [DataMember(Name = "grammarRule", EmitDefaultValue = true)] - public bool GrammarRule { get; set; } + [DataMember(Name = "grammarRule", EmitDefaultValue = false)] + public string GrammarRule { get; set; } /// /// Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak. /// /// Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak. - [DataMember(Name = "playBeep", EmitDefaultValue = false)] - public string PlayBeep { get; set; } + [DataMember(Name = "playBeep", EmitDefaultValue = true)] + public bool PlayBeep { get; set; } /// /// The JSON array of PerCL commands to nest within the `GetSpeech` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the caller. This allows for playing menu options to the caller and to prompt for the expected input. These commands stop executing when the caller begins to input speech. @@ -269,12 +269,12 @@ public bool Equals(GetSpeechAllOf input) ) && ( this.GrammarRule == input.GrammarRule || - this.GrammarRule.Equals(input.GrammarRule) + (this.GrammarRule != null && + this.GrammarRule.Equals(input.GrammarRule)) ) && ( this.PlayBeep == input.PlayBeep || - (this.PlayBeep != null && - this.PlayBeep.Equals(input.PlayBeep)) + this.PlayBeep.Equals(input.PlayBeep) ) && ( this.Prompts == input.Prompts || @@ -330,11 +330,11 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.GrammarFile.GetHashCode(); } - hashCode = (hashCode * 59) + this.GrammarRule.GetHashCode(); - if (this.PlayBeep != null) + if (this.GrammarRule != null) { - hashCode = (hashCode * 59) + this.PlayBeep.GetHashCode(); + hashCode = (hashCode * 59) + this.GrammarRule.GetHashCode(); } + hashCode = (hashCode * 59) + this.PlayBeep.GetHashCode(); if (this.Prompts != null) { hashCode = (hashCode * 59) + this.Prompts.GetHashCode(); diff --git a/src/freeclimb/Model/Hangup.cs b/src/freeclimb/Model/Hangup.cs index 784d1e25..004562a7 100644 --- a/src/freeclimb/Model/Hangup.cs +++ b/src/freeclimb/Model/Hangup.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/HangupAllOf.cs b/src/freeclimb/Model/HangupAllOf.cs index 679b8642..b4d50c47 100644 --- a/src/freeclimb/Model/HangupAllOf.cs +++ b/src/freeclimb/Model/HangupAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/IncomingNumberList.cs b/src/freeclimb/Model/IncomingNumberList.cs index c8275454..87414f27 100644 --- a/src/freeclimb/Model/IncomingNumberList.cs +++ b/src/freeclimb/Model/IncomingNumberList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/IncomingNumberListAllOf.cs b/src/freeclimb/Model/IncomingNumberListAllOf.cs index 1ac32a13..b4f4a3cc 100644 --- a/src/freeclimb/Model/IncomingNumberListAllOf.cs +++ b/src/freeclimb/Model/IncomingNumberListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/IncomingNumberRequest.cs b/src/freeclimb/Model/IncomingNumberRequest.cs index d07c168a..a5b8d684 100644 --- a/src/freeclimb/Model/IncomingNumberRequest.cs +++ b/src/freeclimb/Model/IncomingNumberRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/IncomingNumberResult.cs b/src/freeclimb/Model/IncomingNumberResult.cs index f730c3bd..1890cdb3 100644 --- a/src/freeclimb/Model/IncomingNumberResult.cs +++ b/src/freeclimb/Model/IncomingNumberResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/IncomingNumberResultAllOf.cs b/src/freeclimb/Model/IncomingNumberResultAllOf.cs index b6654f1d..ffe56d42 100644 --- a/src/freeclimb/Model/IncomingNumberResultAllOf.cs +++ b/src/freeclimb/Model/IncomingNumberResultAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/LogList.cs b/src/freeclimb/Model/LogList.cs index 0d5a91db..40704836 100644 --- a/src/freeclimb/Model/LogList.cs +++ b/src/freeclimb/Model/LogList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/LogListAllOf.cs b/src/freeclimb/Model/LogListAllOf.cs index 9dd5be97..0a0b91a9 100644 --- a/src/freeclimb/Model/LogListAllOf.cs +++ b/src/freeclimb/Model/LogListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/LogResult.cs b/src/freeclimb/Model/LogResult.cs index 7d6a6131..bd9649ae 100644 --- a/src/freeclimb/Model/LogResult.cs +++ b/src/freeclimb/Model/LogResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,51 +33,23 @@ namespace freeclimb.Model [DataContract(Name = "LogResult")] public partial class LogResult : IEquatable, IValidatableObject { - /// - /// Level of the log. Possible values are info, warning, and error. - /// - /// Level of the log. Possible values are info, warning, and error. - [JsonConverter(typeof(StringEnumConverter))] - public enum LevelEnum - { - /// - /// Enum INFO for value: info - /// - [EnumMember(Value = "info")] - INFO = 1, - - /// - /// Enum WARNING for value: warning - /// - [EnumMember(Value = "warning")] - WARNING = 2, - - /// - /// Enum ERROR for value: error - /// - [EnumMember(Value = "error")] - ERROR = 3 - - } - /// - /// Level of the log. Possible values are info, warning, and error. + /// Gets or Sets Level /// - /// Level of the log. Possible values are info, warning, and error. - [DataMember(Name = "level", EmitDefaultValue = true)] - public LevelEnum? Level { get; set; } + [DataMember(Name = "level", EmitDefaultValue = false)] + public LogLevel? Level { get; set; } /// /// Initializes a new instance of the class. /// /// Time that the log was generated. The time is represented as microseconds since the Unix Epoch.. - /// Level of the log. Possible values are info, warning, and error.. + /// level. /// ID of the request associated with the log. The requestId is propagated across all logs generated by FreeClimb when processing a request.. /// ID of the account that this log was generated under.. /// ID of the Call associated with the log. Can be set to null if the log was generated without regard to a specific Call.. /// A simple string describing the event being logged.. /// JSON document containing metadata about the event. Some log messages may include request and response header content in this field.. - public LogResult(int? timestamp = default(int?), LevelEnum? level = default(LevelEnum?), string requestId = default(string), string accountId = default(string), string callId = default(string), string message = default(string), Object metadata = default(Object)) + public LogResult(int? timestamp = default(int?), LogLevel? level = default(LogLevel?), string requestId = default(string), string accountId = default(string), string callId = default(string), string message = default(string), Object metadata = default(Object)) { this.Timestamp = timestamp; this.Level = level; diff --git a/src/freeclimb/Model/MakeCallRequest.cs b/src/freeclimb/Model/MakeCallRequest.cs index 9af3276e..b845109c 100644 --- a/src/freeclimb/Model/MakeCallRequest.cs +++ b/src/freeclimb/Model/MakeCallRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/MessageRequest.cs b/src/freeclimb/Model/MessageRequest.cs index 2f3414c8..939addad 100644 --- a/src/freeclimb/Model/MessageRequest.cs +++ b/src/freeclimb/Model/MessageRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/MessageRequestAllOf.cs b/src/freeclimb/Model/MessageRequestAllOf.cs index b06a2757..461ed050 100644 --- a/src/freeclimb/Model/MessageRequestAllOf.cs +++ b/src/freeclimb/Model/MessageRequestAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/MessageResult.cs b/src/freeclimb/Model/MessageResult.cs index 698bf83b..8f970ae9 100644 --- a/src/freeclimb/Model/MessageResult.cs +++ b/src/freeclimb/Model/MessageResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,88 +33,12 @@ namespace freeclimb.Model [DataContract(Name = "MessageResult")] public partial class MessageResult : IEquatable, IValidatableObject { - /// - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown - /// - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum NEW for value: new - /// - [EnumMember(Value = "new")] - NEW = 1, - - /// - /// Enum QUEUED for value: queued - /// - [EnumMember(Value = "queued")] - QUEUED = 2, - - /// - /// Enum REJECTED for value: rejected - /// - [EnumMember(Value = "rejected")] - REJECTED = 3, - - /// - /// Enum SENDING for value: sending - /// - [EnumMember(Value = "sending")] - SENDING = 4, - - /// - /// Enum SENT for value: sent - /// - [EnumMember(Value = "sent")] - SENT = 5, - - /// - /// Enum FAILED for value: failed - /// - [EnumMember(Value = "failed")] - FAILED = 6, - - /// - /// Enum RECEIVED for value: received - /// - [EnumMember(Value = "received")] - RECEIVED = 7, - - /// - /// Enum UNDELIVERED for value: undelivered - /// - [EnumMember(Value = "undelivered")] - UNDELIVERED = 8, - - /// - /// Enum EXPIRED for value: expired - /// - [EnumMember(Value = "expired")] - EXPIRED = 9, - - /// - /// Enum DELETED for value: deleted - /// - [EnumMember(Value = "deleted")] - DELETED = 10, - - /// - /// Enum UNKNOWN for value: unknown - /// - [EnumMember(Value = "unknown")] - UNKNOWN = 11 - - } - /// - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown + /// Gets or Sets Status /// - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown - [DataMember(Name = "status", EmitDefaultValue = true)] - public StatusEnum? Status { get; set; } + [DataMember(Name = "status", EmitDefaultValue = false)] + public MessageStatus? Status { get; set; } /// /// Initializes a new instance of the class. /// @@ -123,13 +48,13 @@ public enum StatusEnum /// Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated.. /// String that uniquely identifies this account resource.. /// String that uniquely identifies this message resource. - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown. + /// status. /// Phone number in E.164 format that sent the message.. /// Phone number in E.164 format that received the message.. /// Message contents. /// Noting whether the message was inbound or outbound. /// URL invoked when message sent. - public MessageResult(string uri = default(string), string dateCreated = default(string), string dateUpdated = default(string), int revision = default(int), string accountId = default(string), string messageId = default(string), StatusEnum? status = default(StatusEnum?), string from = default(string), string to = default(string), string text = default(string), string direction = default(string), string notificationUrl = default(string)) + public MessageResult(string uri = default(string), string dateCreated = default(string), string dateUpdated = default(string), int revision = default(int), string accountId = default(string), string messageId = default(string), MessageStatus? status = default(MessageStatus?), string from = default(string), string to = default(string), string text = default(string), string direction = default(string), string notificationUrl = default(string)) { this.Uri = uri; this.DateCreated = dateCreated; diff --git a/src/freeclimb/Model/MessageResultAllOf.cs b/src/freeclimb/Model/MessageResultAllOf.cs index ca64717b..4e095d76 100644 --- a/src/freeclimb/Model/MessageResultAllOf.cs +++ b/src/freeclimb/Model/MessageResultAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,100 +33,24 @@ namespace freeclimb.Model [DataContract(Name = "MessageResult_allOf")] public partial class MessageResultAllOf : IEquatable, IValidatableObject { - /// - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown - /// - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum NEW for value: new - /// - [EnumMember(Value = "new")] - NEW = 1, - - /// - /// Enum QUEUED for value: queued - /// - [EnumMember(Value = "queued")] - QUEUED = 2, - - /// - /// Enum REJECTED for value: rejected - /// - [EnumMember(Value = "rejected")] - REJECTED = 3, - - /// - /// Enum SENDING for value: sending - /// - [EnumMember(Value = "sending")] - SENDING = 4, - - /// - /// Enum SENT for value: sent - /// - [EnumMember(Value = "sent")] - SENT = 5, - - /// - /// Enum FAILED for value: failed - /// - [EnumMember(Value = "failed")] - FAILED = 6, - - /// - /// Enum RECEIVED for value: received - /// - [EnumMember(Value = "received")] - RECEIVED = 7, - - /// - /// Enum UNDELIVERED for value: undelivered - /// - [EnumMember(Value = "undelivered")] - UNDELIVERED = 8, - - /// - /// Enum EXPIRED for value: expired - /// - [EnumMember(Value = "expired")] - EXPIRED = 9, - - /// - /// Enum DELETED for value: deleted - /// - [EnumMember(Value = "deleted")] - DELETED = 10, - - /// - /// Enum UNKNOWN for value: unknown - /// - [EnumMember(Value = "unknown")] - UNKNOWN = 11 - - } - /// - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown + /// Gets or Sets Status /// - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown - [DataMember(Name = "status", EmitDefaultValue = true)] - public StatusEnum? Status { get; set; } + [DataMember(Name = "status", EmitDefaultValue = false)] + public MessageStatus? Status { get; set; } /// /// Initializes a new instance of the class. /// /// String that uniquely identifies this account resource.. /// String that uniquely identifies this message resource. - /// Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown. + /// status. /// Phone number in E.164 format that sent the message.. /// Phone number in E.164 format that received the message.. /// Message contents. /// Noting whether the message was inbound or outbound. /// URL invoked when message sent. - public MessageResultAllOf(string accountId = default(string), string messageId = default(string), StatusEnum? status = default(StatusEnum?), string from = default(string), string to = default(string), string text = default(string), string direction = default(string), string notificationUrl = default(string)) + public MessageResultAllOf(string accountId = default(string), string messageId = default(string), MessageStatus? status = default(MessageStatus?), string from = default(string), string to = default(string), string text = default(string), string direction = default(string), string notificationUrl = default(string)) { this.AccountId = accountId; this.MessageId = messageId; diff --git a/src/freeclimb/Model/MessagesList.cs b/src/freeclimb/Model/MessagesList.cs index 8f295275..12980312 100644 --- a/src/freeclimb/Model/MessagesList.cs +++ b/src/freeclimb/Model/MessagesList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/MessagesListAllOf.cs b/src/freeclimb/Model/MessagesListAllOf.cs index 877f5e2f..2e5c221e 100644 --- a/src/freeclimb/Model/MessagesListAllOf.cs +++ b/src/freeclimb/Model/MessagesListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/MutableResourceModel.cs b/src/freeclimb/Model/MutableResourceModel.cs index 65c87345..2c7a5ee0 100644 --- a/src/freeclimb/Model/MutableResourceModel.cs +++ b/src/freeclimb/Model/MutableResourceModel.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/OutDial.cs b/src/freeclimb/Model/OutDial.cs index 22403935..ea6b0f08 100644 --- a/src/freeclimb/Model/OutDial.cs +++ b/src/freeclimb/Model/OutDial.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -58,6 +59,12 @@ namespace freeclimb.Model [JsonSubtypes.KnownSubType(typeof(Unpark), "Unpark")] public partial class OutDial : PerclCommand, IEquatable, IValidatableObject { + + /// + /// Gets or Sets IfMachine + /// + [DataMember(Name = "ifMachine", EmitDefaultValue = false)] + public IfMachine? IfMachine { get; set; } /// /// Initializes a new instance of the class. /// @@ -70,14 +77,14 @@ protected OutDial() { } /// URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. (required). /// he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. (required). /// E.164 representation of the phone number to Call. (required). - /// Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked.. + /// ifMachine. /// When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the `ifMachine` flag is set to `redirect`. Otherwise, it should not be included.. /// DTMF tones to play to the outdialed Call. This is typically used to dial a number and then dial an extension.. /// When the outdialed Call leg terminates, FreeClimb sends a `callStatus` Webhook to the `statusCallbackUrl`. This is a notification only; any PerCL command returned is ignored.. /// Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`.. /// Parameter `privacyMode` will not log the `text` as required by PCI compliance.. /// Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) (default to "OutDial"). - public OutDial(string actionUrl = default(string), string callConnectUrl = default(string), decimal callingNumber = default(decimal), decimal destination = default(decimal), string ifMachine = default(string), string ifMachineUrl = default(string), string sendDigits = default(string), string statusCallbackUrl = default(string), int timeout = default(int), bool privacyMode = default(bool), string command = "OutDial") : base(command) + public OutDial(string actionUrl = default(string), string callConnectUrl = default(string), decimal callingNumber = default(decimal), decimal destination = default(decimal), IfMachine? ifMachine = default(IfMachine?), string ifMachineUrl = default(string), string sendDigits = default(string), string statusCallbackUrl = default(string), int timeout = default(int), bool privacyMode = default(bool), string command = "OutDial") : base(command) { // to ensure "actionUrl" is required (not null) if (actionUrl == null) { @@ -127,13 +134,6 @@ protected OutDial() { } [DataMember(Name = "destination", IsRequired = true, EmitDefaultValue = false)] public decimal Destination { get; set; } - /// - /// Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. - /// - /// Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. - [DataMember(Name = "ifMachine", EmitDefaultValue = false)] - public string IfMachine { get; set; } - /// /// When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the `ifMachine` flag is set to `redirect`. Otherwise, it should not be included. /// @@ -271,8 +271,7 @@ public bool Equals(OutDial input) ) && base.Equals(input) && ( this.IfMachine == input.IfMachine || - (this.IfMachine != null && - this.IfMachine.Equals(input.IfMachine)) + this.IfMachine.Equals(input.IfMachine) ) && base.Equals(input) && ( this.IfMachineUrl == input.IfMachineUrl || @@ -318,10 +317,7 @@ public override int GetHashCode() } hashCode = (hashCode * 59) + this.CallingNumber.GetHashCode(); hashCode = (hashCode * 59) + this.Destination.GetHashCode(); - if (this.IfMachine != null) - { - hashCode = (hashCode * 59) + this.IfMachine.GetHashCode(); - } + hashCode = (hashCode * 59) + this.IfMachine.GetHashCode(); if (this.IfMachineUrl != null) { hashCode = (hashCode * 59) + this.IfMachineUrl.GetHashCode(); diff --git a/src/freeclimb/Model/OutDialAllOf.cs b/src/freeclimb/Model/OutDialAllOf.cs index 4df3700f..520d2da2 100644 --- a/src/freeclimb/Model/OutDialAllOf.cs +++ b/src/freeclimb/Model/OutDialAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,6 +33,12 @@ namespace freeclimb.Model [DataContract(Name = "OutDial_allOf")] public partial class OutDialAllOf : IEquatable, IValidatableObject { + + /// + /// Gets or Sets IfMachine + /// + [DataMember(Name = "ifMachine", EmitDefaultValue = false)] + public IfMachine? IfMachine { get; set; } /// /// Initializes a new instance of the class. /// @@ -44,13 +51,13 @@ protected OutDialAllOf() { } /// URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. (required). /// he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. (required). /// E.164 representation of the phone number to Call. (required). - /// Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked.. + /// ifMachine. /// When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the `ifMachine` flag is set to `redirect`. Otherwise, it should not be included.. /// DTMF tones to play to the outdialed Call. This is typically used to dial a number and then dial an extension.. /// When the outdialed Call leg terminates, FreeClimb sends a `callStatus` Webhook to the `statusCallbackUrl`. This is a notification only; any PerCL command returned is ignored.. /// Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`.. /// Parameter `privacyMode` will not log the `text` as required by PCI compliance.. - public OutDialAllOf(string actionUrl = default(string), string callConnectUrl = default(string), decimal callingNumber = default(decimal), decimal destination = default(decimal), string ifMachine = default(string), string ifMachineUrl = default(string), string sendDigits = default(string), string statusCallbackUrl = default(string), int timeout = default(int), bool privacyMode = default(bool)) + public OutDialAllOf(string actionUrl = default(string), string callConnectUrl = default(string), decimal callingNumber = default(decimal), decimal destination = default(decimal), IfMachine? ifMachine = default(IfMachine?), string ifMachineUrl = default(string), string sendDigits = default(string), string statusCallbackUrl = default(string), int timeout = default(int), bool privacyMode = default(bool)) { // to ensure "actionUrl" is required (not null) if (actionUrl == null) { @@ -100,13 +107,6 @@ protected OutDialAllOf() { } [DataMember(Name = "destination", IsRequired = true, EmitDefaultValue = false)] public decimal Destination { get; set; } - /// - /// Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. - /// - /// Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. - [DataMember(Name = "ifMachine", EmitDefaultValue = false)] - public string IfMachine { get; set; } - /// /// When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the `ifMachine` flag is set to `redirect`. Otherwise, it should not be included. /// @@ -235,8 +235,7 @@ public bool Equals(OutDialAllOf input) ) && ( this.IfMachine == input.IfMachine || - (this.IfMachine != null && - this.IfMachine.Equals(input.IfMachine)) + this.IfMachine.Equals(input.IfMachine) ) && ( this.IfMachineUrl == input.IfMachineUrl || @@ -282,10 +281,7 @@ public override int GetHashCode() } hashCode = (hashCode * 59) + this.CallingNumber.GetHashCode(); hashCode = (hashCode * 59) + this.Destination.GetHashCode(); - if (this.IfMachine != null) - { - hashCode = (hashCode * 59) + this.IfMachine.GetHashCode(); - } + hashCode = (hashCode * 59) + this.IfMachine.GetHashCode(); if (this.IfMachineUrl != null) { hashCode = (hashCode * 59) + this.IfMachineUrl.GetHashCode(); diff --git a/src/freeclimb/Model/PaginationModel.cs b/src/freeclimb/Model/PaginationModel.cs index 1b04f95d..c5c699f8 100644 --- a/src/freeclimb/Model/PaginationModel.cs +++ b/src/freeclimb/Model/PaginationModel.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/Park.cs b/src/freeclimb/Model/Park.cs index ef43105e..ad0f3211 100644 --- a/src/freeclimb/Model/Park.cs +++ b/src/freeclimb/Model/Park.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/ParkAllOf.cs b/src/freeclimb/Model/ParkAllOf.cs index c7fac910..645dfb94 100644 --- a/src/freeclimb/Model/ParkAllOf.cs +++ b/src/freeclimb/Model/ParkAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/Pause.cs b/src/freeclimb/Model/Pause.cs index 4be1f0e9..6aa538b3 100644 --- a/src/freeclimb/Model/Pause.cs +++ b/src/freeclimb/Model/Pause.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/PauseAllOf.cs b/src/freeclimb/Model/PauseAllOf.cs index 8691e033..93aabe9e 100644 --- a/src/freeclimb/Model/PauseAllOf.cs +++ b/src/freeclimb/Model/PauseAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/PerclCommand.cs b/src/freeclimb/Model/PerclCommand.cs index 2599480c..6171db27 100644 --- a/src/freeclimb/Model/PerclCommand.cs +++ b/src/freeclimb/Model/PerclCommand.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/PerclScript.cs b/src/freeclimb/Model/PerclScript.cs index 2a9e45c5..16508e34 100644 --- a/src/freeclimb/Model/PerclScript.cs +++ b/src/freeclimb/Model/PerclScript.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/Play.cs b/src/freeclimb/Model/Play.cs index 9c193050..d94d2227 100644 --- a/src/freeclimb/Model/Play.cs +++ b/src/freeclimb/Model/Play.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/PlayAllOf.cs b/src/freeclimb/Model/PlayAllOf.cs index 47e2cfe5..64af722c 100644 --- a/src/freeclimb/Model/PlayAllOf.cs +++ b/src/freeclimb/Model/PlayAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/PlayEarlyMedia.cs b/src/freeclimb/Model/PlayEarlyMedia.cs index c8424a93..e1854374 100644 --- a/src/freeclimb/Model/PlayEarlyMedia.cs +++ b/src/freeclimb/Model/PlayEarlyMedia.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/PlayEarlyMediaAllOf.cs b/src/freeclimb/Model/PlayEarlyMediaAllOf.cs index cc25608a..2814ca7d 100644 --- a/src/freeclimb/Model/PlayEarlyMediaAllOf.cs +++ b/src/freeclimb/Model/PlayEarlyMediaAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/QueueList.cs b/src/freeclimb/Model/QueueList.cs index 9576442a..bcf0f500 100644 --- a/src/freeclimb/Model/QueueList.cs +++ b/src/freeclimb/Model/QueueList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/QueueListAllOf.cs b/src/freeclimb/Model/QueueListAllOf.cs index d131b1b4..adb440de 100644 --- a/src/freeclimb/Model/QueueListAllOf.cs +++ b/src/freeclimb/Model/QueueListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/QueueMember.cs b/src/freeclimb/Model/QueueMember.cs index c146e7aa..95dfe7a7 100644 --- a/src/freeclimb/Model/QueueMember.cs +++ b/src/freeclimb/Model/QueueMember.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/QueueMemberList.cs b/src/freeclimb/Model/QueueMemberList.cs index 2cac5df9..a4bc0a11 100644 --- a/src/freeclimb/Model/QueueMemberList.cs +++ b/src/freeclimb/Model/QueueMemberList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/QueueMemberListAllOf.cs b/src/freeclimb/Model/QueueMemberListAllOf.cs index fe7e6091..5475f235 100644 --- a/src/freeclimb/Model/QueueMemberListAllOf.cs +++ b/src/freeclimb/Model/QueueMemberListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/QueueRequest.cs b/src/freeclimb/Model/QueueRequest.cs index c5449d7a..f2f78bda 100644 --- a/src/freeclimb/Model/QueueRequest.cs +++ b/src/freeclimb/Model/QueueRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/QueueResult.cs b/src/freeclimb/Model/QueueResult.cs index aaf5f904..6fcc2954 100644 --- a/src/freeclimb/Model/QueueResult.cs +++ b/src/freeclimb/Model/QueueResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/QueueResultAllOf.cs b/src/freeclimb/Model/QueueResultAllOf.cs index e1839579..e6cf3fc5 100644 --- a/src/freeclimb/Model/QueueResultAllOf.cs +++ b/src/freeclimb/Model/QueueResultAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RecordUtterance.cs b/src/freeclimb/Model/RecordUtterance.cs index 4fc4cb33..eef6c588 100644 --- a/src/freeclimb/Model/RecordUtterance.cs +++ b/src/freeclimb/Model/RecordUtterance.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RecordUtteranceAllOf.cs b/src/freeclimb/Model/RecordUtteranceAllOf.cs index d543dfff..b91ff65b 100644 --- a/src/freeclimb/Model/RecordUtteranceAllOf.cs +++ b/src/freeclimb/Model/RecordUtteranceAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RecordingList.cs b/src/freeclimb/Model/RecordingList.cs index 2f0e6514..74e8d80f 100644 --- a/src/freeclimb/Model/RecordingList.cs +++ b/src/freeclimb/Model/RecordingList.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RecordingListAllOf.cs b/src/freeclimb/Model/RecordingListAllOf.cs index 12c3840a..64882f94 100644 --- a/src/freeclimb/Model/RecordingListAllOf.cs +++ b/src/freeclimb/Model/RecordingListAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RecordingResult.cs b/src/freeclimb/Model/RecordingResult.cs index b36227eb..2b5f79c4 100644 --- a/src/freeclimb/Model/RecordingResult.cs +++ b/src/freeclimb/Model/RecordingResult.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RecordingResultAllOf.cs b/src/freeclimb/Model/RecordingResultAllOf.cs index d0f02dee..376feb77 100644 --- a/src/freeclimb/Model/RecordingResultAllOf.cs +++ b/src/freeclimb/Model/RecordingResultAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/Redirect.cs b/src/freeclimb/Model/Redirect.cs index 98cbc410..7750d4ee 100644 --- a/src/freeclimb/Model/Redirect.cs +++ b/src/freeclimb/Model/Redirect.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RedirectAllOf.cs b/src/freeclimb/Model/RedirectAllOf.cs index ae75f221..aeb6d148 100644 --- a/src/freeclimb/Model/RedirectAllOf.cs +++ b/src/freeclimb/Model/RedirectAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/Reject.cs b/src/freeclimb/Model/Reject.cs index 3fb01f1f..1f40bf42 100644 --- a/src/freeclimb/Model/Reject.cs +++ b/src/freeclimb/Model/Reject.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RejectAllOf.cs b/src/freeclimb/Model/RejectAllOf.cs index 5ab96e00..9c048c98 100644 --- a/src/freeclimb/Model/RejectAllOf.cs +++ b/src/freeclimb/Model/RejectAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RemoveFromConference.cs b/src/freeclimb/Model/RemoveFromConference.cs index b1732391..5d5c6428 100644 --- a/src/freeclimb/Model/RemoveFromConference.cs +++ b/src/freeclimb/Model/RemoveFromConference.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/RemoveFromConferenceAllOf.cs b/src/freeclimb/Model/RemoveFromConferenceAllOf.cs index bd8a912f..9c45c859 100644 --- a/src/freeclimb/Model/RemoveFromConferenceAllOf.cs +++ b/src/freeclimb/Model/RemoveFromConferenceAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/Say.cs b/src/freeclimb/Model/Say.cs index e27716b2..b0f58475 100644 --- a/src/freeclimb/Model/Say.cs +++ b/src/freeclimb/Model/Say.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/SayAllOf.cs b/src/freeclimb/Model/SayAllOf.cs index 1919611b..e724f999 100644 --- a/src/freeclimb/Model/SayAllOf.cs +++ b/src/freeclimb/Model/SayAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/SendDigits.cs b/src/freeclimb/Model/SendDigits.cs index 909bcb69..656fd10e 100644 --- a/src/freeclimb/Model/SendDigits.cs +++ b/src/freeclimb/Model/SendDigits.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/SendDigitsAllOf.cs b/src/freeclimb/Model/SendDigitsAllOf.cs index bc518156..ad81e71a 100644 --- a/src/freeclimb/Model/SendDigitsAllOf.cs +++ b/src/freeclimb/Model/SendDigitsAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/SetListen.cs b/src/freeclimb/Model/SetListen.cs index ceefc16d..66dd49dd 100644 --- a/src/freeclimb/Model/SetListen.cs +++ b/src/freeclimb/Model/SetListen.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/SetListenAllOf.cs b/src/freeclimb/Model/SetListenAllOf.cs index ecbb2e6b..0840e5d3 100644 --- a/src/freeclimb/Model/SetListenAllOf.cs +++ b/src/freeclimb/Model/SetListenAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/SetTalk.cs b/src/freeclimb/Model/SetTalk.cs index 027f4e96..f1390ee5 100644 --- a/src/freeclimb/Model/SetTalk.cs +++ b/src/freeclimb/Model/SetTalk.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/SetTalkAllOf.cs b/src/freeclimb/Model/SetTalkAllOf.cs index c0b9159e..47f00c0f 100644 --- a/src/freeclimb/Model/SetTalkAllOf.cs +++ b/src/freeclimb/Model/SetTalkAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/Sms.cs b/src/freeclimb/Model/Sms.cs index c9bad669..ec0210ce 100644 --- a/src/freeclimb/Model/Sms.cs +++ b/src/freeclimb/Model/Sms.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/SmsAllOf.cs b/src/freeclimb/Model/SmsAllOf.cs index 71ef6242..d72e7bea 100644 --- a/src/freeclimb/Model/SmsAllOf.cs +++ b/src/freeclimb/Model/SmsAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/StartRecordCall.cs b/src/freeclimb/Model/StartRecordCall.cs index bb8953aa..f379fa41 100644 --- a/src/freeclimb/Model/StartRecordCall.cs +++ b/src/freeclimb/Model/StartRecordCall.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/TerminateConference.cs b/src/freeclimb/Model/TerminateConference.cs index 03417e3e..3d818b73 100644 --- a/src/freeclimb/Model/TerminateConference.cs +++ b/src/freeclimb/Model/TerminateConference.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/TerminateConferenceAllOf.cs b/src/freeclimb/Model/TerminateConferenceAllOf.cs index c9252777..ee34bf78 100644 --- a/src/freeclimb/Model/TerminateConferenceAllOf.cs +++ b/src/freeclimb/Model/TerminateConferenceAllOf.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/Unpark.cs b/src/freeclimb/Model/Unpark.cs index 1a7cfc48..8aecff0f 100644 --- a/src/freeclimb/Model/Unpark.cs +++ b/src/freeclimb/Model/Unpark.cs @@ -24,6 +24,7 @@ using JsonSubTypes; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/UpdateCallRequest.cs b/src/freeclimb/Model/UpdateCallRequest.cs index b1398b67..a34f5106 100644 --- a/src/freeclimb/Model/UpdateCallRequest.cs +++ b/src/freeclimb/Model/UpdateCallRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,34 +33,12 @@ namespace freeclimb.Model [DataContract(Name = "UpdateCallRequest")] public partial class UpdateCallRequest : IEquatable, IValidatableObject { - /// - /// Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. - /// - /// Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum CANCELED for value: canceled - /// - [EnumMember(Value = "canceled")] - CANCELED = 1, - - /// - /// Enum COMPLETED for value: completed - /// - [EnumMember(Value = "completed")] - COMPLETED = 2 - - } - /// - /// Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. + /// Gets or Sets Status /// - /// Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = false)] - public StatusEnum Status { get; set; } + public UpdateCallRequestStatus Status { get; set; } /// /// Initializes a new instance of the class. /// @@ -68,8 +47,8 @@ protected UpdateCallRequest() { } /// /// Initializes a new instance of the class. /// - /// Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. (required). - public UpdateCallRequest(StatusEnum status = default(StatusEnum)) + /// status (required). + public UpdateCallRequest(UpdateCallRequestStatus status = default(UpdateCallRequestStatus)) { this.Status = status; } diff --git a/src/freeclimb/Model/UpdateConferenceParticipantRequest.cs b/src/freeclimb/Model/UpdateConferenceParticipantRequest.cs index 62ddd7bf..b9ca37bb 100644 --- a/src/freeclimb/Model/UpdateConferenceParticipantRequest.cs +++ b/src/freeclimb/Model/UpdateConferenceParticipantRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { diff --git a/src/freeclimb/Model/UpdateConferenceRequest.cs b/src/freeclimb/Model/UpdateConferenceRequest.cs index 585d9b6b..35c42c27 100644 --- a/src/freeclimb/Model/UpdateConferenceRequest.cs +++ b/src/freeclimb/Model/UpdateConferenceRequest.cs @@ -23,6 +23,7 @@ using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; +using freeclimb.Enums; namespace freeclimb.Model { @@ -32,81 +33,25 @@ namespace freeclimb.Model [DataContract(Name = "UpdateConferenceRequest")] public partial class UpdateConferenceRequest : IEquatable, IValidatableObject { - /// - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. - /// - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. - [JsonConverter(typeof(StringEnumConverter))] - public enum PlayBeepEnum - { - /// - /// Enum ALWAYS for value: always - /// - [EnumMember(Value = "always")] - ALWAYS = 1, - - /// - /// Enum NEVER for value: never - /// - [EnumMember(Value = "never")] - NEVER = 2, - - /// - /// Enum ENTRY_ONLY for value: entryOnly - /// - [EnumMember(Value = "entryOnly")] - ENTRY_ONLY = 3, - - /// - /// Enum EXIT_ONLY for value: exitOnly - /// - [EnumMember(Value = "exitOnly")] - EXIT_ONLY = 4 - - } - /// - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. + /// Gets or Sets PlayBeep /// - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. [DataMember(Name = "playBeep", EmitDefaultValue = false)] - public PlayBeepEnum? PlayBeep { get; set; } - /// - /// New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** - /// - /// New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** - [JsonConverter(typeof(StringEnumConverter))] - public enum StatusEnum - { - /// - /// Enum EMPTY for value: empty - /// - [EnumMember(Value = "empty")] - EMPTY = 1, - - /// - /// Enum TERMINATED for value: terminated - /// - [EnumMember(Value = "terminated")] - TERMINATED = 2 - - } - + public PlayBeep? PlayBeep { get; set; } /// - /// New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** + /// Gets or Sets Status /// - /// New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** [DataMember(Name = "status", EmitDefaultValue = false)] - public StatusEnum? Status { get; set; } + public UpdateConferenceRequestStatus? Status { get; set; } /// /// Initializes a new instance of the class. /// /// Description for this conference. Maximum 64 characters.. - /// Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. (default to PlayBeepEnum.ALWAYS). - /// New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.**. - public UpdateConferenceRequest(string alias = default(string), PlayBeepEnum? playBeep = PlayBeepEnum.ALWAYS, StatusEnum? status = default(StatusEnum?)) + /// playBeep. + /// status. + public UpdateConferenceRequest(string alias = default(string), PlayBeep? playBeep = default(PlayBeep?), UpdateConferenceRequestStatus? status = default(UpdateConferenceRequestStatus?)) { this.Alias = alias; this.PlayBeep = playBeep; diff --git a/src/freeclimb/freeclimb.csproj b/src/freeclimb/freeclimb.csproj index 8481e65c..81dd3f02 100644 --- a/src/freeclimb/freeclimb.csproj +++ b/src/freeclimb/freeclimb.csproj @@ -14,7 +14,7 @@ freeclimb 4.1.1 bin\$(Configuration)\$(TargetFramework)\freeclimb.xml - https://https://github.com/freeclimbapi/csharp-sdk.git + https://github.com/freeclimbapi/csharp-sdk.git git Minor update From 792773b9b8af3967aa91bf172003251bce155055 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Wed, 23 Nov 2022 18:31:55 -0500 Subject: [PATCH 02/59] Add all updated models, enums, and their tests --- .openapi-generator/FILES | 1 + docs/CreateConference.md | 4 +- docs/CreateConferenceAllOf.md | 4 +- docs/DefaultApi.md | 6 +- src/freeclimb.Test/Api/DefaultApiTests.cs | 443 ++-- .../SmokeTests.cs} | 59 +- .../Enums/AccountStatusTests.cs | 112 +- src/freeclimb.Test/Enums/AccountTypeTests.cs | 112 +- src/freeclimb.Test/Enums/AnsweredByTests.cs | 112 +- .../Enums/CallDirectionTests.cs | 112 +- src/freeclimb.Test/Enums/CallStatusTests.cs | 112 +- .../Enums/ConferenceStatusTests.cs | 112 +- .../Enums/GetSpeechReasonTests.cs | 112 +- .../Enums/GrammarFileBuiltInTests.cs | 112 +- src/freeclimb.Test/Enums/GrammarTypeTests.cs | 112 +- src/freeclimb.Test/Enums/IfMachineTests.cs | 112 +- src/freeclimb.Test/Enums/LanguageTests.cs | 112 +- src/freeclimb.Test/Enums/LogLevelTests.cs | 112 +- src/freeclimb.Test/Enums/MachineTypeTests.cs | 112 +- .../Enums/MessageDirectionTests.cs | 112 +- .../Enums/MessageStatusTests.cs | 112 +- src/freeclimb.Test/Enums/PlayBeepTests.cs | 112 +- .../Enums/QueueResultStatusTests.cs | 112 +- .../Enums/RecordUtteranceTermReasonTests.cs | 112 +- src/freeclimb.Test/Enums/RequestTypeTests.cs | 112 +- .../Enums/UpdateCallRequestStatusTests.cs | 112 +- .../UpdateConferenceRequestStatusTests.cs | 112 +- .../Model/AccountRequestTests.cs | 7 +- .../Model/AccountResultAllOfTests.cs | 7 +- .../Model/AccountResultTests.cs | 7 +- .../Model/AddToConferenceAllOfTests.cs | 7 +- .../Model/AddToConferenceTests.cs | 7 +- .../Model/ApplicationListAllOfTests.cs | 7 +- .../Model/ApplicationListTests.cs | 7 +- .../Model/ApplicationRequestTests.cs | 7 +- .../Model/ApplicationResultAllOfTests.cs | 7 +- .../Model/ApplicationResultTests.cs | 7 +- .../Model/AvailableNumberListAllOfTests.cs | 7 +- .../Model/AvailableNumberListTests.cs | 7 +- .../Model/AvailableNumberTests.cs | 7 +- .../Model/BuyIncomingNumberRequestTests.cs | 7 +- .../Model/CallListAllOfTests.cs | 7 +- src/freeclimb.Test/Model/CallListTests.cs | 7 +- .../Model/CallResultAllOfTests.cs | 7 +- src/freeclimb.Test/Model/CallResultTests.cs | 7 +- src/freeclimb.Test/Model/CapabilitiesTests.cs | 7 +- .../Model/ConferenceListAllOfTests.cs | 7 +- .../Model/ConferenceListTests.cs | 7 +- .../ConferenceParticipantListAllOfTests.cs | 7 +- .../Model/ConferenceParticipantListTests.cs | 7 +- .../ConferenceParticipantResultAllOfTests.cs | 7 +- .../Model/ConferenceParticipantResultTests.cs | 7 +- .../Model/ConferenceResultAllOfTests.cs | 7 +- .../Model/ConferenceResultTests.cs | 7 +- .../Model/CreateConferenceAllOfTests.cs | 7 +- .../Model/CreateConferenceRequestTests.cs | 7 +- .../Model/CreateConferenceTests.cs | 7 +- src/freeclimb.Test/Model/DequeueTests.cs | 7 +- src/freeclimb.Test/Model/EnqueueAllOfTests.cs | 7 +- src/freeclimb.Test/Model/EnqueueTests.cs | 7 +- .../Model/FilterLogsRequestTests.cs | 7 +- .../Model/GetDigitsAllOfTests.cs | 7 +- src/freeclimb.Test/Model/GetDigitsTests.cs | 7 +- .../Model/GetSpeechAllOfTests.cs | 7 +- src/freeclimb.Test/Model/GetSpeechTests.cs | 7 +- src/freeclimb.Test/Model/HangupAllOfTests.cs | 7 +- src/freeclimb.Test/Model/HangupTests.cs | 7 +- .../Model/IncomingNumberListAllOfTests.cs | 7 +- .../Model/IncomingNumberListTests.cs | 7 +- .../Model/IncomingNumberRequestTests.cs | 7 +- .../Model/IncomingNumberResultAllOfTests.cs | 15 +- .../Model/IncomingNumberResultTests.cs | 15 +- src/freeclimb.Test/Model/LogListAllOfTests.cs | 7 +- src/freeclimb.Test/Model/LogListTests.cs | 7 +- src/freeclimb.Test/Model/LogResultTests.cs | 7 +- .../Model/MakeCallRequestTests.cs | 7 +- .../Model/MessageRequestAllOfTests.cs | 7 +- .../Model/MessageRequestTests.cs | 7 +- .../Model/MessageResultAllOfTests.cs | 7 +- .../Model/MessageResultTests.cs | 7 +- .../Model/MessagesListAllOfTests.cs | 7 +- src/freeclimb.Test/Model/MessagesListTests.cs | 7 +- .../Model/MutableResourceModelTests.cs | 7 +- src/freeclimb.Test/Model/OutDialAllOfTests.cs | 7 +- src/freeclimb.Test/Model/OutDialTests.cs | 7 +- .../Model/PaginationModelTests.cs | 7 +- src/freeclimb.Test/Model/ParkAllOfTests.cs | 7 +- src/freeclimb.Test/Model/ParkTests.cs | 7 +- src/freeclimb.Test/Model/PauseAllOfTests.cs | 7 +- src/freeclimb.Test/Model/PauseTests.cs | 7 +- src/freeclimb.Test/Model/PerclCommandTests.cs | 25 +- src/freeclimb.Test/Model/PerclScriptTests.cs | 24 +- src/freeclimb.Test/Model/PlayAllOfTests.cs | 7 +- .../Model/PlayEarlyMediaAllOfTests.cs | 7 +- .../Model/PlayEarlyMediaTests.cs | 7 +- src/freeclimb.Test/Model/PlayTests.cs | 7 +- .../Model/QueueListAllOfTests.cs | 7 +- src/freeclimb.Test/Model/QueueListTests.cs | 7 +- .../Model/QueueMemberListAllOfTests.cs | 7 +- .../Model/QueueMemberListTests.cs | 7 +- src/freeclimb.Test/Model/QueueMemberTests.cs | 7 +- src/freeclimb.Test/Model/QueueRequestTests.cs | 7 +- .../Model/QueueResultAllOfTests.cs | 7 +- src/freeclimb.Test/Model/QueueResultTests.cs | 7 +- .../Model/RecordUtteranceAllOfTests.cs | 7 +- .../Model/RecordUtteranceTests.cs | 7 +- .../Model/RecordingListAllOfTests.cs | 7 +- .../Model/RecordingListTests.cs | 7 +- .../Model/RecordingResultAllOfTests.cs | 7 +- .../Model/RecordingResultTests.cs | 7 +- .../Model/RedirectAllOfTests.cs | 7 +- src/freeclimb.Test/Model/RedirectTests.cs | 7 +- src/freeclimb.Test/Model/RejectAllOfTests.cs | 7 +- src/freeclimb.Test/Model/RejectTests.cs | 7 +- .../Model/RemoveFromConferenceAllOfTests.cs | 7 +- .../Model/RemoveFromConferenceTests.cs | 7 +- src/freeclimb.Test/Model/SayAllOfTests.cs | 7 +- src/freeclimb.Test/Model/SayTests.cs | 7 +- .../Model/SendDigitsAllOfTests.cs | 7 +- src/freeclimb.Test/Model/SendDigitsTests.cs | 7 +- .../Model/SetListenAllOfTests.cs | 7 +- src/freeclimb.Test/Model/SetListenTests.cs | 7 +- src/freeclimb.Test/Model/SetTalkAllOfTests.cs | 7 +- src/freeclimb.Test/Model/SetTalkTests.cs | 7 +- src/freeclimb.Test/Model/SmsAllOfTests.cs | 7 +- src/freeclimb.Test/Model/SmsTests.cs | 7 +- .../Model/StartRecordCallTests.cs | 7 +- .../Model/TerminateConferenceAllOfTests.cs | 7 +- .../Model/TerminateConferenceTests.cs | 7 +- src/freeclimb.Test/Model/UnparkTests.cs | 7 +- .../Model/UpdateCallRequestTests.cs | 7 +- ...UpdateConferenceParticipantRequestTests.cs | 7 +- .../Model/UpdateConferenceRequestTests.cs | 7 +- src/freeclimb/Api/DefaultApi.cs | 1786 ++++++++--------- src/freeclimb/Enums/Extensions.cs | 11 +- src/freeclimb/Enums/MarchineType.cs | 50 - src/freeclimb/Enums/Reflection.cs | 16 +- src/freeclimb/Model/CreateConference.cs | 35 +- src/freeclimb/Model/CreateConferenceAllOf.cs | 35 +- 139 files changed, 3935 insertions(+), 1660 deletions(-) rename src/freeclimb.Test/{Enums/MarchineTypeTests.cs => Api/SmokeTests.cs} (55%) delete mode 100644 src/freeclimb/Enums/MarchineType.cs diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 51211f6a..4f633fa1 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -146,6 +146,7 @@ src/freeclimb.Test/Model/LogLevelTests.cs src/freeclimb.Test/Model/MachineTypeTests.cs src/freeclimb.Test/Model/MessageDirectionTests.cs src/freeclimb.Test/Model/MessageStatusTests.cs +src/freeclimb.Test/Model/PerclScriptTests.cs src/freeclimb.Test/Model/PlayBeepTests.cs src/freeclimb.Test/Model/QueueResultStatusTests.cs src/freeclimb.Test/Model/RecordUtteranceTermReasonTests.cs diff --git a/docs/CreateConference.md b/docs/CreateConference.md index ead84cf9..14f9c993 100644 --- a/docs/CreateConference.md +++ b/docs/CreateConference.md @@ -8,9 +8,9 @@ Name | Type | Description | Notes **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. | **Alias** | **bool** | Descriptive name for the Conference. | [optional] -**PlayBeep** | **string** | Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` | [optional] +**PlayBeep** | **PlayBeep** | | [optional] **Record** | **bool** | When set to `true`, the entire Conference is recorded. The `statusCallbackUrl` of the Conference will receive a `conferenceRecordingEnded` Webhook when the Conference transitions from the `inProgress` to empty state. | [optional] -**StatusCallbackUrl** | **bool** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional] +**StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional] **WaitUrl** | **string** | If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. | [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/CreateConferenceAllOf.md b/docs/CreateConferenceAllOf.md index 6d4f7bcc..e6e75866 100644 --- a/docs/CreateConferenceAllOf.md +++ b/docs/CreateConferenceAllOf.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ActionUrl** | **string** | This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. | **Alias** | **bool** | Descriptive name for the Conference. | [optional] -**PlayBeep** | **string** | Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` | [optional] +**PlayBeep** | **PlayBeep** | | [optional] **Record** | **bool** | When set to `true`, the entire Conference is recorded. The `statusCallbackUrl` of the Conference will receive a `conferenceRecordingEnded` Webhook when the Conference transitions from the `inProgress` to empty state. | [optional] -**StatusCallbackUrl** | **bool** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional] +**StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional] **WaitUrl** | **string** | If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. | [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 ab1b5696..b9ff9cb5 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -2742,7 +2742,7 @@ Name | Type | Description | Notes # **ListSmsMessages** -> MessagesList ListSmsMessages (string to = null, string from = null, string beginTime = null, string endTime = null, CallDirection? direction = null) +> MessagesList ListSmsMessages (string to = null, string from = null, string beginTime = null, string endTime = null, MessageDirection? direction = null) List SMS Messages @@ -2776,7 +2776,7 @@ namespace Example var endTime = "endTime_example"; // string | Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - var direction = (CallDirection) "inbound"; // CallDirection? | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) + var direction = (MessageDirection) "inbound"; // MessageDirection? | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) try @@ -2804,7 +2804,7 @@ Name | Type | Description | Notes **from** | **string**| Only show Messages from this phone number. | [optional] **beginTime** | **string**| Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. | [optional] **endTime** | **string**| Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. | [optional] - **direction** | **CallDirection?**| Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. | [optional] + **direction** | **MessageDirection?**| Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. | [optional] ### Return type diff --git a/src/freeclimb.Test/Api/DefaultApiTests.cs b/src/freeclimb.Test/Api/DefaultApiTests.cs index 406f5ce4..1ef57562 100644 --- a/src/freeclimb.Test/Api/DefaultApiTests.cs +++ b/src/freeclimb.Test/Api/DefaultApiTests.cs @@ -23,6 +23,7 @@ using freeclimb.Api; // uncomment below to import models using freeclimb.Model; +using freeclimb.Enums; namespace freeclimb.Test.Api { @@ -60,7 +61,7 @@ public void InstanceTest() { Assert.IsType>(instance); } - + /// /// Test BuyAPhoneNumber /// @@ -68,15 +69,15 @@ public void InstanceTest() public void BuyAPhoneNumberTest() { - + BuyIncomingNumberRequest buyIncomingNumberRequest = buyIncomingNumberRequestTestValue(); - + instance.Setup(m => m.BuyAPhoneNumber(buyIncomingNumberRequest)).Returns(incomingNumberResultTestValue()); var response = instance.Object.BuyAPhoneNumber(buyIncomingNumberRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test CreateAConference /// @@ -84,15 +85,15 @@ public void BuyAPhoneNumberTest() public void CreateAConferenceTest() { - + CreateConferenceRequest createConferenceRequest = createConferenceRequestTestValue(); - + instance.Setup(m => m.CreateAConference(createConferenceRequest)).Returns(conferenceResultTestValue()); var response = instance.Object.CreateAConference(createConferenceRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test CreateAQueue /// @@ -100,15 +101,15 @@ public void CreateAConferenceTest() public void CreateAQueueTest() { - + QueueRequest queueRequest = queueRequestTestValue(); - + instance.Setup(m => m.CreateAQueue(queueRequest)).Returns(queueResultTestValue()); var response = instance.Object.CreateAQueue(queueRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test CreateAnApplication /// @@ -116,15 +117,15 @@ public void CreateAQueueTest() public void CreateAnApplicationTest() { - + ApplicationRequest applicationRequest = applicationRequestTestValue(); - + instance.Setup(m => m.CreateAnApplication(applicationRequest)).Returns(applicationResultTestValue()); var response = instance.Object.CreateAnApplication(applicationRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test DeleteARecording /// @@ -132,13 +133,13 @@ public void CreateAnApplicationTest() public void DeleteARecordingTest() { - + string recordingId = recordingIdTestValue(); - + instance.Setup(m => m.DeleteARecording(recordingId)); instance.Object.DeleteARecording(recordingId); } - + /// /// Test DeleteAnApplication /// @@ -146,13 +147,13 @@ public void DeleteARecordingTest() public void DeleteAnApplicationTest() { - + string applicationId = applicationIdTestValue(); - + instance.Setup(m => m.DeleteAnApplication(applicationId)); instance.Object.DeleteAnApplication(applicationId); } - + /// /// Test DeleteAnIncomingNumber /// @@ -160,13 +161,13 @@ public void DeleteAnApplicationTest() public void DeleteAnIncomingNumberTest() { - + string phoneNumberId = phoneNumberIdTestValue(); - + instance.Setup(m => m.DeleteAnIncomingNumber(phoneNumberId)); instance.Object.DeleteAnIncomingNumber(phoneNumberId); } - + /// /// Test DequeueAMember /// @@ -174,17 +175,17 @@ public void DeleteAnIncomingNumberTest() public void DequeueAMemberTest() { - + string queueId = queueIdTestValue(); - + string callId = callIdTestValue(); - + instance.Setup(m => m.DequeueAMember(queueId, callId)).Returns(queueMemberTestValue()); var response = instance.Object.DequeueAMember(queueId, callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test DequeueHeadMember /// @@ -192,15 +193,15 @@ public void DequeueAMemberTest() public void DequeueHeadMemberTest() { - + string queueId = queueIdTestValue(); - + instance.Setup(m => m.DequeueHeadMember(queueId)).Returns(queueMemberTestValue()); var response = instance.Object.DequeueHeadMember(queueId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test DownloadARecordingFile /// @@ -208,15 +209,15 @@ public void DequeueHeadMemberTest() public void DownloadARecordingFileTest() { - + string recordingId = recordingIdTestValue(); - + instance.Setup(m => m.DownloadARecordingFile(recordingId)).Returns(systemIOStreamTestValue()); var response = instance.Object.DownloadARecordingFile(recordingId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test FilterLogs /// @@ -224,15 +225,15 @@ public void DownloadARecordingFileTest() public void FilterLogsTest() { - + FilterLogsRequest filterLogsRequest = filterLogsRequestTestValue(); - + instance.Setup(m => m.FilterLogs(filterLogsRequest)).Returns(logListTestValue()); var response = instance.Object.FilterLogs(filterLogsRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetACall /// @@ -240,15 +241,15 @@ public void FilterLogsTest() public void GetACallTest() { - + string callId = callIdTestValue(); - + instance.Setup(m => m.GetACall(callId)).Returns(callResultTestValue()); var response = instance.Object.GetACall(callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetAConference /// @@ -256,15 +257,15 @@ public void GetACallTest() public void GetAConferenceTest() { - + string conferenceId = conferenceIdTestValue(); - + instance.Setup(m => m.GetAConference(conferenceId)).Returns(conferenceResultTestValue()); var response = instance.Object.GetAConference(conferenceId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetAMember /// @@ -272,17 +273,17 @@ public void GetAConferenceTest() public void GetAMemberTest() { - + string queueId = queueIdTestValue(); - + string callId = callIdTestValue(); - + instance.Setup(m => m.GetAMember(queueId, callId)).Returns(queueMemberTestValue()); var response = instance.Object.GetAMember(queueId, callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetAParticipant /// @@ -290,17 +291,17 @@ public void GetAMemberTest() public void GetAParticipantTest() { - + string conferenceId = conferenceIdTestValue(); - + string callId = callIdTestValue(); - + instance.Setup(m => m.GetAParticipant(conferenceId, callId)).Returns(conferenceParticipantResultTestValue()); var response = instance.Object.GetAParticipant(conferenceId, callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetAQueue /// @@ -308,15 +309,15 @@ public void GetAParticipantTest() public void GetAQueueTest() { - + string queueId = queueIdTestValue(); - + instance.Setup(m => m.GetAQueue(queueId)).Returns(queueResultTestValue()); var response = instance.Object.GetAQueue(queueId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetARecording /// @@ -324,15 +325,15 @@ public void GetAQueueTest() public void GetARecordingTest() { - + string recordingId = recordingIdTestValue(); - + instance.Setup(m => m.GetARecording(recordingId)).Returns(recordingResultTestValue()); var response = instance.Object.GetARecording(recordingId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetAnAccount /// @@ -340,13 +341,13 @@ public void GetARecordingTest() public void GetAnAccountTest() { - + instance.Setup(m => m.GetAnAccount()).Returns(accountResultTestValue()); var response = instance.Object.GetAnAccount(); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetAnApplication /// @@ -354,15 +355,15 @@ public void GetAnAccountTest() public void GetAnApplicationTest() { - + string applicationId = applicationIdTestValue(); - + instance.Setup(m => m.GetAnApplication(applicationId)).Returns(applicationResultTestValue()); var response = instance.Object.GetAnApplication(applicationId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetAnIncomingNumber /// @@ -370,15 +371,15 @@ public void GetAnApplicationTest() public void GetAnIncomingNumberTest() { - + string phoneNumberId = phoneNumberIdTestValue(); - + instance.Setup(m => m.GetAnIncomingNumber(phoneNumberId)).Returns(incomingNumberResultTestValue()); var response = instance.Object.GetAnIncomingNumber(phoneNumberId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetAnSmsMessage /// @@ -386,15 +387,15 @@ public void GetAnIncomingNumberTest() public void GetAnSmsMessageTest() { - + string messageId = messageIdTestValue(); - + instance.Setup(m => m.GetAnSmsMessage(messageId)).Returns(messageResultTestValue()); var response = instance.Object.GetAnSmsMessage(messageId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test GetHeadMember /// @@ -402,15 +403,15 @@ public void GetAnSmsMessageTest() public void GetHeadMemberTest() { - + string queueId = queueIdTestValue(); - + instance.Setup(m => m.GetHeadMember(queueId)).Returns(queueMemberTestValue()); var response = instance.Object.GetHeadMember(queueId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListActiveQueues /// @@ -418,15 +419,15 @@ public void GetHeadMemberTest() public void ListActiveQueuesTest() { - + string alias = aliasTestValue(); - + instance.Setup(m => m.ListActiveQueues(alias)).Returns(queueListTestValue()); var response = instance.Object.ListActiveQueues(alias); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListAllAccountLogs /// @@ -434,13 +435,13 @@ public void ListActiveQueuesTest() public void ListAllAccountLogsTest() { - + instance.Setup(m => m.ListAllAccountLogs()).Returns(logListTestValue()); var response = instance.Object.ListAllAccountLogs(); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListApplications /// @@ -448,15 +449,15 @@ public void ListAllAccountLogsTest() public void ListApplicationsTest() { - + string alias = aliasTestValue(); - + instance.Setup(m => m.ListApplications(alias)).Returns(applicationListTestValue()); var response = instance.Object.ListApplications(alias); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListAvailableNumbers /// @@ -464,33 +465,33 @@ public void ListApplicationsTest() public void ListAvailableNumbersTest() { - + string phoneNumber = phoneNumberTestValue(); - + string region = regionTestValue(); - + string country = countryTestValue(); - + bool? voiceEnabled = voiceEnabledTestValue(); - + bool? smsEnabled = smsEnabledTestValue(); - + bool? capabilitiesVoice = capabilitiesVoiceTestValue(); - + bool? capabilitiesSms = capabilitiesSmsTestValue(); - + bool? capabilitiesTollFree = capabilitiesTollFreeTestValue(); - + bool? capabilitiesTenDLC = capabilitiesTenDLCTestValue(); - + bool? capabilitiesShortCode = capabilitiesShortCodeTestValue(); - + instance.Setup(m => m.ListAvailableNumbers(phoneNumber, region, country, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode)).Returns(availableNumberListTestValue()); var response = instance.Object.ListAvailableNumbers(phoneNumber, region, country, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListCallLogs /// @@ -498,15 +499,15 @@ public void ListAvailableNumbersTest() public void ListCallLogsTest() { - + string callId = callIdTestValue(); - + instance.Setup(m => m.ListCallLogs(callId)).Returns(logListTestValue()); var response = instance.Object.ListCallLogs(callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListCallRecordings /// @@ -514,17 +515,17 @@ public void ListCallLogsTest() public void ListCallRecordingsTest() { - + string callId = callIdTestValue(); - + string dateCreated = dateCreatedTestValue(); - + instance.Setup(m => m.ListCallRecordings(callId, dateCreated)).Returns(recordingListTestValue()); var response = instance.Object.ListCallRecordings(callId, dateCreated); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListCalls /// @@ -532,27 +533,30 @@ public void ListCallRecordingsTest() public void ListCallsTest() { - + bool? active = activeTestValue(); - + string to = toTestValue(); - + string from = fromTestValue(); - - string status = statusTestValue(); - + + CallStatus? status = statusTestEnum(); + string startTime = startTimeTestValue(); - + string endTime = endTimeTestValue(); - + string parentCallId = parentCallIdTestValue(); - + + //Is it possible to look at the generated raw request payload from this mock? (like what we see in our terminal with the curl) + //If so, see if we can serialize and test? (use Ruby SDK) + //Look into the mocks to see if what I'm thinking is doable instance.Setup(m => m.ListCalls(active, to, from, status, startTime, endTime, parentCallId)).Returns(callListTestValue()); var response = instance.Object.ListCalls(active, to, from, status, startTime, endTime, parentCallId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListConferences /// @@ -560,21 +564,21 @@ public void ListCallsTest() public void ListConferencesTest() { - + string status = statusTestValue(); - + string alias = aliasTestValue(); - + string dateCreated = dateCreatedTestValue(); - + string dateUpdated = dateUpdatedTestValue(); - + instance.Setup(m => m.ListConferences(status, alias, dateCreated, dateUpdated)).Returns(conferenceListTestValue()); var response = instance.Object.ListConferences(status, alias, dateCreated, dateUpdated); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListIncomingNumbers /// @@ -582,41 +586,41 @@ public void ListConferencesTest() public void ListIncomingNumbersTest() { - + string phoneNumber = phoneNumberTestValue(); - + string alias = aliasTestValue(); - + string region = regionTestValue(); - + string country = countryTestValue(); - + string applicationId = applicationIdTestValue(); - + bool? hasApplication = hasApplicationTestValue(); - + bool? voiceEnabled = voiceEnabledTestValue(); - + bool? smsEnabled = smsEnabledTestValue(); - + bool? capabilitiesVoice = capabilitiesVoiceTestValue(); - + bool? capabilitiesSms = capabilitiesSmsTestValue(); - + bool? capabilitiesTollFree = capabilitiesTollFreeTestValue(); - + bool? capabilitiesTenDLC = capabilitiesTenDLCTestValue(); - + bool? capabilitiesShortCode = capabilitiesShortCodeTestValue(); - + bool? offnet = offnetTestValue(); - + instance.Setup(m => m.ListIncomingNumbers(phoneNumber, alias, region, country, applicationId, hasApplication, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode, offnet)).Returns(incomingNumberListTestValue()); var response = instance.Object.ListIncomingNumbers(phoneNumber, alias, region, country, applicationId, hasApplication, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode, offnet); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListMembers /// @@ -624,15 +628,15 @@ public void ListIncomingNumbersTest() public void ListMembersTest() { - + string queueId = queueIdTestValue(); - + instance.Setup(m => m.ListMembers(queueId)).Returns(queueMemberListTestValue()); var response = instance.Object.ListMembers(queueId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListParticipants /// @@ -640,19 +644,19 @@ public void ListMembersTest() public void ListParticipantsTest() { - + string conferenceId = conferenceIdTestValue(); - + bool? talk = talkTestValue(); - + bool? listen = listenTestValue(); - + instance.Setup(m => m.ListParticipants(conferenceId, talk, listen)).Returns(conferenceParticipantListTestValue()); var response = instance.Object.ListParticipants(conferenceId, talk, listen); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListRecordings /// @@ -660,19 +664,19 @@ public void ListParticipantsTest() public void ListRecordingsTest() { - + string callId = callIdTestValue(); - + string conferenceId = conferenceIdTestValue(); - + string dateCreated = dateCreatedTestValue(); - + instance.Setup(m => m.ListRecordings(callId, conferenceId, dateCreated)).Returns(recordingListTestValue()); var response = instance.Object.ListRecordings(callId, conferenceId, dateCreated); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test ListSmsMessages /// @@ -680,23 +684,23 @@ public void ListRecordingsTest() public void ListSmsMessagesTest() { - + string to = toTestValue(); - + string from = fromTestValue(); - + string beginTime = beginTimeTestValue(); - + string endTime = endTimeTestValue(); - - string direction = directionTestValue(); - + + MessageDirection? direction = directionTestEnum(); + instance.Setup(m => m.ListSmsMessages(to, from, beginTime, endTime, direction)).Returns(messagesListTestValue()); var response = instance.Object.ListSmsMessages(to, from, beginTime, endTime, direction); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test MakeACall /// @@ -704,15 +708,15 @@ public void ListSmsMessagesTest() public void MakeACallTest() { - + MakeCallRequest makeCallRequest = makeCallRequestTestValue(); - + instance.Setup(m => m.MakeACall(makeCallRequest)).Returns(callResultTestValue()); var response = instance.Object.MakeACall(makeCallRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test RemoveAParticipant /// @@ -720,15 +724,15 @@ public void MakeACallTest() public void RemoveAParticipantTest() { - + string conferenceId = conferenceIdTestValue(); - + string callId = callIdTestValue(); - + instance.Setup(m => m.RemoveAParticipant(conferenceId, callId)); instance.Object.RemoveAParticipant(conferenceId, callId); } - + /// /// Test SendAnSmsMessage /// @@ -736,15 +740,15 @@ public void RemoveAParticipantTest() public void SendAnSmsMessageTest() { - + MessageRequest messageRequest = messageRequestTestValue(); - + instance.Setup(m => m.SendAnSmsMessage(messageRequest)).Returns(messageResultTestValue()); var response = instance.Object.SendAnSmsMessage(messageRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test StreamARecordingFile /// @@ -752,15 +756,15 @@ public void SendAnSmsMessageTest() public void StreamARecordingFileTest() { - + string recordingId = recordingIdTestValue(); - + instance.Setup(m => m.StreamARecordingFile(recordingId)).Returns(systemIOStreamTestValue()); var response = instance.Object.StreamARecordingFile(recordingId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test UpdateAConference /// @@ -768,17 +772,17 @@ public void StreamARecordingFileTest() public void UpdateAConferenceTest() { - + string conferenceId = conferenceIdTestValue(); - + UpdateConferenceRequest updateConferenceRequest = updateConferenceRequestTestValue(); - + instance.Setup(m => m.UpdateAConference(conferenceId, updateConferenceRequest)).Returns(conferenceResultTestValue()); var response = instance.Object.UpdateAConference(conferenceId, updateConferenceRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test UpdateALiveCall /// @@ -786,15 +790,15 @@ public void UpdateAConferenceTest() public void UpdateALiveCallTest() { - + string callId = callIdTestValue(); - + UpdateCallRequest updateCallRequest = updateCallRequestTestValue(); - + instance.Setup(m => m.UpdateALiveCall(callId, updateCallRequest)); instance.Object.UpdateALiveCall(callId, updateCallRequest); } - + /// /// Test UpdateAParticipant /// @@ -802,19 +806,19 @@ public void UpdateALiveCallTest() public void UpdateAParticipantTest() { - + string conferenceId = conferenceIdTestValue(); - + string callId = callIdTestValue(); - + UpdateConferenceParticipantRequest updateConferenceParticipantRequest = updateConferenceParticipantRequestTestValue(); - + instance.Setup(m => m.UpdateAParticipant(conferenceId, callId, updateConferenceParticipantRequest)).Returns(conferenceParticipantResultTestValue()); var response = instance.Object.UpdateAParticipant(conferenceId, callId, updateConferenceParticipantRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test UpdateAQueue /// @@ -822,17 +826,17 @@ public void UpdateAParticipantTest() public void UpdateAQueueTest() { - + string queueId = queueIdTestValue(); - + QueueRequest queueRequest = queueRequestTestValue(); - + instance.Setup(m => m.UpdateAQueue(queueId, queueRequest)).Returns(queueResultTestValue()); var response = instance.Object.UpdateAQueue(queueId, queueRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test UpdateAnAccount /// @@ -840,13 +844,13 @@ public void UpdateAQueueTest() public void UpdateAnAccountTest() { - + AccountRequest accountRequest = accountRequestTestValue(); - + instance.Setup(m => m.UpdateAnAccount(accountRequest)); instance.Object.UpdateAnAccount(accountRequest); } - + /// /// Test UpdateAnApplication /// @@ -854,17 +858,17 @@ public void UpdateAnAccountTest() public void UpdateAnApplicationTest() { - + string applicationId = applicationIdTestValue(); - + ApplicationRequest applicationRequest = applicationRequestTestValue(); - + instance.Setup(m => m.UpdateAnApplication(applicationId, applicationRequest)).Returns(applicationResultTestValue()); var response = instance.Object.UpdateAnApplication(applicationId, applicationRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } - + /// /// Test UpdateAnIncomingNumber /// @@ -872,11 +876,11 @@ public void UpdateAnApplicationTest() public void UpdateAnIncomingNumberTest() { - + string phoneNumberId = phoneNumberIdTestValue(); - + IncomingNumberRequest incomingNumberRequest = incomingNumberRequestTestValue(); - + instance.Setup(m => m.UpdateAnIncomingNumber(phoneNumberId, incomingNumberRequest)).Returns(incomingNumberResultTestValue()); var response = instance.Object.UpdateAnIncomingNumber(phoneNumberId, incomingNumberRequest); //Assert.IsType(response); @@ -887,7 +891,7 @@ private string accountIdTestValue() { return "AC0000000000000000000000000000000000000000"; } - + private string applicationIdTestValue() { return "AP0000000000000000000000000000000000000000"; @@ -952,7 +956,7 @@ private IncomingNumberRequest incomingNumberRequestTestValue() { return new IncomingNumberRequest(applicationIdTestValue(), aliasTestValue()); } - + private IncomingNumberResult incomingNumberResultTestValue() { Capabilities capabilities = new Capabilities(true, true, true, true, false); @@ -966,7 +970,8 @@ private MakeCallRequest makeCallRequestTestValue() private CreateConferenceRequest createConferenceRequestTestValue() { - return new CreateConferenceRequest("TEST-CONF", CreateConferenceRequest.PlayBeepEnum.ALWAYS, true); + PlayBeep enumPlayBeepStatus = Reflection.GetEnumByValue("always"); + return new CreateConferenceRequest("TEST-CONF", enumPlayBeepStatus, true); } private ConferenceResult conferenceResultTestValue() @@ -978,17 +983,17 @@ private QueueRequest queueRequestTestValue() { return new QueueRequest("TEST-QUEUE"); } - + private QueueMember queueMemberTestValue() { return new QueueMember("example.com", callIdTestValue(), 0, 0, "Mon, 15 Jun 2009 20:45:30 GMT"); - + } - + private QueueResult queueResultTestValue() { - return new QueueResult("example.com", "Mon, 15 Jun 2020 20:20:20 GMT", - "Wed, 17 Jun 2020 20:20:20 GMT", 0, accountIdTestValue(), + return new QueueResult("example.com", "Mon, 15 Jun 2020 20:20:20 GMT", + "Wed, 17 Jun 2020 20:20:20 GMT", 0, accountIdTestValue(), queueIdTestValue(), "TEST-QUEUE", 100, 0, 0, 0); } @@ -1033,17 +1038,17 @@ private bool capabilitiesSmsTestValue() { return true; } - + private bool capabilitiesTollFreeTestValue() { return false; } - + private bool capabilitiesTenDLCTestValue() { return true; } - + private bool capabilitiesShortCodeTestValue() { return true; @@ -1076,17 +1081,18 @@ private LogList logListTestValue() private CallResult callResultTestValue() { - return new CallResult("example.com", dateCreatedTestValue(), "Mon, 15 Jun 2020 20:45:32 GMT", + CallStatus enumCallStatus = Reflection.GetEnumByValue("inProgress"); + return new CallResult("example.com", dateCreatedTestValue(), "Mon, 15 Jun 2020 20:45:32 GMT", 1, callIdTestValue(), null, accountIdTestValue(), phoneNumberTestValue(), "+13124567890", - null, CallResult.StatusEnum.IN_PROGRESS, dateCreatedTestValue(), dateCreatedTestValue(), null); + null, enumCallStatus, dateCreatedTestValue(), dateCreatedTestValue(), null); } - + private ConferenceParticipantResult conferenceParticipantResultTestValue() { - return new ConferenceParticipantResult("example.com", dateCreatedTestValue(), null, 1, + return new ConferenceParticipantResult("example.com", dateCreatedTestValue(), null, 1, accountIdTestValue(), conferenceIdTestValue(), callIdTestValue(), true, true, true); } - + private RecordingResult recordingResultTestValue() { return new RecordingResult("example.com", dateCreatedTestValue(), null, 1, recordingIdTestValue(), accountIdTestValue(), callIdTestValue(), 10); @@ -1099,7 +1105,8 @@ private AccountResult accountResultTestValue() private MessageResult messageResultTestValue() { - return new MessageResult("example.com", dateCreatedTestValue(), null, 1, accountIdTestValue(), messageIdTestValue(), MessageResult.StatusEnum.SENT, + MessageStatus enumMessageStatus = Reflection.GetEnumByValue("sent"); + return new MessageResult("example.com", dateCreatedTestValue(), null, 1, accountIdTestValue(), messageIdTestValue(), enumMessageStatus, phoneNumberTestValue(), "+13121113456", "Test text message", "outbound"); } @@ -1116,7 +1123,7 @@ private ApplicationList applicationListTestValue() applicationResults.Add(applicationResultTestValue()); return new ApplicationList(1, 1, 1, 1, 1, 10, null, applicationResults); } - + private RecordingList recordingListTestValue() { List recordingList = new List(); @@ -1154,6 +1161,11 @@ private string statusTestValue() return "completed"; } + private CallStatus statusTestEnum() + { + return Reflection.GetEnumByValue("completed"); + } + private string startTimeTestValue() { return "2022-12-12 01:01:01"; @@ -1203,28 +1215,35 @@ private ConferenceParticipantList conferenceParticipantListTestValue() { List conferences = new List(); conferences.Add(conferenceParticipantResultTestValue()); - return new ConferenceParticipantList(1,1,1,1,1,10,null,conferences); + return new ConferenceParticipantList(1, 1, 1, 1, 1, 10, null, conferences); } private string beginTimeTestValue() { return "2022-12-12 01:01:01:01"; } - + private string directionTestValue() { return "outbound"; } + private MessageDirection directionTestEnum() + { + return Reflection.GetEnumByValue("outbound"); + } + private MessagesList messagesListTestValue() { List messages = new List(); messages.Add(messageResultTestValue()); - return new MessagesList(1,1,1,1,1,10,null,messages); + return new MessagesList(1, 1, 1, 1, 1, 10, null, messages); } private UpdateConferenceRequest updateConferenceRequestTestValue() { - return new UpdateConferenceRequest("TEST-CONF", UpdateConferenceRequest.PlayBeepEnum.ALWAYS); + PlayBeep enumPlayBeepStatus = Reflection.GetEnumByValue("always"); + return new UpdateConferenceRequest("TEST-CONF", enumPlayBeepStatus); } private UpdateCallRequest updateCallRequestTestValue() { - return new UpdateCallRequest(UpdateCallRequest.StatusEnum.COMPLETED); + UpdateCallRequestStatus enumCallRequestStatus = Reflection.GetEnumByValue("completed"); + return new UpdateCallRequest(enumCallRequestStatus); } private UpdateConferenceParticipantRequest updateConferenceParticipantRequestTestValue() diff --git a/src/freeclimb.Test/Enums/MarchineTypeTests.cs b/src/freeclimb.Test/Api/SmokeTests.cs similarity index 55% rename from src/freeclimb.Test/Enums/MarchineTypeTests.cs rename to src/freeclimb.Test/Api/SmokeTests.cs index 0b1c6580..73c400c3 100644 --- a/src/freeclimb.Test/Enums/MarchineTypeTests.cs +++ b/src/freeclimb.Test/Api/SmokeTests.cs @@ -8,38 +8,45 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - -using Xunit; - using System; -using System.Linq; using System.IO; using System.Collections.Generic; -using freeclimb.Api; -using freeclimb.Model; -using freeclimb.Client; +using System.Collections.ObjectModel; +using System.Linq; using System.Reflection; -using Newtonsoft.Json; +using RestSharp; +using Moq; +using Moq.Protected; +using Xunit; +using freeclimb.Client; +using freeclimb.Api; +// uncomment below to import models +using freeclimb.Model; using freeclimb.Enums; -namespace freeclimb.Test.Enums + +namespace freeclimb.Test.Api { /// - /// Class for testing MarchineType + /// Class for testing DefaultApi /// /// /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). - /// Please update the test case below to test the model. + /// Please update the test case below to test the API endpoint. /// - public class MarchineTypeTests : IDisposable + public class SmokeTests : IDisposable { - // TODO uncomment below to declare an instance variable for MarchineType - //private MarchineType instance; + private DefaultApi instance; + private Configuration config; - public MarchineTypeTests() + public SmokeTests() { - // TODO uncomment below to create an instance of MarchineType - //instance = new MarchineType(); + config = new Configuration(); + config.BasePath = "https://dev.freeclimb.com/apiserver"; + config.Username = "TEST-API-USERNAME"; + //TEST-API-KEY replace password with this + config.Password = "TEST-API-KEY"; + instance = new DefaultApi(config); } public void Dispose() @@ -48,17 +55,21 @@ public void Dispose() } /// - /// Test an instance of MarchineType + /// Test an instance of DefaultApi /// [Fact] - public void MarchineTypeInstanceTest() + public void InstanceTest() { - // TODO uncomment below to test "IsType" MarchineType - //Assert.IsType(instance); + Assert.IsType(instance); + } + [Fact] + public void getAccountInfo() + { + var response = instance.GetAnAccount(); + Assert.IsAssignableFrom(response); + Assert.IsAssignableFrom(response.Status); + Assert.IsAssignableFrom(response.Type); } - - } - } diff --git a/src/freeclimb.Test/Enums/AccountStatusTests.cs b/src/freeclimb.Test/Enums/AccountStatusTests.cs index e4f4941e..0b277784 100644 --- a/src/freeclimb.Test/Enums/AccountStatusTests.cs +++ b/src/freeclimb.Test/Enums/AccountStatusTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class AccountStatusTests : IDisposable { // TODO uncomment below to declare an instance variable for AccountStatus - //private AccountStatus instance; + private AccountStatus instance; public AccountStatusTests() { - // TODO uncomment below to create an instance of AccountStatus - //instance = new AccountStatus(); + instance = AccountStatusInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void AccountStatusInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueAccountStatusTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueAccountStatusTestValue(); + AccountStatus calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private AccountStatus AccountStatusInstanceValue() + { + return Reflection.GetEnumByValue(StringValueAccountStatusTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/AccountTypeTests.cs b/src/freeclimb.Test/Enums/AccountTypeTests.cs index b0296be5..786585dc 100644 --- a/src/freeclimb.Test/Enums/AccountTypeTests.cs +++ b/src/freeclimb.Test/Enums/AccountTypeTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class AccountTypeTests : IDisposable { // TODO uncomment below to declare an instance variable for AccountType - //private AccountType instance; + private AccountType instance; public AccountTypeTests() { - // TODO uncomment below to create an instance of AccountType - //instance = new AccountType(); + instance = AccountTypeInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void AccountTypeInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueAccountTypeTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueAccountTypeTestValue(); + AccountType calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private AccountType AccountTypeInstanceValue() + { + return Reflection.GetEnumByValue(StringValueAccountTypeTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/AnsweredByTests.cs b/src/freeclimb.Test/Enums/AnsweredByTests.cs index 24c30ae3..f7148799 100644 --- a/src/freeclimb.Test/Enums/AnsweredByTests.cs +++ b/src/freeclimb.Test/Enums/AnsweredByTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class AnsweredByTests : IDisposable { // TODO uncomment below to declare an instance variable for AnsweredBy - //private AnsweredBy instance; + private AnsweredBy instance; public AnsweredByTests() { - // TODO uncomment below to create an instance of AnsweredBy - //instance = new AnsweredBy(); + instance = AnsweredByInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void AnsweredByInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueAnsweredByTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueAnsweredByTestValue(); + AnsweredBy calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private AnsweredBy AnsweredByInstanceValue() + { + return Reflection.GetEnumByValue(StringValueAnsweredByTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/CallDirectionTests.cs b/src/freeclimb.Test/Enums/CallDirectionTests.cs index 8485c436..7b79f01f 100644 --- a/src/freeclimb.Test/Enums/CallDirectionTests.cs +++ b/src/freeclimb.Test/Enums/CallDirectionTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class CallDirectionTests : IDisposable { // TODO uncomment below to declare an instance variable for CallDirection - //private CallDirection instance; + private CallDirection instance; public CallDirectionTests() { - // TODO uncomment below to create an instance of CallDirection - //instance = new CallDirection(); + instance = CallDirectionInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void CallDirectionInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueCallDirectionTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueCallDirectionTestValue(); + CallDirection calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private CallDirection CallDirectionInstanceValue() + { + return Reflection.GetEnumByValue(StringValueCallDirectionTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/CallStatusTests.cs b/src/freeclimb.Test/Enums/CallStatusTests.cs index bc4cdc16..2f4be86e 100644 --- a/src/freeclimb.Test/Enums/CallStatusTests.cs +++ b/src/freeclimb.Test/Enums/CallStatusTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class CallStatusTests : IDisposable { // TODO uncomment below to declare an instance variable for CallStatus - //private CallStatus instance; + private CallStatus instance; public CallStatusTests() { - // TODO uncomment below to create an instance of CallStatus - //instance = new CallStatus(); + instance = CallStatusInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void CallStatusInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueCallStatusTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueCallStatusTestValue(); + CallStatus calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private CallStatus CallStatusInstanceValue() + { + return Reflection.GetEnumByValue(StringValueCallStatusTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/ConferenceStatusTests.cs b/src/freeclimb.Test/Enums/ConferenceStatusTests.cs index 4c8b590e..7723dcac 100644 --- a/src/freeclimb.Test/Enums/ConferenceStatusTests.cs +++ b/src/freeclimb.Test/Enums/ConferenceStatusTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class ConferenceStatusTests : IDisposable { // TODO uncomment below to declare an instance variable for ConferenceStatus - //private ConferenceStatus instance; + private ConferenceStatus instance; public ConferenceStatusTests() { - // TODO uncomment below to create an instance of ConferenceStatus - //instance = new ConferenceStatus(); + instance = ConferenceStatusInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void ConferenceStatusInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueConferenceStatusTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueConferenceStatusTestValue(); + ConferenceStatus calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private ConferenceStatus ConferenceStatusInstanceValue() + { + return Reflection.GetEnumByValue(StringValueConferenceStatusTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/GetSpeechReasonTests.cs b/src/freeclimb.Test/Enums/GetSpeechReasonTests.cs index e5199397..89e308f1 100644 --- a/src/freeclimb.Test/Enums/GetSpeechReasonTests.cs +++ b/src/freeclimb.Test/Enums/GetSpeechReasonTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class GetSpeechReasonTests : IDisposable { // TODO uncomment below to declare an instance variable for GetSpeechReason - //private GetSpeechReason instance; + private GetSpeechReason instance; public GetSpeechReasonTests() { - // TODO uncomment below to create an instance of GetSpeechReason - //instance = new GetSpeechReason(); + instance = GetSpeechReasonInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void GetSpeechReasonInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueGetSpeechReasonTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueGetSpeechReasonTestValue(); + GetSpeechReason calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private GetSpeechReason GetSpeechReasonInstanceValue() + { + return Reflection.GetEnumByValue(StringValueGetSpeechReasonTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/GrammarFileBuiltInTests.cs b/src/freeclimb.Test/Enums/GrammarFileBuiltInTests.cs index 5eaabf02..6b512b91 100644 --- a/src/freeclimb.Test/Enums/GrammarFileBuiltInTests.cs +++ b/src/freeclimb.Test/Enums/GrammarFileBuiltInTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class GrammarFileBuiltInTests : IDisposable { // TODO uncomment below to declare an instance variable for GrammarFileBuiltIn - //private GrammarFileBuiltIn instance; + private GrammarFileBuiltIn instance; public GrammarFileBuiltInTests() { - // TODO uncomment below to create an instance of GrammarFileBuiltIn - //instance = new GrammarFileBuiltIn(); + instance = GrammarFileBuiltInInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void GrammarFileBuiltInInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueGrammarFileBuiltInTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueGrammarFileBuiltInTestValue(); + GrammarFileBuiltIn calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private GrammarFileBuiltIn GrammarFileBuiltInInstanceValue() + { + return Reflection.GetEnumByValue(StringValueGrammarFileBuiltInTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/GrammarTypeTests.cs b/src/freeclimb.Test/Enums/GrammarTypeTests.cs index 496a0209..3e2f963d 100644 --- a/src/freeclimb.Test/Enums/GrammarTypeTests.cs +++ b/src/freeclimb.Test/Enums/GrammarTypeTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class GrammarTypeTests : IDisposable { // TODO uncomment below to declare an instance variable for GrammarType - //private GrammarType instance; + private GrammarType instance; public GrammarTypeTests() { - // TODO uncomment below to create an instance of GrammarType - //instance = new GrammarType(); + instance = GrammarTypeInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void GrammarTypeInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueGrammarTypeTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueGrammarTypeTestValue(); + GrammarType calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private GrammarType GrammarTypeInstanceValue() + { + return Reflection.GetEnumByValue(StringValueGrammarTypeTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/IfMachineTests.cs b/src/freeclimb.Test/Enums/IfMachineTests.cs index 0dfa865f..50c6dc5f 100644 --- a/src/freeclimb.Test/Enums/IfMachineTests.cs +++ b/src/freeclimb.Test/Enums/IfMachineTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class IfMachineTests : IDisposable { // TODO uncomment below to declare an instance variable for IfMachine - //private IfMachine instance; + private IfMachine instance; public IfMachineTests() { - // TODO uncomment below to create an instance of IfMachine - //instance = new IfMachine(); + instance = IfMachineInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void IfMachineInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueIfMachineTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueIfMachineTestValue(); + IfMachine calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private IfMachine IfMachineInstanceValue() + { + return Reflection.GetEnumByValue(StringValueIfMachineTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/LanguageTests.cs b/src/freeclimb.Test/Enums/LanguageTests.cs index 39b19469..5fdae3dc 100644 --- a/src/freeclimb.Test/Enums/LanguageTests.cs +++ b/src/freeclimb.Test/Enums/LanguageTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class LanguageTests : IDisposable { // TODO uncomment below to declare an instance variable for Language - //private Language instance; + private Language instance; public LanguageTests() { - // TODO uncomment below to create an instance of Language - //instance = new Language(); + instance = LanguageInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void LanguageInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueLanguageTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueLanguageTestValue(); + Language calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private Language LanguageInstanceValue() + { + return Reflection.GetEnumByValue(StringValueLanguageTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/LogLevelTests.cs b/src/freeclimb.Test/Enums/LogLevelTests.cs index a24cb63f..2cd6b04c 100644 --- a/src/freeclimb.Test/Enums/LogLevelTests.cs +++ b/src/freeclimb.Test/Enums/LogLevelTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class LogLevelTests : IDisposable { // TODO uncomment below to declare an instance variable for LogLevel - //private LogLevel instance; + private LogLevel instance; public LogLevelTests() { - // TODO uncomment below to create an instance of LogLevel - //instance = new LogLevel(); + instance = LogLevelInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void LogLevelInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueLogLevelTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueLogLevelTestValue(); + LogLevel calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private LogLevel LogLevelInstanceValue() + { + return Reflection.GetEnumByValue(StringValueLogLevelTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/MachineTypeTests.cs b/src/freeclimb.Test/Enums/MachineTypeTests.cs index 27cf5e58..d9437f5c 100644 --- a/src/freeclimb.Test/Enums/MachineTypeTests.cs +++ b/src/freeclimb.Test/Enums/MachineTypeTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class MachineTypeTests : IDisposable { // TODO uncomment below to declare an instance variable for MachineType - //private MachineType instance; + private MachineType instance; public MachineTypeTests() { - // TODO uncomment below to create an instance of MachineType - //instance = new MachineType(); + instance = MachineTypeInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void MachineTypeInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueMachineTypeTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueMachineTypeTestValue(); + MachineType calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private MachineType MachineTypeInstanceValue() + { + return Reflection.GetEnumByValue(StringValueMachineTypeTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/MessageDirectionTests.cs b/src/freeclimb.Test/Enums/MessageDirectionTests.cs index 5c3f4cca..b3a2edc5 100644 --- a/src/freeclimb.Test/Enums/MessageDirectionTests.cs +++ b/src/freeclimb.Test/Enums/MessageDirectionTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class MessageDirectionTests : IDisposable { // TODO uncomment below to declare an instance variable for MessageDirection - //private MessageDirection instance; + private MessageDirection instance; public MessageDirectionTests() { - // TODO uncomment below to create an instance of MessageDirection - //instance = new MessageDirection(); + instance = MessageDirectionInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void MessageDirectionInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueMessageDirectionTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueMessageDirectionTestValue(); + MessageDirection calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private MessageDirection MessageDirectionInstanceValue() + { + return Reflection.GetEnumByValue(StringValueMessageDirectionTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/MessageStatusTests.cs b/src/freeclimb.Test/Enums/MessageStatusTests.cs index 458334d9..ac9b400f 100644 --- a/src/freeclimb.Test/Enums/MessageStatusTests.cs +++ b/src/freeclimb.Test/Enums/MessageStatusTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class MessageStatusTests : IDisposable { // TODO uncomment below to declare an instance variable for MessageStatus - //private MessageStatus instance; + private MessageStatus instance; public MessageStatusTests() { - // TODO uncomment below to create an instance of MessageStatus - //instance = new MessageStatus(); + instance = MessageStatusInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void MessageStatusInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueMessageStatusTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueMessageStatusTestValue(); + MessageStatus calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private MessageStatus MessageStatusInstanceValue() + { + return Reflection.GetEnumByValue(StringValueMessageStatusTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/PlayBeepTests.cs b/src/freeclimb.Test/Enums/PlayBeepTests.cs index b38e5865..824146cb 100644 --- a/src/freeclimb.Test/Enums/PlayBeepTests.cs +++ b/src/freeclimb.Test/Enums/PlayBeepTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class PlayBeepTests : IDisposable { // TODO uncomment below to declare an instance variable for PlayBeep - //private PlayBeep instance; + private PlayBeep instance; public PlayBeepTests() { - // TODO uncomment below to create an instance of PlayBeep - //instance = new PlayBeep(); + instance = PlayBeepInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void PlayBeepInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValuePlayBeepTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValuePlayBeepTestValue(); + PlayBeep calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private PlayBeep PlayBeepInstanceValue() + { + return Reflection.GetEnumByValue(StringValuePlayBeepTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/QueueResultStatusTests.cs b/src/freeclimb.Test/Enums/QueueResultStatusTests.cs index d018bcd6..c9bac275 100644 --- a/src/freeclimb.Test/Enums/QueueResultStatusTests.cs +++ b/src/freeclimb.Test/Enums/QueueResultStatusTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class QueueResultStatusTests : IDisposable { // TODO uncomment below to declare an instance variable for QueueResultStatus - //private QueueResultStatus instance; + private QueueResultStatus instance; public QueueResultStatusTests() { - // TODO uncomment below to create an instance of QueueResultStatus - //instance = new QueueResultStatus(); + instance = QueueResultStatusInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void QueueResultStatusInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueQueueResultStatusTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueQueueResultStatusTestValue(); + QueueResultStatus calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private QueueResultStatus QueueResultStatusInstanceValue() + { + return Reflection.GetEnumByValue(StringValueQueueResultStatusTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/RecordUtteranceTermReasonTests.cs b/src/freeclimb.Test/Enums/RecordUtteranceTermReasonTests.cs index 5182b812..1c777acd 100644 --- a/src/freeclimb.Test/Enums/RecordUtteranceTermReasonTests.cs +++ b/src/freeclimb.Test/Enums/RecordUtteranceTermReasonTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class RecordUtteranceTermReasonTests : IDisposable { // TODO uncomment below to declare an instance variable for RecordUtteranceTermReason - //private RecordUtteranceTermReason instance; + private RecordUtteranceTermReason instance; public RecordUtteranceTermReasonTests() { - // TODO uncomment below to create an instance of RecordUtteranceTermReason - //instance = new RecordUtteranceTermReason(); + instance = RecordUtteranceTermReasonInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void RecordUtteranceTermReasonInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueRecordUtteranceTermReasonTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueRecordUtteranceTermReasonTestValue(); + RecordUtteranceTermReason calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private RecordUtteranceTermReason RecordUtteranceTermReasonInstanceValue() + { + return Reflection.GetEnumByValue(StringValueRecordUtteranceTermReasonTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/RequestTypeTests.cs b/src/freeclimb.Test/Enums/RequestTypeTests.cs index 40130637..ac06b9c7 100644 --- a/src/freeclimb.Test/Enums/RequestTypeTests.cs +++ b/src/freeclimb.Test/Enums/RequestTypeTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class RequestTypeTests : IDisposable { // TODO uncomment below to declare an instance variable for RequestType - //private RequestType instance; + private RequestType instance; public RequestTypeTests() { - // TODO uncomment below to create an instance of RequestType - //instance = new RequestType(); + instance = RequestTypeInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void RequestTypeInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueRequestTypeTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueRequestTypeTestValue(); + RequestType calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private RequestType RequestTypeInstanceValue() + { + return Reflection.GetEnumByValue(StringValueRequestTypeTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/UpdateCallRequestStatusTests.cs b/src/freeclimb.Test/Enums/UpdateCallRequestStatusTests.cs index b1d35ddc..96eb237a 100644 --- a/src/freeclimb.Test/Enums/UpdateCallRequestStatusTests.cs +++ b/src/freeclimb.Test/Enums/UpdateCallRequestStatusTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class UpdateCallRequestStatusTests : IDisposable { // TODO uncomment below to declare an instance variable for UpdateCallRequestStatus - //private UpdateCallRequestStatus instance; + private UpdateCallRequestStatus instance; public UpdateCallRequestStatusTests() { - // TODO uncomment below to create an instance of UpdateCallRequestStatus - //instance = new UpdateCallRequestStatus(); + instance = UpdateCallRequestStatusInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void UpdateCallRequestStatusInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueUpdateCallRequestStatusTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueUpdateCallRequestStatusTestValue(); + UpdateCallRequestStatus calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private UpdateCallRequestStatus UpdateCallRequestStatusInstanceValue() + { + return Reflection.GetEnumByValue(StringValueUpdateCallRequestStatusTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Enums/UpdateConferenceRequestStatusTests.cs b/src/freeclimb.Test/Enums/UpdateConferenceRequestStatusTests.cs index 2ecd9bd5..f90d3f4d 100644 --- a/src/freeclimb.Test/Enums/UpdateConferenceRequestStatusTests.cs +++ b/src/freeclimb.Test/Enums/UpdateConferenceRequestStatusTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -22,6 +24,7 @@ using Newtonsoft.Json; using freeclimb.Enums; + namespace freeclimb.Test.Enums { /// @@ -34,12 +37,11 @@ namespace freeclimb.Test.Enums public class UpdateConferenceRequestStatusTests : IDisposable { // TODO uncomment below to declare an instance variable for UpdateConferenceRequestStatus - //private UpdateConferenceRequestStatus instance; + private UpdateConferenceRequestStatus instance; public UpdateConferenceRequestStatusTests() { - // TODO uncomment below to create an instance of UpdateConferenceRequestStatus - //instance = new UpdateConferenceRequestStatus(); + instance = UpdateConferenceRequestStatusInstanceValue(); } public void Dispose() @@ -58,7 +60,107 @@ public void UpdateConferenceRequestStatusInstanceTest() } - + [Fact] + public void EnumToStringValueTest() + { + string expectedValue = StringValueUpdateConferenceRequestStatusTestValue(); + string calculatedValue = Extensions.GetMemberValue(instance); + Assert.Equal(expectedValue, calculatedValue); + } + [Fact] + public void StringToEnumValueTest() + { + string expectedValue = StringValueUpdateConferenceRequestStatusTestValue(); + UpdateConferenceRequestStatus calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + private UpdateConferenceRequestStatus UpdateConferenceRequestStatusInstanceValue() + { + return Reflection.GetEnumByValue(StringValueUpdateConferenceRequestStatusTestValue()); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + private string StringValueAccountTypeTestValue() + { + return "trial"; + } + private string StringValueAnsweredByTestValue() + { + return "human"; + } + private string StringValueCallDirectionTestValue() + { + return "inbound"; + } + private string StringValueCallStatusTestValue() + { + return "queued"; + } + private string StringValueConferenceStatusTestValue() + { + return "populated"; + } + private string StringValueGetSpeechReasonTestValue() + { + return "digit"; + } + private string StringValueGrammarFileBuiltInTestValue() + { + return "ALPHNUM6"; + } + private string StringValueGrammarTypeTestValue() + { + return "URL"; + } + private string StringValueIfMachineTestValue() + { + return "redirect"; + } + private string StringValueLanguageTestValue() + { + return "ca-ES"; + } + private string StringValueLogLevelTestValue() + { + return "info"; + } + private string StringValueMachineTypeTestValue() + { + return "answeringMachine"; + } + private string StringValueMessageDirectionTestValue() + { + return "inbound"; + } + private string StringValueMessageStatusTestValue() + { + return "new"; + } + private string StringValuePlayBeepTestValue() + { + return "always"; + } + private string StringValueQueueResultStatusTestValue() + { + return "queueFull"; + } + private string StringValueRecordUtteranceTermReasonTestValue() + { + return "finishKey"; + } + private string StringValueRequestTypeTestValue() + { + return "inboundCall"; + } + private string StringValueUpdateCallRequestStatusTestValue() + { + return "completed"; + } + private string StringValueUpdateConferenceRequestStatusTestValue() + { + return "empty"; + } } - } diff --git a/src/freeclimb.Test/Model/AccountRequestTests.cs b/src/freeclimb.Test/Model/AccountRequestTests.cs index ddcfbe79..2e8f5774 100644 --- a/src/freeclimb.Test/Model/AccountRequestTests.cs +++ b/src/freeclimb.Test/Model/AccountRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class AccountRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for AccountRequest - //private AccountRequest instance; + private AccountRequest instance; public AccountRequestTests() { - // TODO uncomment below to create an instance of AccountRequest //instance = new AccountRequest(); } @@ -73,7 +75,6 @@ public void LabelTest() { // TODO unit test for the property 'Label' } - } } diff --git a/src/freeclimb.Test/Model/AccountResultAllOfTests.cs b/src/freeclimb.Test/Model/AccountResultAllOfTests.cs index f400a1e2..8dbf7d19 100644 --- a/src/freeclimb.Test/Model/AccountResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/AccountResultAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class AccountResultAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for AccountResultAllOf - //private AccountResultAllOf instance; + private AccountResultAllOf instance; public AccountResultAllOfTests() { - // TODO uncomment below to create an instance of AccountResultAllOf //instance = new AccountResultAllOf(); } @@ -113,7 +115,6 @@ public void SubresourceUrisTest() { // TODO unit test for the property 'SubresourceUris' } - } } diff --git a/src/freeclimb.Test/Model/AccountResultTests.cs b/src/freeclimb.Test/Model/AccountResultTests.cs index b2d868dc..a1810573 100644 --- a/src/freeclimb.Test/Model/AccountResultTests.cs +++ b/src/freeclimb.Test/Model/AccountResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class AccountResultTests : IDisposable { // TODO uncomment below to declare an instance variable for AccountResult - //private AccountResult instance; + private AccountResult instance; public AccountResultTests() { - // TODO uncomment below to create an instance of AccountResult //instance = new AccountResult(); } @@ -145,7 +147,6 @@ public void SubresourceUrisTest() { // TODO unit test for the property 'SubresourceUris' } - } } diff --git a/src/freeclimb.Test/Model/AddToConferenceAllOfTests.cs b/src/freeclimb.Test/Model/AddToConferenceAllOfTests.cs index 70c6135f..2846c338 100644 --- a/src/freeclimb.Test/Model/AddToConferenceAllOfTests.cs +++ b/src/freeclimb.Test/Model/AddToConferenceAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class AddToConferenceAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for AddToConferenceAllOf - //private AddToConferenceAllOf instance; + private AddToConferenceAllOf instance; public AddToConferenceAllOfTests() { - // TODO uncomment below to create an instance of AddToConferenceAllOf //instance = new AddToConferenceAllOf(); } @@ -137,7 +139,6 @@ public void TalkTest() { // TODO unit test for the property 'Talk' } - } } diff --git a/src/freeclimb.Test/Model/AddToConferenceTests.cs b/src/freeclimb.Test/Model/AddToConferenceTests.cs index dcf3987b..e60a814a 100644 --- a/src/freeclimb.Test/Model/AddToConferenceTests.cs +++ b/src/freeclimb.Test/Model/AddToConferenceTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class AddToConferenceTests : IDisposable { // TODO uncomment below to declare an instance variable for AddToConference - //private AddToConference instance; + private AddToConference instance; public AddToConferenceTests() { - // TODO uncomment below to create an instance of AddToConference //instance = new AddToConference(); } @@ -137,7 +139,6 @@ public void TalkTest() { // TODO unit test for the property 'Talk' } - } } diff --git a/src/freeclimb.Test/Model/ApplicationListAllOfTests.cs b/src/freeclimb.Test/Model/ApplicationListAllOfTests.cs index 42ea0425..f73127c7 100644 --- a/src/freeclimb.Test/Model/ApplicationListAllOfTests.cs +++ b/src/freeclimb.Test/Model/ApplicationListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ApplicationListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for ApplicationListAllOf - //private ApplicationListAllOf instance; + private ApplicationListAllOf instance; public ApplicationListAllOfTests() { - // TODO uncomment below to create an instance of ApplicationListAllOf //instance = new ApplicationListAllOf(); } @@ -65,7 +67,6 @@ public void ApplicationsTest() { // TODO unit test for the property 'Applications' } - } } diff --git a/src/freeclimb.Test/Model/ApplicationListTests.cs b/src/freeclimb.Test/Model/ApplicationListTests.cs index 4d649841..60dbb987 100644 --- a/src/freeclimb.Test/Model/ApplicationListTests.cs +++ b/src/freeclimb.Test/Model/ApplicationListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ApplicationListTests : IDisposable { // TODO uncomment below to declare an instance variable for ApplicationList - //private ApplicationList instance; + private ApplicationList instance; public ApplicationListTests() { - // TODO uncomment below to create an instance of ApplicationList //instance = new ApplicationList(); } @@ -121,7 +123,6 @@ public void ApplicationsTest() { // TODO unit test for the property 'Applications' } - } } diff --git a/src/freeclimb.Test/Model/ApplicationRequestTests.cs b/src/freeclimb.Test/Model/ApplicationRequestTests.cs index b49599f7..021e9552 100644 --- a/src/freeclimb.Test/Model/ApplicationRequestTests.cs +++ b/src/freeclimb.Test/Model/ApplicationRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ApplicationRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for ApplicationRequest - //private ApplicationRequest instance; + private ApplicationRequest instance; public ApplicationRequestTests() { - // TODO uncomment below to create an instance of ApplicationRequest //instance = new ApplicationRequest(); } @@ -113,7 +115,6 @@ public void SmsFallbackUrlTest() { // TODO unit test for the property 'SmsFallbackUrl' } - } } diff --git a/src/freeclimb.Test/Model/ApplicationResultAllOfTests.cs b/src/freeclimb.Test/Model/ApplicationResultAllOfTests.cs index 66279c2a..e676b99c 100644 --- a/src/freeclimb.Test/Model/ApplicationResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/ApplicationResultAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ApplicationResultAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for ApplicationResultAllOf - //private ApplicationResultAllOf instance; + private ApplicationResultAllOf instance; public ApplicationResultAllOfTests() { - // TODO uncomment below to create an instance of ApplicationResultAllOf //instance = new ApplicationResultAllOf(); } @@ -129,7 +131,6 @@ public void SmsFallbackUrlTest() { // TODO unit test for the property 'SmsFallbackUrl' } - } } diff --git a/src/freeclimb.Test/Model/ApplicationResultTests.cs b/src/freeclimb.Test/Model/ApplicationResultTests.cs index 9e54f164..e5d47dc9 100644 --- a/src/freeclimb.Test/Model/ApplicationResultTests.cs +++ b/src/freeclimb.Test/Model/ApplicationResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ApplicationResultTests : IDisposable { // TODO uncomment below to declare an instance variable for ApplicationResult - //private ApplicationResult instance; + private ApplicationResult instance; public ApplicationResultTests() { - // TODO uncomment below to create an instance of ApplicationResult //instance = new ApplicationResult(); } @@ -161,7 +163,6 @@ public void SmsFallbackUrlTest() { // TODO unit test for the property 'SmsFallbackUrl' } - } } diff --git a/src/freeclimb.Test/Model/AvailableNumberListAllOfTests.cs b/src/freeclimb.Test/Model/AvailableNumberListAllOfTests.cs index 67de46ad..c8345f05 100644 --- a/src/freeclimb.Test/Model/AvailableNumberListAllOfTests.cs +++ b/src/freeclimb.Test/Model/AvailableNumberListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class AvailableNumberListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for AvailableNumberListAllOf - //private AvailableNumberListAllOf instance; + private AvailableNumberListAllOf instance; public AvailableNumberListAllOfTests() { - // TODO uncomment below to create an instance of AvailableNumberListAllOf //instance = new AvailableNumberListAllOf(); } @@ -65,7 +67,6 @@ public void AvailablePhoneNumbersTest() { // TODO unit test for the property 'AvailablePhoneNumbers' } - } } diff --git a/src/freeclimb.Test/Model/AvailableNumberListTests.cs b/src/freeclimb.Test/Model/AvailableNumberListTests.cs index 3a00ed11..4ed87bc9 100644 --- a/src/freeclimb.Test/Model/AvailableNumberListTests.cs +++ b/src/freeclimb.Test/Model/AvailableNumberListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class AvailableNumberListTests : IDisposable { // TODO uncomment below to declare an instance variable for AvailableNumberList - //private AvailableNumberList instance; + private AvailableNumberList instance; public AvailableNumberListTests() { - // TODO uncomment below to create an instance of AvailableNumberList //instance = new AvailableNumberList(); } @@ -121,7 +123,6 @@ public void AvailablePhoneNumbersTest() { // TODO unit test for the property 'AvailablePhoneNumbers' } - } } diff --git a/src/freeclimb.Test/Model/AvailableNumberTests.cs b/src/freeclimb.Test/Model/AvailableNumberTests.cs index 37a28100..2a1b4338 100644 --- a/src/freeclimb.Test/Model/AvailableNumberTests.cs +++ b/src/freeclimb.Test/Model/AvailableNumberTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class AvailableNumberTests : IDisposable { // TODO uncomment below to declare an instance variable for AvailableNumber - //private AvailableNumber instance; + private AvailableNumber instance; public AvailableNumberTests() { - // TODO uncomment below to create an instance of AvailableNumber //instance = new AvailableNumber(); } @@ -113,7 +115,6 @@ public void CountryTest() { // TODO unit test for the property 'Country' } - } } diff --git a/src/freeclimb.Test/Model/BuyIncomingNumberRequestTests.cs b/src/freeclimb.Test/Model/BuyIncomingNumberRequestTests.cs index 06fdcc2b..af064a17 100644 --- a/src/freeclimb.Test/Model/BuyIncomingNumberRequestTests.cs +++ b/src/freeclimb.Test/Model/BuyIncomingNumberRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class BuyIncomingNumberRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for BuyIncomingNumberRequest - //private BuyIncomingNumberRequest instance; + private BuyIncomingNumberRequest instance; public BuyIncomingNumberRequestTests() { - // TODO uncomment below to create an instance of BuyIncomingNumberRequest //instance = new BuyIncomingNumberRequest(); } @@ -81,7 +83,6 @@ public void ApplicationIdTest() { // TODO unit test for the property 'ApplicationId' } - } } diff --git a/src/freeclimb.Test/Model/CallListAllOfTests.cs b/src/freeclimb.Test/Model/CallListAllOfTests.cs index 882d1f78..696b4f6f 100644 --- a/src/freeclimb.Test/Model/CallListAllOfTests.cs +++ b/src/freeclimb.Test/Model/CallListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class CallListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for CallListAllOf - //private CallListAllOf instance; + private CallListAllOf instance; public CallListAllOfTests() { - // TODO uncomment below to create an instance of CallListAllOf //instance = new CallListAllOf(); } @@ -65,7 +67,6 @@ public void CallsTest() { // TODO unit test for the property 'Calls' } - } } diff --git a/src/freeclimb.Test/Model/CallListTests.cs b/src/freeclimb.Test/Model/CallListTests.cs index ff8c82ac..93154cbe 100644 --- a/src/freeclimb.Test/Model/CallListTests.cs +++ b/src/freeclimb.Test/Model/CallListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class CallListTests : IDisposable { // TODO uncomment below to declare an instance variable for CallList - //private CallList instance; + private CallList instance; public CallListTests() { - // TODO uncomment below to create an instance of CallList //instance = new CallList(); } @@ -121,7 +123,6 @@ public void CallsTest() { // TODO unit test for the property 'Calls' } - } } diff --git a/src/freeclimb.Test/Model/CallResultAllOfTests.cs b/src/freeclimb.Test/Model/CallResultAllOfTests.cs index 4c1a4ece..95506f24 100644 --- a/src/freeclimb.Test/Model/CallResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/CallResultAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class CallResultAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for CallResultAllOf - //private CallResultAllOf instance; + private CallResultAllOf instance; public CallResultAllOfTests() { - // TODO uncomment below to create an instance of CallResultAllOf //instance = new CallResultAllOf(); } @@ -177,7 +179,6 @@ public void SubresourceUrisTest() { // TODO unit test for the property 'SubresourceUris' } - } } diff --git a/src/freeclimb.Test/Model/CallResultTests.cs b/src/freeclimb.Test/Model/CallResultTests.cs index f3f78306..e66bd7ef 100644 --- a/src/freeclimb.Test/Model/CallResultTests.cs +++ b/src/freeclimb.Test/Model/CallResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class CallResultTests : IDisposable { // TODO uncomment below to declare an instance variable for CallResult - //private CallResult instance; + private CallResult instance; public CallResultTests() { - // TODO uncomment below to create an instance of CallResult //instance = new CallResult(); } @@ -209,7 +211,6 @@ public void SubresourceUrisTest() { // TODO unit test for the property 'SubresourceUris' } - } } diff --git a/src/freeclimb.Test/Model/CapabilitiesTests.cs b/src/freeclimb.Test/Model/CapabilitiesTests.cs index a2fc6b9f..684543b2 100644 --- a/src/freeclimb.Test/Model/CapabilitiesTests.cs +++ b/src/freeclimb.Test/Model/CapabilitiesTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class CapabilitiesTests : IDisposable { // TODO uncomment below to declare an instance variable for Capabilities - //private Capabilities instance; + private Capabilities instance; public CapabilitiesTests() { - // TODO uncomment below to create an instance of Capabilities //instance = new Capabilities(); } @@ -97,7 +99,6 @@ public void ShortCodeTest() { // TODO unit test for the property 'ShortCode' } - } } diff --git a/src/freeclimb.Test/Model/ConferenceListAllOfTests.cs b/src/freeclimb.Test/Model/ConferenceListAllOfTests.cs index 21772b2a..a6acb62d 100644 --- a/src/freeclimb.Test/Model/ConferenceListAllOfTests.cs +++ b/src/freeclimb.Test/Model/ConferenceListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ConferenceListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for ConferenceListAllOf - //private ConferenceListAllOf instance; + private ConferenceListAllOf instance; public ConferenceListAllOfTests() { - // TODO uncomment below to create an instance of ConferenceListAllOf //instance = new ConferenceListAllOf(); } @@ -65,7 +67,6 @@ public void ConferencesTest() { // TODO unit test for the property 'Conferences' } - } } diff --git a/src/freeclimb.Test/Model/ConferenceListTests.cs b/src/freeclimb.Test/Model/ConferenceListTests.cs index a5f585ed..77ca767c 100644 --- a/src/freeclimb.Test/Model/ConferenceListTests.cs +++ b/src/freeclimb.Test/Model/ConferenceListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ConferenceListTests : IDisposable { // TODO uncomment below to declare an instance variable for ConferenceList - //private ConferenceList instance; + private ConferenceList instance; public ConferenceListTests() { - // TODO uncomment below to create an instance of ConferenceList //instance = new ConferenceList(); } @@ -121,7 +123,6 @@ public void ConferencesTest() { // TODO unit test for the property 'Conferences' } - } } diff --git a/src/freeclimb.Test/Model/ConferenceParticipantListAllOfTests.cs b/src/freeclimb.Test/Model/ConferenceParticipantListAllOfTests.cs index 722a7705..89d60c56 100644 --- a/src/freeclimb.Test/Model/ConferenceParticipantListAllOfTests.cs +++ b/src/freeclimb.Test/Model/ConferenceParticipantListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ConferenceParticipantListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for ConferenceParticipantListAllOf - //private ConferenceParticipantListAllOf instance; + private ConferenceParticipantListAllOf instance; public ConferenceParticipantListAllOfTests() { - // TODO uncomment below to create an instance of ConferenceParticipantListAllOf //instance = new ConferenceParticipantListAllOf(); } @@ -65,7 +67,6 @@ public void ParticipantsTest() { // TODO unit test for the property 'Participants' } - } } diff --git a/src/freeclimb.Test/Model/ConferenceParticipantListTests.cs b/src/freeclimb.Test/Model/ConferenceParticipantListTests.cs index af24d033..7ca6f067 100644 --- a/src/freeclimb.Test/Model/ConferenceParticipantListTests.cs +++ b/src/freeclimb.Test/Model/ConferenceParticipantListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ConferenceParticipantListTests : IDisposable { // TODO uncomment below to declare an instance variable for ConferenceParticipantList - //private ConferenceParticipantList instance; + private ConferenceParticipantList instance; public ConferenceParticipantListTests() { - // TODO uncomment below to create an instance of ConferenceParticipantList //instance = new ConferenceParticipantList(); } @@ -121,7 +123,6 @@ public void ParticipantsTest() { // TODO unit test for the property 'Participants' } - } } diff --git a/src/freeclimb.Test/Model/ConferenceParticipantResultAllOfTests.cs b/src/freeclimb.Test/Model/ConferenceParticipantResultAllOfTests.cs index ebe5c9cc..ea2c4c97 100644 --- a/src/freeclimb.Test/Model/ConferenceParticipantResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/ConferenceParticipantResultAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ConferenceParticipantResultAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for ConferenceParticipantResultAllOf - //private ConferenceParticipantResultAllOf instance; + private ConferenceParticipantResultAllOf instance; public ConferenceParticipantResultAllOfTests() { - // TODO uncomment below to create an instance of ConferenceParticipantResultAllOf //instance = new ConferenceParticipantResultAllOf(); } @@ -105,7 +107,6 @@ public void StartConfOnEnterTest() { // TODO unit test for the property 'StartConfOnEnter' } - } } diff --git a/src/freeclimb.Test/Model/ConferenceParticipantResultTests.cs b/src/freeclimb.Test/Model/ConferenceParticipantResultTests.cs index 547379ba..684e7014 100644 --- a/src/freeclimb.Test/Model/ConferenceParticipantResultTests.cs +++ b/src/freeclimb.Test/Model/ConferenceParticipantResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ConferenceParticipantResultTests : IDisposable { // TODO uncomment below to declare an instance variable for ConferenceParticipantResult - //private ConferenceParticipantResult instance; + private ConferenceParticipantResult instance; public ConferenceParticipantResultTests() { - // TODO uncomment below to create an instance of ConferenceParticipantResult //instance = new ConferenceParticipantResult(); } @@ -137,7 +139,6 @@ public void StartConfOnEnterTest() { // TODO unit test for the property 'StartConfOnEnter' } - } } diff --git a/src/freeclimb.Test/Model/ConferenceResultAllOfTests.cs b/src/freeclimb.Test/Model/ConferenceResultAllOfTests.cs index 4f331e90..e1032445 100644 --- a/src/freeclimb.Test/Model/ConferenceResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/ConferenceResultAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ConferenceResultAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for ConferenceResultAllOf - //private ConferenceResultAllOf instance; + private ConferenceResultAllOf instance; public ConferenceResultAllOfTests() { - // TODO uncomment below to create an instance of ConferenceResultAllOf //instance = new ConferenceResultAllOf(); } @@ -137,7 +139,6 @@ public void SubresourceUrisTest() { // TODO unit test for the property 'SubresourceUris' } - } } diff --git a/src/freeclimb.Test/Model/ConferenceResultTests.cs b/src/freeclimb.Test/Model/ConferenceResultTests.cs index ba38f3df..6094d55e 100644 --- a/src/freeclimb.Test/Model/ConferenceResultTests.cs +++ b/src/freeclimb.Test/Model/ConferenceResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ConferenceResultTests : IDisposable { // TODO uncomment below to declare an instance variable for ConferenceResult - //private ConferenceResult instance; + private ConferenceResult instance; public ConferenceResultTests() { - // TODO uncomment below to create an instance of ConferenceResult //instance = new ConferenceResult(); } @@ -169,7 +171,6 @@ public void SubresourceUrisTest() { // TODO unit test for the property 'SubresourceUris' } - } } diff --git a/src/freeclimb.Test/Model/CreateConferenceAllOfTests.cs b/src/freeclimb.Test/Model/CreateConferenceAllOfTests.cs index ca82426c..b1fe77a4 100644 --- a/src/freeclimb.Test/Model/CreateConferenceAllOfTests.cs +++ b/src/freeclimb.Test/Model/CreateConferenceAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class CreateConferenceAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for CreateConferenceAllOf - //private CreateConferenceAllOf instance; + private CreateConferenceAllOf instance; public CreateConferenceAllOfTests() { - // TODO uncomment below to create an instance of CreateConferenceAllOf //instance = new CreateConferenceAllOf(); } @@ -105,7 +107,6 @@ public void WaitUrlTest() { // TODO unit test for the property 'WaitUrl' } - } } diff --git a/src/freeclimb.Test/Model/CreateConferenceRequestTests.cs b/src/freeclimb.Test/Model/CreateConferenceRequestTests.cs index c53dee4e..51c818b2 100644 --- a/src/freeclimb.Test/Model/CreateConferenceRequestTests.cs +++ b/src/freeclimb.Test/Model/CreateConferenceRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class CreateConferenceRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for CreateConferenceRequest - //private CreateConferenceRequest instance; + private CreateConferenceRequest instance; public CreateConferenceRequestTests() { - // TODO uncomment below to create an instance of CreateConferenceRequest //instance = new CreateConferenceRequest(); } @@ -97,7 +99,6 @@ public void StatusCallbackUrlTest() { // TODO unit test for the property 'StatusCallbackUrl' } - } } diff --git a/src/freeclimb.Test/Model/CreateConferenceTests.cs b/src/freeclimb.Test/Model/CreateConferenceTests.cs index ce1b3fc7..ec17b3b0 100644 --- a/src/freeclimb.Test/Model/CreateConferenceTests.cs +++ b/src/freeclimb.Test/Model/CreateConferenceTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class CreateConferenceTests : IDisposable { // TODO uncomment below to declare an instance variable for CreateConference - //private CreateConference instance; + private CreateConference instance; public CreateConferenceTests() { - // TODO uncomment below to create an instance of CreateConference //instance = new CreateConference(); } @@ -105,7 +107,6 @@ public void WaitUrlTest() { // TODO unit test for the property 'WaitUrl' } - } } diff --git a/src/freeclimb.Test/Model/DequeueTests.cs b/src/freeclimb.Test/Model/DequeueTests.cs index 311b4473..73c8159d 100644 --- a/src/freeclimb.Test/Model/DequeueTests.cs +++ b/src/freeclimb.Test/Model/DequeueTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class DequeueTests : IDisposable { // TODO uncomment below to declare an instance variable for Dequeue - //private Dequeue instance; + private Dequeue instance; public DequeueTests() { - // TODO uncomment below to create an instance of Dequeue //instance = new Dequeue(); } @@ -57,7 +59,6 @@ public void DequeueInstanceTest() } - } } diff --git a/src/freeclimb.Test/Model/EnqueueAllOfTests.cs b/src/freeclimb.Test/Model/EnqueueAllOfTests.cs index b45e9f56..2ebe24b5 100644 --- a/src/freeclimb.Test/Model/EnqueueAllOfTests.cs +++ b/src/freeclimb.Test/Model/EnqueueAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class EnqueueAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for EnqueueAllOf - //private EnqueueAllOf instance; + private EnqueueAllOf instance; public EnqueueAllOfTests() { - // TODO uncomment below to create an instance of EnqueueAllOf //instance = new EnqueueAllOf(); } @@ -89,7 +91,6 @@ public void WaitUrlTest() { // TODO unit test for the property 'WaitUrl' } - } } diff --git a/src/freeclimb.Test/Model/EnqueueTests.cs b/src/freeclimb.Test/Model/EnqueueTests.cs index 6f1027c7..3267ab36 100644 --- a/src/freeclimb.Test/Model/EnqueueTests.cs +++ b/src/freeclimb.Test/Model/EnqueueTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class EnqueueTests : IDisposable { // TODO uncomment below to declare an instance variable for Enqueue - //private Enqueue instance; + private Enqueue instance; public EnqueueTests() { - // TODO uncomment below to create an instance of Enqueue //instance = new Enqueue(); } @@ -89,7 +91,6 @@ public void WaitUrlTest() { // TODO unit test for the property 'WaitUrl' } - } } diff --git a/src/freeclimb.Test/Model/FilterLogsRequestTests.cs b/src/freeclimb.Test/Model/FilterLogsRequestTests.cs index 3af9b6cf..07fddd2c 100644 --- a/src/freeclimb.Test/Model/FilterLogsRequestTests.cs +++ b/src/freeclimb.Test/Model/FilterLogsRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class FilterLogsRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for FilterLogsRequest - //private FilterLogsRequest instance; + private FilterLogsRequest instance; public FilterLogsRequestTests() { - // TODO uncomment below to create an instance of FilterLogsRequest //instance = new FilterLogsRequest(); } @@ -65,7 +67,6 @@ public void PqlTest() { // TODO unit test for the property 'Pql' } - } } diff --git a/src/freeclimb.Test/Model/GetDigitsAllOfTests.cs b/src/freeclimb.Test/Model/GetDigitsAllOfTests.cs index 2807263f..39e5a355 100644 --- a/src/freeclimb.Test/Model/GetDigitsAllOfTests.cs +++ b/src/freeclimb.Test/Model/GetDigitsAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class GetDigitsAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for GetDigitsAllOf - //private GetDigitsAllOf instance; + private GetDigitsAllOf instance; public GetDigitsAllOfTests() { - // TODO uncomment below to create an instance of GetDigitsAllOf //instance = new GetDigitsAllOf(); } @@ -129,7 +131,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/GetDigitsTests.cs b/src/freeclimb.Test/Model/GetDigitsTests.cs index 1521ebc5..8f232dd4 100644 --- a/src/freeclimb.Test/Model/GetDigitsTests.cs +++ b/src/freeclimb.Test/Model/GetDigitsTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class GetDigitsTests : IDisposable { // TODO uncomment below to declare an instance variable for GetDigits - //private GetDigits instance; + private GetDigits instance; public GetDigitsTests() { - // TODO uncomment below to create an instance of GetDigits //instance = new GetDigits(); } @@ -129,7 +131,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/GetSpeechAllOfTests.cs b/src/freeclimb.Test/Model/GetSpeechAllOfTests.cs index b6f2fe87..5ed528dc 100644 --- a/src/freeclimb.Test/Model/GetSpeechAllOfTests.cs +++ b/src/freeclimb.Test/Model/GetSpeechAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class GetSpeechAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for GetSpeechAllOf - //private GetSpeechAllOf instance; + private GetSpeechAllOf instance; public GetSpeechAllOfTests() { - // TODO uncomment below to create an instance of GetSpeechAllOf //instance = new GetSpeechAllOf(); } @@ -161,7 +163,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/GetSpeechTests.cs b/src/freeclimb.Test/Model/GetSpeechTests.cs index dd19e704..db1789d6 100644 --- a/src/freeclimb.Test/Model/GetSpeechTests.cs +++ b/src/freeclimb.Test/Model/GetSpeechTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class GetSpeechTests : IDisposable { // TODO uncomment below to declare an instance variable for GetSpeech - //private GetSpeech instance; + private GetSpeech instance; public GetSpeechTests() { - // TODO uncomment below to create an instance of GetSpeech //instance = new GetSpeech(); } @@ -161,7 +163,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/HangupAllOfTests.cs b/src/freeclimb.Test/Model/HangupAllOfTests.cs index ae13f338..e49a3d2e 100644 --- a/src/freeclimb.Test/Model/HangupAllOfTests.cs +++ b/src/freeclimb.Test/Model/HangupAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class HangupAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for HangupAllOf - //private HangupAllOf instance; + private HangupAllOf instance; public HangupAllOfTests() { - // TODO uncomment below to create an instance of HangupAllOf //instance = new HangupAllOf(); } @@ -65,7 +67,6 @@ public void ReasonTest() { // TODO unit test for the property 'Reason' } - } } diff --git a/src/freeclimb.Test/Model/HangupTests.cs b/src/freeclimb.Test/Model/HangupTests.cs index 4c520e57..5720eca1 100644 --- a/src/freeclimb.Test/Model/HangupTests.cs +++ b/src/freeclimb.Test/Model/HangupTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class HangupTests : IDisposable { // TODO uncomment below to declare an instance variable for Hangup - //private Hangup instance; + private Hangup instance; public HangupTests() { - // TODO uncomment below to create an instance of Hangup //instance = new Hangup(); } @@ -65,7 +67,6 @@ public void ReasonTest() { // TODO unit test for the property 'Reason' } - } } diff --git a/src/freeclimb.Test/Model/IncomingNumberListAllOfTests.cs b/src/freeclimb.Test/Model/IncomingNumberListAllOfTests.cs index 00a3a7a1..0b5430aa 100644 --- a/src/freeclimb.Test/Model/IncomingNumberListAllOfTests.cs +++ b/src/freeclimb.Test/Model/IncomingNumberListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class IncomingNumberListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for IncomingNumberListAllOf - //private IncomingNumberListAllOf instance; + private IncomingNumberListAllOf instance; public IncomingNumberListAllOfTests() { - // TODO uncomment below to create an instance of IncomingNumberListAllOf //instance = new IncomingNumberListAllOf(); } @@ -65,7 +67,6 @@ public void IncomingPhoneNumbersTest() { // TODO unit test for the property 'IncomingPhoneNumbers' } - } } diff --git a/src/freeclimb.Test/Model/IncomingNumberListTests.cs b/src/freeclimb.Test/Model/IncomingNumberListTests.cs index d86d0799..3fe2cc11 100644 --- a/src/freeclimb.Test/Model/IncomingNumberListTests.cs +++ b/src/freeclimb.Test/Model/IncomingNumberListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class IncomingNumberListTests : IDisposable { // TODO uncomment below to declare an instance variable for IncomingNumberList - //private IncomingNumberList instance; + private IncomingNumberList instance; public IncomingNumberListTests() { - // TODO uncomment below to create an instance of IncomingNumberList //instance = new IncomingNumberList(); } @@ -121,7 +123,6 @@ public void IncomingPhoneNumbersTest() { // TODO unit test for the property 'IncomingPhoneNumbers' } - } } diff --git a/src/freeclimb.Test/Model/IncomingNumberRequestTests.cs b/src/freeclimb.Test/Model/IncomingNumberRequestTests.cs index 3efbd7a9..67ad630c 100644 --- a/src/freeclimb.Test/Model/IncomingNumberRequestTests.cs +++ b/src/freeclimb.Test/Model/IncomingNumberRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class IncomingNumberRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for IncomingNumberRequest - //private IncomingNumberRequest instance; + private IncomingNumberRequest instance; public IncomingNumberRequestTests() { - // TODO uncomment below to create an instance of IncomingNumberRequest //instance = new IncomingNumberRequest(); } @@ -73,7 +75,6 @@ public void AliasTest() { // TODO unit test for the property 'Alias' } - } } diff --git a/src/freeclimb.Test/Model/IncomingNumberResultAllOfTests.cs b/src/freeclimb.Test/Model/IncomingNumberResultAllOfTests.cs index 130c7b0c..8adb5483 100644 --- a/src/freeclimb.Test/Model/IncomingNumberResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/IncomingNumberResultAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class IncomingNumberResultAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for IncomingNumberResultAllOf - //private IncomingNumberResultAllOf instance; + private IncomingNumberResultAllOf instance; public IncomingNumberResultAllOfTests() { - // TODO uncomment below to create an instance of IncomingNumberResultAllOf //instance = new IncomingNumberResultAllOf(); } @@ -145,7 +147,14 @@ public void SmsEnabledTest() { // TODO unit test for the property 'SmsEnabled' } - + /// + /// Test the property 'Offnet' + /// + [Fact] + public void OffnetTest() + { + // TODO unit test for the property 'Offnet' + } } } diff --git a/src/freeclimb.Test/Model/IncomingNumberResultTests.cs b/src/freeclimb.Test/Model/IncomingNumberResultTests.cs index 8f103d5b..d44252e8 100644 --- a/src/freeclimb.Test/Model/IncomingNumberResultTests.cs +++ b/src/freeclimb.Test/Model/IncomingNumberResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class IncomingNumberResultTests : IDisposable { // TODO uncomment below to declare an instance variable for IncomingNumberResult - //private IncomingNumberResult instance; + private IncomingNumberResult instance; public IncomingNumberResultTests() { - // TODO uncomment below to create an instance of IncomingNumberResult //instance = new IncomingNumberResult(); } @@ -177,7 +179,14 @@ public void SmsEnabledTest() { // TODO unit test for the property 'SmsEnabled' } - + /// + /// Test the property 'Offnet' + /// + [Fact] + public void OffnetTest() + { + // TODO unit test for the property 'Offnet' + } } } diff --git a/src/freeclimb.Test/Model/LogListAllOfTests.cs b/src/freeclimb.Test/Model/LogListAllOfTests.cs index 8d04c61a..cece299c 100644 --- a/src/freeclimb.Test/Model/LogListAllOfTests.cs +++ b/src/freeclimb.Test/Model/LogListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class LogListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for LogListAllOf - //private LogListAllOf instance; + private LogListAllOf instance; public LogListAllOfTests() { - // TODO uncomment below to create an instance of LogListAllOf //instance = new LogListAllOf(); } @@ -65,7 +67,6 @@ public void LogsTest() { // TODO unit test for the property 'Logs' } - } } diff --git a/src/freeclimb.Test/Model/LogListTests.cs b/src/freeclimb.Test/Model/LogListTests.cs index 1e429a50..6fe0e9b6 100644 --- a/src/freeclimb.Test/Model/LogListTests.cs +++ b/src/freeclimb.Test/Model/LogListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class LogListTests : IDisposable { // TODO uncomment below to declare an instance variable for LogList - //private LogList instance; + private LogList instance; public LogListTests() { - // TODO uncomment below to create an instance of LogList //instance = new LogList(); } @@ -121,7 +123,6 @@ public void LogsTest() { // TODO unit test for the property 'Logs' } - } } diff --git a/src/freeclimb.Test/Model/LogResultTests.cs b/src/freeclimb.Test/Model/LogResultTests.cs index 72a89c43..a257c484 100644 --- a/src/freeclimb.Test/Model/LogResultTests.cs +++ b/src/freeclimb.Test/Model/LogResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class LogResultTests : IDisposable { // TODO uncomment below to declare an instance variable for LogResult - //private LogResult instance; + private LogResult instance; public LogResultTests() { - // TODO uncomment below to create an instance of LogResult //instance = new LogResult(); } @@ -113,7 +115,6 @@ public void MetadataTest() { // TODO unit test for the property 'Metadata' } - } } diff --git a/src/freeclimb.Test/Model/MakeCallRequestTests.cs b/src/freeclimb.Test/Model/MakeCallRequestTests.cs index 0e26b382..1902da87 100644 --- a/src/freeclimb.Test/Model/MakeCallRequestTests.cs +++ b/src/freeclimb.Test/Model/MakeCallRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class MakeCallRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for MakeCallRequest - //private MakeCallRequest instance; + private MakeCallRequest instance; public MakeCallRequestTests() { - // TODO uncomment below to create an instance of MakeCallRequest //instance = new MakeCallRequest(); } @@ -137,7 +139,6 @@ public void CallConnectUrlTest() { // TODO unit test for the property 'CallConnectUrl' } - } } diff --git a/src/freeclimb.Test/Model/MessageRequestAllOfTests.cs b/src/freeclimb.Test/Model/MessageRequestAllOfTests.cs index 40e538c1..fbf32c6f 100644 --- a/src/freeclimb.Test/Model/MessageRequestAllOfTests.cs +++ b/src/freeclimb.Test/Model/MessageRequestAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class MessageRequestAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for MessageRequestAllOf - //private MessageRequestAllOf instance; + private MessageRequestAllOf instance; public MessageRequestAllOfTests() { - // TODO uncomment below to create an instance of MessageRequestAllOf //instance = new MessageRequestAllOf(); } @@ -97,7 +99,6 @@ public void AccountIdTest() { // TODO unit test for the property 'AccountId' } - } } diff --git a/src/freeclimb.Test/Model/MessageRequestTests.cs b/src/freeclimb.Test/Model/MessageRequestTests.cs index 2e178dff..84c14ebf 100644 --- a/src/freeclimb.Test/Model/MessageRequestTests.cs +++ b/src/freeclimb.Test/Model/MessageRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class MessageRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for MessageRequest - //private MessageRequest instance; + private MessageRequest instance; public MessageRequestTests() { - // TODO uncomment below to create an instance of MessageRequest //instance = new MessageRequest(); } @@ -129,7 +131,6 @@ public void AccountIdTest() { // TODO unit test for the property 'AccountId' } - } } diff --git a/src/freeclimb.Test/Model/MessageResultAllOfTests.cs b/src/freeclimb.Test/Model/MessageResultAllOfTests.cs index 12799b01..aac2d2ae 100644 --- a/src/freeclimb.Test/Model/MessageResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/MessageResultAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class MessageResultAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for MessageResultAllOf - //private MessageResultAllOf instance; + private MessageResultAllOf instance; public MessageResultAllOfTests() { - // TODO uncomment below to create an instance of MessageResultAllOf //instance = new MessageResultAllOf(); } @@ -121,7 +123,6 @@ public void NotificationUrlTest() { // TODO unit test for the property 'NotificationUrl' } - } } diff --git a/src/freeclimb.Test/Model/MessageResultTests.cs b/src/freeclimb.Test/Model/MessageResultTests.cs index b49b3ddf..98e60ac3 100644 --- a/src/freeclimb.Test/Model/MessageResultTests.cs +++ b/src/freeclimb.Test/Model/MessageResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class MessageResultTests : IDisposable { // TODO uncomment below to declare an instance variable for MessageResult - //private MessageResult instance; + private MessageResult instance; public MessageResultTests() { - // TODO uncomment below to create an instance of MessageResult //instance = new MessageResult(); } @@ -153,7 +155,6 @@ public void NotificationUrlTest() { // TODO unit test for the property 'NotificationUrl' } - } } diff --git a/src/freeclimb.Test/Model/MessagesListAllOfTests.cs b/src/freeclimb.Test/Model/MessagesListAllOfTests.cs index 7062348c..7a62db6d 100644 --- a/src/freeclimb.Test/Model/MessagesListAllOfTests.cs +++ b/src/freeclimb.Test/Model/MessagesListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class MessagesListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for MessagesListAllOf - //private MessagesListAllOf instance; + private MessagesListAllOf instance; public MessagesListAllOfTests() { - // TODO uncomment below to create an instance of MessagesListAllOf //instance = new MessagesListAllOf(); } @@ -65,7 +67,6 @@ public void MessagesTest() { // TODO unit test for the property 'Messages' } - } } diff --git a/src/freeclimb.Test/Model/MessagesListTests.cs b/src/freeclimb.Test/Model/MessagesListTests.cs index fd972840..f2a72d14 100644 --- a/src/freeclimb.Test/Model/MessagesListTests.cs +++ b/src/freeclimb.Test/Model/MessagesListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class MessagesListTests : IDisposable { // TODO uncomment below to declare an instance variable for MessagesList - //private MessagesList instance; + private MessagesList instance; public MessagesListTests() { - // TODO uncomment below to create an instance of MessagesList //instance = new MessagesList(); } @@ -121,7 +123,6 @@ public void MessagesTest() { // TODO unit test for the property 'Messages' } - } } diff --git a/src/freeclimb.Test/Model/MutableResourceModelTests.cs b/src/freeclimb.Test/Model/MutableResourceModelTests.cs index 3a186e56..713e3a58 100644 --- a/src/freeclimb.Test/Model/MutableResourceModelTests.cs +++ b/src/freeclimb.Test/Model/MutableResourceModelTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class MutableResourceModelTests : IDisposable { // TODO uncomment below to declare an instance variable for MutableResourceModel - //private MutableResourceModel instance; + private MutableResourceModel instance; public MutableResourceModelTests() { - // TODO uncomment below to create an instance of MutableResourceModel //instance = new MutableResourceModel(); } @@ -89,7 +91,6 @@ public void RevisionTest() { // TODO unit test for the property 'Revision' } - } } diff --git a/src/freeclimb.Test/Model/OutDialAllOfTests.cs b/src/freeclimb.Test/Model/OutDialAllOfTests.cs index a4ab3fa6..2eda1f04 100644 --- a/src/freeclimb.Test/Model/OutDialAllOfTests.cs +++ b/src/freeclimb.Test/Model/OutDialAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class OutDialAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for OutDialAllOf - //private OutDialAllOf instance; + private OutDialAllOf instance; public OutDialAllOfTests() { - // TODO uncomment below to create an instance of OutDialAllOf //instance = new OutDialAllOf(); } @@ -137,7 +139,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/OutDialTests.cs b/src/freeclimb.Test/Model/OutDialTests.cs index 0a396457..e4b473fc 100644 --- a/src/freeclimb.Test/Model/OutDialTests.cs +++ b/src/freeclimb.Test/Model/OutDialTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class OutDialTests : IDisposable { // TODO uncomment below to declare an instance variable for OutDial - //private OutDial instance; + private OutDial instance; public OutDialTests() { - // TODO uncomment below to create an instance of OutDial //instance = new OutDial(); } @@ -137,7 +139,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/PaginationModelTests.cs b/src/freeclimb.Test/Model/PaginationModelTests.cs index d14cd0d2..5b0824be 100644 --- a/src/freeclimb.Test/Model/PaginationModelTests.cs +++ b/src/freeclimb.Test/Model/PaginationModelTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class PaginationModelTests : IDisposable { // TODO uncomment below to declare an instance variable for PaginationModel - //private PaginationModel instance; + private PaginationModel instance; public PaginationModelTests() { - // TODO uncomment below to create an instance of PaginationModel //instance = new PaginationModel(); } @@ -113,7 +115,6 @@ public void NextPageUriTest() { // TODO unit test for the property 'NextPageUri' } - } } diff --git a/src/freeclimb.Test/Model/ParkAllOfTests.cs b/src/freeclimb.Test/Model/ParkAllOfTests.cs index 0b648d83..0cccd7b7 100644 --- a/src/freeclimb.Test/Model/ParkAllOfTests.cs +++ b/src/freeclimb.Test/Model/ParkAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ParkAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for ParkAllOf - //private ParkAllOf instance; + private ParkAllOf instance; public ParkAllOfTests() { - // TODO uncomment below to create an instance of ParkAllOf //instance = new ParkAllOf(); } @@ -81,7 +83,6 @@ public void NotificationUrlTest() { // TODO unit test for the property 'NotificationUrl' } - } } diff --git a/src/freeclimb.Test/Model/ParkTests.cs b/src/freeclimb.Test/Model/ParkTests.cs index 31fdba12..fd98067b 100644 --- a/src/freeclimb.Test/Model/ParkTests.cs +++ b/src/freeclimb.Test/Model/ParkTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class ParkTests : IDisposable { // TODO uncomment below to declare an instance variable for Park - //private Park instance; + private Park instance; public ParkTests() { - // TODO uncomment below to create an instance of Park //instance = new Park(); } @@ -81,7 +83,6 @@ public void NotificationUrlTest() { // TODO unit test for the property 'NotificationUrl' } - } } diff --git a/src/freeclimb.Test/Model/PauseAllOfTests.cs b/src/freeclimb.Test/Model/PauseAllOfTests.cs index 62c1ea7b..b8ff5b05 100644 --- a/src/freeclimb.Test/Model/PauseAllOfTests.cs +++ b/src/freeclimb.Test/Model/PauseAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class PauseAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for PauseAllOf - //private PauseAllOf instance; + private PauseAllOf instance; public PauseAllOfTests() { - // TODO uncomment below to create an instance of PauseAllOf //instance = new PauseAllOf(); } @@ -65,7 +67,6 @@ public void LengthTest() { // TODO unit test for the property 'Length' } - } } diff --git a/src/freeclimb.Test/Model/PauseTests.cs b/src/freeclimb.Test/Model/PauseTests.cs index 1a24476c..6613d1fa 100644 --- a/src/freeclimb.Test/Model/PauseTests.cs +++ b/src/freeclimb.Test/Model/PauseTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class PauseTests : IDisposable { // TODO uncomment below to declare an instance variable for Pause - //private Pause instance; + private Pause instance; public PauseTests() { - // TODO uncomment below to create an instance of Pause //instance = new Pause(); } @@ -65,7 +67,6 @@ public void LengthTest() { // TODO unit test for the property 'Length' } - } } diff --git a/src/freeclimb.Test/Model/PerclCommandTests.cs b/src/freeclimb.Test/Model/PerclCommandTests.cs index f3be989e..db7ef640 100644 --- a/src/freeclimb.Test/Model/PerclCommandTests.cs +++ b/src/freeclimb.Test/Model/PerclCommandTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class PerclCommandTests : IDisposable { // TODO uncomment below to declare an instance variable for PerclCommand - //private PerclCommand instance; + private PerclCommand instance; public PerclCommandTests() { - // TODO uncomment below to create an instance of PerclCommand //instance = new PerclCommand(); } @@ -84,6 +86,15 @@ public void TerminateConferenceDeserializeFromPerclCommandTest() //Assert.IsType(JsonConvert.DeserializeObject(new TerminateConference().ToJson())); } /// + /// Test deserialize a Park from type PerclCommand + /// + [Fact] + public void ParkDeserializeFromPerclCommandTest() + { + // TODO uncomment below to test deserialize a Park from type PerclCommand + //Assert.IsType(JsonConvert.DeserializeObject(new Park().ToJson())); + } + /// /// Test deserialize a SendDigits from type PerclCommand /// [Fact] @@ -129,6 +140,15 @@ public void RedirectDeserializeFromPerclCommandTest() //Assert.IsType(JsonConvert.DeserializeObject(new Redirect().ToJson())); } /// + /// Test deserialize a Unpark from type PerclCommand + /// + [Fact] + public void UnparkDeserializeFromPerclCommandTest() + { + // TODO uncomment below to test deserialize a Unpark from type PerclCommand + //Assert.IsType(JsonConvert.DeserializeObject(new Unpark().ToJson())); + } + /// /// Test deserialize a Play from type PerclCommand /// [Fact] @@ -263,7 +283,6 @@ public void CommandTest() { // TODO unit test for the property 'Command' } - } } diff --git a/src/freeclimb.Test/Model/PerclScriptTests.cs b/src/freeclimb.Test/Model/PerclScriptTests.cs index ab42ed4c..a9fabcf6 100644 --- a/src/freeclimb.Test/Model/PerclScriptTests.cs +++ b/src/freeclimb.Test/Model/PerclScriptTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,8 @@ using System.Reflection; using Newtonsoft.Json; +using freeclimb.Enums; + namespace freeclimb.Test.Model { /// @@ -30,15 +34,18 @@ namespace freeclimb.Test.Model /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the model. /// - public class PerclScriptTests : IDisposable + public class PerclScriptTemplateTests : IDisposable { // TODO uncomment below to declare an instance variable for PerclScript - //private PerclScript instance; + private PerclScript instance; - public PerclScriptTests() + public PerclScriptTemplateTests() { - // TODO uncomment below to create an instance of PerclScript - //instance = new PerclScript(); + instance = new PerclScript(); + CreateConference create = new CreateConference("", false, PlayBeep.ALWAYS, false, "", ""); + List commands = new List(); + commands.Add(create); + instance = new PerclScript(commands); } public void Dispose() @@ -58,14 +65,17 @@ public void PerclScriptInstanceTest() /// - /// Test the property 'Commands' + /// Test the property 'PerclScript' /// [Fact] public void CommandsTest() { // TODO unit test for the property 'Commands' + string actualJSONString = instance.ToJson(); + string expectedJSONString = "[{\"CreateConference\":{\"actionUrl\":\"\",\"alias\":false,\"playBeep\":\"always\",\"record\":false,\"statusCallbackUrl\":\"\",\"waitUrl\":\"\"}}]"; + //Console.WriteLine(actualJSONString); + Assert.Equal(expectedJSONString, actualJSONString); } - } } diff --git a/src/freeclimb.Test/Model/PlayAllOfTests.cs b/src/freeclimb.Test/Model/PlayAllOfTests.cs index 63ca27fb..d9b81550 100644 --- a/src/freeclimb.Test/Model/PlayAllOfTests.cs +++ b/src/freeclimb.Test/Model/PlayAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class PlayAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for PlayAllOf - //private PlayAllOf instance; + private PlayAllOf instance; public PlayAllOfTests() { - // TODO uncomment below to create an instance of PlayAllOf //instance = new PlayAllOf(); } @@ -89,7 +91,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/PlayEarlyMediaAllOfTests.cs b/src/freeclimb.Test/Model/PlayEarlyMediaAllOfTests.cs index b250f86f..19caf681 100644 --- a/src/freeclimb.Test/Model/PlayEarlyMediaAllOfTests.cs +++ b/src/freeclimb.Test/Model/PlayEarlyMediaAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class PlayEarlyMediaAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for PlayEarlyMediaAllOf - //private PlayEarlyMediaAllOf instance; + private PlayEarlyMediaAllOf instance; public PlayEarlyMediaAllOfTests() { - // TODO uncomment below to create an instance of PlayEarlyMediaAllOf //instance = new PlayEarlyMediaAllOf(); } @@ -65,7 +67,6 @@ public void FileTest() { // TODO unit test for the property 'File' } - } } diff --git a/src/freeclimb.Test/Model/PlayEarlyMediaTests.cs b/src/freeclimb.Test/Model/PlayEarlyMediaTests.cs index 0e9baae0..694ef9c5 100644 --- a/src/freeclimb.Test/Model/PlayEarlyMediaTests.cs +++ b/src/freeclimb.Test/Model/PlayEarlyMediaTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class PlayEarlyMediaTests : IDisposable { // TODO uncomment below to declare an instance variable for PlayEarlyMedia - //private PlayEarlyMedia instance; + private PlayEarlyMedia instance; public PlayEarlyMediaTests() { - // TODO uncomment below to create an instance of PlayEarlyMedia //instance = new PlayEarlyMedia(); } @@ -65,7 +67,6 @@ public void FileTest() { // TODO unit test for the property 'File' } - } } diff --git a/src/freeclimb.Test/Model/PlayTests.cs b/src/freeclimb.Test/Model/PlayTests.cs index 14a7640e..9ef51517 100644 --- a/src/freeclimb.Test/Model/PlayTests.cs +++ b/src/freeclimb.Test/Model/PlayTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class PlayTests : IDisposable { // TODO uncomment below to declare an instance variable for Play - //private Play instance; + private Play instance; public PlayTests() { - // TODO uncomment below to create an instance of Play //instance = new Play(); } @@ -89,7 +91,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/QueueListAllOfTests.cs b/src/freeclimb.Test/Model/QueueListAllOfTests.cs index 052ec0cc..23b2f8dc 100644 --- a/src/freeclimb.Test/Model/QueueListAllOfTests.cs +++ b/src/freeclimb.Test/Model/QueueListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class QueueListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for QueueListAllOf - //private QueueListAllOf instance; + private QueueListAllOf instance; public QueueListAllOfTests() { - // TODO uncomment below to create an instance of QueueListAllOf //instance = new QueueListAllOf(); } @@ -65,7 +67,6 @@ public void QueuesTest() { // TODO unit test for the property 'Queues' } - } } diff --git a/src/freeclimb.Test/Model/QueueListTests.cs b/src/freeclimb.Test/Model/QueueListTests.cs index 48563993..9c7921fd 100644 --- a/src/freeclimb.Test/Model/QueueListTests.cs +++ b/src/freeclimb.Test/Model/QueueListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class QueueListTests : IDisposable { // TODO uncomment below to declare an instance variable for QueueList - //private QueueList instance; + private QueueList instance; public QueueListTests() { - // TODO uncomment below to create an instance of QueueList //instance = new QueueList(); } @@ -121,7 +123,6 @@ public void QueuesTest() { // TODO unit test for the property 'Queues' } - } } diff --git a/src/freeclimb.Test/Model/QueueMemberListAllOfTests.cs b/src/freeclimb.Test/Model/QueueMemberListAllOfTests.cs index 995037a7..cc23ea2d 100644 --- a/src/freeclimb.Test/Model/QueueMemberListAllOfTests.cs +++ b/src/freeclimb.Test/Model/QueueMemberListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class QueueMemberListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for QueueMemberListAllOf - //private QueueMemberListAllOf instance; + private QueueMemberListAllOf instance; public QueueMemberListAllOfTests() { - // TODO uncomment below to create an instance of QueueMemberListAllOf //instance = new QueueMemberListAllOf(); } @@ -65,7 +67,6 @@ public void QueueMembersTest() { // TODO unit test for the property 'QueueMembers' } - } } diff --git a/src/freeclimb.Test/Model/QueueMemberListTests.cs b/src/freeclimb.Test/Model/QueueMemberListTests.cs index 98b4e8e1..49cf332c 100644 --- a/src/freeclimb.Test/Model/QueueMemberListTests.cs +++ b/src/freeclimb.Test/Model/QueueMemberListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class QueueMemberListTests : IDisposable { // TODO uncomment below to declare an instance variable for QueueMemberList - //private QueueMemberList instance; + private QueueMemberList instance; public QueueMemberListTests() { - // TODO uncomment below to create an instance of QueueMemberList //instance = new QueueMemberList(); } @@ -121,7 +123,6 @@ public void QueueMembersTest() { // TODO unit test for the property 'QueueMembers' } - } } diff --git a/src/freeclimb.Test/Model/QueueMemberTests.cs b/src/freeclimb.Test/Model/QueueMemberTests.cs index 829659a9..b00e9e71 100644 --- a/src/freeclimb.Test/Model/QueueMemberTests.cs +++ b/src/freeclimb.Test/Model/QueueMemberTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class QueueMemberTests : IDisposable { // TODO uncomment below to declare an instance variable for QueueMember - //private QueueMember instance; + private QueueMember instance; public QueueMemberTests() { - // TODO uncomment below to create an instance of QueueMember //instance = new QueueMember(); } @@ -97,7 +99,6 @@ public void DateEnqueuedTest() { // TODO unit test for the property 'DateEnqueued' } - } } diff --git a/src/freeclimb.Test/Model/QueueRequestTests.cs b/src/freeclimb.Test/Model/QueueRequestTests.cs index 0bcf35d6..236b20e4 100644 --- a/src/freeclimb.Test/Model/QueueRequestTests.cs +++ b/src/freeclimb.Test/Model/QueueRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class QueueRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for QueueRequest - //private QueueRequest instance; + private QueueRequest instance; public QueueRequestTests() { - // TODO uncomment below to create an instance of QueueRequest //instance = new QueueRequest(); } @@ -73,7 +75,6 @@ public void MaxSizeTest() { // TODO unit test for the property 'MaxSize' } - } } diff --git a/src/freeclimb.Test/Model/QueueResultAllOfTests.cs b/src/freeclimb.Test/Model/QueueResultAllOfTests.cs index 34992dfe..21c7e2ce 100644 --- a/src/freeclimb.Test/Model/QueueResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/QueueResultAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class QueueResultAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for QueueResultAllOf - //private QueueResultAllOf instance; + private QueueResultAllOf instance; public QueueResultAllOfTests() { - // TODO uncomment below to create an instance of QueueResultAllOf //instance = new QueueResultAllOf(); } @@ -113,7 +115,6 @@ public void SubresourceUrisTest() { // TODO unit test for the property 'SubresourceUris' } - } } diff --git a/src/freeclimb.Test/Model/QueueResultTests.cs b/src/freeclimb.Test/Model/QueueResultTests.cs index 2f1ae0af..87eb77c0 100644 --- a/src/freeclimb.Test/Model/QueueResultTests.cs +++ b/src/freeclimb.Test/Model/QueueResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class QueueResultTests : IDisposable { // TODO uncomment below to declare an instance variable for QueueResult - //private QueueResult instance; + private QueueResult instance; public QueueResultTests() { - // TODO uncomment below to create an instance of QueueResult //instance = new QueueResult(); } @@ -145,7 +147,6 @@ public void SubresourceUrisTest() { // TODO unit test for the property 'SubresourceUris' } - } } diff --git a/src/freeclimb.Test/Model/RecordUtteranceAllOfTests.cs b/src/freeclimb.Test/Model/RecordUtteranceAllOfTests.cs index 118ec7c2..346fef0a 100644 --- a/src/freeclimb.Test/Model/RecordUtteranceAllOfTests.cs +++ b/src/freeclimb.Test/Model/RecordUtteranceAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RecordUtteranceAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for RecordUtteranceAllOf - //private RecordUtteranceAllOf instance; + private RecordUtteranceAllOf instance; public RecordUtteranceAllOfTests() { - // TODO uncomment below to create an instance of RecordUtteranceAllOf //instance = new RecordUtteranceAllOf(); } @@ -113,7 +115,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/RecordUtteranceTests.cs b/src/freeclimb.Test/Model/RecordUtteranceTests.cs index 659f6c19..fe19bb76 100644 --- a/src/freeclimb.Test/Model/RecordUtteranceTests.cs +++ b/src/freeclimb.Test/Model/RecordUtteranceTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RecordUtteranceTests : IDisposable { // TODO uncomment below to declare an instance variable for RecordUtterance - //private RecordUtterance instance; + private RecordUtterance instance; public RecordUtteranceTests() { - // TODO uncomment below to create an instance of RecordUtterance //instance = new RecordUtterance(); } @@ -113,7 +115,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/RecordingListAllOfTests.cs b/src/freeclimb.Test/Model/RecordingListAllOfTests.cs index 77aa9a72..bccc0ed4 100644 --- a/src/freeclimb.Test/Model/RecordingListAllOfTests.cs +++ b/src/freeclimb.Test/Model/RecordingListAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RecordingListAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for RecordingListAllOf - //private RecordingListAllOf instance; + private RecordingListAllOf instance; public RecordingListAllOfTests() { - // TODO uncomment below to create an instance of RecordingListAllOf //instance = new RecordingListAllOf(); } @@ -65,7 +67,6 @@ public void RecordingsTest() { // TODO unit test for the property 'Recordings' } - } } diff --git a/src/freeclimb.Test/Model/RecordingListTests.cs b/src/freeclimb.Test/Model/RecordingListTests.cs index d98a0eb6..2bbbfa8a 100644 --- a/src/freeclimb.Test/Model/RecordingListTests.cs +++ b/src/freeclimb.Test/Model/RecordingListTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RecordingListTests : IDisposable { // TODO uncomment below to declare an instance variable for RecordingList - //private RecordingList instance; + private RecordingList instance; public RecordingListTests() { - // TODO uncomment below to create an instance of RecordingList //instance = new RecordingList(); } @@ -121,7 +123,6 @@ public void RecordingsTest() { // TODO unit test for the property 'Recordings' } - } } diff --git a/src/freeclimb.Test/Model/RecordingResultAllOfTests.cs b/src/freeclimb.Test/Model/RecordingResultAllOfTests.cs index 50637352..390547d0 100644 --- a/src/freeclimb.Test/Model/RecordingResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/RecordingResultAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RecordingResultAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for RecordingResultAllOf - //private RecordingResultAllOf instance; + private RecordingResultAllOf instance; public RecordingResultAllOfTests() { - // TODO uncomment below to create an instance of RecordingResultAllOf //instance = new RecordingResultAllOf(); } @@ -97,7 +99,6 @@ public void ConferenceIdTest() { // TODO unit test for the property 'ConferenceId' } - } } diff --git a/src/freeclimb.Test/Model/RecordingResultTests.cs b/src/freeclimb.Test/Model/RecordingResultTests.cs index e3cda941..5d0ae3ae 100644 --- a/src/freeclimb.Test/Model/RecordingResultTests.cs +++ b/src/freeclimb.Test/Model/RecordingResultTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RecordingResultTests : IDisposable { // TODO uncomment below to declare an instance variable for RecordingResult - //private RecordingResult instance; + private RecordingResult instance; public RecordingResultTests() { - // TODO uncomment below to create an instance of RecordingResult //instance = new RecordingResult(); } @@ -129,7 +131,6 @@ public void ConferenceIdTest() { // TODO unit test for the property 'ConferenceId' } - } } diff --git a/src/freeclimb.Test/Model/RedirectAllOfTests.cs b/src/freeclimb.Test/Model/RedirectAllOfTests.cs index 4ebbc578..29e95d71 100644 --- a/src/freeclimb.Test/Model/RedirectAllOfTests.cs +++ b/src/freeclimb.Test/Model/RedirectAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RedirectAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for RedirectAllOf - //private RedirectAllOf instance; + private RedirectAllOf instance; public RedirectAllOfTests() { - // TODO uncomment below to create an instance of RedirectAllOf //instance = new RedirectAllOf(); } @@ -65,7 +67,6 @@ public void ActionUrlTest() { // TODO unit test for the property 'ActionUrl' } - } } diff --git a/src/freeclimb.Test/Model/RedirectTests.cs b/src/freeclimb.Test/Model/RedirectTests.cs index a8234a4c..27dcddf0 100644 --- a/src/freeclimb.Test/Model/RedirectTests.cs +++ b/src/freeclimb.Test/Model/RedirectTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RedirectTests : IDisposable { // TODO uncomment below to declare an instance variable for Redirect - //private Redirect instance; + private Redirect instance; public RedirectTests() { - // TODO uncomment below to create an instance of Redirect //instance = new Redirect(); } @@ -65,7 +67,6 @@ public void ActionUrlTest() { // TODO unit test for the property 'ActionUrl' } - } } diff --git a/src/freeclimb.Test/Model/RejectAllOfTests.cs b/src/freeclimb.Test/Model/RejectAllOfTests.cs index ef5e540a..5c23b187 100644 --- a/src/freeclimb.Test/Model/RejectAllOfTests.cs +++ b/src/freeclimb.Test/Model/RejectAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RejectAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for RejectAllOf - //private RejectAllOf instance; + private RejectAllOf instance; public RejectAllOfTests() { - // TODO uncomment below to create an instance of RejectAllOf //instance = new RejectAllOf(); } @@ -65,7 +67,6 @@ public void ReasonTest() { // TODO unit test for the property 'Reason' } - } } diff --git a/src/freeclimb.Test/Model/RejectTests.cs b/src/freeclimb.Test/Model/RejectTests.cs index c6c81f1a..9e0915c4 100644 --- a/src/freeclimb.Test/Model/RejectTests.cs +++ b/src/freeclimb.Test/Model/RejectTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RejectTests : IDisposable { // TODO uncomment below to declare an instance variable for Reject - //private Reject instance; + private Reject instance; public RejectTests() { - // TODO uncomment below to create an instance of Reject //instance = new Reject(); } @@ -65,7 +67,6 @@ public void ReasonTest() { // TODO unit test for the property 'Reason' } - } } diff --git a/src/freeclimb.Test/Model/RemoveFromConferenceAllOfTests.cs b/src/freeclimb.Test/Model/RemoveFromConferenceAllOfTests.cs index 58311b79..5504de93 100644 --- a/src/freeclimb.Test/Model/RemoveFromConferenceAllOfTests.cs +++ b/src/freeclimb.Test/Model/RemoveFromConferenceAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RemoveFromConferenceAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for RemoveFromConferenceAllOf - //private RemoveFromConferenceAllOf instance; + private RemoveFromConferenceAllOf instance; public RemoveFromConferenceAllOfTests() { - // TODO uncomment below to create an instance of RemoveFromConferenceAllOf //instance = new RemoveFromConferenceAllOf(); } @@ -65,7 +67,6 @@ public void CallIdTest() { // TODO unit test for the property 'CallId' } - } } diff --git a/src/freeclimb.Test/Model/RemoveFromConferenceTests.cs b/src/freeclimb.Test/Model/RemoveFromConferenceTests.cs index f78ca9f7..08353a76 100644 --- a/src/freeclimb.Test/Model/RemoveFromConferenceTests.cs +++ b/src/freeclimb.Test/Model/RemoveFromConferenceTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class RemoveFromConferenceTests : IDisposable { // TODO uncomment below to declare an instance variable for RemoveFromConference - //private RemoveFromConference instance; + private RemoveFromConference instance; public RemoveFromConferenceTests() { - // TODO uncomment below to create an instance of RemoveFromConference //instance = new RemoveFromConference(); } @@ -65,7 +67,6 @@ public void CallIdTest() { // TODO unit test for the property 'CallId' } - } } diff --git a/src/freeclimb.Test/Model/SayAllOfTests.cs b/src/freeclimb.Test/Model/SayAllOfTests.cs index 5914518a..0fdd29b5 100644 --- a/src/freeclimb.Test/Model/SayAllOfTests.cs +++ b/src/freeclimb.Test/Model/SayAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SayAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for SayAllOf - //private SayAllOf instance; + private SayAllOf instance; public SayAllOfTests() { - // TODO uncomment below to create an instance of SayAllOf //instance = new SayAllOf(); } @@ -97,7 +99,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/SayTests.cs b/src/freeclimb.Test/Model/SayTests.cs index d9354c28..c0aeb429 100644 --- a/src/freeclimb.Test/Model/SayTests.cs +++ b/src/freeclimb.Test/Model/SayTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SayTests : IDisposable { // TODO uncomment below to declare an instance variable for Say - //private Say instance; + private Say instance; public SayTests() { - // TODO uncomment below to create an instance of Say //instance = new Say(); } @@ -97,7 +99,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/SendDigitsAllOfTests.cs b/src/freeclimb.Test/Model/SendDigitsAllOfTests.cs index 5e085355..4e76f702 100644 --- a/src/freeclimb.Test/Model/SendDigitsAllOfTests.cs +++ b/src/freeclimb.Test/Model/SendDigitsAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SendDigitsAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for SendDigitsAllOf - //private SendDigitsAllOf instance; + private SendDigitsAllOf instance; public SendDigitsAllOfTests() { - // TODO uncomment below to create an instance of SendDigitsAllOf //instance = new SendDigitsAllOf(); } @@ -81,7 +83,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/SendDigitsTests.cs b/src/freeclimb.Test/Model/SendDigitsTests.cs index c66f3d56..5d2b1016 100644 --- a/src/freeclimb.Test/Model/SendDigitsTests.cs +++ b/src/freeclimb.Test/Model/SendDigitsTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SendDigitsTests : IDisposable { // TODO uncomment below to declare an instance variable for SendDigits - //private SendDigits instance; + private SendDigits instance; public SendDigitsTests() { - // TODO uncomment below to create an instance of SendDigits //instance = new SendDigits(); } @@ -81,7 +83,6 @@ public void PrivacyModeTest() { // TODO unit test for the property 'PrivacyMode' } - } } diff --git a/src/freeclimb.Test/Model/SetListenAllOfTests.cs b/src/freeclimb.Test/Model/SetListenAllOfTests.cs index c1260099..41618119 100644 --- a/src/freeclimb.Test/Model/SetListenAllOfTests.cs +++ b/src/freeclimb.Test/Model/SetListenAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SetListenAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for SetListenAllOf - //private SetListenAllOf instance; + private SetListenAllOf instance; public SetListenAllOfTests() { - // TODO uncomment below to create an instance of SetListenAllOf //instance = new SetListenAllOf(); } @@ -73,7 +75,6 @@ public void ListenTest() { // TODO unit test for the property 'Listen' } - } } diff --git a/src/freeclimb.Test/Model/SetListenTests.cs b/src/freeclimb.Test/Model/SetListenTests.cs index 6dd31b88..a965d235 100644 --- a/src/freeclimb.Test/Model/SetListenTests.cs +++ b/src/freeclimb.Test/Model/SetListenTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SetListenTests : IDisposable { // TODO uncomment below to declare an instance variable for SetListen - //private SetListen instance; + private SetListen instance; public SetListenTests() { - // TODO uncomment below to create an instance of SetListen //instance = new SetListen(); } @@ -73,7 +75,6 @@ public void ListenTest() { // TODO unit test for the property 'Listen' } - } } diff --git a/src/freeclimb.Test/Model/SetTalkAllOfTests.cs b/src/freeclimb.Test/Model/SetTalkAllOfTests.cs index b343b46f..8e7ce0f9 100644 --- a/src/freeclimb.Test/Model/SetTalkAllOfTests.cs +++ b/src/freeclimb.Test/Model/SetTalkAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SetTalkAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for SetTalkAllOf - //private SetTalkAllOf instance; + private SetTalkAllOf instance; public SetTalkAllOfTests() { - // TODO uncomment below to create an instance of SetTalkAllOf //instance = new SetTalkAllOf(); } @@ -73,7 +75,6 @@ public void TalkTest() { // TODO unit test for the property 'Talk' } - } } diff --git a/src/freeclimb.Test/Model/SetTalkTests.cs b/src/freeclimb.Test/Model/SetTalkTests.cs index 61e39dc0..d441c1f1 100644 --- a/src/freeclimb.Test/Model/SetTalkTests.cs +++ b/src/freeclimb.Test/Model/SetTalkTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SetTalkTests : IDisposable { // TODO uncomment below to declare an instance variable for SetTalk - //private SetTalk instance; + private SetTalk instance; public SetTalkTests() { - // TODO uncomment below to create an instance of SetTalk //instance = new SetTalk(); } @@ -73,7 +75,6 @@ public void TalkTest() { // TODO unit test for the property 'Talk' } - } } diff --git a/src/freeclimb.Test/Model/SmsAllOfTests.cs b/src/freeclimb.Test/Model/SmsAllOfTests.cs index 63febef6..c1a0a5ff 100644 --- a/src/freeclimb.Test/Model/SmsAllOfTests.cs +++ b/src/freeclimb.Test/Model/SmsAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SmsAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for SmsAllOf - //private SmsAllOf instance; + private SmsAllOf instance; public SmsAllOfTests() { - // TODO uncomment below to create an instance of SmsAllOf //instance = new SmsAllOf(); } @@ -89,7 +91,6 @@ public void NotificationUrlTest() { // TODO unit test for the property 'NotificationUrl' } - } } diff --git a/src/freeclimb.Test/Model/SmsTests.cs b/src/freeclimb.Test/Model/SmsTests.cs index bfd2cfda..db3053d9 100644 --- a/src/freeclimb.Test/Model/SmsTests.cs +++ b/src/freeclimb.Test/Model/SmsTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class SmsTests : IDisposable { // TODO uncomment below to declare an instance variable for Sms - //private Sms instance; + private Sms instance; public SmsTests() { - // TODO uncomment below to create an instance of Sms //instance = new Sms(); } @@ -89,7 +91,6 @@ public void NotificationUrlTest() { // TODO unit test for the property 'NotificationUrl' } - } } diff --git a/src/freeclimb.Test/Model/StartRecordCallTests.cs b/src/freeclimb.Test/Model/StartRecordCallTests.cs index 2f02e6d1..42fcdb69 100644 --- a/src/freeclimb.Test/Model/StartRecordCallTests.cs +++ b/src/freeclimb.Test/Model/StartRecordCallTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class StartRecordCallTests : IDisposable { // TODO uncomment below to declare an instance variable for StartRecordCall - //private StartRecordCall instance; + private StartRecordCall instance; public StartRecordCallTests() { - // TODO uncomment below to create an instance of StartRecordCall //instance = new StartRecordCall(); } @@ -57,7 +59,6 @@ public void StartRecordCallInstanceTest() } - } } diff --git a/src/freeclimb.Test/Model/TerminateConferenceAllOfTests.cs b/src/freeclimb.Test/Model/TerminateConferenceAllOfTests.cs index aeba8ca4..18cd4838 100644 --- a/src/freeclimb.Test/Model/TerminateConferenceAllOfTests.cs +++ b/src/freeclimb.Test/Model/TerminateConferenceAllOfTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class TerminateConferenceAllOfTests : IDisposable { // TODO uncomment below to declare an instance variable for TerminateConferenceAllOf - //private TerminateConferenceAllOf instance; + private TerminateConferenceAllOf instance; public TerminateConferenceAllOfTests() { - // TODO uncomment below to create an instance of TerminateConferenceAllOf //instance = new TerminateConferenceAllOf(); } @@ -65,7 +67,6 @@ public void ConferenceIdTest() { // TODO unit test for the property 'ConferenceId' } - } } diff --git a/src/freeclimb.Test/Model/TerminateConferenceTests.cs b/src/freeclimb.Test/Model/TerminateConferenceTests.cs index 96cd59a2..b0f7c234 100644 --- a/src/freeclimb.Test/Model/TerminateConferenceTests.cs +++ b/src/freeclimb.Test/Model/TerminateConferenceTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class TerminateConferenceTests : IDisposable { // TODO uncomment below to declare an instance variable for TerminateConference - //private TerminateConference instance; + private TerminateConference instance; public TerminateConferenceTests() { - // TODO uncomment below to create an instance of TerminateConference //instance = new TerminateConference(); } @@ -65,7 +67,6 @@ public void ConferenceIdTest() { // TODO unit test for the property 'ConferenceId' } - } } diff --git a/src/freeclimb.Test/Model/UnparkTests.cs b/src/freeclimb.Test/Model/UnparkTests.cs index a77c9b4a..6e7b9e50 100644 --- a/src/freeclimb.Test/Model/UnparkTests.cs +++ b/src/freeclimb.Test/Model/UnparkTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class UnparkTests : IDisposable { // TODO uncomment below to declare an instance variable for Unpark - //private Unpark instance; + private Unpark instance; public UnparkTests() { - // TODO uncomment below to create an instance of Unpark //instance = new Unpark(); } @@ -57,7 +59,6 @@ public void UnparkInstanceTest() } - } } diff --git a/src/freeclimb.Test/Model/UpdateCallRequestTests.cs b/src/freeclimb.Test/Model/UpdateCallRequestTests.cs index 33e32f02..bdb77181 100644 --- a/src/freeclimb.Test/Model/UpdateCallRequestTests.cs +++ b/src/freeclimb.Test/Model/UpdateCallRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class UpdateCallRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for UpdateCallRequest - //private UpdateCallRequest instance; + private UpdateCallRequest instance; public UpdateCallRequestTests() { - // TODO uncomment below to create an instance of UpdateCallRequest //instance = new UpdateCallRequest(); } @@ -65,7 +67,6 @@ public void StatusTest() { // TODO unit test for the property 'Status' } - } } diff --git a/src/freeclimb.Test/Model/UpdateConferenceParticipantRequestTests.cs b/src/freeclimb.Test/Model/UpdateConferenceParticipantRequestTests.cs index 76261281..3a451766 100644 --- a/src/freeclimb.Test/Model/UpdateConferenceParticipantRequestTests.cs +++ b/src/freeclimb.Test/Model/UpdateConferenceParticipantRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class UpdateConferenceParticipantRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for UpdateConferenceParticipantRequest - //private UpdateConferenceParticipantRequest instance; + private UpdateConferenceParticipantRequest instance; public UpdateConferenceParticipantRequestTests() { - // TODO uncomment below to create an instance of UpdateConferenceParticipantRequest //instance = new UpdateConferenceParticipantRequest(); } @@ -73,7 +75,6 @@ public void ListenTest() { // TODO unit test for the property 'Listen' } - } } diff --git a/src/freeclimb.Test/Model/UpdateConferenceRequestTests.cs b/src/freeclimb.Test/Model/UpdateConferenceRequestTests.cs index 80a61f8b..aff0a904 100644 --- a/src/freeclimb.Test/Model/UpdateConferenceRequestTests.cs +++ b/src/freeclimb.Test/Model/UpdateConferenceRequestTests.cs @@ -9,6 +9,8 @@ */ + + using Xunit; using System; @@ -21,6 +23,7 @@ using System.Reflection; using Newtonsoft.Json; + namespace freeclimb.Test.Model { /// @@ -33,11 +36,10 @@ namespace freeclimb.Test.Model public class UpdateConferenceRequestTests : IDisposable { // TODO uncomment below to declare an instance variable for UpdateConferenceRequest - //private UpdateConferenceRequest instance; + private UpdateConferenceRequest instance; public UpdateConferenceRequestTests() { - // TODO uncomment below to create an instance of UpdateConferenceRequest //instance = new UpdateConferenceRequest(); } @@ -81,7 +83,6 @@ public void StatusTest() { // TODO unit test for the property 'Status' } - } } diff --git a/src/freeclimb/Api/DefaultApi.cs b/src/freeclimb/Api/DefaultApi.cs index a10f936d..4cc190c4 100644 --- a/src/freeclimb/Api/DefaultApi.cs +++ b/src/freeclimb/Api/DefaultApi.cs @@ -724,7 +724,7 @@ public interface IDefaultApiSync : IApiAccessor /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) /// MessagesList - MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?)); + MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)); /// /// List SMS Messages @@ -739,7 +739,7 @@ public interface IDefaultApiSync : IApiAccessor /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) /// ApiResponse of MessagesList - ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?)); + ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)); /// /// Make a Call /// @@ -970,9 +970,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task BuyAPhoneNumberAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -984,9 +984,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> BuyAPhoneNumberWithHttpInfoAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -997,9 +997,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task CreateAConferenceAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1011,9 +1011,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> CreateAConferenceWithHttpInfoAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1024,9 +1024,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task CreateAQueueAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1038,9 +1038,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> CreateAQueueWithHttpInfoAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1051,9 +1051,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task CreateAnApplicationAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1065,9 +1065,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> CreateAnApplicationWithHttpInfoAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1078,9 +1078,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1092,9 +1092,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1105,9 +1105,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1119,9 +1119,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1132,9 +1132,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1146,9 +1146,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1159,11 +1159,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task DequeueAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1175,11 +1175,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> DequeueAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1190,9 +1190,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task DequeueHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1204,9 +1204,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> DequeueHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1217,9 +1217,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream System.Threading.Tasks.Task DownloadARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1231,9 +1231,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) System.Threading.Tasks.Task> DownloadARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1244,9 +1244,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task FilterLogsAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1258,9 +1258,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> FilterLogsWithHttpInfoAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1271,9 +1271,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of CallResult System.Threading.Tasks.Task GetACallAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1285,9 +1285,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) System.Threading.Tasks.Task> GetACallWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1298,9 +1298,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task GetAConferenceAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1312,9 +1312,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> GetAConferenceWithHttpInfoAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1325,11 +1325,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task GetAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1341,11 +1341,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> GetAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1356,11 +1356,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult System.Threading.Tasks.Task GetAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1372,11 +1372,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) System.Threading.Tasks.Task> GetAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1387,9 +1387,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task GetAQueueAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1401,9 +1401,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> GetAQueueWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1414,9 +1414,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of RecordingResult System.Threading.Tasks.Task GetARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1428,9 +1428,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingResult) System.Threading.Tasks.Task> GetARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1441,7 +1441,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of AccountResult System.Threading.Tasks.Task GetAnAccountAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1453,7 +1453,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AccountResult) System.Threading.Tasks.Task> GetAnAccountWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1464,9 +1464,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task GetAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1478,9 +1478,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> GetAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1491,9 +1491,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task GetAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1505,9 +1505,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> GetAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1518,9 +1518,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of MessageResult System.Threading.Tasks.Task GetAnSmsMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1532,9 +1532,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) System.Threading.Tasks.Task> GetAnSmsMessageWithHttpInfoAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1545,9 +1545,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task GetHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1559,9 +1559,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> GetHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1572,9 +1572,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueList System.Threading.Tasks.Task ListActiveQueuesAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1586,9 +1586,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueList) System.Threading.Tasks.Task> ListActiveQueuesWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1599,7 +1599,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task ListAllAccountLogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1611,7 +1611,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> ListAllAccountLogsWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1622,9 +1622,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationList System.Threading.Tasks.Task ListApplicationsAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1636,9 +1636,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationList) System.Threading.Tasks.Task> ListApplicationsWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1649,27 +1649,27 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of AvailableNumberList System.Threading.Tasks.Task ListAvailableNumbersAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1681,27 +1681,27 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AvailableNumberList) System.Threading.Tasks.Task> ListAvailableNumbersWithHttpInfoAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1712,9 +1712,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task ListCallLogsAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1726,9 +1726,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> ListCallLogsWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1739,11 +1739,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList System.Threading.Tasks.Task ListCallRecordingsAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1755,11 +1755,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) System.Threading.Tasks.Task> ListCallRecordingsWithHttpInfoAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1770,21 +1770,21 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of CallList System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1796,21 +1796,21 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1821,15 +1821,15 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceList System.Threading.Tasks.Task ListConferencesAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1841,15 +1841,15 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceList) System.Threading.Tasks.Task> ListConferencesWithHttpInfoAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1860,35 +1860,35 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberList System.Threading.Tasks.Task ListIncomingNumbersAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1900,35 +1900,35 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberList) System.Threading.Tasks.Task> ListIncomingNumbersWithHttpInfoAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1939,9 +1939,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMemberList System.Threading.Tasks.Task ListMembersAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1953,9 +1953,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMemberList) System.Threading.Tasks.Task> ListMembersWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1966,13 +1966,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantList System.Threading.Tasks.Task ListParticipantsAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1984,13 +1984,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantList) System.Threading.Tasks.Task> ListParticipantsWithHttpInfoAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2001,13 +2001,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList System.Threading.Tasks.Task ListRecordingsAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2019,13 +2019,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) System.Threading.Tasks.Task> ListRecordingsWithHttpInfoAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2036,20 +2036,20 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of MessagesList - System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// List SMS Messages @@ -2058,20 +2058,20 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) - System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// /// Make a Call /// @@ -2079,9 +2079,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of CallResult System.Threading.Tasks.Task MakeACallAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2093,9 +2093,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) System.Threading.Tasks.Task> MakeACallWithHttpInfoAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2106,11 +2106,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task RemoveAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2122,11 +2122,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> RemoveAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2137,9 +2137,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of MessageResult System.Threading.Tasks.Task SendAnSmsMessageAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2151,9 +2151,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) System.Threading.Tasks.Task> SendAnSmsMessageWithHttpInfoAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2164,9 +2164,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream System.Threading.Tasks.Task StreamARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2178,9 +2178,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) System.Threading.Tasks.Task> StreamARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2191,11 +2191,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task UpdateAConferenceAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2207,11 +2207,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> UpdateAConferenceWithHttpInfoAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2222,11 +2222,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task UpdateALiveCallAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2238,11 +2238,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> UpdateALiveCallWithHttpInfoAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2253,13 +2253,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult System.Threading.Tasks.Task UpdateAParticipantAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2271,13 +2271,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) System.Threading.Tasks.Task> UpdateAParticipantWithHttpInfoAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2288,11 +2288,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task UpdateAQueueAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2304,11 +2304,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> UpdateAQueueWithHttpInfoAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2319,9 +2319,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task UpdateAnAccountAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2333,9 +2333,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> UpdateAnAccountWithHttpInfoAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2346,11 +2346,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task UpdateAnApplicationAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2362,11 +2362,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> UpdateAnApplicationWithHttpInfoAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2377,11 +2377,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task UpdateAnIncomingNumberAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2393,11 +2393,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> UpdateAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2532,7 +2532,7 @@ public freeclimb.Client.ExceptionFactory ExceptionFactory /// IncomingNumberResult public IncomingNumberResult BuyAPhoneNumber(BuyIncomingNumberRequest buyIncomingNumberRequest) { - freeclimb.Client.ApiResponse localVarResponse = BuyAPhoneNumberWithHttpInfo(buyIncomingNumberRequest ); + freeclimb.Client.ApiResponse localVarResponse = BuyAPhoneNumberWithHttpInfo(buyIncomingNumberRequest); return localVarResponse.Data; } @@ -2544,14 +2544,14 @@ public IncomingNumberResult BuyAPhoneNumber(BuyIncomingNumberRequest buyIncoming /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHttpInfo(BuyIncomingNumberRequest buyIncomingNumberRequest) { - + // verify the required parameter 'buyIncomingNumberRequest' is set if (buyIncomingNumberRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'buyIncomingNumberRequest' when calling DefaultApi->BuyAPhoneNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2603,9 +2603,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Buy a Phone Number /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task BuyAPhoneNumberAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2618,21 +2618,21 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Buy a Phone Number /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> BuyAPhoneNumberWithHttpInfoAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'buyIncomingNumberRequest' is set if (buyIncomingNumberRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'buyIncomingNumberRequest' when calling DefaultApi->BuyAPhoneNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2690,7 +2690,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ConferenceResult public ConferenceResult CreateAConference(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAConferenceWithHttpInfo(createConferenceRequest ); + freeclimb.Client.ApiResponse localVarResponse = CreateAConferenceWithHttpInfo(createConferenceRequest); return localVarResponse.Data; } @@ -2702,8 +2702,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse CreateAConferenceWithHttpInfo(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2755,9 +2755,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Conference /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task CreateAConferenceAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2770,15 +2770,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Conference /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> CreateAConferenceWithHttpInfoAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2836,7 +2836,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// QueueResult public QueueResult CreateAQueue(QueueRequest queueRequest = default(QueueRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAQueueWithHttpInfo(queueRequest ); + freeclimb.Client.ApiResponse localVarResponse = CreateAQueueWithHttpInfo(queueRequest); return localVarResponse.Data; } @@ -2848,8 +2848,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse CreateAQueueWithHttpInfo(QueueRequest queueRequest = default(QueueRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2901,9 +2901,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Queue /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task CreateAQueueAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2916,15 +2916,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Queue /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> CreateAQueueWithHttpInfoAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2982,7 +2982,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApplicationResult public ApplicationResult CreateAnApplication(ApplicationRequest applicationRequest = default(ApplicationRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAnApplicationWithHttpInfo(applicationRequest ); + freeclimb.Client.ApiResponse localVarResponse = CreateAnApplicationWithHttpInfo(applicationRequest); return localVarResponse.Data; } @@ -2994,8 +2994,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse CreateAnApplicationWithHttpInfo(ApplicationRequest applicationRequest = default(ApplicationRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3047,9 +3047,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create an application /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task CreateAnApplicationAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3062,15 +3062,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create an application /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> CreateAnApplicationWithHttpInfoAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3139,14 +3139,14 @@ public void DeleteARecording(string recordingId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DeleteARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3196,9 +3196,9 @@ public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string /// Delete a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3210,21 +3210,21 @@ public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string /// Delete a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DeleteARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3291,14 +3291,14 @@ public void DeleteAnApplication(string applicationId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(string applicationId) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->DeleteAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3348,9 +3348,9 @@ public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(stri /// Delete an application /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3362,21 +3362,21 @@ public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(stri /// Delete an application /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->DeleteAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3443,14 +3443,14 @@ public void DeleteAnIncomingNumber(string phoneNumberId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(string phoneNumberId) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->DeleteAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3500,9 +3500,9 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// Delete an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3514,21 +3514,21 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// Delete an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->DeleteAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3585,7 +3585,7 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// QueueMember public QueueMember DequeueAMember(string queueId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = DequeueAMemberWithHttpInfo(queueId , callId ); + freeclimb.Client.ApiResponse localVarResponse = DequeueAMemberWithHttpInfo(queueId, callId); return localVarResponse.Data; } @@ -3598,21 +3598,21 @@ public QueueMember DequeueAMember(string queueId, string callId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(string queueId, string callId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->DequeueAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3664,11 +3664,11 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// Dequeue a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task DequeueAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3681,30 +3681,30 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// Dequeue a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> DequeueAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->DequeueAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3762,7 +3762,7 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// QueueMember public QueueMember DequeueHeadMember(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = DequeueHeadMemberWithHttpInfo(queueId ); + freeclimb.Client.ApiResponse localVarResponse = DequeueHeadMemberWithHttpInfo(queueId); return localVarResponse.Data; } @@ -3774,14 +3774,14 @@ public QueueMember DequeueHeadMember(string queueId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3832,9 +3832,9 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// Dequeue Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task DequeueHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3847,21 +3847,21 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// Dequeue Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> DequeueHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3918,7 +3918,7 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// System.IO.Stream public System.IO.Stream DownloadARecordingFile(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = DownloadARecordingFileWithHttpInfo(recordingId ); + freeclimb.Client.ApiResponse localVarResponse = DownloadARecordingFileWithHttpInfo(recordingId); return localVarResponse.Data; } @@ -3930,14 +3930,14 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// ApiResponse of System.IO.Stream public freeclimb.Client.ApiResponse DownloadARecordingFileWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DownloadARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3988,9 +3988,9 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// Download a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream public async System.Threading.Tasks.Task DownloadARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4003,21 +4003,21 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// Download a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) public async System.Threading.Tasks.Task> DownloadARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DownloadARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4074,7 +4074,7 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// LogList public LogList FilterLogs(FilterLogsRequest filterLogsRequest) { - freeclimb.Client.ApiResponse localVarResponse = FilterLogsWithHttpInfo(filterLogsRequest ); + freeclimb.Client.ApiResponse localVarResponse = FilterLogsWithHttpInfo(filterLogsRequest); return localVarResponse.Data; } @@ -4086,14 +4086,14 @@ public LogList FilterLogs(FilterLogsRequest filterLogsRequest) /// ApiResponse of LogList public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRequest filterLogsRequest) { - + // verify the required parameter 'filterLogsRequest' is set if (filterLogsRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'filterLogsRequest' when calling DefaultApi->FilterLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4145,9 +4145,9 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// Filter Logs /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task FilterLogsAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4160,21 +4160,21 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// Filter Logs /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> FilterLogsWithHttpInfoAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'filterLogsRequest' is set if (filterLogsRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'filterLogsRequest' when calling DefaultApi->FilterLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4232,7 +4232,7 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// CallResult public CallResult GetACall(string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetACallWithHttpInfo(callId ); + freeclimb.Client.ApiResponse localVarResponse = GetACallWithHttpInfo(callId); return localVarResponse.Data; } @@ -4244,14 +4244,14 @@ public CallResult GetACall(string callId) /// ApiResponse of CallResult public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string callId) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetACall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4302,9 +4302,9 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// Get a Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of CallResult public async System.Threading.Tasks.Task GetACallAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4317,21 +4317,21 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// Get a Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) public async System.Threading.Tasks.Task> GetACallWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetACall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4388,7 +4388,7 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// ConferenceResult public ConferenceResult GetAConference(string conferenceId) { - freeclimb.Client.ApiResponse localVarResponse = GetAConferenceWithHttpInfo(conferenceId ); + freeclimb.Client.ApiResponse localVarResponse = GetAConferenceWithHttpInfo(conferenceId); return localVarResponse.Data; } @@ -4400,14 +4400,14 @@ public ConferenceResult GetAConference(string conferenceId) /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo(string conferenceId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAConference"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4458,9 +4458,9 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// Get a Conference /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task GetAConferenceAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4473,21 +4473,21 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// Get a Conference /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> GetAConferenceWithHttpInfoAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAConference"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4545,7 +4545,7 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// QueueMember public QueueMember GetAMember(string queueId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetAMemberWithHttpInfo(queueId , callId ); + freeclimb.Client.ApiResponse localVarResponse = GetAMemberWithHttpInfo(queueId, callId); return localVarResponse.Data; } @@ -4558,21 +4558,21 @@ public QueueMember GetAMember(string queueId, string callId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string queueId, string callId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4624,11 +4624,11 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// Get a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task GetAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4641,30 +4641,30 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// Get a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> GetAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4723,7 +4723,7 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// ConferenceParticipantResult public ConferenceParticipantResult GetAParticipant(string conferenceId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetAParticipantWithHttpInfo(conferenceId , callId ); + freeclimb.Client.ApiResponse localVarResponse = GetAParticipantWithHttpInfo(conferenceId, callId); return localVarResponse.Data; } @@ -4736,21 +4736,21 @@ public ConferenceParticipantResult GetAParticipant(string conferenceId, string c /// ApiResponse of ConferenceParticipantResult public freeclimb.Client.ApiResponse GetAParticipantWithHttpInfo(string conferenceId, string callId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4802,11 +4802,11 @@ public freeclimb.Client.ApiResponse GetAParticipant /// Get a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult public async System.Threading.Tasks.Task GetAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4819,30 +4819,30 @@ public freeclimb.Client.ApiResponse GetAParticipant /// Get a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) public async System.Threading.Tasks.Task> GetAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4900,7 +4900,7 @@ public freeclimb.Client.ApiResponse GetAParticipant /// QueueResult public QueueResult GetAQueue(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = GetAQueueWithHttpInfo(queueId ); + freeclimb.Client.ApiResponse localVarResponse = GetAQueueWithHttpInfo(queueId); return localVarResponse.Data; } @@ -4912,14 +4912,14 @@ public QueueResult GetAQueue(string queueId) /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAQueue"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4970,9 +4970,9 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// Get a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task GetAQueueAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4985,21 +4985,21 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// Get a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> GetAQueueWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAQueue"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5056,7 +5056,7 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// RecordingResult public RecordingResult GetARecording(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = GetARecordingWithHttpInfo(recordingId ); + freeclimb.Client.ApiResponse localVarResponse = GetARecordingWithHttpInfo(recordingId); return localVarResponse.Data; } @@ -5068,14 +5068,14 @@ public RecordingResult GetARecording(string recordingId) /// ApiResponse of RecordingResult public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->GetARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5126,9 +5126,9 @@ public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(s /// Get a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of RecordingResult public async System.Threading.Tasks.Task GetARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5141,21 +5141,21 @@ public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(s /// Get a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingResult) public async System.Threading.Tasks.Task> GetARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->GetARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5222,7 +5222,7 @@ public AccountResult GetAnAccount() /// ApiResponse of AccountResult public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5272,7 +5272,7 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// Get an Account /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of AccountResult public async System.Threading.Tasks.Task GetAnAccountAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5285,12 +5285,12 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// Get an Account /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AccountResult) public async System.Threading.Tasks.Task> GetAnAccountWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5346,7 +5346,7 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// ApplicationResult public ApplicationResult GetAnApplication(string applicationId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnApplicationWithHttpInfo(applicationId ); + freeclimb.Client.ApiResponse localVarResponse = GetAnApplicationWithHttpInfo(applicationId); return localVarResponse.Data; } @@ -5358,14 +5358,14 @@ public ApplicationResult GetAnApplication(string applicationId) /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse GetAnApplicationWithHttpInfo(string applicationId) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->GetAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5416,9 +5416,9 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// Get an Application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task GetAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5431,21 +5431,21 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// Get an Application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> GetAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->GetAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5502,7 +5502,7 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// IncomingNumberResult public IncomingNumberResult GetAnIncomingNumber(string phoneNumberId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnIncomingNumberWithHttpInfo(phoneNumberId ); + freeclimb.Client.ApiResponse localVarResponse = GetAnIncomingNumberWithHttpInfo(phoneNumberId); return localVarResponse.Data; } @@ -5514,14 +5514,14 @@ public IncomingNumberResult GetAnIncomingNumber(string phoneNumberId) /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse GetAnIncomingNumberWithHttpInfo(string phoneNumberId) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->GetAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5572,9 +5572,9 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// Get an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task GetAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5587,21 +5587,21 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// Get an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> GetAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->GetAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5658,7 +5658,7 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// MessageResult public MessageResult GetAnSmsMessage(string messageId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnSmsMessageWithHttpInfo(messageId ); + freeclimb.Client.ApiResponse localVarResponse = GetAnSmsMessageWithHttpInfo(messageId); return localVarResponse.Data; } @@ -5670,14 +5670,14 @@ public MessageResult GetAnSmsMessage(string messageId) /// ApiResponse of MessageResult public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(string messageId) { - + // verify the required parameter 'messageId' is set if (messageId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageId' when calling DefaultApi->GetAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5728,9 +5728,9 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// Get an SMS Message /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of MessageResult public async System.Threading.Tasks.Task GetAnSmsMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5743,21 +5743,21 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// Get an SMS Message /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) public async System.Threading.Tasks.Task> GetAnSmsMessageWithHttpInfoAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'messageId' is set if (messageId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageId' when calling DefaultApi->GetAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5814,7 +5814,7 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// QueueMember public QueueMember GetHeadMember(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = GetHeadMemberWithHttpInfo(queueId ); + freeclimb.Client.ApiResponse localVarResponse = GetHeadMemberWithHttpInfo(queueId); return localVarResponse.Data; } @@ -5826,14 +5826,14 @@ public QueueMember GetHeadMember(string queueId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5884,9 +5884,9 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// Get Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task GetHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5899,21 +5899,21 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// Get Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> GetHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5970,7 +5970,7 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// QueueList public QueueList ListActiveQueues(string alias = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListActiveQueuesWithHttpInfo(alias ); + freeclimb.Client.ApiResponse localVarResponse = ListActiveQueuesWithHttpInfo(alias); return localVarResponse.Data; } @@ -5982,8 +5982,8 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// ApiResponse of QueueList public freeclimb.Client.ApiResponse ListActiveQueuesWithHttpInfo(string alias = default(string)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6037,9 +6037,9 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// List Active Queues /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueList public async System.Threading.Tasks.Task ListActiveQueuesAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6052,15 +6052,15 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// List Active Queues /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueList) public async System.Threading.Tasks.Task> ListActiveQueuesWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6130,7 +6130,7 @@ public LogList ListAllAccountLogs() /// ApiResponse of LogList public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6180,7 +6180,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List All Account Logs /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task ListAllAccountLogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6193,12 +6193,12 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List All Account Logs /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> ListAllAccountLogsWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6254,7 +6254,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApplicationList public ApplicationList ListApplications(string alias = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListApplicationsWithHttpInfo(alias ); + freeclimb.Client.ApiResponse localVarResponse = ListApplicationsWithHttpInfo(alias); return localVarResponse.Data; } @@ -6266,8 +6266,8 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApiResponse of ApplicationList public freeclimb.Client.ApiResponse ListApplicationsWithHttpInfo(string alias = default(string)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6321,9 +6321,9 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List applications /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationList public async System.Threading.Tasks.Task ListApplicationsAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6336,15 +6336,15 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List applications /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationList) public async System.Threading.Tasks.Task> ListApplicationsWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6413,7 +6413,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// AvailableNumberList public AvailableNumberList ListAvailableNumbers(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListAvailableNumbersWithHttpInfo(phoneNumber , region , country , voiceEnabled , smsEnabled , capabilitiesVoice , capabilitiesSms , capabilitiesTollFree , capabilitiesTenDLC , capabilitiesShortCode ); + freeclimb.Client.ApiResponse localVarResponse = ListAvailableNumbersWithHttpInfo(phoneNumber, region, country, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode); return localVarResponse.Data; } @@ -6434,17 +6434,17 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApiResponse of AvailableNumberList public freeclimb.Client.ApiResponse ListAvailableNumbersWithHttpInfo(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?)) { - - - - - - - - - - - + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6533,27 +6533,27 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List available numbers /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of AvailableNumberList public async System.Threading.Tasks.Task ListAvailableNumbersAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6566,42 +6566,42 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List available numbers /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AvailableNumberList) public async System.Threading.Tasks.Task> ListAvailableNumbersWithHttpInfoAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - - - - + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6696,7 +6696,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// LogList public LogList ListCallLogs(string callId) { - freeclimb.Client.ApiResponse localVarResponse = ListCallLogsWithHttpInfo(callId ); + freeclimb.Client.ApiResponse localVarResponse = ListCallLogsWithHttpInfo(callId); return localVarResponse.Data; } @@ -6708,14 +6708,14 @@ public LogList ListCallLogs(string callId) /// ApiResponse of LogList public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string callId) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6766,9 +6766,9 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Logs /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task ListCallLogsAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6781,21 +6781,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Logs /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> ListCallLogsWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6853,7 +6853,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// RecordingList public RecordingList ListCallRecordings(string callId, string dateCreated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListCallRecordingsWithHttpInfo(callId , dateCreated ); + freeclimb.Client.ApiResponse localVarResponse = ListCallRecordingsWithHttpInfo(callId, dateCreated); return localVarResponse.Data; } @@ -6866,15 +6866,15 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of RecordingList public freeclimb.Client.ApiResponse ListCallRecordingsWithHttpInfo(string callId, string dateCreated = default(string)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallRecordings"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6929,11 +6929,11 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Recordings /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList public async System.Threading.Tasks.Task ListCallRecordingsAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6946,24 +6946,24 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Recordings /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) public async System.Threading.Tasks.Task> ListCallRecordingsWithHttpInfoAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallRecordings"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7030,7 +7030,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// CallList public CallList ListCalls(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListCallsWithHttpInfo(active , to , from , status , startTime , endTime , parentCallId ); + freeclimb.Client.ApiResponse localVarResponse = ListCallsWithHttpInfo(active, to, from, status, startTime, endTime, parentCallId); return localVarResponse.Data; } @@ -7048,14 +7048,14 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of CallList public freeclimb.Client.ApiResponse ListCallsWithHttpInfo(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { - - - - - - - - + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7133,21 +7133,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Calls /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of CallList public async System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7160,33 +7160,33 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Calls /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) public async System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7273,7 +7273,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ConferenceList public ConferenceList ListConferences(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListConferencesWithHttpInfo(status , alias , dateCreated , dateUpdated ); + freeclimb.Client.ApiResponse localVarResponse = ListConferencesWithHttpInfo(status, alias, dateCreated, dateUpdated); return localVarResponse.Data; } @@ -7288,11 +7288,11 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of ConferenceList public freeclimb.Client.ApiResponse ListConferencesWithHttpInfo(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string)) { - - - - - + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7358,15 +7358,15 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Conferences /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceList public async System.Threading.Tasks.Task ListConferencesAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7379,24 +7379,24 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Conferences /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceList) public async System.Threading.Tasks.Task> ListConferencesWithHttpInfoAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7481,7 +7481,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// IncomingNumberList public IncomingNumberList ListIncomingNumbers(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListIncomingNumbersWithHttpInfo(phoneNumber , alias , region , country , applicationId , hasApplication , voiceEnabled , smsEnabled , capabilitiesVoice , capabilitiesSms , capabilitiesTollFree , capabilitiesTenDLC , capabilitiesShortCode , offnet ); + freeclimb.Client.ApiResponse localVarResponse = ListIncomingNumbersWithHttpInfo(phoneNumber, alias, region, country, applicationId, hasApplication, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode, offnet); return localVarResponse.Data; } @@ -7506,21 +7506,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of IncomingNumberList public freeclimb.Client.ApiResponse ListIncomingNumbersWithHttpInfo(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?)) { - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7626,35 +7626,35 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Incoming Numbers /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberList public async System.Threading.Tasks.Task ListIncomingNumbersAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7667,54 +7667,54 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Incoming Numbers /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberList) public async System.Threading.Tasks.Task> ListIncomingNumbersWithHttpInfoAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7826,7 +7826,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// QueueMemberList public QueueMemberList ListMembers(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = ListMembersWithHttpInfo(queueId ); + freeclimb.Client.ApiResponse localVarResponse = ListMembersWithHttpInfo(queueId); return localVarResponse.Data; } @@ -7838,14 +7838,14 @@ public QueueMemberList ListMembers(string queueId) /// ApiResponse of QueueMemberList public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->ListMembers"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7896,9 +7896,9 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Members /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMemberList public async System.Threading.Tasks.Task ListMembersAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7911,21 +7911,21 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Members /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMemberList) public async System.Threading.Tasks.Task> ListMembersWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->ListMembers"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7984,7 +7984,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ConferenceParticipantList public ConferenceParticipantList ListParticipants(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListParticipantsWithHttpInfo(conferenceId , talk , listen ); + freeclimb.Client.ApiResponse localVarResponse = ListParticipantsWithHttpInfo(conferenceId, talk, listen); return localVarResponse.Data; } @@ -7998,16 +7998,16 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of ConferenceParticipantList public freeclimb.Client.ApiResponse ListParticipantsWithHttpInfo(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->ListParticipants"); } - - - + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8066,13 +8066,13 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Participants /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantList public async System.Threading.Tasks.Task ListParticipantsAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8085,27 +8085,27 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Participants /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantList) public async System.Threading.Tasks.Task> ListParticipantsWithHttpInfoAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->ListParticipants"); } - - - + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8172,7 +8172,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// RecordingList public RecordingList ListRecordings(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListRecordingsWithHttpInfo(callId , conferenceId , dateCreated ); + freeclimb.Client.ApiResponse localVarResponse = ListRecordingsWithHttpInfo(callId, conferenceId, dateCreated); return localVarResponse.Data; } @@ -8186,10 +8186,10 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of RecordingList public freeclimb.Client.ApiResponse ListRecordingsWithHttpInfo(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string)) { - - - - + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8251,13 +8251,13 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Recordings /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList public async System.Threading.Tasks.Task ListRecordingsAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8270,21 +8270,21 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Recordings /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) public async System.Threading.Tasks.Task> ListRecordingsWithHttpInfoAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8354,9 +8354,9 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) /// MessagesList - public MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?)) + public MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)) { - freeclimb.Client.ApiResponse localVarResponse = ListSmsMessagesWithHttpInfo(to , from , beginTime , endTime , direction ); + freeclimb.Client.ApiResponse localVarResponse = ListSmsMessagesWithHttpInfo(to, from, beginTime, endTime, direction); return localVarResponse.Data; } @@ -8370,14 +8370,14 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) /// ApiResponse of MessagesList - public freeclimb.Client.ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?)) - { - - - - - - + public freeclimb.Client.ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)) + { + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8447,20 +8447,20 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List SMS Messages /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of MessagesList - public async System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { freeclimb.Client.ApiResponse localVarResponse = await ListSmsMessagesWithHttpInfoAsync(to, from, beginTime, endTime, direction, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; @@ -8470,27 +8470,27 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List SMS Messages /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) - public async System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), CallDirection? direction = default(CallDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8566,7 +8566,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// CallResult public CallResult MakeACall(MakeCallRequest makeCallRequest = default(MakeCallRequest)) { - freeclimb.Client.ApiResponse localVarResponse = MakeACallWithHttpInfo(makeCallRequest ); + freeclimb.Client.ApiResponse localVarResponse = MakeACallWithHttpInfo(makeCallRequest); return localVarResponse.Data; } @@ -8578,8 +8578,8 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of CallResult public freeclimb.Client.ApiResponse MakeACallWithHttpInfo(MakeCallRequest makeCallRequest = default(MakeCallRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8631,9 +8631,9 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Make a Call /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of CallResult public async System.Threading.Tasks.Task MakeACallAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8646,15 +8646,15 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Make a Call /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) public async System.Threading.Tasks.Task> MakeACallWithHttpInfoAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8725,21 +8725,21 @@ public void RemoveAParticipant(string conferenceId, string callId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(string conferenceId, string callId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->RemoveAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->RemoveAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8790,11 +8790,11 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// Remove a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task RemoveAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8806,30 +8806,30 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// Remove a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> RemoveAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->RemoveAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->RemoveAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8886,7 +8886,7 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// MessageResult public MessageResult SendAnSmsMessage(MessageRequest messageRequest) { - freeclimb.Client.ApiResponse localVarResponse = SendAnSmsMessageWithHttpInfo(messageRequest ); + freeclimb.Client.ApiResponse localVarResponse = SendAnSmsMessageWithHttpInfo(messageRequest); return localVarResponse.Data; } @@ -8898,14 +8898,14 @@ public MessageResult SendAnSmsMessage(MessageRequest messageRequest) /// ApiResponse of MessageResult public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo(MessageRequest messageRequest) { - + // verify the required parameter 'messageRequest' is set if (messageRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageRequest' when calling DefaultApi->SendAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8957,9 +8957,9 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// Send an SMS Message /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of MessageResult public async System.Threading.Tasks.Task SendAnSmsMessageAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8972,21 +8972,21 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// Send an SMS Message /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) public async System.Threading.Tasks.Task> SendAnSmsMessageWithHttpInfoAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'messageRequest' is set if (messageRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageRequest' when calling DefaultApi->SendAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9044,7 +9044,7 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// System.IO.Stream public System.IO.Stream StreamARecordingFile(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = StreamARecordingFileWithHttpInfo(recordingId ); + freeclimb.Client.ApiResponse localVarResponse = StreamARecordingFileWithHttpInfo(recordingId); return localVarResponse.Data; } @@ -9056,14 +9056,14 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ApiResponse of System.IO.Stream public freeclimb.Client.ApiResponse StreamARecordingFileWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->StreamARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9114,9 +9114,9 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Stream a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream public async System.Threading.Tasks.Task StreamARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9129,21 +9129,21 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Stream a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) public async System.Threading.Tasks.Task> StreamARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->StreamARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9201,7 +9201,7 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ConferenceResult public ConferenceResult UpdateAConference(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAConferenceWithHttpInfo(conferenceId , updateConferenceRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAConferenceWithHttpInfo(conferenceId, updateConferenceRequest); return localVarResponse.Data; } @@ -9214,15 +9214,15 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse UpdateAConferenceWithHttpInfo(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAConference"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9275,11 +9275,11 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Update a Conference /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task UpdateAConferenceAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9292,24 +9292,24 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Update a Conference /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> UpdateAConferenceWithHttpInfoAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAConference"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9381,21 +9381,21 @@ public void UpdateALiveCall(string callId, UpdateCallRequest updateCallRequest) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string callId, UpdateCallRequest updateCallRequest) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateALiveCall"); } - + // verify the required parameter 'updateCallRequest' is set if (updateCallRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'updateCallRequest' when calling DefaultApi->UpdateALiveCall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9447,11 +9447,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Live Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task UpdateALiveCallAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9463,30 +9463,30 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Live Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> UpdateALiveCallWithHttpInfoAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateALiveCall"); } - + // verify the required parameter 'updateCallRequest' is set if (updateCallRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'updateCallRequest' when calling DefaultApi->UpdateALiveCall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9546,7 +9546,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ConferenceParticipantResult public ConferenceParticipantResult UpdateAParticipant(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAParticipantWithHttpInfo(conferenceId , callId , updateConferenceParticipantRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAParticipantWithHttpInfo(conferenceId, callId, updateConferenceParticipantRequest); return localVarResponse.Data; } @@ -9560,22 +9560,22 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of ConferenceParticipantResult public freeclimb.Client.ApiResponse UpdateAParticipantWithHttpInfo(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateAParticipant"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9629,13 +9629,13 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult public async System.Threading.Tasks.Task UpdateAParticipantAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9648,33 +9648,33 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) public async System.Threading.Tasks.Task> UpdateAParticipantWithHttpInfoAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateAParticipant"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9735,7 +9735,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// QueueResult public QueueResult UpdateAQueue(string queueId, QueueRequest queueRequest = default(QueueRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAQueueWithHttpInfo(queueId , queueRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAQueueWithHttpInfo(queueId, queueRequest); return localVarResponse.Data; } @@ -9748,15 +9748,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse UpdateAQueueWithHttpInfo(string queueId, QueueRequest queueRequest = default(QueueRequest)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->UpdateAQueue"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9809,11 +9809,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task UpdateAQueueAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9826,24 +9826,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> UpdateAQueueWithHttpInfoAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->UpdateAQueue"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9913,8 +9913,8 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse UpdateAnAccountWithHttpInfo(AccountRequest accountRequest = default(AccountRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9965,9 +9965,9 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Manage an account /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task UpdateAnAccountAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9979,15 +9979,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Manage an account /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> UpdateAnAccountWithHttpInfoAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -10045,7 +10045,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApplicationResult public ApplicationResult UpdateAnApplication(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAnApplicationWithHttpInfo(applicationId , applicationRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAnApplicationWithHttpInfo(applicationId, applicationRequest); return localVarResponse.Data; } @@ -10058,15 +10058,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse UpdateAnApplicationWithHttpInfo(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->UpdateAnApplication"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -10119,11 +10119,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task UpdateAnApplicationAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -10136,24 +10136,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> UpdateAnApplicationWithHttpInfoAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->UpdateAnApplication"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -10213,7 +10213,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// IncomingNumberResult public IncomingNumberResult UpdateAnIncomingNumber(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAnIncomingNumberWithHttpInfo(phoneNumberId , incomingNumberRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAnIncomingNumberWithHttpInfo(phoneNumberId, incomingNumberRequest); return localVarResponse.Data; } @@ -10226,15 +10226,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse UpdateAnIncomingNumberWithHttpInfo(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->UpdateAnIncomingNumber"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -10287,11 +10287,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task UpdateAnIncomingNumberAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -10304,24 +10304,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> UpdateAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->UpdateAnIncomingNumber"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); diff --git a/src/freeclimb/Enums/Extensions.cs b/src/freeclimb/Enums/Extensions.cs index 6edfce73..b6a91343 100644 --- a/src/freeclimb/Enums/Extensions.cs +++ b/src/freeclimb/Enums/Extensions.cs @@ -5,13 +5,16 @@ using System.ComponentModel; using System.Runtime.CompilerServices; -namespace freeclimb.Enums { +namespace freeclimb.Enums +{ - public static partial class Extensions { - public static string GetMemberValue(this Enum @this) { + public static partial class Extensions + { + public static string GetMemberValue(this Enum @this) + { FieldInfo fieldInfo = @this.GetType().GetField(@this.ToString()); if (fieldInfo == null) return null; - var attribute = (EnumMemberAttribute)fieldInfo.GetCustomAttribute(typeof (EnumMemberAttribute)); + var attribute = (EnumMemberAttribute)fieldInfo.GetCustomAttribute(typeof(EnumMemberAttribute)); return attribute.Value; } } diff --git a/src/freeclimb/Enums/MarchineType.cs b/src/freeclimb/Enums/MarchineType.cs deleted file mode 100644 index 0537fa62..00000000 --- a/src/freeclimb/Enums/MarchineType.cs +++ /dev/null @@ -1,50 +0,0 @@ -/* - * 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. - * - * The version of the OpenAPI document: 1.0.0 - * Contact: support@freeclimb.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = freeclimb.Client.OpenAPIDateConverter; -using freeclimb.Enums; - -namespace freeclimb.Enums -{ - /// - /// Defines MarchineType - /// - [JsonConverter(typeof(StringEnumConverter))] - public enum MarchineType - { - /// - /// Enum ANSWERING_MACHINE for value: answeringMachine - /// - [EnumMember(Value = "answeringMachine")] - ANSWERING_MACHINE = 1, - - /// - /// Enum FAX_MACHINE for value: faxMachine - /// - [EnumMember(Value = "faxMachine")] - FAX_MACHINE = 2 - - } - -} diff --git a/src/freeclimb/Enums/Reflection.cs b/src/freeclimb/Enums/Reflection.cs index 91669882..0f7fd69f 100644 --- a/src/freeclimb/Enums/Reflection.cs +++ b/src/freeclimb/Enums/Reflection.cs @@ -5,10 +5,12 @@ using System.ComponentModel; using System.Runtime.CompilerServices; -namespace freeclimb.Enums { +namespace freeclimb.Enums +{ - public static class Reflection { - /// + public static class Reflection + { + /// /// Retrieves an enum item from a specified string by matching the string to the EnumMemberAttribute /// elements assigned to each enum item /// @@ -17,7 +19,7 @@ public static class Reflection { /// Whether string comparison of values should be case-sensitive or not /// The matched enum item /// Thrown if no enum item could be found with the corresponding value - public static TEnum GetEnumByValue(string value, bool ignoreCase = false) + public static TEnum GetEnumByValue(String value, Boolean ignoreCase = false) // Add a condition to the generic type where TEnum : Enum { @@ -32,7 +34,7 @@ public static TEnum GetEnumByValue(string value, bool ignoreCase = false) // the value matches the given value parameter if (string.Equals(attribute.Value, value, ignoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal)) - return (TEnum) item.GetValue(null); + return (TEnum)item.GetValue(null); } } @@ -51,7 +53,7 @@ public static TEnum GetEnumByValue(string value, bool ignoreCase = false) /// Whether string comparison of values should be case-sensitive or not /// The matched enum item if it was found /// Whether or not the enum item was found or not - public static bool TryGetEnumByValue(string value, bool ignoreCase, out TEnum result) + public static bool TryGetEnumByValue(String value, Boolean ignoreCase, out TEnum result) where TEnum : Enum { try @@ -77,7 +79,7 @@ public static bool TryGetEnumByValue(string value, bool ignoreCase, out T /// The value that should be searched /// The matched enum item if it was found /// Whether or not the enum item was found or not - public static bool TryGetEnumByValue(string value, out TEnum result) + public static bool TryGetEnumByValue(String value, out TEnum result) where TEnum : Enum { return TryGetEnumByValue(value, false, out result); diff --git a/src/freeclimb/Model/CreateConference.cs b/src/freeclimb/Model/CreateConference.cs index 31c3f2b5..dac879f0 100644 --- a/src/freeclimb/Model/CreateConference.cs +++ b/src/freeclimb/Model/CreateConference.cs @@ -59,6 +59,12 @@ namespace freeclimb.Model [JsonSubtypes.KnownSubType(typeof(Unpark), "Unpark")] public partial class CreateConference : PerclCommand, IEquatable, IValidatableObject { + + /// + /// Gets or Sets PlayBeep + /// + [DataMember(Name = "playBeep", EmitDefaultValue = false)] + public PlayBeep? PlayBeep { get; set; } /// /// Initializes a new instance of the class. /// @@ -69,12 +75,12 @@ protected CreateConference() { } /// /// This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. (required). /// Descriptive name for the Conference. . - /// Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` . + /// playBeep. /// When set to `true`, the entire Conference is recorded. The `statusCallbackUrl` of the Conference will receive a `conferenceRecordingEnded` Webhook when the Conference transitions from the `inProgress` to empty state.. /// This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available.. /// If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb.. /// Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) (default to "CreateConference"). - public CreateConference(string actionUrl = default(string), bool alias = default(bool), string playBeep = default(string), bool record = default(bool), bool statusCallbackUrl = default(bool), string waitUrl = default(string), string command = "CreateConference") : base(command) + public CreateConference(string actionUrl = default(string), bool alias = default(bool), PlayBeep? playBeep = default(PlayBeep?), bool record = default(bool), string statusCallbackUrl = default(string), string waitUrl = default(string), string command = "CreateConference") : base(command) { // to ensure "actionUrl" is required (not null) if (actionUrl == null) { @@ -102,13 +108,6 @@ protected CreateConference() { } [DataMember(Name = "alias", EmitDefaultValue = true)] public bool Alias { get; set; } - /// - /// Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` - /// - /// Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` - [DataMember(Name = "playBeep", EmitDefaultValue = false)] - public string PlayBeep { get; set; } - /// /// When set to `true`, the entire Conference is recorded. The `statusCallbackUrl` of the Conference will receive a `conferenceRecordingEnded` Webhook when the Conference transitions from the `inProgress` to empty state. /// @@ -120,8 +119,8 @@ protected CreateConference() { } /// This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. /// /// This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. - [DataMember(Name = "statusCallbackUrl", EmitDefaultValue = true)] - public bool StatusCallbackUrl { get; set; } + [DataMember(Name = "statusCallbackUrl", EmitDefaultValue = false)] + public string StatusCallbackUrl { get; set; } /// /// If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. @@ -215,8 +214,7 @@ public bool Equals(CreateConference input) ) && base.Equals(input) && ( this.PlayBeep == input.PlayBeep || - (this.PlayBeep != null && - this.PlayBeep.Equals(input.PlayBeep)) + this.PlayBeep.Equals(input.PlayBeep) ) && base.Equals(input) && ( this.Record == input.Record || @@ -224,7 +222,8 @@ public bool Equals(CreateConference input) ) && base.Equals(input) && ( this.StatusCallbackUrl == input.StatusCallbackUrl || - this.StatusCallbackUrl.Equals(input.StatusCallbackUrl) + (this.StatusCallbackUrl != null && + this.StatusCallbackUrl.Equals(input.StatusCallbackUrl)) ) && base.Equals(input) && ( this.WaitUrl == input.WaitUrl || @@ -247,12 +246,12 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.ActionUrl.GetHashCode(); } hashCode = (hashCode * 59) + this.Alias.GetHashCode(); - if (this.PlayBeep != null) + hashCode = (hashCode * 59) + this.PlayBeep.GetHashCode(); + hashCode = (hashCode * 59) + this.Record.GetHashCode(); + if (this.StatusCallbackUrl != null) { - hashCode = (hashCode * 59) + this.PlayBeep.GetHashCode(); + hashCode = (hashCode * 59) + this.StatusCallbackUrl.GetHashCode(); } - hashCode = (hashCode * 59) + this.Record.GetHashCode(); - hashCode = (hashCode * 59) + this.StatusCallbackUrl.GetHashCode(); if (this.WaitUrl != null) { hashCode = (hashCode * 59) + this.WaitUrl.GetHashCode(); diff --git a/src/freeclimb/Model/CreateConferenceAllOf.cs b/src/freeclimb/Model/CreateConferenceAllOf.cs index e3bc4907..af0dec3f 100644 --- a/src/freeclimb/Model/CreateConferenceAllOf.cs +++ b/src/freeclimb/Model/CreateConferenceAllOf.cs @@ -33,6 +33,12 @@ namespace freeclimb.Model [DataContract(Name = "CreateConference_allOf")] public partial class CreateConferenceAllOf : IEquatable, IValidatableObject { + + /// + /// Gets or Sets PlayBeep + /// + [DataMember(Name = "playBeep", EmitDefaultValue = false)] + public PlayBeep? PlayBeep { get; set; } /// /// Initializes a new instance of the class. /// @@ -43,11 +49,11 @@ protected CreateConferenceAllOf() { } /// /// This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. (required). /// Descriptive name for the Conference. . - /// Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` . + /// playBeep. /// When set to `true`, the entire Conference is recorded. The `statusCallbackUrl` of the Conference will receive a `conferenceRecordingEnded` Webhook when the Conference transitions from the `inProgress` to empty state.. /// This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available.. /// If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb.. - public CreateConferenceAllOf(string actionUrl = default(string), bool alias = default(bool), string playBeep = default(string), bool record = default(bool), bool statusCallbackUrl = default(bool), string waitUrl = default(string)) + public CreateConferenceAllOf(string actionUrl = default(string), bool alias = default(bool), PlayBeep? playBeep = default(PlayBeep?), bool record = default(bool), string statusCallbackUrl = default(string), string waitUrl = default(string)) { // to ensure "actionUrl" is required (not null) if (actionUrl == null) { @@ -75,13 +81,6 @@ protected CreateConferenceAllOf() { } [DataMember(Name = "alias", EmitDefaultValue = true)] public bool Alias { get; set; } - /// - /// Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` - /// - /// Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` - [DataMember(Name = "playBeep", EmitDefaultValue = false)] - public string PlayBeep { get; set; } - /// /// When set to `true`, the entire Conference is recorded. The `statusCallbackUrl` of the Conference will receive a `conferenceRecordingEnded` Webhook when the Conference transitions from the `inProgress` to empty state. /// @@ -93,8 +92,8 @@ protected CreateConferenceAllOf() { } /// This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. /// /// This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. - [DataMember(Name = "statusCallbackUrl", EmitDefaultValue = true)] - public bool StatusCallbackUrl { get; set; } + [DataMember(Name = "statusCallbackUrl", EmitDefaultValue = false)] + public string StatusCallbackUrl { get; set; } /// /// If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. @@ -179,8 +178,7 @@ public bool Equals(CreateConferenceAllOf input) ) && ( this.PlayBeep == input.PlayBeep || - (this.PlayBeep != null && - this.PlayBeep.Equals(input.PlayBeep)) + this.PlayBeep.Equals(input.PlayBeep) ) && ( this.Record == input.Record || @@ -188,7 +186,8 @@ public bool Equals(CreateConferenceAllOf input) ) && ( this.StatusCallbackUrl == input.StatusCallbackUrl || - this.StatusCallbackUrl.Equals(input.StatusCallbackUrl) + (this.StatusCallbackUrl != null && + this.StatusCallbackUrl.Equals(input.StatusCallbackUrl)) ) && ( this.WaitUrl == input.WaitUrl || @@ -211,12 +210,12 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.ActionUrl.GetHashCode(); } hashCode = (hashCode * 59) + this.Alias.GetHashCode(); - if (this.PlayBeep != null) + hashCode = (hashCode * 59) + this.PlayBeep.GetHashCode(); + hashCode = (hashCode * 59) + this.Record.GetHashCode(); + if (this.StatusCallbackUrl != null) { - hashCode = (hashCode * 59) + this.PlayBeep.GetHashCode(); + hashCode = (hashCode * 59) + this.StatusCallbackUrl.GetHashCode(); } - hashCode = (hashCode * 59) + this.Record.GetHashCode(); - hashCode = (hashCode * 59) + this.StatusCallbackUrl.GetHashCode(); if (this.WaitUrl != null) { hashCode = (hashCode * 59) + this.WaitUrl.GetHashCode(); From dcc3dda08393de7ae8b2ec5f9d70d62d867fcb18 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Thu, 1 Dec 2022 15:43:55 -0500 Subject: [PATCH 03/59] Edit readme files and introduce prism to defaultapitest --- .openapi-generator/FILES | 1 - README.md | 131 +- docs/AccountRequest.md | 8 +- docs/AccountResult.md | 8 +- docs/AccountResultAllOf.md | 8 +- docs/AccountStatus.md | 17 +- docs/AccountType.md | 16 +- docs/AddToConference.md | 8 +- docs/AddToConferenceAllOf.md | 8 +- docs/AnsweredBy.md | 16 +- docs/ApplicationList.md | 8 +- docs/ApplicationListAllOf.md | 8 +- docs/ApplicationRequest.md | 8 +- docs/ApplicationResult.md | 8 +- docs/ApplicationResultAllOf.md | 8 +- docs/AvailableNumber.md | 8 +- docs/AvailableNumberList.md | 8 +- docs/AvailableNumberListAllOf.md | 8 +- docs/BuyIncomingNumberRequest.md | 8 +- docs/CallDirection.md | 17 +- docs/CallList.md | 8 +- docs/CallListAllOf.md | 8 +- docs/CallResult.md | 8 +- docs/CallResultAllOf.md | 8 +- docs/CallStatus.md | 22 +- docs/Capabilities.md | 8 +- docs/ConferenceList.md | 8 +- docs/ConferenceListAllOf.md | 8 +- docs/ConferenceParticipantList.md | 8 +- docs/ConferenceParticipantListAllOf.md | 8 +- docs/ConferenceParticipantResult.md | 8 +- docs/ConferenceParticipantResultAllOf.md | 8 +- docs/ConferenceResult.md | 8 +- docs/ConferenceResultAllOf.md | 8 +- docs/ConferenceStatus.md | 18 +- docs/CreateConference.md | 8 +- docs/CreateConferenceAllOf.md | 8 +- docs/CreateConferenceRequest.md | 8 +- docs/Dequeue.md | 8 +- docs/Enqueue.md | 8 +- docs/EnqueueAllOf.md | 8 +- docs/FilterLogsRequest.md | 8 +- docs/GetDigits.md | 8 +- docs/GetDigitsAllOf.md | 8 +- docs/GetSpeech.md | 8 +- docs/GetSpeechAllOf.md | 8 +- docs/GetSpeechReason.md | 20 +- docs/GrammarFileBuiltIn.md | 29 +- docs/GrammarType.md | 16 +- docs/Hangup.md | 8 +- docs/HangupAllOf.md | 8 +- docs/IfMachine.md | 16 +- docs/IncomingNumberList.md | 8 +- docs/IncomingNumberListAllOf.md | 8 +- docs/IncomingNumberRequest.md | 8 +- docs/IncomingNumberResult.md | 8 +- docs/IncomingNumberResultAllOf.md | 8 +- docs/Language.md | 40 +- docs/LogLevel.md | 17 +- docs/LogList.md | 8 +- docs/LogListAllOf.md | 8 +- docs/LogResult.md | 8 +- docs/MachineType.md | 16 +- docs/MakeCallRequest.md | 8 +- docs/MarchineType.md | 9 - docs/MessageDirection.md | 16 +- docs/MessageRequest.md | 8 +- docs/MessageRequestAllOf.md | 8 +- docs/MessageResult.md | 8 +- docs/MessageResultAllOf.md | 8 +- docs/MessageStatus.md | 25 +- docs/MessagesList.md | 8 +- docs/MessagesListAllOf.md | 8 +- docs/MutableResourceModel.md | 8 +- docs/OutDial.md | 8 +- docs/OutDialAllOf.md | 8 +- docs/PaginationModel.md | 8 +- docs/Park.md | 8 +- docs/ParkAllOf.md | 8 +- docs/Pause.md | 8 +- docs/PauseAllOf.md | 8 +- docs/PerclCommand.md | 8 +- docs/PerclScript.md | 8 +- docs/Play.md | 8 +- docs/PlayAllOf.md | 8 +- docs/PlayBeep.md | 18 +- docs/PlayEarlyMedia.md | 8 +- docs/PlayEarlyMediaAllOf.md | 8 +- docs/QueueList.md | 8 +- docs/QueueListAllOf.md | 8 +- docs/QueueMember.md | 8 +- docs/QueueMemberList.md | 8 +- docs/QueueMemberListAllOf.md | 8 +- docs/QueueRequest.md | 8 +- docs/QueueResult.md | 8 +- docs/QueueResultAllOf.md | 8 +- docs/QueueResultStatus.md | 18 +- docs/RecordUtterance.md | 8 +- docs/RecordUtteranceAllOf.md | 8 +- docs/RecordUtteranceTermReason.md | 18 +- docs/RecordingList.md | 8 +- docs/RecordingListAllOf.md | 8 +- docs/RecordingResult.md | 8 +- docs/RecordingResultAllOf.md | 8 +- docs/Redirect.md | 8 +- docs/RedirectAllOf.md | 8 +- docs/Reject.md | 8 +- docs/RejectAllOf.md | 8 +- docs/RemoveFromConference.md | 8 +- docs/RemoveFromConferenceAllOf.md | 8 +- docs/RequestType.md | 37 +- docs/Say.md | 8 +- docs/SayAllOf.md | 8 +- docs/SendDigits.md | 8 +- docs/SendDigitsAllOf.md | 8 +- docs/SetListen.md | 8 +- docs/SetListenAllOf.md | 8 +- docs/SetTalk.md | 8 +- docs/SetTalkAllOf.md | 8 +- docs/Sms.md | 8 +- docs/SmsAllOf.md | 8 +- docs/StartRecordCall.md | 8 +- docs/TerminateConference.md | 8 +- docs/TerminateConferenceAllOf.md | 8 +- docs/Unpark.md | 8 +- docs/UpdateCallRequest.md | 8 +- docs/UpdateCallRequestStatus.md | 16 +- docs/UpdateConferenceParticipantRequest.md | 8 +- docs/UpdateConferenceRequest.md | 8 +- docs/UpdateConferenceRequestStatus.md | 16 +- src/freeclimb.Test/Api/DefaultApiTests.cs | 31 +- src/freeclimb.Test/Api/SmokeTests.cs | 8 +- src/freeclimb/Api/DefaultApi.cs | 1768 ++++++++++---------- 133 files changed, 2102 insertions(+), 1118 deletions(-) delete mode 100644 docs/MarchineType.md diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 4f633fa1..51211f6a 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -146,7 +146,6 @@ src/freeclimb.Test/Model/LogLevelTests.cs src/freeclimb.Test/Model/MachineTypeTests.cs src/freeclimb.Test/Model/MessageDirectionTests.cs src/freeclimb.Test/Model/MessageStatusTests.cs -src/freeclimb.Test/Model/PerclScriptTests.cs src/freeclimb.Test/Model/PlayBeepTests.cs src/freeclimb.Test/Model/QueueResultStatusTests.cs src/freeclimb.Test/Model/RecordUtteranceTermReasonTests.cs diff --git a/README.md b/README.md index a72affcb..5f56b058 100644 --- a/README.md +++ b/README.md @@ -173,11 +173,8 @@ Class | Method | HTTP request | Description - [Model.AccountRequest](docs/AccountRequest.md) - [Model.AccountResult](docs/AccountResult.md) - [Model.AccountResultAllOf](docs/AccountResultAllOf.md) - - [Model.AccountStatus](docs/AccountStatus.md) - - [Model.AccountType](docs/AccountType.md) - [Model.AddToConference](docs/AddToConference.md) - [Model.AddToConferenceAllOf](docs/AddToConferenceAllOf.md) - - [Model.AnsweredBy](docs/AnsweredBy.md) - [Model.ApplicationList](docs/ApplicationList.md) - [Model.ApplicationListAllOf](docs/ApplicationListAllOf.md) - [Model.ApplicationRequest](docs/ApplicationRequest.md) @@ -187,12 +184,10 @@ Class | Method | HTTP request | Description - [Model.AvailableNumberList](docs/AvailableNumberList.md) - [Model.AvailableNumberListAllOf](docs/AvailableNumberListAllOf.md) - [Model.BuyIncomingNumberRequest](docs/BuyIncomingNumberRequest.md) - - [Model.CallDirection](docs/CallDirection.md) - [Model.CallList](docs/CallList.md) - [Model.CallListAllOf](docs/CallListAllOf.md) - [Model.CallResult](docs/CallResult.md) - [Model.CallResultAllOf](docs/CallResultAllOf.md) - - [Model.CallStatus](docs/CallStatus.md) - [Model.Capabilities](docs/Capabilities.md) - [Model.ConferenceList](docs/ConferenceList.md) - [Model.ConferenceListAllOf](docs/ConferenceListAllOf.md) @@ -202,7 +197,6 @@ Class | Method | HTTP request | Description - [Model.ConferenceParticipantResultAllOf](docs/ConferenceParticipantResultAllOf.md) - [Model.ConferenceResult](docs/ConferenceResult.md) - [Model.ConferenceResultAllOf](docs/ConferenceResultAllOf.md) - - [Model.ConferenceStatus](docs/ConferenceStatus.md) - [Model.CreateConference](docs/CreateConference.md) - [Model.CreateConferenceAllOf](docs/CreateConferenceAllOf.md) - [Model.CreateConferenceRequest](docs/CreateConferenceRequest.md) @@ -214,30 +208,21 @@ Class | Method | HTTP request | Description - [Model.GetDigitsAllOf](docs/GetDigitsAllOf.md) - [Model.GetSpeech](docs/GetSpeech.md) - [Model.GetSpeechAllOf](docs/GetSpeechAllOf.md) - - [Model.GetSpeechReason](docs/GetSpeechReason.md) - - [Model.GrammarFileBuiltIn](docs/GrammarFileBuiltIn.md) - - [Model.GrammarType](docs/GrammarType.md) - [Model.Hangup](docs/Hangup.md) - [Model.HangupAllOf](docs/HangupAllOf.md) - - [Model.IfMachine](docs/IfMachine.md) - [Model.IncomingNumberList](docs/IncomingNumberList.md) - [Model.IncomingNumberListAllOf](docs/IncomingNumberListAllOf.md) - [Model.IncomingNumberRequest](docs/IncomingNumberRequest.md) - [Model.IncomingNumberResult](docs/IncomingNumberResult.md) - [Model.IncomingNumberResultAllOf](docs/IncomingNumberResultAllOf.md) - - [Model.Language](docs/Language.md) - - [Model.LogLevel](docs/LogLevel.md) - [Model.LogList](docs/LogList.md) - [Model.LogListAllOf](docs/LogListAllOf.md) - [Model.LogResult](docs/LogResult.md) - - [Model.MachineType](docs/MachineType.md) - [Model.MakeCallRequest](docs/MakeCallRequest.md) - - [Model.MessageDirection](docs/MessageDirection.md) - [Model.MessageRequest](docs/MessageRequest.md) - [Model.MessageRequestAllOf](docs/MessageRequestAllOf.md) - [Model.MessageResult](docs/MessageResult.md) - [Model.MessageResultAllOf](docs/MessageResultAllOf.md) - - [Model.MessageStatus](docs/MessageStatus.md) - [Model.MessagesList](docs/MessagesList.md) - [Model.MessagesListAllOf](docs/MessagesListAllOf.md) - [Model.MutableResourceModel](docs/MutableResourceModel.md) @@ -252,7 +237,6 @@ Class | Method | HTTP request | Description - [Model.PerclScript](docs/PerclScript.md) - [Model.Play](docs/Play.md) - [Model.PlayAllOf](docs/PlayAllOf.md) - - [Model.PlayBeep](docs/PlayBeep.md) - [Model.PlayEarlyMedia](docs/PlayEarlyMedia.md) - [Model.PlayEarlyMediaAllOf](docs/PlayEarlyMediaAllOf.md) - [Model.QueueList](docs/QueueList.md) @@ -263,10 +247,8 @@ Class | Method | HTTP request | Description - [Model.QueueRequest](docs/QueueRequest.md) - [Model.QueueResult](docs/QueueResult.md) - [Model.QueueResultAllOf](docs/QueueResultAllOf.md) - - [Model.QueueResultStatus](docs/QueueResultStatus.md) - [Model.RecordUtterance](docs/RecordUtterance.md) - [Model.RecordUtteranceAllOf](docs/RecordUtteranceAllOf.md) - - [Model.RecordUtteranceTermReason](docs/RecordUtteranceTermReason.md) - [Model.RecordingList](docs/RecordingList.md) - [Model.RecordingListAllOf](docs/RecordingListAllOf.md) - [Model.RecordingResult](docs/RecordingResult.md) @@ -277,7 +259,6 @@ Class | Method | HTTP request | Description - [Model.RejectAllOf](docs/RejectAllOf.md) - [Model.RemoveFromConference](docs/RemoveFromConference.md) - [Model.RemoveFromConferenceAllOf](docs/RemoveFromConferenceAllOf.md) - - [Model.RequestType](docs/RequestType.md) - [Model.Say](docs/Say.md) - [Model.SayAllOf](docs/SayAllOf.md) - [Model.SendDigits](docs/SendDigits.md) @@ -293,10 +274,34 @@ Class | Method | HTTP request | Description - [Model.TerminateConferenceAllOf](docs/TerminateConferenceAllOf.md) - [Model.Unpark](docs/Unpark.md) - [Model.UpdateCallRequest](docs/UpdateCallRequest.md) - - [Model.UpdateCallRequestStatus](docs/UpdateCallRequestStatus.md) - [Model.UpdateConferenceParticipantRequest](docs/UpdateConferenceParticipantRequest.md) - [Model.UpdateConferenceRequest](docs/UpdateConferenceRequest.md) - - [Model.UpdateConferenceRequestStatus](docs/UpdateConferenceRequestStatus.md) + + + +## Documentation for Enums + + - [Enums.AccountStatus](docs/AccountStatus.md) + - [Enums.AccountType](docs/AccountType.md) + - [Enums.AnsweredBy](docs/AnsweredBy.md) + - [Enums.CallDirection](docs/CallDirection.md) + - [Enums.CallStatus](docs/CallStatus.md) + - [Enums.ConferenceStatus](docs/ConferenceStatus.md) + - [Enums.GetSpeechReason](docs/GetSpeechReason.md) + - [Enums.GrammarFileBuiltIn](docs/GrammarFileBuiltIn.md) + - [Enums.GrammarType](docs/GrammarType.md) + - [Enums.IfMachine](docs/IfMachine.md) + - [Enums.Language](docs/Language.md) + - [Enums.LogLevel](docs/LogLevel.md) + - [Enums.MachineType](docs/MachineType.md) + - [Enums.MessageDirection](docs/MessageDirection.md) + - [Enums.MessageStatus](docs/MessageStatus.md) + - [Enums.PlayBeep](docs/PlayBeep.md) + - [Enums.QueueResultStatus](docs/QueueResultStatus.md) + - [Enums.RecordUtteranceTermReason](docs/RecordUtteranceTermReason.md) + - [Enums.RequestType](docs/RequestType.md) + - [Enums.UpdateCallRequestStatus](docs/UpdateCallRequestStatus.md) + - [Enums.UpdateConferenceRequestStatus](docs/UpdateConferenceRequestStatus.md) @@ -307,3 +312,87 @@ Class | Method | HTTP request | Description - **Type**: HTTP basic authentication + + +## Documentation for Serialization/Deserialization for Enums + +###These methods are not required unless being used for debugging/logging purposes + +- To serialize (turn value into enum), we would need to use the reflection method GetEnumByValue where you pass the enum as a type and value into the method to get the associated enum. + + GetMemberValue + + This is an extension method, so you can turn an enum directly into a value + + Get a value from an enum + + ```csharp + using System.Collections.Generic; + using System.Diagnostics; + using System; + using System.Linq; + using System.IO; + using freeclimb.Api; + using freeclimb.Client; + using freeclimb.Model; + using System.Reflection; + using Newtonsoft.Json; + + using freeclimb.Enums; + + namespace Example + { + public class GetMemberValueExample + { + public static void Main() + { + AccountStatus status = AccountStatus.ACTIVE; + string expectedValue = StringValueAccountStatusTestValue(); + string calculatedValue = status.GetMemberValue(); + Assert.Equal(expectedValue, calculatedValue); + } + private string StringValueAccountStatusTestValue() + { + return "active"; + } + } + + } + ``` + +- To deserialize a value (turn enum into value), we would need to use the extension method GetMemberValue where you pass the enum as a parameter into the method to get the associated value. + + GetEnumByValue + + Reflection.GetEnumByValue(expectedValue) + + Get an Enum value from string + + ```csharp + using System.Collections.Generic; + using System.Diagnostics; + using System; + using System.Linq; + using System.IO; + using freeclimb.Api; + using freeclimb.Client; + using freeclimb.Model; + using System.Reflection; + using Newtonsoft.Json; + + using freeclimb.Enums; + + namespace Example + { + public class GetEnumByValueExample + { + public static void Main() + { + string expectedValue = "active"; + AccountStatus calculatedValue = Reflection.GetEnumByValue(expectedValue); + Assert.Equal(instance, calculatedValue); + } + } + + } + ``` \ No newline at end of file diff --git a/docs/AccountRequest.md b/docs/AccountRequest.md index 80830982..a4eeada5 100644 --- a/docs/AccountRequest.md +++ b/docs/AccountRequest.md @@ -1,11 +1,17 @@ # freeclimb.Model.AccountRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Alias** | **string** | Description for this account. | [optional] **Label** | **string** | Group to which this account belongs. | [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) + + [[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/AccountResult.md b/docs/AccountResult.md index 91dd77d5..f1339d26 100644 --- a/docs/AccountResult.md +++ b/docs/AccountResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.AccountResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -16,5 +19,8 @@ Name | Type | Description | Notes **Status** | **AccountStatus** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this account. | [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) + + [[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/AccountResultAllOf.md b/docs/AccountResultAllOf.md index 7b6b6320..7c99b9c3 100644 --- a/docs/AccountResultAllOf.md +++ b/docs/AccountResultAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.AccountResultAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **AccountId** | **string** | String that uniquely identifies this account resource. | [optional] **ApiKey** | **string** | The API key assigned to this account. This key must be kept a secret by the customer. | [optional] **Alias** | **string** | A description for this account. | [optional] @@ -12,5 +15,8 @@ Name | Type | Description | Notes **Status** | **AccountStatus** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this account. | [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) + + [[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/AccountStatus.md b/docs/AccountStatus.md index cf21be76..7b2eecb6 100644 --- a/docs/AccountStatus.md +++ b/docs/AccountStatus.md @@ -1,10 +1,19 @@ -# freeclimb.Model.AccountStatus +# freeclimb.Enums.AccountStatus The status of this account. It is one of: active, suspended, or closed. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**CLOSED** | closed | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**SUSPENDED** | suspended | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**ACTIVE** | active | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/AccountType.md b/docs/AccountType.md index 45aa3dd3..eb5d492a 100644 --- a/docs/AccountType.md +++ b/docs/AccountType.md @@ -1,10 +1,18 @@ -# freeclimb.Model.AccountType +# freeclimb.Enums.AccountType The type of this account. It is one of: trial or full. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**TRIAL** | trial | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**FULL** | full | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/AddToConference.md b/docs/AddToConference.md index 8d8d846e..4a4ee9c5 100644 --- a/docs/AddToConference.md +++ b/docs/AddToConference.md @@ -1,10 +1,13 @@ # freeclimb.Model.AddToConference The `AddToConference` command adds a Participant to a Conference. If this Participant currently is in another Conference, the Participant is first removed from that Conference. Two Call legs can be bridged together by creating a Conference and adding both Call legs to it via `AddToConference`. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **AllowCallControl** | **bool** | If `true`, Call control will be enabled for this Participant's Call leg. | [optional] **CallControlSequence** | **string** | Defines a sequence of digits that, when entered by this caller, invokes the `callControlUrl`. Only digits plus '*', and '#' may be used. | [optional] @@ -17,5 +20,8 @@ Name | Type | Description | Notes **StartConfOnEnter** | **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] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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 c4944890..bf93450c 100644 --- a/docs/AddToConferenceAllOf.md +++ b/docs/AddToConferenceAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.AddToConferenceAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **AllowCallControl** | **bool** | If `true`, Call control will be enabled for this Participant's Call leg. | [optional] **CallControlSequence** | **string** | Defines a sequence of digits that, when entered by this caller, invokes the `callControlUrl`. Only digits plus '*', and '#' may be used. | [optional] **CallControlUrl** | **string** | URL to be invoked when this Participant enters the digit sequence defined in the `callControlSequence` attribute. | [optional] @@ -15,5 +18,8 @@ Name | Type | Description | Notes **StartConfOnEnter** | **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] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/AnsweredBy.md b/docs/AnsweredBy.md index 3c44745b..8ff8f85f 100644 --- a/docs/AnsweredBy.md +++ b/docs/AnsweredBy.md @@ -1,10 +1,18 @@ -# freeclimb.Model.AnsweredBy +# freeclimb.Enums.AnsweredBy If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**HUMAN** | human | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**MACHINE** | machine | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/ApplicationList.md b/docs/ApplicationList.md index 95d0b9b6..0109943c 100644 --- a/docs/ApplicationList.md +++ b/docs/ApplicationList.md @@ -1,9 +1,12 @@ # freeclimb.Model.ApplicationList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Applications** | [**List<ApplicationResult>**](ApplicationResult.md) | | [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) + + [[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/ApplicationListAllOf.md b/docs/ApplicationListAllOf.md index 8b86ff35..307af538 100644 --- a/docs/ApplicationListAllOf.md +++ b/docs/ApplicationListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.ApplicationListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Applications** | [**List<ApplicationResult>**](ApplicationResult.md) | | [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) + + [[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/ApplicationRequest.md b/docs/ApplicationRequest.md index a6e9c830..9ff32a12 100644 --- a/docs/ApplicationRequest.md +++ b/docs/ApplicationRequest.md @@ -1,9 +1,12 @@ # freeclimb.Model.ApplicationRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Alias** | **string** | A human readable description of the application, with maximum length 64 characters. | [optional] **VoiceUrl** | **string** | The URL that FreeClimb will request when an inbound call arrives on a phone number assigned to this application. Used only for inbound calls. | [optional] **VoiceFallbackUrl** | **string** | The URL that FreeClimb will request if it times out waiting for a response from the voiceUrl. Used for inbound calls only. Note: A PerCL response is expected to control the inbound call. | [optional] @@ -12,5 +15,8 @@ Name | Type | Description | Notes **SmsUrl** | **string** | The URL that FreeClimb will request when a phone number assigned to this application receives an incoming SMS message. Used for inbound SMS only. Note: Any PerCL returned will be ignored. | [optional] **SmsFallbackUrl** | **string** | The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. Note: Any PerCL returned will be ignored. | [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) + + [[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/ApplicationResult.md b/docs/ApplicationResult.md index 035b9b33..bf073cb0 100644 --- a/docs/ApplicationResult.md +++ b/docs/ApplicationResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.ApplicationResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -18,5 +21,8 @@ Name | Type | Description | Notes **SmsUrl** | **string** | The URL FreeClimb will request when a phone number assigned to this Application receives an incoming SMS message. Used for inbound SMS only. | [optional] **SmsFallbackUrl** | **string** | The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. | [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) + + [[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/ApplicationResultAllOf.md b/docs/ApplicationResultAllOf.md index e91214be..26e3d98d 100644 --- a/docs/ApplicationResultAllOf.md +++ b/docs/ApplicationResultAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.ApplicationResultAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **AccountId** | **string** | ID of the account that owns this phone number. | [optional] **ApplicationId** | **string** | ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. | [optional] **Alias** | **string** | Description for this phone number. Typically the conventionally-formatted version of the phone number. | [optional] @@ -14,5 +17,8 @@ Name | Type | Description | Notes **SmsUrl** | **string** | The URL FreeClimb will request when a phone number assigned to this Application receives an incoming SMS message. Used for inbound SMS only. | [optional] **SmsFallbackUrl** | **string** | The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. | [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) + + [[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/AvailableNumber.md b/docs/AvailableNumber.md index f1cc6c5f..9333c36f 100644 --- a/docs/AvailableNumber.md +++ b/docs/AvailableNumber.md @@ -1,9 +1,12 @@ # freeclimb.Model.AvailableNumber + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Capabilities** | [**Capabilities**](Capabilities.md) | | [optional] **CampaignId** | **string** | The campaign ID generated by the campaign registry | [optional] **PhoneNumber** | **string** | The phone number, in E.164 format (+ country code and phone number: +18003608245). | [optional] @@ -12,5 +15,8 @@ Name | Type | Description | Notes **Region** | **string** | The state or province of this phone number. | [optional] **Country** | **string** | The country of this phone number. | [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) + + [[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/AvailableNumberList.md b/docs/AvailableNumberList.md index 7130e4f4..0e0d53d4 100644 --- a/docs/AvailableNumberList.md +++ b/docs/AvailableNumberList.md @@ -1,9 +1,12 @@ # freeclimb.Model.AvailableNumberList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **AvailablePhoneNumbers** | [**List<AvailableNumber>**](AvailableNumber.md) | | [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) + + [[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/AvailableNumberListAllOf.md b/docs/AvailableNumberListAllOf.md index 70ba9d7b..16d4c0a1 100644 --- a/docs/AvailableNumberListAllOf.md +++ b/docs/AvailableNumberListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.AvailableNumberListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **AvailablePhoneNumbers** | [**List<AvailableNumber>**](AvailableNumber.md) | | [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) + + [[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/BuyIncomingNumberRequest.md b/docs/BuyIncomingNumberRequest.md index 5614784b..1159d891 100644 --- a/docs/BuyIncomingNumberRequest.md +++ b/docs/BuyIncomingNumberRequest.md @@ -1,12 +1,18 @@ # freeclimb.Model.BuyIncomingNumberRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **PhoneNumber** | **string** | Phone number to purchase in E.164 format (as returned in the list of Available Phone Numbers). | **Alias** | **string** | Description for this new incoming phone number (max 64 characters). | [optional] **ApplicationId** | **string** | ID of the application that should handle phone calls to the number. | [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) + + [[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/CallDirection.md b/docs/CallDirection.md index 132ecc51..144795f3 100644 --- a/docs/CallDirection.md +++ b/docs/CallDirection.md @@ -1,10 +1,19 @@ -# freeclimb.Model.CallDirection +# freeclimb.Enums.CallDirection Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**INBOUND** | inbound | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**OUTBOUND_API** | outboundAPI | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**OUTBOUND_DIAL** | outboundDial | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/CallList.md b/docs/CallList.md index 52bd8a32..d7f999bd 100644 --- a/docs/CallList.md +++ b/docs/CallList.md @@ -1,9 +1,12 @@ # freeclimb.Model.CallList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Calls** | [**List<CallResult>**](CallResult.md) | | [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) + + [[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/CallListAllOf.md b/docs/CallListAllOf.md index cd52b650..7dfa028b 100644 --- a/docs/CallListAllOf.md +++ b/docs/CallListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.CallListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Calls** | [**List<CallResult>**](CallResult.md) | | [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) + + [[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 7a0b76c1..b457d1af 100644 --- a/docs/CallResult.md +++ b/docs/CallResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.CallResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -24,5 +27,8 @@ Name | Type | Description | Notes **AnsweredBy** | **AnsweredBy** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this Call. These include things like logs and recordings 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) + + [[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 70396050..29ecae78 100644 --- a/docs/CallResultAllOf.md +++ b/docs/CallResultAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.CallResultAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **CallId** | **string** | String that uniquely identifies this Call resource. | [optional] **ParentCallId** | **string** | ID of the Call that created this leg (child Call). | [optional] **AccountId** | **string** | ID of the account that owns this Call. | [optional] @@ -20,5 +23,8 @@ Name | Type | Description | Notes **AnsweredBy** | **AnsweredBy** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this Call. These include things like logs and recordings 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) + + [[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/CallStatus.md b/docs/CallStatus.md index eeb311ec..a721615c 100644 --- a/docs/CallStatus.md +++ b/docs/CallStatus.md @@ -1,10 +1,24 @@ -# freeclimb.Model.CallStatus +# freeclimb.Enums.CallStatus * `queued` – Call is ready and waiting in line before going out. * `ringing` – Call is currently ringing. * `inProgress` – Call was answered and is currently in progress. * `canceled` – Call was hung up while it was queued or ringing. * `completed` – Call was answered and has ended normally. * `busy` – Caller received a busy signal. * `failed` – Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` – Call ended without being answered. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**QUEUED** | queued | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**RINGING** | ringing | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**IN_PROGRESS** | inProgress | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**CANCELED** | canceled | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods +**COMPLETED** | completed | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods +**FAILED** | failed | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods +**BUSY** | busy | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods +**NO_ANSWER** | noAnswer | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/Capabilities.md b/docs/Capabilities.md index e0576bb7..5feb61d0 100644 --- a/docs/Capabilities.md +++ b/docs/Capabilities.md @@ -1,15 +1,21 @@ # freeclimb.Model.Capabilities Details for which features this number may be used. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Voice** | **bool?** | Indicates whether a number can be used for voice calls. Replaces voiceEnabled. | **Sms** | **bool?** | Indicates whether a number can be used SMS messaging. Replaces smsEnabled. | **TollFree** | **bool?** | Indicates that a number is toll-free and will make toll-free calls, and when enabled, toll-free messages. | **TenDLC** | **bool?** | Indicates that a number, if sms is true, will be used for 10DLC messaging | **ShortCode** | **bool?** | Indicates that a number is a short code and can be used for short code messaging | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/ConferenceList.md b/docs/ConferenceList.md index 557e9ea5..cd39fd2f 100644 --- a/docs/ConferenceList.md +++ b/docs/ConferenceList.md @@ -1,9 +1,12 @@ # freeclimb.Model.ConferenceList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Conferences** | [**List<ConferenceResult>**](ConferenceResult.md) | | [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) + + [[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/ConferenceListAllOf.md b/docs/ConferenceListAllOf.md index fb763bd7..4f89eeef 100644 --- a/docs/ConferenceListAllOf.md +++ b/docs/ConferenceListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.ConferenceListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Conferences** | [**List<ConferenceResult>**](ConferenceResult.md) | | [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) + + [[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/ConferenceParticipantList.md b/docs/ConferenceParticipantList.md index 2c8fee1e..90cad19c 100644 --- a/docs/ConferenceParticipantList.md +++ b/docs/ConferenceParticipantList.md @@ -1,9 +1,12 @@ # freeclimb.Model.ConferenceParticipantList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Participants** | [**List<ConferenceParticipantResult>**](ConferenceParticipantResult.md) | | [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) + + [[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/ConferenceParticipantListAllOf.md b/docs/ConferenceParticipantListAllOf.md index 9cec1287..ef5ea0ca 100644 --- a/docs/ConferenceParticipantListAllOf.md +++ b/docs/ConferenceParticipantListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.ConferenceParticipantListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Participants** | [**List<ConferenceParticipantResult>**](ConferenceParticipantResult.md) | | [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) + + [[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 ec10d917..56a00ee7 100644 --- a/docs/ConferenceParticipantResult.md +++ b/docs/ConferenceParticipantResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.ConferenceParticipantResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -15,5 +18,8 @@ Name | Type | Description | Notes **Listen** | **bool?** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] **StartConfOnEnter** | **bool?** | 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) + + [[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 270e84fe..98bd4d6f 100644 --- a/docs/ConferenceParticipantResultAllOf.md +++ b/docs/ConferenceParticipantResultAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.ConferenceParticipantResultAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **AccountId** | **string** | ID of the account that created this participant. | [optional] **ConferenceId** | **string** | ID of the conference this participant is in. | [optional] **CallId** | **string** | ID of the Call associated with this Participant. | [optional] @@ -11,5 +14,8 @@ Name | Type | Description | Notes **Listen** | **bool?** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] **StartConfOnEnter** | **bool?** | 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) + + [[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/ConferenceResult.md b/docs/ConferenceResult.md index 910211fd..f3e537f8 100644 --- a/docs/ConferenceResult.md +++ b/docs/ConferenceResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.ConferenceResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -19,5 +22,8 @@ Name | Type | Description | Notes **StatusCallbackUrl** | **string** | URL to inform that the Conference status has changed. | [optional] **SubresourceUris** | **Object** | The list of subresources for this Conference. This includes participants and/or recordings. | [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) + + [[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/ConferenceResultAllOf.md b/docs/ConferenceResultAllOf.md index c222e373..1904b2f5 100644 --- a/docs/ConferenceResultAllOf.md +++ b/docs/ConferenceResultAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.ConferenceResultAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ConferenceId** | **string** | A string that uniquely identifies this Conference resource. | [optional] **AccountId** | **string** | ID of the account that created this Conference. | [optional] **Alias** | **string** | A description for this Conference. | [optional] @@ -15,5 +18,8 @@ Name | Type | Description | Notes **StatusCallbackUrl** | **string** | URL to inform that the Conference status has changed. | [optional] **SubresourceUris** | **Object** | The list of subresources for this Conference. This includes participants and/or recordings. | [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) + + [[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/ConferenceStatus.md b/docs/ConferenceStatus.md index cf66fcc8..4bed68e7 100644 --- a/docs/ConferenceStatus.md +++ b/docs/ConferenceStatus.md @@ -1,10 +1,20 @@ -# freeclimb.Model.ConferenceStatus +# freeclimb.Enums.ConferenceStatus The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**EMPTY** | empty | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**POPULATED** | populated | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**IN_PROGRESS** | inProgress | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**TERMINATED** | terminated | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/CreateConference.md b/docs/CreateConference.md index 14f9c993..e0bee06b 100644 --- a/docs/CreateConference.md +++ b/docs/CreateConference.md @@ -1,10 +1,13 @@ # freeclimb.Model.CreateConference The `CreateConference` command does exactly what its name implies — it creates an unpopulated Conference (one without any Participants). Once created, a Conference remains in FreeClimb until explicitly terminated by a customer. Once a Conference has been terminated, it can no longer be used. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. | **Alias** | **bool** | Descriptive name for the Conference. | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional] **WaitUrl** | **string** | If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. | [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) + + [[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/CreateConferenceAllOf.md b/docs/CreateConferenceAllOf.md index e6e75866..1bf1c939 100644 --- a/docs/CreateConferenceAllOf.md +++ b/docs/CreateConferenceAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.CreateConferenceAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ActionUrl** | **string** | This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. | **Alias** | **bool** | Descriptive name for the Conference. | [optional] **PlayBeep** | **PlayBeep** | | [optional] @@ -11,5 +14,8 @@ Name | Type | Description | Notes **StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional] **WaitUrl** | **string** | If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. | [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) + + [[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/CreateConferenceRequest.md b/docs/CreateConferenceRequest.md index 094f41a4..68a6dac4 100644 --- a/docs/CreateConferenceRequest.md +++ b/docs/CreateConferenceRequest.md @@ -1,14 +1,20 @@ # freeclimb.Model.CreateConferenceRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Alias** | **string** | A description for this Conference. Maximum 64 characters. | [optional] **PlayBeep** | **PlayBeep** | | [optional] **Record** | **bool** | Setting to `true` records the entire Conference. | [optional] **WaitUrl** | **string** | If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once &mdash; when the Conference is created. | [optional] **StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). | [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) + + [[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/Dequeue.md b/docs/Dequeue.md index b437846b..82ef8ff3 100644 --- a/docs/Dequeue.md +++ b/docs/Dequeue.md @@ -1,11 +1,17 @@ # freeclimb.Model.Dequeue The `Dequeue` command transfers control of a Call that is in a Queue so that the waiting caller exits the Queue. Execution continues with the first command in the PerCL script returned by the `actionUrl` specified in the `Enqueue` command. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | 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) + + [[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/Enqueue.md b/docs/Enqueue.md index d48465d9..97dc0325 100644 --- a/docs/Enqueue.md +++ b/docs/Enqueue.md @@ -1,15 +1,21 @@ # freeclimb.Model.Enqueue The `Enqueue` command adds the current Call to a call Queue. If the specified Queue does not exist, it is created and then the Call is added to it. The default maximum length of the queue is 100. This can be modified using the REST API. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. | **NotificationUrl** | **string** | URL to be invoked when the call enters the queue. The request to the URL contains the standard request parameters.This is a notification only; any PerCL returned will be ignored. | [optional] **QueueId** | **string** | ID of the Queue to which to add the Call. If the Queue does not exist, it will be created. The ID must start with QU followed by 40 hex characters. | **WaitUrl** | **string** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/EnqueueAllOf.md b/docs/EnqueueAllOf.md index ba3af9a9..f102125a 100644 --- a/docs/EnqueueAllOf.md +++ b/docs/EnqueueAllOf.md @@ -1,13 +1,19 @@ # freeclimb.Model.EnqueueAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ActionUrl** | **string** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. | **NotificationUrl** | **string** | URL to be invoked when the call enters the queue. The request to the URL contains the standard request parameters.This is a notification only; any PerCL returned will be ignored. | [optional] **QueueId** | **string** | ID of the Queue to which to add the Call. If the Queue does not exist, it will be created. The ID must start with QU followed by 40 hex characters. | **WaitUrl** | **string** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/FilterLogsRequest.md b/docs/FilterLogsRequest.md index 26fdb1c8..cf6b10bf 100644 --- a/docs/FilterLogsRequest.md +++ b/docs/FilterLogsRequest.md @@ -1,10 +1,16 @@ # freeclimb.Model.FilterLogsRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Pql** | **string** | The filter query for retrieving logs. See **Performance Query Language** below. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/GetDigits.md b/docs/GetDigits.md index 43f087a1..5d4ab54a 100644 --- a/docs/GetDigits.md +++ b/docs/GetDigits.md @@ -1,10 +1,13 @@ # freeclimb.Model.GetDigits The `GetDigits` command collects DTMF inputs from the caller. It is only supported only when there is a single party on the Call. `GetDigits` is a Terminal Command — any actions following it are never executed. When the Caller is done entering the digits, FreeClimb submits that data to the provided `actionUrl` using an HTTP POST request. Your server will be required to respond to the FreeClimb Webhook with PerCL to continue handling the call. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | When the Caller has finished entering digits, FreeClimb will make an HTTP POST request to this URL. A PerCL response is expected to continue handling the Call. Make sure to keep “http://“ in the URL. | **DigitTimeoutMs** | **int** | Maximum time in milliseconds that FreeClimb will wait for the Caller to press any digit after the last digit entered, before making a determination that a `timeout` has occurred and moving on to make the request to the actionUrl to submit the results of the `GetDigits` command. This timeout interval begins and resets after each digit entered. | [optional] @@ -16,5 +19,8 @@ Name | Type | Description | Notes **Prompts** | [**List<PerclCommand>**](PerclCommand.md) | JSON array of PerCL commands to nest within the `GetDigits` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the Caller. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/GetDigitsAllOf.md b/docs/GetDigitsAllOf.md index 1a5a85d6..1a0e2589 100644 --- a/docs/GetDigitsAllOf.md +++ b/docs/GetDigitsAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.GetDigitsAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ActionUrl** | **string** | When the Caller has finished entering digits, FreeClimb will make an HTTP POST request to this URL. A PerCL response is expected to continue handling the Call. Make sure to keep “http://“ in the URL. | **DigitTimeoutMs** | **int** | Maximum time in milliseconds that FreeClimb will wait for the Caller to press any digit after the last digit entered, before making a determination that a `timeout` has occurred and moving on to make the request to the actionUrl to submit the results of the `GetDigits` command. This timeout interval begins and resets after each digit entered. | [optional] **FinishOnKey** | **string** | Digit that causes the input sequence to be deemed complete. This attribute defers to the `timeout` attribute – so, if a `timeout` occurs, then the command terminates regardless of the value of `finishOnKey`. | [optional] @@ -14,5 +17,8 @@ Name | Type | Description | Notes **Prompts** | [**List<PerclCommand>**](PerclCommand.md) | JSON array of PerCL commands to nest within the `GetDigits` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the Caller. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/GetSpeech.md b/docs/GetSpeech.md index eb342ed2..2c5a1603 100644 --- a/docs/GetSpeech.md +++ b/docs/GetSpeech.md @@ -1,10 +1,13 @@ # freeclimb.Model.GetSpeech The `GetSpeech` command enables the Caller to respond to the application using a supported language. Unlike DTMF entry, which implicitly restricts the user to using the available buttons on the phone key pad, speech input allows for flexible audio inputs based on grammar. FreeClimb supports grammars written using GRXML compatible with the Microsoft Speech Platform. `GetSpeech` is only supported on a single call leg. It is not supported when there are two or more call legs connected (as in within a Conference). + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call. | **GrammarType** | **GrammarType** | | [optional] @@ -20,5 +23,8 @@ Name | Type | Description | Notes **SpeechIncompleteTimeoutMs** | **int** | Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance. | [optional] **PrivacyMode** | **bool** | Parameter privacyMode will not log the `text` as required by PCI compliance. | [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) + + [[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/GetSpeechAllOf.md b/docs/GetSpeechAllOf.md index ee8def81..6ade619a 100644 --- a/docs/GetSpeechAllOf.md +++ b/docs/GetSpeechAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.GetSpeechAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ActionUrl** | **string** | When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call. | **GrammarType** | **GrammarType** | | [optional] **GrammarFile** | **string** | The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL. | @@ -18,5 +21,8 @@ Name | Type | Description | Notes **SpeechIncompleteTimeoutMs** | **int** | Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance. | [optional] **PrivacyMode** | **bool** | Parameter privacyMode will not log the `text` as required by PCI compliance. | [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) + + [[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/GetSpeechReason.md b/docs/GetSpeechReason.md index 0b50068a..0072499a 100644 --- a/docs/GetSpeechReason.md +++ b/docs/GetSpeechReason.md @@ -1,9 +1,21 @@ -# freeclimb.Model.GetSpeechReason +# freeclimb.Enums.GetSpeechReason + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**ERROR** | error | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**HANGUP** | hangup | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**DIGIT** | digit | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**NO_INPUT** | noInput | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods +**NO_MATCH** | noMatch | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods +**RECOGNITION** | recognition | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/GrammarFileBuiltIn.md b/docs/GrammarFileBuiltIn.md index e9c41a35..b4713e15 100644 --- a/docs/GrammarFileBuiltIn.md +++ b/docs/GrammarFileBuiltIn.md @@ -1,9 +1,30 @@ -# freeclimb.Model.GrammarFileBuiltIn +# freeclimb.Enums.GrammarFileBuiltIn + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**ALPHNUM6** | ALPHNUM6 | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**ANY_DIG** | ANY_DIG | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**DIG1** | DIG1 | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**DIG2** | DIG2 | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods +**DIG3** | DIG3 | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods +**DIG4** | DIG4 | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods +**DIG5** | DIG5 | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods +**DIG6** | DIG6 | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods +**DIG7** | DIG7 | Represented in C# as 9, but can be seralized & deserialized using the reflection and extension methods +**DIG8** | DIG8 | Represented in C# as 10, but can be seralized & deserialized using the reflection and extension methods +**DIG9** | DIG9 | Represented in C# as 11, but can be seralized & deserialized using the reflection and extension methods +**DIG10** | DIG10 | Represented in C# as 12, but can be seralized & deserialized using the reflection and extension methods +**DIG11** | DIG11 | Represented in C# as 13, but can be seralized & deserialized using the reflection and extension methods +**UP_TO_20_DIGIT_SEQUENCE** | UP_TO_20_DIGIT_SEQUENCE | Represented in C# as 14, but can be seralized & deserialized using the reflection and extension methods +**VERSAY_YESNO** | VERSAY_YESNO | Represented in C# as 15, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/GrammarType.md b/docs/GrammarType.md index 95480d0f..e2a632d5 100644 --- a/docs/GrammarType.md +++ b/docs/GrammarType.md @@ -1,10 +1,18 @@ -# freeclimb.Model.GrammarType +# freeclimb.Enums.GrammarType The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**URL** | URL | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**BUILT_IN** | BUILTIN | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/Hangup.md b/docs/Hangup.md index 559a3caf..1175e665 100644 --- a/docs/Hangup.md +++ b/docs/Hangup.md @@ -1,12 +1,18 @@ # freeclimb.Model.Hangup The `Hangup` command terminates a Call. If `Hangup` is used as the first action in a PerCL response, it does not prevent FreeClimb from answering the Call and billing your account. See the `Reject` command to hang up at no charge. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Reason** | **string** | The user defined reason for the hangup. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the Call flows for the given application. | [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) + + [[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/HangupAllOf.md b/docs/HangupAllOf.md index 17841a6c..3d444da9 100644 --- a/docs/HangupAllOf.md +++ b/docs/HangupAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.HangupAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Reason** | **string** | The user defined reason for the hangup. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the Call flows for the given application. | [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) + + [[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/IfMachine.md b/docs/IfMachine.md index 6b9e1ae9..3a0a503c 100644 --- a/docs/IfMachine.md +++ b/docs/IfMachine.md @@ -1,10 +1,18 @@ -# freeclimb.Model.IfMachine +# freeclimb.Enums.IfMachine Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**REDIRECT** | redirect | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**HANGUP** | hangup | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/IncomingNumberList.md b/docs/IncomingNumberList.md index df1af922..683e3081 100644 --- a/docs/IncomingNumberList.md +++ b/docs/IncomingNumberList.md @@ -1,9 +1,12 @@ # freeclimb.Model.IncomingNumberList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **IncomingPhoneNumbers** | [**List<IncomingNumberResult>**](IncomingNumberResult.md) | | [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) + + [[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/IncomingNumberListAllOf.md b/docs/IncomingNumberListAllOf.md index fbe41b65..7fc3788e 100644 --- a/docs/IncomingNumberListAllOf.md +++ b/docs/IncomingNumberListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.IncomingNumberListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **IncomingPhoneNumbers** | [**List<IncomingNumberResult>**](IncomingNumberResult.md) | | [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) + + [[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/IncomingNumberRequest.md b/docs/IncomingNumberRequest.md index 27997b91..1b9257db 100644 --- a/docs/IncomingNumberRequest.md +++ b/docs/IncomingNumberRequest.md @@ -1,11 +1,17 @@ # freeclimb.Model.IncomingNumberRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ApplicationId** | **string** | ID of the Application that should handle calls to this number. | [optional] **Alias** | **string** | Description for this phone number. | [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) + + [[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/IncomingNumberResult.md b/docs/IncomingNumberResult.md index 11c3232b..f0db231d 100644 --- a/docs/IncomingNumberResult.md +++ b/docs/IncomingNumberResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.IncomingNumberResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -21,5 +24,8 @@ Name | Type | Description | Notes **SmsEnabled** | **bool?** | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. | [optional] **Offnet** | **bool?** | The offnet field is a boolean representing whether the number is offnet registered or not. This field will be rendered only for requests to the IncomingPhone number resource. | [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) + + [[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/IncomingNumberResultAllOf.md b/docs/IncomingNumberResultAllOf.md index 567adc36..bedf7e7c 100644 --- a/docs/IncomingNumberResultAllOf.md +++ b/docs/IncomingNumberResultAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.IncomingNumberResultAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Capabilities** | [**Capabilities**](Capabilities.md) | | [optional] **CampaignId** | **string** | The campaign ID generated by the campaign registry | [optional] **PhoneNumberId** | **string** | String that uniquely identifies this phone number resource. | [optional] @@ -17,5 +20,8 @@ Name | Type | Description | Notes **SmsEnabled** | **bool?** | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. | [optional] **Offnet** | **bool?** | The offnet field is a boolean representing whether the number is offnet registered or not. This field will be rendered only for requests to the IncomingPhone number resource. | [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) + + [[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/Language.md b/docs/Language.md index 03f4c2be..047be44a 100644 --- a/docs/Language.md +++ b/docs/Language.md @@ -1,9 +1,41 @@ -# freeclimb.Model.Language +# freeclimb.Enums.Language + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**CATALAN** | ca-ES | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**DANISH** | da-DK | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**GERMAN** | de-DE | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**ENGLISH_AU** | en-AU | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods +**ENGLISH_CA** | en-CA | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods +**ENGLISH_UK** | en-GB | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods +**ENGLISH_IN** | en-IN | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods +**ENGLISH_US** | en-US | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods +**ENGLISH_ES** | es-ES | Represented in C# as 9, but can be seralized & deserialized using the reflection and extension methods +**ENGLISH_MX** | es-MX | Represented in C# as 10, but can be seralized & deserialized using the reflection and extension methods +**FINNISH** | fi-FI | Represented in C# as 11, but can be seralized & deserialized using the reflection and extension methods +**FRENCH_CA** | fr-CA | Represented in C# as 12, but can be seralized & deserialized using the reflection and extension methods +**FRENCH_FR** | fr-FR | Represented in C# as 13, but can be seralized & deserialized using the reflection and extension methods +**ITALIAN** | it-IT | Represented in C# as 14, but can be seralized & deserialized using the reflection and extension methods +**JAPANESE** | ja-JP | Represented in C# as 15, but can be seralized & deserialized using the reflection and extension methods +**KOREAN** | ko-KR | Represented in C# as 16, but can be seralized & deserialized using the reflection and extension methods +**NORWEGIAN** | nb-NO | Represented in C# as 17, but can be seralized & deserialized using the reflection and extension methods +**DUTCH** | nl-NL | Represented in C# as 18, but can be seralized & deserialized using the reflection and extension methods +**POLISH** | pl-PL | Represented in C# as 19, but can be seralized & deserialized using the reflection and extension methods +**PORTUGESE_BR** | pt-BR | Represented in C# as 20, but can be seralized & deserialized using the reflection and extension methods +**PORTUGESE_PT** | pt-PT | Represented in C# as 21, but can be seralized & deserialized using the reflection and extension methods +**RUSSIAN** | ru-RU | Represented in C# as 22, but can be seralized & deserialized using the reflection and extension methods +**SWEDISH** | sv-SE | Represented in C# as 23, but can be seralized & deserialized using the reflection and extension methods +**CHINESE_CN** | zh-CN | Represented in C# as 24, but can be seralized & deserialized using the reflection and extension methods +**CHINESE_HK** | zh-HK | Represented in C# as 25, but can be seralized & deserialized using the reflection and extension methods +**CHINESE_TW** | zh-TW | Represented in C# as 26, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/LogLevel.md b/docs/LogLevel.md index 1211ee96..173083ed 100644 --- a/docs/LogLevel.md +++ b/docs/LogLevel.md @@ -1,10 +1,19 @@ -# freeclimb.Model.LogLevel +# freeclimb.Enums.LogLevel Level of the log. Possible values are info, warning, and error. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**INFO** | info | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**WARNING** | warning | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**ERROR** | error | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/LogList.md b/docs/LogList.md index 6fb437c5..bba75589 100644 --- a/docs/LogList.md +++ b/docs/LogList.md @@ -1,9 +1,12 @@ # freeclimb.Model.LogList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Logs** | [**List<LogResult>**](LogResult.md) | | [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) + + [[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/LogListAllOf.md b/docs/LogListAllOf.md index 3418a177..9ab78753 100644 --- a/docs/LogListAllOf.md +++ b/docs/LogListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.LogListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Logs** | [**List<LogResult>**](LogResult.md) | | [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) + + [[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/LogResult.md b/docs/LogResult.md index 78e97af9..dba0e96a 100644 --- a/docs/LogResult.md +++ b/docs/LogResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.LogResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Timestamp** | **int?** | Time that the log was generated. The time is represented as microseconds since the Unix Epoch. | [optional] **Level** | **LogLevel** | | [optional] **RequestId** | **string** | ID of the request associated with the log. The requestId is propagated across all logs generated by FreeClimb when processing a request. | [optional] @@ -12,5 +15,8 @@ Name | Type | Description | Notes **Message** | **string** | A simple string describing the event being logged. | [optional] **Metadata** | **Object** | JSON document containing metadata about the event. Some log messages may include request and response header content in this field. | [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) + + [[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/MachineType.md b/docs/MachineType.md index df917ea0..eb7cccf4 100644 --- a/docs/MachineType.md +++ b/docs/MachineType.md @@ -1,9 +1,17 @@ -# freeclimb.Model.MachineType +# freeclimb.Enums.MachineType + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**ANSWERING_MACHINE** | answeringMachine | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**FAX_MACHINE** | faxMachine | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/MakeCallRequest.md b/docs/MakeCallRequest.md index 0195336d..c59e0467 100644 --- a/docs/MakeCallRequest.md +++ b/docs/MakeCallRequest.md @@ -1,9 +1,12 @@ # freeclimb.Model.MakeCallRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **From** | **string** | Phone number to use as the caller ID. This can be: (a) The To or From number provided in FreeClimb's initial request to your app or (b) Any incoming phone number you have purchased from FreeClimb. | **To** | **string** | Phone number to place the Call to. | **ApplicationId** | **string** | Required if no `parentCallId` or `callConnectUrl` has been provided. ID of the application FreeClimb should use to handle this phone call. FreeClimb will use the `callConnectUrl` and `statusCallbackUrl` set on the application unless the `callConnectUrl` attribute is also provided with the request. In this case, the URL specified in that `callConnectUrl` attribute will be used as a replacement of the `callConnectUrl` originally assigned in the application. If the `callConnectUrl` is not set as either an attribute of the request or as part of the specified application, an error will be provided. The application’s voiceUrl parameter is not used for outbound calls. | [optional] @@ -15,5 +18,8 @@ Name | Type | Description | Notes **PrivacyMode** | **bool** | Activate privacy mode in order to obscure log data that can potentially expose private information. | [optional] **CallConnectUrl** | **string** | The URL that FreeClimb should use to handle this phone call. If an applicationId or parentCallId have already been provided, this callConnectUrl attribute will be used as a replacement of the callConnectUrl originally assigned in the application or parent 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) + + [[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/MarchineType.md b/docs/MarchineType.md deleted file mode 100644 index 920ca19c..00000000 --- a/docs/MarchineType.md +++ /dev/null @@ -1,9 +0,0 @@ -# freeclimb.Model.MarchineType - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/MessageDirection.md b/docs/MessageDirection.md index 0ad75219..c3482de5 100644 --- a/docs/MessageDirection.md +++ b/docs/MessageDirection.md @@ -1,9 +1,17 @@ -# freeclimb.Model.MessageDirection +# freeclimb.Enums.MessageDirection + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**INBOUND** | inbound | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**OUTBOUND** | outbound | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/MessageRequest.md b/docs/MessageRequest.md index 1d7d5c92..1f278481 100644 --- a/docs/MessageRequest.md +++ b/docs/MessageRequest.md @@ -1,9 +1,12 @@ # freeclimb.Model.MessageRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -14,5 +17,8 @@ Name | Type | Description | Notes **NotificationUrl** | **string** | 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] **AccountId** | **string** | String that uniquely identifies this account resource. | [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) + + [[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 9d92b0f6..4ab0a791 100644 --- a/docs/MessageRequestAllOf.md +++ b/docs/MessageRequestAllOf.md @@ -1,14 +1,20 @@ # freeclimb.Model.MessageRequestAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **From** | **string** | Phone number to use as the sender. This must be an incoming phone number that you have purchased from FreeClimb. | **To** | **string** | Phone number to receive the message. Must be within FreeClimb's service area. | **Text** | **string** | Text contained in the message (maximum 160 characters). **Note:** For text, only ASCII characters are supported. | **NotificationUrl** | **string** | 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] **AccountId** | **string** | String that uniquely identifies this account resource. | [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) + + [[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 a6119fca..df823734 100644 --- a/docs/MessageResult.md +++ b/docs/MessageResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.MessageResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -17,5 +20,8 @@ Name | Type | Description | Notes **Direction** | **string** | Noting whether the message was inbound or outbound | [optional] **NotificationUrl** | **string** | URL invoked when message sent | [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) + + [[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 bfe145a2..5e11ef9d 100644 --- a/docs/MessageResultAllOf.md +++ b/docs/MessageResultAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.MessageResultAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **AccountId** | **string** | String that uniquely identifies this account resource. | [optional] **MessageId** | **string** | String that uniquely identifies this message resource | [optional] **Status** | **MessageStatus** | | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **Direction** | **string** | Noting whether the message was inbound or outbound | [optional] **NotificationUrl** | **string** | URL invoked when message sent | [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) + + [[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/MessageStatus.md b/docs/MessageStatus.md index 1fbf3e76..6fb39052 100644 --- a/docs/MessageStatus.md +++ b/docs/MessageStatus.md @@ -1,10 +1,27 @@ -# freeclimb.Model.MessageStatus +# freeclimb.Enums.MessageStatus Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**NEW** | new | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**QUEUED** | queued | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**REJECTED** | rejected | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**SENDING** | sending | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods +**SENT** | sent | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods +**FAILED** | failed | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods +**RECEIVED** | received | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods +**UNDELIVERED** | undelivered | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods +**EXPIRED** | expired | Represented in C# as 9, but can be seralized & deserialized using the reflection and extension methods +**DELETED** | deleted | Represented in C# as 10, but can be seralized & deserialized using the reflection and extension methods +**UNKNOWN** | unknown | Represented in C# as 11, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/MessagesList.md b/docs/MessagesList.md index 33deda02..130aa98f 100644 --- a/docs/MessagesList.md +++ b/docs/MessagesList.md @@ -1,9 +1,12 @@ # freeclimb.Model.MessagesList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Messages** | [**List<MessageResult>**](MessageResult.md) | Array of messages | [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) + + [[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/MessagesListAllOf.md b/docs/MessagesListAllOf.md index 1b1939a6..5824e024 100644 --- a/docs/MessagesListAllOf.md +++ b/docs/MessagesListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.MessagesListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Messages** | [**List<MessageResult>**](MessageResult.md) | Array of messages | [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) + + [[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/MutableResourceModel.md b/docs/MutableResourceModel.md index cf2cfd7b..fa783c17 100644 --- a/docs/MutableResourceModel.md +++ b/docs/MutableResourceModel.md @@ -1,13 +1,19 @@ # freeclimb.Model.MutableResourceModel + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | 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] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/OutDial.md b/docs/OutDial.md index e85a732b..19c943cd 100644 --- a/docs/OutDial.md +++ b/docs/OutDial.md @@ -1,10 +1,13 @@ # freeclimb.Model.OutDial The OutDial command is used to call a phone number + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | URL to which FreeClimb sends an HTTP POST request. | **CallConnectUrl** | **string** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. | @@ -17,5 +20,8 @@ Name | Type | Description | Notes **Timeout** | **int** | Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/OutDialAllOf.md b/docs/OutDialAllOf.md index 5714e6e4..9601b887 100644 --- a/docs/OutDialAllOf.md +++ b/docs/OutDialAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.OutDialAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ActionUrl** | **string** | URL to which FreeClimb sends an HTTP POST request. | **CallConnectUrl** | **string** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. | **CallingNumber** | **decimal** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. | @@ -15,5 +18,8 @@ Name | Type | Description | Notes **Timeout** | **int** | Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/PaginationModel.md b/docs/PaginationModel.md index 228e4482..f79fdadb 100644 --- a/docs/PaginationModel.md +++ b/docs/PaginationModel.md @@ -1,9 +1,12 @@ # freeclimb.Model.PaginationModel + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -12,5 +15,8 @@ Name | Type | Description | Notes **PageSize** | **int?** | Number of items per page | [optional] **NextPageUri** | **string** | Uri to retrieve the next page of items | [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) + + [[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/Park.md b/docs/Park.md index 692a9bc5..5ad563de 100644 --- a/docs/Park.md +++ b/docs/Park.md @@ -1,14 +1,20 @@ # freeclimb.Model.Park The `Park` command allows a caller to be put on hold. You can provide hold music,messages,etc until ready to resume the call. Park is a terminal command. Actions performed on the Call while on hold are provided in a PerCL script in response to the waitUrl property. Actions performed on the Call after it has been unparked (resumed) will be provided in a PerCL script in response to the actionUrl provided. A Call can be resumed in two ways - - REST API invocation or the Unpark percl command. No actions can be nested within Park and Park cannot be nested in any other actions. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **WaitUrl** | **string** | Specifies a URL pointing to a PerCL script containing actions to be executed while the caller is Parked. Once the script returned by the waitUrl runs out of commands to execute, FreeClimb will re-request the waitUrl and start over, essentially looping the script requests indefinitely. | **ActionUrl** | **string** | A request is made to this URL when the Call is resumed, which can occur if the Call is resumed via the Unpark command, the REST API (POST to Call resource), or the caller hangs up. The PerCL script returned in response to the actionUrl will be executed on the resumed call. | **NotificationUrl** | **string** | URL to be invoked when the Call is parked. The request to the URL contains the standard request parameters. | [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) + + [[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/ParkAllOf.md b/docs/ParkAllOf.md index dbf38cfc..eb429433 100644 --- a/docs/ParkAllOf.md +++ b/docs/ParkAllOf.md @@ -1,12 +1,18 @@ # freeclimb.Model.ParkAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **WaitUrl** | **string** | Specifies a URL pointing to a PerCL script containing actions to be executed while the caller is Parked. Once the script returned by the waitUrl runs out of commands to execute, FreeClimb will re-request the waitUrl and start over, essentially looping the script requests indefinitely. | **ActionUrl** | **string** | A request is made to this URL when the Call is resumed, which can occur if the Call is resumed via the Unpark command, the REST API (POST to Call resource), or the caller hangs up. The PerCL script returned in response to the actionUrl will be executed on the resumed call. | **NotificationUrl** | **string** | URL to be invoked when the Call is parked. The request to the URL contains the standard request parameters. | [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) + + [[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/Pause.md b/docs/Pause.md index 9f365240..c2599df4 100644 --- a/docs/Pause.md +++ b/docs/Pause.md @@ -1,12 +1,18 @@ # freeclimb.Model.Pause The `Pause` command halts execution of the current PerCL script for a specified number of milliseconds. If `Pause` is the first command in a PerCL document, FreeClimb will wait for the specified time to elapse before picking up the call. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Length** | **int** | Length in milliseconds. FreeClimb will wait silently before continuing on. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/PauseAllOf.md b/docs/PauseAllOf.md index f9a3e44e..cdbb88b4 100644 --- a/docs/PauseAllOf.md +++ b/docs/PauseAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.PauseAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Length** | **int** | Length in milliseconds. FreeClimb will wait silently before continuing on. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/PerclCommand.md b/docs/PerclCommand.md index a3cf2d00..faa87c81 100644 --- a/docs/PerclCommand.md +++ b/docs/PerclCommand.md @@ -1,11 +1,17 @@ # freeclimb.Model.PerclCommand An individual command used in a PerCLScript. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | 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) + + [[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/PerclScript.md b/docs/PerclScript.md index ec88d322..57102d03 100644 --- a/docs/PerclScript.md +++ b/docs/PerclScript.md @@ -1,11 +1,17 @@ # freeclimb.Model.PerclScript A PerCL script to be returned to the FreeClimb servers in FreeClimb applications + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Commands** | [**List<PerclCommand>**](PerclCommand.md) | A JSON array of PerCL commands | [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) + + [[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/Play.md b/docs/Play.md index 72194257..47c23819 100644 --- a/docs/Play.md +++ b/docs/Play.md @@ -1,15 +1,21 @@ # freeclimb.Model.Play The `Play` command plays an audio file back to the caller. The audio file may be located at any location accessible via a URL. `Play` can exist as a stand-alone command or as a nested command. It does not allow barge-in unless nested within a `GetSpeech` command. The file will always be played to completion unless nested. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **File** | **string** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands. | **Loop** | **int** | Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up. | [optional] **ConferenceId** | **string** | ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/PlayAllOf.md b/docs/PlayAllOf.md index 184976eb..056a77a3 100644 --- a/docs/PlayAllOf.md +++ b/docs/PlayAllOf.md @@ -1,13 +1,19 @@ # freeclimb.Model.PlayAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **File** | **string** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands. | **Loop** | **int** | Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up. | [optional] **ConferenceId** | **string** | ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/PlayBeep.md b/docs/PlayBeep.md index 16ba3ea6..17c2681b 100644 --- a/docs/PlayBeep.md +++ b/docs/PlayBeep.md @@ -1,10 +1,20 @@ -# freeclimb.Model.PlayBeep +# freeclimb.Enums.PlayBeep Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**ALWAYS** | always | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**NEVER** | never | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**ENTRY_ONLY** | entryOnly | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**EXIT_ONLY** | exitOnly | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/PlayEarlyMedia.md b/docs/PlayEarlyMedia.md index 796e6717..c78378a8 100644 --- a/docs/PlayEarlyMedia.md +++ b/docs/PlayEarlyMedia.md @@ -1,12 +1,18 @@ # freeclimb.Model.PlayEarlyMedia `PlayEarlyMedia` is relevant only when present as the very first command in the PerCL script returned for an incoming Call. In such cases, the command is executed before FreeClimb attempts to connect the call. The audio file it uses can be stored in any location that is accessible via URL. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **File** | **string** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands or any accessible URL. FreeClimb will respect Cache-Control headers for this file. Use these to limit repeated requests for unchanged audio. If no Cache-Control header is provided, the file will be cached for seven days by default. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/PlayEarlyMediaAllOf.md b/docs/PlayEarlyMediaAllOf.md index 79145735..ed4d80da 100644 --- a/docs/PlayEarlyMediaAllOf.md +++ b/docs/PlayEarlyMediaAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.PlayEarlyMediaAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **File** | **string** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands or any accessible URL. FreeClimb will respect Cache-Control headers for this file. Use these to limit repeated requests for unchanged audio. If no Cache-Control header is provided, the file will be cached for seven days by default. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/QueueList.md b/docs/QueueList.md index 5da654db..f97bed18 100644 --- a/docs/QueueList.md +++ b/docs/QueueList.md @@ -1,9 +1,12 @@ # freeclimb.Model.QueueList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Queues** | [**List<QueueResult>**](QueueResult.md) | | [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) + + [[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/QueueListAllOf.md b/docs/QueueListAllOf.md index 09fb1575..493a62b0 100644 --- a/docs/QueueListAllOf.md +++ b/docs/QueueListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.QueueListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Queues** | [**List<QueueResult>**](QueueResult.md) | | [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) + + [[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/QueueMember.md b/docs/QueueMember.md index b72873ea..77c5947d 100644 --- a/docs/QueueMember.md +++ b/docs/QueueMember.md @@ -1,14 +1,20 @@ # freeclimb.Model.QueueMember + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | URI for this Queue Member resource, relative to the API base URL. | [optional] **CallId** | **string** | ID of the Call associated with this Queue Member. | [optional] **WaitTime** | **int?** | Number of seconds the Member has been in the queue. | [optional] **Position** | **int?** | Member's current position in the Queue, 1 indexed. | [optional] **DateEnqueued** | **string** | Date that the Member was enqueued (GMT), given in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [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) + + [[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/QueueMemberList.md b/docs/QueueMemberList.md index f3ecc0f1..c7266986 100644 --- a/docs/QueueMemberList.md +++ b/docs/QueueMemberList.md @@ -1,9 +1,12 @@ # freeclimb.Model.QueueMemberList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **QueueMembers** | [**List<QueueMember>**](QueueMember.md) | | [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) + + [[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/QueueMemberListAllOf.md b/docs/QueueMemberListAllOf.md index 43e05cf5..e61be67d 100644 --- a/docs/QueueMemberListAllOf.md +++ b/docs/QueueMemberListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.QueueMemberListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **QueueMembers** | [**List<QueueMember>**](QueueMember.md) | | [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) + + [[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/QueueRequest.md b/docs/QueueRequest.md index 58f9e0fd..d30e2125 100644 --- a/docs/QueueRequest.md +++ b/docs/QueueRequest.md @@ -1,11 +1,17 @@ # freeclimb.Model.QueueRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Alias** | **string** | Description for this Queue. Max length is 64 characters. | [optional] **MaxSize** | **int** | Maximum number of calls this queue can hold. Default is 100. Maximum is 1000. **Note:** Reducing the maxSize of a Queue causes the Queue to reject incoming requests until it shrinks below the new value of maxSize. | [optional] [default to 100] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/QueueResult.md b/docs/QueueResult.md index 2feacc32..022a95d2 100644 --- a/docs/QueueResult.md +++ b/docs/QueueResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.QueueResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -16,5 +19,8 @@ Name | Type | Description | Notes **AverageQueueRemovalTime** | **int?** | The average amount of time (in seconds) for a call to be removed from the queue. | [optional] **SubresourceUris** | **Object** | List of subresources for this Queue (which includes Queue members). | [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) + + [[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/QueueResultAllOf.md b/docs/QueueResultAllOf.md index 4b8b4cc4..d402d6dc 100644 --- a/docs/QueueResultAllOf.md +++ b/docs/QueueResultAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.QueueResultAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **AccountId** | **string** | ID of the account that created this Queue. | [optional] **QueueId** | **string** | A string that uniquely identifies this Queue resource. | [optional] **Alias** | **string** | A description for this Queue. | [optional] @@ -12,5 +15,8 @@ Name | Type | Description | Notes **AverageQueueRemovalTime** | **int?** | The average amount of time (in seconds) for a call to be removed from the queue. | [optional] **SubresourceUris** | **Object** | List of subresources for this Queue (which includes Queue members). | [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) + + [[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/QueueResultStatus.md b/docs/QueueResultStatus.md index bde3a988..5950e81c 100644 --- a/docs/QueueResultStatus.md +++ b/docs/QueueResultStatus.md @@ -1,9 +1,19 @@ -# freeclimb.Model.QueueResultStatus +# freeclimb.Enums.QueueResultStatus + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**QUEUE_FULL** | queueFull | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**DEQUEUED** | dequeued | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**HANGUP** | hangup | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**SYSTEM_ERROR** | systemError | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/RecordUtterance.md b/docs/RecordUtterance.md index 74523575..62e6383f 100644 --- a/docs/RecordUtterance.md +++ b/docs/RecordUtterance.md @@ -1,10 +1,13 @@ # freeclimb.Model.RecordUtterance The `RecordUtterance` command records the caller's voice and returns the URL of a file containing the audio recording. `RecordUtterance` is blocking and is a terminal command. As such, the `actionUrl` property is required, and control of the Call picks up using the PerCL returned in response to the `actionUrl`. Recording information is returned in the `actionUrl` request. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | URL to which information on the completed recording is submitted. The PerCL received in response is then used to continue with Call processing. | **SilenceTimeoutMs** | **int** | Interval of silence that should elapse before ending the recording. | [optional] @@ -14,5 +17,8 @@ Name | Type | Description | Notes **AutoStart** | **bool** | If `false`, recording begins immediately after the RecordUtterance command is processed. If `true`, recording begins when audio is present and if audio begins before the `maxLengthSec` timeout. If no audio begins before `maxLengthSec`, no recording is generated. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/RecordUtteranceAllOf.md b/docs/RecordUtteranceAllOf.md index 4a156503..9ce85a55 100644 --- a/docs/RecordUtteranceAllOf.md +++ b/docs/RecordUtteranceAllOf.md @@ -1,9 +1,12 @@ # freeclimb.Model.RecordUtteranceAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ActionUrl** | **string** | URL to which information on the completed recording is submitted. The PerCL received in response is then used to continue with Call processing. | **SilenceTimeoutMs** | **int** | Interval of silence that should elapse before ending the recording. | [optional] **FinishOnKey** | **string** | Key that triggers the end of the recording. any digit, '#', or '*' | [optional] @@ -12,5 +15,8 @@ Name | Type | Description | Notes **AutoStart** | **bool** | If `false`, recording begins immediately after the RecordUtterance command is processed. If `true`, recording begins when audio is present and if audio begins before the `maxLengthSec` timeout. If no audio begins before `maxLengthSec`, no recording is generated. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/RecordUtteranceTermReason.md b/docs/RecordUtteranceTermReason.md index 71620bc1..428eaba2 100644 --- a/docs/RecordUtteranceTermReason.md +++ b/docs/RecordUtteranceTermReason.md @@ -1,9 +1,19 @@ -# freeclimb.Model.RecordUtteranceTermReason +# freeclimb.Enums.RecordUtteranceTermReason + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**FINISH_KEY** | finishKey | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**TIMEOUT** | timeout | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**HANGUP** | hangup | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**MAX_LENGTH** | maxLength | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/RecordingList.md b/docs/RecordingList.md index 3a064db4..9dac0fed 100644 --- a/docs/RecordingList.md +++ b/docs/RecordingList.md @@ -1,9 +1,12 @@ # freeclimb.Model.RecordingList + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -13,5 +16,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Recordings** | [**List<RecordingResult>**](RecordingResult.md) | | [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) + + [[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/RecordingListAllOf.md b/docs/RecordingListAllOf.md index b09ea143..33b39e21 100644 --- a/docs/RecordingListAllOf.md +++ b/docs/RecordingListAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.RecordingListAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Recordings** | [**List<RecordingResult>**](RecordingResult.md) | | [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) + + [[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/RecordingResult.md b/docs/RecordingResult.md index b4f2d709..f86a9411 100644 --- a/docs/RecordingResult.md +++ b/docs/RecordingResult.md @@ -1,9 +1,12 @@ # freeclimb.Model.RecordingResult + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -14,5 +17,8 @@ Name | Type | Description | Notes **DurationSec** | **int?** | Length of the recording in seconds. | [optional] **ConferenceId** | **string** | ID of the Conference that was recorded. If a Call was recorded, this value is empty and the callId property is populated. | [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) + + [[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/RecordingResultAllOf.md b/docs/RecordingResultAllOf.md index 883bb952..0b78321e 100644 --- a/docs/RecordingResultAllOf.md +++ b/docs/RecordingResultAllOf.md @@ -1,14 +1,20 @@ # freeclimb.Model.RecordingResultAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **RecordingId** | **string** | String that uniquely identifies this recording resource. | [optional] **AccountId** | **string** | ID of the account that created this recording. | [optional] **CallId** | **string** | ID of the Call that was recorded. If a Conference was recorded, this value is empty and the conferenceId property is populated. | [optional] **DurationSec** | **int?** | Length of the recording in seconds. | [optional] **ConferenceId** | **string** | ID of the Conference that was recorded. If a Call was recorded, this value is empty and the callId property is populated. | [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) + + [[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/Redirect.md b/docs/Redirect.md index 4149a631..75d0086b 100644 --- a/docs/Redirect.md +++ b/docs/Redirect.md @@ -1,12 +1,18 @@ # freeclimb.Model.Redirect The `Redirect` command transfers control of a Call to the PerCL at a different URL. `Redirect` is a terminal command, so any actions following it are never executed. The maximum number of redirections allowed during the life time of a Call is 256. This is intended to prevent a Call from possibly looping infinitely due to errors in PerCL being generated. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | URL to request a new PerCL script to continue with the current Call's processing. When `Redirect` invokes the `actionUrl`, an `inbound` Webhook is sent. This request therefore looks identical to the initial request (made to the `voiceUrl` of the number that was called) for an inbound Call. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/RedirectAllOf.md b/docs/RedirectAllOf.md index d44a5cbf..8955ab97 100644 --- a/docs/RedirectAllOf.md +++ b/docs/RedirectAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.RedirectAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ActionUrl** | **string** | URL to request a new PerCL script to continue with the current Call's processing. When `Redirect` invokes the `actionUrl`, an `inbound` Webhook is sent. This request therefore looks identical to the initial request (made to the `voiceUrl` of the number that was called) for an inbound Call. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/Reject.md b/docs/Reject.md index 7b777901..279c2ee9 100644 --- a/docs/Reject.md +++ b/docs/Reject.md @@ -1,12 +1,18 @@ # freeclimb.Model.Reject The `Reject` command blocks an incoming Call. Using `Reject` is the only way to prevent FreeClimb from answering a Call. Any other response will result in an answered Call and your account will be billed. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Reason** | **string** | Reason for the rejection. This can be any string value. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the call flows for the given application. | [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) + + [[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/RejectAllOf.md b/docs/RejectAllOf.md index b947049b..2d338a33 100644 --- a/docs/RejectAllOf.md +++ b/docs/RejectAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.RejectAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Reason** | **string** | Reason for the rejection. This can be any string value. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the call flows for the given application. | [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) + + [[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/RemoveFromConference.md b/docs/RemoveFromConference.md index 4ac03263..b1340a00 100644 --- a/docs/RemoveFromConference.md +++ b/docs/RemoveFromConference.md @@ -1,12 +1,18 @@ # freeclimb.Model.RemoveFromConference The `RemoveFromConference` command removes a Participant from a Conference but does not hang up. Instead, the Call is simply unbridged and what happens next with the Call is determined by the PerCL returned in response to the `leaveConferenceUrl` attribute. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **CallId** | **string** | ID of the Call leg to be removed from the Conference. The Call must be in a Conference or an error will be triggered. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/RemoveFromConferenceAllOf.md b/docs/RemoveFromConferenceAllOf.md index 2b91c77c..b99f3632 100644 --- a/docs/RemoveFromConferenceAllOf.md +++ b/docs/RemoveFromConferenceAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.RemoveFromConferenceAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **CallId** | **string** | ID of the Call leg to be removed from the Conference. The Call must be in a Conference or an error will be triggered. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/RequestType.md b/docs/RequestType.md index 250d710d..86911761 100644 --- a/docs/RequestType.md +++ b/docs/RequestType.md @@ -1,9 +1,38 @@ -# freeclimb.Model.RequestType +# freeclimb.Enums.RequestType + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**INBOUND_CALL** | inboundCall | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**RECORD** | record | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods +**GET_DIGITS** | getDigits | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods +**GET_SPEECH** | getSpeech | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods +**REDIRECT** | redirect | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods +**PAUSE** | pause | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods +**OUT_DIAL_START** | outDialStart | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods +**OUT_DIAL_CONNECT** | outDialConnect | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods +**OUT_DIAL_API_CONNECT** | outDialApiConnect | Represented in C# as 9, but can be seralized & deserialized using the reflection and extension methods +**MACHINE_DETECTED** | machineDetected | Represented in C# as 10, but can be seralized & deserialized using the reflection and extension methods +**DEQUEUE** | dequeue | Represented in C# as 11, but can be seralized & deserialized using the reflection and extension methods +**QUEUE_WAIT** | queueWait | Represented in C# as 12, but can be seralized & deserialized using the reflection and extension methods +**ADD_TO_QUEUE_NOTIFICATION** | addToQueueNotification | Represented in C# as 13, but can be seralized & deserialized using the reflection and extension methods +**REMOVE_FROM_QUEUE_NOTIFICATION** | removeFromQueueNotification | Represented in C# as 14, but can be seralized & deserialized using the reflection and extension methods +**CALL_STATUS** | callStatus | Represented in C# as 15, but can be seralized & deserialized using the reflection and extension methods +**CREATE_CONFERENCE** | createConference | Represented in C# as 16, but can be seralized & deserialized using the reflection and extension methods +**CONFERENCE_STATUS** | conferenceStatus | Represented in C# as 17, but can be seralized & deserialized using the reflection and extension methods +**LEAVE_CONFERENCE** | leaveConference | Represented in C# as 18, but can be seralized & deserialized using the reflection and extension methods +**ADD_TO_CONFERENCE_NOTIFICATION** | addToConferenceNotification | Represented in C# as 19, but can be seralized & deserialized using the reflection and extension methods +**CONFERENCE_RECORDING_STATUS** | conferenceRecordingStatus | Represented in C# as 20, but can be seralized & deserialized using the reflection and extension methods +**CONFERENCE_CALL_CONTROL** | conferenceCallControl | Represented in C# as 21, but can be seralized & deserialized using the reflection and extension methods +**MESSAGE_DELIVERY** | messageDelivery | Represented in C# as 22, but can be seralized & deserialized using the reflection and extension methods +**MESSAGE_STATUS** | messageStatus | Represented in C# as 23, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/Say.md b/docs/Say.md index f334494e..ce29d433 100644 --- a/docs/Say.md +++ b/docs/Say.md @@ -1,10 +1,13 @@ # freeclimb.Model.Say The `Say` command provides Text-To-Speech (TTS) support. It converts text to speech and then renders it in a female voice back to the caller. `Say` is useful in cases where it's difficult to pre-record a prompt for any reason. `Say` does not allow barge-in unless nested within a `GetSpeech` command. The file will always be played to completion unless nested. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Text** | **string** | The message to be played to the caller using TTS. The size of the string is limited to 4 KB (or 4,096 bytes). An empty string will cause the command to be skipped. | **Language** | **string** | Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below. | [optional] @@ -12,5 +15,8 @@ Name | Type | Description | Notes **ConferenceId** | **string** | D of the Conference the speech should be rendered to. If this is not specified, the speech is by default rendered to the Caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/SayAllOf.md b/docs/SayAllOf.md index 228c164d..606969df 100644 --- a/docs/SayAllOf.md +++ b/docs/SayAllOf.md @@ -1,14 +1,20 @@ # freeclimb.Model.SayAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Text** | **string** | The message to be played to the caller using TTS. The size of the string is limited to 4 KB (or 4,096 bytes). An empty string will cause the command to be skipped. | **Language** | **string** | Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below. | [optional] **Loop** | **int** | Number of times the text is said. Specifying '0' causes the `Say` action to loop until the Call is hung up. | [optional] [default to 1] **ConferenceId** | **string** | D of the Conference the speech should be rendered to. If this is not specified, the speech is by default rendered to the Caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/SendDigits.md b/docs/SendDigits.md index fbd4d2e4..1c056bf9 100644 --- a/docs/SendDigits.md +++ b/docs/SendDigits.md @@ -1,14 +1,20 @@ # freeclimb.Model.SendDigits The `SendDigits` command plays DTMF tones on a live Call. This is useful for navigating through IVR menus or dialing extensions. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Digits** | **string** | String containing the digits to be played. The string cannot be empty and can include any digit, plus `#`, or `*`, and allows embedding specification for delay or pause between the output of individual digits. | **PauseMs** | **int** | Pause between digits in milliseconds. Valid values are 100-1000 milliseconds and will be adjusted by FreeClimb to satisfy the constraint. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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/SendDigitsAllOf.md b/docs/SendDigitsAllOf.md index fdcd15f9..5fbb63e8 100644 --- a/docs/SendDigitsAllOf.md +++ b/docs/SendDigitsAllOf.md @@ -1,12 +1,18 @@ # freeclimb.Model.SendDigitsAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Digits** | **string** | String containing the digits to be played. The string cannot be empty and can include any digit, plus `#`, or `*`, and allows embedding specification for delay or pause between the output of individual digits. | **PauseMs** | **int** | Pause between digits in milliseconds. Valid values are 100-1000 milliseconds and will be adjusted by FreeClimb to satisfy the constraint. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) + + [[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 a068db99..dcba0396 100644 --- a/docs/SetListen.md +++ b/docs/SetListen.md @@ -1,13 +1,19 @@ # freeclimb.Model.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. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **CallId** | **string** | ID of the call leg that is to be assigned the listen privilege. The Call must be in a Conference or an error will be triggered. | **Listen** | **bool** | Specifying `false` will silence the Conference for this Participant. | [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) + + [[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/SetListenAllOf.md b/docs/SetListenAllOf.md index 575079c3..3b4092ef 100644 --- a/docs/SetListenAllOf.md +++ b/docs/SetListenAllOf.md @@ -1,11 +1,17 @@ # freeclimb.Model.SetListenAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **CallId** | **string** | ID of the call leg that is to be assigned the listen privilege. The Call must be in a Conference or an error will be triggered. | **Listen** | **bool** | Specifying `false` will silence the Conference for this Participant. | [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) + + [[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/SetTalk.md b/docs/SetTalk.md index eb6f6f8b..39cea5c6 100644 --- a/docs/SetTalk.md +++ b/docs/SetTalk.md @@ -1,13 +1,19 @@ # freeclimb.Model.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. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **CallId** | **string** | ID of the call leg that is to be muted or unmuted. The Call must be in a Conference or an error will be triggered. | **Talk** | **bool** | Specifying `false` mutes the Participant. | [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) + + [[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/SetTalkAllOf.md b/docs/SetTalkAllOf.md index 46d1803e..09833ef2 100644 --- a/docs/SetTalkAllOf.md +++ b/docs/SetTalkAllOf.md @@ -1,11 +1,17 @@ # freeclimb.Model.SetTalkAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **CallId** | **string** | ID of the call leg that is to be muted or unmuted. The Call must be in a Conference or an error will be triggered. | **Talk** | **bool** | Specifying `false` mutes the Participant. | [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) + + [[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/Sms.md b/docs/Sms.md index 1be6dde3..5c8a25c0 100644 --- a/docs/Sms.md +++ b/docs/Sms.md @@ -1,15 +1,21 @@ # freeclimb.Model.Sms 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. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **To** | **string** | E.164 representation of the phone number to which the message will be sent. Must be within FreeClimb's service area and E.164 formatting (e.g., +18003608245). | **From** | **string** | E.164 representation of the phone number to use as the sender. This must be an incoming phone number you have purchased from FreeClimb. | **Text** | **string** | Text contained in the message (maximum 160 characters). | **NotificationUrl** | **string** | When the message changes status, this URL will be invoked using HTTP POST with the messageStatus parameters. This is a notification only; any PerCL returned will be ignored. | [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) + + [[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/SmsAllOf.md b/docs/SmsAllOf.md index 14a7c5cb..3ba359a8 100644 --- a/docs/SmsAllOf.md +++ b/docs/SmsAllOf.md @@ -1,13 +1,19 @@ # freeclimb.Model.SmsAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **To** | **string** | E.164 representation of the phone number to which the message will be sent. Must be within FreeClimb's service area and E.164 formatting (e.g., +18003608245). | **From** | **string** | E.164 representation of the phone number to use as the sender. This must be an incoming phone number you have purchased from FreeClimb. | **Text** | **string** | Text contained in the message (maximum 160 characters). | **NotificationUrl** | **string** | When the message changes status, this URL will be invoked using HTTP POST with the messageStatus parameters. This is a notification only; any PerCL returned will be ignored. | [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) + + [[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/StartRecordCall.md b/docs/StartRecordCall.md index 808748a5..52d09252 100644 --- a/docs/StartRecordCall.md +++ b/docs/StartRecordCall.md @@ -1,11 +1,17 @@ # freeclimb.Model.StartRecordCall The `StartRecordCall` command records the current call and returns the URL of a file containing the audio recording when recording completes. `StartRecordCall` is non-blocking. After recording of the current call begins, control of the call moves to the PerCL command that follows `StartRecordCall` in the current PerCL script. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | 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) + + [[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/TerminateConference.md b/docs/TerminateConference.md index a1865d8c..0c0654f0 100644 --- a/docs/TerminateConference.md +++ b/docs/TerminateConference.md @@ -1,12 +1,18 @@ # freeclimb.Model.TerminateConference The `TerminateConference` command terminates an existing Conference. Any active participants are hung up on by FreeClimb. If this is not the desired behavior, use the `RemoveFromConference` command to unbridge Calls that should not be hung up. Note: The Call requesting TerminateConference must be on the same Conference for this command to execute. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ConferenceId** | **string** | ID of the conference to terminate. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/TerminateConferenceAllOf.md b/docs/TerminateConferenceAllOf.md index 9114911c..dc8e392e 100644 --- a/docs/TerminateConferenceAllOf.md +++ b/docs/TerminateConferenceAllOf.md @@ -1,10 +1,16 @@ # freeclimb.Model.TerminateConferenceAllOf + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **ConferenceId** | **string** | ID of the conference to terminate. | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/Unpark.md b/docs/Unpark.md index 447d8af5..d6150a54 100644 --- a/docs/Unpark.md +++ b/docs/Unpark.md @@ -1,11 +1,17 @@ # freeclimb.Model.Unpark The `Unpark` command resumes a parked call. Execution continues with the first command in the PerCL scripted returned by the actionUrl specified in the Park command as long as the call is still in progress. If the call is no longer in progress, any returned PerCL will not be executed. Unpark is a terminal command - - any commands following it in the same script are not executed. + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Command** | **string** | 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) + + [[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/UpdateCallRequest.md b/docs/UpdateCallRequest.md index 8b0cfa3b..7a5d601c 100644 --- a/docs/UpdateCallRequest.md +++ b/docs/UpdateCallRequest.md @@ -1,10 +1,16 @@ # freeclimb.Model.UpdateCallRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Status** | **UpdateCallRequestStatus** | | -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/UpdateCallRequestStatus.md b/docs/UpdateCallRequestStatus.md index b3fd178d..a635a732 100644 --- a/docs/UpdateCallRequestStatus.md +++ b/docs/UpdateCallRequestStatus.md @@ -1,10 +1,18 @@ -# freeclimb.Model.UpdateCallRequestStatus +# freeclimb.Enums.UpdateCallRequestStatus Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**CANCELED** | canceled | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**COMPLETED** | completed | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/UpdateConferenceParticipantRequest.md b/docs/UpdateConferenceParticipantRequest.md index 5137ede5..664581d5 100644 --- a/docs/UpdateConferenceParticipantRequest.md +++ b/docs/UpdateConferenceParticipantRequest.md @@ -1,11 +1,17 @@ # freeclimb.Model.UpdateConferenceParticipantRequest + + ## Properties 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] -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + [[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/UpdateConferenceRequest.md b/docs/UpdateConferenceRequest.md index df47a304..b6f5c267 100644 --- a/docs/UpdateConferenceRequest.md +++ b/docs/UpdateConferenceRequest.md @@ -1,12 +1,18 @@ # freeclimb.Model.UpdateConferenceRequest + + ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- + **Alias** | **string** | Description for this conference. Maximum 64 characters. | [optional] **PlayBeep** | **PlayBeep** | | [optional] **Status** | **UpdateConferenceRequestStatus** | | [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) + + [[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/UpdateConferenceRequestStatus.md b/docs/UpdateConferenceRequestStatus.md index d7f234fd..90739a55 100644 --- a/docs/UpdateConferenceRequestStatus.md +++ b/docs/UpdateConferenceRequestStatus.md @@ -1,10 +1,18 @@ -# freeclimb.Model.UpdateConferenceRequestStatus +# freeclimb.Enums.UpdateConferenceRequestStatus New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** + ## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +Name | Value | Notes +------------ | ------------- | ------------- + +**EMPTY** | empty | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods +**TERMINATED** | terminated | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods + + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + -[[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/src/freeclimb.Test/Api/DefaultApiTests.cs b/src/freeclimb.Test/Api/DefaultApiTests.cs index 1ef57562..98bc05e6 100644 --- a/src/freeclimb.Test/Api/DefaultApiTests.cs +++ b/src/freeclimb.Test/Api/DefaultApiTests.cs @@ -11,6 +11,7 @@ using System; using System.IO; using System.Collections.Generic; +using System.Text.Json; using System.Collections.ObjectModel; using System.Linq; using System.Reflection; @@ -27,6 +28,7 @@ namespace freeclimb.Test.Api { + /// /// Class for testing DefaultApi /// @@ -37,15 +39,20 @@ namespace freeclimb.Test.Api public class DefaultApiTests : IDisposable { private Mock instance; + private DefaultApi instance2; private Configuration config; public DefaultApiTests() { + instance = new Mock(); + config = new Configuration(); - config.BasePath = "https://www.freeclimb.com/apiserver"; + config.BasePath = "http://127.0.0.1:4010"; + //TEST-API-USERNAME replace username with this config.Username = "TEST-ACCOUNT-ID"; + //TEST-API-KEY replace password with this config.Password = "TEST-API-KEY"; - instance = new Mock(); + instance2 = new DefaultApi(config); } public void Dispose() @@ -72,9 +79,12 @@ public void BuyAPhoneNumberTest() BuyIncomingNumberRequest buyIncomingNumberRequest = buyIncomingNumberRequestTestValue(); - instance.Setup(m => m.BuyAPhoneNumber(buyIncomingNumberRequest)).Returns(incomingNumberResultTestValue()); - var response = instance.Object.BuyAPhoneNumber(buyIncomingNumberRequest); - //Assert.IsType(response); + // instance.Setup(m => m.BuyAPhoneNumber(buyIncomingNumberRequest)).Returns(incomingNumberResultTestValue()); + // var response = instance.Object.BuyAPhoneNumber(buyIncomingNumberRequest); + // //Assert.IsType(response); + // Assert.IsAssignableFrom(response); + + var response = instance2.BuyAPhoneNumber(buyIncomingNumberRequest); Assert.IsAssignableFrom(response); } @@ -88,9 +98,11 @@ public void CreateAConferenceTest() CreateConferenceRequest createConferenceRequest = createConferenceRequestTestValue(); - instance.Setup(m => m.CreateAConference(createConferenceRequest)).Returns(conferenceResultTestValue()); - var response = instance.Object.CreateAConference(createConferenceRequest); + // instance.Setup(m => m.CreateAConference(createConferenceRequest)).Returns(conferenceResultTestValue()); + // var response = instance.Object.CreateAConference(createConferenceRequest); //Assert.IsType(response); + + var response = instance2.CreateAConference(createConferenceRequest); Assert.IsAssignableFrom(response); } @@ -104,9 +116,10 @@ public void CreateAQueueTest() QueueRequest queueRequest = queueRequestTestValue(); - instance.Setup(m => m.CreateAQueue(queueRequest)).Returns(queueResultTestValue()); - var response = instance.Object.CreateAQueue(queueRequest); + // instance.Setup(m => m.CreateAQueue(queueRequest)).Returns(queueResultTestValue()); + // var response = instance.Object.CreateAQueue(queueRequest); //Assert.IsType(response); + var response = instance2.CreateAQueue(queueRequest); Assert.IsAssignableFrom(response); } diff --git a/src/freeclimb.Test/Api/SmokeTests.cs b/src/freeclimb.Test/Api/SmokeTests.cs index 73c400c3..516b3e79 100644 --- a/src/freeclimb.Test/Api/SmokeTests.cs +++ b/src/freeclimb.Test/Api/SmokeTests.cs @@ -34,7 +34,7 @@ namespace freeclimb.Test.Api /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the API endpoint. /// - public class SmokeTests : IDisposable + public class SmokeTests : freeclimb.Client.ApiClient, IDisposable { private DefaultApi instance; private Configuration config; @@ -42,8 +42,9 @@ public class SmokeTests : IDisposable public SmokeTests() { config = new Configuration(); - config.BasePath = "https://dev.freeclimb.com/apiserver"; - config.Username = "TEST-API-USERNAME"; + config.BasePath = "http://127.0.0.1:4010"; + //TEST-API-USERNAME replace username with this + config.Username = "TEST-ACCOUNT-ID"; //TEST-API-KEY replace password with this config.Password = "TEST-API-KEY"; instance = new DefaultApi(config); @@ -70,6 +71,5 @@ public void getAccountInfo() Assert.IsAssignableFrom(response.Status); Assert.IsAssignableFrom(response.Type); } - } } diff --git a/src/freeclimb/Api/DefaultApi.cs b/src/freeclimb/Api/DefaultApi.cs index 4cc190c4..14a5ba42 100644 --- a/src/freeclimb/Api/DefaultApi.cs +++ b/src/freeclimb/Api/DefaultApi.cs @@ -970,9 +970,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task BuyAPhoneNumberAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -984,9 +984,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> BuyAPhoneNumberWithHttpInfoAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -997,9 +997,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task CreateAConferenceAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1011,9 +1011,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> CreateAConferenceWithHttpInfoAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1024,9 +1024,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task CreateAQueueAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1038,9 +1038,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> CreateAQueueWithHttpInfoAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1051,9 +1051,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task CreateAnApplicationAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1065,9 +1065,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> CreateAnApplicationWithHttpInfoAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1078,9 +1078,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1092,9 +1092,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1105,9 +1105,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1119,9 +1119,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1132,9 +1132,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1146,9 +1146,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1159,11 +1159,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task DequeueAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1175,11 +1175,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> DequeueAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1190,9 +1190,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task DequeueHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1204,9 +1204,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> DequeueHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1217,9 +1217,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream System.Threading.Tasks.Task DownloadARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1231,9 +1231,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) System.Threading.Tasks.Task> DownloadARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1244,9 +1244,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task FilterLogsAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1258,9 +1258,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> FilterLogsWithHttpInfoAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1271,9 +1271,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of CallResult System.Threading.Tasks.Task GetACallAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1285,9 +1285,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) System.Threading.Tasks.Task> GetACallWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1298,9 +1298,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task GetAConferenceAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1312,9 +1312,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> GetAConferenceWithHttpInfoAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1325,11 +1325,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task GetAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1341,11 +1341,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> GetAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1356,11 +1356,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult System.Threading.Tasks.Task GetAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1372,11 +1372,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) System.Threading.Tasks.Task> GetAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1387,9 +1387,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task GetAQueueAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1401,9 +1401,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> GetAQueueWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1414,9 +1414,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of RecordingResult System.Threading.Tasks.Task GetARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1428,9 +1428,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingResult) System.Threading.Tasks.Task> GetARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1441,7 +1441,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of AccountResult System.Threading.Tasks.Task GetAnAccountAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1453,7 +1453,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AccountResult) System.Threading.Tasks.Task> GetAnAccountWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1464,9 +1464,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task GetAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1478,9 +1478,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> GetAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1491,9 +1491,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task GetAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1505,9 +1505,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> GetAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1518,9 +1518,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of MessageResult System.Threading.Tasks.Task GetAnSmsMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1532,9 +1532,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) System.Threading.Tasks.Task> GetAnSmsMessageWithHttpInfoAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1545,9 +1545,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task GetHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1559,9 +1559,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> GetHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1572,9 +1572,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueList System.Threading.Tasks.Task ListActiveQueuesAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1586,9 +1586,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueList) System.Threading.Tasks.Task> ListActiveQueuesWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1599,7 +1599,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task ListAllAccountLogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1611,7 +1611,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> ListAllAccountLogsWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1622,9 +1622,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationList System.Threading.Tasks.Task ListApplicationsAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1636,9 +1636,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationList) System.Threading.Tasks.Task> ListApplicationsWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1649,27 +1649,27 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of AvailableNumberList System.Threading.Tasks.Task ListAvailableNumbersAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1681,27 +1681,27 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AvailableNumberList) System.Threading.Tasks.Task> ListAvailableNumbersWithHttpInfoAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1712,9 +1712,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task ListCallLogsAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1726,9 +1726,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> ListCallLogsWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1739,11 +1739,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList System.Threading.Tasks.Task ListCallRecordingsAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1755,11 +1755,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) System.Threading.Tasks.Task> ListCallRecordingsWithHttpInfoAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1770,21 +1770,21 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of CallList System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1796,21 +1796,21 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1821,15 +1821,15 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceList System.Threading.Tasks.Task ListConferencesAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1841,15 +1841,15 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceList) System.Threading.Tasks.Task> ListConferencesWithHttpInfoAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1860,35 +1860,35 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberList System.Threading.Tasks.Task ListIncomingNumbersAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1900,35 +1900,35 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberList) System.Threading.Tasks.Task> ListIncomingNumbersWithHttpInfoAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1939,9 +1939,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMemberList System.Threading.Tasks.Task ListMembersAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1953,9 +1953,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMemberList) System.Threading.Tasks.Task> ListMembersWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1966,13 +1966,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantList System.Threading.Tasks.Task ListParticipantsAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1984,13 +1984,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantList) System.Threading.Tasks.Task> ListParticipantsWithHttpInfoAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2001,13 +2001,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList System.Threading.Tasks.Task ListRecordingsAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2019,13 +2019,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) System.Threading.Tasks.Task> ListRecordingsWithHttpInfoAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2036,17 +2036,17 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of MessagesList System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2058,17 +2058,17 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2079,9 +2079,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of CallResult System.Threading.Tasks.Task MakeACallAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2093,9 +2093,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) System.Threading.Tasks.Task> MakeACallWithHttpInfoAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2106,11 +2106,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task RemoveAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2122,11 +2122,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> RemoveAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2137,9 +2137,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of MessageResult System.Threading.Tasks.Task SendAnSmsMessageAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2151,9 +2151,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) System.Threading.Tasks.Task> SendAnSmsMessageWithHttpInfoAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2164,9 +2164,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream System.Threading.Tasks.Task StreamARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2178,9 +2178,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) System.Threading.Tasks.Task> StreamARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2191,11 +2191,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task UpdateAConferenceAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2207,11 +2207,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> UpdateAConferenceWithHttpInfoAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2222,11 +2222,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task UpdateALiveCallAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2238,11 +2238,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> UpdateALiveCallWithHttpInfoAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2253,13 +2253,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult System.Threading.Tasks.Task UpdateAParticipantAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2271,13 +2271,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) System.Threading.Tasks.Task> UpdateAParticipantWithHttpInfoAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2288,11 +2288,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task UpdateAQueueAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2304,11 +2304,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> UpdateAQueueWithHttpInfoAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2319,9 +2319,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task UpdateAnAccountAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2333,9 +2333,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> UpdateAnAccountWithHttpInfoAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2346,11 +2346,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task UpdateAnApplicationAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2362,11 +2362,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> UpdateAnApplicationWithHttpInfoAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2377,11 +2377,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task UpdateAnIncomingNumberAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2393,11 +2393,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> UpdateAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2532,7 +2532,7 @@ public freeclimb.Client.ExceptionFactory ExceptionFactory /// IncomingNumberResult public IncomingNumberResult BuyAPhoneNumber(BuyIncomingNumberRequest buyIncomingNumberRequest) { - freeclimb.Client.ApiResponse localVarResponse = BuyAPhoneNumberWithHttpInfo(buyIncomingNumberRequest); + freeclimb.Client.ApiResponse localVarResponse = BuyAPhoneNumberWithHttpInfo(buyIncomingNumberRequest ); return localVarResponse.Data; } @@ -2544,14 +2544,14 @@ public IncomingNumberResult BuyAPhoneNumber(BuyIncomingNumberRequest buyIncoming /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHttpInfo(BuyIncomingNumberRequest buyIncomingNumberRequest) { - + // verify the required parameter 'buyIncomingNumberRequest' is set if (buyIncomingNumberRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'buyIncomingNumberRequest' when calling DefaultApi->BuyAPhoneNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2603,9 +2603,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Buy a Phone Number /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task BuyAPhoneNumberAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2618,21 +2618,21 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Buy a Phone Number /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> BuyAPhoneNumberWithHttpInfoAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'buyIncomingNumberRequest' is set if (buyIncomingNumberRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'buyIncomingNumberRequest' when calling DefaultApi->BuyAPhoneNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2690,7 +2690,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ConferenceResult public ConferenceResult CreateAConference(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAConferenceWithHttpInfo(createConferenceRequest); + freeclimb.Client.ApiResponse localVarResponse = CreateAConferenceWithHttpInfo(createConferenceRequest ); return localVarResponse.Data; } @@ -2702,8 +2702,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse CreateAConferenceWithHttpInfo(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2755,9 +2755,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Conference /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task CreateAConferenceAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2770,15 +2770,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Conference /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> CreateAConferenceWithHttpInfoAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2836,7 +2836,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// QueueResult public QueueResult CreateAQueue(QueueRequest queueRequest = default(QueueRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAQueueWithHttpInfo(queueRequest); + freeclimb.Client.ApiResponse localVarResponse = CreateAQueueWithHttpInfo(queueRequest ); return localVarResponse.Data; } @@ -2848,8 +2848,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse CreateAQueueWithHttpInfo(QueueRequest queueRequest = default(QueueRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2901,9 +2901,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Queue /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task CreateAQueueAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2916,15 +2916,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Queue /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> CreateAQueueWithHttpInfoAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2982,7 +2982,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApplicationResult public ApplicationResult CreateAnApplication(ApplicationRequest applicationRequest = default(ApplicationRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAnApplicationWithHttpInfo(applicationRequest); + freeclimb.Client.ApiResponse localVarResponse = CreateAnApplicationWithHttpInfo(applicationRequest ); return localVarResponse.Data; } @@ -2994,8 +2994,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse CreateAnApplicationWithHttpInfo(ApplicationRequest applicationRequest = default(ApplicationRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3047,9 +3047,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create an application /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task CreateAnApplicationAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3062,15 +3062,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create an application /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> CreateAnApplicationWithHttpInfoAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3139,14 +3139,14 @@ public void DeleteARecording(string recordingId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DeleteARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3196,9 +3196,9 @@ public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string /// Delete a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3210,21 +3210,21 @@ public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string /// Delete a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DeleteARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3291,14 +3291,14 @@ public void DeleteAnApplication(string applicationId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(string applicationId) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->DeleteAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3348,9 +3348,9 @@ public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(stri /// Delete an application /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3362,21 +3362,21 @@ public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(stri /// Delete an application /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->DeleteAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3443,14 +3443,14 @@ public void DeleteAnIncomingNumber(string phoneNumberId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(string phoneNumberId) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->DeleteAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3500,9 +3500,9 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// Delete an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3514,21 +3514,21 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// Delete an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->DeleteAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3585,7 +3585,7 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// QueueMember public QueueMember DequeueAMember(string queueId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = DequeueAMemberWithHttpInfo(queueId, callId); + freeclimb.Client.ApiResponse localVarResponse = DequeueAMemberWithHttpInfo(queueId , callId ); return localVarResponse.Data; } @@ -3598,21 +3598,21 @@ public QueueMember DequeueAMember(string queueId, string callId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(string queueId, string callId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->DequeueAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3664,11 +3664,11 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// Dequeue a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task DequeueAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3681,30 +3681,30 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// Dequeue a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> DequeueAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->DequeueAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3762,7 +3762,7 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// QueueMember public QueueMember DequeueHeadMember(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = DequeueHeadMemberWithHttpInfo(queueId); + freeclimb.Client.ApiResponse localVarResponse = DequeueHeadMemberWithHttpInfo(queueId ); return localVarResponse.Data; } @@ -3774,14 +3774,14 @@ public QueueMember DequeueHeadMember(string queueId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3832,9 +3832,9 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// Dequeue Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task DequeueHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3847,21 +3847,21 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// Dequeue Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> DequeueHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3918,7 +3918,7 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// System.IO.Stream public System.IO.Stream DownloadARecordingFile(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = DownloadARecordingFileWithHttpInfo(recordingId); + freeclimb.Client.ApiResponse localVarResponse = DownloadARecordingFileWithHttpInfo(recordingId ); return localVarResponse.Data; } @@ -3930,14 +3930,14 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// ApiResponse of System.IO.Stream public freeclimb.Client.ApiResponse DownloadARecordingFileWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DownloadARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3988,9 +3988,9 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// Download a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream public async System.Threading.Tasks.Task DownloadARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4003,21 +4003,21 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// Download a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) public async System.Threading.Tasks.Task> DownloadARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DownloadARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4074,7 +4074,7 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// LogList public LogList FilterLogs(FilterLogsRequest filterLogsRequest) { - freeclimb.Client.ApiResponse localVarResponse = FilterLogsWithHttpInfo(filterLogsRequest); + freeclimb.Client.ApiResponse localVarResponse = FilterLogsWithHttpInfo(filterLogsRequest ); return localVarResponse.Data; } @@ -4086,14 +4086,14 @@ public LogList FilterLogs(FilterLogsRequest filterLogsRequest) /// ApiResponse of LogList public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRequest filterLogsRequest) { - + // verify the required parameter 'filterLogsRequest' is set if (filterLogsRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'filterLogsRequest' when calling DefaultApi->FilterLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4145,9 +4145,9 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// Filter Logs /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task FilterLogsAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4160,21 +4160,21 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// Filter Logs /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> FilterLogsWithHttpInfoAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'filterLogsRequest' is set if (filterLogsRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'filterLogsRequest' when calling DefaultApi->FilterLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4232,7 +4232,7 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// CallResult public CallResult GetACall(string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetACallWithHttpInfo(callId); + freeclimb.Client.ApiResponse localVarResponse = GetACallWithHttpInfo(callId ); return localVarResponse.Data; } @@ -4244,14 +4244,14 @@ public CallResult GetACall(string callId) /// ApiResponse of CallResult public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string callId) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetACall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4302,9 +4302,9 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// Get a Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of CallResult public async System.Threading.Tasks.Task GetACallAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4317,21 +4317,21 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// Get a Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) public async System.Threading.Tasks.Task> GetACallWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetACall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4388,7 +4388,7 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// ConferenceResult public ConferenceResult GetAConference(string conferenceId) { - freeclimb.Client.ApiResponse localVarResponse = GetAConferenceWithHttpInfo(conferenceId); + freeclimb.Client.ApiResponse localVarResponse = GetAConferenceWithHttpInfo(conferenceId ); return localVarResponse.Data; } @@ -4400,14 +4400,14 @@ public ConferenceResult GetAConference(string conferenceId) /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo(string conferenceId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAConference"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4458,9 +4458,9 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// Get a Conference /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task GetAConferenceAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4473,21 +4473,21 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// Get a Conference /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> GetAConferenceWithHttpInfoAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAConference"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4545,7 +4545,7 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// QueueMember public QueueMember GetAMember(string queueId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetAMemberWithHttpInfo(queueId, callId); + freeclimb.Client.ApiResponse localVarResponse = GetAMemberWithHttpInfo(queueId , callId ); return localVarResponse.Data; } @@ -4558,21 +4558,21 @@ public QueueMember GetAMember(string queueId, string callId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string queueId, string callId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4624,11 +4624,11 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// Get a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task GetAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4641,30 +4641,30 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// Get a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> GetAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4723,7 +4723,7 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// ConferenceParticipantResult public ConferenceParticipantResult GetAParticipant(string conferenceId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetAParticipantWithHttpInfo(conferenceId, callId); + freeclimb.Client.ApiResponse localVarResponse = GetAParticipantWithHttpInfo(conferenceId , callId ); return localVarResponse.Data; } @@ -4736,21 +4736,21 @@ public ConferenceParticipantResult GetAParticipant(string conferenceId, string c /// ApiResponse of ConferenceParticipantResult public freeclimb.Client.ApiResponse GetAParticipantWithHttpInfo(string conferenceId, string callId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4802,11 +4802,11 @@ public freeclimb.Client.ApiResponse GetAParticipant /// Get a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult public async System.Threading.Tasks.Task GetAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4819,30 +4819,30 @@ public freeclimb.Client.ApiResponse GetAParticipant /// Get a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) public async System.Threading.Tasks.Task> GetAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4900,7 +4900,7 @@ public freeclimb.Client.ApiResponse GetAParticipant /// QueueResult public QueueResult GetAQueue(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = GetAQueueWithHttpInfo(queueId); + freeclimb.Client.ApiResponse localVarResponse = GetAQueueWithHttpInfo(queueId ); return localVarResponse.Data; } @@ -4912,14 +4912,14 @@ public QueueResult GetAQueue(string queueId) /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAQueue"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4970,9 +4970,9 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// Get a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task GetAQueueAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4985,21 +4985,21 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// Get a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> GetAQueueWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAQueue"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5056,7 +5056,7 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// RecordingResult public RecordingResult GetARecording(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = GetARecordingWithHttpInfo(recordingId); + freeclimb.Client.ApiResponse localVarResponse = GetARecordingWithHttpInfo(recordingId ); return localVarResponse.Data; } @@ -5068,14 +5068,14 @@ public RecordingResult GetARecording(string recordingId) /// ApiResponse of RecordingResult public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->GetARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5126,9 +5126,9 @@ public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(s /// Get a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of RecordingResult public async System.Threading.Tasks.Task GetARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5141,21 +5141,21 @@ public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(s /// Get a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingResult) public async System.Threading.Tasks.Task> GetARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->GetARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5222,7 +5222,7 @@ public AccountResult GetAnAccount() /// ApiResponse of AccountResult public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5272,7 +5272,7 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// Get an Account /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of AccountResult public async System.Threading.Tasks.Task GetAnAccountAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5285,12 +5285,12 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// Get an Account /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AccountResult) public async System.Threading.Tasks.Task> GetAnAccountWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5346,7 +5346,7 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// ApplicationResult public ApplicationResult GetAnApplication(string applicationId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnApplicationWithHttpInfo(applicationId); + freeclimb.Client.ApiResponse localVarResponse = GetAnApplicationWithHttpInfo(applicationId ); return localVarResponse.Data; } @@ -5358,14 +5358,14 @@ public ApplicationResult GetAnApplication(string applicationId) /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse GetAnApplicationWithHttpInfo(string applicationId) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->GetAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5416,9 +5416,9 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// Get an Application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task GetAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5431,21 +5431,21 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// Get an Application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> GetAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->GetAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5502,7 +5502,7 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// IncomingNumberResult public IncomingNumberResult GetAnIncomingNumber(string phoneNumberId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnIncomingNumberWithHttpInfo(phoneNumberId); + freeclimb.Client.ApiResponse localVarResponse = GetAnIncomingNumberWithHttpInfo(phoneNumberId ); return localVarResponse.Data; } @@ -5514,14 +5514,14 @@ public IncomingNumberResult GetAnIncomingNumber(string phoneNumberId) /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse GetAnIncomingNumberWithHttpInfo(string phoneNumberId) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->GetAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5572,9 +5572,9 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// Get an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task GetAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5587,21 +5587,21 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// Get an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> GetAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->GetAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5658,7 +5658,7 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// MessageResult public MessageResult GetAnSmsMessage(string messageId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnSmsMessageWithHttpInfo(messageId); + freeclimb.Client.ApiResponse localVarResponse = GetAnSmsMessageWithHttpInfo(messageId ); return localVarResponse.Data; } @@ -5670,14 +5670,14 @@ public MessageResult GetAnSmsMessage(string messageId) /// ApiResponse of MessageResult public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(string messageId) { - + // verify the required parameter 'messageId' is set if (messageId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageId' when calling DefaultApi->GetAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5728,9 +5728,9 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// Get an SMS Message /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of MessageResult public async System.Threading.Tasks.Task GetAnSmsMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5743,21 +5743,21 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// Get an SMS Message /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) public async System.Threading.Tasks.Task> GetAnSmsMessageWithHttpInfoAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'messageId' is set if (messageId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageId' when calling DefaultApi->GetAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5814,7 +5814,7 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// QueueMember public QueueMember GetHeadMember(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = GetHeadMemberWithHttpInfo(queueId); + freeclimb.Client.ApiResponse localVarResponse = GetHeadMemberWithHttpInfo(queueId ); return localVarResponse.Data; } @@ -5826,14 +5826,14 @@ public QueueMember GetHeadMember(string queueId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5884,9 +5884,9 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// Get Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task GetHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5899,21 +5899,21 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// Get Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> GetHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5970,7 +5970,7 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// QueueList public QueueList ListActiveQueues(string alias = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListActiveQueuesWithHttpInfo(alias); + freeclimb.Client.ApiResponse localVarResponse = ListActiveQueuesWithHttpInfo(alias ); return localVarResponse.Data; } @@ -5982,8 +5982,8 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// ApiResponse of QueueList public freeclimb.Client.ApiResponse ListActiveQueuesWithHttpInfo(string alias = default(string)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6037,9 +6037,9 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// List Active Queues /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueList public async System.Threading.Tasks.Task ListActiveQueuesAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6052,15 +6052,15 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// List Active Queues /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueList) public async System.Threading.Tasks.Task> ListActiveQueuesWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6130,7 +6130,7 @@ public LogList ListAllAccountLogs() /// ApiResponse of LogList public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6180,7 +6180,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List All Account Logs /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task ListAllAccountLogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6193,12 +6193,12 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List All Account Logs /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> ListAllAccountLogsWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6254,7 +6254,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApplicationList public ApplicationList ListApplications(string alias = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListApplicationsWithHttpInfo(alias); + freeclimb.Client.ApiResponse localVarResponse = ListApplicationsWithHttpInfo(alias ); return localVarResponse.Data; } @@ -6266,8 +6266,8 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApiResponse of ApplicationList public freeclimb.Client.ApiResponse ListApplicationsWithHttpInfo(string alias = default(string)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6321,9 +6321,9 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List applications /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationList public async System.Threading.Tasks.Task ListApplicationsAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6336,15 +6336,15 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List applications /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationList) public async System.Threading.Tasks.Task> ListApplicationsWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6413,7 +6413,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// AvailableNumberList public AvailableNumberList ListAvailableNumbers(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListAvailableNumbersWithHttpInfo(phoneNumber, region, country, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode); + freeclimb.Client.ApiResponse localVarResponse = ListAvailableNumbersWithHttpInfo(phoneNumber , region , country , voiceEnabled , smsEnabled , capabilitiesVoice , capabilitiesSms , capabilitiesTollFree , capabilitiesTenDLC , capabilitiesShortCode ); return localVarResponse.Data; } @@ -6434,17 +6434,17 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApiResponse of AvailableNumberList public freeclimb.Client.ApiResponse ListAvailableNumbersWithHttpInfo(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?)) { - - - - - - - - - - - + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6533,27 +6533,27 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List available numbers /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of AvailableNumberList public async System.Threading.Tasks.Task ListAvailableNumbersAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6566,42 +6566,42 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List available numbers /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AvailableNumberList) public async System.Threading.Tasks.Task> ListAvailableNumbersWithHttpInfoAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - - - - + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6696,7 +6696,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// LogList public LogList ListCallLogs(string callId) { - freeclimb.Client.ApiResponse localVarResponse = ListCallLogsWithHttpInfo(callId); + freeclimb.Client.ApiResponse localVarResponse = ListCallLogsWithHttpInfo(callId ); return localVarResponse.Data; } @@ -6708,14 +6708,14 @@ public LogList ListCallLogs(string callId) /// ApiResponse of LogList public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string callId) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6766,9 +6766,9 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Logs /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task ListCallLogsAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6781,21 +6781,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Logs /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> ListCallLogsWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6853,7 +6853,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// RecordingList public RecordingList ListCallRecordings(string callId, string dateCreated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListCallRecordingsWithHttpInfo(callId, dateCreated); + freeclimb.Client.ApiResponse localVarResponse = ListCallRecordingsWithHttpInfo(callId , dateCreated ); return localVarResponse.Data; } @@ -6866,15 +6866,15 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of RecordingList public freeclimb.Client.ApiResponse ListCallRecordingsWithHttpInfo(string callId, string dateCreated = default(string)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallRecordings"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6929,11 +6929,11 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Recordings /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList public async System.Threading.Tasks.Task ListCallRecordingsAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6946,24 +6946,24 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Recordings /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) public async System.Threading.Tasks.Task> ListCallRecordingsWithHttpInfoAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallRecordings"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7030,7 +7030,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// CallList public CallList ListCalls(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListCallsWithHttpInfo(active, to, from, status, startTime, endTime, parentCallId); + freeclimb.Client.ApiResponse localVarResponse = ListCallsWithHttpInfo(active , to , from , status , startTime , endTime , parentCallId ); return localVarResponse.Data; } @@ -7048,14 +7048,14 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of CallList public freeclimb.Client.ApiResponse ListCallsWithHttpInfo(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { - - - - - - - - + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7133,21 +7133,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Calls /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of CallList public async System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7160,33 +7160,33 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Calls /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) public async System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7273,7 +7273,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ConferenceList public ConferenceList ListConferences(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListConferencesWithHttpInfo(status, alias, dateCreated, dateUpdated); + freeclimb.Client.ApiResponse localVarResponse = ListConferencesWithHttpInfo(status , alias , dateCreated , dateUpdated ); return localVarResponse.Data; } @@ -7288,11 +7288,11 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of ConferenceList public freeclimb.Client.ApiResponse ListConferencesWithHttpInfo(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string)) { - - - - - + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7358,15 +7358,15 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Conferences /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceList public async System.Threading.Tasks.Task ListConferencesAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7379,24 +7379,24 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Conferences /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceList) public async System.Threading.Tasks.Task> ListConferencesWithHttpInfoAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7481,7 +7481,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// IncomingNumberList public IncomingNumberList ListIncomingNumbers(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListIncomingNumbersWithHttpInfo(phoneNumber, alias, region, country, applicationId, hasApplication, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode, offnet); + freeclimb.Client.ApiResponse localVarResponse = ListIncomingNumbersWithHttpInfo(phoneNumber , alias , region , country , applicationId , hasApplication , voiceEnabled , smsEnabled , capabilitiesVoice , capabilitiesSms , capabilitiesTollFree , capabilitiesTenDLC , capabilitiesShortCode , offnet ); return localVarResponse.Data; } @@ -7506,21 +7506,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of IncomingNumberList public freeclimb.Client.ApiResponse ListIncomingNumbersWithHttpInfo(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?)) { - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7626,35 +7626,35 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Incoming Numbers /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberList public async System.Threading.Tasks.Task ListIncomingNumbersAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7667,54 +7667,54 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Incoming Numbers /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberList) public async System.Threading.Tasks.Task> ListIncomingNumbersWithHttpInfoAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7826,7 +7826,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// QueueMemberList public QueueMemberList ListMembers(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = ListMembersWithHttpInfo(queueId); + freeclimb.Client.ApiResponse localVarResponse = ListMembersWithHttpInfo(queueId ); return localVarResponse.Data; } @@ -7838,14 +7838,14 @@ public QueueMemberList ListMembers(string queueId) /// ApiResponse of QueueMemberList public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->ListMembers"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7896,9 +7896,9 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Members /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMemberList public async System.Threading.Tasks.Task ListMembersAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7911,21 +7911,21 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Members /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMemberList) public async System.Threading.Tasks.Task> ListMembersWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->ListMembers"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7984,7 +7984,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ConferenceParticipantList public ConferenceParticipantList ListParticipants(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListParticipantsWithHttpInfo(conferenceId, talk, listen); + freeclimb.Client.ApiResponse localVarResponse = ListParticipantsWithHttpInfo(conferenceId , talk , listen ); return localVarResponse.Data; } @@ -7998,16 +7998,16 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of ConferenceParticipantList public freeclimb.Client.ApiResponse ListParticipantsWithHttpInfo(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->ListParticipants"); } - - - + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8066,13 +8066,13 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Participants /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantList public async System.Threading.Tasks.Task ListParticipantsAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8085,27 +8085,27 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Participants /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantList) public async System.Threading.Tasks.Task> ListParticipantsWithHttpInfoAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->ListParticipants"); } - - - + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8172,7 +8172,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// RecordingList public RecordingList ListRecordings(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListRecordingsWithHttpInfo(callId, conferenceId, dateCreated); + freeclimb.Client.ApiResponse localVarResponse = ListRecordingsWithHttpInfo(callId , conferenceId , dateCreated ); return localVarResponse.Data; } @@ -8186,10 +8186,10 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of RecordingList public freeclimb.Client.ApiResponse ListRecordingsWithHttpInfo(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string)) { - - - - + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8251,13 +8251,13 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Recordings /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList public async System.Threading.Tasks.Task ListRecordingsAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8270,21 +8270,21 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Recordings /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) public async System.Threading.Tasks.Task> ListRecordingsWithHttpInfoAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8356,7 +8356,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// MessagesList public MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)) { - freeclimb.Client.ApiResponse localVarResponse = ListSmsMessagesWithHttpInfo(to, from, beginTime, endTime, direction); + freeclimb.Client.ApiResponse localVarResponse = ListSmsMessagesWithHttpInfo(to , from , beginTime , endTime , direction ); return localVarResponse.Data; } @@ -8372,12 +8372,12 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of MessagesList public freeclimb.Client.ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)) { - - - - - - + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8447,17 +8447,17 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List SMS Messages /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of MessagesList public async System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8470,27 +8470,27 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List SMS Messages /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) public async System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8566,7 +8566,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// CallResult public CallResult MakeACall(MakeCallRequest makeCallRequest = default(MakeCallRequest)) { - freeclimb.Client.ApiResponse localVarResponse = MakeACallWithHttpInfo(makeCallRequest); + freeclimb.Client.ApiResponse localVarResponse = MakeACallWithHttpInfo(makeCallRequest ); return localVarResponse.Data; } @@ -8578,8 +8578,8 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of CallResult public freeclimb.Client.ApiResponse MakeACallWithHttpInfo(MakeCallRequest makeCallRequest = default(MakeCallRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8631,9 +8631,9 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Make a Call /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of CallResult public async System.Threading.Tasks.Task MakeACallAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8646,15 +8646,15 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Make a Call /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) public async System.Threading.Tasks.Task> MakeACallWithHttpInfoAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8725,21 +8725,21 @@ public void RemoveAParticipant(string conferenceId, string callId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(string conferenceId, string callId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->RemoveAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->RemoveAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8790,11 +8790,11 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// Remove a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task RemoveAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8806,30 +8806,30 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// Remove a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> RemoveAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->RemoveAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->RemoveAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8886,7 +8886,7 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// MessageResult public MessageResult SendAnSmsMessage(MessageRequest messageRequest) { - freeclimb.Client.ApiResponse localVarResponse = SendAnSmsMessageWithHttpInfo(messageRequest); + freeclimb.Client.ApiResponse localVarResponse = SendAnSmsMessageWithHttpInfo(messageRequest ); return localVarResponse.Data; } @@ -8898,14 +8898,14 @@ public MessageResult SendAnSmsMessage(MessageRequest messageRequest) /// ApiResponse of MessageResult public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo(MessageRequest messageRequest) { - + // verify the required parameter 'messageRequest' is set if (messageRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageRequest' when calling DefaultApi->SendAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8957,9 +8957,9 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// Send an SMS Message /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of MessageResult public async System.Threading.Tasks.Task SendAnSmsMessageAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8972,21 +8972,21 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// Send an SMS Message /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) public async System.Threading.Tasks.Task> SendAnSmsMessageWithHttpInfoAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'messageRequest' is set if (messageRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageRequest' when calling DefaultApi->SendAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9044,7 +9044,7 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// System.IO.Stream public System.IO.Stream StreamARecordingFile(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = StreamARecordingFileWithHttpInfo(recordingId); + freeclimb.Client.ApiResponse localVarResponse = StreamARecordingFileWithHttpInfo(recordingId ); return localVarResponse.Data; } @@ -9056,14 +9056,14 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ApiResponse of System.IO.Stream public freeclimb.Client.ApiResponse StreamARecordingFileWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->StreamARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9114,9 +9114,9 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Stream a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream public async System.Threading.Tasks.Task StreamARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9129,21 +9129,21 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Stream a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) public async System.Threading.Tasks.Task> StreamARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->StreamARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9201,7 +9201,7 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ConferenceResult public ConferenceResult UpdateAConference(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAConferenceWithHttpInfo(conferenceId, updateConferenceRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAConferenceWithHttpInfo(conferenceId , updateConferenceRequest ); return localVarResponse.Data; } @@ -9214,15 +9214,15 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse UpdateAConferenceWithHttpInfo(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAConference"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9275,11 +9275,11 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Update a Conference /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task UpdateAConferenceAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9292,24 +9292,24 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Update a Conference /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> UpdateAConferenceWithHttpInfoAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAConference"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9381,21 +9381,21 @@ public void UpdateALiveCall(string callId, UpdateCallRequest updateCallRequest) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string callId, UpdateCallRequest updateCallRequest) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateALiveCall"); } - + // verify the required parameter 'updateCallRequest' is set if (updateCallRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'updateCallRequest' when calling DefaultApi->UpdateALiveCall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9447,11 +9447,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Live Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task UpdateALiveCallAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9463,30 +9463,30 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Live Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> UpdateALiveCallWithHttpInfoAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateALiveCall"); } - + // verify the required parameter 'updateCallRequest' is set if (updateCallRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'updateCallRequest' when calling DefaultApi->UpdateALiveCall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9546,7 +9546,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ConferenceParticipantResult public ConferenceParticipantResult UpdateAParticipant(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAParticipantWithHttpInfo(conferenceId, callId, updateConferenceParticipantRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAParticipantWithHttpInfo(conferenceId , callId , updateConferenceParticipantRequest ); return localVarResponse.Data; } @@ -9560,22 +9560,22 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of ConferenceParticipantResult public freeclimb.Client.ApiResponse UpdateAParticipantWithHttpInfo(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateAParticipant"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9629,13 +9629,13 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult public async System.Threading.Tasks.Task UpdateAParticipantAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9648,33 +9648,33 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) public async System.Threading.Tasks.Task> UpdateAParticipantWithHttpInfoAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateAParticipant"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9735,7 +9735,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// QueueResult public QueueResult UpdateAQueue(string queueId, QueueRequest queueRequest = default(QueueRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAQueueWithHttpInfo(queueId, queueRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAQueueWithHttpInfo(queueId , queueRequest ); return localVarResponse.Data; } @@ -9748,15 +9748,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse UpdateAQueueWithHttpInfo(string queueId, QueueRequest queueRequest = default(QueueRequest)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->UpdateAQueue"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9809,11 +9809,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task UpdateAQueueAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9826,24 +9826,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> UpdateAQueueWithHttpInfoAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->UpdateAQueue"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9913,8 +9913,8 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse UpdateAnAccountWithHttpInfo(AccountRequest accountRequest = default(AccountRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9965,9 +9965,9 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Manage an account /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task UpdateAnAccountAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9979,15 +9979,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Manage an account /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> UpdateAnAccountWithHttpInfoAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -10045,7 +10045,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApplicationResult public ApplicationResult UpdateAnApplication(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAnApplicationWithHttpInfo(applicationId, applicationRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAnApplicationWithHttpInfo(applicationId , applicationRequest ); return localVarResponse.Data; } @@ -10058,15 +10058,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse UpdateAnApplicationWithHttpInfo(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->UpdateAnApplication"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -10119,11 +10119,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task UpdateAnApplicationAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -10136,24 +10136,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> UpdateAnApplicationWithHttpInfoAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->UpdateAnApplication"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -10213,7 +10213,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// IncomingNumberResult public IncomingNumberResult UpdateAnIncomingNumber(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAnIncomingNumberWithHttpInfo(phoneNumberId, incomingNumberRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAnIncomingNumberWithHttpInfo(phoneNumberId , incomingNumberRequest ); return localVarResponse.Data; } @@ -10226,15 +10226,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse UpdateAnIncomingNumberWithHttpInfo(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->UpdateAnIncomingNumber"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -10287,11 +10287,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task UpdateAnIncomingNumberAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -10304,24 +10304,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> UpdateAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->UpdateAnIncomingNumber"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); From abaf0fadfa928399b6ad91dabee2d3b7898dfbc6 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Fri, 2 Dec 2022 11:01:58 -0500 Subject: [PATCH 04/59] Edits made to the doc readme folder files --- docs/AccountRequest.md | 12 ++-- docs/AccountResult.md | 12 ++-- docs/AccountResultAllOf.md | 12 ++-- docs/AccountStatus.md | 19 +++--- docs/AccountType.md | 17 +++--- docs/AddToConference.md | 13 ++--- docs/AddToConferenceAllOf.md | 12 ++-- docs/AnsweredBy.md | 17 +++--- docs/ApplicationList.md | 12 ++-- docs/ApplicationListAllOf.md | 12 ++-- docs/ApplicationRequest.md | 12 ++-- docs/ApplicationResult.md | 12 ++-- docs/ApplicationResultAllOf.md | 12 ++-- docs/AvailableNumber.md | 12 ++-- docs/AvailableNumberList.md | 12 ++-- docs/AvailableNumberListAllOf.md | 12 ++-- docs/BuyIncomingNumberRequest.md | 12 ++-- docs/CallDirection.md | 19 +++--- docs/CallList.md | 12 ++-- docs/CallListAllOf.md | 12 ++-- docs/CallResult.md | 12 ++-- docs/CallResultAllOf.md | 12 ++-- docs/CallStatus.md | 33 +++++------ docs/Capabilities.md | 13 ++--- docs/ConferenceList.md | 12 ++-- docs/ConferenceListAllOf.md | 12 ++-- docs/ConferenceParticipantList.md | 12 ++-- docs/ConferenceParticipantListAllOf.md | 12 ++-- docs/ConferenceParticipantResult.md | 12 ++-- docs/ConferenceParticipantResultAllOf.md | 12 ++-- docs/ConferenceResult.md | 12 ++-- docs/ConferenceResultAllOf.md | 12 ++-- docs/ConferenceStatus.md | 21 +++---- docs/CreateConference.md | 13 ++--- docs/CreateConferenceAllOf.md | 12 ++-- docs/CreateConferenceRequest.md | 12 ++-- docs/Dequeue.md | 13 ++--- docs/Enqueue.md | 13 ++--- docs/EnqueueAllOf.md | 12 ++-- docs/FilterLogsRequest.md | 12 ++-- docs/GetDigits.md | 13 ++--- docs/GetDigitsAllOf.md | 12 ++-- docs/GetSpeech.md | 13 ++--- docs/GetSpeechAllOf.md | 12 ++-- docs/GetSpeechReason.md | 28 +++++---- docs/GrammarFileBuiltIn.md | 46 +++++++-------- docs/GrammarType.md | 17 +++--- docs/Hangup.md | 13 ++--- docs/HangupAllOf.md | 12 ++-- docs/IfMachine.md | 17 +++--- docs/IncomingNumberList.md | 12 ++-- docs/IncomingNumberListAllOf.md | 12 ++-- docs/IncomingNumberRequest.md | 12 ++-- docs/IncomingNumberResult.md | 12 ++-- docs/IncomingNumberResultAllOf.md | 12 ++-- docs/Language.md | 68 +++++++++++----------- docs/LogLevel.md | 19 +++--- docs/LogList.md | 12 ++-- docs/LogListAllOf.md | 12 ++-- docs/LogResult.md | 12 ++-- docs/MachineType.md | 16 +++-- docs/MakeCallRequest.md | 12 ++-- docs/MessageDirection.md | 16 +++-- docs/MessageRequest.md | 12 ++-- docs/MessageRequestAllOf.md | 12 ++-- docs/MessageResult.md | 12 ++-- docs/MessageResultAllOf.md | 12 ++-- docs/MessageStatus.md | 39 ++++++------- docs/MessagesList.md | 12 ++-- docs/MessagesListAllOf.md | 12 ++-- docs/MutableResourceModel.md | 12 ++-- docs/OutDial.md | 13 ++--- docs/OutDialAllOf.md | 12 ++-- docs/PaginationModel.md | 12 ++-- docs/Park.md | 13 ++--- docs/ParkAllOf.md | 12 ++-- docs/Pause.md | 13 ++--- docs/PauseAllOf.md | 12 ++-- docs/PerclCommand.md | 13 ++--- docs/PerclScript.md | 13 ++--- docs/Play.md | 13 ++--- docs/PlayAllOf.md | 12 ++-- docs/PlayBeep.md | 21 +++---- docs/PlayEarlyMedia.md | 13 ++--- docs/PlayEarlyMediaAllOf.md | 12 ++-- docs/QueueList.md | 12 ++-- docs/QueueListAllOf.md | 12 ++-- docs/QueueMember.md | 12 ++-- docs/QueueMemberList.md | 12 ++-- docs/QueueMemberListAllOf.md | 12 ++-- docs/QueueRequest.md | 12 ++-- docs/QueueResult.md | 12 ++-- docs/QueueResultAllOf.md | 12 ++-- docs/QueueResultStatus.md | 20 +++---- docs/RecordUtterance.md | 13 ++--- docs/RecordUtteranceAllOf.md | 12 ++-- docs/RecordUtteranceTermReason.md | 20 +++---- docs/RecordingList.md | 12 ++-- docs/RecordingListAllOf.md | 12 ++-- docs/RecordingResult.md | 12 ++-- docs/RecordingResultAllOf.md | 12 ++-- docs/Redirect.md | 13 ++--- docs/RedirectAllOf.md | 12 ++-- docs/Reject.md | 13 ++--- docs/RejectAllOf.md | 12 ++-- docs/RemoveFromConference.md | 13 ++--- docs/RemoveFromConferenceAllOf.md | 12 ++-- docs/RequestType.md | 62 ++++++++++---------- docs/Say.md | 13 ++--- docs/SayAllOf.md | 12 ++-- docs/SendDigits.md | 13 ++--- docs/SendDigitsAllOf.md | 12 ++-- docs/SetListen.md | 13 ++--- docs/SetListenAllOf.md | 12 ++-- docs/SetTalk.md | 13 ++--- docs/SetTalkAllOf.md | 12 ++-- docs/Sms.md | 13 ++--- docs/SmsAllOf.md | 12 ++-- docs/StartRecordCall.md | 13 ++--- docs/TerminateConference.md | 13 ++--- docs/TerminateConferenceAllOf.md | 12 ++-- docs/Unpark.md | 13 ++--- docs/UpdateCallRequest.md | 12 ++-- docs/UpdateCallRequestStatus.md | 17 +++--- docs/UpdateConferenceParticipantRequest.md | 12 ++-- docs/UpdateConferenceRequest.md | 12 ++-- docs/UpdateConferenceRequestStatus.md | 17 +++--- src/freeclimb.Test/Api/DefaultApiTests.cs | 15 ----- 128 files changed, 777 insertions(+), 1086 deletions(-) diff --git a/docs/AccountRequest.md b/docs/AccountRequest.md index a4eeada5..53f54caa 100644 --- a/docs/AccountRequest.md +++ b/docs/AccountRequest.md @@ -1,17 +1,15 @@ # freeclimb.Model.AccountRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Alias** | **string** | Description for this account. | [optional] **Label** | **string** | Group to which this account belongs. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/AccountResult.md b/docs/AccountResult.md index f1339d26..e00a6b2b 100644 --- a/docs/AccountResult.md +++ b/docs/AccountResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.AccountResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -19,8 +17,8 @@ Name | Type | Description | Notes **Status** | **AccountStatus** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this account. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/AccountResultAllOf.md b/docs/AccountResultAllOf.md index 7c99b9c3..e487c326 100644 --- a/docs/AccountResultAllOf.md +++ b/docs/AccountResultAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.AccountResultAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **AccountId** | **string** | String that uniquely identifies this account resource. | [optional] **ApiKey** | **string** | The API key assigned to this account. This key must be kept a secret by the customer. | [optional] **Alias** | **string** | A description for this account. | [optional] @@ -15,8 +13,8 @@ Name | Type | Description | Notes **Status** | **AccountStatus** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this account. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/AccountStatus.md b/docs/AccountStatus.md index 7b2eecb6..b9d3d0a2 100644 --- a/docs/AccountStatus.md +++ b/docs/AccountStatus.md @@ -1,19 +1,16 @@ # freeclimb.Enums.AccountStatus -The status of this account. It is one of: active, suspended, or closed. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**CLOSED** | closed | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**SUSPENDED** | suspended | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**ACTIVE** | active | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**CLOSED** | closed | Represented in C# as 1 +**SUSPENDED** | suspended | Represented in C# as 2 +**ACTIVE** | active | Represented in C# as 3 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/AccountType.md b/docs/AccountType.md index eb5d492a..e43d76a6 100644 --- a/docs/AccountType.md +++ b/docs/AccountType.md @@ -1,18 +1,15 @@ # freeclimb.Enums.AccountType -The type of this account. It is one of: trial or full. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**TRIAL** | trial | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**FULL** | full | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**TRIAL** | trial | Represented in C# as 1 +**FULL** | full | Represented in C# as 2 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/AddToConference.md b/docs/AddToConference.md index 4a4ee9c5..2ddde068 100644 --- a/docs/AddToConference.md +++ b/docs/AddToConference.md @@ -1,13 +1,10 @@ # freeclimb.Model.AddToConference -The `AddToConference` command adds a Participant to a Conference. If this Participant currently is in another Conference, the Participant is first removed from that Conference. Two Call legs can be bridged together by creating a Conference and adding both Call legs to it via `AddToConference`. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **AllowCallControl** | **bool** | If `true`, Call control will be enabled for this Participant's Call leg. | [optional] **CallControlSequence** | **string** | Defines a sequence of digits that, when entered by this caller, invokes the `callControlUrl`. Only digits plus '*', and '#' may be used. | [optional] @@ -20,8 +17,8 @@ Name | Type | Description | Notes **StartConfOnEnter** | **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] - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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 bf93450c..34f4eafc 100644 --- a/docs/AddToConferenceAllOf.md +++ b/docs/AddToConferenceAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.AddToConferenceAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **AllowCallControl** | **bool** | If `true`, Call control will be enabled for this Participant's Call leg. | [optional] **CallControlSequence** | **string** | Defines a sequence of digits that, when entered by this caller, invokes the `callControlUrl`. Only digits plus '*', and '#' may be used. | [optional] **CallControlUrl** | **string** | URL to be invoked when this Participant enters the digit sequence defined in the `callControlSequence` attribute. | [optional] @@ -18,8 +16,8 @@ Name | Type | Description | Notes **StartConfOnEnter** | **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] - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/AnsweredBy.md b/docs/AnsweredBy.md index 8ff8f85f..01f03ca4 100644 --- a/docs/AnsweredBy.md +++ b/docs/AnsweredBy.md @@ -1,18 +1,15 @@ # freeclimb.Enums.AnsweredBy -If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**HUMAN** | human | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**MACHINE** | machine | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**HUMAN** | human | Represented in C# as 1 +**MACHINE** | machine | Represented in C# as 2 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ApplicationList.md b/docs/ApplicationList.md index 0109943c..50f3c8c5 100644 --- a/docs/ApplicationList.md +++ b/docs/ApplicationList.md @@ -1,12 +1,10 @@ # freeclimb.Model.ApplicationList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Applications** | [**List<ApplicationResult>**](ApplicationResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ApplicationListAllOf.md b/docs/ApplicationListAllOf.md index 307af538..385b8d40 100644 --- a/docs/ApplicationListAllOf.md +++ b/docs/ApplicationListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.ApplicationListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Applications** | [**List<ApplicationResult>**](ApplicationResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ApplicationRequest.md b/docs/ApplicationRequest.md index 9ff32a12..da3a4929 100644 --- a/docs/ApplicationRequest.md +++ b/docs/ApplicationRequest.md @@ -1,12 +1,10 @@ # freeclimb.Model.ApplicationRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Alias** | **string** | A human readable description of the application, with maximum length 64 characters. | [optional] **VoiceUrl** | **string** | The URL that FreeClimb will request when an inbound call arrives on a phone number assigned to this application. Used only for inbound calls. | [optional] **VoiceFallbackUrl** | **string** | The URL that FreeClimb will request if it times out waiting for a response from the voiceUrl. Used for inbound calls only. Note: A PerCL response is expected to control the inbound call. | [optional] @@ -15,8 +13,8 @@ Name | Type | Description | Notes **SmsUrl** | **string** | The URL that FreeClimb will request when a phone number assigned to this application receives an incoming SMS message. Used for inbound SMS only. Note: Any PerCL returned will be ignored. | [optional] **SmsFallbackUrl** | **string** | The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. Note: Any PerCL returned will be ignored. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ApplicationResult.md b/docs/ApplicationResult.md index bf073cb0..99709a57 100644 --- a/docs/ApplicationResult.md +++ b/docs/ApplicationResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.ApplicationResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -21,8 +19,8 @@ Name | Type | Description | Notes **SmsUrl** | **string** | The URL FreeClimb will request when a phone number assigned to this Application receives an incoming SMS message. Used for inbound SMS only. | [optional] **SmsFallbackUrl** | **string** | The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ApplicationResultAllOf.md b/docs/ApplicationResultAllOf.md index 26e3d98d..19d28a43 100644 --- a/docs/ApplicationResultAllOf.md +++ b/docs/ApplicationResultAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.ApplicationResultAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **AccountId** | **string** | ID of the account that owns this phone number. | [optional] **ApplicationId** | **string** | ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. | [optional] **Alias** | **string** | Description for this phone number. Typically the conventionally-formatted version of the phone number. | [optional] @@ -17,8 +15,8 @@ Name | Type | Description | Notes **SmsUrl** | **string** | The URL FreeClimb will request when a phone number assigned to this Application receives an incoming SMS message. Used for inbound SMS only. | [optional] **SmsFallbackUrl** | **string** | The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/AvailableNumber.md b/docs/AvailableNumber.md index 9333c36f..2a2b34c3 100644 --- a/docs/AvailableNumber.md +++ b/docs/AvailableNumber.md @@ -1,12 +1,10 @@ # freeclimb.Model.AvailableNumber - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Capabilities** | [**Capabilities**](Capabilities.md) | | [optional] **CampaignId** | **string** | The campaign ID generated by the campaign registry | [optional] **PhoneNumber** | **string** | The phone number, in E.164 format (+ country code and phone number: +18003608245). | [optional] @@ -15,8 +13,8 @@ Name | Type | Description | Notes **Region** | **string** | The state or province of this phone number. | [optional] **Country** | **string** | The country of this phone number. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/AvailableNumberList.md b/docs/AvailableNumberList.md index 0e0d53d4..45b8a840 100644 --- a/docs/AvailableNumberList.md +++ b/docs/AvailableNumberList.md @@ -1,12 +1,10 @@ # freeclimb.Model.AvailableNumberList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **AvailablePhoneNumbers** | [**List<AvailableNumber>**](AvailableNumber.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/AvailableNumberListAllOf.md b/docs/AvailableNumberListAllOf.md index 16d4c0a1..11c02ca4 100644 --- a/docs/AvailableNumberListAllOf.md +++ b/docs/AvailableNumberListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.AvailableNumberListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **AvailablePhoneNumbers** | [**List<AvailableNumber>**](AvailableNumber.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/BuyIncomingNumberRequest.md b/docs/BuyIncomingNumberRequest.md index 1159d891..dbb91ea0 100644 --- a/docs/BuyIncomingNumberRequest.md +++ b/docs/BuyIncomingNumberRequest.md @@ -1,18 +1,16 @@ # freeclimb.Model.BuyIncomingNumberRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **PhoneNumber** | **string** | Phone number to purchase in E.164 format (as returned in the list of Available Phone Numbers). | **Alias** | **string** | Description for this new incoming phone number (max 64 characters). | [optional] **ApplicationId** | **string** | ID of the application that should handle phone calls to the number. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/CallDirection.md b/docs/CallDirection.md index 144795f3..a4721a8d 100644 --- a/docs/CallDirection.md +++ b/docs/CallDirection.md @@ -1,19 +1,16 @@ # freeclimb.Enums.CallDirection -Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**INBOUND** | inbound | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**OUTBOUND_API** | outboundAPI | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**OUTBOUND_DIAL** | outboundDial | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**INBOUND** | inbound | Represented in C# as 1 +**OUTBOUND_API** | outboundAPI | Represented in C# as 2 +**OUTBOUND_DIAL** | outboundDial | Represented in C# as 3 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/CallList.md b/docs/CallList.md index d7f999bd..fd231ace 100644 --- a/docs/CallList.md +++ b/docs/CallList.md @@ -1,12 +1,10 @@ # freeclimb.Model.CallList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Calls** | [**List<CallResult>**](CallResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/CallListAllOf.md b/docs/CallListAllOf.md index 7dfa028b..1fa8e98e 100644 --- a/docs/CallListAllOf.md +++ b/docs/CallListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.CallListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Calls** | [**List<CallResult>**](CallResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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 b457d1af..cbf77fe3 100644 --- a/docs/CallResult.md +++ b/docs/CallResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.CallResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -27,8 +25,8 @@ Name | Type | Description | Notes **AnsweredBy** | **AnsweredBy** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this Call. These include things like logs and recordings 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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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 29ecae78..9b4627dc 100644 --- a/docs/CallResultAllOf.md +++ b/docs/CallResultAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.CallResultAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **CallId** | **string** | String that uniquely identifies this Call resource. | [optional] **ParentCallId** | **string** | ID of the Call that created this leg (child Call). | [optional] **AccountId** | **string** | ID of the account that owns this Call. | [optional] @@ -23,8 +21,8 @@ Name | Type | Description | Notes **AnsweredBy** | **AnsweredBy** | | [optional] **SubresourceUris** | **Object** | The list of subresources for this Call. These include things like logs and recordings 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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/CallStatus.md b/docs/CallStatus.md index a721615c..e703cf90 100644 --- a/docs/CallStatus.md +++ b/docs/CallStatus.md @@ -1,24 +1,21 @@ # freeclimb.Enums.CallStatus -* `queued` – Call is ready and waiting in line before going out. * `ringing` – Call is currently ringing. * `inProgress` – Call was answered and is currently in progress. * `canceled` – Call was hung up while it was queued or ringing. * `completed` – Call was answered and has ended normally. * `busy` – Caller received a busy signal. * `failed` – Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` – Call ended without being answered. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**QUEUED** | queued | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**RINGING** | ringing | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**IN_PROGRESS** | inProgress | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**CANCELED** | canceled | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods -**COMPLETED** | completed | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods -**FAILED** | failed | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods -**BUSY** | busy | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods -**NO_ANSWER** | noAnswer | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +**QUEUED** | queued | Represented in C# as 1 +**RINGING** | ringing | Represented in C# as 2 +**IN_PROGRESS** | inProgress | Represented in C# as 3 +**CANCELED** | canceled | Represented in C# as 4 +**COMPLETED** | completed | Represented in C# as 5 +**FAILED** | failed | Represented in C# as 6 +**BUSY** | busy | Represented in C# as 7 +**NO_ANSWER** | noAnswer | Represented in C# as 8 + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Capabilities.md b/docs/Capabilities.md index 5feb61d0..63add356 100644 --- a/docs/Capabilities.md +++ b/docs/Capabilities.md @@ -1,21 +1,18 @@ # freeclimb.Model.Capabilities -Details for which features this number may be used. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Voice** | **bool?** | Indicates whether a number can be used for voice calls. Replaces voiceEnabled. | **Sms** | **bool?** | Indicates whether a number can be used SMS messaging. Replaces smsEnabled. | **TollFree** | **bool?** | Indicates that a number is toll-free and will make toll-free calls, and when enabled, toll-free messages. | **TenDLC** | **bool?** | Indicates that a number, if sms is true, will be used for 10DLC messaging | **ShortCode** | **bool?** | Indicates that a number is a short code and can be used for short code messaging | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ConferenceList.md b/docs/ConferenceList.md index cd39fd2f..631fb663 100644 --- a/docs/ConferenceList.md +++ b/docs/ConferenceList.md @@ -1,12 +1,10 @@ # freeclimb.Model.ConferenceList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Conferences** | [**List<ConferenceResult>**](ConferenceResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ConferenceListAllOf.md b/docs/ConferenceListAllOf.md index 4f89eeef..26000729 100644 --- a/docs/ConferenceListAllOf.md +++ b/docs/ConferenceListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.ConferenceListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Conferences** | [**List<ConferenceResult>**](ConferenceResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ConferenceParticipantList.md b/docs/ConferenceParticipantList.md index 90cad19c..de77bf52 100644 --- a/docs/ConferenceParticipantList.md +++ b/docs/ConferenceParticipantList.md @@ -1,12 +1,10 @@ # freeclimb.Model.ConferenceParticipantList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Participants** | [**List<ConferenceParticipantResult>**](ConferenceParticipantResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ConferenceParticipantListAllOf.md b/docs/ConferenceParticipantListAllOf.md index ef5ea0ca..8770292f 100644 --- a/docs/ConferenceParticipantListAllOf.md +++ b/docs/ConferenceParticipantListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.ConferenceParticipantListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Participants** | [**List<ConferenceParticipantResult>**](ConferenceParticipantResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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 56a00ee7..32e3fb11 100644 --- a/docs/ConferenceParticipantResult.md +++ b/docs/ConferenceParticipantResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.ConferenceParticipantResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -18,8 +16,8 @@ Name | Type | Description | Notes **Listen** | **bool?** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] **StartConfOnEnter** | **bool?** | 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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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 98bd4d6f..c9510def 100644 --- a/docs/ConferenceParticipantResultAllOf.md +++ b/docs/ConferenceParticipantResultAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.ConferenceParticipantResultAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **AccountId** | **string** | ID of the account that created this participant. | [optional] **ConferenceId** | **string** | ID of the conference this participant is in. | [optional] **CallId** | **string** | ID of the Call associated with this Participant. | [optional] @@ -14,8 +12,8 @@ Name | Type | Description | Notes **Listen** | **bool?** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] **StartConfOnEnter** | **bool?** | 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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ConferenceResult.md b/docs/ConferenceResult.md index f3e537f8..2700154c 100644 --- a/docs/ConferenceResult.md +++ b/docs/ConferenceResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.ConferenceResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -22,8 +20,8 @@ Name | Type | Description | Notes **StatusCallbackUrl** | **string** | URL to inform that the Conference status has changed. | [optional] **SubresourceUris** | **Object** | The list of subresources for this Conference. This includes participants and/or recordings. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ConferenceResultAllOf.md b/docs/ConferenceResultAllOf.md index 1904b2f5..47c33db4 100644 --- a/docs/ConferenceResultAllOf.md +++ b/docs/ConferenceResultAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.ConferenceResultAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ConferenceId** | **string** | A string that uniquely identifies this Conference resource. | [optional] **AccountId** | **string** | ID of the account that created this Conference. | [optional] **Alias** | **string** | A description for this Conference. | [optional] @@ -18,8 +16,8 @@ Name | Type | Description | Notes **StatusCallbackUrl** | **string** | URL to inform that the Conference status has changed. | [optional] **SubresourceUris** | **Object** | The list of subresources for this Conference. This includes participants and/or recordings. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ConferenceStatus.md b/docs/ConferenceStatus.md index 4bed68e7..4fadda14 100644 --- a/docs/ConferenceStatus.md +++ b/docs/ConferenceStatus.md @@ -1,20 +1,17 @@ # freeclimb.Enums.ConferenceStatus -The status of the Conference. One of: creating, empty, populated, inProgress, or terminated. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**EMPTY** | empty | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**POPULATED** | populated | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**IN_PROGRESS** | inProgress | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**TERMINATED** | terminated | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**EMPTY** | empty | Represented in C# as 1 +**POPULATED** | populated | Represented in C# as 2 +**IN_PROGRESS** | inProgress | Represented in C# as 3 +**TERMINATED** | terminated | Represented in C# as 4 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/CreateConference.md b/docs/CreateConference.md index e0bee06b..ec898f75 100644 --- a/docs/CreateConference.md +++ b/docs/CreateConference.md @@ -1,13 +1,10 @@ # freeclimb.Model.CreateConference -The `CreateConference` command does exactly what its name implies — it creates an unpopulated Conference (one without any Participants). Once created, a Conference remains in FreeClimb until explicitly terminated by a customer. Once a Conference has been terminated, it can no longer be used. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. | **Alias** | **bool** | Descriptive name for the Conference. | [optional] @@ -16,8 +13,8 @@ Name | Type | Description | Notes **StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional] **WaitUrl** | **string** | If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/CreateConferenceAllOf.md b/docs/CreateConferenceAllOf.md index 1bf1c939..7e4dd4b0 100644 --- a/docs/CreateConferenceAllOf.md +++ b/docs/CreateConferenceAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.CreateConferenceAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ActionUrl** | **string** | This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. | **Alias** | **bool** | Descriptive name for the Conference. | [optional] **PlayBeep** | **PlayBeep** | | [optional] @@ -14,8 +12,8 @@ Name | Type | Description | Notes **StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional] **WaitUrl** | **string** | If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/CreateConferenceRequest.md b/docs/CreateConferenceRequest.md index 68a6dac4..3aef11dc 100644 --- a/docs/CreateConferenceRequest.md +++ b/docs/CreateConferenceRequest.md @@ -1,20 +1,18 @@ # freeclimb.Model.CreateConferenceRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Alias** | **string** | A description for this Conference. Maximum 64 characters. | [optional] **PlayBeep** | **PlayBeep** | | [optional] **Record** | **bool** | Setting to `true` records the entire Conference. | [optional] **WaitUrl** | **string** | If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once &mdash; when the Conference is created. | [optional] **StatusCallbackUrl** | **string** | This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Dequeue.md b/docs/Dequeue.md index 82ef8ff3..443f0cfe 100644 --- a/docs/Dequeue.md +++ b/docs/Dequeue.md @@ -1,17 +1,14 @@ # freeclimb.Model.Dequeue -The `Dequeue` command transfers control of a Call that is in a Queue so that the waiting caller exits the Queue. Execution continues with the first command in the PerCL script returned by the `actionUrl` specified in the `Enqueue` command. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | 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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Enqueue.md b/docs/Enqueue.md index 97dc0325..a989eb22 100644 --- a/docs/Enqueue.md +++ b/docs/Enqueue.md @@ -1,21 +1,18 @@ # freeclimb.Model.Enqueue -The `Enqueue` command adds the current Call to a call Queue. If the specified Queue does not exist, it is created and then the Call is added to it. The default maximum length of the queue is 100. This can be modified using the REST API. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. | **NotificationUrl** | **string** | URL to be invoked when the call enters the queue. The request to the URL contains the standard request parameters.This is a notification only; any PerCL returned will be ignored. | [optional] **QueueId** | **string** | ID of the Queue to which to add the Call. If the Queue does not exist, it will be created. The ID must start with QU followed by 40 hex characters. | **WaitUrl** | **string** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/EnqueueAllOf.md b/docs/EnqueueAllOf.md index f102125a..0d7b3e2a 100644 --- a/docs/EnqueueAllOf.md +++ b/docs/EnqueueAllOf.md @@ -1,19 +1,17 @@ # freeclimb.Model.EnqueueAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ActionUrl** | **string** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. | **NotificationUrl** | **string** | URL to be invoked when the call enters the queue. The request to the URL contains the standard request parameters.This is a notification only; any PerCL returned will be ignored. | [optional] **QueueId** | **string** | ID of the Queue to which to add the Call. If the Queue does not exist, it will be created. The ID must start with QU followed by 40 hex characters. | **WaitUrl** | **string** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/FilterLogsRequest.md b/docs/FilterLogsRequest.md index cf6b10bf..35c46014 100644 --- a/docs/FilterLogsRequest.md +++ b/docs/FilterLogsRequest.md @@ -1,16 +1,14 @@ # freeclimb.Model.FilterLogsRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Pql** | **string** | The filter query for retrieving logs. See **Performance Query Language** below. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/GetDigits.md b/docs/GetDigits.md index 5d4ab54a..d9af8be3 100644 --- a/docs/GetDigits.md +++ b/docs/GetDigits.md @@ -1,13 +1,10 @@ # freeclimb.Model.GetDigits -The `GetDigits` command collects DTMF inputs from the caller. It is only supported only when there is a single party on the Call. `GetDigits` is a Terminal Command — any actions following it are never executed. When the Caller is done entering the digits, FreeClimb submits that data to the provided `actionUrl` using an HTTP POST request. Your server will be required to respond to the FreeClimb Webhook with PerCL to continue handling the call. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | When the Caller has finished entering digits, FreeClimb will make an HTTP POST request to this URL. A PerCL response is expected to continue handling the Call. Make sure to keep “http://“ in the URL. | **DigitTimeoutMs** | **int** | Maximum time in milliseconds that FreeClimb will wait for the Caller to press any digit after the last digit entered, before making a determination that a `timeout` has occurred and moving on to make the request to the actionUrl to submit the results of the `GetDigits` command. This timeout interval begins and resets after each digit entered. | [optional] @@ -19,8 +16,8 @@ Name | Type | Description | Notes **Prompts** | [**List<PerclCommand>**](PerclCommand.md) | JSON array of PerCL commands to nest within the `GetDigits` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the Caller. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/GetDigitsAllOf.md b/docs/GetDigitsAllOf.md index 1a0e2589..70fd2bc6 100644 --- a/docs/GetDigitsAllOf.md +++ b/docs/GetDigitsAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.GetDigitsAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ActionUrl** | **string** | When the Caller has finished entering digits, FreeClimb will make an HTTP POST request to this URL. A PerCL response is expected to continue handling the Call. Make sure to keep “http://“ in the URL. | **DigitTimeoutMs** | **int** | Maximum time in milliseconds that FreeClimb will wait for the Caller to press any digit after the last digit entered, before making a determination that a `timeout` has occurred and moving on to make the request to the actionUrl to submit the results of the `GetDigits` command. This timeout interval begins and resets after each digit entered. | [optional] **FinishOnKey** | **string** | Digit that causes the input sequence to be deemed complete. This attribute defers to the `timeout` attribute – so, if a `timeout` occurs, then the command terminates regardless of the value of `finishOnKey`. | [optional] @@ -17,8 +15,8 @@ Name | Type | Description | Notes **Prompts** | [**List<PerclCommand>**](PerclCommand.md) | JSON array of PerCL commands to nest within the `GetDigits` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the Caller. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/GetSpeech.md b/docs/GetSpeech.md index 2c5a1603..0b176b31 100644 --- a/docs/GetSpeech.md +++ b/docs/GetSpeech.md @@ -1,13 +1,10 @@ # freeclimb.Model.GetSpeech -The `GetSpeech` command enables the Caller to respond to the application using a supported language. Unlike DTMF entry, which implicitly restricts the user to using the available buttons on the phone key pad, speech input allows for flexible audio inputs based on grammar. FreeClimb supports grammars written using GRXML compatible with the Microsoft Speech Platform. `GetSpeech` is only supported on a single call leg. It is not supported when there are two or more call legs connected (as in within a Conference). - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call. | **GrammarType** | **GrammarType** | | [optional] @@ -23,8 +20,8 @@ Name | Type | Description | Notes **SpeechIncompleteTimeoutMs** | **int** | Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance. | [optional] **PrivacyMode** | **bool** | Parameter privacyMode will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/GetSpeechAllOf.md b/docs/GetSpeechAllOf.md index 6ade619a..c2818b8e 100644 --- a/docs/GetSpeechAllOf.md +++ b/docs/GetSpeechAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.GetSpeechAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ActionUrl** | **string** | When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call. | **GrammarType** | **GrammarType** | | [optional] **GrammarFile** | **string** | The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL. | @@ -21,8 +19,8 @@ Name | Type | Description | Notes **SpeechIncompleteTimeoutMs** | **int** | Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance. | [optional] **PrivacyMode** | **bool** | Parameter privacyMode will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/GetSpeechReason.md b/docs/GetSpeechReason.md index 0072499a..c8271ce8 100644 --- a/docs/GetSpeechReason.md +++ b/docs/GetSpeechReason.md @@ -1,21 +1,19 @@ # freeclimb.Enums.GetSpeechReason - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**ERROR** | error | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**HANGUP** | hangup | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**DIGIT** | digit | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**NO_INPUT** | noInput | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods -**NO_MATCH** | noMatch | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods -**RECOGNITION** | recognition | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +**ERROR** | error | Represented in C# as 1 +**HANGUP** | hangup | Represented in C# as 2 +**DIGIT** | digit | Represented in C# as 3 +**NO_INPUT** | noInput | Represented in C# as 4 +**NO_MATCH** | noMatch | Represented in C# as 5 +**RECOGNITION** | recognition | Represented in C# as 6 + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/GrammarFileBuiltIn.md b/docs/GrammarFileBuiltIn.md index b4713e15..9978d20a 100644 --- a/docs/GrammarFileBuiltIn.md +++ b/docs/GrammarFileBuiltIn.md @@ -1,30 +1,28 @@ # freeclimb.Enums.GrammarFileBuiltIn - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**ALPHNUM6** | ALPHNUM6 | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**ANY_DIG** | ANY_DIG | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**DIG1** | DIG1 | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**DIG2** | DIG2 | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods -**DIG3** | DIG3 | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods -**DIG4** | DIG4 | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods -**DIG5** | DIG5 | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods -**DIG6** | DIG6 | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods -**DIG7** | DIG7 | Represented in C# as 9, but can be seralized & deserialized using the reflection and extension methods -**DIG8** | DIG8 | Represented in C# as 10, but can be seralized & deserialized using the reflection and extension methods -**DIG9** | DIG9 | Represented in C# as 11, but can be seralized & deserialized using the reflection and extension methods -**DIG10** | DIG10 | Represented in C# as 12, but can be seralized & deserialized using the reflection and extension methods -**DIG11** | DIG11 | Represented in C# as 13, but can be seralized & deserialized using the reflection and extension methods -**UP_TO_20_DIGIT_SEQUENCE** | UP_TO_20_DIGIT_SEQUENCE | Represented in C# as 14, but can be seralized & deserialized using the reflection and extension methods -**VERSAY_YESNO** | VERSAY_YESNO | Represented in C# as 15, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +**ALPHNUM6** | ALPHNUM6 | Represented in C# as 1 +**ANY_DIG** | ANY_DIG | Represented in C# as 2 +**DIG1** | DIG1 | Represented in C# as 3 +**DIG2** | DIG2 | Represented in C# as 4 +**DIG3** | DIG3 | Represented in C# as 5 +**DIG4** | DIG4 | Represented in C# as 6 +**DIG5** | DIG5 | Represented in C# as 7 +**DIG6** | DIG6 | Represented in C# as 8 +**DIG7** | DIG7 | Represented in C# as 9 +**DIG8** | DIG8 | Represented in C# as 10 +**DIG9** | DIG9 | Represented in C# as 11 +**DIG10** | DIG10 | Represented in C# as 12 +**DIG11** | DIG11 | Represented in C# as 13 +**UP_TO_20_DIGIT_SEQUENCE** | UP_TO_20_DIGIT_SEQUENCE | Represented in C# as 14 +**VERSAY_YESNO** | VERSAY_YESNO | Represented in C# as 15 + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/GrammarType.md b/docs/GrammarType.md index e2a632d5..2cfb843c 100644 --- a/docs/GrammarType.md +++ b/docs/GrammarType.md @@ -1,18 +1,15 @@ # freeclimb.Enums.GrammarType -The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**URL** | URL | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**BUILT_IN** | BUILTIN | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**URL** | URL | Represented in C# as 1 +**BUILT_IN** | BUILTIN | Represented in C# as 2 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Hangup.md b/docs/Hangup.md index 1175e665..a70f8798 100644 --- a/docs/Hangup.md +++ b/docs/Hangup.md @@ -1,18 +1,15 @@ # freeclimb.Model.Hangup -The `Hangup` command terminates a Call. If `Hangup` is used as the first action in a PerCL response, it does not prevent FreeClimb from answering the Call and billing your account. See the `Reject` command to hang up at no charge. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Reason** | **string** | The user defined reason for the hangup. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the Call flows for the given application. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/HangupAllOf.md b/docs/HangupAllOf.md index 3d444da9..598d9d09 100644 --- a/docs/HangupAllOf.md +++ b/docs/HangupAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.HangupAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Reason** | **string** | The user defined reason for the hangup. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the Call flows for the given application. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/IfMachine.md b/docs/IfMachine.md index 3a0a503c..12b4673e 100644 --- a/docs/IfMachine.md +++ b/docs/IfMachine.md @@ -1,18 +1,15 @@ # freeclimb.Enums.IfMachine -Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**REDIRECT** | redirect | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**HANGUP** | hangup | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**REDIRECT** | redirect | Represented in C# as 1 +**HANGUP** | hangup | Represented in C# as 2 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/IncomingNumberList.md b/docs/IncomingNumberList.md index 683e3081..7f0343b3 100644 --- a/docs/IncomingNumberList.md +++ b/docs/IncomingNumberList.md @@ -1,12 +1,10 @@ # freeclimb.Model.IncomingNumberList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **IncomingPhoneNumbers** | [**List<IncomingNumberResult>**](IncomingNumberResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/IncomingNumberListAllOf.md b/docs/IncomingNumberListAllOf.md index 7fc3788e..809b2f00 100644 --- a/docs/IncomingNumberListAllOf.md +++ b/docs/IncomingNumberListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.IncomingNumberListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **IncomingPhoneNumbers** | [**List<IncomingNumberResult>**](IncomingNumberResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/IncomingNumberRequest.md b/docs/IncomingNumberRequest.md index 1b9257db..545d0b41 100644 --- a/docs/IncomingNumberRequest.md +++ b/docs/IncomingNumberRequest.md @@ -1,17 +1,15 @@ # freeclimb.Model.IncomingNumberRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ApplicationId** | **string** | ID of the Application that should handle calls to this number. | [optional] **Alias** | **string** | Description for this phone number. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/IncomingNumberResult.md b/docs/IncomingNumberResult.md index f0db231d..39e4567b 100644 --- a/docs/IncomingNumberResult.md +++ b/docs/IncomingNumberResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.IncomingNumberResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -24,8 +22,8 @@ Name | Type | Description | Notes **SmsEnabled** | **bool?** | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. | [optional] **Offnet** | **bool?** | The offnet field is a boolean representing whether the number is offnet registered or not. This field will be rendered only for requests to the IncomingPhone number resource. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/IncomingNumberResultAllOf.md b/docs/IncomingNumberResultAllOf.md index bedf7e7c..cbcd2990 100644 --- a/docs/IncomingNumberResultAllOf.md +++ b/docs/IncomingNumberResultAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.IncomingNumberResultAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Capabilities** | [**Capabilities**](Capabilities.md) | | [optional] **CampaignId** | **string** | The campaign ID generated by the campaign registry | [optional] **PhoneNumberId** | **string** | String that uniquely identifies this phone number resource. | [optional] @@ -20,8 +18,8 @@ Name | Type | Description | Notes **SmsEnabled** | **bool?** | Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. | [optional] **Offnet** | **bool?** | The offnet field is a boolean representing whether the number is offnet registered or not. This field will be rendered only for requests to the IncomingPhone number resource. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Language.md b/docs/Language.md index 047be44a..0238b2ce 100644 --- a/docs/Language.md +++ b/docs/Language.md @@ -1,41 +1,39 @@ # freeclimb.Enums.Language - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**CATALAN** | ca-ES | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**DANISH** | da-DK | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**GERMAN** | de-DE | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**ENGLISH_AU** | en-AU | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods -**ENGLISH_CA** | en-CA | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods -**ENGLISH_UK** | en-GB | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods -**ENGLISH_IN** | en-IN | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods -**ENGLISH_US** | en-US | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods -**ENGLISH_ES** | es-ES | Represented in C# as 9, but can be seralized & deserialized using the reflection and extension methods -**ENGLISH_MX** | es-MX | Represented in C# as 10, but can be seralized & deserialized using the reflection and extension methods -**FINNISH** | fi-FI | Represented in C# as 11, but can be seralized & deserialized using the reflection and extension methods -**FRENCH_CA** | fr-CA | Represented in C# as 12, but can be seralized & deserialized using the reflection and extension methods -**FRENCH_FR** | fr-FR | Represented in C# as 13, but can be seralized & deserialized using the reflection and extension methods -**ITALIAN** | it-IT | Represented in C# as 14, but can be seralized & deserialized using the reflection and extension methods -**JAPANESE** | ja-JP | Represented in C# as 15, but can be seralized & deserialized using the reflection and extension methods -**KOREAN** | ko-KR | Represented in C# as 16, but can be seralized & deserialized using the reflection and extension methods -**NORWEGIAN** | nb-NO | Represented in C# as 17, but can be seralized & deserialized using the reflection and extension methods -**DUTCH** | nl-NL | Represented in C# as 18, but can be seralized & deserialized using the reflection and extension methods -**POLISH** | pl-PL | Represented in C# as 19, but can be seralized & deserialized using the reflection and extension methods -**PORTUGESE_BR** | pt-BR | Represented in C# as 20, but can be seralized & deserialized using the reflection and extension methods -**PORTUGESE_PT** | pt-PT | Represented in C# as 21, but can be seralized & deserialized using the reflection and extension methods -**RUSSIAN** | ru-RU | Represented in C# as 22, but can be seralized & deserialized using the reflection and extension methods -**SWEDISH** | sv-SE | Represented in C# as 23, but can be seralized & deserialized using the reflection and extension methods -**CHINESE_CN** | zh-CN | Represented in C# as 24, but can be seralized & deserialized using the reflection and extension methods -**CHINESE_HK** | zh-HK | Represented in C# as 25, but can be seralized & deserialized using the reflection and extension methods -**CHINESE_TW** | zh-TW | Represented in C# as 26, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +**CATALAN** | ca-ES | Represented in C# as 1 +**DANISH** | da-DK | Represented in C# as 2 +**GERMAN** | de-DE | Represented in C# as 3 +**ENGLISH_AU** | en-AU | Represented in C# as 4 +**ENGLISH_CA** | en-CA | Represented in C# as 5 +**ENGLISH_UK** | en-GB | Represented in C# as 6 +**ENGLISH_IN** | en-IN | Represented in C# as 7 +**ENGLISH_US** | en-US | Represented in C# as 8 +**ENGLISH_ES** | es-ES | Represented in C# as 9 +**ENGLISH_MX** | es-MX | Represented in C# as 10 +**FINNISH** | fi-FI | Represented in C# as 11 +**FRENCH_CA** | fr-CA | Represented in C# as 12 +**FRENCH_FR** | fr-FR | Represented in C# as 13 +**ITALIAN** | it-IT | Represented in C# as 14 +**JAPANESE** | ja-JP | Represented in C# as 15 +**KOREAN** | ko-KR | Represented in C# as 16 +**NORWEGIAN** | nb-NO | Represented in C# as 17 +**DUTCH** | nl-NL | Represented in C# as 18 +**POLISH** | pl-PL | Represented in C# as 19 +**PORTUGESE_BR** | pt-BR | Represented in C# as 20 +**PORTUGESE_PT** | pt-PT | Represented in C# as 21 +**RUSSIAN** | ru-RU | Represented in C# as 22 +**SWEDISH** | sv-SE | Represented in C# as 23 +**CHINESE_CN** | zh-CN | Represented in C# as 24 +**CHINESE_HK** | zh-HK | Represented in C# as 25 +**CHINESE_TW** | zh-TW | Represented in C# as 26 + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/LogLevel.md b/docs/LogLevel.md index 173083ed..23c3dc6a 100644 --- a/docs/LogLevel.md +++ b/docs/LogLevel.md @@ -1,19 +1,16 @@ # freeclimb.Enums.LogLevel -Level of the log. Possible values are info, warning, and error. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**INFO** | info | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**WARNING** | warning | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**ERROR** | error | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**INFO** | info | Represented in C# as 1 +**WARNING** | warning | Represented in C# as 2 +**ERROR** | error | Represented in C# as 3 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/LogList.md b/docs/LogList.md index bba75589..9374b1f0 100644 --- a/docs/LogList.md +++ b/docs/LogList.md @@ -1,12 +1,10 @@ # freeclimb.Model.LogList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Logs** | [**List<LogResult>**](LogResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/LogListAllOf.md b/docs/LogListAllOf.md index 9ab78753..e213b205 100644 --- a/docs/LogListAllOf.md +++ b/docs/LogListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.LogListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Logs** | [**List<LogResult>**](LogResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/LogResult.md b/docs/LogResult.md index dba0e96a..c4761502 100644 --- a/docs/LogResult.md +++ b/docs/LogResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.LogResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Timestamp** | **int?** | Time that the log was generated. The time is represented as microseconds since the Unix Epoch. | [optional] **Level** | **LogLevel** | | [optional] **RequestId** | **string** | ID of the request associated with the log. The requestId is propagated across all logs generated by FreeClimb when processing a request. | [optional] @@ -15,8 +13,8 @@ Name | Type | Description | Notes **Message** | **string** | A simple string describing the event being logged. | [optional] **Metadata** | **Object** | JSON document containing metadata about the event. Some log messages may include request and response header content in this field. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/MachineType.md b/docs/MachineType.md index eb7cccf4..dec9d341 100644 --- a/docs/MachineType.md +++ b/docs/MachineType.md @@ -1,17 +1,15 @@ # freeclimb.Enums.MachineType - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**ANSWERING_MACHINE** | answeringMachine | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**FAX_MACHINE** | faxMachine | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**ANSWERING_MACHINE** | answeringMachine | Represented in C# as 1 +**FAX_MACHINE** | faxMachine | Represented in C# as 2 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/MakeCallRequest.md b/docs/MakeCallRequest.md index c59e0467..4a9ec19f 100644 --- a/docs/MakeCallRequest.md +++ b/docs/MakeCallRequest.md @@ -1,12 +1,10 @@ # freeclimb.Model.MakeCallRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **From** | **string** | Phone number to use as the caller ID. This can be: (a) The To or From number provided in FreeClimb's initial request to your app or (b) Any incoming phone number you have purchased from FreeClimb. | **To** | **string** | Phone number to place the Call to. | **ApplicationId** | **string** | Required if no `parentCallId` or `callConnectUrl` has been provided. ID of the application FreeClimb should use to handle this phone call. FreeClimb will use the `callConnectUrl` and `statusCallbackUrl` set on the application unless the `callConnectUrl` attribute is also provided with the request. In this case, the URL specified in that `callConnectUrl` attribute will be used as a replacement of the `callConnectUrl` originally assigned in the application. If the `callConnectUrl` is not set as either an attribute of the request or as part of the specified application, an error will be provided. The application’s voiceUrl parameter is not used for outbound calls. | [optional] @@ -18,8 +16,8 @@ Name | Type | Description | Notes **PrivacyMode** | **bool** | Activate privacy mode in order to obscure log data that can potentially expose private information. | [optional] **CallConnectUrl** | **string** | The URL that FreeClimb should use to handle this phone call. If an applicationId or parentCallId have already been provided, this callConnectUrl attribute will be used as a replacement of the callConnectUrl originally assigned in the application or parent 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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/MessageDirection.md b/docs/MessageDirection.md index c3482de5..0c2f0006 100644 --- a/docs/MessageDirection.md +++ b/docs/MessageDirection.md @@ -1,17 +1,15 @@ # freeclimb.Enums.MessageDirection - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**INBOUND** | inbound | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**OUTBOUND** | outbound | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**INBOUND** | inbound | Represented in C# as 1 +**OUTBOUND** | outbound | Represented in C# as 2 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/MessageRequest.md b/docs/MessageRequest.md index 1f278481..233942da 100644 --- a/docs/MessageRequest.md +++ b/docs/MessageRequest.md @@ -1,12 +1,10 @@ # freeclimb.Model.MessageRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -17,8 +15,8 @@ Name | Type | Description | Notes **NotificationUrl** | **string** | 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] **AccountId** | **string** | String that uniquely identifies this account resource. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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 4ab0a791..5bf08899 100644 --- a/docs/MessageRequestAllOf.md +++ b/docs/MessageRequestAllOf.md @@ -1,20 +1,18 @@ # freeclimb.Model.MessageRequestAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **From** | **string** | Phone number to use as the sender. This must be an incoming phone number that you have purchased from FreeClimb. | **To** | **string** | Phone number to receive the message. Must be within FreeClimb's service area. | **Text** | **string** | Text contained in the message (maximum 160 characters). **Note:** For text, only ASCII characters are supported. | **NotificationUrl** | **string** | 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] **AccountId** | **string** | String that uniquely identifies this account resource. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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 df823734..41829c35 100644 --- a/docs/MessageResult.md +++ b/docs/MessageResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.MessageResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -20,8 +18,8 @@ Name | Type | Description | Notes **Direction** | **string** | Noting whether the message was inbound or outbound | [optional] **NotificationUrl** | **string** | URL invoked when message sent | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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 5e11ef9d..1b3a2ee1 100644 --- a/docs/MessageResultAllOf.md +++ b/docs/MessageResultAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.MessageResultAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **AccountId** | **string** | String that uniquely identifies this account resource. | [optional] **MessageId** | **string** | String that uniquely identifies this message resource | [optional] **Status** | **MessageStatus** | | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **Direction** | **string** | Noting whether the message was inbound or outbound | [optional] **NotificationUrl** | **string** | URL invoked when message sent | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/MessageStatus.md b/docs/MessageStatus.md index 6fb39052..05a1f8f8 100644 --- a/docs/MessageStatus.md +++ b/docs/MessageStatus.md @@ -1,27 +1,24 @@ # freeclimb.Enums.MessageStatus -Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**NEW** | new | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**QUEUED** | queued | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**REJECTED** | rejected | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**SENDING** | sending | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods -**SENT** | sent | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods -**FAILED** | failed | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods -**RECEIVED** | received | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods -**UNDELIVERED** | undelivered | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods -**EXPIRED** | expired | Represented in C# as 9, but can be seralized & deserialized using the reflection and extension methods -**DELETED** | deleted | Represented in C# as 10, but can be seralized & deserialized using the reflection and extension methods -**UNKNOWN** | unknown | Represented in C# as 11, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +**NEW** | new | Represented in C# as 1 +**QUEUED** | queued | Represented in C# as 2 +**REJECTED** | rejected | Represented in C# as 3 +**SENDING** | sending | Represented in C# as 4 +**SENT** | sent | Represented in C# as 5 +**FAILED** | failed | Represented in C# as 6 +**RECEIVED** | received | Represented in C# as 7 +**UNDELIVERED** | undelivered | Represented in C# as 8 +**EXPIRED** | expired | Represented in C# as 9 +**DELETED** | deleted | Represented in C# as 10 +**UNKNOWN** | unknown | Represented in C# as 11 + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/MessagesList.md b/docs/MessagesList.md index 130aa98f..ef09f838 100644 --- a/docs/MessagesList.md +++ b/docs/MessagesList.md @@ -1,12 +1,10 @@ # freeclimb.Model.MessagesList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Messages** | [**List<MessageResult>**](MessageResult.md) | Array of messages | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/MessagesListAllOf.md b/docs/MessagesListAllOf.md index 5824e024..24c195c2 100644 --- a/docs/MessagesListAllOf.md +++ b/docs/MessagesListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.MessagesListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Messages** | [**List<MessageResult>**](MessageResult.md) | Array of messages | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/MutableResourceModel.md b/docs/MutableResourceModel.md index fa783c17..7d4ae71b 100644 --- a/docs/MutableResourceModel.md +++ b/docs/MutableResourceModel.md @@ -1,19 +1,17 @@ # freeclimb.Model.MutableResourceModel - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | 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] - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/OutDial.md b/docs/OutDial.md index 19c943cd..a20e7d72 100644 --- a/docs/OutDial.md +++ b/docs/OutDial.md @@ -1,13 +1,10 @@ # freeclimb.Model.OutDial -The OutDial command is used to call a phone number - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | URL to which FreeClimb sends an HTTP POST request. | **CallConnectUrl** | **string** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. | @@ -20,8 +17,8 @@ Name | Type | Description | Notes **Timeout** | **int** | Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/OutDialAllOf.md b/docs/OutDialAllOf.md index 9601b887..b9ae0ad9 100644 --- a/docs/OutDialAllOf.md +++ b/docs/OutDialAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.OutDialAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ActionUrl** | **string** | URL to which FreeClimb sends an HTTP POST request. | **CallConnectUrl** | **string** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. | **CallingNumber** | **decimal** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. | @@ -18,8 +16,8 @@ Name | Type | Description | Notes **Timeout** | **int** | Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/PaginationModel.md b/docs/PaginationModel.md index f79fdadb..ae2d7034 100644 --- a/docs/PaginationModel.md +++ b/docs/PaginationModel.md @@ -1,12 +1,10 @@ # freeclimb.Model.PaginationModel - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -15,8 +13,8 @@ Name | Type | Description | Notes **PageSize** | **int?** | Number of items per page | [optional] **NextPageUri** | **string** | Uri to retrieve the next page of items | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Park.md b/docs/Park.md index 5ad563de..124c6057 100644 --- a/docs/Park.md +++ b/docs/Park.md @@ -1,20 +1,17 @@ # freeclimb.Model.Park -The `Park` command allows a caller to be put on hold. You can provide hold music,messages,etc until ready to resume the call. Park is a terminal command. Actions performed on the Call while on hold are provided in a PerCL script in response to the waitUrl property. Actions performed on the Call after it has been unparked (resumed) will be provided in a PerCL script in response to the actionUrl provided. A Call can be resumed in two ways - - REST API invocation or the Unpark percl command. No actions can be nested within Park and Park cannot be nested in any other actions. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **WaitUrl** | **string** | Specifies a URL pointing to a PerCL script containing actions to be executed while the caller is Parked. Once the script returned by the waitUrl runs out of commands to execute, FreeClimb will re-request the waitUrl and start over, essentially looping the script requests indefinitely. | **ActionUrl** | **string** | A request is made to this URL when the Call is resumed, which can occur if the Call is resumed via the Unpark command, the REST API (POST to Call resource), or the caller hangs up. The PerCL script returned in response to the actionUrl will be executed on the resumed call. | **NotificationUrl** | **string** | URL to be invoked when the Call is parked. The request to the URL contains the standard request parameters. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/ParkAllOf.md b/docs/ParkAllOf.md index eb429433..892cb8ca 100644 --- a/docs/ParkAllOf.md +++ b/docs/ParkAllOf.md @@ -1,18 +1,16 @@ # freeclimb.Model.ParkAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **WaitUrl** | **string** | Specifies a URL pointing to a PerCL script containing actions to be executed while the caller is Parked. Once the script returned by the waitUrl runs out of commands to execute, FreeClimb will re-request the waitUrl and start over, essentially looping the script requests indefinitely. | **ActionUrl** | **string** | A request is made to this URL when the Call is resumed, which can occur if the Call is resumed via the Unpark command, the REST API (POST to Call resource), or the caller hangs up. The PerCL script returned in response to the actionUrl will be executed on the resumed call. | **NotificationUrl** | **string** | URL to be invoked when the Call is parked. The request to the URL contains the standard request parameters. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Pause.md b/docs/Pause.md index c2599df4..ea5e9783 100644 --- a/docs/Pause.md +++ b/docs/Pause.md @@ -1,18 +1,15 @@ # freeclimb.Model.Pause -The `Pause` command halts execution of the current PerCL script for a specified number of milliseconds. If `Pause` is the first command in a PerCL document, FreeClimb will wait for the specified time to elapse before picking up the call. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Length** | **int** | Length in milliseconds. FreeClimb will wait silently before continuing on. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/PauseAllOf.md b/docs/PauseAllOf.md index cdbb88b4..54d1e13d 100644 --- a/docs/PauseAllOf.md +++ b/docs/PauseAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.PauseAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Length** | **int** | Length in milliseconds. FreeClimb will wait silently before continuing on. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/PerclCommand.md b/docs/PerclCommand.md index faa87c81..71fff235 100644 --- a/docs/PerclCommand.md +++ b/docs/PerclCommand.md @@ -1,17 +1,14 @@ # freeclimb.Model.PerclCommand -An individual command used in a PerCLScript. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | 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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/PerclScript.md b/docs/PerclScript.md index 57102d03..5f9f6d61 100644 --- a/docs/PerclScript.md +++ b/docs/PerclScript.md @@ -1,17 +1,14 @@ # freeclimb.Model.PerclScript -A PerCL script to be returned to the FreeClimb servers in FreeClimb applications - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Commands** | [**List<PerclCommand>**](PerclCommand.md) | A JSON array of PerCL commands | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Play.md b/docs/Play.md index 47c23819..fecdf4d7 100644 --- a/docs/Play.md +++ b/docs/Play.md @@ -1,21 +1,18 @@ # freeclimb.Model.Play -The `Play` command plays an audio file back to the caller. The audio file may be located at any location accessible via a URL. `Play` can exist as a stand-alone command or as a nested command. It does not allow barge-in unless nested within a `GetSpeech` command. The file will always be played to completion unless nested. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **File** | **string** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands. | **Loop** | **int** | Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up. | [optional] **ConferenceId** | **string** | ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/PlayAllOf.md b/docs/PlayAllOf.md index 056a77a3..fecf245c 100644 --- a/docs/PlayAllOf.md +++ b/docs/PlayAllOf.md @@ -1,19 +1,17 @@ # freeclimb.Model.PlayAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **File** | **string** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands. | **Loop** | **int** | Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up. | [optional] **ConferenceId** | **string** | ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/PlayBeep.md b/docs/PlayBeep.md index 17c2681b..ad600824 100644 --- a/docs/PlayBeep.md +++ b/docs/PlayBeep.md @@ -1,20 +1,17 @@ # freeclimb.Enums.PlayBeep -Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**ALWAYS** | always | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**NEVER** | never | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**ENTRY_ONLY** | entryOnly | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**EXIT_ONLY** | exitOnly | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**ALWAYS** | always | Represented in C# as 1 +**NEVER** | never | Represented in C# as 2 +**ENTRY_ONLY** | entryOnly | Represented in C# as 3 +**EXIT_ONLY** | exitOnly | Represented in C# as 4 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/PlayEarlyMedia.md b/docs/PlayEarlyMedia.md index c78378a8..06e1346d 100644 --- a/docs/PlayEarlyMedia.md +++ b/docs/PlayEarlyMedia.md @@ -1,18 +1,15 @@ # freeclimb.Model.PlayEarlyMedia -`PlayEarlyMedia` is relevant only when present as the very first command in the PerCL script returned for an incoming Call. In such cases, the command is executed before FreeClimb attempts to connect the call. The audio file it uses can be stored in any location that is accessible via URL. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **File** | **string** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands or any accessible URL. FreeClimb will respect Cache-Control headers for this file. Use these to limit repeated requests for unchanged audio. If no Cache-Control header is provided, the file will be cached for seven days by default. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/PlayEarlyMediaAllOf.md b/docs/PlayEarlyMediaAllOf.md index ed4d80da..e45f1281 100644 --- a/docs/PlayEarlyMediaAllOf.md +++ b/docs/PlayEarlyMediaAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.PlayEarlyMediaAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **File** | **string** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands or any accessible URL. FreeClimb will respect Cache-Control headers for this file. Use these to limit repeated requests for unchanged audio. If no Cache-Control header is provided, the file will be cached for seven days by default. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/QueueList.md b/docs/QueueList.md index f97bed18..e09a766e 100644 --- a/docs/QueueList.md +++ b/docs/QueueList.md @@ -1,12 +1,10 @@ # freeclimb.Model.QueueList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Queues** | [**List<QueueResult>**](QueueResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/QueueListAllOf.md b/docs/QueueListAllOf.md index 493a62b0..2d79db90 100644 --- a/docs/QueueListAllOf.md +++ b/docs/QueueListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.QueueListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Queues** | [**List<QueueResult>**](QueueResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/QueueMember.md b/docs/QueueMember.md index 77c5947d..04f1b904 100644 --- a/docs/QueueMember.md +++ b/docs/QueueMember.md @@ -1,20 +1,18 @@ # freeclimb.Model.QueueMember - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | URI for this Queue Member resource, relative to the API base URL. | [optional] **CallId** | **string** | ID of the Call associated with this Queue Member. | [optional] **WaitTime** | **int?** | Number of seconds the Member has been in the queue. | [optional] **Position** | **int?** | Member's current position in the Queue, 1 indexed. | [optional] **DateEnqueued** | **string** | Date that the Member was enqueued (GMT), given in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/QueueMemberList.md b/docs/QueueMemberList.md index c7266986..72fed79c 100644 --- a/docs/QueueMemberList.md +++ b/docs/QueueMemberList.md @@ -1,12 +1,10 @@ # freeclimb.Model.QueueMemberList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **QueueMembers** | [**List<QueueMember>**](QueueMember.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/QueueMemberListAllOf.md b/docs/QueueMemberListAllOf.md index e61be67d..7ac975d5 100644 --- a/docs/QueueMemberListAllOf.md +++ b/docs/QueueMemberListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.QueueMemberListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **QueueMembers** | [**List<QueueMember>**](QueueMember.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/QueueRequest.md b/docs/QueueRequest.md index d30e2125..e343e5b6 100644 --- a/docs/QueueRequest.md +++ b/docs/QueueRequest.md @@ -1,17 +1,15 @@ # freeclimb.Model.QueueRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Alias** | **string** | Description for this Queue. Max length is 64 characters. | [optional] **MaxSize** | **int** | Maximum number of calls this queue can hold. Default is 100. Maximum is 1000. **Note:** Reducing the maxSize of a Queue causes the Queue to reject incoming requests until it shrinks below the new value of maxSize. | [optional] [default to 100] - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/QueueResult.md b/docs/QueueResult.md index 022a95d2..da572441 100644 --- a/docs/QueueResult.md +++ b/docs/QueueResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.QueueResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -19,8 +17,8 @@ Name | Type | Description | Notes **AverageQueueRemovalTime** | **int?** | The average amount of time (in seconds) for a call to be removed from the queue. | [optional] **SubresourceUris** | **Object** | List of subresources for this Queue (which includes Queue members). | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/QueueResultAllOf.md b/docs/QueueResultAllOf.md index d402d6dc..f433563f 100644 --- a/docs/QueueResultAllOf.md +++ b/docs/QueueResultAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.QueueResultAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **AccountId** | **string** | ID of the account that created this Queue. | [optional] **QueueId** | **string** | A string that uniquely identifies this Queue resource. | [optional] **Alias** | **string** | A description for this Queue. | [optional] @@ -15,8 +13,8 @@ Name | Type | Description | Notes **AverageQueueRemovalTime** | **int?** | The average amount of time (in seconds) for a call to be removed from the queue. | [optional] **SubresourceUris** | **Object** | List of subresources for this Queue (which includes Queue members). | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/QueueResultStatus.md b/docs/QueueResultStatus.md index 5950e81c..5aca5d97 100644 --- a/docs/QueueResultStatus.md +++ b/docs/QueueResultStatus.md @@ -1,19 +1,17 @@ # freeclimb.Enums.QueueResultStatus - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**QUEUE_FULL** | queueFull | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**DEQUEUED** | dequeued | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**HANGUP** | hangup | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**SYSTEM_ERROR** | systemError | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**QUEUE_FULL** | queueFull | Represented in C# as 1 +**DEQUEUED** | dequeued | Represented in C# as 2 +**HANGUP** | hangup | Represented in C# as 3 +**SYSTEM_ERROR** | systemError | Represented in C# as 4 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RecordUtterance.md b/docs/RecordUtterance.md index 62e6383f..184ca1b2 100644 --- a/docs/RecordUtterance.md +++ b/docs/RecordUtterance.md @@ -1,13 +1,10 @@ # freeclimb.Model.RecordUtterance -The `RecordUtterance` command records the caller's voice and returns the URL of a file containing the audio recording. `RecordUtterance` is blocking and is a terminal command. As such, the `actionUrl` property is required, and control of the Call picks up using the PerCL returned in response to the `actionUrl`. Recording information is returned in the `actionUrl` request. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | URL to which information on the completed recording is submitted. The PerCL received in response is then used to continue with Call processing. | **SilenceTimeoutMs** | **int** | Interval of silence that should elapse before ending the recording. | [optional] @@ -17,8 +14,8 @@ Name | Type | Description | Notes **AutoStart** | **bool** | If `false`, recording begins immediately after the RecordUtterance command is processed. If `true`, recording begins when audio is present and if audio begins before the `maxLengthSec` timeout. If no audio begins before `maxLengthSec`, no recording is generated. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RecordUtteranceAllOf.md b/docs/RecordUtteranceAllOf.md index 9ce85a55..46777f37 100644 --- a/docs/RecordUtteranceAllOf.md +++ b/docs/RecordUtteranceAllOf.md @@ -1,12 +1,10 @@ # freeclimb.Model.RecordUtteranceAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ActionUrl** | **string** | URL to which information on the completed recording is submitted. The PerCL received in response is then used to continue with Call processing. | **SilenceTimeoutMs** | **int** | Interval of silence that should elapse before ending the recording. | [optional] **FinishOnKey** | **string** | Key that triggers the end of the recording. any digit, '#', or '*' | [optional] @@ -15,8 +13,8 @@ Name | Type | Description | Notes **AutoStart** | **bool** | If `false`, recording begins immediately after the RecordUtterance command is processed. If `true`, recording begins when audio is present and if audio begins before the `maxLengthSec` timeout. If no audio begins before `maxLengthSec`, no recording is generated. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RecordUtteranceTermReason.md b/docs/RecordUtteranceTermReason.md index 428eaba2..8daa8d0c 100644 --- a/docs/RecordUtteranceTermReason.md +++ b/docs/RecordUtteranceTermReason.md @@ -1,19 +1,17 @@ # freeclimb.Enums.RecordUtteranceTermReason - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**FINISH_KEY** | finishKey | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**TIMEOUT** | timeout | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**HANGUP** | hangup | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**MAX_LENGTH** | maxLength | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**FINISH_KEY** | finishKey | Represented in C# as 1 +**TIMEOUT** | timeout | Represented in C# as 2 +**HANGUP** | hangup | Represented in C# as 3 +**MAX_LENGTH** | maxLength | Represented in C# as 4 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RecordingList.md b/docs/RecordingList.md index 9dac0fed..eb95b388 100644 --- a/docs/RecordingList.md +++ b/docs/RecordingList.md @@ -1,12 +1,10 @@ # freeclimb.Model.RecordingList - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Total** | **int?** | Total amount of requested resource. | [optional] **Start** | **int?** | Resource index at start of current page | [optional] **End** | **int?** | Resource index at end of current page | [optional] @@ -16,8 +14,8 @@ Name | Type | Description | Notes **NextPageUri** | **string** | Uri to retrieve the next page of items | [optional] **Recordings** | [**List<RecordingResult>**](RecordingResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RecordingListAllOf.md b/docs/RecordingListAllOf.md index 33b39e21..06802471 100644 --- a/docs/RecordingListAllOf.md +++ b/docs/RecordingListAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.RecordingListAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Recordings** | [**List<RecordingResult>**](RecordingResult.md) | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RecordingResult.md b/docs/RecordingResult.md index f86a9411..f842d428 100644 --- a/docs/RecordingResult.md +++ b/docs/RecordingResult.md @@ -1,12 +1,10 @@ # freeclimb.Model.RecordingResult - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Uri** | **string** | The URI for this resource, relative to /apiserver. | [optional] **DateCreated** | **string** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] **DateUpdated** | **string** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional] @@ -17,8 +15,8 @@ Name | Type | Description | Notes **DurationSec** | **int?** | Length of the recording in seconds. | [optional] **ConferenceId** | **string** | ID of the Conference that was recorded. If a Call was recorded, this value is empty and the callId property is populated. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RecordingResultAllOf.md b/docs/RecordingResultAllOf.md index 0b78321e..313d35fc 100644 --- a/docs/RecordingResultAllOf.md +++ b/docs/RecordingResultAllOf.md @@ -1,20 +1,18 @@ # freeclimb.Model.RecordingResultAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **RecordingId** | **string** | String that uniquely identifies this recording resource. | [optional] **AccountId** | **string** | ID of the account that created this recording. | [optional] **CallId** | **string** | ID of the Call that was recorded. If a Conference was recorded, this value is empty and the conferenceId property is populated. | [optional] **DurationSec** | **int?** | Length of the recording in seconds. | [optional] **ConferenceId** | **string** | ID of the Conference that was recorded. If a Call was recorded, this value is empty and the callId property is populated. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Redirect.md b/docs/Redirect.md index 75d0086b..38b8dc73 100644 --- a/docs/Redirect.md +++ b/docs/Redirect.md @@ -1,18 +1,15 @@ # freeclimb.Model.Redirect -The `Redirect` command transfers control of a Call to the PerCL at a different URL. `Redirect` is a terminal command, so any actions following it are never executed. The maximum number of redirections allowed during the life time of a Call is 256. This is intended to prevent a Call from possibly looping infinitely due to errors in PerCL being generated. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ActionUrl** | **string** | URL to request a new PerCL script to continue with the current Call's processing. When `Redirect` invokes the `actionUrl`, an `inbound` Webhook is sent. This request therefore looks identical to the initial request (made to the `voiceUrl` of the number that was called) for an inbound Call. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RedirectAllOf.md b/docs/RedirectAllOf.md index 8955ab97..18c6ad2c 100644 --- a/docs/RedirectAllOf.md +++ b/docs/RedirectAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.RedirectAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ActionUrl** | **string** | URL to request a new PerCL script to continue with the current Call's processing. When `Redirect` invokes the `actionUrl`, an `inbound` Webhook is sent. This request therefore looks identical to the initial request (made to the `voiceUrl` of the number that was called) for an inbound Call. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Reject.md b/docs/Reject.md index 279c2ee9..363415ea 100644 --- a/docs/Reject.md +++ b/docs/Reject.md @@ -1,18 +1,15 @@ # freeclimb.Model.Reject -The `Reject` command blocks an incoming Call. Using `Reject` is the only way to prevent FreeClimb from answering a Call. Any other response will result in an answered Call and your account will be billed. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Reason** | **string** | Reason for the rejection. This can be any string value. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the call flows for the given application. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RejectAllOf.md b/docs/RejectAllOf.md index 2d338a33..e6e1532d 100644 --- a/docs/RejectAllOf.md +++ b/docs/RejectAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.RejectAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Reason** | **string** | Reason for the rejection. This can be any string value. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the call flows for the given application. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RemoveFromConference.md b/docs/RemoveFromConference.md index b1340a00..802ebfc9 100644 --- a/docs/RemoveFromConference.md +++ b/docs/RemoveFromConference.md @@ -1,18 +1,15 @@ # freeclimb.Model.RemoveFromConference -The `RemoveFromConference` command removes a Participant from a Conference but does not hang up. Instead, the Call is simply unbridged and what happens next with the Call is determined by the PerCL returned in response to the `leaveConferenceUrl` attribute. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **CallId** | **string** | ID of the Call leg to be removed from the Conference. The Call must be in a Conference or an error will be triggered. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RemoveFromConferenceAllOf.md b/docs/RemoveFromConferenceAllOf.md index b99f3632..b5847043 100644 --- a/docs/RemoveFromConferenceAllOf.md +++ b/docs/RemoveFromConferenceAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.RemoveFromConferenceAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **CallId** | **string** | ID of the Call leg to be removed from the Conference. The Call must be in a Conference or an error will be triggered. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/RequestType.md b/docs/RequestType.md index 86911761..c2db7b3f 100644 --- a/docs/RequestType.md +++ b/docs/RequestType.md @@ -1,38 +1,36 @@ # freeclimb.Enums.RequestType - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**INBOUND_CALL** | inboundCall | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**RECORD** | record | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods -**GET_DIGITS** | getDigits | Represented in C# as 3, but can be seralized & deserialized using the reflection and extension methods -**GET_SPEECH** | getSpeech | Represented in C# as 4, but can be seralized & deserialized using the reflection and extension methods -**REDIRECT** | redirect | Represented in C# as 5, but can be seralized & deserialized using the reflection and extension methods -**PAUSE** | pause | Represented in C# as 6, but can be seralized & deserialized using the reflection and extension methods -**OUT_DIAL_START** | outDialStart | Represented in C# as 7, but can be seralized & deserialized using the reflection and extension methods -**OUT_DIAL_CONNECT** | outDialConnect | Represented in C# as 8, but can be seralized & deserialized using the reflection and extension methods -**OUT_DIAL_API_CONNECT** | outDialApiConnect | Represented in C# as 9, but can be seralized & deserialized using the reflection and extension methods -**MACHINE_DETECTED** | machineDetected | Represented in C# as 10, but can be seralized & deserialized using the reflection and extension methods -**DEQUEUE** | dequeue | Represented in C# as 11, but can be seralized & deserialized using the reflection and extension methods -**QUEUE_WAIT** | queueWait | Represented in C# as 12, but can be seralized & deserialized using the reflection and extension methods -**ADD_TO_QUEUE_NOTIFICATION** | addToQueueNotification | Represented in C# as 13, but can be seralized & deserialized using the reflection and extension methods -**REMOVE_FROM_QUEUE_NOTIFICATION** | removeFromQueueNotification | Represented in C# as 14, but can be seralized & deserialized using the reflection and extension methods -**CALL_STATUS** | callStatus | Represented in C# as 15, but can be seralized & deserialized using the reflection and extension methods -**CREATE_CONFERENCE** | createConference | Represented in C# as 16, but can be seralized & deserialized using the reflection and extension methods -**CONFERENCE_STATUS** | conferenceStatus | Represented in C# as 17, but can be seralized & deserialized using the reflection and extension methods -**LEAVE_CONFERENCE** | leaveConference | Represented in C# as 18, but can be seralized & deserialized using the reflection and extension methods -**ADD_TO_CONFERENCE_NOTIFICATION** | addToConferenceNotification | Represented in C# as 19, but can be seralized & deserialized using the reflection and extension methods -**CONFERENCE_RECORDING_STATUS** | conferenceRecordingStatus | Represented in C# as 20, but can be seralized & deserialized using the reflection and extension methods -**CONFERENCE_CALL_CONTROL** | conferenceCallControl | Represented in C# as 21, but can be seralized & deserialized using the reflection and extension methods -**MESSAGE_DELIVERY** | messageDelivery | Represented in C# as 22, but can be seralized & deserialized using the reflection and extension methods -**MESSAGE_STATUS** | messageStatus | Represented in C# as 23, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +**INBOUND_CALL** | inboundCall | Represented in C# as 1 +**RECORD** | record | Represented in C# as 2 +**GET_DIGITS** | getDigits | Represented in C# as 3 +**GET_SPEECH** | getSpeech | Represented in C# as 4 +**REDIRECT** | redirect | Represented in C# as 5 +**PAUSE** | pause | Represented in C# as 6 +**OUT_DIAL_START** | outDialStart | Represented in C# as 7 +**OUT_DIAL_CONNECT** | outDialConnect | Represented in C# as 8 +**OUT_DIAL_API_CONNECT** | outDialApiConnect | Represented in C# as 9 +**MACHINE_DETECTED** | machineDetected | Represented in C# as 10 +**DEQUEUE** | dequeue | Represented in C# as 11 +**QUEUE_WAIT** | queueWait | Represented in C# as 12 +**ADD_TO_QUEUE_NOTIFICATION** | addToQueueNotification | Represented in C# as 13 +**REMOVE_FROM_QUEUE_NOTIFICATION** | removeFromQueueNotification | Represented in C# as 14 +**CALL_STATUS** | callStatus | Represented in C# as 15 +**CREATE_CONFERENCE** | createConference | Represented in C# as 16 +**CONFERENCE_STATUS** | conferenceStatus | Represented in C# as 17 +**LEAVE_CONFERENCE** | leaveConference | Represented in C# as 18 +**ADD_TO_CONFERENCE_NOTIFICATION** | addToConferenceNotification | Represented in C# as 19 +**CONFERENCE_RECORDING_STATUS** | conferenceRecordingStatus | Represented in C# as 20 +**CONFERENCE_CALL_CONTROL** | conferenceCallControl | Represented in C# as 21 +**MESSAGE_DELIVERY** | messageDelivery | Represented in C# as 22 +**MESSAGE_STATUS** | messageStatus | Represented in C# as 23 + + +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Say.md b/docs/Say.md index ce29d433..b3471ebf 100644 --- a/docs/Say.md +++ b/docs/Say.md @@ -1,13 +1,10 @@ # freeclimb.Model.Say -The `Say` command provides Text-To-Speech (TTS) support. It converts text to speech and then renders it in a female voice back to the caller. `Say` is useful in cases where it's difficult to pre-record a prompt for any reason. `Say` does not allow barge-in unless nested within a `GetSpeech` command. The file will always be played to completion unless nested. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Text** | **string** | The message to be played to the caller using TTS. The size of the string is limited to 4 KB (or 4,096 bytes). An empty string will cause the command to be skipped. | **Language** | **string** | Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below. | [optional] @@ -15,8 +12,8 @@ Name | Type | Description | Notes **ConferenceId** | **string** | D of the Conference the speech should be rendered to. If this is not specified, the speech is by default rendered to the Caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/SayAllOf.md b/docs/SayAllOf.md index 606969df..bff096b3 100644 --- a/docs/SayAllOf.md +++ b/docs/SayAllOf.md @@ -1,20 +1,18 @@ # freeclimb.Model.SayAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Text** | **string** | The message to be played to the caller using TTS. The size of the string is limited to 4 KB (or 4,096 bytes). An empty string will cause the command to be skipped. | **Language** | **string** | Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below. | [optional] **Loop** | **int** | Number of times the text is said. Specifying '0' causes the `Say` action to loop until the Call is hung up. | [optional] [default to 1] **ConferenceId** | **string** | D of the Conference the speech should be rendered to. If this is not specified, the speech is by default rendered to the Caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/SendDigits.md b/docs/SendDigits.md index 1c056bf9..88e615f9 100644 --- a/docs/SendDigits.md +++ b/docs/SendDigits.md @@ -1,20 +1,17 @@ # freeclimb.Model.SendDigits -The `SendDigits` command plays DTMF tones on a live Call. This is useful for navigating through IVR menus or dialing extensions. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **Digits** | **string** | String containing the digits to be played. The string cannot be empty and can include any digit, plus `#`, or `*`, and allows embedding specification for delay or pause between the output of individual digits. | **PauseMs** | **int** | Pause between digits in milliseconds. Valid values are 100-1000 milliseconds and will be adjusted by FreeClimb to satisfy the constraint. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/SendDigitsAllOf.md b/docs/SendDigitsAllOf.md index 5fbb63e8..374d3d30 100644 --- a/docs/SendDigitsAllOf.md +++ b/docs/SendDigitsAllOf.md @@ -1,18 +1,16 @@ # freeclimb.Model.SendDigitsAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Digits** | **string** | String containing the digits to be played. The string cannot be empty and can include any digit, plus `#`, or `*`, and allows embedding specification for delay or pause between the output of individual digits. | **PauseMs** | **int** | Pause between digits in milliseconds. Valid values are 100-1000 milliseconds and will be adjusted by FreeClimb to satisfy the constraint. | [optional] **PrivacyMode** | **bool** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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 dcba0396..d5ab06f0 100644 --- a/docs/SetListen.md +++ b/docs/SetListen.md @@ -1,19 +1,16 @@ # freeclimb.Model.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. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **CallId** | **string** | ID of the call leg that is to be assigned the listen privilege. The Call must be in a Conference or an error will be triggered. | **Listen** | **bool** | Specifying `false` will silence the Conference for this Participant. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/SetListenAllOf.md b/docs/SetListenAllOf.md index 3b4092ef..23047327 100644 --- a/docs/SetListenAllOf.md +++ b/docs/SetListenAllOf.md @@ -1,17 +1,15 @@ # freeclimb.Model.SetListenAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **CallId** | **string** | ID of the call leg that is to be assigned the listen privilege. The Call must be in a Conference or an error will be triggered. | **Listen** | **bool** | Specifying `false` will silence the Conference for this Participant. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/SetTalk.md b/docs/SetTalk.md index 39cea5c6..14258f11 100644 --- a/docs/SetTalk.md +++ b/docs/SetTalk.md @@ -1,19 +1,16 @@ # freeclimb.Model.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. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **CallId** | **string** | ID of the call leg that is to be muted or unmuted. The Call must be in a Conference or an error will be triggered. | **Talk** | **bool** | Specifying `false` mutes the Participant. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/SetTalkAllOf.md b/docs/SetTalkAllOf.md index 09833ef2..7f108bbe 100644 --- a/docs/SetTalkAllOf.md +++ b/docs/SetTalkAllOf.md @@ -1,17 +1,15 @@ # freeclimb.Model.SetTalkAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **CallId** | **string** | ID of the call leg that is to be muted or unmuted. The Call must be in a Conference or an error will be triggered. | **Talk** | **bool** | Specifying `false` mutes the Participant. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Sms.md b/docs/Sms.md index 5c8a25c0..47fdc017 100644 --- a/docs/Sms.md +++ b/docs/Sms.md @@ -1,21 +1,18 @@ # freeclimb.Model.Sms -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. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **To** | **string** | E.164 representation of the phone number to which the message will be sent. Must be within FreeClimb's service area and E.164 formatting (e.g., +18003608245). | **From** | **string** | E.164 representation of the phone number to use as the sender. This must be an incoming phone number you have purchased from FreeClimb. | **Text** | **string** | Text contained in the message (maximum 160 characters). | **NotificationUrl** | **string** | When the message changes status, this URL will be invoked using HTTP POST with the messageStatus parameters. This is a notification only; any PerCL returned will be ignored. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/SmsAllOf.md b/docs/SmsAllOf.md index 3ba359a8..ff83a6dc 100644 --- a/docs/SmsAllOf.md +++ b/docs/SmsAllOf.md @@ -1,19 +1,17 @@ # freeclimb.Model.SmsAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **To** | **string** | E.164 representation of the phone number to which the message will be sent. Must be within FreeClimb's service area and E.164 formatting (e.g., +18003608245). | **From** | **string** | E.164 representation of the phone number to use as the sender. This must be an incoming phone number you have purchased from FreeClimb. | **Text** | **string** | Text contained in the message (maximum 160 characters). | **NotificationUrl** | **string** | When the message changes status, this URL will be invoked using HTTP POST with the messageStatus parameters. This is a notification only; any PerCL returned will be ignored. | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/StartRecordCall.md b/docs/StartRecordCall.md index 52d09252..30036d82 100644 --- a/docs/StartRecordCall.md +++ b/docs/StartRecordCall.md @@ -1,17 +1,14 @@ # freeclimb.Model.StartRecordCall -The `StartRecordCall` command records the current call and returns the URL of a file containing the audio recording when recording completes. `StartRecordCall` is non-blocking. After recording of the current call begins, control of the call moves to the PerCL command that follows `StartRecordCall` in the current PerCL script. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | 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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/TerminateConference.md b/docs/TerminateConference.md index 0c0654f0..b874a16c 100644 --- a/docs/TerminateConference.md +++ b/docs/TerminateConference.md @@ -1,18 +1,15 @@ # freeclimb.Model.TerminateConference -The `TerminateConference` command terminates an existing Conference. Any active participants are hung up on by FreeClimb. If this is not the desired behavior, use the `RemoveFromConference` command to unbridge Calls that should not be hung up. Note: The Call requesting TerminateConference must be on the same Conference for this command to execute. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] **ConferenceId** | **string** | ID of the conference to terminate. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/TerminateConferenceAllOf.md b/docs/TerminateConferenceAllOf.md index dc8e392e..51004c8d 100644 --- a/docs/TerminateConferenceAllOf.md +++ b/docs/TerminateConferenceAllOf.md @@ -1,16 +1,14 @@ # freeclimb.Model.TerminateConferenceAllOf - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **ConferenceId** | **string** | ID of the conference to terminate. | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/Unpark.md b/docs/Unpark.md index d6150a54..0ce5d0f3 100644 --- a/docs/Unpark.md +++ b/docs/Unpark.md @@ -1,17 +1,14 @@ # freeclimb.Model.Unpark -The `Unpark` command resumes a parked call. Execution continues with the first command in the PerCL scripted returned by the actionUrl specified in the Park command as long as the call is still in progress. If the call is no longer in progress, any returned PerCL will not be executed. Unpark is a terminal command - - any commands following it in the same script are not executed. - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Command** | **string** | 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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/UpdateCallRequest.md b/docs/UpdateCallRequest.md index 7a5d601c..8916cde3 100644 --- a/docs/UpdateCallRequest.md +++ b/docs/UpdateCallRequest.md @@ -1,16 +1,14 @@ # freeclimb.Model.UpdateCallRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Status** | **UpdateCallRequestStatus** | | - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/UpdateCallRequestStatus.md b/docs/UpdateCallRequestStatus.md index a635a732..cb5f1ea5 100644 --- a/docs/UpdateCallRequestStatus.md +++ b/docs/UpdateCallRequestStatus.md @@ -1,18 +1,15 @@ # freeclimb.Enums.UpdateCallRequestStatus -Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**CANCELED** | canceled | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**COMPLETED** | completed | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**CANCELED** | canceled | Represented in C# as 1 +**COMPLETED** | completed | Represented in C# as 2 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/UpdateConferenceParticipantRequest.md b/docs/UpdateConferenceParticipantRequest.md index 664581d5..61328677 100644 --- a/docs/UpdateConferenceParticipantRequest.md +++ b/docs/UpdateConferenceParticipantRequest.md @@ -1,17 +1,15 @@ # freeclimb.Model.UpdateConferenceParticipantRequest - ## Properties 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] - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/UpdateConferenceRequest.md b/docs/UpdateConferenceRequest.md index b6f5c267..5f88d408 100644 --- a/docs/UpdateConferenceRequest.md +++ b/docs/UpdateConferenceRequest.md @@ -1,18 +1,16 @@ # freeclimb.Model.UpdateConferenceRequest - ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- - **Alias** | **string** | Description for this conference. Maximum 64 characters. | [optional] **PlayBeep** | **PlayBeep** | | [optional] **Status** | **UpdateConferenceRequestStatus** | | [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) - - - +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/UpdateConferenceRequestStatus.md b/docs/UpdateConferenceRequestStatus.md index 90739a55..f71d4fb0 100644 --- a/docs/UpdateConferenceRequestStatus.md +++ b/docs/UpdateConferenceRequestStatus.md @@ -1,18 +1,15 @@ # freeclimb.Enums.UpdateConferenceRequestStatus -New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** - ## Properties Name | Value | Notes ------------ | ------------- | ------------- - -**EMPTY** | empty | Represented in C# as 1, but can be seralized & deserialized using the reflection and extension methods -**TERMINATED** | terminated | Represented in C# as 2, but can be seralized & deserialized using the reflection and extension methods - - - -[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - +**EMPTY** | empty | Represented in C# as 1 +**TERMINATED** | terminated | Represented in C# as 2 +[[Link to Serialization/Deserialization]](../README.md#documentation-for-serialization-deserialization)
+[[Back to Enum list]](../README.md#documentation-for-enums)
+[[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/src/freeclimb.Test/Api/DefaultApiTests.cs b/src/freeclimb.Test/Api/DefaultApiTests.cs index 98bc05e6..0e90a692 100644 --- a/src/freeclimb.Test/Api/DefaultApiTests.cs +++ b/src/freeclimb.Test/Api/DefaultApiTests.cs @@ -78,12 +78,6 @@ public void BuyAPhoneNumberTest() { BuyIncomingNumberRequest buyIncomingNumberRequest = buyIncomingNumberRequestTestValue(); - - // instance.Setup(m => m.BuyAPhoneNumber(buyIncomingNumberRequest)).Returns(incomingNumberResultTestValue()); - // var response = instance.Object.BuyAPhoneNumber(buyIncomingNumberRequest); - // //Assert.IsType(response); - // Assert.IsAssignableFrom(response); - var response = instance2.BuyAPhoneNumber(buyIncomingNumberRequest); Assert.IsAssignableFrom(response); } @@ -97,11 +91,6 @@ public void CreateAConferenceTest() { CreateConferenceRequest createConferenceRequest = createConferenceRequestTestValue(); - - // instance.Setup(m => m.CreateAConference(createConferenceRequest)).Returns(conferenceResultTestValue()); - // var response = instance.Object.CreateAConference(createConferenceRequest); - //Assert.IsType(response); - var response = instance2.CreateAConference(createConferenceRequest); Assert.IsAssignableFrom(response); } @@ -115,10 +104,6 @@ public void CreateAQueueTest() { QueueRequest queueRequest = queueRequestTestValue(); - - // instance.Setup(m => m.CreateAQueue(queueRequest)).Returns(queueResultTestValue()); - // var response = instance.Object.CreateAQueue(queueRequest); - //Assert.IsType(response); var response = instance2.CreateAQueue(queueRequest); Assert.IsAssignableFrom(response); } From f31ae215a7d2048a9802e11bfef815e3e9a63e70 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Fri, 2 Dec 2022 16:52:22 -0500 Subject: [PATCH 05/59] Add fixes to enum tests --- src/freeclimb.Test/Api/DefaultApiTests.cs | 160 ++++++++-------------- src/freeclimb/Client/ClientUtils.cs | 12 +- 2 files changed, 68 insertions(+), 104 deletions(-) diff --git a/src/freeclimb.Test/Api/DefaultApiTests.cs b/src/freeclimb.Test/Api/DefaultApiTests.cs index 0e90a692..0f24efc7 100644 --- a/src/freeclimb.Test/Api/DefaultApiTests.cs +++ b/src/freeclimb.Test/Api/DefaultApiTests.cs @@ -11,7 +11,6 @@ using System; using System.IO; using System.Collections.Generic; -using System.Text.Json; using System.Collections.ObjectModel; using System.Linq; using System.Reflection; @@ -28,7 +27,6 @@ namespace freeclimb.Test.Api { - /// /// Class for testing DefaultApi /// @@ -38,21 +36,17 @@ namespace freeclimb.Test.Api /// public class DefaultApiTests : IDisposable { - private Mock instance; - private DefaultApi instance2; private Configuration config; + private DefaultApi instance; + public DefaultApiTests() { - instance = new Mock(); - config = new Configuration(); - config.BasePath = "http://127.0.0.1:4010"; - //TEST-API-USERNAME replace username with this + config.BasePath = "http://127.0.0.1:4010/"; config.Username = "TEST-ACCOUNT-ID"; - //TEST-API-KEY replace password with this config.Password = "TEST-API-KEY"; - instance2 = new DefaultApi(config); + instance = new DefaultApi(config); } public void Dispose() @@ -66,7 +60,7 @@ public void Dispose() [Fact] public void InstanceTest() { - Assert.IsType>(instance); + Assert.IsType(instance); } /// @@ -78,7 +72,9 @@ public void BuyAPhoneNumberTest() { BuyIncomingNumberRequest buyIncomingNumberRequest = buyIncomingNumberRequestTestValue(); - var response = instance2.BuyAPhoneNumber(buyIncomingNumberRequest); + + var response = instance.BuyAPhoneNumber(buyIncomingNumberRequest); + //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -91,7 +87,9 @@ public void CreateAConferenceTest() { CreateConferenceRequest createConferenceRequest = createConferenceRequestTestValue(); - var response = instance2.CreateAConference(createConferenceRequest); + + var response = instance.CreateAConference(createConferenceRequest); + //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -104,7 +102,9 @@ public void CreateAQueueTest() { QueueRequest queueRequest = queueRequestTestValue(); - var response = instance2.CreateAQueue(queueRequest); + + var response = instance.CreateAQueue(queueRequest); + //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -118,8 +118,7 @@ public void CreateAnApplicationTest() ApplicationRequest applicationRequest = applicationRequestTestValue(); - instance.Setup(m => m.CreateAnApplication(applicationRequest)).Returns(applicationResultTestValue()); - var response = instance.Object.CreateAnApplication(applicationRequest); + var response = instance.CreateAnApplication(applicationRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -134,8 +133,7 @@ public void DeleteARecordingTest() string recordingId = recordingIdTestValue(); - instance.Setup(m => m.DeleteARecording(recordingId)); - instance.Object.DeleteARecording(recordingId); + instance.DeleteARecording(recordingId); } /// @@ -148,8 +146,7 @@ public void DeleteAnApplicationTest() string applicationId = applicationIdTestValue(); - instance.Setup(m => m.DeleteAnApplication(applicationId)); - instance.Object.DeleteAnApplication(applicationId); + instance.DeleteAnApplication(applicationId); } /// @@ -162,8 +159,7 @@ public void DeleteAnIncomingNumberTest() string phoneNumberId = phoneNumberIdTestValue(); - instance.Setup(m => m.DeleteAnIncomingNumber(phoneNumberId)); - instance.Object.DeleteAnIncomingNumber(phoneNumberId); + instance.DeleteAnIncomingNumber(phoneNumberId); } /// @@ -178,8 +174,7 @@ public void DequeueAMemberTest() string callId = callIdTestValue(); - instance.Setup(m => m.DequeueAMember(queueId, callId)).Returns(queueMemberTestValue()); - var response = instance.Object.DequeueAMember(queueId, callId); + var response = instance.DequeueAMember(queueId, callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -194,8 +189,7 @@ public void DequeueHeadMemberTest() string queueId = queueIdTestValue(); - instance.Setup(m => m.DequeueHeadMember(queueId)).Returns(queueMemberTestValue()); - var response = instance.Object.DequeueHeadMember(queueId); + var response = instance.DequeueHeadMember(queueId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -210,8 +204,7 @@ public void DownloadARecordingFileTest() string recordingId = recordingIdTestValue(); - instance.Setup(m => m.DownloadARecordingFile(recordingId)).Returns(systemIOStreamTestValue()); - var response = instance.Object.DownloadARecordingFile(recordingId); + var response = instance.DownloadARecordingFile(recordingId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -226,8 +219,7 @@ public void FilterLogsTest() FilterLogsRequest filterLogsRequest = filterLogsRequestTestValue(); - instance.Setup(m => m.FilterLogs(filterLogsRequest)).Returns(logListTestValue()); - var response = instance.Object.FilterLogs(filterLogsRequest); + var response = instance.FilterLogs(filterLogsRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -242,8 +234,7 @@ public void GetACallTest() string callId = callIdTestValue(); - instance.Setup(m => m.GetACall(callId)).Returns(callResultTestValue()); - var response = instance.Object.GetACall(callId); + var response = instance.GetACall(callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -258,8 +249,7 @@ public void GetAConferenceTest() string conferenceId = conferenceIdTestValue(); - instance.Setup(m => m.GetAConference(conferenceId)).Returns(conferenceResultTestValue()); - var response = instance.Object.GetAConference(conferenceId); + var response = instance.GetAConference(conferenceId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -276,8 +266,7 @@ public void GetAMemberTest() string callId = callIdTestValue(); - instance.Setup(m => m.GetAMember(queueId, callId)).Returns(queueMemberTestValue()); - var response = instance.Object.GetAMember(queueId, callId); + var response = instance.GetAMember(queueId, callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -294,8 +283,7 @@ public void GetAParticipantTest() string callId = callIdTestValue(); - instance.Setup(m => m.GetAParticipant(conferenceId, callId)).Returns(conferenceParticipantResultTestValue()); - var response = instance.Object.GetAParticipant(conferenceId, callId); + var response = instance.GetAParticipant(conferenceId, callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -310,8 +298,7 @@ public void GetAQueueTest() string queueId = queueIdTestValue(); - instance.Setup(m => m.GetAQueue(queueId)).Returns(queueResultTestValue()); - var response = instance.Object.GetAQueue(queueId); + var response = instance.GetAQueue(queueId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -326,8 +313,7 @@ public void GetARecordingTest() string recordingId = recordingIdTestValue(); - instance.Setup(m => m.GetARecording(recordingId)).Returns(recordingResultTestValue()); - var response = instance.Object.GetARecording(recordingId); + var response = instance.GetARecording(recordingId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -340,8 +326,7 @@ public void GetARecordingTest() public void GetAnAccountTest() { - instance.Setup(m => m.GetAnAccount()).Returns(accountResultTestValue()); - var response = instance.Object.GetAnAccount(); + var response = instance.GetAnAccount(); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -356,8 +341,7 @@ public void GetAnApplicationTest() string applicationId = applicationIdTestValue(); - instance.Setup(m => m.GetAnApplication(applicationId)).Returns(applicationResultTestValue()); - var response = instance.Object.GetAnApplication(applicationId); + var response = instance.GetAnApplication(applicationId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -372,8 +356,7 @@ public void GetAnIncomingNumberTest() string phoneNumberId = phoneNumberIdTestValue(); - instance.Setup(m => m.GetAnIncomingNumber(phoneNumberId)).Returns(incomingNumberResultTestValue()); - var response = instance.Object.GetAnIncomingNumber(phoneNumberId); + var response = instance.GetAnIncomingNumber(phoneNumberId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -388,8 +371,7 @@ public void GetAnSmsMessageTest() string messageId = messageIdTestValue(); - instance.Setup(m => m.GetAnSmsMessage(messageId)).Returns(messageResultTestValue()); - var response = instance.Object.GetAnSmsMessage(messageId); + var response = instance.GetAnSmsMessage(messageId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -404,8 +386,7 @@ public void GetHeadMemberTest() string queueId = queueIdTestValue(); - instance.Setup(m => m.GetHeadMember(queueId)).Returns(queueMemberTestValue()); - var response = instance.Object.GetHeadMember(queueId); + var response = instance.GetHeadMember(queueId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -420,8 +401,7 @@ public void ListActiveQueuesTest() string alias = aliasTestValue(); - instance.Setup(m => m.ListActiveQueues(alias)).Returns(queueListTestValue()); - var response = instance.Object.ListActiveQueues(alias); + var response = instance.ListActiveQueues(alias); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -434,8 +414,7 @@ public void ListActiveQueuesTest() public void ListAllAccountLogsTest() { - instance.Setup(m => m.ListAllAccountLogs()).Returns(logListTestValue()); - var response = instance.Object.ListAllAccountLogs(); + var response = instance.ListAllAccountLogs(); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -450,8 +429,7 @@ public void ListApplicationsTest() string alias = aliasTestValue(); - instance.Setup(m => m.ListApplications(alias)).Returns(applicationListTestValue()); - var response = instance.Object.ListApplications(alias); + var response = instance.ListApplications(alias); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -484,8 +462,7 @@ public void ListAvailableNumbersTest() bool? capabilitiesShortCode = capabilitiesShortCodeTestValue(); - instance.Setup(m => m.ListAvailableNumbers(phoneNumber, region, country, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode)).Returns(availableNumberListTestValue()); - var response = instance.Object.ListAvailableNumbers(phoneNumber, region, country, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode); + var response = instance.ListAvailableNumbers(phoneNumber, region, country, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -500,8 +477,7 @@ public void ListCallLogsTest() string callId = callIdTestValue(); - instance.Setup(m => m.ListCallLogs(callId)).Returns(logListTestValue()); - var response = instance.Object.ListCallLogs(callId); + var response = instance.ListCallLogs(callId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -518,8 +494,7 @@ public void ListCallRecordingsTest() string dateCreated = dateCreatedTestValue(); - instance.Setup(m => m.ListCallRecordings(callId, dateCreated)).Returns(recordingListTestValue()); - var response = instance.Object.ListCallRecordings(callId, dateCreated); + var response = instance.ListCallRecordings(callId, dateCreated); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -546,11 +521,7 @@ public void ListCallsTest() string parentCallId = parentCallIdTestValue(); - //Is it possible to look at the generated raw request payload from this mock? (like what we see in our terminal with the curl) - //If so, see if we can serialize and test? (use Ruby SDK) - //Look into the mocks to see if what I'm thinking is doable - instance.Setup(m => m.ListCalls(active, to, from, status, startTime, endTime, parentCallId)).Returns(callListTestValue()); - var response = instance.Object.ListCalls(active, to, from, status, startTime, endTime, parentCallId); + var response = instance.ListCalls(active, to, from, status, startTime, endTime, parentCallId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -571,8 +542,7 @@ public void ListConferencesTest() string dateUpdated = dateUpdatedTestValue(); - instance.Setup(m => m.ListConferences(status, alias, dateCreated, dateUpdated)).Returns(conferenceListTestValue()); - var response = instance.Object.ListConferences(status, alias, dateCreated, dateUpdated); + var response = instance.ListConferences(status, alias, dateCreated, dateUpdated); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -613,8 +583,7 @@ public void ListIncomingNumbersTest() bool? offnet = offnetTestValue(); - instance.Setup(m => m.ListIncomingNumbers(phoneNumber, alias, region, country, applicationId, hasApplication, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode, offnet)).Returns(incomingNumberListTestValue()); - var response = instance.Object.ListIncomingNumbers(phoneNumber, alias, region, country, applicationId, hasApplication, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode, offnet); + var response = instance.ListIncomingNumbers(phoneNumber, alias, region, country, applicationId, hasApplication, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode, offnet); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -629,8 +598,7 @@ public void ListMembersTest() string queueId = queueIdTestValue(); - instance.Setup(m => m.ListMembers(queueId)).Returns(queueMemberListTestValue()); - var response = instance.Object.ListMembers(queueId); + var response = instance.ListMembers(queueId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -649,8 +617,7 @@ public void ListParticipantsTest() bool? listen = listenTestValue(); - instance.Setup(m => m.ListParticipants(conferenceId, talk, listen)).Returns(conferenceParticipantListTestValue()); - var response = instance.Object.ListParticipants(conferenceId, talk, listen); + var response = instance.ListParticipants(conferenceId, talk, listen); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -669,8 +636,7 @@ public void ListRecordingsTest() string dateCreated = dateCreatedTestValue(); - instance.Setup(m => m.ListRecordings(callId, conferenceId, dateCreated)).Returns(recordingListTestValue()); - var response = instance.Object.ListRecordings(callId, conferenceId, dateCreated); + var response = instance.ListRecordings(callId, conferenceId, dateCreated); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -693,8 +659,7 @@ public void ListSmsMessagesTest() MessageDirection? direction = directionTestEnum(); - instance.Setup(m => m.ListSmsMessages(to, from, beginTime, endTime, direction)).Returns(messagesListTestValue()); - var response = instance.Object.ListSmsMessages(to, from, beginTime, endTime, direction); + var response = instance.ListSmsMessages(to, from, beginTime, endTime, direction); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -709,8 +674,7 @@ public void MakeACallTest() MakeCallRequest makeCallRequest = makeCallRequestTestValue(); - instance.Setup(m => m.MakeACall(makeCallRequest)).Returns(callResultTestValue()); - var response = instance.Object.MakeACall(makeCallRequest); + var response = instance.MakeACall(makeCallRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -727,8 +691,7 @@ public void RemoveAParticipantTest() string callId = callIdTestValue(); - instance.Setup(m => m.RemoveAParticipant(conferenceId, callId)); - instance.Object.RemoveAParticipant(conferenceId, callId); + instance.RemoveAParticipant(conferenceId, callId); } /// @@ -741,8 +704,7 @@ public void SendAnSmsMessageTest() MessageRequest messageRequest = messageRequestTestValue(); - instance.Setup(m => m.SendAnSmsMessage(messageRequest)).Returns(messageResultTestValue()); - var response = instance.Object.SendAnSmsMessage(messageRequest); + var response = instance.SendAnSmsMessage(messageRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -757,8 +719,7 @@ public void StreamARecordingFileTest() string recordingId = recordingIdTestValue(); - instance.Setup(m => m.StreamARecordingFile(recordingId)).Returns(systemIOStreamTestValue()); - var response = instance.Object.StreamARecordingFile(recordingId); + var response = instance.StreamARecordingFile(recordingId); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -775,8 +736,7 @@ public void UpdateAConferenceTest() UpdateConferenceRequest updateConferenceRequest = updateConferenceRequestTestValue(); - instance.Setup(m => m.UpdateAConference(conferenceId, updateConferenceRequest)).Returns(conferenceResultTestValue()); - var response = instance.Object.UpdateAConference(conferenceId, updateConferenceRequest); + var response = instance.UpdateAConference(conferenceId, updateConferenceRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -793,8 +753,7 @@ public void UpdateALiveCallTest() UpdateCallRequest updateCallRequest = updateCallRequestTestValue(); - instance.Setup(m => m.UpdateALiveCall(callId, updateCallRequest)); - instance.Object.UpdateALiveCall(callId, updateCallRequest); + instance.UpdateALiveCall(callId, updateCallRequest); } /// @@ -811,8 +770,7 @@ public void UpdateAParticipantTest() UpdateConferenceParticipantRequest updateConferenceParticipantRequest = updateConferenceParticipantRequestTestValue(); - instance.Setup(m => m.UpdateAParticipant(conferenceId, callId, updateConferenceParticipantRequest)).Returns(conferenceParticipantResultTestValue()); - var response = instance.Object.UpdateAParticipant(conferenceId, callId, updateConferenceParticipantRequest); + var response = instance.UpdateAParticipant(conferenceId, callId, updateConferenceParticipantRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -829,8 +787,7 @@ public void UpdateAQueueTest() QueueRequest queueRequest = queueRequestTestValue(); - instance.Setup(m => m.UpdateAQueue(queueId, queueRequest)).Returns(queueResultTestValue()); - var response = instance.Object.UpdateAQueue(queueId, queueRequest); + var response = instance.UpdateAQueue(queueId, queueRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -845,8 +802,7 @@ public void UpdateAnAccountTest() AccountRequest accountRequest = accountRequestTestValue(); - instance.Setup(m => m.UpdateAnAccount(accountRequest)); - instance.Object.UpdateAnAccount(accountRequest); + instance.UpdateAnAccount(accountRequest); } /// @@ -861,8 +817,7 @@ public void UpdateAnApplicationTest() ApplicationRequest applicationRequest = applicationRequestTestValue(); - instance.Setup(m => m.UpdateAnApplication(applicationId, applicationRequest)).Returns(applicationResultTestValue()); - var response = instance.Object.UpdateAnApplication(applicationId, applicationRequest); + var response = instance.UpdateAnApplication(applicationId, applicationRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } @@ -879,8 +834,7 @@ public void UpdateAnIncomingNumberTest() IncomingNumberRequest incomingNumberRequest = incomingNumberRequestTestValue(); - instance.Setup(m => m.UpdateAnIncomingNumber(phoneNumberId, incomingNumberRequest)).Returns(incomingNumberResultTestValue()); - var response = instance.Object.UpdateAnIncomingNumber(phoneNumberId, incomingNumberRequest); + var response = instance.UpdateAnIncomingNumber(phoneNumberId, incomingNumberRequest); //Assert.IsType(response); Assert.IsAssignableFrom(response); } diff --git a/src/freeclimb/Client/ClientUtils.cs b/src/freeclimb/Client/ClientUtils.cs index e0772a5a..792c9d5c 100644 --- a/src/freeclimb/Client/ClientUtils.cs +++ b/src/freeclimb/Client/ClientUtils.cs @@ -16,6 +16,7 @@ using System.Linq; using System.Text; using System.Text.RegularExpressions; +using freeclimb.Enums; namespace freeclimb.Client { @@ -71,7 +72,16 @@ public static Multimap ParameterToMultiMap(string collectionForm } else { - parameters.Add(name, ParameterToString(value)); + if (value is Enum) + { + Enum newValue = (Enum)value; + parameters.Add(name, newValue.GetMemberValue()); + } + else + { + parameters.Add(name, ParameterToString(value)); + } + } return parameters; From 0422677c0695481d5b5c3228c356347e4514ceff Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 5 Dec 2022 12:10:40 -0500 Subject: [PATCH 06/59] Work in progress on Update A Live Call test --- src/freeclimb.Test/Api/DefaultApiTests.cs | 2 + src/freeclimb/Api/DefaultApi.cs | 1784 +++++++++++---------- 2 files changed, 901 insertions(+), 885 deletions(-) diff --git a/src/freeclimb.Test/Api/DefaultApiTests.cs b/src/freeclimb.Test/Api/DefaultApiTests.cs index 0f24efc7..37411a0b 100644 --- a/src/freeclimb.Test/Api/DefaultApiTests.cs +++ b/src/freeclimb.Test/Api/DefaultApiTests.cs @@ -752,6 +752,7 @@ public void UpdateALiveCallTest() string callId = callIdTestValue(); UpdateCallRequest updateCallRequest = updateCallRequestTestValue(); + Console.WriteLine("Update Call Request: " + updateCallRequest); instance.UpdateALiveCall(callId, updateCallRequest); } @@ -769,6 +770,7 @@ public void UpdateAParticipantTest() string callId = callIdTestValue(); UpdateConferenceParticipantRequest updateConferenceParticipantRequest = updateConferenceParticipantRequestTestValue(); + Console.WriteLine("Update Participant Request: " + updateConferenceParticipantRequest); var response = instance.UpdateAParticipant(conferenceId, callId, updateConferenceParticipantRequest); //Assert.IsType(response); diff --git a/src/freeclimb/Api/DefaultApi.cs b/src/freeclimb/Api/DefaultApi.cs index 14a5ba42..8b441e17 100644 --- a/src/freeclimb/Api/DefaultApi.cs +++ b/src/freeclimb/Api/DefaultApi.cs @@ -12,6 +12,7 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; +using System.Dynamic; using System.Linq; using System.Net; using System.Net.Mime; @@ -970,9 +971,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task BuyAPhoneNumberAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -984,9 +985,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> BuyAPhoneNumberWithHttpInfoAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -997,9 +998,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task CreateAConferenceAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1011,9 +1012,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> CreateAConferenceWithHttpInfoAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1024,9 +1025,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task CreateAQueueAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1038,9 +1039,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> CreateAQueueWithHttpInfoAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1051,9 +1052,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task CreateAnApplicationAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1065,9 +1066,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> CreateAnApplicationWithHttpInfoAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1078,9 +1079,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1092,9 +1093,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1105,9 +1106,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1119,9 +1120,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1132,9 +1133,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1146,9 +1147,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1159,11 +1160,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task DequeueAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1175,11 +1176,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> DequeueAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1190,9 +1191,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task DequeueHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1204,9 +1205,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> DequeueHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1217,9 +1218,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream System.Threading.Tasks.Task DownloadARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1231,9 +1232,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) System.Threading.Tasks.Task> DownloadARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1244,9 +1245,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task FilterLogsAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1258,9 +1259,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> FilterLogsWithHttpInfoAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1271,9 +1272,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of CallResult System.Threading.Tasks.Task GetACallAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1285,9 +1286,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) System.Threading.Tasks.Task> GetACallWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1298,9 +1299,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task GetAConferenceAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1312,9 +1313,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> GetAConferenceWithHttpInfoAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1325,11 +1326,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task GetAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1341,11 +1342,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> GetAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1356,11 +1357,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult System.Threading.Tasks.Task GetAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1372,11 +1373,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) System.Threading.Tasks.Task> GetAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1387,9 +1388,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task GetAQueueAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1401,9 +1402,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> GetAQueueWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1414,9 +1415,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of RecordingResult System.Threading.Tasks.Task GetARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1428,9 +1429,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingResult) System.Threading.Tasks.Task> GetARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1441,7 +1442,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of AccountResult System.Threading.Tasks.Task GetAnAccountAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1453,7 +1454,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AccountResult) System.Threading.Tasks.Task> GetAnAccountWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1464,9 +1465,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task GetAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1478,9 +1479,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> GetAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1491,9 +1492,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task GetAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1505,9 +1506,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> GetAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1518,9 +1519,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of MessageResult System.Threading.Tasks.Task GetAnSmsMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1532,9 +1533,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) System.Threading.Tasks.Task> GetAnSmsMessageWithHttpInfoAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1545,9 +1546,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task GetHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1559,9 +1560,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> GetHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1572,9 +1573,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueList System.Threading.Tasks.Task ListActiveQueuesAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1586,9 +1587,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueList) System.Threading.Tasks.Task> ListActiveQueuesWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1599,7 +1600,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task ListAllAccountLogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1611,7 +1612,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> ListAllAccountLogsWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1622,9 +1623,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationList System.Threading.Tasks.Task ListApplicationsAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1636,9 +1637,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationList) System.Threading.Tasks.Task> ListApplicationsWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1649,27 +1650,27 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of AvailableNumberList System.Threading.Tasks.Task ListAvailableNumbersAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1681,27 +1682,27 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AvailableNumberList) System.Threading.Tasks.Task> ListAvailableNumbersWithHttpInfoAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1712,9 +1713,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task ListCallLogsAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1726,9 +1727,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> ListCallLogsWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1739,11 +1740,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList System.Threading.Tasks.Task ListCallRecordingsAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1755,11 +1756,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) System.Threading.Tasks.Task> ListCallRecordingsWithHttpInfoAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1770,21 +1771,21 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of CallList System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1796,21 +1797,21 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1821,15 +1822,15 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceList System.Threading.Tasks.Task ListConferencesAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1841,15 +1842,15 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceList) System.Threading.Tasks.Task> ListConferencesWithHttpInfoAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1860,35 +1861,35 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberList System.Threading.Tasks.Task ListIncomingNumbersAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1900,35 +1901,35 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberList) System.Threading.Tasks.Task> ListIncomingNumbersWithHttpInfoAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1939,9 +1940,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMemberList System.Threading.Tasks.Task ListMembersAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1953,9 +1954,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMemberList) System.Threading.Tasks.Task> ListMembersWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1966,13 +1967,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantList System.Threading.Tasks.Task ListParticipantsAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1984,13 +1985,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantList) System.Threading.Tasks.Task> ListParticipantsWithHttpInfoAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2001,13 +2002,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList System.Threading.Tasks.Task ListRecordingsAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2019,13 +2020,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) System.Threading.Tasks.Task> ListRecordingsWithHttpInfoAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2036,17 +2037,17 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of MessagesList System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2058,17 +2059,17 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2079,9 +2080,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of CallResult System.Threading.Tasks.Task MakeACallAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2093,9 +2094,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) System.Threading.Tasks.Task> MakeACallWithHttpInfoAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2106,11 +2107,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task RemoveAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2122,11 +2123,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> RemoveAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2137,9 +2138,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of MessageResult System.Threading.Tasks.Task SendAnSmsMessageAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2151,9 +2152,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) System.Threading.Tasks.Task> SendAnSmsMessageWithHttpInfoAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2164,9 +2165,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream System.Threading.Tasks.Task StreamARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2178,9 +2179,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) System.Threading.Tasks.Task> StreamARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2191,11 +2192,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task UpdateAConferenceAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2207,11 +2208,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> UpdateAConferenceWithHttpInfoAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2222,11 +2223,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task UpdateALiveCallAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2238,11 +2239,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> UpdateALiveCallWithHttpInfoAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2253,13 +2254,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult System.Threading.Tasks.Task UpdateAParticipantAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2271,13 +2272,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) System.Threading.Tasks.Task> UpdateAParticipantWithHttpInfoAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2288,11 +2289,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task UpdateAQueueAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2304,11 +2305,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> UpdateAQueueWithHttpInfoAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2319,9 +2320,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task UpdateAnAccountAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2333,9 +2334,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> UpdateAnAccountWithHttpInfoAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2346,11 +2347,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task UpdateAnApplicationAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2362,11 +2363,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> UpdateAnApplicationWithHttpInfoAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2377,11 +2378,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task UpdateAnIncomingNumberAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2393,11 +2394,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> UpdateAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2532,7 +2533,7 @@ public freeclimb.Client.ExceptionFactory ExceptionFactory /// IncomingNumberResult public IncomingNumberResult BuyAPhoneNumber(BuyIncomingNumberRequest buyIncomingNumberRequest) { - freeclimb.Client.ApiResponse localVarResponse = BuyAPhoneNumberWithHttpInfo(buyIncomingNumberRequest ); + freeclimb.Client.ApiResponse localVarResponse = BuyAPhoneNumberWithHttpInfo(buyIncomingNumberRequest); return localVarResponse.Data; } @@ -2544,14 +2545,14 @@ public IncomingNumberResult BuyAPhoneNumber(BuyIncomingNumberRequest buyIncoming /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHttpInfo(BuyIncomingNumberRequest buyIncomingNumberRequest) { - + // verify the required parameter 'buyIncomingNumberRequest' is set if (buyIncomingNumberRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'buyIncomingNumberRequest' when calling DefaultApi->BuyAPhoneNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2603,9 +2604,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Buy a Phone Number /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task BuyAPhoneNumberAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2618,21 +2619,21 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Buy a Phone Number /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> BuyAPhoneNumberWithHttpInfoAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'buyIncomingNumberRequest' is set if (buyIncomingNumberRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'buyIncomingNumberRequest' when calling DefaultApi->BuyAPhoneNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2690,7 +2691,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ConferenceResult public ConferenceResult CreateAConference(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAConferenceWithHttpInfo(createConferenceRequest ); + freeclimb.Client.ApiResponse localVarResponse = CreateAConferenceWithHttpInfo(createConferenceRequest); return localVarResponse.Data; } @@ -2702,8 +2703,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse CreateAConferenceWithHttpInfo(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2755,9 +2756,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Conference /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task CreateAConferenceAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2770,15 +2771,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Conference /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> CreateAConferenceWithHttpInfoAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2836,7 +2837,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// QueueResult public QueueResult CreateAQueue(QueueRequest queueRequest = default(QueueRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAQueueWithHttpInfo(queueRequest ); + freeclimb.Client.ApiResponse localVarResponse = CreateAQueueWithHttpInfo(queueRequest); return localVarResponse.Data; } @@ -2848,8 +2849,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse CreateAQueueWithHttpInfo(QueueRequest queueRequest = default(QueueRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2901,9 +2902,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Queue /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task CreateAQueueAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2916,15 +2917,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Queue /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> CreateAQueueWithHttpInfoAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2982,7 +2983,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApplicationResult public ApplicationResult CreateAnApplication(ApplicationRequest applicationRequest = default(ApplicationRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAnApplicationWithHttpInfo(applicationRequest ); + freeclimb.Client.ApiResponse localVarResponse = CreateAnApplicationWithHttpInfo(applicationRequest); return localVarResponse.Data; } @@ -2994,8 +2995,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse CreateAnApplicationWithHttpInfo(ApplicationRequest applicationRequest = default(ApplicationRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3047,9 +3048,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create an application /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task CreateAnApplicationAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3062,15 +3063,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create an application /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> CreateAnApplicationWithHttpInfoAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3139,14 +3140,14 @@ public void DeleteARecording(string recordingId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DeleteARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3196,9 +3197,9 @@ public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string /// Delete a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3210,21 +3211,21 @@ public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string /// Delete a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DeleteARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3291,14 +3292,14 @@ public void DeleteAnApplication(string applicationId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(string applicationId) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->DeleteAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3348,9 +3349,9 @@ public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(stri /// Delete an application /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3362,21 +3363,21 @@ public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(stri /// Delete an application /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->DeleteAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3443,14 +3444,14 @@ public void DeleteAnIncomingNumber(string phoneNumberId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(string phoneNumberId) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->DeleteAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3500,9 +3501,9 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// Delete an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3514,21 +3515,21 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// Delete an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->DeleteAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3585,7 +3586,7 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// QueueMember public QueueMember DequeueAMember(string queueId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = DequeueAMemberWithHttpInfo(queueId , callId ); + freeclimb.Client.ApiResponse localVarResponse = DequeueAMemberWithHttpInfo(queueId, callId); return localVarResponse.Data; } @@ -3598,21 +3599,21 @@ public QueueMember DequeueAMember(string queueId, string callId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(string queueId, string callId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->DequeueAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3664,11 +3665,11 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// Dequeue a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task DequeueAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3681,30 +3682,30 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// Dequeue a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> DequeueAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->DequeueAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3762,7 +3763,7 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// QueueMember public QueueMember DequeueHeadMember(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = DequeueHeadMemberWithHttpInfo(queueId ); + freeclimb.Client.ApiResponse localVarResponse = DequeueHeadMemberWithHttpInfo(queueId); return localVarResponse.Data; } @@ -3774,14 +3775,14 @@ public QueueMember DequeueHeadMember(string queueId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3832,9 +3833,9 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// Dequeue Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task DequeueHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3847,21 +3848,21 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// Dequeue Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> DequeueHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3918,7 +3919,7 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// System.IO.Stream public System.IO.Stream DownloadARecordingFile(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = DownloadARecordingFileWithHttpInfo(recordingId ); + freeclimb.Client.ApiResponse localVarResponse = DownloadARecordingFileWithHttpInfo(recordingId); return localVarResponse.Data; } @@ -3930,14 +3931,14 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// ApiResponse of System.IO.Stream public freeclimb.Client.ApiResponse DownloadARecordingFileWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DownloadARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3988,9 +3989,9 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// Download a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream public async System.Threading.Tasks.Task DownloadARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4003,21 +4004,21 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// Download a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) public async System.Threading.Tasks.Task> DownloadARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DownloadARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4074,7 +4075,7 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// LogList public LogList FilterLogs(FilterLogsRequest filterLogsRequest) { - freeclimb.Client.ApiResponse localVarResponse = FilterLogsWithHttpInfo(filterLogsRequest ); + freeclimb.Client.ApiResponse localVarResponse = FilterLogsWithHttpInfo(filterLogsRequest); return localVarResponse.Data; } @@ -4086,14 +4087,14 @@ public LogList FilterLogs(FilterLogsRequest filterLogsRequest) /// ApiResponse of LogList public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRequest filterLogsRequest) { - + // verify the required parameter 'filterLogsRequest' is set if (filterLogsRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'filterLogsRequest' when calling DefaultApi->FilterLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4145,9 +4146,9 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// Filter Logs /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task FilterLogsAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4160,21 +4161,21 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// Filter Logs /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> FilterLogsWithHttpInfoAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'filterLogsRequest' is set if (filterLogsRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'filterLogsRequest' when calling DefaultApi->FilterLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4232,7 +4233,7 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// CallResult public CallResult GetACall(string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetACallWithHttpInfo(callId ); + freeclimb.Client.ApiResponse localVarResponse = GetACallWithHttpInfo(callId); return localVarResponse.Data; } @@ -4244,14 +4245,14 @@ public CallResult GetACall(string callId) /// ApiResponse of CallResult public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string callId) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetACall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4302,9 +4303,9 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// Get a Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of CallResult public async System.Threading.Tasks.Task GetACallAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4317,21 +4318,21 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// Get a Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) public async System.Threading.Tasks.Task> GetACallWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetACall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4388,7 +4389,7 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// ConferenceResult public ConferenceResult GetAConference(string conferenceId) { - freeclimb.Client.ApiResponse localVarResponse = GetAConferenceWithHttpInfo(conferenceId ); + freeclimb.Client.ApiResponse localVarResponse = GetAConferenceWithHttpInfo(conferenceId); return localVarResponse.Data; } @@ -4400,14 +4401,14 @@ public ConferenceResult GetAConference(string conferenceId) /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo(string conferenceId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAConference"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4458,9 +4459,9 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// Get a Conference /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task GetAConferenceAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4473,21 +4474,21 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// Get a Conference /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> GetAConferenceWithHttpInfoAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAConference"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4545,7 +4546,7 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// QueueMember public QueueMember GetAMember(string queueId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetAMemberWithHttpInfo(queueId , callId ); + freeclimb.Client.ApiResponse localVarResponse = GetAMemberWithHttpInfo(queueId, callId); return localVarResponse.Data; } @@ -4558,21 +4559,21 @@ public QueueMember GetAMember(string queueId, string callId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string queueId, string callId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4624,11 +4625,11 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// Get a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task GetAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4641,30 +4642,30 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// Get a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> GetAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4723,7 +4724,7 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// ConferenceParticipantResult public ConferenceParticipantResult GetAParticipant(string conferenceId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetAParticipantWithHttpInfo(conferenceId , callId ); + freeclimb.Client.ApiResponse localVarResponse = GetAParticipantWithHttpInfo(conferenceId, callId); return localVarResponse.Data; } @@ -4736,21 +4737,21 @@ public ConferenceParticipantResult GetAParticipant(string conferenceId, string c /// ApiResponse of ConferenceParticipantResult public freeclimb.Client.ApiResponse GetAParticipantWithHttpInfo(string conferenceId, string callId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4802,11 +4803,11 @@ public freeclimb.Client.ApiResponse GetAParticipant /// Get a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult public async System.Threading.Tasks.Task GetAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4819,30 +4820,30 @@ public freeclimb.Client.ApiResponse GetAParticipant /// Get a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) public async System.Threading.Tasks.Task> GetAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4900,7 +4901,7 @@ public freeclimb.Client.ApiResponse GetAParticipant /// QueueResult public QueueResult GetAQueue(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = GetAQueueWithHttpInfo(queueId ); + freeclimb.Client.ApiResponse localVarResponse = GetAQueueWithHttpInfo(queueId); return localVarResponse.Data; } @@ -4912,14 +4913,14 @@ public QueueResult GetAQueue(string queueId) /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAQueue"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4970,9 +4971,9 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// Get a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task GetAQueueAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4985,21 +4986,21 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// Get a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> GetAQueueWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAQueue"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5056,7 +5057,7 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// RecordingResult public RecordingResult GetARecording(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = GetARecordingWithHttpInfo(recordingId ); + freeclimb.Client.ApiResponse localVarResponse = GetARecordingWithHttpInfo(recordingId); return localVarResponse.Data; } @@ -5068,14 +5069,14 @@ public RecordingResult GetARecording(string recordingId) /// ApiResponse of RecordingResult public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->GetARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5126,9 +5127,9 @@ public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(s /// Get a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of RecordingResult public async System.Threading.Tasks.Task GetARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5141,21 +5142,21 @@ public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(s /// Get a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingResult) public async System.Threading.Tasks.Task> GetARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->GetARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5222,7 +5223,7 @@ public AccountResult GetAnAccount() /// ApiResponse of AccountResult public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5272,7 +5273,7 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// Get an Account /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of AccountResult public async System.Threading.Tasks.Task GetAnAccountAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5285,12 +5286,12 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// Get an Account /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AccountResult) public async System.Threading.Tasks.Task> GetAnAccountWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5346,7 +5347,7 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// ApplicationResult public ApplicationResult GetAnApplication(string applicationId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnApplicationWithHttpInfo(applicationId ); + freeclimb.Client.ApiResponse localVarResponse = GetAnApplicationWithHttpInfo(applicationId); return localVarResponse.Data; } @@ -5358,14 +5359,14 @@ public ApplicationResult GetAnApplication(string applicationId) /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse GetAnApplicationWithHttpInfo(string applicationId) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->GetAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5416,9 +5417,9 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// Get an Application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task GetAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5431,21 +5432,21 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// Get an Application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> GetAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->GetAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5502,7 +5503,7 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// IncomingNumberResult public IncomingNumberResult GetAnIncomingNumber(string phoneNumberId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnIncomingNumberWithHttpInfo(phoneNumberId ); + freeclimb.Client.ApiResponse localVarResponse = GetAnIncomingNumberWithHttpInfo(phoneNumberId); return localVarResponse.Data; } @@ -5514,14 +5515,14 @@ public IncomingNumberResult GetAnIncomingNumber(string phoneNumberId) /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse GetAnIncomingNumberWithHttpInfo(string phoneNumberId) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->GetAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5572,9 +5573,9 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// Get an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task GetAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5587,21 +5588,21 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// Get an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> GetAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->GetAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5658,7 +5659,7 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// MessageResult public MessageResult GetAnSmsMessage(string messageId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnSmsMessageWithHttpInfo(messageId ); + freeclimb.Client.ApiResponse localVarResponse = GetAnSmsMessageWithHttpInfo(messageId); return localVarResponse.Data; } @@ -5670,14 +5671,14 @@ public MessageResult GetAnSmsMessage(string messageId) /// ApiResponse of MessageResult public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(string messageId) { - + // verify the required parameter 'messageId' is set if (messageId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageId' when calling DefaultApi->GetAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5728,9 +5729,9 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// Get an SMS Message /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of MessageResult public async System.Threading.Tasks.Task GetAnSmsMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5743,21 +5744,21 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// Get an SMS Message /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) public async System.Threading.Tasks.Task> GetAnSmsMessageWithHttpInfoAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'messageId' is set if (messageId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageId' when calling DefaultApi->GetAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5814,7 +5815,7 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// QueueMember public QueueMember GetHeadMember(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = GetHeadMemberWithHttpInfo(queueId ); + freeclimb.Client.ApiResponse localVarResponse = GetHeadMemberWithHttpInfo(queueId); return localVarResponse.Data; } @@ -5826,14 +5827,14 @@ public QueueMember GetHeadMember(string queueId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5884,9 +5885,9 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// Get Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task GetHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5899,21 +5900,21 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// Get Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> GetHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5970,7 +5971,7 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// QueueList public QueueList ListActiveQueues(string alias = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListActiveQueuesWithHttpInfo(alias ); + freeclimb.Client.ApiResponse localVarResponse = ListActiveQueuesWithHttpInfo(alias); return localVarResponse.Data; } @@ -5982,8 +5983,8 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// ApiResponse of QueueList public freeclimb.Client.ApiResponse ListActiveQueuesWithHttpInfo(string alias = default(string)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6037,9 +6038,9 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// List Active Queues /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueList public async System.Threading.Tasks.Task ListActiveQueuesAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6052,15 +6053,15 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// List Active Queues /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueList) public async System.Threading.Tasks.Task> ListActiveQueuesWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6130,7 +6131,7 @@ public LogList ListAllAccountLogs() /// ApiResponse of LogList public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6180,7 +6181,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List All Account Logs /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task ListAllAccountLogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6193,12 +6194,12 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List All Account Logs /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> ListAllAccountLogsWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6254,7 +6255,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApplicationList public ApplicationList ListApplications(string alias = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListApplicationsWithHttpInfo(alias ); + freeclimb.Client.ApiResponse localVarResponse = ListApplicationsWithHttpInfo(alias); return localVarResponse.Data; } @@ -6266,8 +6267,8 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApiResponse of ApplicationList public freeclimb.Client.ApiResponse ListApplicationsWithHttpInfo(string alias = default(string)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6321,9 +6322,9 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List applications /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationList public async System.Threading.Tasks.Task ListApplicationsAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6336,15 +6337,15 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List applications /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationList) public async System.Threading.Tasks.Task> ListApplicationsWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6413,7 +6414,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// AvailableNumberList public AvailableNumberList ListAvailableNumbers(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListAvailableNumbersWithHttpInfo(phoneNumber , region , country , voiceEnabled , smsEnabled , capabilitiesVoice , capabilitiesSms , capabilitiesTollFree , capabilitiesTenDLC , capabilitiesShortCode ); + freeclimb.Client.ApiResponse localVarResponse = ListAvailableNumbersWithHttpInfo(phoneNumber, region, country, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode); return localVarResponse.Data; } @@ -6434,17 +6435,17 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApiResponse of AvailableNumberList public freeclimb.Client.ApiResponse ListAvailableNumbersWithHttpInfo(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?)) { - - - - - - - - - - - + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6533,27 +6534,27 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List available numbers /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of AvailableNumberList public async System.Threading.Tasks.Task ListAvailableNumbersAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6566,42 +6567,42 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List available numbers /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AvailableNumberList) public async System.Threading.Tasks.Task> ListAvailableNumbersWithHttpInfoAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - - - - + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6696,7 +6697,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// LogList public LogList ListCallLogs(string callId) { - freeclimb.Client.ApiResponse localVarResponse = ListCallLogsWithHttpInfo(callId ); + freeclimb.Client.ApiResponse localVarResponse = ListCallLogsWithHttpInfo(callId); return localVarResponse.Data; } @@ -6708,14 +6709,14 @@ public LogList ListCallLogs(string callId) /// ApiResponse of LogList public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string callId) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6766,9 +6767,9 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Logs /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task ListCallLogsAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6781,21 +6782,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Logs /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> ListCallLogsWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6853,7 +6854,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// RecordingList public RecordingList ListCallRecordings(string callId, string dateCreated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListCallRecordingsWithHttpInfo(callId , dateCreated ); + freeclimb.Client.ApiResponse localVarResponse = ListCallRecordingsWithHttpInfo(callId, dateCreated); return localVarResponse.Data; } @@ -6866,15 +6867,15 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of RecordingList public freeclimb.Client.ApiResponse ListCallRecordingsWithHttpInfo(string callId, string dateCreated = default(string)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallRecordings"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6929,11 +6930,11 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Recordings /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList public async System.Threading.Tasks.Task ListCallRecordingsAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6946,24 +6947,24 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Recordings /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) public async System.Threading.Tasks.Task> ListCallRecordingsWithHttpInfoAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallRecordings"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7030,7 +7031,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// CallList public CallList ListCalls(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListCallsWithHttpInfo(active , to , from , status , startTime , endTime , parentCallId ); + freeclimb.Client.ApiResponse localVarResponse = ListCallsWithHttpInfo(active, to, from, status, startTime, endTime, parentCallId); return localVarResponse.Data; } @@ -7048,14 +7049,14 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of CallList public freeclimb.Client.ApiResponse ListCallsWithHttpInfo(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { - - - - - - - - + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7133,21 +7134,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Calls /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of CallList public async System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7160,33 +7161,33 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Calls /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) public async System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7273,7 +7274,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ConferenceList public ConferenceList ListConferences(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListConferencesWithHttpInfo(status , alias , dateCreated , dateUpdated ); + freeclimb.Client.ApiResponse localVarResponse = ListConferencesWithHttpInfo(status, alias, dateCreated, dateUpdated); return localVarResponse.Data; } @@ -7288,11 +7289,11 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of ConferenceList public freeclimb.Client.ApiResponse ListConferencesWithHttpInfo(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string)) { - - - - - + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7358,15 +7359,15 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Conferences /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceList public async System.Threading.Tasks.Task ListConferencesAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7379,24 +7380,24 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Conferences /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceList) public async System.Threading.Tasks.Task> ListConferencesWithHttpInfoAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7481,7 +7482,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// IncomingNumberList public IncomingNumberList ListIncomingNumbers(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListIncomingNumbersWithHttpInfo(phoneNumber , alias , region , country , applicationId , hasApplication , voiceEnabled , smsEnabled , capabilitiesVoice , capabilitiesSms , capabilitiesTollFree , capabilitiesTenDLC , capabilitiesShortCode , offnet ); + freeclimb.Client.ApiResponse localVarResponse = ListIncomingNumbersWithHttpInfo(phoneNumber, alias, region, country, applicationId, hasApplication, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode, offnet); return localVarResponse.Data; } @@ -7506,21 +7507,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of IncomingNumberList public freeclimb.Client.ApiResponse ListIncomingNumbersWithHttpInfo(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?)) { - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7626,35 +7627,35 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Incoming Numbers /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberList public async System.Threading.Tasks.Task ListIncomingNumbersAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7667,54 +7668,54 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Incoming Numbers /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberList) public async System.Threading.Tasks.Task> ListIncomingNumbersWithHttpInfoAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7826,7 +7827,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// QueueMemberList public QueueMemberList ListMembers(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = ListMembersWithHttpInfo(queueId ); + freeclimb.Client.ApiResponse localVarResponse = ListMembersWithHttpInfo(queueId); return localVarResponse.Data; } @@ -7838,14 +7839,14 @@ public QueueMemberList ListMembers(string queueId) /// ApiResponse of QueueMemberList public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->ListMembers"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7896,9 +7897,9 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Members /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMemberList public async System.Threading.Tasks.Task ListMembersAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7911,21 +7912,21 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Members /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMemberList) public async System.Threading.Tasks.Task> ListMembersWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->ListMembers"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7984,7 +7985,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ConferenceParticipantList public ConferenceParticipantList ListParticipants(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListParticipantsWithHttpInfo(conferenceId , talk , listen ); + freeclimb.Client.ApiResponse localVarResponse = ListParticipantsWithHttpInfo(conferenceId, talk, listen); return localVarResponse.Data; } @@ -7998,16 +7999,16 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of ConferenceParticipantList public freeclimb.Client.ApiResponse ListParticipantsWithHttpInfo(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->ListParticipants"); } - - - + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8066,13 +8067,13 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Participants /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantList public async System.Threading.Tasks.Task ListParticipantsAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8085,27 +8086,27 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Participants /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantList) public async System.Threading.Tasks.Task> ListParticipantsWithHttpInfoAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->ListParticipants"); } - - - + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8172,7 +8173,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// RecordingList public RecordingList ListRecordings(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListRecordingsWithHttpInfo(callId , conferenceId , dateCreated ); + freeclimb.Client.ApiResponse localVarResponse = ListRecordingsWithHttpInfo(callId, conferenceId, dateCreated); return localVarResponse.Data; } @@ -8186,10 +8187,10 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of RecordingList public freeclimb.Client.ApiResponse ListRecordingsWithHttpInfo(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string)) { - - - - + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8251,13 +8252,13 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Recordings /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList public async System.Threading.Tasks.Task ListRecordingsAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8270,21 +8271,21 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Recordings /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) public async System.Threading.Tasks.Task> ListRecordingsWithHttpInfoAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8356,7 +8357,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// MessagesList public MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)) { - freeclimb.Client.ApiResponse localVarResponse = ListSmsMessagesWithHttpInfo(to , from , beginTime , endTime , direction ); + freeclimb.Client.ApiResponse localVarResponse = ListSmsMessagesWithHttpInfo(to, from, beginTime, endTime, direction); return localVarResponse.Data; } @@ -8372,12 +8373,12 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of MessagesList public freeclimb.Client.ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)) { - - - - - - + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8447,17 +8448,17 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List SMS Messages /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of MessagesList public async System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8470,27 +8471,27 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List SMS Messages /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) public async System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8566,7 +8567,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// CallResult public CallResult MakeACall(MakeCallRequest makeCallRequest = default(MakeCallRequest)) { - freeclimb.Client.ApiResponse localVarResponse = MakeACallWithHttpInfo(makeCallRequest ); + freeclimb.Client.ApiResponse localVarResponse = MakeACallWithHttpInfo(makeCallRequest); return localVarResponse.Data; } @@ -8578,8 +8579,8 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of CallResult public freeclimb.Client.ApiResponse MakeACallWithHttpInfo(MakeCallRequest makeCallRequest = default(MakeCallRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8631,9 +8632,9 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Make a Call /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of CallResult public async System.Threading.Tasks.Task MakeACallAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8646,15 +8647,15 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Make a Call /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) public async System.Threading.Tasks.Task> MakeACallWithHttpInfoAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8725,21 +8726,21 @@ public void RemoveAParticipant(string conferenceId, string callId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(string conferenceId, string callId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->RemoveAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->RemoveAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8790,11 +8791,11 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// Remove a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task RemoveAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8806,30 +8807,30 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// Remove a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> RemoveAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->RemoveAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->RemoveAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8886,7 +8887,7 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// MessageResult public MessageResult SendAnSmsMessage(MessageRequest messageRequest) { - freeclimb.Client.ApiResponse localVarResponse = SendAnSmsMessageWithHttpInfo(messageRequest ); + freeclimb.Client.ApiResponse localVarResponse = SendAnSmsMessageWithHttpInfo(messageRequest); return localVarResponse.Data; } @@ -8898,14 +8899,14 @@ public MessageResult SendAnSmsMessage(MessageRequest messageRequest) /// ApiResponse of MessageResult public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo(MessageRequest messageRequest) { - + // verify the required parameter 'messageRequest' is set if (messageRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageRequest' when calling DefaultApi->SendAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8957,9 +8958,9 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// Send an SMS Message /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of MessageResult public async System.Threading.Tasks.Task SendAnSmsMessageAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8972,21 +8973,21 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// Send an SMS Message /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) public async System.Threading.Tasks.Task> SendAnSmsMessageWithHttpInfoAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'messageRequest' is set if (messageRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageRequest' when calling DefaultApi->SendAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9044,7 +9045,7 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// System.IO.Stream public System.IO.Stream StreamARecordingFile(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = StreamARecordingFileWithHttpInfo(recordingId ); + freeclimb.Client.ApiResponse localVarResponse = StreamARecordingFileWithHttpInfo(recordingId); return localVarResponse.Data; } @@ -9056,14 +9057,14 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ApiResponse of System.IO.Stream public freeclimb.Client.ApiResponse StreamARecordingFileWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->StreamARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9114,9 +9115,9 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Stream a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream public async System.Threading.Tasks.Task StreamARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9129,21 +9130,21 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Stream a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) public async System.Threading.Tasks.Task> StreamARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->StreamARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9201,7 +9202,7 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ConferenceResult public ConferenceResult UpdateAConference(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAConferenceWithHttpInfo(conferenceId , updateConferenceRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAConferenceWithHttpInfo(conferenceId, updateConferenceRequest); return localVarResponse.Data; } @@ -9214,15 +9215,15 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse UpdateAConferenceWithHttpInfo(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAConference"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9275,11 +9276,11 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Update a Conference /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task UpdateAConferenceAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9292,24 +9293,24 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Update a Conference /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> UpdateAConferenceWithHttpInfoAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAConference"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9381,28 +9382,27 @@ public void UpdateALiveCall(string callId, UpdateCallRequest updateCallRequest) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string callId, UpdateCallRequest updateCallRequest) { - // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateALiveCall"); } - + // verify the required parameter 'updateCallRequest' is set if (updateCallRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'updateCallRequest' when calling DefaultApi->UpdateALiveCall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; - // to determine the Accept header + //to determine the Accept header string[] _accepts = new string[] { }; @@ -9413,14 +9413,27 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c } var localVarAccept = freeclimb.Client.ClientUtils.SelectHeaderAccept(_accepts); + Console.WriteLine("Accepts Params:" + localVarAccept); if (localVarAccept != null) { + Console.WriteLine("Accepts Params if not null:" + localVarAccept); localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } localVarRequestOptions.PathParameters.Add("accountId", freeclimb.Client.ClientUtils.ParameterToString(accountId)); // path parameter localVarRequestOptions.PathParameters.Add("callId", freeclimb.Client.ClientUtils.ParameterToString(callId)); // path parameter localVarRequestOptions.Data = updateCallRequest; + Console.WriteLine("Header Parameters being passed in for update a live call: " + localVarRequestOptions.HeaderParameters.ToString()); + foreach (var contents in localVarRequestOptions.HeaderParameters.Keys) + { + foreach (var listMember in localVarRequestOptions.HeaderParameters[contents]) + { + Console.WriteLine("Key : " + contents + " member :" + listMember); + } + } + Console.WriteLine("Data being passed in for update a live call: " + localVarRequestOptions.Data); + //Console.WriteLine("JSON conversion of the request: " + updateCallRequest.ToJson()); + //Console.WriteLine(updateCallRequest.ToJsonObject()); // authentication (fc) required // http basic authentication required @@ -9447,11 +9460,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Live Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task UpdateALiveCallAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9463,30 +9476,30 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Live Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> UpdateALiveCallWithHttpInfoAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateALiveCall"); } - + // verify the required parameter 'updateCallRequest' is set if (updateCallRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'updateCallRequest' when calling DefaultApi->UpdateALiveCall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9546,7 +9559,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ConferenceParticipantResult public ConferenceParticipantResult UpdateAParticipant(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAParticipantWithHttpInfo(conferenceId , callId , updateConferenceParticipantRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAParticipantWithHttpInfo(conferenceId, callId, updateConferenceParticipantRequest); return localVarResponse.Data; } @@ -9560,22 +9573,22 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of ConferenceParticipantResult public freeclimb.Client.ApiResponse UpdateAParticipantWithHttpInfo(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateAParticipant"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9603,6 +9616,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c localVarRequestOptions.PathParameters.Add("conferenceId", freeclimb.Client.ClientUtils.ParameterToString(conferenceId)); // path parameter localVarRequestOptions.PathParameters.Add("callId", freeclimb.Client.ClientUtils.ParameterToString(callId)); // path parameter localVarRequestOptions.Data = updateConferenceParticipantRequest; + Console.WriteLine("Data being passed in for update a participant: " + localVarRequestOptions.Data); // authentication (fc) required // http basic authentication required @@ -9629,13 +9643,13 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult public async System.Threading.Tasks.Task UpdateAParticipantAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9648,33 +9662,33 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) public async System.Threading.Tasks.Task> UpdateAParticipantWithHttpInfoAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateAParticipant"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9735,7 +9749,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// QueueResult public QueueResult UpdateAQueue(string queueId, QueueRequest queueRequest = default(QueueRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAQueueWithHttpInfo(queueId , queueRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAQueueWithHttpInfo(queueId, queueRequest); return localVarResponse.Data; } @@ -9748,15 +9762,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse UpdateAQueueWithHttpInfo(string queueId, QueueRequest queueRequest = default(QueueRequest)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->UpdateAQueue"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9809,11 +9823,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task UpdateAQueueAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9826,24 +9840,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> UpdateAQueueWithHttpInfoAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->UpdateAQueue"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9913,8 +9927,8 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse UpdateAnAccountWithHttpInfo(AccountRequest accountRequest = default(AccountRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9965,9 +9979,9 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Manage an account /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task UpdateAnAccountAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9979,15 +9993,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Manage an account /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> UpdateAnAccountWithHttpInfoAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -10045,7 +10059,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApplicationResult public ApplicationResult UpdateAnApplication(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAnApplicationWithHttpInfo(applicationId , applicationRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAnApplicationWithHttpInfo(applicationId, applicationRequest); return localVarResponse.Data; } @@ -10058,15 +10072,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse UpdateAnApplicationWithHttpInfo(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->UpdateAnApplication"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -10119,11 +10133,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task UpdateAnApplicationAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -10136,24 +10150,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> UpdateAnApplicationWithHttpInfoAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->UpdateAnApplication"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -10213,7 +10227,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// IncomingNumberResult public IncomingNumberResult UpdateAnIncomingNumber(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAnIncomingNumberWithHttpInfo(phoneNumberId , incomingNumberRequest ); + freeclimb.Client.ApiResponse localVarResponse = UpdateAnIncomingNumberWithHttpInfo(phoneNumberId, incomingNumberRequest); return localVarResponse.Data; } @@ -10226,15 +10240,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse UpdateAnIncomingNumberWithHttpInfo(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->UpdateAnIncomingNumber"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -10287,11 +10301,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task UpdateAnIncomingNumberAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -10304,24 +10318,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> UpdateAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->UpdateAnIncomingNumber"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); From 471ce73e5eb34d7fb660c2e3b50037d5d7d1fe44 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 5 Dec 2022 12:28:58 -0500 Subject: [PATCH 07/59] Debugging Request generation for Update a Live Call request --- src/freeclimb/Api/DefaultApi.cs | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/src/freeclimb/Api/DefaultApi.cs b/src/freeclimb/Api/DefaultApi.cs index 8b441e17..e668837b 100644 --- a/src/freeclimb/Api/DefaultApi.cs +++ b/src/freeclimb/Api/DefaultApi.cs @@ -9413,25 +9413,17 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c } var localVarAccept = freeclimb.Client.ClientUtils.SelectHeaderAccept(_accepts); - Console.WriteLine("Accepts Params:" + localVarAccept); if (localVarAccept != null) { Console.WriteLine("Accepts Params if not null:" + localVarAccept); localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } + Console.WriteLine("Accepts Params:" + localVarAccept); localVarRequestOptions.PathParameters.Add("accountId", freeclimb.Client.ClientUtils.ParameterToString(accountId)); // path parameter localVarRequestOptions.PathParameters.Add("callId", freeclimb.Client.ClientUtils.ParameterToString(callId)); // path parameter localVarRequestOptions.Data = updateCallRequest; - Console.WriteLine("Header Parameters being passed in for update a live call: " + localVarRequestOptions.HeaderParameters.ToString()); - foreach (var contents in localVarRequestOptions.HeaderParameters.Keys) - { - foreach (var listMember in localVarRequestOptions.HeaderParameters[contents]) - { - Console.WriteLine("Key : " + contents + " member :" + listMember); - } - } - Console.WriteLine("Data being passed in for update a live call: " + localVarRequestOptions.Data); + //Console.WriteLine("Header Parameters being passed in for update a live call: " + localVarRequestOptions.HeaderParameters.ToString()); //Console.WriteLine("JSON conversion of the request: " + updateCallRequest.ToJson()); //Console.WriteLine(updateCallRequest.ToJsonObject()); @@ -9442,6 +9434,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c localVarRequestOptions.HeaderParameters.Add("Authorization", "Basic " + freeclimb.Client.ClientUtils.Base64Encode(this.Configuration.Username + ":" + this.Configuration.Password)); } + //Printout of entire request before sending to client to Post + Console.WriteLine("Request Header Parameters:"); + foreach (var contents in localVarRequestOptions.HeaderParameters.Keys) + { + foreach (var listMember in localVarRequestOptions.HeaderParameters[contents]) + { + Console.WriteLine("Key : " + contents + " member :" + listMember); + } + } + Console.WriteLine("Request Path Parameters:"); + foreach (KeyValuePair kvp in localVarRequestOptions.PathParameters) + { + //textBox3.Text += ("Key = {0}, Value = {1}", kvp.Key, kvp.Value); + Console.WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value); + } + Console.WriteLine("Request Data:"); + Console.WriteLine("Data being passed in for update a live call: " + localVarRequestOptions.Data); + // make the HTTP request var localVarResponse = this.Client.Post("/Accounts/{accountId}/Calls/{callId}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) From aecf4b6505a475c9c24ee68e84630624d781bfae Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 5 Dec 2022 16:15:02 -0500 Subject: [PATCH 08/59] Tests are all passing, adding empty string logic for accept headers --- src/freeclimb.Test/Api/DefaultApiTests.cs | 2 -- src/freeclimb/Api/DefaultApi.cs | 25 +---------------------- src/freeclimb/Client/ApiClient.cs | 5 ++--- src/freeclimb/Client/ClientUtils.cs | 10 +++++---- src/freeclimb/Model/UpdateCallRequest.cs | 6 +++--- 5 files changed, 12 insertions(+), 36 deletions(-) diff --git a/src/freeclimb.Test/Api/DefaultApiTests.cs b/src/freeclimb.Test/Api/DefaultApiTests.cs index 37411a0b..0f24efc7 100644 --- a/src/freeclimb.Test/Api/DefaultApiTests.cs +++ b/src/freeclimb.Test/Api/DefaultApiTests.cs @@ -752,7 +752,6 @@ public void UpdateALiveCallTest() string callId = callIdTestValue(); UpdateCallRequest updateCallRequest = updateCallRequestTestValue(); - Console.WriteLine("Update Call Request: " + updateCallRequest); instance.UpdateALiveCall(callId, updateCallRequest); } @@ -770,7 +769,6 @@ public void UpdateAParticipantTest() string callId = callIdTestValue(); UpdateConferenceParticipantRequest updateConferenceParticipantRequest = updateConferenceParticipantRequestTestValue(); - Console.WriteLine("Update Participant Request: " + updateConferenceParticipantRequest); var response = instance.UpdateAParticipant(conferenceId, callId, updateConferenceParticipantRequest); //Assert.IsType(response); diff --git a/src/freeclimb/Api/DefaultApi.cs b/src/freeclimb/Api/DefaultApi.cs index e668837b..6d779fdc 100644 --- a/src/freeclimb/Api/DefaultApi.cs +++ b/src/freeclimb/Api/DefaultApi.cs @@ -9415,17 +9415,13 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c var localVarAccept = freeclimb.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { - Console.WriteLine("Accepts Params if not null:" + localVarAccept); + localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - Console.WriteLine("Accepts Params:" + localVarAccept); localVarRequestOptions.PathParameters.Add("accountId", freeclimb.Client.ClientUtils.ParameterToString(accountId)); // path parameter localVarRequestOptions.PathParameters.Add("callId", freeclimb.Client.ClientUtils.ParameterToString(callId)); // path parameter localVarRequestOptions.Data = updateCallRequest; - //Console.WriteLine("Header Parameters being passed in for update a live call: " + localVarRequestOptions.HeaderParameters.ToString()); - //Console.WriteLine("JSON conversion of the request: " + updateCallRequest.ToJson()); - //Console.WriteLine(updateCallRequest.ToJsonObject()); // authentication (fc) required // http basic authentication required @@ -9434,24 +9430,6 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c localVarRequestOptions.HeaderParameters.Add("Authorization", "Basic " + freeclimb.Client.ClientUtils.Base64Encode(this.Configuration.Username + ":" + this.Configuration.Password)); } - //Printout of entire request before sending to client to Post - Console.WriteLine("Request Header Parameters:"); - foreach (var contents in localVarRequestOptions.HeaderParameters.Keys) - { - foreach (var listMember in localVarRequestOptions.HeaderParameters[contents]) - { - Console.WriteLine("Key : " + contents + " member :" + listMember); - } - } - Console.WriteLine("Request Path Parameters:"); - foreach (KeyValuePair kvp in localVarRequestOptions.PathParameters) - { - //textBox3.Text += ("Key = {0}, Value = {1}", kvp.Key, kvp.Value); - Console.WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value); - } - Console.WriteLine("Request Data:"); - Console.WriteLine("Data being passed in for update a live call: " + localVarRequestOptions.Data); - // make the HTTP request var localVarResponse = this.Client.Post("/Accounts/{accountId}/Calls/{callId}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) @@ -9626,7 +9604,6 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c localVarRequestOptions.PathParameters.Add("conferenceId", freeclimb.Client.ClientUtils.ParameterToString(conferenceId)); // path parameter localVarRequestOptions.PathParameters.Add("callId", freeclimb.Client.ClientUtils.ParameterToString(callId)); // path parameter localVarRequestOptions.Data = updateConferenceParticipantRequest; - Console.WriteLine("Data being passed in for update a participant: " + localVarRequestOptions.Data); // authentication (fc) required // http basic authentication required diff --git a/src/freeclimb/Client/ApiClient.cs b/src/freeclimb/Client/ApiClient.cs index 734962a3..da6427e8 100644 --- a/src/freeclimb/Client/ApiClient.cs +++ b/src/freeclimb/Client/ApiClient.cs @@ -391,7 +391,6 @@ private RestRequest NewRequest( request.AddCookie(cookie.Name, cookie.Value); } } - return request; } @@ -501,7 +500,7 @@ private ApiResponse Exec(RestRequest req, IReadableConfiguration configura { try { - response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); + response.Data = (T)typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); } catch (Exception ex) { @@ -618,7 +617,7 @@ private ApiResponse Exec(RestRequest req, IReadableConfiguration configura // if the response type is oneOf/anyOf, call FromJSON to deserialize the data if (typeof(freeclimb.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) { - response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); + response.Data = (T)typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); } else if (typeof(T).Name == "Stream") // for binary response { diff --git a/src/freeclimb/Client/ClientUtils.cs b/src/freeclimb/Client/ClientUtils.cs index 792c9d5c..e92654e4 100644 --- a/src/freeclimb/Client/ClientUtils.cs +++ b/src/freeclimb/Client/ClientUtils.cs @@ -57,13 +57,15 @@ public static Multimap ParameterToMultiMap(string collectionForm } else if (value is IDictionary dictionary) { - if(collectionFormat == "deepObject") { + if (collectionFormat == "deepObject") + { foreach (DictionaryEntry entry in dictionary) { parameters.Add(name + "[" + entry.Key + "]", ParameterToString(entry.Value)); } } - else { + else + { foreach (DictionaryEntry entry in dictionary) { parameters.Add(entry.Key.ToString(), ParameterToString(entry.Value)); @@ -81,7 +83,7 @@ public static Multimap ParameterToMultiMap(string collectionForm { parameters.Add(name, ParameterToString(value)); } - + } return parameters; @@ -207,7 +209,7 @@ public static string SelectHeaderContentType(string[] contentTypes) public static string SelectHeaderAccept(string[] accepts) { if (accepts.Length == 0) - return null; + return ""; if (accepts.Contains("application/json", StringComparer.OrdinalIgnoreCase)) return "application/json"; diff --git a/src/freeclimb/Model/UpdateCallRequest.cs b/src/freeclimb/Model/UpdateCallRequest.cs index a34f5106..f6c15637 100644 --- a/src/freeclimb/Model/UpdateCallRequest.cs +++ b/src/freeclimb/Model/UpdateCallRequest.cs @@ -82,10 +82,10 @@ public virtual string ToJson() public virtual IDictionary ToKvp() { IDictionary props = new Dictionary(); - props.Add("status", Status); + props.Add("status", Status); return props; } - + /// /// Returns true if objects are equal /// @@ -107,7 +107,7 @@ public bool Equals(UpdateCallRequest input) { return false; } - return + return ( this.Status == input.Status || this.Status.Equals(input.Status) From 546d36e8a01c8845e39d833dcab10739fe26ee44 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 5 Dec 2022 16:28:38 -0500 Subject: [PATCH 09/59] Add changes to both README and test files --- README.md | 7 +- src/freeclimb/Api/DefaultApi.cs | 1771 +++++++++++----------- src/freeclimb/Client/ApiClient.cs | 5 +- src/freeclimb/Client/ClientUtils.cs | 8 +- src/freeclimb/Model/UpdateCallRequest.cs | 6 +- 5 files changed, 898 insertions(+), 899 deletions(-) diff --git a/README.md b/README.md index 5f56b058..5dd7d94b 100644 --- a/README.md +++ b/README.md @@ -388,9 +388,10 @@ Class | Method | HTTP request | Description { public static void Main() { - string expectedValue = "active"; - AccountStatus calculatedValue = Reflection.GetEnumByValue(expectedValue); - Assert.Equal(instance, calculatedValue); + string stringToConvertToEnum = "active"; + AccountStatus calculatedEnumValue = Reflection.GetEnumByValue(expectedValue); + AccountStatus expectedValue = AccountStatus.ACTIVE; + Assert.Equal(expectedValue, calculatedEnumValue); } } diff --git a/src/freeclimb/Api/DefaultApi.cs b/src/freeclimb/Api/DefaultApi.cs index 6d779fdc..14a5ba42 100644 --- a/src/freeclimb/Api/DefaultApi.cs +++ b/src/freeclimb/Api/DefaultApi.cs @@ -12,7 +12,6 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Dynamic; using System.Linq; using System.Net; using System.Net.Mime; @@ -971,9 +970,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task BuyAPhoneNumberAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -985,9 +984,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> BuyAPhoneNumberWithHttpInfoAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -998,9 +997,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task CreateAConferenceAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1012,9 +1011,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> CreateAConferenceWithHttpInfoAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1025,9 +1024,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task CreateAQueueAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1039,9 +1038,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> CreateAQueueWithHttpInfoAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1052,9 +1051,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task CreateAnApplicationAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1066,9 +1065,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> CreateAnApplicationWithHttpInfoAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1079,9 +1078,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1093,9 +1092,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1106,9 +1105,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1120,9 +1119,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1133,9 +1132,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task DeleteAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1147,9 +1146,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> DeleteAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1160,11 +1159,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task DequeueAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1176,11 +1175,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> DequeueAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1191,9 +1190,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task DequeueHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1205,9 +1204,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> DequeueHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1218,9 +1217,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream System.Threading.Tasks.Task DownloadARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1232,9 +1231,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) System.Threading.Tasks.Task> DownloadARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1245,9 +1244,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task FilterLogsAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1259,9 +1258,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> FilterLogsWithHttpInfoAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1272,9 +1271,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of CallResult System.Threading.Tasks.Task GetACallAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1286,9 +1285,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) System.Threading.Tasks.Task> GetACallWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1299,9 +1298,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task GetAConferenceAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1313,9 +1312,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> GetAConferenceWithHttpInfoAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1326,11 +1325,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task GetAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1342,11 +1341,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> GetAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1357,11 +1356,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult System.Threading.Tasks.Task GetAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1373,11 +1372,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) System.Threading.Tasks.Task> GetAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1388,9 +1387,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task GetAQueueAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1402,9 +1401,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> GetAQueueWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1415,9 +1414,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of RecordingResult System.Threading.Tasks.Task GetARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1429,9 +1428,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingResult) System.Threading.Tasks.Task> GetARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1442,7 +1441,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of AccountResult System.Threading.Tasks.Task GetAnAccountAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1454,7 +1453,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AccountResult) System.Threading.Tasks.Task> GetAnAccountWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1465,9 +1464,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task GetAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1479,9 +1478,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> GetAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1492,9 +1491,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task GetAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1506,9 +1505,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> GetAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1519,9 +1518,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of MessageResult System.Threading.Tasks.Task GetAnSmsMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1533,9 +1532,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) System.Threading.Tasks.Task> GetAnSmsMessageWithHttpInfoAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1546,9 +1545,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMember System.Threading.Tasks.Task GetHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1560,9 +1559,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) System.Threading.Tasks.Task> GetHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1573,9 +1572,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueList System.Threading.Tasks.Task ListActiveQueuesAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1587,9 +1586,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueList) System.Threading.Tasks.Task> ListActiveQueuesWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1600,7 +1599,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task ListAllAccountLogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1612,7 +1611,7 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> ListAllAccountLogsWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1623,9 +1622,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationList System.Threading.Tasks.Task ListApplicationsAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1637,9 +1636,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationList) System.Threading.Tasks.Task> ListApplicationsWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1650,27 +1649,27 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of AvailableNumberList System.Threading.Tasks.Task ListAvailableNumbersAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1682,27 +1681,27 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AvailableNumberList) System.Threading.Tasks.Task> ListAvailableNumbersWithHttpInfoAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1713,9 +1712,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of LogList System.Threading.Tasks.Task ListCallLogsAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1727,9 +1726,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) System.Threading.Tasks.Task> ListCallLogsWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1740,11 +1739,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList System.Threading.Tasks.Task ListCallRecordingsAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1756,11 +1755,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) System.Threading.Tasks.Task> ListCallRecordingsWithHttpInfoAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1771,21 +1770,21 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of CallList System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1797,21 +1796,21 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1822,15 +1821,15 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceList System.Threading.Tasks.Task ListConferencesAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1842,15 +1841,15 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceList) System.Threading.Tasks.Task> ListConferencesWithHttpInfoAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1861,35 +1860,35 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberList System.Threading.Tasks.Task ListIncomingNumbersAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1901,35 +1900,35 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberList) System.Threading.Tasks.Task> ListIncomingNumbersWithHttpInfoAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1940,9 +1939,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMemberList System.Threading.Tasks.Task ListMembersAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1954,9 +1953,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMemberList) System.Threading.Tasks.Task> ListMembersWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1967,13 +1966,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantList System.Threading.Tasks.Task ListParticipantsAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -1985,13 +1984,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantList) System.Threading.Tasks.Task> ListParticipantsWithHttpInfoAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2002,13 +2001,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList System.Threading.Tasks.Task ListRecordingsAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2020,13 +2019,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) System.Threading.Tasks.Task> ListRecordingsWithHttpInfoAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2037,17 +2036,17 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of MessagesList System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2059,17 +2058,17 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2080,9 +2079,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of CallResult System.Threading.Tasks.Task MakeACallAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2094,9 +2093,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) System.Threading.Tasks.Task> MakeACallWithHttpInfoAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2107,11 +2106,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task RemoveAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2123,11 +2122,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> RemoveAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2138,9 +2137,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of MessageResult System.Threading.Tasks.Task SendAnSmsMessageAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2152,9 +2151,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) System.Threading.Tasks.Task> SendAnSmsMessageWithHttpInfoAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2165,9 +2164,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream System.Threading.Tasks.Task StreamARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2179,9 +2178,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) System.Threading.Tasks.Task> StreamARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2192,11 +2191,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult System.Threading.Tasks.Task UpdateAConferenceAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2208,11 +2207,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) System.Threading.Tasks.Task> UpdateAConferenceWithHttpInfoAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2223,11 +2222,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task UpdateALiveCallAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2239,11 +2238,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> UpdateALiveCallWithHttpInfoAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2254,13 +2253,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult System.Threading.Tasks.Task UpdateAParticipantAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2272,13 +2271,13 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) System.Threading.Tasks.Task> UpdateAParticipantWithHttpInfoAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2289,11 +2288,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult System.Threading.Tasks.Task UpdateAQueueAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2305,11 +2304,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) System.Threading.Tasks.Task> UpdateAQueueWithHttpInfoAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2320,9 +2319,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of void System.Threading.Tasks.Task UpdateAnAccountAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2334,9 +2333,9 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse System.Threading.Tasks.Task> UpdateAnAccountWithHttpInfoAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2347,11 +2346,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult System.Threading.Tasks.Task UpdateAnApplicationAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2363,11 +2362,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) System.Threading.Tasks.Task> UpdateAnApplicationWithHttpInfoAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2378,11 +2377,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult System.Threading.Tasks.Task UpdateAnIncomingNumberAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2394,11 +2393,11 @@ public interface IDefaultApiAsync : IApiAccessor /// /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) System.Threading.Tasks.Task> UpdateAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -2533,7 +2532,7 @@ public freeclimb.Client.ExceptionFactory ExceptionFactory /// IncomingNumberResult public IncomingNumberResult BuyAPhoneNumber(BuyIncomingNumberRequest buyIncomingNumberRequest) { - freeclimb.Client.ApiResponse localVarResponse = BuyAPhoneNumberWithHttpInfo(buyIncomingNumberRequest); + freeclimb.Client.ApiResponse localVarResponse = BuyAPhoneNumberWithHttpInfo(buyIncomingNumberRequest ); return localVarResponse.Data; } @@ -2545,14 +2544,14 @@ public IncomingNumberResult BuyAPhoneNumber(BuyIncomingNumberRequest buyIncoming /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHttpInfo(BuyIncomingNumberRequest buyIncomingNumberRequest) { - + // verify the required parameter 'buyIncomingNumberRequest' is set if (buyIncomingNumberRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'buyIncomingNumberRequest' when calling DefaultApi->BuyAPhoneNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2604,9 +2603,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Buy a Phone Number /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task BuyAPhoneNumberAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2619,21 +2618,21 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Buy a Phone Number /// /// Thrown when fails to make API call - + /// Incoming Number transaction details - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> BuyAPhoneNumberWithHttpInfoAsync(BuyIncomingNumberRequest buyIncomingNumberRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'buyIncomingNumberRequest' is set if (buyIncomingNumberRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'buyIncomingNumberRequest' when calling DefaultApi->BuyAPhoneNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2691,7 +2690,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ConferenceResult public ConferenceResult CreateAConference(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAConferenceWithHttpInfo(createConferenceRequest); + freeclimb.Client.ApiResponse localVarResponse = CreateAConferenceWithHttpInfo(createConferenceRequest ); return localVarResponse.Data; } @@ -2703,8 +2702,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse CreateAConferenceWithHttpInfo(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2756,9 +2755,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Conference /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task CreateAConferenceAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2771,15 +2770,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Conference /// /// Thrown when fails to make API call - + /// Conference to create (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> CreateAConferenceWithHttpInfoAsync(CreateConferenceRequest createConferenceRequest = default(CreateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2837,7 +2836,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// QueueResult public QueueResult CreateAQueue(QueueRequest queueRequest = default(QueueRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAQueueWithHttpInfo(queueRequest); + freeclimb.Client.ApiResponse localVarResponse = CreateAQueueWithHttpInfo(queueRequest ); return localVarResponse.Data; } @@ -2849,8 +2848,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse CreateAQueueWithHttpInfo(QueueRequest queueRequest = default(QueueRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -2902,9 +2901,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Queue /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task CreateAQueueAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -2917,15 +2916,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create a Queue /// /// Thrown when fails to make API call - + /// Queue details used to create a queue (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> CreateAQueueWithHttpInfoAsync(QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -2983,7 +2982,7 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApplicationResult public ApplicationResult CreateAnApplication(ApplicationRequest applicationRequest = default(ApplicationRequest)) { - freeclimb.Client.ApiResponse localVarResponse = CreateAnApplicationWithHttpInfo(applicationRequest); + freeclimb.Client.ApiResponse localVarResponse = CreateAnApplicationWithHttpInfo(applicationRequest ); return localVarResponse.Data; } @@ -2995,8 +2994,8 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse CreateAnApplicationWithHttpInfo(ApplicationRequest applicationRequest = default(ApplicationRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3048,9 +3047,9 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create an application /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task CreateAnApplicationAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3063,15 +3062,15 @@ public freeclimb.Client.ApiResponse BuyAPhoneNumberWithHtt /// Create an application /// /// Thrown when fails to make API call - + /// Application Details (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> CreateAnApplicationWithHttpInfoAsync(ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3140,14 +3139,14 @@ public void DeleteARecording(string recordingId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DeleteARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3197,9 +3196,9 @@ public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string /// Delete a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3211,21 +3210,21 @@ public freeclimb.Client.ApiResponse DeleteARecordingWithHttpInfo(string /// Delete a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DeleteARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3292,14 +3291,14 @@ public void DeleteAnApplication(string applicationId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(string applicationId) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->DeleteAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3349,9 +3348,9 @@ public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(stri /// Delete an application /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3363,21 +3362,21 @@ public freeclimb.Client.ApiResponse DeleteAnApplicationWithHttpInfo(stri /// Delete an application /// /// Thrown when fails to make API call - + /// String that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->DeleteAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3444,14 +3443,14 @@ public void DeleteAnIncomingNumber(string phoneNumberId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(string phoneNumberId) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->DeleteAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3501,9 +3500,9 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// Delete an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task DeleteAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3515,21 +3514,21 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// Delete an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> DeleteAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->DeleteAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3586,7 +3585,7 @@ public freeclimb.Client.ApiResponse DeleteAnIncomingNumberWithHttpInfo(s /// QueueMember public QueueMember DequeueAMember(string queueId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = DequeueAMemberWithHttpInfo(queueId, callId); + freeclimb.Client.ApiResponse localVarResponse = DequeueAMemberWithHttpInfo(queueId , callId ); return localVarResponse.Data; } @@ -3599,21 +3598,21 @@ public QueueMember DequeueAMember(string queueId, string callId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(string queueId, string callId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->DequeueAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3665,11 +3664,11 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// Dequeue a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task DequeueAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3682,30 +3681,30 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// Dequeue a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID if the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> DequeueAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->DequeueAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3763,7 +3762,7 @@ public freeclimb.Client.ApiResponse DequeueAMemberWithHttpInfo(stri /// QueueMember public QueueMember DequeueHeadMember(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = DequeueHeadMemberWithHttpInfo(queueId); + freeclimb.Client.ApiResponse localVarResponse = DequeueHeadMemberWithHttpInfo(queueId ); return localVarResponse.Data; } @@ -3775,14 +3774,14 @@ public QueueMember DequeueHeadMember(string queueId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3833,9 +3832,9 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// Dequeue Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task DequeueHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -3848,21 +3847,21 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// Dequeue Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> DequeueHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->DequeueHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -3919,7 +3918,7 @@ public freeclimb.Client.ApiResponse DequeueHeadMemberWithHttpInfo(s /// System.IO.Stream public System.IO.Stream DownloadARecordingFile(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = DownloadARecordingFileWithHttpInfo(recordingId); + freeclimb.Client.ApiResponse localVarResponse = DownloadARecordingFileWithHttpInfo(recordingId ); return localVarResponse.Data; } @@ -3931,14 +3930,14 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// ApiResponse of System.IO.Stream public freeclimb.Client.ApiResponse DownloadARecordingFileWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DownloadARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -3989,9 +3988,9 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// Download a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream public async System.Threading.Tasks.Task DownloadARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4004,21 +4003,21 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// Download a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) public async System.Threading.Tasks.Task> DownloadARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->DownloadARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4075,7 +4074,7 @@ public System.IO.Stream DownloadARecordingFile(string recordingId) /// LogList public LogList FilterLogs(FilterLogsRequest filterLogsRequest) { - freeclimb.Client.ApiResponse localVarResponse = FilterLogsWithHttpInfo(filterLogsRequest); + freeclimb.Client.ApiResponse localVarResponse = FilterLogsWithHttpInfo(filterLogsRequest ); return localVarResponse.Data; } @@ -4087,14 +4086,14 @@ public LogList FilterLogs(FilterLogsRequest filterLogsRequest) /// ApiResponse of LogList public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRequest filterLogsRequest) { - + // verify the required parameter 'filterLogsRequest' is set if (filterLogsRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'filterLogsRequest' when calling DefaultApi->FilterLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4146,9 +4145,9 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// Filter Logs /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task FilterLogsAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4161,21 +4160,21 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// Filter Logs /// /// Thrown when fails to make API call - + /// Filter logs request paramters - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> FilterLogsWithHttpInfoAsync(FilterLogsRequest filterLogsRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'filterLogsRequest' is set if (filterLogsRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'filterLogsRequest' when calling DefaultApi->FilterLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4233,7 +4232,7 @@ public freeclimb.Client.ApiResponse FilterLogsWithHttpInfo(FilterLogsRe /// CallResult public CallResult GetACall(string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetACallWithHttpInfo(callId); + freeclimb.Client.ApiResponse localVarResponse = GetACallWithHttpInfo(callId ); return localVarResponse.Data; } @@ -4245,14 +4244,14 @@ public CallResult GetACall(string callId) /// ApiResponse of CallResult public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string callId) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetACall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4303,9 +4302,9 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// Get a Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of CallResult public async System.Threading.Tasks.Task GetACallAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4318,21 +4317,21 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// Get a Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) public async System.Threading.Tasks.Task> GetACallWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetACall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4389,7 +4388,7 @@ public freeclimb.Client.ApiResponse GetACallWithHttpInfo(string call /// ConferenceResult public ConferenceResult GetAConference(string conferenceId) { - freeclimb.Client.ApiResponse localVarResponse = GetAConferenceWithHttpInfo(conferenceId); + freeclimb.Client.ApiResponse localVarResponse = GetAConferenceWithHttpInfo(conferenceId ); return localVarResponse.Data; } @@ -4401,14 +4400,14 @@ public ConferenceResult GetAConference(string conferenceId) /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo(string conferenceId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAConference"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4459,9 +4458,9 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// Get a Conference /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task GetAConferenceAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4474,21 +4473,21 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// Get a Conference /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this conference resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> GetAConferenceWithHttpInfoAsync(string conferenceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAConference"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4546,7 +4545,7 @@ public freeclimb.Client.ApiResponse GetAConferenceWithHttpInfo /// QueueMember public QueueMember GetAMember(string queueId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetAMemberWithHttpInfo(queueId, callId); + freeclimb.Client.ApiResponse localVarResponse = GetAMemberWithHttpInfo(queueId , callId ); return localVarResponse.Data; } @@ -4559,21 +4558,21 @@ public QueueMember GetAMember(string queueId, string callId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string queueId, string callId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4625,11 +4624,11 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// Get a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task GetAMemberAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4642,30 +4641,30 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// Get a Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// ID of the Call that the Member belongs to - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> GetAMemberWithHttpInfoAsync(string queueId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAMember"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4724,7 +4723,7 @@ public freeclimb.Client.ApiResponse GetAMemberWithHttpInfo(string q /// ConferenceParticipantResult public ConferenceParticipantResult GetAParticipant(string conferenceId, string callId) { - freeclimb.Client.ApiResponse localVarResponse = GetAParticipantWithHttpInfo(conferenceId, callId); + freeclimb.Client.ApiResponse localVarResponse = GetAParticipantWithHttpInfo(conferenceId , callId ); return localVarResponse.Data; } @@ -4737,21 +4736,21 @@ public ConferenceParticipantResult GetAParticipant(string conferenceId, string c /// ApiResponse of ConferenceParticipantResult public freeclimb.Client.ApiResponse GetAParticipantWithHttpInfo(string conferenceId, string callId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4803,11 +4802,11 @@ public freeclimb.Client.ApiResponse GetAParticipant /// Get a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult public async System.Threading.Tasks.Task GetAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4820,30 +4819,30 @@ public freeclimb.Client.ApiResponse GetAParticipant /// Get a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) public async System.Threading.Tasks.Task> GetAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->GetAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->GetAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -4901,7 +4900,7 @@ public freeclimb.Client.ApiResponse GetAParticipant /// QueueResult public QueueResult GetAQueue(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = GetAQueueWithHttpInfo(queueId); + freeclimb.Client.ApiResponse localVarResponse = GetAQueueWithHttpInfo(queueId ); return localVarResponse.Data; } @@ -4913,14 +4912,14 @@ public QueueResult GetAQueue(string queueId) /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAQueue"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -4971,9 +4970,9 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// Get a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task GetAQueueAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -4986,21 +4985,21 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// Get a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this queue resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> GetAQueueWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetAQueue"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5057,7 +5056,7 @@ public freeclimb.Client.ApiResponse GetAQueueWithHttpInfo(string qu /// RecordingResult public RecordingResult GetARecording(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = GetARecordingWithHttpInfo(recordingId); + freeclimb.Client.ApiResponse localVarResponse = GetARecordingWithHttpInfo(recordingId ); return localVarResponse.Data; } @@ -5069,14 +5068,14 @@ public RecordingResult GetARecording(string recordingId) /// ApiResponse of RecordingResult public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->GetARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5127,9 +5126,9 @@ public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(s /// Get a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of RecordingResult public async System.Threading.Tasks.Task GetARecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5142,21 +5141,21 @@ public freeclimb.Client.ApiResponse GetARecordingWithHttpInfo(s /// Get a Recording /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingResult) public async System.Threading.Tasks.Task> GetARecordingWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->GetARecording"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5223,7 +5222,7 @@ public AccountResult GetAnAccount() /// ApiResponse of AccountResult public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5273,7 +5272,7 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// Get an Account /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of AccountResult public async System.Threading.Tasks.Task GetAnAccountAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5286,12 +5285,12 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// Get an Account /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AccountResult) public async System.Threading.Tasks.Task> GetAnAccountWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5347,7 +5346,7 @@ public freeclimb.Client.ApiResponse GetAnAccountWithHttpInfo() /// ApplicationResult public ApplicationResult GetAnApplication(string applicationId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnApplicationWithHttpInfo(applicationId); + freeclimb.Client.ApiResponse localVarResponse = GetAnApplicationWithHttpInfo(applicationId ); return localVarResponse.Data; } @@ -5359,14 +5358,14 @@ public ApplicationResult GetAnApplication(string applicationId) /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse GetAnApplicationWithHttpInfo(string applicationId) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->GetAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5417,9 +5416,9 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// Get an Application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task GetAnApplicationAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5432,21 +5431,21 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// Get an Application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> GetAnApplicationWithHttpInfoAsync(string applicationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->GetAnApplication"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5503,7 +5502,7 @@ public freeclimb.Client.ApiResponse GetAnApplicationWithHttpI /// IncomingNumberResult public IncomingNumberResult GetAnIncomingNumber(string phoneNumberId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnIncomingNumberWithHttpInfo(phoneNumberId); + freeclimb.Client.ApiResponse localVarResponse = GetAnIncomingNumberWithHttpInfo(phoneNumberId ); return localVarResponse.Data; } @@ -5515,14 +5514,14 @@ public IncomingNumberResult GetAnIncomingNumber(string phoneNumberId) /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse GetAnIncomingNumberWithHttpInfo(string phoneNumberId) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->GetAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5573,9 +5572,9 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// Get an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task GetAnIncomingNumberAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5588,21 +5587,21 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// Get an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> GetAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->GetAnIncomingNumber"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5659,7 +5658,7 @@ public freeclimb.Client.ApiResponse GetAnIncomingNumberWit /// MessageResult public MessageResult GetAnSmsMessage(string messageId) { - freeclimb.Client.ApiResponse localVarResponse = GetAnSmsMessageWithHttpInfo(messageId); + freeclimb.Client.ApiResponse localVarResponse = GetAnSmsMessageWithHttpInfo(messageId ); return localVarResponse.Data; } @@ -5671,14 +5670,14 @@ public MessageResult GetAnSmsMessage(string messageId) /// ApiResponse of MessageResult public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(string messageId) { - + // verify the required parameter 'messageId' is set if (messageId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageId' when calling DefaultApi->GetAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5729,9 +5728,9 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// Get an SMS Message /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of MessageResult public async System.Threading.Tasks.Task GetAnSmsMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5744,21 +5743,21 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// Get an SMS Message /// /// Thrown when fails to make API call - + /// String that uniquely identifies this Message resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) public async System.Threading.Tasks.Task> GetAnSmsMessageWithHttpInfoAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'messageId' is set if (messageId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageId' when calling DefaultApi->GetAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5815,7 +5814,7 @@ public freeclimb.Client.ApiResponse GetAnSmsMessageWithHttpInfo(s /// QueueMember public QueueMember GetHeadMember(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = GetHeadMemberWithHttpInfo(queueId); + freeclimb.Client.ApiResponse localVarResponse = GetHeadMemberWithHttpInfo(queueId ); return localVarResponse.Data; } @@ -5827,14 +5826,14 @@ public QueueMember GetHeadMember(string queueId) /// ApiResponse of QueueMember public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -5885,9 +5884,9 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// Get Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMember public async System.Threading.Tasks.Task GetHeadMemberAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -5900,21 +5899,21 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// Get Head Member /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMember) public async System.Threading.Tasks.Task> GetHeadMemberWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->GetHeadMember"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -5971,7 +5970,7 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// QueueList public QueueList ListActiveQueues(string alias = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListActiveQueuesWithHttpInfo(alias); + freeclimb.Client.ApiResponse localVarResponse = ListActiveQueuesWithHttpInfo(alias ); return localVarResponse.Data; } @@ -5983,8 +5982,8 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// ApiResponse of QueueList public freeclimb.Client.ApiResponse ListActiveQueuesWithHttpInfo(string alias = default(string)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6038,9 +6037,9 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// List Active Queues /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueList public async System.Threading.Tasks.Task ListActiveQueuesAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6053,15 +6052,15 @@ public freeclimb.Client.ApiResponse GetHeadMemberWithHttpInfo(strin /// List Active Queues /// /// Thrown when fails to make API call - + /// Return only the Queue resources with aliases that exactly match this name. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueList) public async System.Threading.Tasks.Task> ListActiveQueuesWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6131,7 +6130,7 @@ public LogList ListAllAccountLogs() /// ApiResponse of LogList public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6181,7 +6180,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List All Account Logs /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task ListAllAccountLogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6194,12 +6193,12 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List All Account Logs /// /// Thrown when fails to make API call - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> ListAllAccountLogsWithHttpInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6255,7 +6254,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApplicationList public ApplicationList ListApplications(string alias = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListApplicationsWithHttpInfo(alias); + freeclimb.Client.ApiResponse localVarResponse = ListApplicationsWithHttpInfo(alias ); return localVarResponse.Data; } @@ -6267,8 +6266,8 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApiResponse of ApplicationList public freeclimb.Client.ApiResponse ListApplicationsWithHttpInfo(string alias = default(string)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6322,9 +6321,9 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List applications /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationList public async System.Threading.Tasks.Task ListApplicationsAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6337,15 +6336,15 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List applications /// /// Thrown when fails to make API call - + /// Return only applications with aliases that exactly match this value. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationList) public async System.Threading.Tasks.Task> ListApplicationsWithHttpInfoAsync(string alias = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6414,7 +6413,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// AvailableNumberList public AvailableNumberList ListAvailableNumbers(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListAvailableNumbersWithHttpInfo(phoneNumber, region, country, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode); + freeclimb.Client.ApiResponse localVarResponse = ListAvailableNumbersWithHttpInfo(phoneNumber , region , country , voiceEnabled , smsEnabled , capabilitiesVoice , capabilitiesSms , capabilitiesTollFree , capabilitiesTenDLC , capabilitiesShortCode ); return localVarResponse.Data; } @@ -6435,17 +6434,17 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// ApiResponse of AvailableNumberList public freeclimb.Client.ApiResponse ListAvailableNumbersWithHttpInfo(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?)) { - - - - - - - - - - - + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6534,27 +6533,27 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List available numbers /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of AvailableNumberList public async System.Threading.Tasks.Task ListAvailableNumbersAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6567,42 +6566,42 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// List available numbers /// /// Thrown when fails to make API call - + /// PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (AvailableNumberList) public async System.Threading.Tasks.Task> ListAvailableNumbersWithHttpInfoAsync(string phoneNumber = default(string), string region = default(string), string country = default(string), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - - - - + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6697,7 +6696,7 @@ public freeclimb.Client.ApiResponse ListAllAccountLogsWithHttpInfo() /// LogList public LogList ListCallLogs(string callId) { - freeclimb.Client.ApiResponse localVarResponse = ListCallLogsWithHttpInfo(callId); + freeclimb.Client.ApiResponse localVarResponse = ListCallLogsWithHttpInfo(callId ); return localVarResponse.Data; } @@ -6709,14 +6708,14 @@ public LogList ListCallLogs(string callId) /// ApiResponse of LogList public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string callId) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6767,9 +6766,9 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Logs /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of LogList public async System.Threading.Tasks.Task ListCallLogsAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6782,21 +6781,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Logs /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (LogList) public async System.Threading.Tasks.Task> ListCallLogsWithHttpInfoAsync(string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallLogs"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -6854,7 +6853,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// RecordingList public RecordingList ListCallRecordings(string callId, string dateCreated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListCallRecordingsWithHttpInfo(callId, dateCreated); + freeclimb.Client.ApiResponse localVarResponse = ListCallRecordingsWithHttpInfo(callId , dateCreated ); return localVarResponse.Data; } @@ -6867,15 +6866,15 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of RecordingList public freeclimb.Client.ApiResponse ListCallRecordingsWithHttpInfo(string callId, string dateCreated = default(string)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallRecordings"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -6930,11 +6929,11 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Recordings /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList public async System.Threading.Tasks.Task ListCallRecordingsAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -6947,24 +6946,24 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Call Recordings /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Only show recordings created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) public async System.Threading.Tasks.Task> ListCallRecordingsWithHttpInfoAsync(string callId, string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->ListCallRecordings"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7031,7 +7030,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// CallList public CallList ListCalls(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListCallsWithHttpInfo(active, to, from, status, startTime, endTime, parentCallId); + freeclimb.Client.ApiResponse localVarResponse = ListCallsWithHttpInfo(active , to , from , status , startTime , endTime , parentCallId ); return localVarResponse.Data; } @@ -7049,14 +7048,14 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of CallList public freeclimb.Client.ApiResponse ListCallsWithHttpInfo(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string)) { - - - - - - - - + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7134,21 +7133,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Calls /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of CallList public async System.Threading.Tasks.Task ListCallsAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7161,33 +7160,33 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Calls /// /// Thrown when fails to make API call - + /// If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (optional, default to false) - + /// Only show Calls to this phone number. (optional) - + /// Only show Calls from this phone number. (optional) - + /// Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`. (optional) - + /// Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss. (optional) - + /// Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss. (optional) - + /// Only show Calls spawned by the call with this ID. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallList) public async System.Threading.Tasks.Task> ListCallsWithHttpInfoAsync(bool? active = default(bool?), string to = default(string), string from = default(string), CallStatus? status = default(CallStatus?), string startTime = default(string), string endTime = default(string), string parentCallId = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7274,7 +7273,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ConferenceList public ConferenceList ListConferences(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListConferencesWithHttpInfo(status, alias, dateCreated, dateUpdated); + freeclimb.Client.ApiResponse localVarResponse = ListConferencesWithHttpInfo(status , alias , dateCreated , dateUpdated ); return localVarResponse.Data; } @@ -7289,11 +7288,11 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of ConferenceList public freeclimb.Client.ApiResponse ListConferencesWithHttpInfo(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string)) { - - - - - + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7359,15 +7358,15 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Conferences /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceList public async System.Threading.Tasks.Task ListConferencesAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7380,24 +7379,24 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Conferences /// /// Thrown when fails to make API call - + /// Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`. (optional) - + /// List Conferences whose alias exactly matches this string. (optional) - + /// Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceList) public async System.Threading.Tasks.Task> ListConferencesWithHttpInfoAsync(string status = default(string), string alias = default(string), string dateCreated = default(string), string dateUpdated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7482,7 +7481,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// IncomingNumberList public IncomingNumberList ListIncomingNumbers(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListIncomingNumbersWithHttpInfo(phoneNumber, alias, region, country, applicationId, hasApplication, voiceEnabled, smsEnabled, capabilitiesVoice, capabilitiesSms, capabilitiesTollFree, capabilitiesTenDLC, capabilitiesShortCode, offnet); + freeclimb.Client.ApiResponse localVarResponse = ListIncomingNumbersWithHttpInfo(phoneNumber , alias , region , country , applicationId , hasApplication , voiceEnabled , smsEnabled , capabilitiesVoice , capabilitiesSms , capabilitiesTollFree , capabilitiesTenDLC , capabilitiesShortCode , offnet ); return localVarResponse.Data; } @@ -7507,21 +7506,21 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// ApiResponse of IncomingNumberList public freeclimb.Client.ApiResponse ListIncomingNumbersWithHttpInfo(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?)) { - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7627,35 +7626,35 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Incoming Numbers /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberList public async System.Threading.Tasks.Task ListIncomingNumbersAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7668,54 +7667,54 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// List Incoming Numbers /// /// Thrown when fails to make API call - + /// Only show incoming phone number resources that match this PCRE-compatible regular expression. (optional) - + /// Only show incoming phone numbers with aliases that exactly match this value. (optional) - + /// State or province of this phone number. (optional) - + /// Country of this phone number. (optional) - + /// ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId. (optional) - + /// Indication of whether the phone number has an application linked to it. (optional, default to false) - + /// Indicates whether the phone number can handle Calls. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers. (optional, default to true) (deprecated) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// (optional) - + /// Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberList) public async System.Threading.Tasks.Task> ListIncomingNumbersWithHttpInfoAsync(string phoneNumber = default(string), string alias = default(string), string region = default(string), string country = default(string), string applicationId = default(string), bool? hasApplication = default(bool?), bool? voiceEnabled = default(bool?), bool? smsEnabled = default(bool?), bool? capabilitiesVoice = default(bool?), bool? capabilitiesSms = default(bool?), bool? capabilitiesTollFree = default(bool?), bool? capabilitiesTenDLC = default(bool?), bool? capabilitiesShortCode = default(bool?), bool? offnet = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7827,7 +7826,7 @@ public freeclimb.Client.ApiResponse ListCallLogsWithHttpInfo(string cal /// QueueMemberList public QueueMemberList ListMembers(string queueId) { - freeclimb.Client.ApiResponse localVarResponse = ListMembersWithHttpInfo(queueId); + freeclimb.Client.ApiResponse localVarResponse = ListMembersWithHttpInfo(queueId ); return localVarResponse.Data; } @@ -7839,14 +7838,14 @@ public QueueMemberList ListMembers(string queueId) /// ApiResponse of QueueMemberList public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(string queueId) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->ListMembers"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -7897,9 +7896,9 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Members /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of QueueMemberList public async System.Threading.Tasks.Task ListMembersAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -7912,21 +7911,21 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Members /// /// Thrown when fails to make API call - + /// String that uniquely identifies the Queue that the Member belongs to. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueMemberList) public async System.Threading.Tasks.Task> ListMembersWithHttpInfoAsync(string queueId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->ListMembers"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -7985,7 +7984,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ConferenceParticipantList public ConferenceParticipantList ListParticipants(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?)) { - freeclimb.Client.ApiResponse localVarResponse = ListParticipantsWithHttpInfo(conferenceId, talk, listen); + freeclimb.Client.ApiResponse localVarResponse = ListParticipantsWithHttpInfo(conferenceId , talk , listen ); return localVarResponse.Data; } @@ -7999,16 +7998,16 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of ConferenceParticipantList public freeclimb.Client.ApiResponse ListParticipantsWithHttpInfo(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->ListParticipants"); } - - - + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8067,13 +8066,13 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Participants /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantList public async System.Threading.Tasks.Task ListParticipantsAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8086,27 +8085,27 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Participants /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// Only show Participants with the talk privilege. (optional) - + /// Only show Participants with the listen privilege. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantList) public async System.Threading.Tasks.Task> ListParticipantsWithHttpInfoAsync(string conferenceId, bool? talk = default(bool?), bool? listen = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->ListParticipants"); } - - - + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8173,7 +8172,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// RecordingList public RecordingList ListRecordings(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string)) { - freeclimb.Client.ApiResponse localVarResponse = ListRecordingsWithHttpInfo(callId, conferenceId, dateCreated); + freeclimb.Client.ApiResponse localVarResponse = ListRecordingsWithHttpInfo(callId , conferenceId , dateCreated ); return localVarResponse.Data; } @@ -8187,10 +8186,10 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of RecordingList public freeclimb.Client.ApiResponse ListRecordingsWithHttpInfo(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string)) { - - - - + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8252,13 +8251,13 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Recordings /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of RecordingList public async System.Threading.Tasks.Task ListRecordingsAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8271,21 +8270,21 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List Recordings /// /// Thrown when fails to make API call - + /// Show only Recordings made during the Call with this ID. (optional) - + /// Show only Recordings made during the conference with this ID. (optional) - + /// Only show Recordings created on this date, formatted as *YYYY-MM-DD*. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (RecordingList) public async System.Threading.Tasks.Task> ListRecordingsWithHttpInfoAsync(string callId = default(string), string conferenceId = default(string), string dateCreated = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8357,7 +8356,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// MessagesList public MessagesList ListSmsMessages(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)) { - freeclimb.Client.ApiResponse localVarResponse = ListSmsMessagesWithHttpInfo(to, from, beginTime, endTime, direction); + freeclimb.Client.ApiResponse localVarResponse = ListSmsMessagesWithHttpInfo(to , from , beginTime , endTime , direction ); return localVarResponse.Data; } @@ -8373,12 +8372,12 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of MessagesList public freeclimb.Client.ApiResponse ListSmsMessagesWithHttpInfo(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?)) { - - - - - - + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8448,17 +8447,17 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List SMS Messages /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of MessagesList public async System.Threading.Tasks.Task ListSmsMessagesAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8471,27 +8470,27 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// List SMS Messages /// /// Thrown when fails to make API call - + /// Only show Messages to this phone number. (optional) - + /// Only show Messages from this phone number. (optional) - + /// Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*. (optional) - + /// Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*.. (optional) - + /// Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessagesList) public async System.Threading.Tasks.Task> ListSmsMessagesWithHttpInfoAsync(string to = default(string), string from = default(string), string beginTime = default(string), string endTime = default(string), MessageDirection? direction = default(MessageDirection?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - - - - - + + + + + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8567,7 +8566,7 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// CallResult public CallResult MakeACall(MakeCallRequest makeCallRequest = default(MakeCallRequest)) { - freeclimb.Client.ApiResponse localVarResponse = MakeACallWithHttpInfo(makeCallRequest); + freeclimb.Client.ApiResponse localVarResponse = MakeACallWithHttpInfo(makeCallRequest ); return localVarResponse.Data; } @@ -8579,8 +8578,8 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// ApiResponse of CallResult public freeclimb.Client.ApiResponse MakeACallWithHttpInfo(MakeCallRequest makeCallRequest = default(MakeCallRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8632,9 +8631,9 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Make a Call /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of CallResult public async System.Threading.Tasks.Task MakeACallAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8647,15 +8646,15 @@ public freeclimb.Client.ApiResponse ListMembersWithHttpInfo(str /// Make a Call /// /// Thrown when fails to make API call - + /// Call details for making a call (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (CallResult) public async System.Threading.Tasks.Task> MakeACallWithHttpInfoAsync(MakeCallRequest makeCallRequest = default(MakeCallRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8726,21 +8725,21 @@ public void RemoveAParticipant(string conferenceId, string callId) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(string conferenceId, string callId) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->RemoveAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->RemoveAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8791,11 +8790,11 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// Remove a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task RemoveAParticipantAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8807,30 +8806,30 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// Remove a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> RemoveAParticipantWithHttpInfoAsync(string conferenceId, string callId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->RemoveAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->RemoveAParticipant"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -8887,7 +8886,7 @@ public freeclimb.Client.ApiResponse RemoveAParticipantWithHttpInfo(strin /// MessageResult public MessageResult SendAnSmsMessage(MessageRequest messageRequest) { - freeclimb.Client.ApiResponse localVarResponse = SendAnSmsMessageWithHttpInfo(messageRequest); + freeclimb.Client.ApiResponse localVarResponse = SendAnSmsMessageWithHttpInfo(messageRequest ); return localVarResponse.Data; } @@ -8899,14 +8898,14 @@ public MessageResult SendAnSmsMessage(MessageRequest messageRequest) /// ApiResponse of MessageResult public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo(MessageRequest messageRequest) { - + // verify the required parameter 'messageRequest' is set if (messageRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageRequest' when calling DefaultApi->SendAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8958,9 +8957,9 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// Send an SMS Message /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of MessageResult public async System.Threading.Tasks.Task SendAnSmsMessageAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -8973,21 +8972,21 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// Send an SMS Message /// /// Thrown when fails to make API call - + /// Details to create a message - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (MessageResult) public async System.Threading.Tasks.Task> SendAnSmsMessageWithHttpInfoAsync(MessageRequest messageRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'messageRequest' is set if (messageRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'messageRequest' when calling DefaultApi->SendAnSmsMessage"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9045,7 +9044,7 @@ public freeclimb.Client.ApiResponse SendAnSmsMessageWithHttpInfo( /// System.IO.Stream public System.IO.Stream StreamARecordingFile(string recordingId) { - freeclimb.Client.ApiResponse localVarResponse = StreamARecordingFileWithHttpInfo(recordingId); + freeclimb.Client.ApiResponse localVarResponse = StreamARecordingFileWithHttpInfo(recordingId ); return localVarResponse.Data; } @@ -9057,14 +9056,14 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ApiResponse of System.IO.Stream public freeclimb.Client.ApiResponse StreamARecordingFileWithHttpInfo(string recordingId) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->StreamARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9115,9 +9114,9 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Stream a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of System.IO.Stream public async System.Threading.Tasks.Task StreamARecordingFileAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9130,21 +9129,21 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Stream a Recording File /// /// Thrown when fails to make API call - + /// String that uniquely identifies this recording resource. - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (System.IO.Stream) public async System.Threading.Tasks.Task> StreamARecordingFileWithHttpInfoAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'recordingId' is set if (recordingId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'recordingId' when calling DefaultApi->StreamARecordingFile"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9202,7 +9201,7 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ConferenceResult public ConferenceResult UpdateAConference(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAConferenceWithHttpInfo(conferenceId, updateConferenceRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAConferenceWithHttpInfo(conferenceId , updateConferenceRequest ); return localVarResponse.Data; } @@ -9215,15 +9214,15 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// ApiResponse of ConferenceResult public freeclimb.Client.ApiResponse UpdateAConferenceWithHttpInfo(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAConference"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9276,11 +9275,11 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Update a Conference /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceResult public async System.Threading.Tasks.Task UpdateAConferenceAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9293,24 +9292,24 @@ public System.IO.Stream StreamARecordingFile(string recordingId) /// Update a Conference /// /// Thrown when fails to make API call - + /// String that uniquely identifies this conference resource. - + /// Conference Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceResult) public async System.Threading.Tasks.Task> UpdateAConferenceWithHttpInfoAsync(string conferenceId, UpdateConferenceRequest updateConferenceRequest = default(UpdateConferenceRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAConference"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9382,27 +9381,28 @@ public void UpdateALiveCall(string callId, UpdateCallRequest updateCallRequest) /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string callId, UpdateCallRequest updateCallRequest) { + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateALiveCall"); } - + // verify the required parameter 'updateCallRequest' is set if (updateCallRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'updateCallRequest' when calling DefaultApi->UpdateALiveCall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; - //to determine the Accept header + // to determine the Accept header string[] _accepts = new string[] { }; @@ -9415,7 +9415,6 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c var localVarAccept = freeclimb.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { - localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } @@ -9448,11 +9447,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Live Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task UpdateALiveCallAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9464,30 +9463,30 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Live Call /// /// Thrown when fails to make API call - + /// String that uniquely identifies this call resource. - + /// Call details to update - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> UpdateALiveCallWithHttpInfoAsync(string callId, UpdateCallRequest updateCallRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateALiveCall"); } - + // verify the required parameter 'updateCallRequest' is set if (updateCallRequest == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'updateCallRequest' when calling DefaultApi->UpdateALiveCall"); } - + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9547,7 +9546,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ConferenceParticipantResult public ConferenceParticipantResult UpdateAParticipant(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAParticipantWithHttpInfo(conferenceId, callId, updateConferenceParticipantRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAParticipantWithHttpInfo(conferenceId , callId , updateConferenceParticipantRequest ); return localVarResponse.Data; } @@ -9561,22 +9560,22 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of ConferenceParticipantResult public freeclimb.Client.ApiResponse UpdateAParticipantWithHttpInfo(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateAParticipant"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9630,13 +9629,13 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ConferenceParticipantResult public async System.Threading.Tasks.Task UpdateAParticipantAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9649,33 +9648,33 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Participant /// /// Thrown when fails to make API call - + /// ID of the conference this participant is in. - + /// ID of the Call associated with this participant. - + /// Conference participant details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ConferenceParticipantResult) public async System.Threading.Tasks.Task> UpdateAParticipantWithHttpInfoAsync(string conferenceId, string callId, UpdateConferenceParticipantRequest updateConferenceParticipantRequest = default(UpdateConferenceParticipantRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'conferenceId' is set if (conferenceId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'conferenceId' when calling DefaultApi->UpdateAParticipant"); } - + // verify the required parameter 'callId' is set if (callId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'callId' when calling DefaultApi->UpdateAParticipant"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9736,7 +9735,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// QueueResult public QueueResult UpdateAQueue(string queueId, QueueRequest queueRequest = default(QueueRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAQueueWithHttpInfo(queueId, queueRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAQueueWithHttpInfo(queueId , queueRequest ); return localVarResponse.Data; } @@ -9749,15 +9748,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of QueueResult public freeclimb.Client.ApiResponse UpdateAQueueWithHttpInfo(string queueId, QueueRequest queueRequest = default(QueueRequest)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->UpdateAQueue"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9810,11 +9809,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of QueueResult public async System.Threading.Tasks.Task UpdateAQueueAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9827,24 +9826,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update a Queue /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this Queue resource. - + /// Queue Details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (QueueResult) public async System.Threading.Tasks.Task> UpdateAQueueWithHttpInfoAsync(string queueId, QueueRequest queueRequest = default(QueueRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'queueId' is set if (queueId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'queueId' when calling DefaultApi->UpdateAQueue"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -9914,8 +9913,8 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of Object(void) public freeclimb.Client.ApiResponse UpdateAnAccountWithHttpInfo(AccountRequest accountRequest = default(AccountRequest)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -9966,9 +9965,9 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Manage an account /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of void public async System.Threading.Tasks.Task UpdateAnAccountAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -9980,15 +9979,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Manage an account /// /// Thrown when fails to make API call - + /// Account details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse public async System.Threading.Tasks.Task> UpdateAnAccountWithHttpInfoAsync(AccountRequest accountRequest = default(AccountRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -10046,7 +10045,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApplicationResult public ApplicationResult UpdateAnApplication(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAnApplicationWithHttpInfo(applicationId, applicationRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAnApplicationWithHttpInfo(applicationId , applicationRequest ); return localVarResponse.Data; } @@ -10059,15 +10058,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of ApplicationResult public freeclimb.Client.ApiResponse UpdateAnApplicationWithHttpInfo(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->UpdateAnApplication"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -10120,11 +10119,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApplicationResult public async System.Threading.Tasks.Task UpdateAnApplicationAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -10137,24 +10136,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an application /// /// Thrown when fails to make API call - + /// A string that uniquely identifies this application resource. - + /// Application details to update. (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (ApplicationResult) public async System.Threading.Tasks.Task> UpdateAnApplicationWithHttpInfoAsync(string applicationId, ApplicationRequest applicationRequest = default(ApplicationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'applicationId' is set if (applicationId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'applicationId' when calling DefaultApi->UpdateAnApplication"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); @@ -10214,7 +10213,7 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// IncomingNumberResult public IncomingNumberResult UpdateAnIncomingNumber(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest)) { - freeclimb.Client.ApiResponse localVarResponse = UpdateAnIncomingNumberWithHttpInfo(phoneNumberId, incomingNumberRequest); + freeclimb.Client.ApiResponse localVarResponse = UpdateAnIncomingNumberWithHttpInfo(phoneNumberId , incomingNumberRequest ); return localVarResponse.Data; } @@ -10227,15 +10226,15 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// ApiResponse of IncomingNumberResult public freeclimb.Client.ApiResponse UpdateAnIncomingNumberWithHttpInfo(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->UpdateAnIncomingNumber"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -10288,11 +10287,11 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of IncomingNumberResult public async System.Threading.Tasks.Task UpdateAnIncomingNumberAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -10305,24 +10304,24 @@ public freeclimb.Client.ApiResponse UpdateALiveCallWithHttpInfo(string c /// Update an Incoming Number /// /// Thrown when fails to make API call - + /// String that uniquely identifies this phone number resource. - + /// Incoming Number details to update (optional) - + /// Cancellation Token to cancel the request. /// Task of ApiResponse (IncomingNumberResult) public async System.Threading.Tasks.Task> UpdateAnIncomingNumberWithHttpInfoAsync(string phoneNumberId, IncomingNumberRequest incomingNumberRequest = default(IncomingNumberRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - + // verify the required parameter 'phoneNumberId' is set if (phoneNumberId == null) { throw new freeclimb.Client.ApiException(400, "Missing required parameter 'phoneNumberId' when calling DefaultApi->UpdateAnIncomingNumber"); } - - + + freeclimb.Client.RequestOptions localVarRequestOptions = new freeclimb.Client.RequestOptions(); diff --git a/src/freeclimb/Client/ApiClient.cs b/src/freeclimb/Client/ApiClient.cs index da6427e8..734962a3 100644 --- a/src/freeclimb/Client/ApiClient.cs +++ b/src/freeclimb/Client/ApiClient.cs @@ -391,6 +391,7 @@ private RestRequest NewRequest( request.AddCookie(cookie.Name, cookie.Value); } } + return request; } @@ -500,7 +501,7 @@ private ApiResponse Exec(RestRequest req, IReadableConfiguration configura { try { - response.Data = (T)typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); + response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); } catch (Exception ex) { @@ -617,7 +618,7 @@ private ApiResponse Exec(RestRequest req, IReadableConfiguration configura // if the response type is oneOf/anyOf, call FromJSON to deserialize the data if (typeof(freeclimb.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) { - response.Data = (T)typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); + response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); } else if (typeof(T).Name == "Stream") // for binary response { diff --git a/src/freeclimb/Client/ClientUtils.cs b/src/freeclimb/Client/ClientUtils.cs index e92654e4..31a20b66 100644 --- a/src/freeclimb/Client/ClientUtils.cs +++ b/src/freeclimb/Client/ClientUtils.cs @@ -57,15 +57,13 @@ public static Multimap ParameterToMultiMap(string collectionForm } else if (value is IDictionary dictionary) { - if (collectionFormat == "deepObject") - { + if(collectionFormat == "deepObject") { foreach (DictionaryEntry entry in dictionary) { parameters.Add(name + "[" + entry.Key + "]", ParameterToString(entry.Value)); } } - else - { + else { foreach (DictionaryEntry entry in dictionary) { parameters.Add(entry.Key.ToString(), ParameterToString(entry.Value)); @@ -83,7 +81,7 @@ public static Multimap ParameterToMultiMap(string collectionForm { parameters.Add(name, ParameterToString(value)); } - + } return parameters; diff --git a/src/freeclimb/Model/UpdateCallRequest.cs b/src/freeclimb/Model/UpdateCallRequest.cs index f6c15637..a34f5106 100644 --- a/src/freeclimb/Model/UpdateCallRequest.cs +++ b/src/freeclimb/Model/UpdateCallRequest.cs @@ -82,10 +82,10 @@ public virtual string ToJson() public virtual IDictionary ToKvp() { IDictionary props = new Dictionary(); - props.Add("status", Status); + props.Add("status", Status); return props; } - + /// /// Returns true if objects are equal /// @@ -107,7 +107,7 @@ public bool Equals(UpdateCallRequest input) { return false; } - return + return ( this.Status == input.Status || this.Status.Equals(input.Status) From 6ccdb7cf80faab0cae95839dde43b962a6ec7e18 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 10:59:48 -0500 Subject: [PATCH 10/59] Test Github Action for server --- .github/workflows/dotnet-package.yml | 40 ++++++++++++++++++---------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 98367f75..02380f78 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -2,22 +2,34 @@ name: Build & Test .NET Package on: push: - branches: [ "*" ] + branches: ["*"] jobs: + container-test-job: + runs-on: ubuntu-latest + container: + image: node:14.16 + env: + NODE_ENV: development + ports: + - 80 + volumes: + - my_docker_volume:/volume_mount + options: --cpus 1 + steps: + - name: Check for dockerenv file + run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 6.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test - run: dotnet test --no-restore --verbosity normal + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + - name: Test + run: dotnet test --no-restore --verbosity normal From 274445fef4fc5f9339a93cdea4a7b174291e0661 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 11:21:21 -0500 Subject: [PATCH 11/59] Test Github Action for server continued --- .github/workflows/dotnet-package.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 02380f78..82baa6cb 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -8,9 +8,8 @@ jobs: container-test-job: runs-on: ubuntu-latest container: - image: node:14.16 + image: stoplight/prism:latest env: - NODE_ENV: development ports: - 80 volumes: @@ -19,6 +18,8 @@ jobs: steps: - name: Check for dockerenv file run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) + - name: List all files + run: (ls -alg) build: runs-on: ubuntu-latest steps: From d14e95a688ac83e29f5660c1cb2997d6d3ae18a3 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 11:22:10 -0500 Subject: [PATCH 12/59] Test Github Action for server continued --- .github/workflows/dotnet-package.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 82baa6cb..584a501c 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -9,7 +9,6 @@ jobs: runs-on: ubuntu-latest container: image: stoplight/prism:latest - env: ports: - 80 volumes: From 188f165f53046e4dff67505c98ddbd1657f7ffed Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:17:01 -0500 Subject: [PATCH 13/59] Test out start command of prism mock server --- .github/workflows/dotnet-package.yml | 34 +++++++++++++++------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 584a501c..4fe69cdc 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -2,15 +2,13 @@ name: Build & Test .NET Package on: push: - branches: ["*"] + branches: [ "*" ] jobs: - container-test-job: - runs-on: ubuntu-latest - container: + container: image: stoplight/prism:latest ports: - - 80 + - 4010 volumes: - my_docker_volume:/volume_mount options: --cpus 1 @@ -19,17 +17,21 @@ jobs: run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - name: List all files run: (ls -alg) + - name: Run Prism command + run: prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + - name: Check if prism server is up + run: curl -X POST "http://127.0.0.1:4010/Accounts/{accountId}/Calls/{callId}" -H "Content-Type: application/json" -d "{\"status\":\"completed\"}" -u "{account_id}:{api_key}" build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 6.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test - run: dotnet test --no-restore --verbosity normal + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + - name: Test + run: dotnet test --no-restore --verbosity normal From c22bbb31f8c7ffed1d8458c48e1388831136f511 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:17:59 -0500 Subject: [PATCH 14/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 4fe69cdc..1833cb5e 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -8,7 +8,7 @@ jobs: container: image: stoplight/prism:latest ports: - - 4010 + - 80 volumes: - my_docker_volume:/volume_mount options: --cpus 1 @@ -21,6 +21,7 @@ jobs: run: prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - name: Check if prism server is up run: curl -X POST "http://127.0.0.1:4010/Accounts/{accountId}/Calls/{callId}" -H "Content-Type: application/json" -d "{\"status\":\"completed\"}" -u "{account_id}:{api_key}" + build: runs-on: ubuntu-latest steps: From d5f6a536bc584e8e5dda9edc9af7300f43011879 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:23:29 -0500 Subject: [PATCH 15/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 1833cb5e..c6d82986 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -20,8 +20,8 @@ jobs: - name: Run Prism command run: prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - name: Check if prism server is up - run: curl -X POST "http://127.0.0.1:4010/Accounts/{accountId}/Calls/{callId}" -H "Content-Type: application/json" -d "{\"status\":\"completed\"}" -u "{account_id}:{api_key}" - + run: curl -X POST "http://127.0.0.1:4010/Accounts/{accountId}/Calls/{callId}" -H "Content-Type\:''application/json" -d "{\"status\":\"completed\"}" -u "{account_id}:{api_key}" + build: runs-on: ubuntu-latest steps: From 5514bc227102651d7389905b849d408ed9da10e8 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:24:14 -0500 Subject: [PATCH 16/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 38 +++++++++++++--------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index c6d82986..4b456986 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -2,16 +2,16 @@ name: Build & Test .NET Package on: push: - branches: [ "*" ] + branches: ["*"] jobs: container: - image: stoplight/prism:latest - ports: - - 80 - volumes: - - my_docker_volume:/volume_mount - options: --cpus 1 + image: stoplight/prism:latest + ports: + - 80 + volumes: + - my_docker_volume:/volume_mount + options: --cpus 1 steps: - name: Check for dockerenv file run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) @@ -19,20 +19,18 @@ jobs: run: (ls -alg) - name: Run Prism command run: prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - - name: Check if prism server is up - run: curl -X POST "http://127.0.0.1:4010/Accounts/{accountId}/Calls/{callId}" -H "Content-Type\:''application/json" -d "{\"status\":\"completed\"}" -u "{account_id}:{api_key}" build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 6.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test - run: dotnet test --no-restore --verbosity normal + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + - name: Test + run: dotnet test --no-restore --verbosity normal From 1ab8ee0149464490860951d28d23b3a87a81651f Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:26:24 -0500 Subject: [PATCH 17/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 39 +++++++++++++--------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 4b456986..7516f5c7 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -2,35 +2,32 @@ name: Build & Test .NET Package on: push: - branches: ["*"] + branches: [ "*" ] jobs: container: - image: stoplight/prism:latest - ports: - - 80 - volumes: - - my_docker_volume:/volume_mount - options: --cpus 1 + image: stoplight/prism:latest + ports: + - 80 + volumes: + - my_docker_volume:/volume_mount + options: --cpus 1 steps: - name: Check for dockerenv file run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - name: List all files run: (ls -alg) - - name: Run Prism command - run: prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 6.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test - run: dotnet test --no-restore --verbosity normal + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + - name: Test + run: dotnet test --no-restore --verbosity normal From 7c535b42b2c4a2b99c4bb7c0399e5ab14a2dd51a Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:29:02 -0500 Subject: [PATCH 18/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 29 ++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 7516f5c7..3618c5f5 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -5,18 +5,23 @@ on: branches: [ "*" ] jobs: - container: - image: stoplight/prism:latest - ports: - - 80 - volumes: - - my_docker_volume:/volume_mount - options: --cpus 1 - steps: - - name: Check for dockerenv file - run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - - name: List all files - run: (ls -alg) + container-test-job: + runs-on: ubuntu-latest + container: + image: stoplight/prism:latest + ports: + - 80 + volumes: + - my_docker_volume:/volume_mount + options: --cpus 1 + steps: + - name: Check for dockerenv file + run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) + - name: List all files + run: (ls -alg) + - name: Run Prism command + run: prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + build: runs-on: ubuntu-latest steps: From 24a13d840ede426d236cf2846b95615854b5ad3f Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:30:01 -0500 Subject: [PATCH 19/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 49 +++++++++++++--------------- 1 file changed, 23 insertions(+), 26 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 3618c5f5..584a501c 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -2,37 +2,34 @@ name: Build & Test .NET Package on: push: - branches: [ "*" ] + branches: ["*"] jobs: container-test-job: runs-on: ubuntu-latest container: - image: stoplight/prism:latest - ports: - - 80 - volumes: - - my_docker_volume:/volume_mount - options: --cpus 1 - steps: - - name: Check for dockerenv file - run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - - name: List all files - run: (ls -alg) - - name: Run Prism command - run: prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - + image: stoplight/prism:latest + ports: + - 80 + volumes: + - my_docker_volume:/volume_mount + options: --cpus 1 + steps: + - name: Check for dockerenv file + run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) + - name: List all files + run: (ls -alg) build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 6.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test - run: dotnet test --no-restore --verbosity normal + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v2 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + - name: Test + run: dotnet test --no-restore --verbosity normal From fa75454a37a3fcd8d219531684466ea518bd8764 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:30:59 -0500 Subject: [PATCH 20/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 584a501c..be555e06 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -19,6 +19,9 @@ jobs: run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - name: List all files run: (ls -alg) + - name: Run Prism command + run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) + build: runs-on: ubuntu-latest steps: From c65a5f64fb9e483ff4efa6eaba74c99f525f75d5 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:31:26 -0500 Subject: [PATCH 21/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index be555e06..da901f1b 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -20,8 +20,8 @@ jobs: - name: List all files run: (ls -alg) - name: Run Prism command - run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) - + run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) + build: runs-on: ubuntu-latest steps: From 76f23b40ea970c514c92326fe1956c3c5aa1e4a6 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:50:46 -0500 Subject: [PATCH 22/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index da901f1b..3bddcdaf 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -14,13 +14,14 @@ jobs: volumes: - my_docker_volume:/volume_mount options: --cpus 1 + command: "mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17" steps: - name: Check for dockerenv file run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - name: List all files run: (ls -alg) - - name: Run Prism command - run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) + - name: cURL server + run: ( curl "http://127.0.0.1:4010/" ) build: runs-on: ubuntu-latest From 9a0cb5e8c0611f9baff2b64db1752d500ebc5474 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 14:51:38 -0500 Subject: [PATCH 23/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 3bddcdaf..75748671 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -9,12 +9,12 @@ jobs: runs-on: ubuntu-latest container: image: stoplight/prism:latest + command: "mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17" ports: - 80 volumes: - my_docker_volume:/volume_mount options: --cpus 1 - command: "mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17" steps: - name: Check for dockerenv file run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) From d4e250303b84432a055ba85aa106cb0d2842a4bc Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 15:00:13 -0500 Subject: [PATCH 24/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 75748671..4eaa124f 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -7,21 +7,14 @@ on: jobs: container-test-job: runs-on: ubuntu-latest - container: - image: stoplight/prism:latest - command: "mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17" - ports: - - 80 - volumes: - - my_docker_volume:/volume_mount - options: --cpus 1 - steps: - - name: Check for dockerenv file - run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - - name: List all files - run: (ls -alg) - - name: cURL server - run: ( curl "http://127.0.0.1:4010/" ) + - name: Run the build process with Docker + uses: addnab/docker-run-action@v3 + with: + image: stoplight/prism:latest + run: | + prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + - name: cURL server + run: ( curl "http://127.0.0.1:4010/" ) build: runs-on: ubuntu-latest From 037771d1653d57a54bb63a26918bd3cce7d6f3d6 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 15:01:13 -0500 Subject: [PATCH 25/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 4eaa124f..46b7ad17 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -7,14 +7,15 @@ on: jobs: container-test-job: runs-on: ubuntu-latest - - name: Run the build process with Docker - uses: addnab/docker-run-action@v3 - with: - image: stoplight/prism:latest - run: | - prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - - name: cURL server - run: ( curl "http://127.0.0.1:4010/" ) + steps: + - name: Run the build process with Docker + uses: addnab/docker-run-action@v3 + with: + image: stoplight/prism:latest + run: | + prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + - name: cURL server + run: ( curl "http://127.0.0.1:4010/" ) build: runs-on: ubuntu-latest From 0350c3ea8b90107cbd35f589a8c5e1c4276e2a2d Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 15:04:44 -0500 Subject: [PATCH 26/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 46b7ad17..5ca89962 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -13,7 +13,7 @@ jobs: with: image: stoplight/prism:latest run: | - prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - name: cURL server run: ( curl "http://127.0.0.1:4010/" ) From a6a3a3d04e3f3a3406652ca22f4bad6d4e248ef2 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 15:09:48 -0500 Subject: [PATCH 27/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 5ca89962..7cef3e78 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -13,7 +13,8 @@ jobs: with: image: stoplight/prism:latest run: | - mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + yarn global add @stoplight/prism-cli + prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - name: cURL server run: ( curl "http://127.0.0.1:4010/" ) From 4eced0341f622dcec77e19679fbad55172b3cfe8 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 15:13:25 -0500 Subject: [PATCH 28/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 7cef3e78..3e5a1fa4 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -13,8 +13,7 @@ jobs: with: image: stoplight/prism:latest run: | - yarn global add @stoplight/prism-cli - prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + chmod a+x $(which prism) && prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - name: cURL server run: ( curl "http://127.0.0.1:4010/" ) From 8521d7076d81f037c61267e9445d332e2e5e3b87 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 15:16:58 -0500 Subject: [PATCH 29/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 3e5a1fa4..05907240 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -11,11 +11,12 @@ jobs: - name: Run the build process with Docker uses: addnab/docker-run-action@v3 with: - image: stoplight/prism:latest + image: node:16.14.2-alpine3.15 run: | - chmod a+x $(which prism) && prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - - name: cURL server - run: ( curl "http://127.0.0.1:4010/" ) + yarn global add @stoplight/prism-cli + prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + curl "http://127.0.0.1:4010/" + exit build: runs-on: ubuntu-latest From ef756bf7a58eac3675898b2a8674b96620635606 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 15:46:03 -0500 Subject: [PATCH 30/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 05907240..12054f23 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -12,11 +12,11 @@ jobs: uses: addnab/docker-run-action@v3 with: image: node:16.14.2-alpine3.15 + ports: + - 4010:4010 run: | yarn global add @stoplight/prism-cli prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - curl "http://127.0.0.1:4010/" - exit build: runs-on: ubuntu-latest @@ -30,5 +30,7 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore + - name: curl against prism server + run: curl -X GET http://localhost:4010 - name: Test run: dotnet test --no-restore --verbosity normal From 2ab1352616c364087a6ae608273ea6e9d7c2c0e5 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 15:51:26 -0500 Subject: [PATCH 31/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 12054f23..ef161084 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -7,16 +7,19 @@ on: jobs: container-test-job: runs-on: ubuntu-latest - steps: - - name: Run the build process with Docker - uses: addnab/docker-run-action@v3 - with: - image: node:16.14.2-alpine3.15 - ports: - - 4010:4010 - run: | - yarn global add @stoplight/prism-cli - prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + services: + prismserver: + image: node:16.14.2-alpine3.15 + ports: + - 4010:4010 + steps: + - name: Check for dockerenv file + run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) + - name: Install prism + run: (yarn global add @stoplight/prism-cli) + - name: Run Prism Mock Server + run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) + build: runs-on: ubuntu-latest @@ -31,6 +34,6 @@ jobs: - name: Build run: dotnet build --configuration Release --no-restore - name: curl against prism server - run: curl -X GET http://localhost:4010 + run: curl -X GET http://prismserver:4010 - name: Test run: dotnet test --no-restore --verbosity normal From 5d793cab8292a1f87218d38216bc07c03021be03 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:02:31 -0500 Subject: [PATCH 32/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index ef161084..0940bf78 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -7,20 +7,15 @@ on: jobs: container-test-job: runs-on: ubuntu-latest - services: - prismserver: - image: node:16.14.2-alpine3.15 - ports: - - 4010:4010 - steps: - - name: Check for dockerenv file - run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - - name: Install prism - run: (yarn global add @stoplight/prism-cli) - - name: Run Prism Mock Server - run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) - - + steps: + - name: Run the build process with Docker + uses: addnab/docker-run-action@v3 + with: + image: node:16.14.2-alpine3.15 + option: --network "host" + run: | + yarn global add @stoplight/prism-cli + prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 build: runs-on: ubuntu-latest steps: @@ -31,9 +26,9 @@ jobs: dotnet-version: 6.0.x - name: Restore dependencies run: dotnet restore + - name: cURL Request to prism server + run: curl "http://127.0.0.1:4010/" - name: Build run: dotnet build --configuration Release --no-restore - - name: curl against prism server - run: curl -X GET http://prismserver:4010 - name: Test run: dotnet test --no-restore --verbosity normal From 6ad65811ac1bba0dd15971433264efb618559acd Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:04:11 -0500 Subject: [PATCH 33/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 0940bf78..c01a08b7 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -26,9 +26,9 @@ jobs: dotnet-version: 6.0.x - name: Restore dependencies run: dotnet restore - - name: cURL Request to prism server - run: curl "http://127.0.0.1:4010/" - name: Build run: dotnet build --configuration Release --no-restore + - name: cURL Request to prism server + run: curl -X GET "http://127.0.0.1:4010/" - name: Test run: dotnet test --no-restore --verbosity normal From 4d6baf7bc63f7f8c3c31acab4a893f1f9bebfcb4 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:05:26 -0500 Subject: [PATCH 34/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index c01a08b7..537647bd 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -16,6 +16,8 @@ jobs: run: | yarn global add @stoplight/prism-cli prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + - name: cURL Request to prism server + run: curl -X GET "http://127.0.0.1:4010/" build: runs-on: ubuntu-latest steps: From aaad35ccd255c95cba6ce0831d3109675763a8d5 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:07:36 -0500 Subject: [PATCH 35/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 537647bd..d0135bf7 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -12,7 +12,7 @@ jobs: uses: addnab/docker-run-action@v3 with: image: node:16.14.2-alpine3.15 - option: --network "host" + options: --network "host" run: | yarn global add @stoplight/prism-cli prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 From 94f84d1c3ca906415bc7eaa8828d6cedbca6a553 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:10:52 -0500 Subject: [PATCH 36/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index d0135bf7..f954f7e6 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -12,10 +12,9 @@ jobs: uses: addnab/docker-run-action@v3 with: image: node:16.14.2-alpine3.15 - options: --network "host" run: | yarn global add @stoplight/prism-cli - prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + RUNNER_TRACKING_ID="" && prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - name: cURL Request to prism server run: curl -X GET "http://127.0.0.1:4010/" build: From 534d272517f51e8fdd21a4620f17f0dc75b6cdd7 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:22:13 -0500 Subject: [PATCH 37/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index f954f7e6..cfa7cdda 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -15,6 +15,7 @@ jobs: run: | yarn global add @stoplight/prism-cli RUNNER_TRACKING_ID="" && prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + - name: cURL Request to prism server run: curl -X GET "http://127.0.0.1:4010/" build: @@ -27,6 +28,8 @@ jobs: dotnet-version: 6.0.x - name: Restore dependencies run: dotnet restore + - name: Find Docker containers + run: docker container ps - name: Build run: dotnet build --configuration Release --no-restore - name: cURL Request to prism server From 6de35d978fd41e4bad9f05553e6023900251c5e5 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:37:23 -0500 Subject: [PATCH 38/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index cfa7cdda..30fc75c3 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -7,6 +7,13 @@ on: jobs: container-test-job: runs-on: ubuntu-latest + + services: + prismserver: + image: node:16.14.2-alpine3.15 + ports: + - 4010:4010 + steps: - name: Run the build process with Docker uses: addnab/docker-run-action@v3 @@ -14,10 +21,8 @@ jobs: image: node:16.14.2-alpine3.15 run: | yarn global add @stoplight/prism-cli - RUNNER_TRACKING_ID="" && prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 - - name: cURL Request to prism server - run: curl -X GET "http://127.0.0.1:4010/" build: runs-on: ubuntu-latest steps: @@ -28,11 +33,9 @@ jobs: dotnet-version: 6.0.x - name: Restore dependencies run: dotnet restore - - name: Find Docker containers - run: docker container ps - name: Build run: dotnet build --configuration Release --no-restore - name: cURL Request to prism server - run: curl -X GET "http://127.0.0.1:4010/" + run: curl -X GET "http://prismserver:4010/" - name: Test run: dotnet test --no-restore --verbosity normal From c3743e5e7be8a70a51b273e681cd80e41e0b0707 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:43:18 -0500 Subject: [PATCH 39/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 30fc75c3..4fa6f293 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -10,18 +10,17 @@ jobs: services: prismserver: - image: node:16.14.2-alpine3.15 - ports: - - 4010:4010 - - steps: - - name: Run the build process with Docker - uses: addnab/docker-run-action@v3 - with: + container: image: node:16.14.2-alpine3.15 - run: | - yarn global add @stoplight/prism-cli - prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + ports: + - 4010:4010 + steps: + - name: Check for dockerenv file + run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) + - name: Install Prism + run: (yarn global add @stoplight/prism-cli) + - name: Start Prism Server + run: ( prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) build: runs-on: ubuntu-latest From 24dd57f98b523884eaffd3ee68cd50627f7a1410 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:45:43 -0500 Subject: [PATCH 40/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 4fa6f293..35e5ba0b 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -22,6 +22,15 @@ jobs: - name: Start Prism Server run: ( prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) + steps: + - name: Run the build process with Docker + uses: addnab/docker-run-action@v3 + with: + image: node:16.14.2-alpine3.15 + run: | + yarn global add @stoplight/prism-cli + prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + build: runs-on: ubuntu-latest steps: From 9e61d8548c1a545002d345aa37344a8560c54c1b Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 16:46:23 -0500 Subject: [PATCH 41/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 35e5ba0b..19010fa0 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -10,17 +10,16 @@ jobs: services: prismserver: - container: - image: node:16.14.2-alpine3.15 - ports: - - 4010:4010 - steps: - - name: Check for dockerenv file - run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - - name: Install Prism - run: (yarn global add @stoplight/prism-cli) - - name: Start Prism Server - run: ( prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) + image: node:16.14.2-alpine3.15 + ports: + - 4010:4010 + steps: + - name: Check for dockerenv file + run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) + - name: Install Prism + run: (yarn global add @stoplight/prism-cli) + - name: Start Prism Server + run: ( prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) steps: - name: Run the build process with Docker From 6096c138b71096270165af394423c1bfd75fe480 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 17:37:46 -0500 Subject: [PATCH 42/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 19010fa0..fdf2e75b 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -14,21 +14,13 @@ jobs: ports: - 4010:4010 steps: - - name: Check for dockerenv file - run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) - - name: Install Prism - run: (yarn global add @stoplight/prism-cli) - - name: Start Prism Server - run: ( prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) - - steps: - - name: Run the build process with Docker - uses: addnab/docker-run-action@v3 - with: - image: node:16.14.2-alpine3.15 - run: | - yarn global add @stoplight/prism-cli - prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + - name: Run the build process with Docker + uses: addnab/docker-run-action@v3 + with: + image: node:16.14.2-alpine3.15 + run: | + yarn global add @stoplight/prism-cli + prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 build: runs-on: ubuntu-latest From 5f3a353bfcad2ab45b65980842d11a740ffdd351 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 17:42:39 -0500 Subject: [PATCH 43/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index fdf2e75b..262b3405 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -7,20 +7,18 @@ on: jobs: container-test-job: runs-on: ubuntu-latest - - services: - prismserver: - image: node:16.14.2-alpine3.15 - ports: - - 4010:4010 - steps: - - name: Run the build process with Docker - uses: addnab/docker-run-action@v3 - with: - image: node:16.14.2-alpine3.15 - run: | - yarn global add @stoplight/prism-cli - prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 + container: + image: node:16.14.2-alpine3.15 + ports: + - 4010:4010 + env: + NODE_ENV: development + options: --cpus 1 + steps: + - name: Install Prism + run: (yarn global add @stoplight/prism-cli) + - name: Start Prism Server + run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) build: runs-on: ubuntu-latest From 7dfcede71fb948a11a3a6d739cdb1eedd7693d12 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 17:45:02 -0500 Subject: [PATCH 44/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 262b3405..cae52d2f 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -33,6 +33,6 @@ jobs: - name: Build run: dotnet build --configuration Release --no-restore - name: cURL Request to prism server - run: curl -X GET "http://prismserver:4010/" + run: curl -X GET "http://0.0.0.0:4010/" - name: Test run: dotnet test --no-restore --verbosity normal From 67e98f4911b30c502c9d3160e37718000adec2ca Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 17:50:46 -0500 Subject: [PATCH 45/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index cae52d2f..a9019588 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -18,7 +18,7 @@ jobs: - name: Install Prism run: (yarn global add @stoplight/prism-cli) - name: Start Prism Server - run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17) + run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 &) build: runs-on: ubuntu-latest @@ -33,6 +33,6 @@ jobs: - name: Build run: dotnet build --configuration Release --no-restore - name: cURL Request to prism server - run: curl -X GET "http://0.0.0.0:4010/" + run: curl -X GET "http://container-test-job:4010/" - name: Test run: dotnet test --no-restore --verbosity normal From d8eedd918388a2ae140efacc9f1ede0920235392 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 18:02:09 -0500 Subject: [PATCH 46/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 32 +++++++++++++++++----------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index a9019588..c791da03 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -5,24 +5,30 @@ on: branches: ["*"] jobs: - container-test-job: + # container-test-job: + # runs-on: ubuntu-latest + # container: + # image: node:16.14.2-alpine3.15 + # ports: + # - 4010:4010 + # env: + # NODE_ENV: development + # options: --cpus 1 + # # Figure out how to solve this hanging job problem + # steps: + # - name: Install Prism + # run: (yarn global add @stoplight/prism-cli) + # - name: Start Prism Server + # run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 ) + + build: runs-on: ubuntu-latest - container: - image: node:16.14.2-alpine3.15 - ports: - - 4010:4010 - env: - NODE_ENV: development - options: --cpus 1 steps: + - uses: actions/setup-node@v3 - name: Install Prism run: (yarn global add @stoplight/prism-cli) - name: Start Prism Server run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 &) - - build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - name: Setup .NET uses: actions/setup-dotnet@v2 @@ -33,6 +39,6 @@ jobs: - name: Build run: dotnet build --configuration Release --no-restore - name: cURL Request to prism server - run: curl -X GET "http://container-test-job:4010/" + run: curl -X GET "http://0.0.0.0:4010/" - name: Test run: dotnet test --no-restore --verbosity normal From 971f4151212591dcaecfb4e0396147ca047134a9 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 18:09:18 -0500 Subject: [PATCH 47/59] Test out start command of prism mock server continued --- .github/workflows/dotnet-package.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index c791da03..5a7d4bed 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -28,7 +28,7 @@ jobs: - name: Install Prism run: (yarn global add @stoplight/prism-cli) - name: Start Prism Server - run: (prism mock -h 0.0.0.0 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 &) + run: (prism mock -h 127.0.0.1 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 &) - uses: actions/checkout@v3 - name: Setup .NET uses: actions/setup-dotnet@v2 @@ -38,7 +38,5 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - - name: cURL Request to prism server - run: curl -X GET "http://0.0.0.0:4010/" - name: Test run: dotnet test --no-restore --verbosity normal From 6ecf9d079b92b9376aad27e8d712aaf951d04834 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 6 Dec 2022 18:23:39 -0500 Subject: [PATCH 48/59] Test out branch openapi file with Github Actions --- .github/workflows/dotnet-package.yml | 4 +- openapi.json | 4220 ++++++++++++++++++++++++++ 2 files changed, 4222 insertions(+), 2 deletions(-) create mode 100644 openapi.json diff --git a/.github/workflows/dotnet-package.yml b/.github/workflows/dotnet-package.yml index 5a7d4bed..c18500cd 100644 --- a/.github/workflows/dotnet-package.yml +++ b/.github/workflows/dotnet-package.yml @@ -24,12 +24,12 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 - uses: actions/setup-node@v3 - name: Install Prism run: (yarn global add @stoplight/prism-cli) - name: Start Prism Server - run: (prism mock -h 127.0.0.1 https://docs.freeclimb.com/openapi/5db32318158f3e0031167a17 &) - - uses: actions/checkout@v3 + run: (prism mock -h 127.0.0.1 openapi.json &) - name: Setup .NET uses: actions/setup-dotnet@v2 with: diff --git a/openapi.json b/openapi.json new file mode 100644 index 00000000..3e798d72 --- /dev/null +++ b/openapi.json @@ -0,0 +1,4220 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "FreeClimb API", + "version": "1.0.0", + "description": "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.", + "contact": { + "name": "FreeClimb API Support", + "url": "https://www.freeclimb.com/support/", + "email": "support@freeclimb.com" + } + }, + "servers": [ + { + "url": "https://www.freeclimb.com/apiserver" + } + ], + "components": { + "parameters": { + "AccountId": { + "name": "accountId", + "in": "path", + "description": "ID of the account", + "required": true, + "x-account-id": true, + "schema": { + "type": "string" + } + }, + "Capabilities.Voice": { + "name": "capabilities.voice", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "boolean" + } + }, + "Capabilities.Sms": { + "name": "capabilities.sms", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "boolean" + } + }, + "Capabilities.TollFree": { + "name": "capabilities.tollFree", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "boolean" + } + }, + "Capabilities.TenDLC": { + "name": "capabilities.tenDLC", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "boolean" + } + }, + "Capabilities.ShortCode": { + "name": "capabilities.shortCode", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "boolean" + } + } + }, + "securitySchemes": { + "fc": { + "scheme": "basic", + "type": "http", + "description": "HTTP requests to the FreeClimb REST API are protected with HTTP Basic authentication --- you use your FreeClimb-generated account ID and API key to authenticate each HTTP request. You can view your credentials under the API Keys section in your Dashboard." + } + }, + "schemas": { + "AccountStatus": { + "type": "string", + "enum": ["closed", "suspended", "active"], + "x-enum-varnames": ["CLOSED", "SUSPENDED", "ACTIVE"], + "description": "The status of this account. It is one of: active, suspended, or closed." + }, + "AccountType": { + "type": "string", + "description": "The type of this account. It is one of: trial or full.", + "enum": ["trial", "full"], + "x-enum-varnames": ["TRIAL", "FULL"] + }, + "AnsweredBy": { + "type": "string", + "enum": ["human", "machine"], + "x-enum-varnames": ["HUMAN", "MACHINE"], + "description": "If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise." + }, + "CallDirection": { + "type": "string", + "enum": ["inbound", "outboundAPI", "outboundDial"], + "x-enum-varnames": ["INBOUND", "OUTBOUND_API", "OUTBOUND_DIAL"], + "description": "Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command." + }, + "CallStatus": { + "type": "string", + "enum": [ + "queued", + "ringing", + "inProgress", + "canceled", + "completed", + "failed", + "busy", + "noAnswer" + ], + "x-enum-varnames": [ + "QUEUED", + "RINGING", + "IN_PROGRESS", + "CANCELED", + "COMPLETED", + "FAILED", + "BUSY", + "NO_ANSWER" + ], + "description": "* `queued` – Call is ready and waiting in line before going out. * `ringing` – Call is currently ringing. * `inProgress` – Call was answered and is currently in progress. * `canceled` – Call was hung up while it was queued or ringing. * `completed` – Call was answered and has ended normally. * `busy` – Caller received a busy signal. * `failed` – Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` – Call ended without being answered." + }, + "ConferenceStatus": { + "type": "string", + "enum": ["empty", "populated", "inProgress", "terminated"], + "x-enum-varnames": ["EMPTY", "POPULATED", "IN_PROGRESS", "TERMINATED"], + "description": "The status of the Conference. One of: creating, empty, populated, inProgress, or terminated." + }, + "GetSpeechReason": { + "type": "string", + "enum": [ + "error", + "hangup", + "digit", + "noInput", + "noMatch", + "recognition" + ], + "x-enum-varnames": [ + "ERROR", + "HANGUP", + "DIGIT", + "NO_INPUT", + "NO_MATCH", + "RECOGNITION" + ] + }, + "GrammarFileBuiltIn": { + "type": "string", + "enum": [ + "ALPHNUM6", + "ANY_DIG", + "DIG1", + "DIG2", + "DIG3", + "DIG4", + "DIG5", + "DIG6", + "DIG7", + "DIG8", + "DIG9", + "DIG10", + "DIG11", + "UP_TO_20_DIGIT_SEQUENCE", + "VERSAY_YESNO" + ], + "x-enum-varnames": [ + "ALPHNUM6", + "ANY_DIG", + "DIG1", + "DIG2", + "DIG3", + "DIG4", + "DIG5", + "DIG6", + "DIG7", + "DIG8", + "DIG9", + "DIG10", + "DIG11", + "UP_TO_20_DIGIT_SEQUENCE", + "VERSAY_YESNO" + ] + }, + "GrammarType": { + "type": "string", + "enum": ["URL", "BUILTIN"], + "x-enum-varnames": ["URL", "BUILT_IN"], + "description": "The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files." + }, + "IfMachine": { + "type": "string", + "enum": ["redirect", "hangup"], + "x-enum-varnames": ["REDIRECT", "HANGUP"], + "description": "Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked." + }, + "Language": { + "type": "string", + "enum": [ + "ca-ES", + "da-DK", + "de-DE", + "en-AU", + "en-CA", + "en-GB", + "en-IN", + "en-US", + "es-ES", + "es-MX", + "fi-FI", + "fr-CA", + "fr-FR", + "it-IT", + "ja-JP", + "ko-KR", + "nb-NO", + "nl-NL", + "pl-PL", + "pt-BR", + "pt-PT", + "ru-RU", + "sv-SE", + "zh-CN", + "zh-HK", + "zh-TW" + ], + "x-enum-varnames": [ + "CATALAN", + "DANISH", + "GERMAN", + "ENGLISH_AU", + "ENGLISH_CA", + "ENGLISH_UK", + "ENGLISH_IN", + "ENGLISH_US", + "ENGLISH_ES", + "ENGLISH_MX", + "FINNISH", + "FRENCH_CA", + "FRENCH_FR", + "ITALIAN", + "JAPANESE", + "KOREAN", + "NORWEGIAN", + "DUTCH", + "POLISH", + "PORTUGESE_BR", + "PORTUGESE_PT", + "RUSSIAN", + "SWEDISH", + "CHINESE_CN", + "CHINESE_HK", + "CHINESE_TW" + ] + }, + "LogLevel": { + "type": "string", + "enum": ["info", "warning", "error"], + "x-enum-varnames": ["INFO", "WARNING", "ERROR"], + "description": "Level of the log. Possible values are info, warning, and error." + }, + "MachineType": { + "type": "string", + "enum": ["answeringMachine", "faxMachine"], + "x-enum-varnames": ["ANSWERING_MACHINE", "FAX_MACHINE"] + }, + "MessageDirection": { + "type": "string", + "enum": ["inbound", "outbound"], + "x-enum-varnames": ["INBOUND", "OUTBOUND"] + }, + "MessageStatus": { + "type": "string", + "description": "Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown", + "enum": [ + "new", + "queued", + "rejected", + "sending", + "sent", + "failed", + "received", + "undelivered", + "expired", + "deleted", + "unknown" + ], + "x-enum-varnames": [ + "NEW", + "QUEUED", + "REJECTED", + "SENDING", + "SENT", + "FAILED", + "RECEIVED", + "UNDELIVERED", + "EXPIRED", + "DELETED", + "UNKNOWN" + ] + }, + "PlayBeep": { + "type": "string", + "enum": ["always", "never", "entryOnly", "exitOnly"], + "x-enum-varnames": ["ALWAYS", "NEVER", "ENTRY_ONLY", "EXIT_ONLY"], + "description": "Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`.", + "default": "always", + "x-enum-default-attr": "ALWAYS" + }, + "QueueResultStatus": { + "type": "string", + "enum": ["queueFull", "dequeued", "hangup", "systemError"], + "x-enum-varnames": ["QUEUE_FULL", "DEQUEUED", "HANGUP", "SYSTEM_ERROR"] + }, + "RecordUtteranceTermReason": { + "type": "string", + "enum": ["finishKey", "timeout", "hangup", "maxLength"], + "x-enum-varnames": ["FINISH_KEY", "TIMEOUT", "HANGUP", "MAX_LENGTH"] + }, + "RequestType": { + "type": "string", + "enum": [ + "inboundCall", + "record", + "getDigits", + "getSpeech", + "redirect", + "pause", + "outDialStart", + "outDialConnect", + "outDialApiConnect", + "machineDetected", + "dequeue", + "queueWait", + "addToQueueNotification", + "removeFromQueueNotification", + "callStatus", + "createConference", + "conferenceStatus", + "leaveConference", + "addToConferenceNotification", + "conferenceRecordingStatus", + "conferenceCallControl", + "messageDelivery", + "messageStatus" + ], + "x-enum-varnames": [ + "INBOUND_CALL", + "RECORD", + "GET_DIGITS", + "GET_SPEECH", + "REDIRECT", + "PAUSE", + "OUT_DIAL_START", + "OUT_DIAL_CONNECT", + "OUT_DIAL_API_CONNECT", + "MACHINE_DETECTED", + "DEQUEUE", + "QUEUE_WAIT", + "ADD_TO_QUEUE_NOTIFICATION", + "REMOVE_FROM_QUEUE_NOTIFICATION", + "CALL_STATUS", + "CREATE_CONFERENCE", + "CONFERENCE_STATUS", + "LEAVE_CONFERENCE", + "ADD_TO_CONFERENCE_NOTIFICATION", + "CONFERENCE_RECORDING_STATUS", + "CONFERENCE_CALL_CONTROL", + "MESSAGE_DELIVERY", + "MESSAGE_STATUS" + ] + }, + "UpdateCallRequestStatus": { + "type": "string", + "enum": ["canceled", "completed"], + "x-enum-varnames": ["CANCELED", "COMPLETED"], + "description": "Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress." + }, + "UpdateConferenceRequestStatus": { + "type": "string", + "enum": ["empty", "terminated"], + "x-enum-varnames": ["EMPTY", "TERMINATED"], + "description": "New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.**" + }, + "PerclScript": { + "type": "object", + "description": "A PerCL script to be returned to the FreeClimb servers in FreeClimb applications", + "x-percl-script": true, + "properties": { + "commands": { + "type": "array", + "description": "A JSON array of PerCL commands", + "items": { + "$ref": "#/components/schemas/PerclCommand" + } + } + } + }, + "PerclCommand": { + "type": "object", + "description": "An individual command used in a PerCLScript.", + "x-percl-command-base": true, + "discriminator": { + "propertyName": "command", + "mapping": { + "AddToConference": "#/components/schemas/AddToConference", + "CreateConference": "#/components/schemas/CreateConference", + "Dequeue": "#/components/schemas/Dequeue", + "Enqueue": "#/components/schemas/Enqueue", + "GetDigits": "#/components/schemas/GetDigits", + "GetSpeech": "#/components/schemas/GetSpeech", + "Hangup": "#/components/schemas/Hangup", + "OutDial": "#/components/schemas/OutDial", + "Pause": "#/components/schemas/Pause", + "Park": "#/components/schemas/Park", + "Play": "#/components/schemas/Play", + "PlayEarlyMedia": "#/components/schemas/PlayEarlyMedia", + "RecordUtterance": "#/components/schemas/RecordUtterance", + "Redirect": "#/components/schemas/Redirect", + "Reject": "#/components/schemas/Reject", + "RemoveFromConference": "#/components/schemas/RemoveFromConference", + "Say": "#/components/schemas/Say", + "SendDigits": "#/components/schemas/SendDigits", + "SetListen": "#/components/schemas/SetListen", + "SetTalk": "#/components/schemas/SetTalk", + "Sms": "#/components/schemas/Sms", + "StartRecordCall": "#/components/schemas/StartRecordCall", + "TerminateConference": "#/components/schemas/TerminateConference", + "Unpark": "#/components/schemas/Unpark" + } + }, + "properties": { + "command": { + "type": "string", + "description": "Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments)" + } + } + }, + "AddToConference": { + "description": "The `AddToConference` command adds a Participant to a Conference. If this Participant currently is in another Conference, the Participant is first removed from that Conference. Two Call legs can be bridged together by creating a Conference and adding both Call legs to it via `AddToConference`.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object", + "required": ["conferenceId"], + "properties": { + "allowCallControl": { + "description": "If `true`, Call control will be enabled for this Participant's Call leg.", + "type": "boolean" + }, + "callControlSequence": { + "description": "Defines a sequence of digits that, when entered by this caller, invokes the `callControlUrl`. Only digits plus '*', and '#' may be used.", + "type": "string" + }, + "callControlUrl": { + "description": "URL to be invoked when this Participant enters the digit sequence defined in the `callControlSequence` attribute.", + "type": "string" + }, + "conferenceId": { + "description": "ID of the Conference to which to add the Participant (Call leg). Conference must exist or an error will result.", + "type": "string" + }, + "callId": { + "description": "ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one.", + "type": "boolean" + }, + "leaveConferenceUrl": { + "description": "URL to be invoked when the Participant leaves the Conference. ", + "type": "string" + }, + "listen": { + "description": "If `true`, the Participant joins the Conference with listen privileges. This may be modified later via the REST API or `SetListen` PerCL command.", + "type": "boolean" + }, + "notificationUrl": { + "description": "When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters.", + "type": "string" + }, + "startConfOnEnter": { + "description": "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.", + "type": "boolean" + }, + "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" + } + } + } + ] + }, + "CreateConference": { + "description": "The `CreateConference` command does exactly what its name implies — it creates an unpopulated Conference (one without any Participants). Once created, a Conference remains in FreeClimb until explicitly terminated by a customer. Once a Conference has been terminated, it can no longer be used.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object", + "required": ["actionUrl"], + "properties": { + "actionUrl": { + "description": " This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. ", + "type": "string" + }, + "alias": { + "description": "Descriptive name for the Conference. ", + "type": "boolean" + }, + "playBeep": { + "description": "Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` ", + "$ref": "#/components/schemas/PlayBeep" + }, + "record": { + "description": "When set to `true`, the entire Conference is recorded. The `statusCallbackUrl` of the Conference will receive a `conferenceRecordingEnded` Webhook when the Conference transitions from the `inProgress` to empty state.", + "type": "boolean" + }, + "statusCallbackUrl": { + "description": "This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available.", + "type": "string" + }, + "waitUrl": { + "description": "If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb.", + "type": "string" + } + } + } + ] + }, + "Dequeue": { + "description": "The `Dequeue` command transfers control of a Call that is in a Queue so that the waiting caller exits the Queue. Execution continues with the first command in the PerCL script returned by the `actionUrl` specified in the `Enqueue` command.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object" + } + ] + }, + "Enqueue": { + "description": "The `Enqueue` command adds the current Call to a call Queue. If the specified Queue does not exist, it is created and then the Call is added to it. The default maximum length of the queue is 100. This can be modified using the REST API.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object", + "required": ["queueId", "waitUrl", "actionUrl"], + "properties": { + "actionUrl": { + "description": "A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up.", + "type": "string" + }, + "notificationUrl": { + "description": "URL to be invoked when the call enters the queue. The request to the URL contains the standard request parameters.This is a notification only; any PerCL returned will be ignored.", + "type": "string" + }, + "queueId": { + "description": "ID of the Queue to which to add the Call. If the Queue does not exist, it will be created. The ID must start with QU followed by 40 hex characters.", + "type": "string" + }, + "waitUrl": { + "description": "A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up.", + "type": "string" + } + } + } + ] + }, + "GetDigits": { + "description": "The `GetDigits` command collects DTMF inputs from the caller. It is only supported only when there is a single party on the Call. `GetDigits` is a Terminal Command — any actions following it are never executed. When the Caller is done entering the digits, FreeClimb submits that data to the provided `actionUrl` using an HTTP POST request. Your server will be required to respond to the FreeClimb Webhook with PerCL to continue handling the call.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object", + "required": ["actionUrl"], + "properties": { + "actionUrl": { + "description": "When the Caller has finished entering digits, FreeClimb will make an HTTP POST request to this URL. A PerCL response is expected to continue handling the Call. Make sure to keep “http://“ in the URL.", + "type": "string" + }, + "digitTimeoutMs": { + "description": " Maximum time in milliseconds that FreeClimb will wait for the Caller to press any digit after the last digit entered, before making a determination that a `timeout` has occurred and moving on to make the request to the actionUrl to submit the results of the `GetDigits` command. This timeout interval begins and resets after each digit entered.", + "type": "integer" + }, + "finishOnKey": { + "description": "Digit that causes the input sequence to be deemed complete. This attribute defers to the `timeout` attribute – so, if a `timeout` occurs, then the command terminates regardless of the value of `finishOnKey`.", + "type": "string" + }, + "flushBuffer": { + "description": "If set to true, the FreeClimb platform starts with an empty DTMF buffer to store the digits entered by the caller. If set to false, FreeClimb will append the user inputs to the end of the existing digits buffer and will return digits from the start of the digits buffer.", + "type": "boolean" + }, + "initialTimeoutMs": { + "description": "Maximum time in milliseconds that FreeClimb will wait for the Caller to press the first digit before making a determination that a `timeout` has occurred and moving on to make the request to the `actionUrl` to submit the results of the `GetDigits` command. This timeout interval begins when all nested commands have been fully executed.", + "type": "string" + }, + "maxDigits": { + "description": "Maximum number of digits expected in the input. If the terminating digit is not entered and the caller has entered the maximum number of digits allowed, the `GetDigits` command terminates regardless of the value of `finishOnKey`.", + "type": "integer" + }, + "minDigits": { + "description": "Minimum number of digits expected in the input. If specified, FreeClimb will return the collected digits only if the Caller has entered at least that many digits.", + "type": "integer" + }, + "prompts": { + "description": "JSON array of PerCL commands to nest within the `GetDigits` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the Caller.", + "type": "array", + "items": { + "$ref": "#/components/schemas/PerclCommand" + } + }, + "privacyMode": { + "description": "Parameter `privacyMode` will not log the `text` as required by PCI compliance.", + "type": "boolean" + } + } + } + ] + }, + "GetSpeech": { + "description": "The `GetSpeech` command enables the Caller to respond to the application using a supported language. Unlike DTMF entry, which implicitly restricts the user to using the available buttons on the phone key pad, speech input allows for flexible audio inputs based on grammar. FreeClimb supports grammars written using GRXML compatible with the Microsoft Speech Platform. `GetSpeech` is only supported on a single call leg. It is not supported when there are two or more call legs connected (as in within a Conference).", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object", + "required": ["actionUrl", "grammarFile"], + "properties": { + "actionUrl": { + "description": "When the caller has finished speaking or the command has timed out, FreeClimb will make a POST request to this URL. A PerCL response is expected to continue handling the call.", + "type": "string", + "format": "uri" + }, + "grammarType": { + "$ref": "#/components/schemas/GrammarType", + "nullable": true + }, + "grammarFile": { + "description": "The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL.", + "type": "string" + }, + "grammarRule": { + "description": "The grammar rule within the specified grammar file to use for speech recognition. This attribute is optional if `grammarType` is `URL` and ignored if `grammarType` is `BUILTIN`.", + "type": "string" + }, + "playBeep": { + "description": "Indicates whether a beep should be played just before speech recognition is initiated so that the speaker can start to speak.", + "type": "boolean" + }, + "prompts": { + "description": "The JSON array of PerCL commands to nest within the `GetSpeech` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the caller. This allows for playing menu options to the caller and to prompt for the expected input. These commands stop executing when the caller begins to input speech.", + "type": "array", + "items": { + "$ref": "#/components/schemas/PerclCommand" + } + }, + "noInputTimeoutMs": { + "description": "When recognition is started and there is no speech detected for `noInputTimeoutMs` milliseconds, the recognizer will terminate the recognition operation.", + "type": "integer" + }, + "recognitionTimeoutMs": { + "description": "When playback of prompts ends and there is no match for `recognitionTimeoutMs` milliseconds, the recognizer will terminate the recognition operation.", + "type": "integer" + }, + "confidenceThreshold": { + "description": "When a recognition resource recognizes a spoken phrase, it associates a confidence level with that match. Parameter `confidenceThreshold` specifies what confidence level is considered a successful match. Values are between 0.0 and 1.0.", + "type": "number" + }, + "sensitivityLevel": { + "description": "The speech recognizer supports a variable level of sound sensitivity. The sensitivityLevel attribute allows for filtering out background noise, so it is not mistaken for speech. Values are between 0.0 and 1.0 ", + "type": "number" + }, + "speechCompleteTimeoutMs": { + "description": "Parameter `speechCompleteTimeoutMs` specifies the length of silence required following user speech before the speech recognizer finalizes a result. This timeout applies when the recognizer currently has a complete match against an active grammar. Reasonable speech complete timeout values are typically in the range of 0.3 seconds to 1.0 seconds.", + "type": "integer" + }, + "speechIncompleteTimeoutMs": { + "description": "Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance.", + "type": "integer" + }, + "privacyMode": { + "description": "Parameter privacyMode will not log the `text` as required by PCI compliance.", + "type": "boolean" + } + } + } + ] + }, + "Hangup": { + "description": "The `Hangup` command terminates a Call. If `Hangup` is used as the first action in a PerCL response, it does not prevent FreeClimb from answering the Call and billing your account. See the `Reject` command to hang up at no charge.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object", + "properties": { + "reason": { + "description": "The user defined reason for the hangup. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the Call flows for the given application.", + "type": "string" + } + } + } + ] + }, + "OutDial": { + "description": "The OutDial command is used to call a phone number", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": [ + "actionUrl", + "callConnectUrl", + "callingNumber", + "destination" + ], + "type": "object", + "properties": { + "actionUrl": { + "description": "URL to which FreeClimb sends an HTTP POST request. ", + "type": "string" + }, + "callConnectUrl": { + "description": "URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial.", + "type": "string" + }, + "callingNumber": { + "description": "he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.", + "type": "number" + }, + "destination": { + "description": "E.164 representation of the phone number to Call. ", + "type": "number" + }, + "ifMachine": { + "$ref": "#/components/schemas/IfMachine" + }, + "ifMachineUrl": { + "description": "When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the `ifMachine` flag is set to `redirect`. Otherwise, it should not be included.", + "type": "string" + }, + "sendDigits": { + "description": "DTMF tones to play to the outdialed Call. This is typically used to dial a number and then dial an extension.", + "type": "string" + }, + "statusCallbackUrl": { + "description": "When the outdialed Call leg terminates, FreeClimb sends a `callStatus` Webhook to the `statusCallbackUrl`. This is a notification only; any PerCL command returned is ignored.", + "type": "string" + }, + "timeout": { + "description": "Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`.", + "type": "integer" + }, + "privacyMode": { + "description": "Parameter `privacyMode` will not log the `text` as required by PCI compliance.", + "type": "boolean" + } + } + } + ] + }, + "Park": { + "description": "The `Park` command allows a caller to be put on hold. You can provide hold music,messages,etc until ready to resume the call. Park is a terminal command. Actions performed on the Call while on hold are provided in a PerCL script in response to the waitUrl property. Actions performed on the Call after it has been unparked (resumed) will be provided in a PerCL script in response to the actionUrl provided. A Call can be resumed in two ways -- REST API invocation or the Unpark percl command. No actions can be nested within Park and Park cannot be nested in any other actions. ", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object", + "required": ["waitUrl", "actionUrl"], + "properties": { + "waitUrl": { + "description": "Specifies a URL pointing to a PerCL script containing actions to be executed while the caller is Parked. Once the script returned by the waitUrl runs out of commands to execute, FreeClimb will re-request the waitUrl and start over, essentially looping the script requests indefinitely.", + "type": "string" + }, + "actionUrl": { + "description": "A request is made to this URL when the Call is resumed, which can occur if the Call is resumed via the Unpark command, the REST API (POST to Call resource), or the caller hangs up. The PerCL script returned in response to the actionUrl will be executed on the resumed call.", + "type": "string" + }, + "notificationUrl": { + "description": "URL to be invoked when the Call is parked. The request to the URL contains the standard request parameters.", + "type": "string" + } + } + } + ] + }, + "Pause": { + "description": "The `Pause` command halts execution of the current PerCL script for a specified number of milliseconds. If `Pause` is the first command in a PerCL document, FreeClimb will wait for the specified time to elapse before picking up the call.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object", + "required": ["length"], + "properties": { + "length": { + "description": "Length in milliseconds. FreeClimb will wait silently before continuing on.", + "type": "integer" + } + } + } + ] + }, + "Play": { + "description": "The `Play` command plays an audio file back to the caller. The audio file may be located at any location accessible via a URL. `Play` can exist as a stand-alone command or as a nested command. It does not allow barge-in unless nested within a `GetSpeech` command. The file will always be played to completion unless nested.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["file"], + "type": "object", + "properties": { + "file": { + "description": "RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands. ", + "type": "string" + }, + "loop": { + "description": "Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up.", + "type": "integer" + }, + "conferenceId": { + "description": "ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error.", + "type": "string" + }, + "privacyMode": { + "description": "Parameter `privacyMode` will not log the `text` as required by PCI compliance.", + "type": "boolean" + } + } + } + ] + }, + "PlayEarlyMedia": { + "description": "`PlayEarlyMedia` is relevant only when present as the very first command in the PerCL script returned for an incoming Call. In such cases, the command is executed before FreeClimb attempts to connect the call. The audio file it uses can be stored in any location that is accessible via URL.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["file"], + "type": "object", + "properties": { + "file": { + "description": "RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands or any accessible URL. FreeClimb will respect Cache-Control headers for this file. Use these to limit repeated requests for unchanged audio. If no Cache-Control header is provided, the file will be cached for seven days by default.", + "type": "string" + } + } + } + ] + }, + "RecordUtterance": { + "description": "The `RecordUtterance` command records the caller's voice and returns the URL of a file containing the audio recording. `RecordUtterance` is blocking and is a terminal command. As such, the `actionUrl` property is required, and control of the Call picks up using the PerCL returned in response to the `actionUrl`. Recording information is returned in the `actionUrl` request.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["actionUrl"], + "type": "object", + "properties": { + "actionUrl": { + "description": "URL to which information on the completed recording is submitted. The PerCL received in response is then used to continue with Call processing.", + "type": "string" + }, + "silenceTimeoutMs": { + "description": "Interval of silence that should elapse before ending the recording.", + "type": "integer" + }, + "finishOnKey": { + "description": "Key that triggers the end of the recording. any digit, '#', or '*'", + "type": "string" + }, + "maxLengthSec": { + "description": "Maximum length for the command execution in seconds.", + "type": "integer" + }, + "playBeep": { + "description": "Indicates whether to play a beep sound before the start of the recording. If set to `false`, no beep is played.", + "type": "boolean" + }, + "autoStart": { + "description": "If `false`, recording begins immediately after the RecordUtterance command is processed. If `true`, recording begins when audio is present and if audio begins before the `maxLengthSec` timeout. If no audio begins before `maxLengthSec`, no recording is generated.", + "type": "boolean" + }, + "privacyMode": { + "description": "Parameter `privacyMode` will not log the `text` as required by PCI compliance.", + "type": "boolean" + } + } + } + ] + }, + "Redirect": { + "description": "The `Redirect` command transfers control of a Call to the PerCL at a different URL. `Redirect` is a terminal command, so any actions following it are never executed. The maximum number of redirections allowed during the life time of a Call is 256. This is intended to prevent a Call from possibly looping infinitely due to errors in PerCL being generated.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["actionUrl"], + "type": "object", + "properties": { + "actionUrl": { + "description": "URL to request a new PerCL script to continue with the current Call's processing. When `Redirect` invokes the `actionUrl`, an `inbound` Webhook is sent. This request therefore looks identical to the initial request (made to the `voiceUrl` of the number that was called) for an inbound Call.", + "type": "string" + } + } + } + ] + }, + "Reject": { + "description": "The `Reject` command blocks an incoming Call. Using `Reject` is the only way to prevent FreeClimb from answering a Call. Any other response will result in an answered Call and your account will be billed.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object", + "properties": { + "reason": { + "description": "Reason for the rejection. This can be any string value. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the call flows for the given application.", + "type": "string" + } + } + } + ] + }, + "RemoveFromConference": { + "description": "The `RemoveFromConference` command removes a Participant from a Conference but does not hang up. Instead, the Call is simply unbridged and what happens next with the Call is determined by the PerCL returned in response to the `leaveConferenceUrl` attribute.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["callId"], + "type": "object", + "properties": { + "callId": { + "description": "ID of the Call leg to be removed from the Conference. The Call must be in a Conference or an error will be triggered.", + "type": "string" + } + } + } + ] + }, + "Say": { + "description": "The `Say` command provides Text-To-Speech (TTS) support. It converts text to speech and then renders it in a female voice back to the caller. `Say` is useful in cases where it's difficult to pre-record a prompt for any reason. `Say` does not allow barge-in unless nested within a `GetSpeech` command. The file will always be played to completion unless nested.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["text"], + "type": "object", + "properties": { + "text": { + "description": "The message to be played to the caller using TTS. The size of the string is limited to 4 KB (or 4,096 bytes). An empty string will cause the command to be skipped.", + "type": "string" + }, + "language": { + "description": "Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below.", + "type": "string" + }, + "loop": { + "description": "Number of times the text is said. Specifying '0' causes the `Say` action to loop until the Call is hung up.", + "type": "integer", + "default": 1 + }, + "conferenceId": { + "description": "D of the Conference the speech should be rendered to. If this is not specified, the speech is by default rendered to the Caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error.", + "type": "string" + }, + "privacyMode": { + "description": "Parameter `privacyMode` will not log the `text` as required by PCI compliance.", + "type": "boolean" + } + } + } + ] + }, + "SendDigits": { + "description": "The `SendDigits` command plays DTMF tones on a live Call. This is useful for navigating through IVR menus or dialing extensions.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["digits"], + "type": "object", + "properties": { + "digits": { + "description": "String containing the digits to be played. The string cannot be empty and can include any digit, plus `#`, or `*`, and allows embedding specification for delay or pause between the output of individual digits.", + "type": "string" + }, + "pauseMs": { + "description": "Pause between digits in milliseconds. Valid values are 100-1000 milliseconds and will be adjusted by FreeClimb to satisfy the constraint.", + "type": "integer" + }, + "privacyMode": { + "description": "Parameter `privacyMode` will not log the `text` as required by PCI compliance.", + "type": "boolean" + } + } + } + ] + }, + "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.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["callId"], + "type": "object", + "properties": { + "callId": { + "description": "ID of the call leg that is to be assigned the listen privilege. The Call must be in a Conference or an error will be triggered.", + "type": "string" + }, + "listen": { + "description": "Specifying `false` will silence the Conference for this Participant.", + "type": "boolean" + } + } + } + ] + }, + "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.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["callId"], + "type": "object", + "properties": { + "callId": { + "description": "ID of the call leg that is to be muted or unmuted. The Call must be in a Conference or an error will be triggered.", + "type": "string" + }, + "talk": { + "description": "Specifying `false` mutes the Participant.", + "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, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["to", "from", "text"], + "type": "object", + "properties": { + "to": { + "description": "E.164 representation of the phone number to which the message will be sent. Must be within FreeClimb's service area and E.164 formatting (e.g., +18003608245).", + "type": "string" + }, + "from": { + "description": "E.164 representation of the phone number to use as the sender. This must be an incoming phone number you have purchased from FreeClimb.", + "type": "string" + }, + "text": { + "description": "Text contained in the message (maximum 160 characters).", + "type": "string" + }, + "notificationUrl": { + "description": "When the message changes status, this URL will be invoked using HTTP POST with the messageStatus parameters. This is a notification only; any PerCL returned will be ignored.", + "type": "string" + } + } + } + ] + }, + "StartRecordCall": { + "description": "The `StartRecordCall` command records the current call and returns the URL of a file containing the audio recording when recording completes. `StartRecordCall` is non-blocking. After recording of the current call begins, control of the call moves to the PerCL command that follows `StartRecordCall` in the current PerCL script.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object" + } + ] + }, + "TerminateConference": { + "description": "The `TerminateConference` command terminates an existing Conference. Any active participants are hung up on by FreeClimb. If this is not the desired behavior, use the `RemoveFromConference` command to unbridge Calls that should not be hung up. Note: The Call requesting TerminateConference must be on the same Conference for this command to execute.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "required": ["conferenceId"], + "type": "object", + "properties": { + "conferenceId": { + "description": "ID of the conference to terminate.", + "type": "string" + } + } + } + ] + }, + "Unpark": { + "description": "The `Unpark` command resumes a parked call. Execution continues with the first command in the PerCL scripted returned by the actionUrl specified in the Park command as long as the call is still in progress. If the call is no longer in progress, any returned PerCL will not be executed. Unpark is a terminal command -- any commands following it in the same script are not executed.", + "x-percl-command": true, + "allOf": [ + { + "$ref": "#/components/schemas/PerclCommand" + }, + { + "type": "object" + } + ] + }, + "MutableResourceModel": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "The URI for this resource, relative to /apiserver." + }, + "dateCreated": { + "type": "string", + "description": "The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT)." + }, + "dateUpdated": { + "type": "string", + "description": "The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT)." + }, + "revision": { + "type": "integer", + "description": "Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated." + } + } + }, + "PaginationModel": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total amount of requested resource.", + "nullable": true + }, + "start": { + "type": "integer", + "description": "Resource index at start of current page", + "nullable": true + }, + "end": { + "type": "integer", + "description": "Resource index at end of current page", + "nullable": true + }, + "page": { + "type": "integer", + "description": "Current page", + "nullable": true + }, + "numPages": { + "type": "integer", + "description": "Total number of pages", + "nullable": true + }, + "pageSize": { + "type": "integer", + "description": "Number of items per page", + "nullable": true + }, + "nextPageUri": { + "type": "string", + "description": "Uri to retrieve the next page of items", + "nullable": true + } + } + }, + "Capabilities": { + "description": "Details for which features this number may be used.", + "type": "object", + "required": ["voice", "sms", "tollFree", "tenDLC", "shortCode"], + "properties": { + "voice": { + "description": "Indicates whether a number can be used for voice calls. Replaces voiceEnabled.", + "type": "boolean", + "nullable": true + }, + "sms": { + "description": "Indicates whether a number can be used SMS messaging. Replaces smsEnabled.", + "type": "boolean", + "nullable": true + }, + "tollFree": { + "description": "Indicates that a number is toll-free and will make toll-free calls, and when enabled, toll-free messages.", + "type": "boolean", + "nullable": true + }, + "tenDLC": { + "description": "Indicates that a number, if sms is true, will be used for 10DLC messaging", + "type": "boolean", + "nullable": true + }, + "shortCode": { + "description": "Indicates that a number is a short code and can be used for short code messaging", + "type": "boolean", + "nullable": true + } + } + }, + "AccountRequest": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "description": "Description for this account." + }, + "label": { + "type": "string", + "description": "Group to which this account belongs." + } + } + }, + "AccountResult": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "String that uniquely identifies this account resource.", + "nullable": true + }, + "apiKey": { + "type": "string", + "description": "The API key assigned to this account. This key must be kept a secret by the customer.", + "nullable": true + }, + "alias": { + "type": "string", + "description": "A description for this account.", + "nullable": true + }, + "label": { + "type": "string", + "description": "A string that identifies a category or group to which the account belongs.", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/AccountType", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/AccountStatus", + "nullable": true + }, + "subresourceUris": { + "type": "object", + "description": "The list of subresources for this account.", + "nullable": true + } + } + } + ] + }, + "ApplicationResult": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "ID of the account that owns this phone number.", + "nullable": true + }, + "applicationId": { + "type": "string", + "description": "ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.", + "nullable": true + }, + "alias": { + "type": "string", + "description": "Description for this phone number. Typically the conventionally-formatted version of the phone number.", + "nullable": true + }, + "voiceUrl": { + "type": "string", + "description": "The URL FreeClimb will request when a phone number assigned to this Application receives a Call. Used for inbound calls only.", + "nullable": true + }, + "voiceFallbackUrl": { + "type": "string", + "description": "The URL that FreeClimb will request if it times out waiting for a response from the voiceUrl. Used for inbound calls only.", + "nullable": true + }, + "callConnectUrl": { + "type": "string", + "description": "The URL to which FreeClimb will make a POST request informing the result of the outbound Call request. The status property of the request message specifies if the Call was connected or not.", + "nullable": true + }, + "statusCallbackUrl": { + "type": "string", + "description": "A URL to which FreeClimb will make a POST request when the Call ends to notify this app.", + "nullable": true + }, + "smsUrl": { + "type": "string", + "description": "The URL FreeClimb will request when a phone number assigned to this Application receives an incoming SMS message. Used for inbound SMS only.", + "nullable": true + }, + "smsFallbackUrl": { + "type": "string", + "description": "The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only.", + "nullable": true + } + } + } + ] + }, + "ApplicationRequest": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "description": "A human readable description of the application, with maximum length 64 characters." + }, + "voiceUrl": { + "type": "string", + "description": "The URL that FreeClimb will request when an inbound call arrives on a phone number assigned to this application. Used only for inbound calls." + }, + "voiceFallbackUrl": { + "type": "string", + "description": "The URL that FreeClimb will request if it times out waiting for a response from the voiceUrl. Used for inbound calls only. Note: A PerCL response is expected to control the inbound call." + }, + "callConnectUrl": { + "type": "string", + "description": "The URL that FreeClimb will request when an outbound call request is complete. Used for outbound calls only. Note: A PerCL response is expected if the outbound call is connected (status=InProgress) to control the call." + }, + "statusCallbackUrl": { + "type": "string", + "description": "The URL that FreeClimb will request to pass call status (such as call ended) to the application. Note: This is a notification only; any PerCL returned will be ignored." + }, + "smsUrl": { + "type": "string", + "description": "The URL that FreeClimb will request when a phone number assigned to this application receives an incoming SMS message. Used for inbound SMS only. Note: Any PerCL returned will be ignored." + }, + "smsFallbackUrl": { + "type": "string", + "description": "The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. Note: Any PerCL returned will be ignored." + } + } + }, + "ApplicationList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "applications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ApplicationResult" + }, + "nullable": true + } + } + } + ] + }, + "AvailableNumber": { + "type": "object", + "properties": { + "capabilities": { + "$ref": "#/components/schemas/Capabilities" + }, + "campaignId": { + "type": "string", + "description": "The campaign ID generated by the campaign registry", + "nullable": true + }, + "phoneNumber": { + "type": "string", + "description": "The phone number, in E.164 format (+ country code and phone number: +18003608245).", + "nullable": true + }, + "voiceEnabled": { + "type": "boolean", + "description": "Typically set to true for all numbers.", + "deprecated": true, + "nullable": true + }, + "smsEnabled": { + "type": "boolean", + "description": "Indicates whether the phone number can send and receive SMS messages.", + "deprecated": true, + "nullable": true + }, + "region": { + "type": "string", + "description": "The state or province of this phone number.", + "nullable": true + }, + "country": { + "type": "string", + "description": "The country of this phone number.", + "nullable": true + } + } + }, + "AvailableNumberList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "availablePhoneNumbers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AvailableNumber" + }, + "nullable": true + } + } + } + ] + }, + "IncomingNumberResult": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "properties": { + "capabilities": { + "$ref": "#/components/schemas/Capabilities" + }, + "campaignId": { + "type": "string", + "description": "The campaign ID generated by the campaign registry", + "nullable": true + }, + "phoneNumberId": { + "type": "string", + "description": "String that uniquely identifies this phone number resource.", + "nullable": true + }, + "accountId": { + "type": "string", + "description": "ID of the account that owns this phone number.", + "nullable": true + }, + "applicationId": { + "type": "string", + "description": "ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.", + "nullable": true + }, + "phoneNumber": { + "type": "string", + "description": "Phone number in E.164 format.", + "nullable": true + }, + "alias": { + "type": "string", + "description": "Description for this phone number. Typically the conventionally-formatted version of the phone number.", + "nullable": true + }, + "region": { + "type": "string", + "description": "State or province of this phone number.", + "nullable": true + }, + "country": { + "type": "string", + "description": "Country of this phone number.", + "nullable": true + }, + "voiceEnabled": { + "type": "boolean", + "description": "Indicates whether the phone number can handle Calls. Typically set to true for all numbers.", + "deprecated": true, + "nullable": true + }, + "smsEnabled": { + "type": "boolean", + "description": "Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.", + "deprecated": true, + "nullable": true + }, + "offnet": { + "type": "boolean", + "description": "The offnet field is a boolean representing whether the number is offnet registered or not. This field will be rendered only for requests to the IncomingPhone number resource.", + "nullable": true + } + } + } + ] + }, + "IncomingNumberRequest": { + "type": "object", + "properties": { + "applicationId": { + "type": "string", + "description": "ID of the Application that should handle calls to this number." + }, + "alias": { + "type": "string", + "description": "Description for this phone number." + } + } + }, + "IncomingNumberList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "incomingPhoneNumbers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IncomingNumberResult" + }, + "nullable": true + } + } + } + ] + }, + "BuyIncomingNumberRequest": { + "type": "object", + "required": ["phoneNumber"], + "properties": { + "phoneNumber": { + "type": "string", + "description": "Phone number to purchase in E.164 format (as returned in the list of Available Phone Numbers)." + }, + "alias": { + "type": "string", + "description": "Description for this new incoming phone number (max 64 characters)." + }, + "applicationId": { + "type": "string", + "description": "ID of the application that should handle phone calls to the number." + } + } + }, + "CallResult": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "properties": { + "callId": { + "type": "string", + "description": "String that uniquely identifies this Call resource.", + "nullable": true + }, + "parentCallId": { + "type": "string", + "description": "ID of the Call that created this leg (child Call).", + "nullable": true + }, + "accountId": { + "type": "string", + "description": "ID of the account that owns this Call.", + "nullable": true + }, + "from": { + "type": "string", + "description": "Phone number that initiated this Call.", + "nullable": true + }, + "to": { + "type": "string", + "description": "Phone number that received this Call.", + "nullable": true + }, + "phoneNumberId": { + "type": "string", + "description": "If the Call was inbound, this is the ID of the IncomingPhoneNumber that received the Call (DNIS). If the Call was outbound, this is the ID of the phone number from which the Call was placed (ANI).", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/CallStatus", + "nullable": true + }, + "startTime": { + "type": "string", + "description": "Start time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.", + "nullable": true + }, + "connectTime": { + "type": "string", + "description": "Time the Call was answered (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.", + "nullable": true + }, + "endTime": { + "type": "string", + "description": "End time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call did not complete successfully.", + "nullable": true + }, + "duration": { + "type": "integer", + "description": "Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.", + "nullable": true + }, + "connectDuration": { + "type": "integer", + "description": "Length of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.", + "nullable": true + }, + "direction": { + "$ref": "#/components/schemas/CallDirection", + "nullable": true + }, + "answeredBy": { + "$ref": "#/components/schemas/AnsweredBy", + "nullable": true + }, + "subresourceUris": { + "type": "object", + "description": "The list of subresources for this Call. These include things like logs and recordings associated with the Call.", + "nullable": true + } + } + } + ] + }, + "UpdateCallRequest": { + "type": "object", + "required": ["status"], + "properties": { + "status": { + "$ref": "#/components/schemas/UpdateCallRequestStatus" + } + } + }, + "MakeCallRequest": { + "type": "object", + "required": ["from", "to"], + "properties": { + "from": { + "type": "string", + "description": "Phone number to use as the caller ID. This can be: (a) The To or From number provided in FreeClimb's initial request to your app or (b) Any incoming phone number you have purchased from FreeClimb." + }, + "to": { + "type": "string", + "description": "Phone number to place the Call to." + }, + "applicationId": { + "type": "string", + "description": "Required if no `parentCallId` or `callConnectUrl` has been provided. ID of the application FreeClimb should use to handle this phone call. FreeClimb will use the `callConnectUrl` and `statusCallbackUrl` set on the application unless the `callConnectUrl` attribute is also provided with the request. In this case, the URL specified in that `callConnectUrl` attribute will be used as a replacement of the `callConnectUrl` originally assigned in the application. If the `callConnectUrl` is not set as either an attribute of the request or as part of the specified application, an error will be provided. The application’s voiceUrl parameter is not used for outbound calls." + }, + "sendDigits": { + "type": "string", + "description": "String of digits to dial after connecting to the number. It can include digits `0-9`, `*`, and `#`, and allows embedding a pause between the output of individual digits. The default pause is 500 milliseconds. So, a string such as *1234#* will be played in 2 seconds because of the 4 standard pauses implied within the string. A custom pause is specified by including a positive integer wrapped in curly braces: {n}. For more information, see **sendDigits examples** below." + }, + "ifMachine": { + "type": "string", + "description": "Specifies how FreeClimb should handle this Call if an answering machine answers it." + }, + "ifMachineUrl": { + "type": "string", + "description": "This attribute specifies a URL to which FreeClimb will make a POST request when an answering machine or a fax machine is detected. This URL is required if the ifMachine flag is set to redirect. When ifMachine is set to hangup, ifMachineUrl must not be included in the request. For more information, see **ifMachineUrl example** below." + }, + "timeout": { + "type": "integer", + "description": "Number of seconds that FreeClimb should allow the phone to ring before assuming there is no answer. Default is 30 seconds. Maximum allowed ring-time is determined by the target phone's provider. Note that most providers limit ring-time to 120 seconds.", + "default": 30, + "format": "int32" + }, + "parentCallId": { + "type": "string", + "description": "Required if no `applicationId` or `callConnectUrl` has been provided. The ID of the parent Call in the case that this new Call is meant to be treated as a child of an existing Call. This attribute should be included when possible to reduce latency when adding child calls to Conferences containing the parent Call. A call can only be used as a parent once the call is in progress or as an inbound call that is still ringing. An outbound call is considered to be in progress once the `outdialConnect` or `outdialApiConnect` webhook is invoked. An inbound call is ringing when the inbound webhook is invoked. If a `callConnectUrl` attribute is also included with the `parentCallId` in the request, this URL will be used as a replacement of the `callConnectUrl` originally assigned in the parent call." + }, + "privacyMode": { + "type": "boolean", + "description": "Activate privacy mode in order to obscure log data that can potentially expose private information." + }, + "callConnectUrl": { + "type": "string", + "description": "The URL that FreeClimb should use to handle this phone call. If an applicationId or parentCallId have already been provided, this callConnectUrl attribute will be used as a replacement of the callConnectUrl originally assigned in the application or parent call." + } + } + }, + "CallList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "calls": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CallResult" + }, + "nullable": true + } + } + } + ] + }, + "RecordingResult": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "properties": { + "recordingId": { + "type": "string", + "description": "String that uniquely identifies this recording resource.", + "nullable": true + }, + "accountId": { + "type": "string", + "description": "ID of the account that created this recording.", + "nullable": true + }, + "callId": { + "type": "string", + "description": "ID of the Call that was recorded. If a Conference was recorded, this value is empty and the conferenceId property is populated.", + "nullable": true + }, + "durationSec": { + "type": "integer", + "description": "Length of the recording in seconds.", + "nullable": true + }, + "conferenceId": { + "type": "string", + "description": "ID of the Conference that was recorded. If a Call was recorded, this value is empty and the callId property is populated.", + "nullable": true + } + } + } + ] + }, + "RecordingList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "recordings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RecordingResult" + }, + "nullable": true + } + } + } + ] + }, + "LogResult": { + "type": "object", + "properties": { + "timestamp": { + "type": "integer", + "description": "Time that the log was generated. The time is represented as microseconds since the Unix Epoch.", + "nullable": true + }, + "level": { + "$ref": "#/components/schemas/LogLevel", + + "nullable": true + }, + "requestId": { + "type": "string", + "description": "ID of the request associated with the log. The requestId is propagated across all logs generated by FreeClimb when processing a request.", + "nullable": true + }, + "accountId": { + "type": "string", + "description": "ID of the account that this log was generated under.", + "nullable": true + }, + "callId": { + "type": "string", + "description": "ID of the Call associated with the log. Can be set to null if the log was generated without regard to a specific Call.", + "nullable": true + }, + "message": { + "type": "string", + "description": "A simple string describing the event being logged.", + "nullable": true + }, + "metadata": { + "type": "object", + "description": "JSON document containing metadata about the event. Some log messages may include request and response header content in this field.", + "nullable": true + } + } + }, + "LogList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "logs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LogResult" + }, + "nullable": true + } + } + } + ] + }, + "ConferenceResult": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "properties": { + "conferenceId": { + "type": "string", + "description": "A string that uniquely identifies this Conference resource.", + "nullable": true + }, + "accountId": { + "type": "string", + "description": "ID of the account that created this Conference.", + "nullable": true + }, + "alias": { + "type": "string", + "description": "A description for this Conference.", + "nullable": true + }, + "playBeep": { + "$ref": "#/components/schemas/PlayBeep", + "description": "Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always.", + "nullable": true + }, + "record": { + "type": "boolean", + "description": "Flag indicating whether recording is enabled for this Conference.", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/ConferenceStatus", + "nullable": true + }, + "waitUrl": { + "type": "string", + "description": "URL referencing the audio file to be used as default wait music for the Conference when it is in the populated state.", + "nullable": true + }, + "actionUrl": { + "type": "string", + "description": "URL invoked once the Conference is successfully created.", + "nullable": true + }, + "statusCallbackUrl": { + "type": "string", + "description": "URL to inform that the Conference status has changed.", + "nullable": true + }, + "subresourceUris": { + "type": "object", + "description": "The list of subresources for this Conference. This includes participants and/or recordings.", + "nullable": true + } + } + } + ] + }, + "MessagesList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "messages": { + "type": "array", + "description": "Array of messages", + "items": { + "$ref": "#/components/schemas/MessageResult" + }, + "nullable": true + } + } + } + ] + }, + "MessageRequest": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "required": ["from", "to", "text"], + "properties": { + "from": { + "type": "string", + "description": "Phone number to use as the sender. This must be an incoming phone number that you have purchased from FreeClimb." + }, + "to": { + "type": "string", + "description": "Phone number to receive the message. Must be within FreeClimb's service area." + }, + "text": { + "type": "string", + "description": "Text contained in the message (maximum 160 characters). **Note:** For text, only ASCII characters are supported." + }, + "notificationUrl": { + "type": "string", + "description": "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." + }, + "accountId": { + "type": "string", + "description": "String that uniquely identifies this account resource." + } + } + } + ] + }, + "ConferenceList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "conferences": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConferenceResult" + }, + "nullable": true + } + } + } + ] + }, + "MessageResult": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "String that uniquely identifies this account resource.", + "nullable": true + }, + "messageId": { + "type": "string", + "description": "String that uniquely identifies this message resource", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/MessageStatus", + "nullable": true + }, + "from": { + "type": "string", + "description": "Phone number in E.164 format that sent the message.", + "nullable": true + }, + "to": { + "type": "string", + "description": "Phone number in E.164 format that received the message.", + "nullable": true + }, + "text": { + "type": "string", + "description": "Message contents", + "nullable": true + }, + "direction": { + "type": "string", + "description": "Noting whether the message was inbound or outbound", + "nullable": true + }, + "notificationUrl": { + "type": "string", + "description": "URL invoked when message sent", + "nullable": true + } + } + } + ] + }, + "CreateConferenceRequest": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "description": "A description for this Conference. Maximum 64 characters." + }, + "playBeep": { + "$ref": "#/components/schemas/PlayBeep" + }, + "record": { + "type": "boolean", + "description": "Setting to `true` records the entire Conference." + }, + "waitUrl": { + "type": "string", + "description": "If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once — when the Conference is created." + }, + "statusCallbackUrl": { + "type": "string", + "description": "This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below)." + } + } + }, + "UpdateConferenceRequest": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "description": "Description for this conference. Maximum 64 characters." + }, + "playBeep": { + "$ref": "#/components/schemas/PlayBeep" + }, + "status": { + "$ref": "#/components/schemas/UpdateConferenceRequestStatus" + } + } + }, + "ConferenceParticipantResult": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "ID of the account that created this participant.", + "nullable": true + }, + "conferenceId": { + "type": "string", + "description": "ID of the conference this participant is in.", + "nullable": true + }, + "callId": { + "type": "string", + "description": "ID of the Call associated with this Participant.", + "nullable": true + }, + "talk": { + "type": "boolean", + "description": "True if this Participant has talk privileges in the Conference. False otherwise.", + "nullable": true + }, + "listen": { + "type": "boolean", + "description": "True if this Participant has listen 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.", + "nullable": true + } + } + } + ] + }, + "UpdateConferenceParticipantRequest": { + "type": "object", + "properties": { + "talk": { + "type": "boolean", + "description": "(Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value." + }, + "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." + } + } + }, + "ConferenceParticipantList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "participants": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConferenceParticipantResult" + }, + "nullable": true + } + } + } + ] + }, + "QueueResult": { + "allOf": [ + { + "$ref": "#/components/schemas/MutableResourceModel" + }, + { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "ID of the account that created this Queue.", + "nullable": true + }, + "queueId": { + "type": "string", + "description": "A string that uniquely identifies this Queue resource.", + "nullable": true + }, + "alias": { + "type": "string", + "description": "A description for this Queue.", + "nullable": true + }, + "maxSize": { + "type": "integer", + "description": "The maximum number of Calls permitted in the Queue. Default is 100. Maximum is 1000.", + "nullable": true + }, + "currentSize": { + "type": "string", + "description": "Count of Calls currently in the Queue.", + "nullable": true + }, + "averageWaitTime": { + "type": "string", + "description": "Average wait time (in seconds) of all Calls in the Queue.", + "nullable": true + }, + "subresourceUris": { + "type": "object", + "description": "List of subresources for this Queue (which includes Queue members).", + "nullable": true + } + } + } + ] + }, + "QueueRequest": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "description": "Description for this Queue. Max length is 64 characters." + }, + "maxSize": { + "type": "integer", + "description": "Maximum number of calls this queue can hold. Default is 100. Maximum is 1000. **Note:** Reducing the maxSize of a Queue causes the Queue to reject incoming requests until it shrinks below the new value of maxSize.", + "default": 100, + "format": "int32" + } + } + }, + "QueueList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "queues": { + "type": "array", + "items": { + "$ref": "#/components/schemas/QueueResult" + }, + "nullable": true + } + } + } + ] + }, + "QueueMember": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "URI for this Queue Member resource, relative to the API base URL.", + "nullable": true + }, + "callId": { + "type": "string", + "description": "ID of the Call associated with this Queue Member.", + "nullable": true + }, + "waitTime": { + "type": "integer", + "description": "Number of seconds the Member has been in the queue.", + "nullable": true + }, + "position": { + "type": "integer", + "description": "Member's current position in the Queue, 1 indexed.", + "nullable": true + }, + "dateEnqueued": { + "type": "string", + "description": "Date that the Member was enqueued (GMT), given in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT).", + "nullable": true + } + } + }, + "QueueMemberList": { + "allOf": [ + { + "$ref": "#/components/schemas/PaginationModel" + }, + { + "type": "object", + "properties": { + "queueMembers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/QueueMember" + }, + "nullable": true + } + } + } + ] + }, + "FilterLogsRequest": { + "type": "object", + "required": ["pql"], + "properties": { + "pql": { + "type": "string", + "description": "The filter query for retrieving logs. See **Performance Query Language** below." + } + } + } + } + }, + "security": [ + { + "fc": [] + } + ], + "paths": { + "/Accounts/{accountId}": { + "get": { + "tags": [], + "summary": "Get an Account", + "operationId": "get-an-account", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Account Details", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AccountResult" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Manage an account", + "operationId": "update-an-account", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "requestBody": { + "description": "Account details to update", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AccountRequest" + } + } + } + }, + "responses": { + "204": { + "description": "Successful Account update" + } + } + } + }, + "/Accounts/{accountId}/Applications/{applicationId}": { + "get": { + "tags": [], + "summary": "Get an Application", + "operationId": "get-an-application", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "applicationId", + "in": "path", + "description": "A string that uniquely identifies this application resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Application Details", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationResult" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Update an application", + "operationId": "update-an-application", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "applicationId", + "in": "path", + "description": "A string that uniquely identifies this application resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "Application details to update.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Update Application", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationResult" + } + } + } + } + } + }, + "delete": { + "tags": [], + "summary": "Delete an application", + "operationId": "delete-an-application", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "applicationId", + "in": "path", + "description": "String that uniquely identifies this application resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "204": { + "description": "Successful application deletion" + } + } + } + }, + "/Accounts/{accountId}/Applications": { + "get": { + "tags": [], + "summary": "List applications", + "operationId": "list-applications", + "parameters": [ + { + "name": "alias", + "in": "query", + "description": "Return only applications with aliases that exactly match this value.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/AccountId" + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "List of Applications", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationList" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Create an application", + "operationId": "create-an-application", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "requestBody": { + "description": "Application Details", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "201": { + "description": "Application successfuly created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationResult" + } + } + } + } + } + } + }, + "/AvailablePhoneNumbers": { + "get": { + "tags": [], + "summary": "List available numbers", + "operationId": "list-available-numbers", + "parameters": [ + { + "name": "phoneNumber", + "in": "query", + "description": "PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "region", + "in": "query", + "description": "State or province of this phone number.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "country", + "in": "query", + "description": "Country of this phone number.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "voiceEnabled", + "in": "query", + "description": "Indicates whether the phone number can handle Calls. Typically set to true for all numbers.", + "required": false, + "schema": { + "type": "boolean", + "default": true + } + }, + { + "name": "smsEnabled", + "in": "query", + "description": "Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.", + "required": false, + "schema": { + "type": "boolean", + "default": true + } + }, + { + "$ref": "#/components/parameters/Capabilities.Voice" + }, + { + "$ref": "#/components/parameters/Capabilities.Sms" + }, + { + "$ref": "#/components/parameters/Capabilities.TollFree" + }, + { + "$ref": "#/components/parameters/Capabilities.TenDLC" + }, + { + "$ref": "#/components/parameters/Capabilities.ShortCode" + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Available Numbers List", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AvailableNumberList" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId}": { + "get": { + "tags": [], + "summary": "Get an Incoming Number", + "operationId": "get-an-incoming-number", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "phoneNumberId", + "in": "path", + "description": "String that uniquely identifies this phone number resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Incoming Phone Number result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IncomingNumberResult" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Update an Incoming Number", + "operationId": "update-an-incoming-number", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "phoneNumberId", + "in": "path", + "description": "String that uniquely identifies this phone number resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "Incoming Number details to update", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IncomingNumberRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Updated Incoming Phone Number", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IncomingNumberResult" + } + } + } + } + } + }, + "delete": { + "tags": [], + "summary": "Delete an Incoming Number", + "operationId": "delete-an-incoming-number", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "phoneNumberId", + "in": "path", + "description": "String that uniquely identifies this phone number resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "204": { + "description": "Successful Incoming Number deletion." + } + } + } + }, + "/Accounts/{accountId}/IncomingPhoneNumbers": { + "get": { + "tags": [], + "summary": "List Incoming Numbers", + "operationId": "list-incoming-numbers", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "phoneNumber", + "in": "query", + "description": "Only show incoming phone number resources that match this PCRE-compatible regular expression.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "alias", + "in": "query", + "description": "Only show incoming phone numbers with aliases that exactly match this value.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "region", + "in": "query", + "description": "State or province of this phone number.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "country", + "in": "query", + "description": "Country of this phone number.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "applicationId", + "in": "query", + "description": "ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "hasApplication", + "in": "query", + "description": "Indication of whether the phone number has an application linked to it.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "voiceEnabled", + "in": "query", + "description": "Indicates whether the phone number can handle Calls. Typically set to true for all numbers.", + "required": false, + "schema": { + "type": "boolean", + "default": true + }, + "deprecated": true + }, + { + "name": "smsEnabled", + "in": "query", + "description": "Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.", + "required": false, + "schema": { + "type": "boolean", + "default": true + }, + "deprecated": true + }, + { + "$ref": "#/components/parameters/Capabilities.Voice" + }, + { + "$ref": "#/components/parameters/Capabilities.Sms" + }, + { + "$ref": "#/components/parameters/Capabilities.TollFree" + }, + { + "$ref": "#/components/parameters/Capabilities.TenDLC" + }, + { + "$ref": "#/components/parameters/Capabilities.ShortCode" + }, + { + "name": "offnet", + "in": "query", + "required": false, + "description": "Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.", + "schema": { + "type": "boolean", + "nullable": true + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "List of Incoming Phone Numbers", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IncomingNumberList" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Buy a Phone Number", + "operationId": "buy-a-phone-number", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "requestBody": { + "description": "Incoming Number transaction details", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuyIncomingNumberRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Successful Incoming Number transaction", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IncomingNumberResult" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Calls/{callId}": { + "get": { + "tags": [], + "summary": "Get a Call", + "operationId": "get-a-call", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "callId", + "in": "path", + "description": "String that uniquely identifies this call resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Call Resource", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CallResult" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Update a Live Call", + "operationId": "update-a-live-call", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "callId", + "in": "path", + "description": "String that uniquely identifies this call resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "Call details to update", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateCallRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "202": { + "description": "Successfully queued call" + } + } + } + }, + "/Accounts/{accountId}/Calls": { + "post": { + "tags": [], + "summary": "Make a Call", + "operationId": "make-a-call", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "requestBody": { + "description": "Call details for making a call", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MakeCallRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Call that was created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CallResult" + } + } + } + } + } + }, + "get": { + "tags": [], + "summary": "List Calls", + "operationId": "list-calls", + "parameters": [ + { + "name": "active", + "in": "query", + "description": "If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "to", + "in": "query", + "description": "Only show Calls to this phone number.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "from", + "in": "query", + "description": "Only show Calls from this phone number.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "status", + "in": "query", + "description": "Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`.", + "required": false, + "schema": { + "$ref": "#/components/schemas/CallStatus" + } + }, + { + "name": "startTime", + "in": "query", + "description": "Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "endTime", + "in": "query", + "description": "Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "parentCallId", + "in": "query", + "description": "Only show Calls spawned by the call with this ID.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/AccountId" + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successful retrieved call list", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CallList" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Calls/{callId}/Recordings": { + "get": { + "tags": [], + "summary": "List Call Recordings", + "operationId": "list-call-recordings", + "parameters": [ + { + "name": "dateCreated", + "in": "query", + "description": "Only show recordings created on the specified date, in the form *YYYY-MM-DD*.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "callId", + "in": "path", + "description": "String that uniquely identifies this call resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "List of recordings for a call", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RecordingList" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Calls/{callId}/Logs": { + "get": { + "tags": [], + "summary": "List Call Logs", + "operationId": "list-call-logs", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "callId", + "in": "path", + "description": "String that uniquely identifies this call resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Logs for this call", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LogList" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Conferences": { + "post": { + "tags": [], + "summary": "Create a Conference", + "operationId": "create-a-conference", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "requestBody": { + "description": "Conference to create", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateConferenceRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Details of created conference", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConferenceResult" + } + } + } + } + } + }, + "get": { + "tags": [], + "summary": "List Conferences", + "operationId": "list-conferences", + "parameters": [ + { + "name": "status", + "in": "query", + "description": "Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "alias", + "in": "query", + "description": "List Conferences whose alias exactly matches this string.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "dateCreated", + "in": "query", + "description": "Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "dateUpdated", + "in": "query", + "description": "Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/AccountId" + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "List of Conferences", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConferenceList" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Conferences/{conferenceId}": { + "post": { + "tags": [], + "summary": "Update a Conference", + "operationId": "update-a-conference", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "conferenceId", + "in": "path", + "description": "String that uniquely identifies this conference resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "Conference Details to update", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateConferenceRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Conference Details to Update", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConferenceResult" + } + } + } + } + } + }, + "get": { + "tags": [], + "summary": "Get a Conference", + "operationId": "get-a-conference", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "conferenceId", + "in": "path", + "description": "A string that uniquely identifies this conference resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved conference", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConferenceResult" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId}": { + "post": { + "tags": [], + "summary": "Update a Participant", + "operationId": "update-a-participant", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "conferenceId", + "in": "path", + "description": "ID of the conference this participant is in.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "callId", + "in": "path", + "description": "ID of the Call associated with this participant.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "Conference participant details to update", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateConferenceParticipantRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved conference participant", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConferenceParticipantResult" + } + } + } + } + } + }, + "get": { + "tags": [], + "summary": "Get a Participant", + "operationId": "get-a-participant", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "conferenceId", + "in": "path", + "description": "ID of the conference this participant is in.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "callId", + "in": "path", + "description": "ID of the Call associated with this participant.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved conference participant", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConferenceParticipantResult" + } + } + } + } + } + }, + "delete": { + "tags": [], + "summary": "Remove a Participant", + "operationId": "remove-a-participant", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "conferenceId", + "in": "path", + "description": "ID of the conference this participant is in.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "callId", + "in": "path", + "description": "ID of the Call associated with this participant.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "204": { + "description": "Successfully deleted conference participant" + } + } + } + }, + "/Accounts/{accountId}/Conferences/{conferenceId}/Participants": { + "get": { + "tags": [], + "summary": "List Participants", + "operationId": "list-participants", + "parameters": [ + { + "name": "talk", + "in": "query", + "description": "Only show Participants with the talk privilege.", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "listen", + "in": "query", + "description": "Only show Participants with the listen privilege.", + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "conferenceId", + "in": "path", + "description": "ID of the conference this participant is in.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved conference participant list", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConferenceParticipantList" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Queues/{queueId}": { + "post": { + "tags": [], + "summary": "Update a Queue", + "operationId": "update-a-queue", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "queueId", + "in": "path", + "description": "A string that uniquely identifies this Queue resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "Queue Details to update", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Successfully updated queue", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueResult" + } + } + } + } + } + }, + "get": { + "tags": [], + "summary": "Get a Queue", + "operationId": "get-a-queue", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "queueId", + "in": "path", + "description": "A string that uniquely identifies this queue resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved queue", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueResult" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Queues": { + "get": { + "tags": [], + "summary": "List Active Queues", + "operationId": "list-active-queues", + "parameters": [ + { + "name": "alias", + "in": "query", + "description": "Return only the Queue resources with aliases that exactly match this name.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/AccountId" + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successfuly retrieved queue list", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueList" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Create a Queue", + "operationId": "create-a-queue", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "requestBody": { + "description": "Queue details used to create a queue", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Successfuly created queue", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueResult" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Queues/{queueId}/Members/Front": { + "get": { + "tags": [], + "summary": "Get Head Member", + "operationId": "get-head-member", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "queueId", + "in": "path", + "description": "String that uniquely identifies the Queue that the Member belongs to.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved queue member", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueMember" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Dequeue Head Member", + "operationId": "dequeue-head-member", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "queueId", + "in": "path", + "description": "String that uniquely identifies this queue resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "202": { + "description": "Accepted dequeue request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueMember" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Queues/{queueId}/Members": { + "get": { + "tags": [], + "summary": "List Members", + "operationId": "list-members", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "queueId", + "in": "path", + "description": "String that uniquely identifies the Queue that the Member belongs to.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved queue member list", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueMemberList" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Queues/{queueId}/Members/{callId}": { + "get": { + "tags": [], + "summary": "Get a Member", + "operationId": "get-a-member", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "queueId", + "in": "path", + "description": "String that uniquely identifies the Queue that the Member belongs to.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "callId", + "in": "path", + "description": "ID of the Call that the Member belongs to", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved a queue member", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueMember" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Dequeue a Member", + "operationId": "dequeue-a-member", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "queueId", + "in": "path", + "description": "String that uniquely identifies the Queue that the Member belongs to.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "callId", + "in": "path", + "description": "ID if the Call that the Member belongs to", + "required": true, + "schema": { + "type": "string" + } + } + ], + "deprecated": false, + "responses": { + "202": { + "description": "Accepted dequeue request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QueueMember" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Logs": { + "get": { + "tags": [], + "summary": "List All Account Logs", + "operationId": "list-all-account-logs", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved log list", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LogList" + } + } + } + } + } + }, + "post": { + "tags": [], + "summary": "Filter Logs", + "operationId": "filter-logs", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "requestBody": { + "description": "Filter logs request paramters", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FilterLogsRequest" + } + } + } + }, + "deprecated": false, + "responses": { + "200": { + "description": "Successfully retrieved log list", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LogList" + } + } + } + } + } + } + }, + "/Accounts/{accountId}/Recordings": { + "get": { + "tags": [], + "summary": "List Recordings", + "operationId": "list-recordings", + "parameters": [ + { + "name": "callId", + "in": "query", + "description": "Show only Recordings made during the Call with this ID.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "conferenceId", + "in": "query", + "description": "Show only Recordings made during the conference with this ID.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "dateCreated", + "in": "query", + "description": "Only show Recordings created on this date, formatted as *YYYY-MM-DD*.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/AccountId" + } + ], + "responses": { + "200": { + "description": "List of Recordings", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RecordingList" + } + } + } + } + }, + "deprecated": false + } + }, + "/Accounts/{accountId}/Recordings/{recordingId}": { + "get": { + "tags": [], + "summary": "Get a Recording", + "operationId": "get-a-recording", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "recordingId", + "in": "path", + "description": "String that uniquely identifies this recording resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RecordingResult" + } + } + } + } + }, + "deprecated": false + }, + "delete": { + "tags": [], + "summary": "Delete a Recording", + "operationId": "delete-a-recording", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "recordingId", + "in": "path", + "description": "String that uniquely identifies this recording resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Recording Deleted" + } + }, + "deprecated": false + } + }, + "/Accounts/{accountId}/Recordings/{recordingId}/Stream": { + "get": { + "tags": [], + "summary": "Stream a Recording File", + "operationId": "stream-a-recording-file", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "recordingId", + "in": "path", + "description": "String that uniquely identifies this recording resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Streaming a Recording represented with audio/x-wav mime-type", + "content": { + "audio/x-wav": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + } + }, + "deprecated": false + } + }, + "/Accounts/{accountId}/Recordings/{recordingId}/Download": { + "get": { + "tags": [], + "summary": "Download a Recording File", + "operationId": "download-a-recording-file", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "recordingId", + "in": "path", + "description": "String that uniquely identifies this recording resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Download a Recording file represented with audio/x-wav mime-type", + "content": { + "audio/x-wav": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + } + }, + "deprecated": false + } + }, + "/Accounts/{accountId}/Messages": { + "get": { + "tags": [], + "summary": "List SMS Messages", + "operationId": "list-sms-messages", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "to", + "in": "query", + "description": "Only show Messages to this phone number.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "from", + "in": "query", + "description": "Only show Messages from this phone number.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "beginTime", + "in": "query", + "description": "Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*.", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "endTime", + "in": "query", + "description": "Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*..", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "direction", + "in": "query", + "description": "Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb.", + "required": false, + "schema": { + "$ref": "#/components/schemas/MessageDirection" + } + } + ], + "responses": { + "200": { + "description": "List of messages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MessagesList" + } + } + } + } + }, + "deprecated": false + }, + "post": { + "tags": [], + "summary": "Send an SMS Message", + "operationId": "send-an-sms-message", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + } + ], + "requestBody": { + "description": "Details to create a message", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MessageRequest" + } + } + } + }, + "responses": { + "202": { + "description": "The message has been accepted.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MessageResult" + } + } + } + } + }, + "deprecated": false + } + }, + "/Accounts/{accountId}/Messages/{messageId}": { + "get": { + "tags": [], + "summary": "Get an SMS Message", + "operationId": "get-an-sms-message", + "parameters": [ + { + "$ref": "#/components/parameters/AccountId" + }, + { + "name": "messageId", + "in": "path", + "description": "String that uniquely identifies this Message resource.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The specific SMS message that’s been processed by FreeClimb", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MessageResult" + } + } + } + } + }, + "deprecated": false + } + } + }, + "x-headers": [], + "x-explorer-enabled": true, + "x-proxy-enabled": true, + "x-samples-enabled": false, + "x-samples-languages": ["curl", "node", "ruby", "javascript", "python"] +} From 9c05c29d545b6a8f69dab2ab2efb56e6f9b0ea3d Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Wed, 7 Dec 2022 09:10:18 -0500 Subject: [PATCH 49/59] Add final touches to test files --- src/freeclimb.Test/Api/DefaultApiTests.cs | 2 ++ src/freeclimb.Test/Model/PerclScriptTests.cs | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freeclimb.Test/Api/DefaultApiTests.cs b/src/freeclimb.Test/Api/DefaultApiTests.cs index 0f24efc7..6c9fe498 100644 --- a/src/freeclimb.Test/Api/DefaultApiTests.cs +++ b/src/freeclimb.Test/Api/DefaultApiTests.cs @@ -43,6 +43,8 @@ public class DefaultApiTests : IDisposable public DefaultApiTests() { config = new Configuration(); + // Add env to the github actions workflow, otherwise it will fail + //Change this to be an environment variable with a default value for all configs that look like this config.BasePath = "http://127.0.0.1:4010/"; config.Username = "TEST-ACCOUNT-ID"; config.Password = "TEST-API-KEY"; diff --git a/src/freeclimb.Test/Model/PerclScriptTests.cs b/src/freeclimb.Test/Model/PerclScriptTests.cs index a9fabcf6..48ca84b0 100644 --- a/src/freeclimb.Test/Model/PerclScriptTests.cs +++ b/src/freeclimb.Test/Model/PerclScriptTests.cs @@ -73,7 +73,6 @@ public void CommandsTest() // TODO unit test for the property 'Commands' string actualJSONString = instance.ToJson(); string expectedJSONString = "[{\"CreateConference\":{\"actionUrl\":\"\",\"alias\":false,\"playBeep\":\"always\",\"record\":false,\"statusCallbackUrl\":\"\",\"waitUrl\":\"\"}}]"; - //Console.WriteLine(actualJSONString); Assert.Equal(expectedJSONString, actualJSONString); } } From 5c11d63f059258d13e6c3afbe3e9ca22d68fd5c8 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Wed, 28 Dec 2022 16:55:44 -0500 Subject: [PATCH 50/59] Files to be pushed up to the sdk --- .openapi-generator/FILES | 1 + src/freeclimb.Test/Api/DefaultApiTests.cs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 51211f6a..cc739df5 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -131,6 +131,7 @@ docs/UpdateConferenceRequest.md docs/UpdateConferenceRequestStatus.md freeclimb.sln git_push.sh +src/freeclimb.Test/Api/DefaultApiTests.cs src/freeclimb.Test/Model/AccountStatusTests.cs src/freeclimb.Test/Model/AccountTypeTests.cs src/freeclimb.Test/Model/AnsweredByTests.cs diff --git a/src/freeclimb.Test/Api/DefaultApiTests.cs b/src/freeclimb.Test/Api/DefaultApiTests.cs index 6c9fe498..0f24efc7 100644 --- a/src/freeclimb.Test/Api/DefaultApiTests.cs +++ b/src/freeclimb.Test/Api/DefaultApiTests.cs @@ -43,8 +43,6 @@ public class DefaultApiTests : IDisposable public DefaultApiTests() { config = new Configuration(); - // Add env to the github actions workflow, otherwise it will fail - //Change this to be an environment variable with a default value for all configs that look like this config.BasePath = "http://127.0.0.1:4010/"; config.Username = "TEST-ACCOUNT-ID"; config.Password = "TEST-API-KEY"; From 4f3b9883f9e59d54f0b4ccd1b8d5a70c3972e55f Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 3 Jan 2023 16:16:33 -0500 Subject: [PATCH 51/59] Regenerated models and tests for csharp sdk due to rebase, all test are passing --- .openapi-generator/FILES | 2 ++ freeclimb.sln | 11 +++++++++++ src/freeclimb.Test/Model/QueueResultAllOfTests.cs | 7 +++---- src/freeclimb.Test/Model/QueueResultTests.cs | 7 +++---- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index cc739df5..95932706 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -148,7 +148,9 @@ src/freeclimb.Test/Model/MachineTypeTests.cs src/freeclimb.Test/Model/MessageDirectionTests.cs src/freeclimb.Test/Model/MessageStatusTests.cs src/freeclimb.Test/Model/PlayBeepTests.cs +src/freeclimb.Test/Model/QueueResultAllOfTests.cs src/freeclimb.Test/Model/QueueResultStatusTests.cs +src/freeclimb.Test/Model/QueueResultTests.cs src/freeclimb.Test/Model/RecordUtteranceTermReasonTests.cs src/freeclimb.Test/Model/RequestTypeTests.cs src/freeclimb.Test/Model/UpdateCallRequestStatusTests.cs diff --git a/freeclimb.sln b/freeclimb.sln index 52f3397f..372b9729 100644 --- a/freeclimb.sln +++ b/freeclimb.sln @@ -2,7 +2,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 VisualStudioVersion = 12.0.0.0 MinimumVisualStudioVersion = 10.0.0.1 +<<<<<<< HEAD Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{2A4CCAB0-14F8-4570-ADB8-8299043B8453}" +======= +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{DC1AC118-E69C-408A-9039-339EB989B3ED}" +>>>>>>> 0734518 (Regenerated models and tests for csharp sdk due to rebase, all test are passing) EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb.Test", "src\freeclimb.Test\freeclimb.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +16,17 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution +<<<<<<< HEAD {2A4CCAB0-14F8-4570-ADB8-8299043B8453}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2A4CCAB0-14F8-4570-ADB8-8299043B8453}.Debug|Any CPU.Build.0 = Debug|Any CPU {2A4CCAB0-14F8-4570-ADB8-8299043B8453}.Release|Any CPU.ActiveCfg = Release|Any CPU {2A4CCAB0-14F8-4570-ADB8-8299043B8453}.Release|Any CPU.Build.0 = Release|Any CPU +======= + {DC1AC118-E69C-408A-9039-339EB989B3ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DC1AC118-E69C-408A-9039-339EB989B3ED}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DC1AC118-E69C-408A-9039-339EB989B3ED}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DC1AC118-E69C-408A-9039-339EB989B3ED}.Release|Any CPU.Build.0 = Release|Any CPU +>>>>>>> 0734518 (Regenerated models and tests for csharp sdk due to rebase, all test are passing) {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/src/freeclimb.Test/Model/QueueResultAllOfTests.cs b/src/freeclimb.Test/Model/QueueResultAllOfTests.cs index 21c7e2ce..1ab308f1 100644 --- a/src/freeclimb.Test/Model/QueueResultAllOfTests.cs +++ b/src/freeclimb.Test/Model/QueueResultAllOfTests.cs @@ -100,12 +100,12 @@ public void CurrentSizeTest() // TODO unit test for the property 'CurrentSize' } /// - /// Test the property 'AverageWaitTime' + /// Test the property 'AverageQueueRemovalTime' /// [Fact] - public void AverageWaitTimeTest() + public void AverageQueueRemovalTimeTest() { - // TODO unit test for the property 'AverageWaitTime' + // TODO unit test for the property 'AverageQueueRemovalTime' } /// /// Test the property 'SubresourceUris' @@ -116,5 +116,4 @@ public void SubresourceUrisTest() // TODO unit test for the property 'SubresourceUris' } } - } diff --git a/src/freeclimb.Test/Model/QueueResultTests.cs b/src/freeclimb.Test/Model/QueueResultTests.cs index 87eb77c0..23c6afd2 100644 --- a/src/freeclimb.Test/Model/QueueResultTests.cs +++ b/src/freeclimb.Test/Model/QueueResultTests.cs @@ -132,12 +132,12 @@ public void CurrentSizeTest() // TODO unit test for the property 'CurrentSize' } /// - /// Test the property 'AverageWaitTime' + /// Test the property 'AverageQueueRemovalTime' /// [Fact] - public void AverageWaitTimeTest() + public void AverageQueueRemovalTimeTest() { - // TODO unit test for the property 'AverageWaitTime' + // TODO unit test for the property 'AverageQueueRemovalTime' } /// /// Test the property 'SubresourceUris' @@ -148,5 +148,4 @@ public void SubresourceUrisTest() // TODO unit test for the property 'SubresourceUris' } } - } From 68f9a9263c5ba838a5818cf8396c53326c094352 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Tue, 3 Jan 2023 16:25:51 -0500 Subject: [PATCH 52/59] Push latest openapi json file to sdk for testing --- openapi.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openapi.json b/openapi.json index 3e798d72..4fd8b856 100644 --- a/openapi.json +++ b/openapi.json @@ -2204,13 +2204,13 @@ "nullable": true }, "currentSize": { - "type": "string", + "type": "integer", "description": "Count of Calls currently in the Queue.", "nullable": true }, - "averageWaitTime": { - "type": "string", - "description": "Average wait time (in seconds) of all Calls in the Queue.", + "averageQueueRemovalTime": { + "type": "integer", + "description": "The average amount of time (in seconds) for a call to be removed from the queue.", "nullable": true }, "subresourceUris": { From 75e457bd9c181c25d26005d3406e11b4b63f5cfa Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Thu, 5 Jan 2023 11:35:48 -0500 Subject: [PATCH 53/59] Test auto copy openapi json file to sdk folder --- .openapi-generator/FILES | 3 --- freeclimb.sln | 21 +++++---------------- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 95932706..51211f6a 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -131,7 +131,6 @@ docs/UpdateConferenceRequest.md docs/UpdateConferenceRequestStatus.md freeclimb.sln git_push.sh -src/freeclimb.Test/Api/DefaultApiTests.cs src/freeclimb.Test/Model/AccountStatusTests.cs src/freeclimb.Test/Model/AccountTypeTests.cs src/freeclimb.Test/Model/AnsweredByTests.cs @@ -148,9 +147,7 @@ src/freeclimb.Test/Model/MachineTypeTests.cs src/freeclimb.Test/Model/MessageDirectionTests.cs src/freeclimb.Test/Model/MessageStatusTests.cs src/freeclimb.Test/Model/PlayBeepTests.cs -src/freeclimb.Test/Model/QueueResultAllOfTests.cs src/freeclimb.Test/Model/QueueResultStatusTests.cs -src/freeclimb.Test/Model/QueueResultTests.cs src/freeclimb.Test/Model/RecordUtteranceTermReasonTests.cs src/freeclimb.Test/Model/RequestTypeTests.cs src/freeclimb.Test/Model/UpdateCallRequestStatusTests.cs diff --git a/freeclimb.sln b/freeclimb.sln index 372b9729..56ad4e6a 100644 --- a/freeclimb.sln +++ b/freeclimb.sln @@ -2,11 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 VisualStudioVersion = 12.0.0.0 MinimumVisualStudioVersion = 10.0.0.1 -<<<<<<< HEAD -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{2A4CCAB0-14F8-4570-ADB8-8299043B8453}" -======= -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{DC1AC118-E69C-408A-9039-339EB989B3ED}" ->>>>>>> 0734518 (Regenerated models and tests for csharp sdk due to rebase, all test are passing) +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb.Test", "src\freeclimb.Test\freeclimb.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -16,17 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution -<<<<<<< HEAD - {2A4CCAB0-14F8-4570-ADB8-8299043B8453}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2A4CCAB0-14F8-4570-ADB8-8299043B8453}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2A4CCAB0-14F8-4570-ADB8-8299043B8453}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2A4CCAB0-14F8-4570-ADB8-8299043B8453}.Release|Any CPU.Build.0 = Release|Any CPU -======= - {DC1AC118-E69C-408A-9039-339EB989B3ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DC1AC118-E69C-408A-9039-339EB989B3ED}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DC1AC118-E69C-408A-9039-339EB989B3ED}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DC1AC118-E69C-408A-9039-339EB989B3ED}.Release|Any CPU.Build.0 = Release|Any CPU ->>>>>>> 0734518 (Regenerated models and tests for csharp sdk due to rebase, all test are passing) + {691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}.Debug|Any CPU.Build.0 = Debug|Any CPU + {691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}.Release|Any CPU.ActiveCfg = Release|Any CPU + {691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU From 0f450d97ca3cab60e88ddd998ae35fc2ed318167 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Fri, 6 Jan 2023 11:46:36 -0500 Subject: [PATCH 54/59] Add new version in changelog file --- CHANGELOG.md | 81 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 73 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92331200..9257b971 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,138 +1,203 @@ # C-Sharp SDK Changelog + All notable changes to this project will be documented in this file. The format of this changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + None + + +## [4.2.1] 2023-01-06 + +### Changed + +- Enums have been implemented in the csharp sdk +- Updated README for enum implementation and testing + ## [4.1.1] 2022-12-01 + ### Changed - - Changed `QueueResult` property `currentSize` from string to int - - Renamed `QueueResult` property `averageWaitTime` to `averageQueueRemovalTime` + +- Changed `QueueResult` property `currentSize` from string to int +- Renamed `QueueResult` property `averageWaitTime` to `averageQueueRemovalTime` ## [4.1.0] 2022-11-02 + ### Changed + - Account ID is no longer needed for every api request/model creation -- Updated README for accountId and apiKey setting +- Updated README for accountId and apiKey setting ## [4.0.2] 2022-11-01 + ### Added + - Add `offnet` property in IncomingNumber resource - Add `offnet` query parameter for listIncomingNumbers + ## [4.0.1] 2022-08-19 + ### Added + - Add `Park` PerCL command - Add `Unpark` PerCL command + ## [3.0.5] 2021-12-6 + ### Changed + - Replaced Auth Token -> API Key + ## [3.0.4] 2021-11-2 + ### Added + - Added `applicationId`, `country`, `hasApplication`, `region`, `smsEnabled`, `voiceEnabled` optional filters to `IncomingPhoneNumbersSearchFilters` interface - Added `country`, `region`, `smsEnabled`, `voiceEnabled` optional filters to `AvailablePhoneNumbersSearchFilters` interface + ## [3.0.3] 2021-11-4 + ### Added + - 1 new param `active` for CallSearchFilters + ## [3.0.1] 2021-8-3 + ### Added + - 4 new properties for GetSpeechActionCallback + ## [3.0.0] - 2021-05-06 + ### Added + - Add new `Utils` file - Add API to verify a signature + ## [2.1.2] - 2020-12-16 + ### Added + - Add `privacyMode` option to RecordUtterance PerCL command + ## [2.1.1] - 2020-12-16 + ### Added + - Additional message statuses for TFN functionality + ## [1.2.1] - 2020-10-14 + ### Added + - Add `Reject` PerCL command - Add `privacyMode` option ### Changed + - Rename `setPersyUrl` to `setUrl` ### Fixed + - Properly handle empty response bodies - Other Minor bug fixes + ## [1.2] - 2019-10-16 + ### Changed + - Persephony is now FreeClimb - Code cleanup - Documentation Updates - Test Update ### Fixed + - Update common response handler to not use bodu twice + ## [1.1.1] - 2019-06-27 + ### Changed -- Minor updates to docs and code cleanup +- Minor updates to docs and code cleanup + ## [1.1.0] - 2019-06-07 + ### Pull Requests -- Merge pull request [#22](https://gitlab.vailsys.com/vail-cloud-services/fc-boilerplates/javascript-sdk/issues/22) from PersephonyAPI/maintenance +- Merge pull request [#22](https://gitlab.vailsys.com/vail-cloud-services/fc-boilerplates/javascript-sdk/issues/22) from PersephonyAPI/maintenance + ## [1.0.0] - 2019-06-04 + ### Changed -- Change default api target +- Change default api target + ## [0.1.0] - 2019-05-30 + ### Added + - `PlayEarlyMedia` PerCL Command + ## [0.0.2] - 2018-11-29 + ### Remove + - Remove `callConnectUrl` and `statusCallbackUrl` from api.calls#create + ## [0.0.1] - 2018-11-13 + ### Added + - PerCL Support - FreeClimb API Support - README, LICENSE - docs ### Changed -- Initial Release +- Initial Release -[Unreleased]: https://github.com/FreeClimbAPI/csharp-sdk/compare/v1.0.1...HEAD +[unreleased]: https://github.com/FreeClimbAPI/csharp-sdk/compare/v1.0.1...HEAD From c0c8117c3eb8976861f1d1d2bca13986a8f0e261 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Fri, 6 Jan 2023 16:18:09 -0500 Subject: [PATCH 55/59] Update version of csharp SDK --- CHANGELOG.md | 4 ++-- README.md | 2 +- freeclimb.sln | 10 +++++----- src/freeclimb/Client/Configuration.cs | 6 +++--- src/freeclimb/freeclimb.csproj | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9257b971..b81dc464 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm None - + -## [4.2.1] 2023-01-06 +## [4.2.0] 2023-01-06 ### Changed diff --git a/README.md b/README.md index 5dd7d94b..454d2282 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- SDK version: 4.1.1 +- SDK version: 4.2.0 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/) diff --git a/freeclimb.sln b/freeclimb.sln index 56ad4e6a..d78cf690 100644 --- a/freeclimb.sln +++ b/freeclimb.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 VisualStudioVersion = 12.0.0.0 MinimumVisualStudioVersion = 10.0.0.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{0FD22819-B511-47F9-B6F5-8D9585CE52E2}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb.Test", "src\freeclimb.Test\freeclimb.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}.Debug|Any CPU.Build.0 = Debug|Any CPU - {691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}.Release|Any CPU.ActiveCfg = Release|Any CPU - {691D0ACB-5AC0-4C0A-848C-3D819C2FBE10}.Release|Any CPU.Build.0 = Release|Any CPU + {0FD22819-B511-47F9-B6F5-8D9585CE52E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0FD22819-B511-47F9-B6F5-8D9585CE52E2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0FD22819-B511-47F9-B6F5-8D9585CE52E2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0FD22819-B511-47F9-B6F5-8D9585CE52E2}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/src/freeclimb/Client/Configuration.cs b/src/freeclimb/Client/Configuration.cs index 79dac934..0929dcda 100644 --- a/src/freeclimb/Client/Configuration.cs +++ b/src/freeclimb/Client/Configuration.cs @@ -32,7 +32,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "4.1.1"; + public const string Version = "4.2.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -107,7 +107,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = "OpenAPI-Generator/4.1.1/csharp"; + UserAgent = "OpenAPI-Generator/4.2.0/csharp"; BasePath = "https://www.freeclimb.com/apiserver"; DefaultHeaders = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -452,7 +452,7 @@ public static string ToDebugReport() report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: 1.0.0\n"; - report += " SDK Package Version: 4.1.1\n"; + report += " SDK Package Version: 4.2.0\n"; return report; } diff --git a/src/freeclimb/freeclimb.csproj b/src/freeclimb/freeclimb.csproj index 81dd3f02..4cdafcd7 100644 --- a/src/freeclimb/freeclimb.csproj +++ b/src/freeclimb/freeclimb.csproj @@ -12,7 +12,7 @@ A library generated from a OpenAPI doc No Copyright freeclimb - 4.1.1 + 4.2.0 bin\$(Configuration)\$(TargetFramework)\freeclimb.xml https://github.com/freeclimbapi/csharp-sdk.git git From f72daf5b48935f982971219b737cff8c685544eb Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 9 Jan 2023 10:50:44 -0500 Subject: [PATCH 56/59] Remove appveyor CI from SDK --- .appveyor.yml | 12 ------------ appveyor.yml | 9 --------- 2 files changed, 21 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 4631844a..00000000 --- a/.appveyor.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: '{build}' -before_build: -- cmd: nuget restore -build: - parallel: true - verbosity: normal -deploy: - - provider: NuGet - api_key: - secure: 2lQHYbvMS+t33Lo/HlUDN9u709m6YxwUyDKef/nx/J3bdd0QRis+Iv/MFdIHCQU5 - on: - appveyor_repo_tag: true \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 3fe2d5bb..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,9 +0,0 @@ -# auto-generated by OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator) -# -image: Visual Studio 2022 -clone_depth: 1 -build_script: -- dotnet build -c Release -- dotnet test -c Release -after_build: -- dotnet pack .\src\freeclimb\freeclimb.csproj -o ../../output -c Release --no-build From 060563e44720739f0dcf463b51ff857a6059dbfa Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 9 Jan 2023 10:53:21 -0500 Subject: [PATCH 57/59] Test commit after appveyor files were removed --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b81dc464..fde70615 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ None -## [4.2.0] 2023-01-06 +## [4.2.0] 2023-01-07 ### Changed From 1d039aea636dbec41e104c7c60a5605ec92cd928 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 9 Jan 2023 11:36:40 -0500 Subject: [PATCH 58/59] Test commit to see if appveyor is disabled --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fde70615..b81dc464 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ None -## [4.2.0] 2023-01-07 +## [4.2.0] 2023-01-06 ### Changed From 83494bf055b38a8fdbdcef7400c43fbd30a93d2a Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 9 Jan 2023 11:51:44 -0500 Subject: [PATCH 59/59] Test commit to see if appveyor is disabled --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b81dc464..8e9932e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,7 +81,7 @@ None -## [3.0.1] 2021-8-3 +## [3.0.1] 2021-08-03 ### Added