diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 648997b4..1b861fcd 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -100,103 +100,7 @@ docs/VerifyCodeResponse.md
docs/VoiceApiError.md
docs/VoiceCodeResponse.md
git_push.sh
-src/Bandwidth.Standard.Test/Api/CallsApiTests.cs
-src/Bandwidth.Standard.Test/Api/ConferencesApiTests.cs
-src/Bandwidth.Standard.Test/Api/MFAApiTests.cs
-src/Bandwidth.Standard.Test/Api/MediaApiTests.cs
-src/Bandwidth.Standard.Test/Api/MessagesApiTests.cs
-src/Bandwidth.Standard.Test/Api/PhoneNumberLookupApiTests.cs
-src/Bandwidth.Standard.Test/Api/RecordingsApiTests.cs
-src/Bandwidth.Standard.Test/Api/StatisticsApiTests.cs
src/Bandwidth.Standard.Test/Bandwidth.Standard.Test.csproj
-src/Bandwidth.Standard.Test/Model/AccountStatisticsTests.cs
-src/Bandwidth.Standard.Test/Model/AnswerCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/BridgeCompleteCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/BridgeTargetCompleteCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/CallDirectionEnumTests.cs
-src/Bandwidth.Standard.Test/Model/CallRecordingMetadataTests.cs
-src/Bandwidth.Standard.Test/Model/CallStateEnumTests.cs
-src/Bandwidth.Standard.Test/Model/CallStateTests.cs
-src/Bandwidth.Standard.Test/Model/CallbackMethodEnumTests.cs
-src/Bandwidth.Standard.Test/Model/CodeRequestTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceCompletedCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceCreatedCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceMemberExitCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceMemberJoinCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceMemberTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceRecordingAvailableCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceRecordingMetadataTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceRedirectCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceStateEnumTests.cs
-src/Bandwidth.Standard.Test/Model/ConferenceTests.cs
-src/Bandwidth.Standard.Test/Model/CreateCallResponseTests.cs
-src/Bandwidth.Standard.Test/Model/CreateCallTests.cs
-src/Bandwidth.Standard.Test/Model/CreateLookupResponseTests.cs
-src/Bandwidth.Standard.Test/Model/CreateMessageRequestErrorTests.cs
-src/Bandwidth.Standard.Test/Model/DeferredResultTests.cs
-src/Bandwidth.Standard.Test/Model/DisconnectCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/DiversionTests.cs
-src/Bandwidth.Standard.Test/Model/DtmfCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/FieldErrorTests.cs
-src/Bandwidth.Standard.Test/Model/FileFormatEnumTests.cs
-src/Bandwidth.Standard.Test/Model/GatherCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/InboundMessageCallbackMessageTests.cs
-src/Bandwidth.Standard.Test/Model/InboundMessageCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/InitiateCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/ListMessageDirectionEnumTests.cs
-src/Bandwidth.Standard.Test/Model/ListMessageItemTests.cs
-src/Bandwidth.Standard.Test/Model/LookupRequestTests.cs
-src/Bandwidth.Standard.Test/Model/LookupResultTests.cs
-src/Bandwidth.Standard.Test/Model/LookupStatusEnumTests.cs
-src/Bandwidth.Standard.Test/Model/LookupStatusTests.cs
-src/Bandwidth.Standard.Test/Model/MachineDetectionCompleteCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/MachineDetectionConfigurationTests.cs
-src/Bandwidth.Standard.Test/Model/MachineDetectionModeEnumTests.cs
-src/Bandwidth.Standard.Test/Model/MachineDetectionResultTests.cs
-src/Bandwidth.Standard.Test/Model/MediaTests.cs
-src/Bandwidth.Standard.Test/Model/MessageDeliveredCallbackMessageTests.cs
-src/Bandwidth.Standard.Test/Model/MessageDeliveredCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/MessageDirectionEnumTests.cs
-src/Bandwidth.Standard.Test/Model/MessageFailedCallbackMessageTests.cs
-src/Bandwidth.Standard.Test/Model/MessageFailedCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/MessageRequestTests.cs
-src/Bandwidth.Standard.Test/Model/MessageSendingCallbackMessageTests.cs
-src/Bandwidth.Standard.Test/Model/MessageSendingCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/MessageStatusEnumTests.cs
-src/Bandwidth.Standard.Test/Model/MessageTests.cs
-src/Bandwidth.Standard.Test/Model/MessageTypeEnumTests.cs
-src/Bandwidth.Standard.Test/Model/MessagesListTests.cs
-src/Bandwidth.Standard.Test/Model/MessagingCodeResponseTests.cs
-src/Bandwidth.Standard.Test/Model/MessagingRequestErrorTests.cs
-src/Bandwidth.Standard.Test/Model/MfaForbiddenRequestErrorTests.cs
-src/Bandwidth.Standard.Test/Model/MfaRequestErrorTests.cs
-src/Bandwidth.Standard.Test/Model/MfaUnauthorizedRequestErrorTests.cs
-src/Bandwidth.Standard.Test/Model/PageInfoTests.cs
-src/Bandwidth.Standard.Test/Model/PriorityEnumTests.cs
-src/Bandwidth.Standard.Test/Model/RecordingAvailableCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/RecordingCompleteCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/RecordingStateEnumTests.cs
-src/Bandwidth.Standard.Test/Model/RedirectCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/RedirectMethodEnumTests.cs
-src/Bandwidth.Standard.Test/Model/StirShakenTests.cs
-src/Bandwidth.Standard.Test/Model/TagTests.cs
-src/Bandwidth.Standard.Test/Model/TnLookupRequestErrorTests.cs
-src/Bandwidth.Standard.Test/Model/TranscribeRecordingTests.cs
-src/Bandwidth.Standard.Test/Model/TranscriptionAvailableCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/TranscriptionListTests.cs
-src/Bandwidth.Standard.Test/Model/TranscriptionMetadataTests.cs
-src/Bandwidth.Standard.Test/Model/TranscriptionTests.cs
-src/Bandwidth.Standard.Test/Model/TransferAnswerCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/TransferCompleteCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/TransferDisconnectCallbackTests.cs
-src/Bandwidth.Standard.Test/Model/UpdateCallRecordingTests.cs
-src/Bandwidth.Standard.Test/Model/UpdateCallTests.cs
-src/Bandwidth.Standard.Test/Model/UpdateConferenceMemberTests.cs
-src/Bandwidth.Standard.Test/Model/UpdateConferenceTests.cs
-src/Bandwidth.Standard.Test/Model/VerifyCodeRequestTests.cs
-src/Bandwidth.Standard.Test/Model/VerifyCodeResponseTests.cs
-src/Bandwidth.Standard.Test/Model/VoiceApiErrorTests.cs
-src/Bandwidth.Standard.Test/Model/VoiceCodeResponseTests.cs
src/Bandwidth.Standard/Api/CallsApi.cs
src/Bandwidth.Standard/Api/ConferencesApi.cs
src/Bandwidth.Standard/Api/MFAApi.cs
diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION
index cd802a1e..41225218 100644
--- a/.openapi-generator/VERSION
+++ b/.openapi-generator/VERSION
@@ -1 +1 @@
-6.6.0
\ No newline at end of file
+7.0.0
\ No newline at end of file
diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln
index 3ae4b27b..a1763ca9 100644
--- a/Bandwidth.Standard.sln
+++ b/Bandwidth.Standard.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{B3E291ED-7CD1-4F7D-9156-7E42E525E703}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{F7942D98-0A34-4E13-ABA2-1FCA0B172E70}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {B3E291ED-7CD1-4F7D-9156-7E42E525E703}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B3E291ED-7CD1-4F7D-9156-7E42E525E703}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B3E291ED-7CD1-4F7D-9156-7E42E525E703}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B3E291ED-7CD1-4F7D-9156-7E42E525E703}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F7942D98-0A34-4E13-ABA2-1FCA0B172E70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F7942D98-0A34-4E13-ABA2-1FCA0B172E70}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F7942D98-0A34-4E13-ABA2-1FCA0B172E70}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F7942D98-0A34-4E13-ABA2-1FCA0B172E70}.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/README.md b/README.md
index 4ebe00f2..6bdadbb2 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap
- API version: 1.0.0
- SDK version: 1.0.0
-- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
+- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
For more information, please visit [https://dev.bandwidth.com](https://dev.bandwidth.com)
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 13f17548..bd19a618 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -669,7 +669,6 @@ paths:
examples:
createCall Response:
$ref: '#/components/examples/createCallResponseExample'
- value: null
schema:
$ref: '#/components/schemas/createCallResponse'
description: Call Successfully Created
@@ -686,7 +685,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -696,7 +694,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -706,7 +703,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -716,7 +712,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -726,7 +721,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -736,7 +730,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -746,7 +739,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -763,7 +755,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -812,7 +803,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -822,7 +812,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -832,7 +821,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -842,7 +830,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -852,7 +839,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -862,7 +848,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -872,7 +857,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -889,7 +873,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -930,7 +913,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -940,7 +922,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -950,7 +931,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -960,7 +940,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -970,7 +949,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -980,7 +958,6 @@ paths:
examples:
conflictErrorExample:
$ref: '#/components/examples/voiceConflictErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Conflict
@@ -990,7 +967,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -1000,7 +976,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -1017,7 +992,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -1061,7 +1035,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -1071,7 +1044,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -1081,7 +1053,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -1091,7 +1062,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -1101,7 +1071,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -1111,7 +1080,6 @@ paths:
examples:
conflictErrorExample:
$ref: '#/components/examples/voiceConflictErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Conflict
@@ -1121,7 +1089,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -1131,7 +1098,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -1148,7 +1114,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -1234,7 +1199,6 @@ paths:
examples:
listConferences Response:
$ref: '#/components/examples/listConferencesResponseExample'
- value: null
schema:
items:
$ref: '#/components/schemas/conference'
@@ -1246,7 +1210,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -1256,7 +1219,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -1266,7 +1228,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -1276,7 +1237,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -1286,7 +1246,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -1296,7 +1255,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -1306,7 +1264,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -1323,7 +1280,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -1369,7 +1325,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -1379,7 +1334,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -1389,7 +1343,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -1399,7 +1352,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -1409,7 +1361,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -1419,7 +1370,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -1429,7 +1379,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -1446,7 +1395,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -1486,7 +1434,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -1496,7 +1443,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -1506,7 +1452,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -1516,7 +1461,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -1526,7 +1470,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -1536,7 +1479,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -1546,7 +1488,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -1563,7 +1504,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -1607,7 +1547,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -1617,7 +1556,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -1627,7 +1565,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -1637,7 +1574,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -1647,7 +1583,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -1657,7 +1592,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -1667,7 +1601,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -1684,7 +1617,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -1739,7 +1671,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -1749,7 +1680,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -1759,7 +1689,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -1769,7 +1698,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -1779,7 +1707,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -1789,7 +1716,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -1799,7 +1725,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -1816,7 +1741,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -1865,7 +1789,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -1875,7 +1798,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -1885,7 +1807,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -1895,7 +1816,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -1905,7 +1825,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -1915,7 +1834,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -1925,7 +1843,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -1942,7 +1859,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -1991,7 +1907,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -2001,7 +1916,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -2011,7 +1925,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -2021,7 +1934,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -2031,7 +1943,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -2041,7 +1952,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -2051,7 +1961,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -2068,7 +1977,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -2123,7 +2031,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -2133,7 +2040,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -2143,7 +2049,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -2153,7 +2058,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -2163,7 +2067,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -2173,7 +2076,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -2183,7 +2085,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -2200,7 +2101,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -2260,7 +2160,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -2270,7 +2169,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -2280,7 +2178,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -2290,7 +2187,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -2300,7 +2196,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -2310,7 +2205,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -2320,7 +2214,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -2337,7 +2230,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -2418,7 +2310,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -2428,7 +2319,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -2438,7 +2328,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -2448,7 +2337,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -2458,7 +2346,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -2468,7 +2355,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -2478,7 +2364,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -2495,7 +2380,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -2539,7 +2423,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -2549,7 +2432,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -2559,7 +2441,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -2569,7 +2450,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -2579,7 +2459,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -2589,7 +2468,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -2599,7 +2477,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -2616,7 +2493,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -2666,7 +2542,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -2676,7 +2551,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -2686,7 +2560,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -2696,7 +2569,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -2706,7 +2578,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -2716,7 +2587,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -2726,7 +2596,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -2743,7 +2612,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -2797,7 +2665,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -2807,7 +2674,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -2817,7 +2683,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -2827,7 +2692,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -2837,7 +2701,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -2847,7 +2710,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -2857,7 +2719,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -2874,7 +2735,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -2925,7 +2785,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -2935,7 +2794,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -2945,7 +2803,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -2955,7 +2812,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -2965,7 +2821,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -2975,7 +2830,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -2985,7 +2839,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -3002,7 +2855,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -3053,7 +2905,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -3063,7 +2914,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -3073,7 +2923,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -3083,7 +2932,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -3093,7 +2941,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -3103,7 +2950,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -3113,7 +2959,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -3130,7 +2975,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -3186,7 +3030,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -3196,7 +3039,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -3206,7 +3048,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -3216,7 +3057,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -3226,7 +3066,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -3236,7 +3075,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -3246,7 +3084,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -3263,7 +3100,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -3317,7 +3153,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -3327,7 +3162,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -3337,7 +3171,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -3347,7 +3180,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -3357,7 +3189,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -3367,7 +3198,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -3377,7 +3207,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -3394,7 +3223,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -3450,7 +3278,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -3460,7 +3287,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -3470,7 +3296,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -3480,7 +3305,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -3490,7 +3314,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -3500,7 +3323,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -3510,7 +3332,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -3527,7 +3348,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -3579,7 +3399,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -3589,7 +3408,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -3599,7 +3417,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -3609,7 +3426,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -3619,7 +3435,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -3629,7 +3444,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -3639,7 +3453,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -3656,7 +3469,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -3693,7 +3505,6 @@ paths:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -3703,7 +3514,6 @@ paths:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -3713,7 +3523,6 @@ paths:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -3723,7 +3532,6 @@ paths:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -3733,7 +3541,6 @@ paths:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -3743,7 +3550,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -3753,7 +3559,6 @@ paths:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -3770,7 +3575,6 @@ paths:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -3968,7 +3772,6 @@ paths:
examples:
lookupResponseExample:
$ref: '#/components/examples/lookupInProgressExample'
- value: null
schema:
$ref: '#/components/schemas/createLookupResponse'
description: Accepted
@@ -4078,22 +3881,16 @@ paths:
examples:
lookupInProgressExample:
$ref: '#/components/examples/lookupInProgressExample'
- value: null
lookupFailedExample:
$ref: '#/components/examples/lookupFailedExample'
- value: null
lookupSingleNumberCompleteExample:
$ref: '#/components/examples/lookupSingleNumberCompleteExample'
- value: null
lookupMultipleNumbersCompleteExample:
$ref: '#/components/examples/lookupMultipleNumbersCompleteExample'
- value: null
lookupMultipleNumbersPartialCompleteExample:
$ref: '#/components/examples/lookupMultipleNumbersPartialCompleteExample'
- value: null
lookupSingleNumberCompleteNoInfoExample:
$ref: '#/components/examples/lookupSingleNumberCompleteNoInfoExample'
- value: null
schema:
$ref: '#/components/schemas/lookupStatus'
description: OK
@@ -5000,10 +4797,8 @@ components:
examples:
singleNumberRequestExample:
$ref: '#/components/examples/singleNumberRequestExample'
- value: null
multipleNumberRequestExample:
$ref: '#/components/examples/multipleNumberRequestExample'
- value: null
schema:
$ref: '#/components/schemas/lookupRequest'
description: Phone number lookup request.
@@ -5098,7 +4893,6 @@ components:
examples:
createCall Response:
$ref: '#/components/examples/createCallResponseExample'
- value: null
schema:
$ref: '#/components/schemas/createCallResponse'
description: Call Successfully Created
@@ -5158,7 +4952,6 @@ components:
examples:
listConferences Response:
$ref: '#/components/examples/listConferencesResponseExample'
- value: null
schema:
items:
$ref: '#/components/schemas/conference'
@@ -5196,7 +4989,6 @@ components:
examples:
badRequestErrorExample:
$ref: '#/components/examples/voiceBadRequestErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Bad Request
@@ -5206,7 +4998,6 @@ components:
examples:
unauthorizedErrorExample:
$ref: '#/components/examples/voiceUnauthorizedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unauthorized
@@ -5216,7 +5007,6 @@ components:
examples:
forbiddenErrorExample:
$ref: '#/components/examples/voiceForbiddenErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Forbidden
@@ -5226,7 +5016,6 @@ components:
examples:
notFoundErrorExample:
$ref: '#/components/examples/voiceNotFoundErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Not Found
@@ -5236,7 +5025,6 @@ components:
examples:
notAllowedErrorExample:
$ref: '#/components/examples/voiceNotAllowedErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Method Not Allowed
@@ -5246,7 +5034,6 @@ components:
examples:
conflictErrorExample:
$ref: '#/components/examples/voiceConflictErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Conflict
@@ -5256,7 +5043,6 @@ components:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Unsupported Media Type
@@ -5266,7 +5052,6 @@ components:
examples:
tooManyRequestsErrorExample:
$ref: '#/components/examples/voiceTooManyRequestsErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Too Many Requests
@@ -5283,7 +5068,6 @@ components:
examples:
internalServerErrorExample:
$ref: '#/components/examples/voiceInternalServerErrorExample'
- value: null
schema:
$ref: '#/components/schemas/voiceApiError'
description: Internal Server Error
@@ -5341,7 +5125,6 @@ components:
examples:
lookupResponseExample:
$ref: '#/components/examples/lookupInProgressExample'
- value: null
schema:
$ref: '#/components/schemas/createLookupResponse'
description: Accepted
@@ -5351,22 +5134,16 @@ components:
examples:
lookupInProgressExample:
$ref: '#/components/examples/lookupInProgressExample'
- value: null
lookupFailedExample:
$ref: '#/components/examples/lookupFailedExample'
- value: null
lookupSingleNumberCompleteExample:
$ref: '#/components/examples/lookupSingleNumberCompleteExample'
- value: null
lookupMultipleNumbersCompleteExample:
$ref: '#/components/examples/lookupMultipleNumbersCompleteExample'
- value: null
lookupMultipleNumbersPartialCompleteExample:
$ref: '#/components/examples/lookupMultipleNumbersPartialCompleteExample'
- value: null
lookupSingleNumberCompleteNoInfoExample:
$ref: '#/components/examples/lookupSingleNumberCompleteNoInfoExample'
- value: null
schema:
$ref: '#/components/schemas/lookupStatus'
description: OK
diff --git a/docs/MessagesApi.md b/docs/MessagesApi.md
index 5a102b7b..81881a00 100644
--- a/docs/MessagesApi.md
+++ b/docs/MessagesApi.md
@@ -113,7 +113,7 @@ catch (ApiException e)
# **ListMessages**
-> MessagesList ListMessages (string accountId, string messageId = null, string sourceTn = null, string destinationTn = null, MessageStatusEnum? messageStatus = null, ListMessageDirectionEnum? messageDirection = null, string carrierName = null, MessageTypeEnum? messageType = null, int? errorCode = null, string fromDateTime = null, string toDateTime = null, string campaignId = null, string sort = null, string pageToken = null, int? limit = null)
+> MessagesList ListMessages (string accountId, string messageId = null, string sourceTn = null, string destinationTn = null, MessageStatusEnum messageStatus = null, ListMessageDirectionEnum messageDirection = null, string carrierName = null, MessageTypeEnum messageType = null, int? errorCode = null, string fromDateTime = null, string toDateTime = null, string campaignId = null, string sort = null, string pageToken = null, int? limit = null)
List Messages
@@ -144,10 +144,10 @@ namespace Example
var messageId = 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6; // string | The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. (optional)
var sourceTn = %2B15554443333; // string | The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). (optional)
var destinationTn = %2B15554443333; // string | The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). (optional)
- var messageStatus = (MessageStatusEnum) "RECEIVED"; // MessageStatusEnum? | The status of the message. One of RECEIVED QUEUED SENDING SENT FAILED DELIVERED ACCEPTED UNDELIVERED. (optional)
- var messageDirection = (ListMessageDirectionEnum) "INBOUND"; // ListMessageDirectionEnum? | The direction of the message. One of INBOUND OUTBOUND. (optional)
+ var messageStatus = new MessageStatusEnum(); // MessageStatusEnum | The status of the message. One of RECEIVED QUEUED SENDING SENT FAILED DELIVERED ACCEPTED UNDELIVERED. (optional)
+ var messageDirection = new ListMessageDirectionEnum(); // ListMessageDirectionEnum | The direction of the message. One of INBOUND OUTBOUND. (optional)
var carrierName = Verizon; // string | The name of the carrier used for this message. Possible values include but are not limited to Verizon and TMobile. Special characters need to be encoded using URL encoding (i.e. AT&T should be passed as AT%26T). (optional)
- var messageType = (MessageTypeEnum) "sms"; // MessageTypeEnum? | The type of message. Either sms or mms. (optional)
+ var messageType = new MessageTypeEnum(); // MessageTypeEnum | The type of message. Either sms or mms. (optional)
var errorCode = 9902; // int? | The error code of the message. (optional)
var fromDateTime = 2022-09-14T18:20:16.000Z; // string | The start of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days. (optional)
var toDateTime = 2022-09-14T18:20:16.000Z; // string | The end of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days. (optional)
@@ -201,10 +201,10 @@ catch (ApiException e)
| **messageId** | **string** | The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. | [optional] |
| **sourceTn** | **string** | The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). | [optional] |
| **destinationTn** | **string** | The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). | [optional] |
-| **messageStatus** | **MessageStatusEnum?** | The status of the message. One of RECEIVED QUEUED SENDING SENT FAILED DELIVERED ACCEPTED UNDELIVERED. | [optional] |
-| **messageDirection** | **ListMessageDirectionEnum?** | The direction of the message. One of INBOUND OUTBOUND. | [optional] |
+| **messageStatus** | [**MessageStatusEnum**](MessageStatusEnum.md) | The status of the message. One of RECEIVED QUEUED SENDING SENT FAILED DELIVERED ACCEPTED UNDELIVERED. | [optional] |
+| **messageDirection** | [**ListMessageDirectionEnum**](ListMessageDirectionEnum.md) | The direction of the message. One of INBOUND OUTBOUND. | [optional] |
| **carrierName** | **string** | The name of the carrier used for this message. Possible values include but are not limited to Verizon and TMobile. Special characters need to be encoded using URL encoding (i.e. AT&T should be passed as AT%26T). | [optional] |
-| **messageType** | **MessageTypeEnum?** | The type of message. Either sms or mms. | [optional] |
+| **messageType** | [**MessageTypeEnum**](MessageTypeEnum.md) | The type of message. Either sms or mms. | [optional] |
| **errorCode** | **int?** | The error code of the message. | [optional] |
| **fromDateTime** | **string** | The start of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days. | [optional] |
| **toDateTime** | **string** | The end of the date range to search in ISO 8601 format. Uses the message receive time. The date range to search in is currently 14 days. | [optional] |
diff --git a/openapitools.json b/openapitools.json
index cd53ff4c..3015568c 100644
--- a/openapitools.json
+++ b/openapitools.json
@@ -2,6 +2,6 @@
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
- "version": "6.6.0"
+ "version": "7.0.0"
}
}
diff --git a/src/Bandwidth.Standard/Api/MessagesApi.cs b/src/Bandwidth.Standard/Api/MessagesApi.cs
index 7b0dedc1..bd1cd9d7 100644
--- a/src/Bandwidth.Standard/Api/MessagesApi.cs
+++ b/src/Bandwidth.Standard/Api/MessagesApi.cs
@@ -76,7 +76,7 @@ public interface IMessagesApiSync : IApiAccessor
/// The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000. (optional)
/// Index associated with the operation.
/// MessagesList
- MessagesList ListMessages(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), string carrierName = default(string), MessageTypeEnum? messageType = default(MessageTypeEnum?), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0);
+ MessagesList ListMessages(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum messageStatus = default(MessageStatusEnum), ListMessageDirectionEnum messageDirection = default(ListMessageDirectionEnum), string carrierName = default(string), MessageTypeEnum messageType = default(MessageTypeEnum), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0);
///
/// List Messages
@@ -102,7 +102,7 @@ public interface IMessagesApiSync : IApiAccessor
/// The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000. (optional)
/// Index associated with the operation.
/// ApiResponse of MessagesList
- ApiResponse ListMessagesWithHttpInfo(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), string carrierName = default(string), MessageTypeEnum? messageType = default(MessageTypeEnum?), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0);
+ ApiResponse ListMessagesWithHttpInfo(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum messageStatus = default(MessageStatusEnum), ListMessageDirectionEnum messageDirection = default(ListMessageDirectionEnum), string carrierName = default(string), MessageTypeEnum messageType = default(MessageTypeEnum), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0);
#endregion Synchronous Operations
}
@@ -164,7 +164,7 @@ public interface IMessagesApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of MessagesList
- System.Threading.Tasks.Task ListMessagesAsync(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), string carrierName = default(string), MessageTypeEnum? messageType = default(MessageTypeEnum?), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task ListMessagesAsync(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum messageStatus = default(MessageStatusEnum), ListMessageDirectionEnum messageDirection = default(ListMessageDirectionEnum), string carrierName = default(string), MessageTypeEnum messageType = default(MessageTypeEnum), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
///
/// List Messages
@@ -191,7 +191,7 @@ public interface IMessagesApiAsync : IApiAccessor
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (MessagesList)
- System.Threading.Tasks.Task> ListMessagesWithHttpInfoAsync(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), string carrierName = default(string), MessageTypeEnum? messageType = default(MessageTypeEnum?), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task> ListMessagesWithHttpInfoAsync(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum messageStatus = default(MessageStatusEnum), ListMessageDirectionEnum messageDirection = default(ListMessageDirectionEnum), string carrierName = default(string), MessageTypeEnum messageType = default(MessageTypeEnum), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
#endregion Asynchronous Operations
}
@@ -509,7 +509,7 @@ public Bandwidth.Standard.Client.ApiResponse CreateMessageWithHttpInfo(
/// The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000. (optional)
/// Index associated with the operation.
/// MessagesList
- public MessagesList ListMessages(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), string carrierName = default(string), MessageTypeEnum? messageType = default(MessageTypeEnum?), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0)
+ public MessagesList ListMessages(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum messageStatus = default(MessageStatusEnum), ListMessageDirectionEnum messageDirection = default(ListMessageDirectionEnum), string carrierName = default(string), MessageTypeEnum messageType = default(MessageTypeEnum), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0)
{
Bandwidth.Standard.Client.ApiResponse localVarResponse = ListMessagesWithHttpInfo(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit);
return localVarResponse.Data;
@@ -536,7 +536,7 @@ public Bandwidth.Standard.Client.ApiResponse CreateMessageWithHttpInfo(
/// The maximum records requested in search result. Default 100. The sum of limit and after cannot be more than 10000. (optional)
/// Index associated with the operation.
/// ApiResponse of MessagesList
- public Bandwidth.Standard.Client.ApiResponse ListMessagesWithHttpInfo(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), string carrierName = default(string), MessageTypeEnum? messageType = default(MessageTypeEnum?), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0)
+ public Bandwidth.Standard.Client.ApiResponse ListMessagesWithHttpInfo(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum messageStatus = default(MessageStatusEnum), ListMessageDirectionEnum messageDirection = default(ListMessageDirectionEnum), string carrierName = default(string), MessageTypeEnum messageType = default(MessageTypeEnum), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0)
{
// verify the required parameter 'accountId' is set
if (accountId == null)
@@ -670,7 +670,7 @@ public Bandwidth.Standard.Client.ApiResponse CreateMessageWithHttpInfo(
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of MessagesList
- public async System.Threading.Tasks.Task ListMessagesAsync(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), string carrierName = default(string), MessageTypeEnum? messageType = default(MessageTypeEnum?), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task ListMessagesAsync(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum messageStatus = default(MessageStatusEnum), ListMessageDirectionEnum messageDirection = default(ListMessageDirectionEnum), string carrierName = default(string), MessageTypeEnum messageType = default(MessageTypeEnum), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
Bandwidth.Standard.Client.ApiResponse localVarResponse = await ListMessagesWithHttpInfoAsync(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, operationIndex, cancellationToken).ConfigureAwait(false);
return localVarResponse.Data;
@@ -698,7 +698,7 @@ public Bandwidth.Standard.Client.ApiResponse CreateMessageWithHttpInfo(
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
/// Task of ApiResponse (MessagesList)
- public async System.Threading.Tasks.Task> ListMessagesWithHttpInfoAsync(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), string carrierName = default(string), MessageTypeEnum? messageType = default(MessageTypeEnum?), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public async System.Threading.Tasks.Task> ListMessagesWithHttpInfoAsync(string accountId, string messageId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum messageStatus = default(MessageStatusEnum), ListMessageDirectionEnum messageDirection = default(ListMessageDirectionEnum), string carrierName = default(string), MessageTypeEnum messageType = default(MessageTypeEnum), int? errorCode = default(int?), string fromDateTime = default(string), string toDateTime = default(string), string campaignId = default(string), string sort = default(string), string pageToken = default(string), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
// verify the required parameter 'accountId' is set
if (accountId == null)
diff --git a/src/Bandwidth.Standard/Bandwidth.Standard.csproj b/src/Bandwidth.Standard/Bandwidth.Standard.csproj
index 72be1eac..d73e31ac 100644
--- a/src/Bandwidth.Standard/Bandwidth.Standard.csproj
+++ b/src/Bandwidth.Standard/Bandwidth.Standard.csproj
@@ -17,12 +17,13 @@
https://github.com/GIT_USER_ID/GIT_REPO_ID.git
git
Minor update
+ Bandwidth
-
+
diff --git a/src/Bandwidth.Standard/Client/ApiClient.cs b/src/Bandwidth.Standard/Client/ApiClient.cs
index 4ebd122b..4f26f2a5 100644
--- a/src/Bandwidth.Standard/Client/ApiClient.cs
+++ b/src/Bandwidth.Standard/Client/ApiClient.cs
@@ -38,7 +38,6 @@ namespace Bandwidth.Standard.Client
internal class CustomJsonCodec : IRestSerializer, ISerializer, IDeserializer
{
private readonly IReadableConfiguration _configuration;
- private static readonly string _contentType = "application/json";
private readonly JsonSerializerSettings _serializerSettings = new JsonSerializerSettings
{
// OpenAPI generated types generally hide default constructors.
@@ -151,17 +150,13 @@ internal object Deserialize(RestResponse response, Type type)
public ISerializer Serializer => this;
public IDeserializer Deserializer => this;
- public string[] AcceptedContentTypes => RestSharp.Serializers.ContentType.JsonAccept;
+ public string[] AcceptedContentTypes => RestSharp.ContentType.JsonAccept;
public SupportsContentType SupportsContentType => contentType =>
- contentType.EndsWith("json", StringComparison.InvariantCultureIgnoreCase) ||
- contentType.EndsWith("javascript", StringComparison.InvariantCultureIgnoreCase);
+ contentType.Value.EndsWith("json", StringComparison.InvariantCultureIgnoreCase) ||
+ contentType.Value.EndsWith("javascript", StringComparison.InvariantCultureIgnoreCase);
- public string ContentType
- {
- get { return _contentType; }
- set { throw new InvalidOperationException("Not allowed to set content type."); }
- }
+ public ContentType ContentType { get; set; } = RestSharp.ContentType.Json;
public DataFormat DataFormat => DataFormat.Json;
}
@@ -434,7 +429,7 @@ private ApiResponse ToApiResponse(RestResponse response)
return transformed;
}
- private ApiResponse Exec(RestRequest req, RequestOptions options, IReadableConfiguration configuration)
+ private ApiResponse Exec(RestRequest request, RequestOptions options, IReadableConfiguration configuration)
{
var baseUrl = configuration.GetOperationServerUrl(options.Operation, options.OperationIndex) ?? _baseUrl;
@@ -454,93 +449,95 @@ private ApiResponse Exec(RestRequest req, RequestOptions options, IReadabl
CookieContainer = cookies,
MaxTimeout = configuration.Timeout,
Proxy = configuration.Proxy,
- UserAgent = configuration.UserAgent
+ UserAgent = configuration.UserAgent,
+ UseDefaultCredentials = configuration.UseDefaultCredentials,
+ RemoteCertificateValidationCallback = configuration.RemoteCertificateValidationCallback
};
- RestClient client = new RestClient(clientOptions)
- .UseSerializer(() => new CustomJsonCodec(SerializerSettings, configuration));
-
- InterceptRequest(req);
-
- RestResponse response;
- if (RetryConfiguration.RetryPolicy != null)
+ using (RestClient client = new RestClient(clientOptions,
+ configureSerialization: serializerConfig => serializerConfig.UseSerializer(() => new CustomJsonCodec(SerializerSettings, configuration))))
{
- var policy = RetryConfiguration.RetryPolicy;
- var policyResult = policy.ExecuteAndCapture(() => client.Execute(req));
- response = (policyResult.Outcome == OutcomeType.Successful) ? client.Deserialize(policyResult.Result) : new RestResponse
+ InterceptRequest(request);
+
+ RestResponse response;
+ if (RetryConfiguration.RetryPolicy != null)
{
- Request = req,
- ErrorException = policyResult.FinalException
- };
- }
- else
- {
- response = client.Execute(req);
- }
+ var policy = RetryConfiguration.RetryPolicy;
+ var policyResult = policy.ExecuteAndCapture(() => client.Execute(request));
+ response = (policyResult.Outcome == OutcomeType.Successful) ? client.Deserialize(policyResult.Result) : new RestResponse(request)
+ {
+ ErrorException = policyResult.FinalException
+ };
+ }
+ else
+ {
+ response = client.Execute(request);
+ }
- // if the response type is oneOf/anyOf, call FromJSON to deserialize the data
- if (typeof(Bandwidth.Standard.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T)))
- {
- try
+ // if the response type is oneOf/anyOf, call FromJSON to deserialize the data
+ if (typeof(Bandwidth.Standard.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T)))
{
- response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content });
+ try
+ {
+ response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content });
+ }
+ catch (Exception ex)
+ {
+ throw ex.InnerException != null ? ex.InnerException : ex;
+ }
}
- catch (Exception ex)
+ else if (typeof(T).Name == "Stream") // for binary response
{
- throw ex.InnerException != null ? ex.InnerException : ex;
+ response.Data = (T)(object)new MemoryStream(response.RawBytes);
+ }
+ else if (typeof(T).Name == "Byte[]") // for byte response
+ {
+ response.Data = (T)(object)response.RawBytes;
+ }
+ else if (typeof(T).Name == "String") // for string response
+ {
+ response.Data = (T)(object)response.Content;
}
- }
- else if (typeof(T).Name == "Stream") // for binary response
- {
- response.Data = (T)(object)new MemoryStream(response.RawBytes);
- }
- else if (typeof(T).Name == "Byte[]") // for byte response
- {
- response.Data = (T)(object)response.RawBytes;
- }
- else if (typeof(T).Name == "String") // for string response
- {
- response.Data = (T)(object)response.Content;
- }
- InterceptResponse(req, response);
+ InterceptResponse(request, response);
- var result = ToApiResponse(response);
- if (response.ErrorMessage != null)
- {
- result.ErrorText = response.ErrorMessage;
- }
+ var result = ToApiResponse(response);
+ if (response.ErrorMessage != null)
+ {
+ result.ErrorText = response.ErrorMessage;
+ }
- if (response.Cookies != null && response.Cookies.Count > 0)
- {
- if (result.Cookies == null) result.Cookies = new List();
- foreach (var restResponseCookie in response.Cookies.Cast())
+ if (response.Cookies != null && response.Cookies.Count > 0)
{
- var cookie = new Cookie(
- restResponseCookie.Name,
- restResponseCookie.Value,
- restResponseCookie.Path,
- restResponseCookie.Domain
- )
+ if (result.Cookies == null) result.Cookies = new List();
+ foreach (var restResponseCookie in response.Cookies.Cast())
{
- Comment = restResponseCookie.Comment,
- CommentUri = restResponseCookie.CommentUri,
- Discard = restResponseCookie.Discard,
- Expired = restResponseCookie.Expired,
- Expires = restResponseCookie.Expires,
- HttpOnly = restResponseCookie.HttpOnly,
- Port = restResponseCookie.Port,
- Secure = restResponseCookie.Secure,
- Version = restResponseCookie.Version
- };
-
- result.Cookies.Add(cookie);
+ var cookie = new Cookie(
+ restResponseCookie.Name,
+ restResponseCookie.Value,
+ restResponseCookie.Path,
+ restResponseCookie.Domain
+ )
+ {
+ Comment = restResponseCookie.Comment,
+ CommentUri = restResponseCookie.CommentUri,
+ Discard = restResponseCookie.Discard,
+ Expired = restResponseCookie.Expired,
+ Expires = restResponseCookie.Expires,
+ HttpOnly = restResponseCookie.HttpOnly,
+ Port = restResponseCookie.Port,
+ Secure = restResponseCookie.Secure,
+ Version = restResponseCookie.Version
+ };
+
+ result.Cookies.Add(cookie);
+ }
}
+ return result;
}
- return result;
}
- private async Task> ExecAsync(RestRequest req, RequestOptions options, IReadableConfiguration configuration, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ private async Task> ExecAsync(RestRequest request, RequestOptions options, IReadableConfiguration configuration, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
var baseUrl = configuration.GetOperationServerUrl(options.Operation, options.OperationIndex) ?? _baseUrl;
@@ -549,79 +546,80 @@ private ApiResponse Exec(RestRequest req, RequestOptions options, IReadabl
ClientCertificates = configuration.ClientCertificates,
MaxTimeout = configuration.Timeout,
Proxy = configuration.Proxy,
- UserAgent = configuration.UserAgent
+ UserAgent = configuration.UserAgent,
+ UseDefaultCredentials = configuration.UseDefaultCredentials
};
- RestClient client = new RestClient(clientOptions)
- .UseSerializer(() => new CustomJsonCodec(SerializerSettings, configuration));
-
- InterceptRequest(req);
-
- RestResponse response;
- if (RetryConfiguration.AsyncRetryPolicy != null)
+ using (RestClient client = new RestClient(clientOptions,
+ configureSerialization: serializerConfig => serializerConfig.UseSerializer(() => new CustomJsonCodec(SerializerSettings, configuration))))
{
- var policy = RetryConfiguration.AsyncRetryPolicy;
- var policyResult = await policy.ExecuteAndCaptureAsync((ct) => client.ExecuteAsync(req, ct), cancellationToken).ConfigureAwait(false);
- response = (policyResult.Outcome == OutcomeType.Successful) ? client.Deserialize(policyResult.Result) : new RestResponse
+ InterceptRequest(request);
+
+ RestResponse response;
+ if (RetryConfiguration.AsyncRetryPolicy != null)
{
- Request = req,
- ErrorException = policyResult.FinalException
- };
- }
- else
- {
- response = await client.ExecuteAsync(req, cancellationToken).ConfigureAwait(false);
- }
+ var policy = RetryConfiguration.AsyncRetryPolicy;
+ var policyResult = await policy.ExecuteAndCaptureAsync((ct) => client.ExecuteAsync(request, ct), cancellationToken).ConfigureAwait(false);
+ response = (policyResult.Outcome == OutcomeType.Successful) ? client.Deserialize(policyResult.Result) : new RestResponse(request)
+ {
+ ErrorException = policyResult.FinalException
+ };
+ }
+ else
+ {
+ response = await client.ExecuteAsync(request, cancellationToken).ConfigureAwait(false);
+ }
- // if the response type is oneOf/anyOf, call FromJSON to deserialize the data
- if (typeof(Bandwidth.Standard.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T)))
- {
- response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content });
- }
- else if (typeof(T).Name == "Stream") // for binary response
- {
- response.Data = (T)(object)new MemoryStream(response.RawBytes);
- }
- else if (typeof(T).Name == "Byte[]") // for byte response
- {
- response.Data = (T)(object)response.RawBytes;
- }
+ // if the response type is oneOf/anyOf, call FromJSON to deserialize the data
+ if (typeof(Bandwidth.Standard.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T)))
+ {
+ response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content });
+ }
+ else if (typeof(T).Name == "Stream") // for binary response
+ {
+ response.Data = (T)(object)new MemoryStream(response.RawBytes);
+ }
+ else if (typeof(T).Name == "Byte[]") // for byte response
+ {
+ response.Data = (T)(object)response.RawBytes;
+ }
- InterceptResponse(req, response);
+ InterceptResponse(request, response);
- var result = ToApiResponse(response);
- if (response.ErrorMessage != null)
- {
- result.ErrorText = response.ErrorMessage;
- }
+ var result = ToApiResponse(response);
+ if (response.ErrorMessage != null)
+ {
+ result.ErrorText = response.ErrorMessage;
+ }
- if (response.Cookies != null && response.Cookies.Count > 0)
- {
- if (result.Cookies == null) result.Cookies = new List();
- foreach (var restResponseCookie in response.Cookies.Cast())
+ if (response.Cookies != null && response.Cookies.Count > 0)
{
- var cookie = new Cookie(
- restResponseCookie.Name,
- restResponseCookie.Value,
- restResponseCookie.Path,
- restResponseCookie.Domain
- )
+ if (result.Cookies == null) result.Cookies = new List();
+ foreach (var restResponseCookie in response.Cookies.Cast())
{
- Comment = restResponseCookie.Comment,
- CommentUri = restResponseCookie.CommentUri,
- Discard = restResponseCookie.Discard,
- Expired = restResponseCookie.Expired,
- Expires = restResponseCookie.Expires,
- HttpOnly = restResponseCookie.HttpOnly,
- Port = restResponseCookie.Port,
- Secure = restResponseCookie.Secure,
- Version = restResponseCookie.Version
- };
-
- result.Cookies.Add(cookie);
+ var cookie = new Cookie(
+ restResponseCookie.Name,
+ restResponseCookie.Value,
+ restResponseCookie.Path,
+ restResponseCookie.Domain
+ )
+ {
+ Comment = restResponseCookie.Comment,
+ CommentUri = restResponseCookie.CommentUri,
+ Discard = restResponseCookie.Discard,
+ Expired = restResponseCookie.Expired,
+ Expires = restResponseCookie.Expires,
+ HttpOnly = restResponseCookie.HttpOnly,
+ Port = restResponseCookie.Port,
+ Secure = restResponseCookie.Secure,
+ Version = restResponseCookie.Version
+ };
+
+ result.Cookies.Add(cookie);
+ }
}
+ return result;
}
- return result;
}
#region IAsynchronousClient
diff --git a/src/Bandwidth.Standard/Client/Configuration.cs b/src/Bandwidth.Standard/Client/Configuration.cs
index 1ed480aa..baa633f0 100644
--- a/src/Bandwidth.Standard/Client/Configuration.cs
+++ b/src/Bandwidth.Standard/Client/Configuration.cs
@@ -19,6 +19,7 @@
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Net.Http;
+using System.Net.Security;
namespace Bandwidth.Standard.Client
{
@@ -71,6 +72,8 @@ public class Configuration : IReadableConfiguration
///
private string _basePath;
+ private bool _useDefaultCredentials = false;
+
///
/// Gets or sets the API key based on the authentication name.
/// This is the key and value comprising the "secret" for accessing an API.
@@ -596,11 +599,21 @@ public Configuration(
///
/// Gets or sets the base path for API access.
///
- public virtual string BasePath {
+ public virtual string BasePath
+ {
get { return _basePath; }
set { _basePath = value; }
}
+ ///
+ /// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
+ ///
+ public virtual bool UseDefaultCredentials
+ {
+ get { return _useDefaultCredentials; }
+ set { _useDefaultCredentials = value; }
+ }
+
///
/// Gets or sets the default header.
///
@@ -865,7 +878,7 @@ public string GetOperationServerUrl(string operation, int index)
/// The operation server URL.
public string GetOperationServerUrl(string operation, int index, Dictionary inputVariables)
{
- if (OperationServers.TryGetValue(operation, out var operationServer))
+ if (operation != null && OperationServers.TryGetValue(operation, out var operationServer))
{
return GetServerUrl(operationServer, index, inputVariables);
}
@@ -924,6 +937,11 @@ private string GetServerUrl(IList> servers,
return url;
}
+
+ ///
+ /// Gets and Sets the RemoteCertificateValidationCallback
+ ///
+ public RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; set; }
#endregion Properties
@@ -1000,6 +1018,8 @@ public static IReadableConfiguration MergeConfigurations(IReadableConfiguration
TempFolderPath = second.TempFolderPath ?? first.TempFolderPath,
DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat,
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates,
+ UseDefaultCredentials = second.UseDefaultCredentials,
+ RemoteCertificateValidationCallback = second.RemoteCertificateValidationCallback ?? first.RemoteCertificateValidationCallback,
};
return config;
}
diff --git a/src/Bandwidth.Standard/Client/IReadableConfiguration.cs b/src/Bandwidth.Standard/Client/IReadableConfiguration.cs
index b071efb7..d910c143 100644
--- a/src/Bandwidth.Standard/Client/IReadableConfiguration.cs
+++ b/src/Bandwidth.Standard/Client/IReadableConfiguration.cs
@@ -12,6 +12,7 @@
using System;
using System.Collections.Generic;
using System.Net;
+using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
namespace Bandwidth.Standard.Client
@@ -100,6 +101,11 @@ public interface IReadableConfiguration
/// Password.
string Password { get; }
+ ///
+ /// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false.
+ ///
+ bool UseDefaultCredentials { get; }
+
///
/// Get the servers associated with the operation.
///
@@ -126,5 +132,11 @@ public interface IReadableConfiguration
///
/// X509 Certificate collection.
X509CertificateCollection ClientCertificates { get; }
+
+ ///
+ /// Callback function for handling the validation of remote certificates. Useful for certificate pinning and
+ /// overriding certificate errors in the scope of a request.
+ ///
+ RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; }
}
}
diff --git a/src/Bandwidth.Standard/Model/AnswerCallback.cs b/src/Bandwidth.Standard/Model/AnswerCallback.cs
index 83761609..d25f3586 100644
--- a/src/Bandwidth.Standard/Model/AnswerCallback.cs
+++ b/src/Bandwidth.Standard/Model/AnswerCallback.cs
@@ -77,7 +77,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
///
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -92,7 +92,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// The user account associated with the call.
///
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -100,7 +100,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// The id of the application associated with the call.
///
/// The id of the application associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -108,7 +108,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
///
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -116,7 +116,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
///
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -124,7 +124,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// The call id associated with the event.
///
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -132,7 +132,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// The URL of the call associated with the event.
///
/// The URL of the call associated with the event.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callUrl", EmitDefaultValue = false)]
public string CallUrl { get; set; }
@@ -140,7 +140,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
///
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "enqueuedTime", EmitDefaultValue = true)]
public DateTime? EnqueuedTime { get; set; }
@@ -148,7 +148,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// Time the call was started, in ISO 8601 format.
///
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -156,7 +156,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// Time the call was answered, in ISO 8601 format.
///
/// Time the call was answered, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "answerTime", EmitDefaultValue = true)]
public DateTime? AnswerTime { get; set; }
@@ -164,7 +164,7 @@ public partial class AnswerCallback : IEquatable, IValidatableOb
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
///
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/BridgeCompleteCallback.cs b/src/Bandwidth.Standard/Model/BridgeCompleteCallback.cs
index 910d8d07..2eaebb37 100644
--- a/src/Bandwidth.Standard/Model/BridgeCompleteCallback.cs
+++ b/src/Bandwidth.Standard/Model/BridgeCompleteCallback.cs
@@ -81,7 +81,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
///
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -96,7 +96,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// The user account associated with the call.
///
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -104,7 +104,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// The id of the application associated with the call.
///
/// The id of the application associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -112,7 +112,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
///
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -120,7 +120,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
///
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -128,7 +128,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// The call id associated with the event.
///
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -136,7 +136,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// The URL of the call associated with the event.
///
/// The URL of the call associated with the event.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callUrl", EmitDefaultValue = false)]
public string CallUrl { get; set; }
@@ -144,7 +144,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
///
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "enqueuedTime", EmitDefaultValue = true)]
public DateTime? EnqueuedTime { get; set; }
@@ -152,7 +152,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// Time the call was started, in ISO 8601 format.
///
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -160,7 +160,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// Time the call was answered, in ISO 8601 format.
///
/// Time the call was answered, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "answerTime", EmitDefaultValue = true)]
public DateTime? AnswerTime { get; set; }
@@ -168,7 +168,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
///
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
@@ -176,7 +176,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown.
///
/// Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown.
- /// "busy"
+ /// busy
[DataMember(Name = "cause", EmitDefaultValue = false)]
public string Cause { get; set; }
@@ -184,7 +184,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// Text explaining the reason that caused the call to fail in case of errors.
///
/// Text explaining the reason that caused the call to fail in case of errors.
- /// "Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call"
+ /// Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call
[DataMember(Name = "errorMessage", EmitDefaultValue = true)]
public string ErrorMessage { get; set; }
@@ -192,7 +192,7 @@ public partial class BridgeCompleteCallback : IEquatable
/// Bandwidth's internal id that references the error event.
///
/// Bandwidth's internal id that references the error event.
- /// "4642074b-7b58-478b-96e4-3a60955c6765"
+ /// 4642074b-7b58-478b-96e4-3a60955c6765
[DataMember(Name = "errorId", EmitDefaultValue = true)]
public string ErrorId { get; set; }
diff --git a/src/Bandwidth.Standard/Model/BridgeTargetCompleteCallback.cs b/src/Bandwidth.Standard/Model/BridgeTargetCompleteCallback.cs
index c15891a7..c9266581 100644
--- a/src/Bandwidth.Standard/Model/BridgeTargetCompleteCallback.cs
+++ b/src/Bandwidth.Standard/Model/BridgeTargetCompleteCallback.cs
@@ -75,7 +75,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -90,7 +90,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -98,7 +98,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// The id of the application associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -106,7 +106,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -114,7 +114,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -122,7 +122,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -130,7 +130,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// The URL of the call associated with the event.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callUrl", EmitDefaultValue = false)]
public string CallUrl { get; set; }
@@ -138,7 +138,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "enqueuedTime", EmitDefaultValue = true)]
public DateTime? EnqueuedTime { get; set; }
@@ -146,7 +146,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -154,7 +154,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// Time the call was answered, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "answerTime", EmitDefaultValue = true)]
public DateTime? AnswerTime { get; set; }
@@ -162,7 +162,7 @@ public partial class BridgeTargetCompleteCallback : IEquatable
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/CallDirectionEnum.cs b/src/Bandwidth.Standard/Model/CallDirectionEnum.cs
index fdbb88c9..a5997257 100644
--- a/src/Bandwidth.Standard/Model/CallDirectionEnum.cs
+++ b/src/Bandwidth.Standard/Model/CallDirectionEnum.cs
@@ -44,7 +44,6 @@ public enum CallDirectionEnum
///
[EnumMember(Value = "outbound")]
Outbound = 2
-
}
}
diff --git a/src/Bandwidth.Standard/Model/CallRecordingMetadata.cs b/src/Bandwidth.Standard/Model/CallRecordingMetadata.cs
index c87b7ccf..c983e55d 100644
--- a/src/Bandwidth.Standard/Model/CallRecordingMetadata.cs
+++ b/src/Bandwidth.Standard/Model/CallRecordingMetadata.cs
@@ -91,7 +91,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The id of the application associated with the call.
///
/// The id of the application associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -99,7 +99,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The user account associated with the call.
///
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -107,7 +107,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The call id associated with the event.
///
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -115,7 +115,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present.
///
/// (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present.
- /// "c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d"
+ /// c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d
[DataMember(Name = "parentCallId", EmitDefaultValue = false)]
public string ParentCallId { get; set; }
@@ -123,7 +123,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The unique ID of this recording
///
/// The unique ID of this recording
- /// "r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833"
+ /// r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833
[DataMember(Name = "recordingId", EmitDefaultValue = false)]
public string RecordingId { get; set; }
@@ -131,7 +131,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
///
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -139,7 +139,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
///
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -147,7 +147,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
///
/// The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "transferCallerId", EmitDefaultValue = false)]
public string TransferCallerId { get; set; }
@@ -155,7 +155,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
///
/// The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
- /// "+15555555555)"
+ /// +15555555555)
[DataMember(Name = "transferTo", EmitDefaultValue = false)]
public string TransferTo { get; set; }
@@ -163,7 +163,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The duration of the recording in ISO-8601 format
///
/// The duration of the recording in ISO-8601 format
- /// "PT13.67S"
+ /// PT13.67S
[DataMember(Name = "duration", EmitDefaultValue = false)]
public string Duration { get; set; }
@@ -179,7 +179,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// Time the call was started, in ISO 8601 format.
///
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -187,7 +187,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The time that the recording ended in ISO-8601 format
///
/// The time that the recording ended in ISO-8601 format
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "endTime", EmitDefaultValue = false)]
public DateTime EndTime { get; set; }
@@ -195,7 +195,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values.
///
/// The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values.
- /// "completed"
+ /// completed
[DataMember(Name = "status", EmitDefaultValue = false)]
public string Status { get; set; }
@@ -203,7 +203,7 @@ public partial class CallRecordingMetadata : IEquatable,
/// The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded.
///
/// The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media
[DataMember(Name = "mediaUrl", EmitDefaultValue = true)]
public string MediaUrl { get; set; }
diff --git a/src/Bandwidth.Standard/Model/CallState.cs b/src/Bandwidth.Standard/Model/CallState.cs
index 55288cba..3f84f681 100644
--- a/src/Bandwidth.Standard/Model/CallState.cs
+++ b/src/Bandwidth.Standard/Model/CallState.cs
@@ -85,7 +85,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The application id associated with the call.
///
/// The application id associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -93,7 +93,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The account id associated with the call.
///
/// The account id associated with the call.
- /// "9900000"
+ /// 9900000
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -101,7 +101,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The programmable voice API call ID.
///
/// The programmable voice API call ID.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -109,7 +109,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The A-leg call id, set only if this call is the B-leg of a [`<Transfer>`](/docs/voice/bxml/transfer).
///
/// The A-leg call id, set only if this call is the B-leg of a [`<Transfer>`](/docs/voice/bxml/transfer).
- /// "c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "parentCallId", EmitDefaultValue = true)]
public string ParentCallId { get; set; }
@@ -117,7 +117,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The phone number that received the call, in E.164 format (e.g. +15555555555), or if the call was to a SIP URI, the SIP URI.
///
/// The phone number that received the call, in E.164 format (e.g. +15555555555), or if the call was to a SIP URI, the SIP URI.
- /// "+19195551234"
+ /// +19195551234
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -125,7 +125,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The phone number that made the call, in E.164 format (e.g. +15555555555).
///
/// The phone number that made the call, in E.164 format (e.g. +15555555555).
- /// "19195554321"
+ /// 19195554321
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -133,7 +133,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The current state of the call. Current possible values are `queued`, `initiated`, `answered` and `disconnected`. Additional states may be added in the future, so your application must be tolerant of unknown values.
///
/// The current state of the call. Current possible values are `queued`, `initiated`, `answered` and `disconnected`. Additional states may be added in the future, so your application must be tolerant of unknown values.
- /// "disconnected"
+ /// disconnected
[DataMember(Name = "state", EmitDefaultValue = false)]
public string State { get; set; }
@@ -141,6 +141,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// For inbound calls, the Bandwidth STIR/SHAKEN implementation will verify the information provided in the inbound invite request `Identity` header. The verification status is stored in the call state `stirShaken` property as follows. | Property | Description | |:- -- -- -- -- -- -- -- -- -|:- -- -- -- -- -- -| | verstat | (optional) The verification status indicating whether the verification was successful or not. Possible values are `TN-Verification-Passed` or `TN-Verification-Failed`. | | attestationIndicator | (optional) The attestation level verified by Bandwidth. Possible values are `A` (full), `B` (partial) or `C` (gateway). | | originatingId | (optional) A unique origination identifier. | Note that these are common properties but that the `stirShaken` object is free form and can contain other key-value pairs. More information: [Understanding STIR/SHAKEN](https://www.bandwidth.com/regulations/stir-shaken).
///
/// For inbound calls, the Bandwidth STIR/SHAKEN implementation will verify the information provided in the inbound invite request `Identity` header. The verification status is stored in the call state `stirShaken` property as follows. | Property | Description | |:- -- -- -- -- -- -- -- -- -|:- -- -- -- -- -- -| | verstat | (optional) The verification status indicating whether the verification was successful or not. Possible values are `TN-Verification-Passed` or `TN-Verification-Failed`. | | attestationIndicator | (optional) The attestation level verified by Bandwidth. Possible values are `A` (full), `B` (partial) or `C` (gateway). | | originatingId | (optional) A unique origination identifier. | Note that these are common properties but that the `stirShaken` object is free form and can contain other key-value pairs. More information: [Understanding STIR/SHAKEN](https://www.bandwidth.com/regulations/stir-shaken).
+ /// {"verstat":"TN-Verification-Passed","attestationIndicator":"A","originatingId":"abc123"}
[DataMember(Name = "stirShaken", EmitDefaultValue = true)]
public Dictionary StirShaken { get; set; }
@@ -148,7 +149,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The value of the `Identity` header from the inbound invite request. Only present for inbound calls and if the account is configured to forward this header.
///
/// The value of the `Identity` header from the inbound invite request. Only present for inbound calls and if the account is configured to forward this header.
- /// "eyJhbGciOiJFUzI1NiIsInBwdCI6InNoYWtlbiIsInR5cCI6InBhc3Nwb3J0IiwieDV1IjoiaHR0cHM6Ly9idy1zaGFrZW4tY2VydC1wdWIuczMuYW1hem9uYXdzLmNvbS9iYW5kd2lkdGgtc2hha2VuLWNlcnRfMjAyMzA3MTYucGVtIn0.eyJhdHRlc3QiOiJBIiwiZGVzdCI6eyJ0biI6WyIxOTg0MjgyMDI4MCJdfSwiaWF0IjoxNjU2NTM0MzM2LCJvcmlnIjp7InRuIjoiMTkxOTQ0NDI2ODMifSwib3JpZ2lkIjoiNDk0NTlhOGEtNDJmNi0zNTFjLTkzNjEtYWRmNTdhOWUwOGNhIn0.56un9sRw_uH-sbJvnUsqdevlVxbOVjn8MVlGTlBMicjaZuRRwxfiNp-C9zYCMKTTCbc-QdYPN05F61XNVN4D3w;info=<https://bw-shaken-cert-pub.s3.amazonaws.com/bandwidth-shaken-cert_20230716.pem>;alg=ES256;ppt=shaken"
+ /// eyJhbGciOiJFUzI1NiIsInBwdCI6InNoYWtlbiIsInR5cCI6InBhc3Nwb3J0IiwieDV1IjoiaHR0cHM6Ly9idy1zaGFrZW4tY2VydC1wdWIuczMuYW1hem9uYXdzLmNvbS9iYW5kd2lkdGgtc2hha2VuLWNlcnRfMjAyMzA3MTYucGVtIn0.eyJhdHRlc3QiOiJBIiwiZGVzdCI6eyJ0biI6WyIxOTg0MjgyMDI4MCJdfSwiaWF0IjoxNjU2NTM0MzM2LCJvcmlnIjp7InRuIjoiMTkxOTQ0NDI2ODMifSwib3JpZ2lkIjoiNDk0NTlhOGEtNDJmNi0zNTFjLTkzNjEtYWRmNTdhOWUwOGNhIn0.56un9sRw_uH-sbJvnUsqdevlVxbOVjn8MVlGTlBMicjaZuRRwxfiNp-C9zYCMKTTCbc-QdYPN05F61XNVN4D3w;info=<https://bw-shaken-cert-pub.s3.amazonaws.com/bandwidth-shaken-cert_20230716.pem>;alg=ES256;ppt=shaken
[DataMember(Name = "identity", EmitDefaultValue = true)]
public string Identity { get; set; }
@@ -156,7 +157,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The time this call was placed in queue.
///
/// The time this call was placed in queue.
- /// "2022-06-16T13:15:07.160Z"
+ /// 2022-06-16T13:15:07.160Z
[DataMember(Name = "enqueuedTime", EmitDefaultValue = true)]
public DateTime? EnqueuedTime { get; set; }
@@ -164,7 +165,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The time the call was initiated, in ISO 8601 format. `null` if the call is still in your queue.
///
/// The time the call was initiated, in ISO 8601 format. `null` if the call is still in your queue.
- /// "2022-06-16T13:15:07.160Z"
+ /// 2022-06-16T13:15:07.160Z
[DataMember(Name = "startTime", EmitDefaultValue = true)]
public DateTime? StartTime { get; set; }
@@ -172,7 +173,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// Populated once the call has been answered, with the time in ISO 8601 format.
///
/// Populated once the call has been answered, with the time in ISO 8601 format.
- /// "2022-06-16T13:15:18.126Z"
+ /// 2022-06-16T13:15:18.126Z
[DataMember(Name = "answerTime", EmitDefaultValue = true)]
public DateTime? AnswerTime { get; set; }
@@ -180,7 +181,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// Populated once the call has ended, with the time in ISO 8601 format.
///
/// Populated once the call has ended, with the time in ISO 8601 format.
- /// "2022-06-16T13:15:18.314Z"
+ /// 2022-06-16T13:15:18.314Z
[DataMember(Name = "endTime", EmitDefaultValue = true)]
public DateTime? EndTime { get; set; }
@@ -209,7 +210,7 @@ public partial class CallState : IEquatable, IValidatableObject
/// The last time the call had a state update, in ISO 8601 format.
///
/// The last time the call had a state update, in ISO 8601 format.
- /// "2022-06-16T13:15:18.314Z"
+ /// 2022-06-16T13:15:18.314Z
[DataMember(Name = "lastUpdate", EmitDefaultValue = false)]
public DateTime LastUpdate { get; set; }
diff --git a/src/Bandwidth.Standard/Model/CallStateEnum.cs b/src/Bandwidth.Standard/Model/CallStateEnum.cs
index 726bdb03..1266dc57 100644
--- a/src/Bandwidth.Standard/Model/CallStateEnum.cs
+++ b/src/Bandwidth.Standard/Model/CallStateEnum.cs
@@ -44,7 +44,6 @@ public enum CallStateEnum
///
[EnumMember(Value = "completed")]
Completed = 2
-
}
}
diff --git a/src/Bandwidth.Standard/Model/CallbackMethodEnum.cs b/src/Bandwidth.Standard/Model/CallbackMethodEnum.cs
index 0c9c5e44..a8766645 100644
--- a/src/Bandwidth.Standard/Model/CallbackMethodEnum.cs
+++ b/src/Bandwidth.Standard/Model/CallbackMethodEnum.cs
@@ -44,7 +44,6 @@ public enum CallbackMethodEnum
///
[EnumMember(Value = "POST")]
POST = 2
-
}
}
diff --git a/src/Bandwidth.Standard/Model/CodeRequest.cs b/src/Bandwidth.Standard/Model/CodeRequest.cs
index 9967f333..ec519392 100644
--- a/src/Bandwidth.Standard/Model/CodeRequest.cs
+++ b/src/Bandwidth.Standard/Model/CodeRequest.cs
@@ -80,7 +80,7 @@ protected CodeRequest() { }
/// The phone number to send the mfa code to.
///
/// The phone number to send the mfa code to.
- /// "+19195551234"
+ /// +19195551234
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public string To { get; set; }
@@ -88,7 +88,7 @@ protected CodeRequest() { }
/// The application phone number, the sender of the mfa code.
///
/// The application phone number, the sender of the mfa code.
- /// "+19195554321"
+ /// +19195554321
[DataMember(Name = "from", IsRequired = true, EmitDefaultValue = true)]
public string From { get; set; }
@@ -96,7 +96,7 @@ protected CodeRequest() { }
/// The application unique ID, obtained from Bandwidth.
///
/// The application unique ID, obtained from Bandwidth.
- /// "66fd98ae-ac8d-a00f-7fcd-ba3280aeb9b1"
+ /// 66fd98ae-ac8d-a00f-7fcd-ba3280aeb9b1
[DataMember(Name = "applicationId", IsRequired = true, EmitDefaultValue = true)]
public string ApplicationId { get; set; }
@@ -104,7 +104,7 @@ protected CodeRequest() { }
/// An optional field to denote what scope or action the mfa code is addressing. If not supplied, defaults to \"2FA\".
///
/// An optional field to denote what scope or action the mfa code is addressing. If not supplied, defaults to \"2FA\".
- /// "2FA"
+ /// 2FA
[DataMember(Name = "scope", EmitDefaultValue = false)]
public string Scope { get; set; }
@@ -112,7 +112,7 @@ protected CodeRequest() { }
/// The message format of the mfa code. There are three values that the system will replace \"{CODE}\", \"{NAME}\", \"{SCOPE}\". The \"{SCOPE}\" and \"{NAME} value template are optional, while \"{CODE}\" must be supplied. As the name would suggest, code will be replace with the actual mfa code. Name is replaced with the application name, configured during provisioning of mfa. The scope value is the same value sent during the call and partitioned by the server.
///
/// The message format of the mfa code. There are three values that the system will replace \"{CODE}\", \"{NAME}\", \"{SCOPE}\". The \"{SCOPE}\" and \"{NAME} value template are optional, while \"{CODE}\" must be supplied. As the name would suggest, code will be replace with the actual mfa code. Name is replaced with the application name, configured during provisioning of mfa. The scope value is the same value sent during the call and partitioned by the server.
- /// "Your temporary {NAME} {SCOPE} code is {CODE}"
+ /// Your temporary {NAME} {SCOPE} code is {CODE}
[DataMember(Name = "message", IsRequired = true, EmitDefaultValue = true)]
public string Message { get; set; }
@@ -245,11 +245,13 @@ public override int GetHashCode()
/// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
- // To (string) pattern
- Regex regexTo = new Regex(@"^\+[1-9]\d{1,14}$", RegexOptions.CultureInvariant);
- if (false == regexTo.Match(this.To).Success)
- {
- yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for To, must match a pattern of " + regexTo, new [] { "To" });
+ if (this.To != null) {
+ // To (string) pattern
+ Regex regexTo = new Regex(@"^\+[1-9]\d{1,14}$", RegexOptions.CultureInvariant);
+ if (!regexTo.Match(this.To).Success)
+ {
+ yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for To, must match a pattern of " + regexTo, new [] { "To" });
+ }
}
// From (string) maxLength
@@ -258,11 +260,13 @@ public override int GetHashCode()
yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for From, length must be less than 32.", new [] { "From" });
}
- // From (string) pattern
- Regex regexFrom = new Regex(@"^\+[1-9]\d{1,14}$", RegexOptions.CultureInvariant);
- if (false == regexFrom.Match(this.From).Success)
- {
- yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for From, must match a pattern of " + regexFrom, new [] { "From" });
+ if (this.From != null) {
+ // From (string) pattern
+ Regex regexFrom = new Regex(@"^\+[1-9]\d{1,14}$", RegexOptions.CultureInvariant);
+ if (!regexFrom.Match(this.From).Success)
+ {
+ yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for From, must match a pattern of " + regexFrom, new [] { "From" });
+ }
}
// ApplicationId (string) maxLength
diff --git a/src/Bandwidth.Standard/Model/Conference.cs b/src/Bandwidth.Standard/Model/Conference.cs
index aca0a594..5e5c30f1 100644
--- a/src/Bandwidth.Standard/Model/Conference.cs
+++ b/src/Bandwidth.Standard/Model/Conference.cs
@@ -65,7 +65,7 @@ public partial class Conference : IEquatable, IValidatableObject
/// The Bandwidth-generated conference ID.
///
/// The Bandwidth-generated conference ID.
- /// "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"
+ /// conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
@@ -73,7 +73,7 @@ public partial class Conference : IEquatable, IValidatableObject
/// The name of the conference, as specified by your application.
///
/// The name of the conference, as specified by your application.
- /// "my-conference-name"
+ /// my-conference-name
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
@@ -81,7 +81,7 @@ public partial class Conference : IEquatable, IValidatableObject
/// The time the conference was initiated, in ISO 8601 format.
///
/// The time the conference was initiated, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "createdTime", EmitDefaultValue = false)]
public DateTime CreatedTime { get; set; }
@@ -89,7 +89,7 @@ public partial class Conference : IEquatable, IValidatableObject
/// The time the conference was terminated, in ISO 8601 format.
///
/// The time the conference was terminated, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "completedTime", EmitDefaultValue = true)]
public DateTime? CompletedTime { get; set; }
@@ -97,7 +97,7 @@ public partial class Conference : IEquatable, IValidatableObject
/// The URL to send the conference-related events.
///
/// The URL to send the conference-related events.
- /// "https://myServer.example/bandwidth/webhooks/conferenceEvent"
+ /// https://myServer.example/bandwidth/webhooks/conferenceEvent
[DataMember(Name = "conferenceEventUrl", EmitDefaultValue = true)]
public string ConferenceEventUrl { get; set; }
@@ -105,7 +105,7 @@ public partial class Conference : IEquatable, IValidatableObject
/// The custom string attached to the conference that will be sent with callbacks.
///
/// The custom string attached to the conference that will be sent with callbacks.
- /// "my custom tag"
+ /// my custom tag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ConferenceCompletedCallback.cs b/src/Bandwidth.Standard/Model/ConferenceCompletedCallback.cs
index 0418afb3..0b235bb3 100644
--- a/src/Bandwidth.Standard/Model/ConferenceCompletedCallback.cs
+++ b/src/Bandwidth.Standard/Model/ConferenceCompletedCallback.cs
@@ -53,7 +53,7 @@ public partial class ConferenceCompletedCallback : IEquatable
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -68,7 +68,7 @@ public partial class ConferenceCompletedCallback : IEquatable
/// The unique, Bandwidth-generated ID of the conference that was recorded
- /// "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"
+ /// conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
[DataMember(Name = "conferenceId", EmitDefaultValue = false)]
public string ConferenceId { get; set; }
@@ -76,7 +76,7 @@ public partial class ConferenceCompletedCallback : IEquatable
/// The user-specified name of the conference that was recorded
- /// "my-conference-name"
+ /// my-conference-name
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
@@ -84,7 +84,7 @@ public partial class ConferenceCompletedCallback : IEquatable
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ConferenceCreatedCallback.cs b/src/Bandwidth.Standard/Model/ConferenceCreatedCallback.cs
index 547fb82d..bb4c3d9c 100644
--- a/src/Bandwidth.Standard/Model/ConferenceCreatedCallback.cs
+++ b/src/Bandwidth.Standard/Model/ConferenceCreatedCallback.cs
@@ -53,7 +53,7 @@ public partial class ConferenceCreatedCallback : IEquatable
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -68,7 +68,7 @@ public partial class ConferenceCreatedCallback : IEquatable
/// The unique, Bandwidth-generated ID of the conference that was recorded
- /// "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"
+ /// conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
[DataMember(Name = "conferenceId", EmitDefaultValue = false)]
public string ConferenceId { get; set; }
@@ -76,7 +76,7 @@ public partial class ConferenceCreatedCallback : IEquatable
/// The user-specified name of the conference that was recorded
- /// "my-conference-name"
+ /// my-conference-name
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
@@ -84,7 +84,7 @@ public partial class ConferenceCreatedCallback : IEquatable
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ConferenceMember.cs b/src/Bandwidth.Standard/Model/ConferenceMember.cs
index 0cf54e07..14567514 100644
--- a/src/Bandwidth.Standard/Model/ConferenceMember.cs
+++ b/src/Bandwidth.Standard/Model/ConferenceMember.cs
@@ -55,7 +55,7 @@ public partial class ConferenceMember : IEquatable, IValidatab
/// The call id associated with the event.
///
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -63,7 +63,7 @@ public partial class ConferenceMember : IEquatable, IValidatab
/// The unique, Bandwidth-generated ID of the conference that was recorded
///
/// The unique, Bandwidth-generated ID of the conference that was recorded
- /// "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"
+ /// conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
[DataMember(Name = "conferenceId", EmitDefaultValue = false)]
public string ConferenceId { get; set; }
@@ -71,7 +71,7 @@ public partial class ConferenceMember : IEquatable, IValidatab
/// A URL that may be used to retrieve information about or update the state of this conference member. This is the URL of this member's [Get Conference Member](/apis/voice/#operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice/#operation/updateConferenceMember) endpoint.
///
/// A URL that may be used to retrieve information about or update the state of this conference member. This is the URL of this member's [Get Conference Member](/apis/voice/#operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice/#operation/updateConferenceMember) endpoint.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/members/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/members/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "memberUrl", EmitDefaultValue = false)]
public string MemberUrl { get; set; }
@@ -95,6 +95,7 @@ public partial class ConferenceMember : IEquatable, IValidatab
/// If this member had a value set for `callIdsToCoach` in its [Conference](/docs/voice/bxml/conference) verb or this list was added with a previous PUT request to modify the member, this is that list of calls. If present in a PUT request, modifies the calls that this member is coaching. Has no effect if omitted. See the documentation for the [Conference](/docs/voice/bxml/conference) verb for more details about coaching. Note that this will not add the matching calls to the conference; each call must individually execute a Conference verb to join.
///
/// If this member had a value set for `callIdsToCoach` in its [Conference](/docs/voice/bxml/conference) verb or this list was added with a previous PUT request to modify the member, this is that list of calls. If present in a PUT request, modifies the calls that this member is coaching. Has no effect if omitted. See the documentation for the [Conference](/docs/voice/bxml/conference) verb for more details about coaching. Note that this will not add the matching calls to the conference; each call must individually execute a Conference verb to join.
+ /// ["c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"]
[DataMember(Name = "callIdsToCoach", EmitDefaultValue = true)]
public List CallIdsToCoach { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ConferenceMemberExitCallback.cs b/src/Bandwidth.Standard/Model/ConferenceMemberExitCallback.cs
index 966966d3..967428d8 100644
--- a/src/Bandwidth.Standard/Model/ConferenceMemberExitCallback.cs
+++ b/src/Bandwidth.Standard/Model/ConferenceMemberExitCallback.cs
@@ -59,7 +59,7 @@ public partial class ConferenceMemberExitCallback : IEquatable
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -74,7 +74,7 @@ public partial class ConferenceMemberExitCallback : IEquatable
/// The unique, Bandwidth-generated ID of the conference that was recorded
- /// "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"
+ /// conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
[DataMember(Name = "conferenceId", EmitDefaultValue = false)]
public string ConferenceId { get; set; }
@@ -82,7 +82,7 @@ public partial class ConferenceMemberExitCallback : IEquatable
/// The user-specified name of the conference that was recorded
- /// "my-conference-name"
+ /// my-conference-name
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
@@ -90,7 +90,7 @@ public partial class ConferenceMemberExitCallback : IEquatable
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -98,7 +98,7 @@ public partial class ConferenceMemberExitCallback : IEquatable
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -106,7 +106,7 @@ public partial class ConferenceMemberExitCallback : IEquatable
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -114,7 +114,7 @@ public partial class ConferenceMemberExitCallback : IEquatable
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ConferenceMemberJoinCallback.cs b/src/Bandwidth.Standard/Model/ConferenceMemberJoinCallback.cs
index 0df383a3..b282602f 100644
--- a/src/Bandwidth.Standard/Model/ConferenceMemberJoinCallback.cs
+++ b/src/Bandwidth.Standard/Model/ConferenceMemberJoinCallback.cs
@@ -59,7 +59,7 @@ public partial class ConferenceMemberJoinCallback : IEquatable
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -74,7 +74,7 @@ public partial class ConferenceMemberJoinCallback : IEquatable
/// The unique, Bandwidth-generated ID of the conference that was recorded
- /// "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"
+ /// conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
[DataMember(Name = "conferenceId", EmitDefaultValue = false)]
public string ConferenceId { get; set; }
@@ -82,7 +82,7 @@ public partial class ConferenceMemberJoinCallback : IEquatable
/// The user-specified name of the conference that was recorded
- /// "my-conference-name"
+ /// my-conference-name
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
@@ -90,7 +90,7 @@ public partial class ConferenceMemberJoinCallback : IEquatable
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -98,7 +98,7 @@ public partial class ConferenceMemberJoinCallback : IEquatable
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -106,7 +106,7 @@ public partial class ConferenceMemberJoinCallback : IEquatable
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -114,7 +114,7 @@ public partial class ConferenceMemberJoinCallback : IEquatable
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ConferenceRecordingAvailableCallback.cs b/src/Bandwidth.Standard/Model/ConferenceRecordingAvailableCallback.cs
index 4c7313aa..bbb4a4cb 100644
--- a/src/Bandwidth.Standard/Model/ConferenceRecordingAvailableCallback.cs
+++ b/src/Bandwidth.Standard/Model/ConferenceRecordingAvailableCallback.cs
@@ -77,7 +77,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -92,7 +92,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// The unique, Bandwidth-generated ID of the conference that was recorded
- /// "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"
+ /// conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
[DataMember(Name = "conferenceId", EmitDefaultValue = false)]
public string ConferenceId { get; set; }
@@ -100,7 +100,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// The user-specified name of the conference that was recorded
- /// "my-conference-name"
+ /// my-conference-name
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
@@ -108,7 +108,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -116,7 +116,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// The unique ID of this recording
- /// "r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833"
+ /// r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833
[DataMember(Name = "recordingId", EmitDefaultValue = false)]
public string RecordingId { get; set; }
@@ -132,7 +132,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -140,7 +140,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// The time that the recording ended in ISO-8601 format
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "endTime", EmitDefaultValue = false)]
public DateTime EndTime { get; set; }
@@ -148,7 +148,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// The duration of the recording in ISO-8601 format
- /// "PT13.67S"
+ /// PT13.67S
[DataMember(Name = "duration", EmitDefaultValue = false)]
public string Duration { get; set; }
@@ -156,7 +156,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media
[DataMember(Name = "mediaUrl", EmitDefaultValue = true)]
public string MediaUrl { get; set; }
@@ -164,7 +164,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
@@ -172,7 +172,7 @@ public partial class ConferenceRecordingAvailableCallback : IEquatable
/// The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values.
- /// "completed"
+ /// completed
[DataMember(Name = "status", EmitDefaultValue = false)]
public string Status { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ConferenceRecordingMetadata.cs b/src/Bandwidth.Standard/Model/ConferenceRecordingMetadata.cs
index 5776370d..76aeb50f 100644
--- a/src/Bandwidth.Standard/Model/ConferenceRecordingMetadata.cs
+++ b/src/Bandwidth.Standard/Model/ConferenceRecordingMetadata.cs
@@ -71,7 +71,7 @@ public partial class ConferenceRecordingMetadata : IEquatable
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -79,7 +79,7 @@ public partial class ConferenceRecordingMetadata : IEquatable
/// The unique, Bandwidth-generated ID of the conference that was recorded
- /// "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"
+ /// conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
[DataMember(Name = "conferenceId", EmitDefaultValue = false)]
public string ConferenceId { get; set; }
@@ -87,7 +87,7 @@ public partial class ConferenceRecordingMetadata : IEquatable
/// The user-specified name of the conference that was recorded
- /// "my-conference-name"
+ /// my-conference-name
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
@@ -95,7 +95,7 @@ public partial class ConferenceRecordingMetadata : IEquatable
/// The unique ID of this recording
- /// "r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833"
+ /// r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833
[DataMember(Name = "recordingId", EmitDefaultValue = false)]
public string RecordingId { get; set; }
@@ -103,7 +103,7 @@ public partial class ConferenceRecordingMetadata : IEquatable
/// The duration of the recording in ISO-8601 format
- /// "PT13.67S"
+ /// PT13.67S
[DataMember(Name = "duration", EmitDefaultValue = false)]
public string Duration { get; set; }
@@ -119,7 +119,7 @@ public partial class ConferenceRecordingMetadata : IEquatable
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -127,7 +127,7 @@ public partial class ConferenceRecordingMetadata : IEquatable
/// The time that the recording ended in ISO-8601 format
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "endTime", EmitDefaultValue = false)]
public DateTime EndTime { get; set; }
@@ -135,7 +135,7 @@ public partial class ConferenceRecordingMetadata : IEquatable
/// The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values.
- /// "completed"
+ /// completed
[DataMember(Name = "status", EmitDefaultValue = false)]
public string Status { get; set; }
@@ -143,7 +143,7 @@ public partial class ConferenceRecordingMetadata : IEquatable
/// The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media
[DataMember(Name = "mediaUrl", EmitDefaultValue = true)]
public string MediaUrl { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ConferenceRedirectCallback.cs b/src/Bandwidth.Standard/Model/ConferenceRedirectCallback.cs
index 6535006a..d4680eea 100644
--- a/src/Bandwidth.Standard/Model/ConferenceRedirectCallback.cs
+++ b/src/Bandwidth.Standard/Model/ConferenceRedirectCallback.cs
@@ -53,7 +53,7 @@ public partial class ConferenceRedirectCallback : IEquatable
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -68,7 +68,7 @@ public partial class ConferenceRedirectCallback : IEquatable
/// The unique, Bandwidth-generated ID of the conference that was recorded
- /// "conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9"
+ /// conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
[DataMember(Name = "conferenceId", EmitDefaultValue = false)]
public string ConferenceId { get; set; }
@@ -76,7 +76,7 @@ public partial class ConferenceRedirectCallback : IEquatable
/// The user-specified name of the conference that was recorded
- /// "my-conference-name"
+ /// my-conference-name
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
@@ -84,7 +84,7 @@ public partial class ConferenceRedirectCallback : IEquatable
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ConferenceStateEnum.cs b/src/Bandwidth.Standard/Model/ConferenceStateEnum.cs
index b760b733..57d28ff3 100644
--- a/src/Bandwidth.Standard/Model/ConferenceStateEnum.cs
+++ b/src/Bandwidth.Standard/Model/ConferenceStateEnum.cs
@@ -44,7 +44,6 @@ public enum ConferenceStateEnum
///
[EnumMember(Value = "completed")]
Completed = 2
-
}
}
diff --git a/src/Bandwidth.Standard/Model/CreateCall.cs b/src/Bandwidth.Standard/Model/CreateCall.cs
index 8a5136b2..932586e2 100644
--- a/src/Bandwidth.Standard/Model/CreateCall.cs
+++ b/src/Bandwidth.Standard/Model/CreateCall.cs
@@ -127,7 +127,7 @@ protected CreateCall() { }
/// The destination to call (must be an E.164 formatted number (e.g. `+15555551212`) or a SIP URI (e.g. `sip:user@server.example`)).
///
/// The destination to call (must be an E.164 formatted number (e.g. `+15555551212`) or a SIP URI (e.g. `sip:user@server.example`)).
- /// "+19195551234"
+ /// +19195551234
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public string To { get; set; }
@@ -135,7 +135,7 @@ protected CreateCall() { }
/// A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`, or be one of the following strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`).
///
/// A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`, or be one of the following strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`).
- /// "+19195554321"
+ /// +19195554321
[DataMember(Name = "from", IsRequired = true, EmitDefaultValue = true)]
public string From { get; set; }
@@ -143,7 +143,7 @@ protected CreateCall() { }
/// A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators.
///
/// A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators.
- /// "eyJhbGciOiJIUzI1NiJ9.WyJoaSJd.-znkjYyCkgz4djmHUPSXl9YrJ6Nix_XvmlwKGFh5ERM;encoding=jwt,aGVsbG8gd29ybGQ;encoding=base64"
+ /// eyJhbGciOiJIUzI1NiJ9.WyJoaSJd.-znkjYyCkgz4djmHUPSXl9YrJ6Nix_XvmlwKGFh5ERM;encoding=jwt,aGVsbG8gd29ybGQ;encoding=base64
[DataMember(Name = "uui", EmitDefaultValue = true)]
public string Uui { get; set; }
@@ -151,7 +151,7 @@ protected CreateCall() { }
/// The id of the application associated with the `from` number.
///
/// The id of the application associated with the `from` number.
- /// "1234-qwer-5679-tyui"
+ /// 1234-qwer-5679-tyui
[DataMember(Name = "applicationId", IsRequired = true, EmitDefaultValue = true)]
public string ApplicationId { get; set; }
@@ -159,7 +159,7 @@ protected CreateCall() { }
/// The full URL to send the <a href='/docs/voice/webhooks/answer'>Answer</a> event to when the called party answers. This endpoint should return the first <a href='/docs/voice/bxml'>BXML document</a> to be executed in the call. Must use `https` if specifying `username` and `password`.
///
/// The full URL to send the <a href='/docs/voice/webhooks/answer'>Answer</a> event to when the called party answers. This endpoint should return the first <a href='/docs/voice/bxml'>BXML document</a> to be executed in the call. Must use `https` if specifying `username` and `password`.
- /// "https://www.myCallbackServer.example/webhooks/answer"
+ /// https://www.myCallbackServer.example/webhooks/answer
[DataMember(Name = "answerUrl", IsRequired = true, EmitDefaultValue = true)]
public string AnswerUrl { get; set; }
@@ -167,7 +167,7 @@ protected CreateCall() { }
/// Basic auth username.
///
/// Basic auth username.
- /// "mySecretUsername"
+ /// mySecretUsername
[DataMember(Name = "username", EmitDefaultValue = true)]
public string Username { get; set; }
@@ -175,7 +175,7 @@ protected CreateCall() { }
/// Basic auth password.
///
/// Basic auth password.
- /// "mySecretPassword1!"
+ /// mySecretPassword1!
[DataMember(Name = "password", EmitDefaultValue = true)]
public string Password { get; set; }
@@ -183,7 +183,7 @@ protected CreateCall() { }
/// A fallback url which, if provided, will be used to retry the `answer` webhook delivery in case `answerUrl` fails to respond Must use `https` if specifying `fallbackUsername` and `fallbackPassword`.
///
/// A fallback url which, if provided, will be used to retry the `answer` webhook delivery in case `answerUrl` fails to respond Must use `https` if specifying `fallbackUsername` and `fallbackPassword`.
- /// "https://www.myFallbackServer.example/webhooks/answer"
+ /// https://www.myFallbackServer.example/webhooks/answer
[DataMember(Name = "answerFallbackUrl", EmitDefaultValue = true)]
public string AnswerFallbackUrl { get; set; }
@@ -191,7 +191,7 @@ protected CreateCall() { }
/// Basic auth username.
///
/// Basic auth username.
- /// "mySecretUsername"
+ /// mySecretUsername
[DataMember(Name = "fallbackUsername", EmitDefaultValue = true)]
public string FallbackUsername { get; set; }
@@ -199,7 +199,7 @@ protected CreateCall() { }
/// Basic auth password.
///
/// Basic auth password.
- /// "mySecretPassword1!"
+ /// mySecretPassword1!
[DataMember(Name = "fallbackPassword", EmitDefaultValue = true)]
public string FallbackPassword { get; set; }
@@ -207,7 +207,7 @@ protected CreateCall() { }
/// The URL to send the <a href='/docs/voice/webhooks/disconnect'>Disconnect</a> event to when the call ends. This event does not expect a BXML response.
///
/// The URL to send the <a href='/docs/voice/webhooks/disconnect'>Disconnect</a> event to when the call ends. This event does not expect a BXML response.
- /// "https://www.myCallbackServer.example/webhooks/disconnect"
+ /// https://www.myCallbackServer.example/webhooks/disconnect
[DataMember(Name = "disconnectUrl", EmitDefaultValue = true)]
public string DisconnectUrl { get; set; }
@@ -245,7 +245,7 @@ protected CreateCall() { }
/// A custom string that will be sent with all webhooks for this call unless overwritten by a future <a href='/docs/voice/bxml/tag'>`<Tag>`</a> verb or `tag` attribute on another verb, or cleared. May be cleared by setting `tag=\"\"` Max length 256 characters.
///
/// A custom string that will be sent with all webhooks for this call unless overwritten by a future <a href='/docs/voice/bxml/tag'>`<Tag>`</a> verb or `tag` attribute on another verb, or cleared. May be cleared by setting `tag=\"\"` Max length 256 characters.
- /// "arbitrary text here"
+ /// arbitrary text here
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/CreateCallResponse.cs b/src/Bandwidth.Standard/Model/CreateCallResponse.cs
index 0e89466b..0dda47f3 100644
--- a/src/Bandwidth.Standard/Model/CreateCallResponse.cs
+++ b/src/Bandwidth.Standard/Model/CreateCallResponse.cs
@@ -143,7 +143,7 @@ protected CreateCallResponse() { }
/// The id of the application associated with the `from` number.
///
/// The id of the application associated with the `from` number.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", IsRequired = true, EmitDefaultValue = true)]
public string ApplicationId { get; set; }
@@ -151,7 +151,7 @@ protected CreateCallResponse() { }
/// The bandwidth account ID associated with the call.
///
/// The bandwidth account ID associated with the call.
- /// "9900000"
+ /// 9900000
[DataMember(Name = "accountId", IsRequired = true, EmitDefaultValue = true)]
public string AccountId { get; set; }
@@ -159,7 +159,7 @@ protected CreateCallResponse() { }
/// Programmable Voice API Call ID.
///
/// Programmable Voice API Call ID.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", IsRequired = true, EmitDefaultValue = true)]
public string CallId { get; set; }
@@ -167,7 +167,7 @@ protected CreateCallResponse() { }
/// Recipient of the outgoing call.
///
/// Recipient of the outgoing call.
- /// "+19195551234"
+ /// +19195551234
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public string To { get; set; }
@@ -175,7 +175,7 @@ protected CreateCallResponse() { }
/// Phone number that created the outbound call.
///
/// Phone number that created the outbound call.
- /// "+19195554321"
+ /// +19195554321
[DataMember(Name = "from", IsRequired = true, EmitDefaultValue = true)]
public string From { get; set; }
@@ -183,7 +183,7 @@ protected CreateCallResponse() { }
/// The time at which the call was accepted into the queue.
///
/// The time at which the call was accepted into the queue.
- /// "2022-06-16T13:15:07.160Z"
+ /// 2022-06-16T13:15:07.160Z
[DataMember(Name = "enqueuedTime", EmitDefaultValue = true)]
public DateTime? EnqueuedTime { get; set; }
@@ -191,7 +191,7 @@ protected CreateCallResponse() { }
/// The URL to update this call's state.
///
/// The URL to update this call's state.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callUrl", IsRequired = true, EmitDefaultValue = true)]
public string CallUrl { get; set; }
@@ -215,7 +215,7 @@ protected CreateCallResponse() { }
/// Custom tag value.
///
/// Custom tag value.
- /// "My custom tag value"
+ /// My custom tag value
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
@@ -223,7 +223,7 @@ protected CreateCallResponse() { }
/// URL to deliver the `answer` event webhook.
///
/// URL to deliver the `answer` event webhook.
- /// "https://myServer.example/bandwidth/webhooks/answer"
+ /// https://myServer.example/bandwidth/webhooks/answer
[DataMember(Name = "answerUrl", IsRequired = true, EmitDefaultValue = true)]
public string AnswerUrl { get; set; }
@@ -231,7 +231,7 @@ protected CreateCallResponse() { }
/// Fallback URL to deliver the `answer` event webhook.
///
/// Fallback URL to deliver the `answer` event webhook.
- /// "https://myFallbackServer.example/bandwidth/webhooks/answer"
+ /// https://myFallbackServer.example/bandwidth/webhooks/answer
[DataMember(Name = "answerFallbackUrl", EmitDefaultValue = true)]
public string AnswerFallbackUrl { get; set; }
@@ -239,7 +239,7 @@ protected CreateCallResponse() { }
/// URL to deliver the `disconnect` event webhook.
///
/// URL to deliver the `disconnect` event webhook.
- /// "https://myServer.example/bandwidth/webhooks/disconnect"
+ /// https://myServer.example/bandwidth/webhooks/disconnect
[DataMember(Name = "disconnectUrl", EmitDefaultValue = true)]
public string DisconnectUrl { get; set; }
@@ -247,7 +247,7 @@ protected CreateCallResponse() { }
/// Basic auth username.
///
/// Basic auth username.
- /// "mySecretUsername"
+ /// mySecretUsername
[DataMember(Name = "username", EmitDefaultValue = true)]
public string Username { get; set; }
@@ -255,7 +255,7 @@ protected CreateCallResponse() { }
/// Basic auth password.
///
/// Basic auth password.
- /// "mySecretPassword1!"
+ /// mySecretPassword1!
[DataMember(Name = "password", EmitDefaultValue = true)]
public string Password { get; set; }
@@ -263,7 +263,7 @@ protected CreateCallResponse() { }
/// Basic auth username.
///
/// Basic auth username.
- /// "mySecretUsername"
+ /// mySecretUsername
[DataMember(Name = "fallbackUsername", EmitDefaultValue = true)]
public string FallbackUsername { get; set; }
@@ -271,7 +271,7 @@ protected CreateCallResponse() { }
/// Basic auth password.
///
/// Basic auth password.
- /// "mySecretPassword1!"
+ /// mySecretPassword1!
[DataMember(Name = "fallbackPassword", EmitDefaultValue = true)]
public string FallbackPassword { get; set; }
diff --git a/src/Bandwidth.Standard/Model/DisconnectCallback.cs b/src/Bandwidth.Standard/Model/DisconnectCallback.cs
index 949225e3..e56d3b27 100644
--- a/src/Bandwidth.Standard/Model/DisconnectCallback.cs
+++ b/src/Bandwidth.Standard/Model/DisconnectCallback.cs
@@ -83,7 +83,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
///
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -98,7 +98,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// The user account associated with the call.
///
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -106,7 +106,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// The id of the application associated with the call.
///
/// The id of the application associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -114,7 +114,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
///
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -122,7 +122,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
///
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -130,7 +130,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// The call id associated with the event.
///
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -138,7 +138,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// The URL of the call associated with the event.
///
/// The URL of the call associated with the event.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callUrl", EmitDefaultValue = false)]
public string CallUrl { get; set; }
@@ -146,7 +146,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
///
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "enqueuedTime", EmitDefaultValue = true)]
public DateTime? EnqueuedTime { get; set; }
@@ -154,7 +154,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// Time the call was started, in ISO 8601 format.
///
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -162,7 +162,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// Time the call was answered, in ISO 8601 format.
///
/// Time the call was answered, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "answerTime", EmitDefaultValue = true)]
public DateTime? AnswerTime { get; set; }
@@ -170,7 +170,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// The time that the recording ended in ISO-8601 format
///
/// The time that the recording ended in ISO-8601 format
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "endTime", EmitDefaultValue = false)]
public DateTime EndTime { get; set; }
@@ -178,7 +178,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown.
///
/// Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown.
- /// "busy"
+ /// busy
[DataMember(Name = "cause", EmitDefaultValue = false)]
public string Cause { get; set; }
@@ -186,7 +186,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// Text explaining the reason that caused the call to fail in case of errors.
///
/// Text explaining the reason that caused the call to fail in case of errors.
- /// "Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call"
+ /// Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call
[DataMember(Name = "errorMessage", EmitDefaultValue = true)]
public string ErrorMessage { get; set; }
@@ -194,7 +194,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// Bandwidth's internal id that references the error event.
///
/// Bandwidth's internal id that references the error event.
- /// "4642074b-7b58-478b-96e4-3a60955c6765"
+ /// 4642074b-7b58-478b-96e4-3a60955c6765
[DataMember(Name = "errorId", EmitDefaultValue = true)]
public string ErrorId { get; set; }
@@ -202,7 +202,7 @@ public partial class DisconnectCallback : IEquatable, IValid
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
///
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/Diversion.cs b/src/Bandwidth.Standard/Model/Diversion.cs
index 37524d94..41cb6c36 100644
--- a/src/Bandwidth.Standard/Model/Diversion.cs
+++ b/src/Bandwidth.Standard/Model/Diversion.cs
@@ -57,7 +57,7 @@ public partial class Diversion : IEquatable, IValidatableObject
/// The reason for the diversion. Common values: unknown, user-busy, no-answer, unavailable, unconditional, time-of-day, do-not-disturb, deflection, follow-me, out-of-service, away.
///
/// The reason for the diversion. Common values: unknown, user-busy, no-answer, unavailable, unconditional, time-of-day, do-not-disturb, deflection, follow-me, out-of-service, away.
- /// "unavailable"
+ /// unavailable
[DataMember(Name = "reason", EmitDefaultValue = false)]
public string Reason { get; set; }
@@ -65,7 +65,7 @@ public partial class Diversion : IEquatable, IValidatableObject
/// off or full
///
/// off or full
- /// "off"
+ /// off
[DataMember(Name = "privacy", EmitDefaultValue = false)]
public string Privacy { get; set; }
@@ -73,7 +73,7 @@ public partial class Diversion : IEquatable, IValidatableObject
/// No if the number was provided by the user, yes if the number was provided by the network
///
/// No if the number was provided by the user, yes if the number was provided by the network
- /// "no"
+ /// no
[DataMember(Name = "screen", EmitDefaultValue = false)]
public string Screen { get; set; }
@@ -81,7 +81,7 @@ public partial class Diversion : IEquatable, IValidatableObject
/// The number of diversions that have occurred
///
/// The number of diversions that have occurred
- /// "2"
+ /// 2
[DataMember(Name = "counter", EmitDefaultValue = false)]
public string Counter { get; set; }
@@ -89,7 +89,7 @@ public partial class Diversion : IEquatable, IValidatableObject
/// The maximum number of diversions allowed for this session
///
/// The maximum number of diversions allowed for this session
- /// "3"
+ /// 3
[DataMember(Name = "limit", EmitDefaultValue = false)]
public string Limit { get; set; }
@@ -97,7 +97,7 @@ public partial class Diversion : IEquatable, IValidatableObject
/// The normal list of values is not exhaustive. Your application must be tolerant of unlisted keys and unlisted values of those keys.
///
/// The normal list of values is not exhaustive. Your application must be tolerant of unlisted keys and unlisted values of those keys.
- /// "unknownValue"
+ /// unknownValue
[DataMember(Name = "unknown", EmitDefaultValue = false)]
public string Unknown { get; set; }
@@ -105,7 +105,7 @@ public partial class Diversion : IEquatable, IValidatableObject
/// Always present. Indicates the last telephone number that the call was diverted from.
///
/// Always present. Indicates the last telephone number that the call was diverted from.
- /// "+15558884444"
+ /// +15558884444
[DataMember(Name = "origTo", EmitDefaultValue = false)]
public string OrigTo { get; set; }
diff --git a/src/Bandwidth.Standard/Model/DtmfCallback.cs b/src/Bandwidth.Standard/Model/DtmfCallback.cs
index 5e1af8ee..843c55af 100644
--- a/src/Bandwidth.Standard/Model/DtmfCallback.cs
+++ b/src/Bandwidth.Standard/Model/DtmfCallback.cs
@@ -83,7 +83,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
///
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -98,7 +98,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The user account associated with the call.
///
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -106,7 +106,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The id of the application associated with the call.
///
/// The id of the application associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -114,7 +114,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
///
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -122,7 +122,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
///
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -130,7 +130,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The call id associated with the event.
///
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -138,7 +138,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The digit collected in the call.
///
/// The digit collected in the call.
- /// "2"
+ /// 2
[DataMember(Name = "digit", EmitDefaultValue = false)]
public string Digit { get; set; }
@@ -146,7 +146,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The URL of the call associated with the event.
///
/// The URL of the call associated with the event.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callUrl", EmitDefaultValue = false)]
public string CallUrl { get; set; }
@@ -154,7 +154,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
///
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "enqueuedTime", EmitDefaultValue = true)]
public DateTime? EnqueuedTime { get; set; }
@@ -162,7 +162,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// Time the call was started, in ISO 8601 format.
///
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -170,7 +170,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// Time the call was answered, in ISO 8601 format.
///
/// Time the call was answered, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "answerTime", EmitDefaultValue = true)]
public DateTime? AnswerTime { get; set; }
@@ -178,7 +178,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present.
///
/// (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present.
- /// "c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d"
+ /// c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d
[DataMember(Name = "parentCallId", EmitDefaultValue = false)]
public string ParentCallId { get; set; }
@@ -186,7 +186,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
///
/// The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "transferCallerId", EmitDefaultValue = false)]
public string TransferCallerId { get; set; }
@@ -194,7 +194,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
///
/// The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
- /// "+15555555555)"
+ /// +15555555555)
[DataMember(Name = "transferTo", EmitDefaultValue = false)]
public string TransferTo { get; set; }
@@ -202,7 +202,7 @@ public partial class DtmfCallback : IEquatable, IValidatableObject
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
///
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/FieldError.cs b/src/Bandwidth.Standard/Model/FieldError.cs
index 8e186a11..dbb3dd14 100644
--- a/src/Bandwidth.Standard/Model/FieldError.cs
+++ b/src/Bandwidth.Standard/Model/FieldError.cs
@@ -47,7 +47,7 @@ public partial class FieldError : IEquatable, IValidatableObject
/// The name of the field that contains the error
///
/// The name of the field that contains the error
- /// "from"
+ /// from
[DataMember(Name = "fieldName", EmitDefaultValue = false)]
public string FieldName { get; set; }
@@ -55,7 +55,7 @@ public partial class FieldError : IEquatable, IValidatableObject
/// The error associated with the field
///
/// The error associated with the field
- /// "'+invalid' must be replaced with a valid E164 formatted telephone number"
+ /// '+invalid' must be replaced with a valid E164 formatted telephone number
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }
diff --git a/src/Bandwidth.Standard/Model/FileFormatEnum.cs b/src/Bandwidth.Standard/Model/FileFormatEnum.cs
index a684f32b..2a33c4f6 100644
--- a/src/Bandwidth.Standard/Model/FileFormatEnum.cs
+++ b/src/Bandwidth.Standard/Model/FileFormatEnum.cs
@@ -44,7 +44,6 @@ public enum FileFormatEnum
///
[EnumMember(Value = "wav")]
Wav = 2
-
}
}
diff --git a/src/Bandwidth.Standard/Model/GatherCallback.cs b/src/Bandwidth.Standard/Model/GatherCallback.cs
index 75bd5e23..92bf8c0d 100644
--- a/src/Bandwidth.Standard/Model/GatherCallback.cs
+++ b/src/Bandwidth.Standard/Model/GatherCallback.cs
@@ -85,7 +85,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
///
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -100,7 +100,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// The user account associated with the call.
///
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -108,7 +108,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// The id of the application associated with the call.
///
/// The id of the application associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -116,7 +116,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
///
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -124,7 +124,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
///
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -132,7 +132,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// The call id associated with the event.
///
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -140,7 +140,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// (optional) The digits, letters, and/or symbols entered by the user. The string is empty if a timeout occurred before any buttons were pressed.
///
/// (optional) The digits, letters, and/or symbols entered by the user. The string is empty if a timeout occurred before any buttons were pressed.
- /// "123"
+ /// 123
[DataMember(Name = "digits", EmitDefaultValue = false)]
public string Digits { get; set; }
@@ -148,7 +148,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// The URL of the call associated with the event.
///
/// The URL of the call associated with the event.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callUrl", EmitDefaultValue = false)]
public string CallUrl { get; set; }
@@ -156,7 +156,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
///
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "enqueuedTime", EmitDefaultValue = true)]
public DateTime? EnqueuedTime { get; set; }
@@ -164,7 +164,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// Time the call was started, in ISO 8601 format.
///
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -172,7 +172,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// Time the call was answered, in ISO 8601 format.
///
/// Time the call was answered, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "answerTime", EmitDefaultValue = true)]
public DateTime? AnswerTime { get; set; }
@@ -180,7 +180,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present.
///
/// (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present.
- /// "c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d"
+ /// c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d
[DataMember(Name = "parentCallId", EmitDefaultValue = false)]
public string ParentCallId { get; set; }
@@ -188,7 +188,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// (optional) The digit the user pressed to end the gather. Empty string value if no terminating digit was pressed.
///
/// (optional) The digit the user pressed to end the gather. Empty string value if no terminating digit was pressed.
- /// "#"
+ /// #
[DataMember(Name = "terminatingDigit", EmitDefaultValue = false)]
public string TerminatingDigit { get; set; }
@@ -196,7 +196,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
///
/// The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "transferCallerId", EmitDefaultValue = false)]
public string TransferCallerId { get; set; }
@@ -204,7 +204,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
///
/// The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
- /// "+15555555555)"
+ /// +15555555555)
[DataMember(Name = "transferTo", EmitDefaultValue = false)]
public string TransferTo { get; set; }
@@ -212,7 +212,7 @@ public partial class GatherCallback : IEquatable, IValidatableOb
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
///
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/InboundMessageCallback.cs b/src/Bandwidth.Standard/Model/InboundMessageCallback.cs
index e3aef9f5..82843b10 100644
--- a/src/Bandwidth.Standard/Model/InboundMessageCallback.cs
+++ b/src/Bandwidth.Standard/Model/InboundMessageCallback.cs
@@ -77,28 +77,28 @@ protected InboundMessageCallback() { }
///
/// Gets or Sets Time
///
- /// "2016-09-14T18:20:16Z"
+ /// 2016-09-14T18:20:16Z
[DataMember(Name = "time", IsRequired = true, EmitDefaultValue = true)]
public DateTime Time { get; set; }
///
/// Gets or Sets Type
///
- /// "message-received"
+ /// message-received
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
///
/// Gets or Sets To
///
- /// "+15552223333"
+ /// +15552223333
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public string To { get; set; }
///
/// Gets or Sets Description
///
- /// "Incoming message received"
+ /// Incoming message received
[DataMember(Name = "description", IsRequired = true, EmitDefaultValue = true)]
public string Description { get; set; }
diff --git a/src/Bandwidth.Standard/Model/InboundMessageCallbackMessage.cs b/src/Bandwidth.Standard/Model/InboundMessageCallbackMessage.cs
index e3d668e8..cda1499b 100644
--- a/src/Bandwidth.Standard/Model/InboundMessageCallbackMessage.cs
+++ b/src/Bandwidth.Standard/Model/InboundMessageCallbackMessage.cs
@@ -113,28 +113,28 @@ protected InboundMessageCallbackMessage() { }
///
/// Gets or Sets Id
///
- /// "1661365814859loidf7mcwd4qacn7"
+ /// 1661365814859loidf7mcwd4qacn7
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public string Id { get; set; }
///
/// Gets or Sets Owner
///
- /// "+15553332222"
+ /// +15553332222
[DataMember(Name = "owner", IsRequired = true, EmitDefaultValue = true)]
public string Owner { get; set; }
///
/// Gets or Sets ApplicationId
///
- /// "93de2206-9669-4e07-948d-329f4b722ee2"
+ /// 93de2206-9669-4e07-948d-329f4b722ee2
[DataMember(Name = "applicationId", IsRequired = true, EmitDefaultValue = true)]
public string ApplicationId { get; set; }
///
/// Gets or Sets Time
///
- /// "2016-09-14T18:20:16Z"
+ /// 2016-09-14T18:20:16Z
[DataMember(Name = "time", IsRequired = true, EmitDefaultValue = true)]
public DateTime Time { get; set; }
@@ -148,33 +148,35 @@ protected InboundMessageCallbackMessage() { }
///
/// Gets or Sets To
///
+ /// ["+15552223333"]
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public List To { get; set; }
///
/// Gets or Sets From
///
- /// "+15553332222"
+ /// +15553332222
[DataMember(Name = "from", IsRequired = true, EmitDefaultValue = true)]
public string From { get; set; }
///
/// Gets or Sets Text
///
- /// "Hello world"
+ /// Hello world
[DataMember(Name = "text", IsRequired = true, EmitDefaultValue = true)]
public string Text { get; set; }
///
/// Gets or Sets Tag
///
- /// "custom string"
+ /// custom string
[DataMember(Name = "tag", EmitDefaultValue = false)]
public string Tag { get; set; }
///
/// Gets or Sets Media
///
+ /// ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"]
[DataMember(Name = "media", EmitDefaultValue = false)]
public List Media { get; set; }
diff --git a/src/Bandwidth.Standard/Model/InitiateCallback.cs b/src/Bandwidth.Standard/Model/InitiateCallback.cs
index 136502f3..c9308ec5 100644
--- a/src/Bandwidth.Standard/Model/InitiateCallback.cs
+++ b/src/Bandwidth.Standard/Model/InitiateCallback.cs
@@ -73,7 +73,7 @@ public partial class InitiateCallback : IEquatable, IValidatab
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
///
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -88,7 +88,7 @@ public partial class InitiateCallback : IEquatable, IValidatab
/// The user account associated with the call.
///
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -96,7 +96,7 @@ public partial class InitiateCallback : IEquatable, IValidatab
/// The id of the application associated with the call.
///
/// The id of the application associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -104,7 +104,7 @@ public partial class InitiateCallback : IEquatable, IValidatab
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
///
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -112,7 +112,7 @@ public partial class InitiateCallback : IEquatable, IValidatab
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
///
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -120,7 +120,7 @@ public partial class InitiateCallback : IEquatable, IValidatab
/// The call id associated with the event.
///
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -128,7 +128,7 @@ public partial class InitiateCallback : IEquatable, IValidatab
/// The URL of the call associated with the event.
///
/// The URL of the call associated with the event.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callUrl", EmitDefaultValue = false)]
public string CallUrl { get; set; }
@@ -136,7 +136,7 @@ public partial class InitiateCallback : IEquatable, IValidatab
/// Time the call was started, in ISO 8601 format.
///
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
diff --git a/src/Bandwidth.Standard/Model/ListMessageDirectionEnum.cs b/src/Bandwidth.Standard/Model/ListMessageDirectionEnum.cs
index 193a198a..6cf075c9 100644
--- a/src/Bandwidth.Standard/Model/ListMessageDirectionEnum.cs
+++ b/src/Bandwidth.Standard/Model/ListMessageDirectionEnum.cs
@@ -44,7 +44,6 @@ public enum ListMessageDirectionEnum
///
[EnumMember(Value = "OUTBOUND")]
OUTBOUND = 2
-
}
}
diff --git a/src/Bandwidth.Standard/Model/ListMessageItem.cs b/src/Bandwidth.Standard/Model/ListMessageItem.cs
index bf9d7087..d11049ba 100644
--- a/src/Bandwidth.Standard/Model/ListMessageItem.cs
+++ b/src/Bandwidth.Standard/Model/ListMessageItem.cs
@@ -95,7 +95,7 @@ public partial class ListMessageItem : IEquatable, IValidatable
/// The message id
///
/// The message id
- /// "1589228074636lm4k2je7j7jklbn2"
+ /// 1589228074636lm4k2je7j7jklbn2
[DataMember(Name = "messageId", EmitDefaultValue = false)]
public string MessageId { get; set; }
@@ -103,7 +103,7 @@ public partial class ListMessageItem : IEquatable, IValidatable
/// The account id associated with this message.
///
/// The account id associated with this message.
- /// "9900000"
+ /// 9900000
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -111,7 +111,7 @@ public partial class ListMessageItem : IEquatable, IValidatable
/// The source phone number of the message.
///
/// The source phone number of the message.
- /// "+15554443333"
+ /// +15554443333
[DataMember(Name = "sourceTn", EmitDefaultValue = false)]
public string SourceTn { get; set; }
@@ -119,7 +119,7 @@ public partial class ListMessageItem : IEquatable, IValidatable
/// The recipient phone number of the message.
///
/// The recipient phone number of the message.
- /// "+15554442222"
+ /// +15554442222
[DataMember(Name = "destinationTn", EmitDefaultValue = false)]
public string DestinationTn { get; set; }
@@ -143,7 +143,7 @@ public partial class ListMessageItem : IEquatable, IValidatable
/// The ISO 8601 datetime of the message.
///
/// The ISO 8601 datetime of the message.
- /// "2020-04-07T14:03:07Z"
+ /// 2020-04-07T14:03:07Z
[DataMember(Name = "receiveTime", EmitDefaultValue = false)]
public DateTime ReceiveTime { get; set; }
@@ -151,7 +151,7 @@ public partial class ListMessageItem : IEquatable, IValidatable
/// The name of the carrier. Not currently supported for MMS coming soon.
///
/// The name of the carrier. Not currently supported for MMS coming soon.
- /// "other"
+ /// other
[DataMember(Name = "carrierName", EmitDefaultValue = true)]
public string CarrierName { get; set; }
@@ -191,7 +191,7 @@ public partial class ListMessageItem : IEquatable, IValidatable
/// The campaign class of the message if it has one.
///
/// The campaign class of the message if it has one.
- /// "T"
+ /// T
[DataMember(Name = "campaignClass", EmitDefaultValue = true)]
public string CampaignClass { get; set; }
@@ -199,7 +199,7 @@ public partial class ListMessageItem : IEquatable, IValidatable
/// The campaign ID of the message if it has one.
///
/// The campaign ID of the message if it has one.
- /// "CJEUMDK"
+ /// CJEUMDK
[DataMember(Name = "campaignId", EmitDefaultValue = true)]
public string CampaignId { get; set; }
diff --git a/src/Bandwidth.Standard/Model/LookupResult.cs b/src/Bandwidth.Standard/Model/LookupResult.cs
index 5ad640ba..1c076863 100644
--- a/src/Bandwidth.Standard/Model/LookupResult.cs
+++ b/src/Bandwidth.Standard/Model/LookupResult.cs
@@ -69,7 +69,7 @@ public partial class LookupResult : IEquatable, IValidatableObject
/// Message associated with the response code.
///
/// Message associated with the response code.
- /// "NOERROR"
+ /// NOERROR
[DataMember(Name = "Message", EmitDefaultValue = false)]
public string Message { get; set; }
@@ -77,7 +77,7 @@ public partial class LookupResult : IEquatable, IValidatableObject
/// The telephone number in E.164 format.
///
/// The telephone number in E.164 format.
- /// "+19195551234"
+ /// +19195551234
[DataMember(Name = "E.164 Format", EmitDefaultValue = false)]
public string E164Format { get; set; }
@@ -85,7 +85,7 @@ public partial class LookupResult : IEquatable, IValidatableObject
/// The formatted version of the telephone number.
///
/// The formatted version of the telephone number.
- /// "(919) 555-1234"
+ /// (919) 555-1234
[DataMember(Name = "Formatted", EmitDefaultValue = false)]
public string Formatted { get; set; }
@@ -93,7 +93,7 @@ public partial class LookupResult : IEquatable, IValidatableObject
/// The country of the telephone number.
///
/// The country of the telephone number.
- /// "US"
+ /// US
[DataMember(Name = "Country", EmitDefaultValue = false)]
public string Country { get; set; }
@@ -101,7 +101,7 @@ public partial class LookupResult : IEquatable, IValidatableObject
/// The line type of the telephone number.
///
/// The line type of the telephone number.
- /// "Mobile"
+ /// Mobile
[DataMember(Name = "Line Type", EmitDefaultValue = false)]
public string LineType { get; set; }
@@ -109,7 +109,7 @@ public partial class LookupResult : IEquatable, IValidatableObject
/// The messaging service provider of the telephone number.
///
/// The messaging service provider of the telephone number.
- /// "Verizon Wireless"
+ /// Verizon Wireless
[DataMember(Name = "Line Provider", EmitDefaultValue = false)]
public string LineProvider { get; set; }
@@ -117,7 +117,7 @@ public partial class LookupResult : IEquatable, IValidatableObject
/// The first half of the Home Network Identity (HNI).
///
/// The first half of the Home Network Identity (HNI).
- /// "310"
+ /// 310
[DataMember(Name = "Mobile Country Code", EmitDefaultValue = false)]
public string MobileCountryCode { get; set; }
@@ -125,7 +125,7 @@ public partial class LookupResult : IEquatable, IValidatableObject
/// The second half of the HNI.
///
/// The second half of the HNI.
- /// "010"
+ /// 010
[DataMember(Name = "Mobile Network Code", EmitDefaultValue = false)]
public string MobileNetworkCode { get; set; }
diff --git a/src/Bandwidth.Standard/Model/LookupStatus.cs b/src/Bandwidth.Standard/Model/LookupStatus.cs
index 536e00dd..c8b2f2a1 100644
--- a/src/Bandwidth.Standard/Model/LookupStatus.cs
+++ b/src/Bandwidth.Standard/Model/LookupStatus.cs
@@ -57,7 +57,7 @@ public partial class LookupStatus : IEquatable, IValidatableObject
/// The requestId.
///
/// The requestId.
- /// "004223a0-8b17-41b1-bf81-20732adf5590"
+ /// 004223a0-8b17-41b1-bf81-20732adf5590
[DataMember(Name = "requestId", EmitDefaultValue = false)]
public string RequestId { get; set; }
@@ -72,6 +72,7 @@ public partial class LookupStatus : IEquatable, IValidatableObject
/// The telephone numbers whose lookup failed.
///
/// The telephone numbers whose lookup failed.
+ /// ["+191955512345"]
[DataMember(Name = "failedTelephoneNumbers", EmitDefaultValue = false)]
public List FailedTelephoneNumbers { get; set; }
diff --git a/src/Bandwidth.Standard/Model/LookupStatusEnum.cs b/src/Bandwidth.Standard/Model/LookupStatusEnum.cs
index 9326ce38..c6106aa6 100644
--- a/src/Bandwidth.Standard/Model/LookupStatusEnum.cs
+++ b/src/Bandwidth.Standard/Model/LookupStatusEnum.cs
@@ -56,7 +56,6 @@ public enum LookupStatusEnum
///
[EnumMember(Value = "FAILED")]
FAILED = 4
-
}
}
diff --git a/src/Bandwidth.Standard/Model/MachineDetectionCompleteCallback.cs b/src/Bandwidth.Standard/Model/MachineDetectionCompleteCallback.cs
index ce38dcc3..a6de25f6 100644
--- a/src/Bandwidth.Standard/Model/MachineDetectionCompleteCallback.cs
+++ b/src/Bandwidth.Standard/Model/MachineDetectionCompleteCallback.cs
@@ -77,7 +77,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
- /// "bridgeComplete"
+ /// bridgeComplete
[DataMember(Name = "eventType", EmitDefaultValue = false)]
public string EventType { get; set; }
@@ -92,7 +92,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// The user account associated with the call.
- /// "920012"
+ /// 920012
[DataMember(Name = "accountId", EmitDefaultValue = false)]
public string AccountId { get; set; }
@@ -100,7 +100,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// The id of the application associated with the call.
- /// "04e88489-df02-4e34-a0ee-27a91849555f"
+ /// 04e88489-df02-4e34-a0ee-27a91849555f
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -108,7 +108,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous.
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -116,7 +116,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// The phone number that received the call, in E.164 format (e.g. +15555555555).
- /// "+15555555555"
+ /// +15555555555
[DataMember(Name = "to", EmitDefaultValue = false)]
public string To { get; set; }
@@ -124,7 +124,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// The call id associated with the event.
- /// "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callId", EmitDefaultValue = false)]
public string CallId { get; set; }
@@ -132,7 +132,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// The URL of the call associated with the event.
- /// "https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"
+ /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
[DataMember(Name = "callUrl", EmitDefaultValue = false)]
public string CallUrl { get; set; }
@@ -140,7 +140,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "enqueuedTime", EmitDefaultValue = true)]
public DateTime? EnqueuedTime { get; set; }
@@ -148,7 +148,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// Time the call was started, in ISO 8601 format.
- /// "2022-06-17T22:19:40.375Z"
+ /// 2022-06-17T22:19:40.375Z
[DataMember(Name = "startTime", EmitDefaultValue = false)]
public DateTime StartTime { get; set; }
@@ -156,7 +156,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// Time the call was answered, in ISO 8601 format.
- /// "2022-06-17T22:20Z"
+ /// 2022-06-17T22:20Z
[DataMember(Name = "answerTime", EmitDefaultValue = true)]
public DateTime? AnswerTime { get; set; }
@@ -164,7 +164,7 @@ public partial class MachineDetectionCompleteCallback : IEquatable
/// (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
- /// "exampleTag"
+ /// exampleTag
[DataMember(Name = "tag", EmitDefaultValue = true)]
public string Tag { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MachineDetectionConfiguration.cs b/src/Bandwidth.Standard/Model/MachineDetectionConfiguration.cs
index f880f901..f574aed6 100644
--- a/src/Bandwidth.Standard/Model/MachineDetectionConfiguration.cs
+++ b/src/Bandwidth.Standard/Model/MachineDetectionConfiguration.cs
@@ -144,7 +144,7 @@ public partial class MachineDetectionConfiguration : IEquatable
/// The URL to send the 'machineDetectionComplete' webhook when the detection is completed. Only for 'async' mode.
- /// "https://myServer.example/bandwidth/webhooks/machineDetectionComplete"
+ /// https://myServer.example/bandwidth/webhooks/machineDetectionComplete
[DataMember(Name = "callbackUrl", EmitDefaultValue = true)]
public string CallbackUrl { get; set; }
@@ -152,7 +152,7 @@ public partial class MachineDetectionConfiguration : IEquatable
/// Basic auth username.
- /// "mySecretUsername"
+ /// mySecretUsername
[DataMember(Name = "username", EmitDefaultValue = true)]
public string Username { get; set; }
@@ -160,7 +160,7 @@ public partial class MachineDetectionConfiguration : IEquatable
/// Basic auth password.
- /// "mySecretPassword1!"
+ /// mySecretPassword1!
[DataMember(Name = "password", EmitDefaultValue = true)]
public string Password { get; set; }
@@ -168,7 +168,7 @@ public partial class MachineDetectionConfiguration : IEquatable
/// A fallback URL which, if provided, will be used to retry the machine detection complete webhook delivery in case `callbackUrl` fails to respond
- /// "https://myFallbackServer.example/bandwidth/webhooks/machineDetectionComplete"
+ /// https://myFallbackServer.example/bandwidth/webhooks/machineDetectionComplete
[DataMember(Name = "fallbackUrl", EmitDefaultValue = true)]
public string FallbackUrl { get; set; }
@@ -176,7 +176,7 @@ public partial class MachineDetectionConfiguration : IEquatable
/// Basic auth username.
- /// "mySecretUsername"
+ /// mySecretUsername
[DataMember(Name = "fallbackUsername", EmitDefaultValue = true)]
public string FallbackUsername { get; set; }
@@ -184,7 +184,7 @@ public partial class MachineDetectionConfiguration : IEquatable
/// Basic auth password.
- /// "mySecretPassword1!"
+ /// mySecretPassword1!
[DataMember(Name = "fallbackPassword", EmitDefaultValue = true)]
public string FallbackPassword { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MachineDetectionModeEnum.cs b/src/Bandwidth.Standard/Model/MachineDetectionModeEnum.cs
index db576c17..2356cb78 100644
--- a/src/Bandwidth.Standard/Model/MachineDetectionModeEnum.cs
+++ b/src/Bandwidth.Standard/Model/MachineDetectionModeEnum.cs
@@ -44,7 +44,6 @@ public enum MachineDetectionModeEnum
///
[EnumMember(Value = "async")]
Async = 2
-
}
}
diff --git a/src/Bandwidth.Standard/Model/MachineDetectionResult.cs b/src/Bandwidth.Standard/Model/MachineDetectionResult.cs
index 01eea680..b65fc622 100644
--- a/src/Bandwidth.Standard/Model/MachineDetectionResult.cs
+++ b/src/Bandwidth.Standard/Model/MachineDetectionResult.cs
@@ -47,7 +47,7 @@ public partial class MachineDetectionResult : IEquatable
/// Possible values are answering-machine, human, silence, timeout, or error.
///
/// Possible values are answering-machine, human, silence, timeout, or error.
- /// "answering-machine"
+ /// answering-machine
[DataMember(Name = "value", EmitDefaultValue = false)]
public string Value { get; set; }
@@ -55,7 +55,7 @@ public partial class MachineDetectionResult : IEquatable
/// The amount of time it took to determine the result.
///
/// The amount of time it took to determine the result.
- /// "PT4.9891287S"
+ /// PT4.9891287S
[DataMember(Name = "duration", EmitDefaultValue = false)]
public string Duration { get; set; }
diff --git a/src/Bandwidth.Standard/Model/Message.cs b/src/Bandwidth.Standard/Model/Message.cs
index b2fa51de..c2654950 100644
--- a/src/Bandwidth.Standard/Model/Message.cs
+++ b/src/Bandwidth.Standard/Model/Message.cs
@@ -81,7 +81,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The id of the message.
///
/// The id of the message.
- /// "1589228074636lm4k2je7j7jklbn2"
+ /// 1589228074636lm4k2je7j7jklbn2
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
@@ -89,7 +89,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The Bandwidth phone number associated with the message.
///
/// The Bandwidth phone number associated with the message.
- /// "+15554443333"
+ /// +15554443333
[DataMember(Name = "owner", EmitDefaultValue = false)]
public string Owner { get; set; }
@@ -97,7 +97,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The application ID associated with the message.
///
/// The application ID associated with the message.
- /// "93de2206-9669-4e07-948d-329f4b722ee2"
+ /// 93de2206-9669-4e07-948d-329f4b722ee2
[DataMember(Name = "applicationId", EmitDefaultValue = false)]
public string ApplicationId { get; set; }
@@ -105,7 +105,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The datetime stamp of the message in ISO 8601
///
/// The datetime stamp of the message in ISO 8601
- /// "2022-09-14T18:20:16Z"
+ /// 2022-09-14T18:20:16Z
[DataMember(Name = "time", EmitDefaultValue = false)]
public DateTime Time { get; set; }
@@ -121,6 +121,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The phone number recipients of the message.
///
/// The phone number recipients of the message.
+ /// ["+15552223333"]
[DataMember(Name = "to", EmitDefaultValue = false)]
public List To { get; set; }
@@ -128,7 +129,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The phone number the message was sent from.
///
/// The phone number the message was sent from.
- /// "+15553332222"
+ /// +15553332222
[DataMember(Name = "from", EmitDefaultValue = false)]
public string From { get; set; }
@@ -136,6 +137,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The list of media URLs sent in the message. Including a `filename` field in the `Content-Disposition` header of the media linked with a URL will set the displayed file name. This is a best practice to ensure that your media has a readable file name.
///
/// The list of media URLs sent in the message. Including a `filename` field in the `Content-Disposition` header of the media linked with a URL will set the displayed file name. This is a best practice to ensure that your media has a readable file name.
+ /// ["https://dev.bandwidth.com/images/bandwidth-logo.png"]
[DataMember(Name = "media", EmitDefaultValue = false)]
public List Media { get; set; }
@@ -143,7 +145,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The contents of the message.
///
/// The contents of the message.
- /// "Hello world"
+ /// Hello world
[DataMember(Name = "text", EmitDefaultValue = false)]
public string Text { get; set; }
@@ -151,7 +153,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The custom string set by the user.
///
/// The custom string set by the user.
- /// "custom tag"
+ /// custom tag
[DataMember(Name = "tag", EmitDefaultValue = false)]
public string Tag { get; set; }
@@ -159,7 +161,7 @@ public partial class Message : IEquatable, IValidatableObject
/// The expiration date-time set by the user.
///
/// The expiration date-time set by the user.
- /// "2021-02-01T11:29:18-05:00"
+ /// 2021-02-01T11:29:18-05:00
[DataMember(Name = "expiration", EmitDefaultValue = false)]
public DateTime Expiration { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MessageDeliveredCallback.cs b/src/Bandwidth.Standard/Model/MessageDeliveredCallback.cs
index e0086965..9a65c9da 100644
--- a/src/Bandwidth.Standard/Model/MessageDeliveredCallback.cs
+++ b/src/Bandwidth.Standard/Model/MessageDeliveredCallback.cs
@@ -77,28 +77,28 @@ protected MessageDeliveredCallback() { }
///
/// Gets or Sets Time
///
- /// "2016-09-14T18:20:16Z"
+ /// 2016-09-14T18:20:16Z
[DataMember(Name = "time", IsRequired = true, EmitDefaultValue = true)]
public DateTime Time { get; set; }
///
/// Gets or Sets Type
///
- /// "message-delivered"
+ /// message-delivered
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
///
/// Gets or Sets To
///
- /// "+15552223333"
+ /// +15552223333
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public string To { get; set; }
///
/// Gets or Sets Description
///
- /// "Message delivered to carrier."
+ /// Message delivered to carrier.
[DataMember(Name = "description", IsRequired = true, EmitDefaultValue = true)]
public string Description { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MessageDeliveredCallbackMessage.cs b/src/Bandwidth.Standard/Model/MessageDeliveredCallbackMessage.cs
index 6fe9b015..19269577 100644
--- a/src/Bandwidth.Standard/Model/MessageDeliveredCallbackMessage.cs
+++ b/src/Bandwidth.Standard/Model/MessageDeliveredCallbackMessage.cs
@@ -118,28 +118,28 @@ protected MessageDeliveredCallbackMessage() { }
///
/// Gets or Sets Id
///
- /// "1661365814859loidf7mcwd4qacn7"
+ /// 1661365814859loidf7mcwd4qacn7
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public string Id { get; set; }
///
/// Gets or Sets Owner
///
- /// "+15553332222"
+ /// +15553332222
[DataMember(Name = "owner", IsRequired = true, EmitDefaultValue = true)]
public string Owner { get; set; }
///
/// Gets or Sets ApplicationId
///
- /// "93de2206-9669-4e07-948d-329f4b722ee2"
+ /// 93de2206-9669-4e07-948d-329f4b722ee2
[DataMember(Name = "applicationId", IsRequired = true, EmitDefaultValue = true)]
public string ApplicationId { get; set; }
///
/// Gets or Sets Time
///
- /// "2016-09-14T18:20:16Z"
+ /// 2016-09-14T18:20:16Z
[DataMember(Name = "time", IsRequired = true, EmitDefaultValue = true)]
public DateTime Time { get; set; }
@@ -153,33 +153,35 @@ protected MessageDeliveredCallbackMessage() { }
///
/// Gets or Sets To
///
+ /// ["+15552223333"]
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public List To { get; set; }
///
/// Gets or Sets From
///
- /// "+15553332222"
+ /// +15553332222
[DataMember(Name = "from", IsRequired = true, EmitDefaultValue = true)]
public string From { get; set; }
///
/// Gets or Sets Text
///
- /// "Hello world"
+ /// Hello world
[DataMember(Name = "text", IsRequired = true, EmitDefaultValue = true)]
public string Text { get; set; }
///
/// Gets or Sets Tag
///
- /// "custom string"
+ /// custom string
[DataMember(Name = "tag", IsRequired = true, EmitDefaultValue = true)]
public string Tag { get; set; }
///
/// Gets or Sets Media
///
+ /// ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"]
[DataMember(Name = "media", EmitDefaultValue = false)]
public List Media { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MessageDirectionEnum.cs b/src/Bandwidth.Standard/Model/MessageDirectionEnum.cs
index a6062c0c..bfab2a56 100644
--- a/src/Bandwidth.Standard/Model/MessageDirectionEnum.cs
+++ b/src/Bandwidth.Standard/Model/MessageDirectionEnum.cs
@@ -44,7 +44,6 @@ public enum MessageDirectionEnum
///
[EnumMember(Value = "out")]
Out = 2
-
}
}
diff --git a/src/Bandwidth.Standard/Model/MessageFailedCallback.cs b/src/Bandwidth.Standard/Model/MessageFailedCallback.cs
index f02bb680..398a61fb 100644
--- a/src/Bandwidth.Standard/Model/MessageFailedCallback.cs
+++ b/src/Bandwidth.Standard/Model/MessageFailedCallback.cs
@@ -79,28 +79,28 @@ protected MessageFailedCallback() { }
///
/// Gets or Sets Time
///
- /// "2016-09-14T18:20:16Z"
+ /// 2016-09-14T18:20:16Z
[DataMember(Name = "time", IsRequired = true, EmitDefaultValue = true)]
public DateTime Time { get; set; }
///
/// Gets or Sets Type
///
- /// "message-failed"
+ /// message-failed
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
///
/// Gets or Sets To
///
- /// "+15552223333"
+ /// +15552223333
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public string To { get; set; }
///
/// Gets or Sets Description
///
- /// "rejected-unallocated-from-number"
+ /// rejected-unallocated-from-number
[DataMember(Name = "description", IsRequired = true, EmitDefaultValue = true)]
public string Description { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MessageFailedCallbackMessage.cs b/src/Bandwidth.Standard/Model/MessageFailedCallbackMessage.cs
index aa0a5321..0d22a059 100644
--- a/src/Bandwidth.Standard/Model/MessageFailedCallbackMessage.cs
+++ b/src/Bandwidth.Standard/Model/MessageFailedCallbackMessage.cs
@@ -118,28 +118,28 @@ protected MessageFailedCallbackMessage() { }
///
/// Gets or Sets Id
///
- /// "1661365814859loidf7mcwd4qacn7"
+ /// 1661365814859loidf7mcwd4qacn7
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public string Id { get; set; }
///
/// Gets or Sets Owner
///
- /// "+15553332222"
+ /// +15553332222
[DataMember(Name = "owner", IsRequired = true, EmitDefaultValue = true)]
public string Owner { get; set; }
///
/// Gets or Sets ApplicationId
///
- /// "93de2206-9669-4e07-948d-329f4b722ee2"
+ /// 93de2206-9669-4e07-948d-329f4b722ee2
[DataMember(Name = "applicationId", IsRequired = true, EmitDefaultValue = true)]
public string ApplicationId { get; set; }
///
/// Gets or Sets Time
///
- /// "2016-09-14T18:20:16Z"
+ /// 2016-09-14T18:20:16Z
[DataMember(Name = "time", IsRequired = true, EmitDefaultValue = true)]
public DateTime Time { get; set; }
@@ -153,33 +153,35 @@ protected MessageFailedCallbackMessage() { }
///
/// Gets or Sets To
///
+ /// ["+15552223333"]
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public List To { get; set; }
///
/// Gets or Sets From
///
- /// "+15553332222"
+ /// +15553332222
[DataMember(Name = "from", IsRequired = true, EmitDefaultValue = true)]
public string From { get; set; }
///
/// Gets or Sets Text
///
- /// "Hello world"
+ /// Hello world
[DataMember(Name = "text", IsRequired = true, EmitDefaultValue = true)]
public string Text { get; set; }
///
/// Gets or Sets Tag
///
- /// "custom string"
+ /// custom string
[DataMember(Name = "tag", IsRequired = true, EmitDefaultValue = true)]
public string Tag { get; set; }
///
/// Gets or Sets Media
///
+ /// ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"]
[DataMember(Name = "media", EmitDefaultValue = false)]
public List Media { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MessageRequest.cs b/src/Bandwidth.Standard/Model/MessageRequest.cs
index 865abc7d..10a0adc0 100644
--- a/src/Bandwidth.Standard/Model/MessageRequest.cs
+++ b/src/Bandwidth.Standard/Model/MessageRequest.cs
@@ -85,7 +85,7 @@ protected MessageRequest() { }
/// The ID of the Application your from number is associated with in the Bandwidth Phone Number Dashboard.
///
/// The ID of the Application your from number is associated with in the Bandwidth Phone Number Dashboard.
- /// "93de2206-9669-4e07-948d-329f4b722ee2"
+ /// 93de2206-9669-4e07-948d-329f4b722ee2
[DataMember(Name = "applicationId", IsRequired = true, EmitDefaultValue = true)]
public string ApplicationId { get; set; }
@@ -93,6 +93,7 @@ protected MessageRequest() { }
/// The phone number(s) the message should be sent to in E164 format.
///
/// The phone number(s) the message should be sent to in E164 format.
+ /// ["+15554443333","+15552223333"]
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public List To { get; set; }
@@ -100,7 +101,7 @@ protected MessageRequest() { }
/// One of your telephone numbers the message should come from in E164 format.
///
/// One of your telephone numbers the message should come from in E164 format.
- /// "+15551113333"
+ /// +15551113333
[DataMember(Name = "from", IsRequired = true, EmitDefaultValue = true)]
public string From { get; set; }
@@ -108,7 +109,7 @@ protected MessageRequest() { }
/// The contents of the text message. Must be 2048 characters or less.
///
/// The contents of the text message. Must be 2048 characters or less.
- /// "Hello world"
+ /// Hello world
[DataMember(Name = "text", EmitDefaultValue = false)]
public string Text { get; set; }
@@ -116,6 +117,7 @@ protected MessageRequest() { }
/// A list of URLs to include as media attachments as part of the message. Each URL can be at most 4096 characters.
///
/// A list of URLs to include as media attachments as part of the message. Each URL can be at most 4096 characters.
+ /// ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"]
[DataMember(Name = "media", EmitDefaultValue = false)]
public List Media { get; set; }
@@ -123,7 +125,7 @@ protected MessageRequest() { }
/// A custom string that will be included in callback events of the message. Max 1024 characters.
///
/// A custom string that will be included in callback events of the message. Max 1024 characters.
- /// "custom string"
+ /// custom string
[DataMember(Name = "tag", EmitDefaultValue = false)]
public string Tag { get; set; }
@@ -131,7 +133,7 @@ protected MessageRequest() { }
/// A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. Not supported on MMS.
///
/// A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. Not supported on MMS.
- /// "2021-02-01T11:29:18-05:00"
+ /// 2021-02-01T11:29:18-05:00
[DataMember(Name = "expiration", EmitDefaultValue = false)]
public DateTime Expiration { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MessageSendingCallback.cs b/src/Bandwidth.Standard/Model/MessageSendingCallback.cs
index e282b98e..e3775a86 100644
--- a/src/Bandwidth.Standard/Model/MessageSendingCallback.cs
+++ b/src/Bandwidth.Standard/Model/MessageSendingCallback.cs
@@ -77,28 +77,28 @@ protected MessageSendingCallback() { }
///
/// Gets or Sets Time
///
- /// "2016-09-14T18:20:16Z"
+ /// 2016-09-14T18:20:16Z
[DataMember(Name = "time", IsRequired = true, EmitDefaultValue = true)]
public DateTime Time { get; set; }
///
/// Gets or Sets Type
///
- /// "message-sending"
+ /// message-sending
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
///
/// Gets or Sets To
///
- /// "+15552223333"
+ /// +15552223333
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public string To { get; set; }
///
/// Gets or Sets Description
///
- /// "Message is sending to carrier"
+ /// Message is sending to carrier
[DataMember(Name = "description", IsRequired = true, EmitDefaultValue = true)]
public string Description { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MessageSendingCallbackMessage.cs b/src/Bandwidth.Standard/Model/MessageSendingCallbackMessage.cs
index 1a4a5daa..05835175 100644
--- a/src/Bandwidth.Standard/Model/MessageSendingCallbackMessage.cs
+++ b/src/Bandwidth.Standard/Model/MessageSendingCallbackMessage.cs
@@ -118,28 +118,28 @@ protected MessageSendingCallbackMessage() { }
///
/// Gets or Sets Id
///
- /// "1661365814859loidf7mcwd4qacn7"
+ /// 1661365814859loidf7mcwd4qacn7
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public string Id { get; set; }
///
/// Gets or Sets Owner
///
- /// "+15553332222"
+ /// +15553332222
[DataMember(Name = "owner", IsRequired = true, EmitDefaultValue = true)]
public string Owner { get; set; }
///
/// Gets or Sets ApplicationId
///
- /// "93de2206-9669-4e07-948d-329f4b722ee2"
+ /// 93de2206-9669-4e07-948d-329f4b722ee2
[DataMember(Name = "applicationId", IsRequired = true, EmitDefaultValue = true)]
public string ApplicationId { get; set; }
///
/// Gets or Sets Time
///
- /// "2016-09-14T18:20:16Z"
+ /// 2016-09-14T18:20:16Z
[DataMember(Name = "time", IsRequired = true, EmitDefaultValue = true)]
public DateTime Time { get; set; }
@@ -153,33 +153,35 @@ protected MessageSendingCallbackMessage() { }
///
/// Gets or Sets To
///
+ /// ["+15552223333"]
[DataMember(Name = "to", IsRequired = true, EmitDefaultValue = true)]
public List To { get; set; }
///
/// Gets or Sets From
///
- /// "+15553332222"
+ /// +15553332222
[DataMember(Name = "from", IsRequired = true, EmitDefaultValue = true)]
public string From { get; set; }
///
/// Gets or Sets Text
///
- /// "Hello world"
+ /// Hello world
[DataMember(Name = "text", IsRequired = true, EmitDefaultValue = true)]
public string Text { get; set; }
///
/// Gets or Sets Tag
///
- /// "custom string"
+ /// custom string
[DataMember(Name = "tag", EmitDefaultValue = false)]
public string Tag { get; set; }
///
/// Gets or Sets Media
///
+ /// ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"]
[DataMember(Name = "media", IsRequired = true, EmitDefaultValue = true)]
public List Media { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MessageStatusEnum.cs b/src/Bandwidth.Standard/Model/MessageStatusEnum.cs
index 98b506b4..faa87a49 100644
--- a/src/Bandwidth.Standard/Model/MessageStatusEnum.cs
+++ b/src/Bandwidth.Standard/Model/MessageStatusEnum.cs
@@ -80,7 +80,6 @@ public enum MessageStatusEnum
///
[EnumMember(Value = "UNDELIVERED")]
UNDELIVERED = 8
-
}
}
diff --git a/src/Bandwidth.Standard/Model/MessageTypeEnum.cs b/src/Bandwidth.Standard/Model/MessageTypeEnum.cs
index b3b59d97..cf0ddfe3 100644
--- a/src/Bandwidth.Standard/Model/MessageTypeEnum.cs
+++ b/src/Bandwidth.Standard/Model/MessageTypeEnum.cs
@@ -44,7 +44,6 @@ public enum MessageTypeEnum
///
[EnumMember(Value = "mms")]
Mms = 2
-
}
}
diff --git a/src/Bandwidth.Standard/Model/MessagingCodeResponse.cs b/src/Bandwidth.Standard/Model/MessagingCodeResponse.cs
index 10e9f96a..731f7f39 100644
--- a/src/Bandwidth.Standard/Model/MessagingCodeResponse.cs
+++ b/src/Bandwidth.Standard/Model/MessagingCodeResponse.cs
@@ -45,7 +45,7 @@ public partial class MessagingCodeResponse : IEquatable,
/// Messaging API Message ID.
///
/// Messaging API Message ID.
- /// "9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6"
+ /// 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6
[DataMember(Name = "messageId", EmitDefaultValue = false)]
public string MessageId { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MfaForbiddenRequestError.cs b/src/Bandwidth.Standard/Model/MfaForbiddenRequestError.cs
index a11cf90f..0df8f397 100644
--- a/src/Bandwidth.Standard/Model/MfaForbiddenRequestError.cs
+++ b/src/Bandwidth.Standard/Model/MfaForbiddenRequestError.cs
@@ -45,7 +45,7 @@ public partial class MfaForbiddenRequestError : IEquatable
/// The message containing the reason behind the request being forbidden.
- /// "Missing Authentication Token"
+ /// Missing Authentication Token
[DataMember(Name = "message", EmitDefaultValue = false)]
public string Message { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MfaRequestError.cs b/src/Bandwidth.Standard/Model/MfaRequestError.cs
index 52a643c2..b3d59b57 100644
--- a/src/Bandwidth.Standard/Model/MfaRequestError.cs
+++ b/src/Bandwidth.Standard/Model/MfaRequestError.cs
@@ -47,7 +47,7 @@ public partial class MfaRequestError : IEquatable, IValidatable
/// A message describing the error with your request.
///
/// A message describing the error with your request.
- /// "400 Request is malformed or invalid"
+ /// 400 Request is malformed or invalid
[DataMember(Name = "error", EmitDefaultValue = false)]
public string Error { get; set; }
@@ -55,7 +55,7 @@ public partial class MfaRequestError : IEquatable, IValidatable
/// The associated requestId from AWS.
///
/// The associated requestId from AWS.
- /// "354cc8a3-6701-461e-8fa7-8671703dd898"
+ /// 354cc8a3-6701-461e-8fa7-8671703dd898
[DataMember(Name = "requestId", EmitDefaultValue = false)]
public string RequestId { get; set; }
diff --git a/src/Bandwidth.Standard/Model/MfaUnauthorizedRequestError.cs b/src/Bandwidth.Standard/Model/MfaUnauthorizedRequestError.cs
index c1df1a86..c4ff642d 100644
--- a/src/Bandwidth.Standard/Model/MfaUnauthorizedRequestError.cs
+++ b/src/Bandwidth.Standard/Model/MfaUnauthorizedRequestError.cs
@@ -45,7 +45,7 @@ public partial class MfaUnauthorizedRequestError : IEquatable
/// Unauthorized
- /// "Unauthorized"
+ /// Unauthorized
[DataMember(Name = "message", EmitDefaultValue = false)]
public string Message { get; set; }
diff --git a/src/Bandwidth.Standard/Model/PageInfo.cs b/src/Bandwidth.Standard/Model/PageInfo.cs
index d3996515..4ea35388 100644
--- a/src/Bandwidth.Standard/Model/PageInfo.cs
+++ b/src/Bandwidth.Standard/Model/PageInfo.cs
@@ -51,7 +51,7 @@ public partial class PageInfo : IEquatable, IValidatableObject
/// The link to the previous page for pagination.
///
/// The link to the previous page for pagination.
- /// "https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&nextPage=DLAPE902"
+ /// https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&nextPage=DLAPE902
[DataMember(Name = "prevPage", EmitDefaultValue = false)]
public string PrevPage { get; set; }
@@ -59,7 +59,7 @@ public partial class PageInfo : IEquatable, IValidatableObject
/// The link to the next page for pagination.
///
/// The link to the next page for pagination.
- /// "https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&prevPage=GL83PD3C"
+ /// https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&prevPage=GL83PD3C
[DataMember(Name = "nextPage", EmitDefaultValue = false)]
public string NextPage { get; set; }
@@ -67,7 +67,7 @@ public partial class PageInfo : IEquatable, IValidatableObject
/// The isolated pagination token for the previous page.
///
/// The isolated pagination token for the previous page.
- /// "DLAPE902"
+ /// DLAPE902
[DataMember(Name = "prevPageToken", EmitDefaultValue = false)]
public string PrevPageToken { get; set; }
@@ -75,7 +75,7 @@ public partial class PageInfo : IEquatable, IValidatableObject
/// The isolated pagination token for the next page.
///
///