From 2352dcbe41318cb281e2ceaf64813db7ca25eb4f Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:18:45 -0500 Subject: [PATCH 01/13] Update doc url and remove unused using --- Bandwidth.Standard/Voice/Bxml/Transfer.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Bandwidth.Standard/Voice/Bxml/Transfer.cs b/Bandwidth.Standard/Voice/Bxml/Transfer.cs index ee909cfd..6ea66d24 100644 --- a/Bandwidth.Standard/Voice/Bxml/Transfer.cs +++ b/Bandwidth.Standard/Voice/Bxml/Transfer.cs @@ -1,13 +1,12 @@ -using System.ComponentModel; using System.Xml.Serialization; namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The Transfer verb is used to transfer the call to another number. - /// - /// - public class Transfer : IVerb + /// + /// The Transfer verb is used to transfer the call to another number. + /// + /// + public class Transfer : IVerb { /// /// Initialize the integer fields to Bandwidth's default value From 2d90c617c397f8c709d377a8aca18ee9abe72bbb Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:20:35 -0500 Subject: [PATCH 02/13] Update speak sentence doc url --- Bandwidth.Standard/Voice/Bxml/SpeakSentence.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bandwidth.Standard/Voice/Bxml/SpeakSentence.cs b/Bandwidth.Standard/Voice/Bxml/SpeakSentence.cs index 180bf47e..170b9933 100644 --- a/Bandwidth.Standard/Voice/Bxml/SpeakSentence.cs +++ b/Bandwidth.Standard/Voice/Bxml/SpeakSentence.cs @@ -6,9 +6,9 @@ namespace Bandwidth.Standard.Voice.Bxml { /// - /// The SpeakSentence verb is used to convert any text into speak for the caller. + /// The SpeakSentence verb is used to convert any text into speak for the caller. + /// /// - /// public class SpeakSentence : IXmlSerializable, IVerb, IAudioProducer { /// From aaca1b7dd6902cf74d0b110be780b383385bf8cf Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:22:12 -0500 Subject: [PATCH 03/13] Update send dtmf doc url --- Bandwidth.Standard/Voice/Bxml/SendDtmf.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs b/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs index a0d48147..19db6572 100644 --- a/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs +++ b/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs @@ -7,8 +7,8 @@ namespace Bandwidth.Standard.Voice.Bxml { /// /// Send digits on a live call + /// /// - /// public class SendDtmf : IXmlSerializable, IVerb { /// From 005b42af9e52cf917dc92813d80315c0434d5093 Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:23:00 -0500 Subject: [PATCH 04/13] Simplify nullable --- Bandwidth.Standard/Voice/Bxml/SendDtmf.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs b/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs index 19db6572..633f25fb 100644 --- a/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs +++ b/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs @@ -15,7 +15,7 @@ public class SendDtmf : IXmlSerializable, IVerb /// (optional) The length (in milliseconds) of each DTMF tone. Default value is 200. Range: decimal values between 50 - 5000. /// [XmlIgnore] - public Nullable ToneDuration { get; set; } + public double? ToneDuration { get; set; } /// /// The setter does nothing! This is just a surrogate feild for nullable xml attribute serialization. @@ -30,7 +30,7 @@ public string ToneDurationAsText { /// (optional) The duration of silence (in milliseconds) following each DTMF tone. Default value is 400. Range: decimal values between 50 - 5000. /// [XmlIgnore] - public Nullable ToneInterval { get; set; } + public double? ToneInterval { get; set; } /// /// The setter does nothing! This is just a surrogate feild for nullable xml attribute serialization. From 7cbe25f70de363e2faeeba01206692814b2661df Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:26:25 -0500 Subject: [PATCH 05/13] Update redirect do url --- Bandwidth.Standard/Voice/Bxml/Redirect.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bandwidth.Standard/Voice/Bxml/Redirect.cs b/Bandwidth.Standard/Voice/Bxml/Redirect.cs index 3aebcb06..31f67d9e 100644 --- a/Bandwidth.Standard/Voice/Bxml/Redirect.cs +++ b/Bandwidth.Standard/Voice/Bxml/Redirect.cs @@ -5,8 +5,8 @@ namespace Bandwidth.Standard.Voice.Bxml { /// /// The Redirect verb is used to redirect the current XML execution to another URL. + /// /// - /// public class Redirect : IVerb { /// From c345a4406803e96f1c9e075f2f3323b6d2601190 Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:26:42 -0500 Subject: [PATCH 06/13] Remove using --- Bandwidth.Standard/Voice/Bxml/Redirect.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Bandwidth.Standard/Voice/Bxml/Redirect.cs b/Bandwidth.Standard/Voice/Bxml/Redirect.cs index 31f67d9e..00da2a87 100644 --- a/Bandwidth.Standard/Voice/Bxml/Redirect.cs +++ b/Bandwidth.Standard/Voice/Bxml/Redirect.cs @@ -1,4 +1,3 @@ -using System.ComponentModel; using System.Xml.Serialization; namespace Bandwidth.Standard.Voice.Bxml From 8285be154f8d45de26cad101c46f6affac476982 Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:27:29 -0500 Subject: [PATCH 07/13] Update record doc url --- Bandwidth.Standard/Voice/Bxml/Recording.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bandwidth.Standard/Voice/Bxml/Recording.cs b/Bandwidth.Standard/Voice/Bxml/Recording.cs index 15bf3c3e..2927a611 100644 --- a/Bandwidth.Standard/Voice/Bxml/Recording.cs +++ b/Bandwidth.Standard/Voice/Bxml/Recording.cs @@ -5,8 +5,8 @@ namespace Bandwidth.Standard.Voice.Bxml { /// /// The Record verb allows a segment of audio to be recorded during a call. At the end of the recording, a Record Complete event is generated. + /// /// - /// public class Record : IVerb { From a89b57d6fc559ae4d2662e01b286f7d93a483c8d Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:28:36 -0500 Subject: [PATCH 08/13] Update play audio url --- Bandwidth.Standard/Voice/Bxml/PlayAudio.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bandwidth.Standard/Voice/Bxml/PlayAudio.cs b/Bandwidth.Standard/Voice/Bxml/PlayAudio.cs index 3bf4c59f..de835b6e 100644 --- a/Bandwidth.Standard/Voice/Bxml/PlayAudio.cs +++ b/Bandwidth.Standard/Voice/Bxml/PlayAudio.cs @@ -7,8 +7,8 @@ namespace Bandwidth.Standard.Voice.Bxml { /// /// The PlayAudio verb is used to play an audio file in the call. + /// /// - /// public class PlayAudio : IXmlSerializable, IVerb, IAudioProducer { /// From 7ff3642cf2825c8d9a0fb345c7b48c89a8922968 Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:28:51 -0500 Subject: [PATCH 09/13] Fix pause recording url --- Bandwidth.Standard/Voice/Bxml/PauseRecording.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs b/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs index d70d8313..c268e741 100644 --- a/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs +++ b/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs @@ -9,7 +9,7 @@ namespace Bandwidth.Standard.Voice.Bxml /// The paused period will not be included in the duration of the recording and therefore will not contribute to the recording portion of the bill. /// If there is not an ongoing recording at the time of this verb's execution, it has no effect. /// - /// + /// public class PauseRecording : IVerb { From d9c3b7f0dc6421f4844bb023534135ac22b3b749 Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:30:51 -0500 Subject: [PATCH 10/13] Clean up pause doc url, using, formatting --- Bandwidth.Standard/Voice/Bxml/Pause.cs | 34 +++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Bandwidth.Standard/Voice/Bxml/Pause.cs b/Bandwidth.Standard/Voice/Bxml/Pause.cs index a797a710..1ea0c57e 100644 --- a/Bandwidth.Standard/Voice/Bxml/Pause.cs +++ b/Bandwidth.Standard/Voice/Bxml/Pause.cs @@ -1,25 +1,25 @@ -using System.ComponentModel; using System.Xml.Serialization; namespace Bandwidth.Standard.Voice.Bxml { - /// - /// Pause the execution of an ongoing BXML document - /// - /// - public class Pause : IVerb - { - /// - /// Initialize the double fields to Bandwidth's default value + /// Pause the execution of an ongoing BXML document + /// /// - public Pause() { - Duration = 1; + public class Pause : IVerb + { + /// + /// How many seconds Bandwidth will wait silently before continuing on. + /// + [XmlAttribute("duration")] + public double Duration { get; set; } + + /// + /// Initialize the double fields to Bandwidth's default value + /// + public Pause() + { + Duration = 1; + } } - /// - /// How many seconds Bandwidth will wait silently before continuing on. - /// - [XmlAttribute("duration")] - public double Duration { get; set; } -} } From 577d26a95b2066709720f51f83407f9de3bed2c6 Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:31:50 -0500 Subject: [PATCH 11/13] Update doc url and formatting --- Bandwidth.Standard/Voice/Bxml/Hangup.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Bandwidth.Standard/Voice/Bxml/Hangup.cs b/Bandwidth.Standard/Voice/Bxml/Hangup.cs index 693aecfb..8b2370b9 100644 --- a/Bandwidth.Standard/Voice/Bxml/Hangup.cs +++ b/Bandwidth.Standard/Voice/Bxml/Hangup.cs @@ -1,10 +1,10 @@ namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The Hangup verb is used to hangup current call. - /// - /// - public class Hangup : IVerb - { - } + /// + /// The Hangup verb is used to hangup current call. + /// + /// + public class Hangup : IVerb + { + } } From cd86ac1d4ec5549909c77c371cf8c9841d987604 Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:34:11 -0500 Subject: [PATCH 12/13] Update doc urls and remove using --- Bandwidth.Standard/Voice/Bxml/Forward.cs | 4 ++-- Bandwidth.Standard/Voice/Bxml/Gather.cs | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Bandwidth.Standard/Voice/Bxml/Forward.cs b/Bandwidth.Standard/Voice/Bxml/Forward.cs index bd3ecb05..32ff4708 100644 --- a/Bandwidth.Standard/Voice/Bxml/Forward.cs +++ b/Bandwidth.Standard/Voice/Bxml/Forward.cs @@ -1,11 +1,11 @@ using System; -using System.ComponentModel; using System.Xml.Serialization; namespace Bandwidth.Standard.Voice.Bxml { /// - /// The Forward verb is used to transfer the call to another number. + /// The Forward verb is used to transfer the call to another number. + /// /// public class Forward : IVerb { diff --git a/Bandwidth.Standard/Voice/Bxml/Gather.cs b/Bandwidth.Standard/Voice/Bxml/Gather.cs index 8127cfef..201ffd99 100644 --- a/Bandwidth.Standard/Voice/Bxml/Gather.cs +++ b/Bandwidth.Standard/Voice/Bxml/Gather.cs @@ -1,5 +1,4 @@ using System; -using System.ComponentModel; using System.Collections.Generic; using System.Xml; using System.Xml.Schema; @@ -7,11 +6,11 @@ namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The Gather verb is used to collect digits for some period of time. - /// - /// - public class Gather : IVerb, IXmlSerializable + /// + /// The Gather verb is used to collect digits for some period of time. + /// + /// + public class Gather : IVerb, IXmlSerializable { /// /// Initialize the integer fields to Bandwidth's default value From 59baeb4af7d1338fcc6d8baf90ad608985b31461 Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Mon, 7 Dec 2020 17:45:09 -0500 Subject: [PATCH 13/13] Update formatting, urls, usings, general clean up --- Bandwidth.Standard/Voice/Bxml/Bridge.cs | 12 +- Bandwidth.Standard/Voice/Bxml/Conference.cs | 2 +- .../Voice/Bxml/PauseRecording.cs | 25 +-- .../Voice/Bxml/ResumeRecording.cs | 25 +-- Bandwidth.Standard/Voice/Bxml/Ring.cs | 34 ++-- Bandwidth.Standard/Voice/Bxml/StartGather.cs | 78 ++++---- .../Voice/Bxml/StartRecording.cs | 11 +- Bandwidth.Standard/Voice/Bxml/StopGather.cs | 18 +- .../Voice/Bxml/StopRecording.cs | 21 +-- Bandwidth.Standard/Voice/Bxml/Tag.cs | 2 +- Bandwidth.Standard/Voice/Bxml/Transfer.cs | 172 +++++++++--------- 11 files changed, 187 insertions(+), 213 deletions(-) diff --git a/Bandwidth.Standard/Voice/Bxml/Bridge.cs b/Bandwidth.Standard/Voice/Bxml/Bridge.cs index 7404f972..d1e4a749 100644 --- a/Bandwidth.Standard/Voice/Bxml/Bridge.cs +++ b/Bandwidth.Standard/Voice/Bxml/Bridge.cs @@ -1,15 +1,13 @@ -using System; using System.Xml; -using System.Xml.Schema; using System.Xml.Serialization; namespace Bandwidth.Standard.Voice.Bxml { - /// - /// he Bridge verb is used to bridge another party (target call) onto the current call. - /// - /// - public class Bridge : IVerb + /// + /// The Bridge verb is used to bridge another party (target call) onto the current call. + /// + /// + public class Bridge : IVerb { /// diff --git a/Bandwidth.Standard/Voice/Bxml/Conference.cs b/Bandwidth.Standard/Voice/Bxml/Conference.cs index 5bc60d7a..a649596b 100644 --- a/Bandwidth.Standard/Voice/Bxml/Conference.cs +++ b/Bandwidth.Standard/Voice/Bxml/Conference.cs @@ -7,8 +7,8 @@ namespace Bandwidth.Standard.Voice.Bxml { /// /// The Conference verb is used to play an audio file in the call. + /// /// - /// public class Conference : IXmlSerializable, IVerb { /// diff --git a/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs b/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs index c268e741..3b878a98 100644 --- a/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs +++ b/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs @@ -1,18 +1,13 @@ -using System.ComponentModel; -using System.Xml.Serialization; - namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The PauseRecording verb is used to pause a recording that was previously started by a verb. - /// Audio that occurs between a verb and a verb will not be present in the recording. - /// The paused period will not be included in the duration of the recording and therefore will not contribute to the recording portion of the bill. - /// If there is not an ongoing recording at the time of this verb's execution, it has no effect. - /// - /// - public class PauseRecording : IVerb - { - - - } + /// + /// The PauseRecording verb is used to pause a recording that was previously started by a ]]> verb. + /// Audio that occurs between a ]]> verb and a ]]> verb will not be present in the recording. + /// The paused period will not be included in the duration of the recording and therefore will not contribute to the recording portion of the bill. + /// If there is not an ongoing recording at the time of this verb's execution, it has no effect. + /// + /// + public class PauseRecording : IVerb + { + } } diff --git a/Bandwidth.Standard/Voice/Bxml/ResumeRecording.cs b/Bandwidth.Standard/Voice/Bxml/ResumeRecording.cs index 2e961b83..081be4c5 100644 --- a/Bandwidth.Standard/Voice/Bxml/ResumeRecording.cs +++ b/Bandwidth.Standard/Voice/Bxml/ResumeRecording.cs @@ -1,18 +1,13 @@ -using System.ComponentModel; -using System.Xml.Serialization; - namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The ResumeRecording verb is used to resume a recording that was previously paused by a verb. - /// Audio that occurs between a verb and a verb will not be present in the recording. - /// The paused period will not be included in the duration of the recording and therefore will not contribute to the recording portion of the bill. - /// If there is not an ongoing recording at the time of this verb's execution, it has no effect. - /// - /// - public class ResumeRecording : IVerb - { - - - } + /// + /// The ResumeRecording verb is used to resume a recording that was previously paused by a ]]> verb. + /// Audio that occurs between a ]]> verb and a ]]> verb will not be present in the recording. + /// The paused period will not be included in the duration of the recording and therefore will not contribute to the recording portion of the bill. + /// If there is not an ongoing recording at the time of this verb's execution, it has no effect. + /// + /// + public class ResumeRecording : IVerb + { + } } diff --git a/Bandwidth.Standard/Voice/Bxml/Ring.cs b/Bandwidth.Standard/Voice/Bxml/Ring.cs index 404d8c76..5baa16ec 100644 --- a/Bandwidth.Standard/Voice/Bxml/Ring.cs +++ b/Bandwidth.Standard/Voice/Bxml/Ring.cs @@ -1,25 +1,25 @@ -using System.ComponentModel; using System.Xml.Serialization; namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The Ring verb is used to play ringing audio on a call. - /// - /// - public class Ring : IVerb - { - /// - /// Initialize the double fields to Bandwidth's default value + /// The Ring verb is used to play ringing audio on a call. + /// /// - public Ring() { - Duration = 5; + public class Ring : IVerb + { + /// + /// (optional) How many seconds to play ringing on the call. Default value is 5. Range: decimal values between 0.1 - 86400. + /// + [XmlAttribute("duration")] + public double Duration { get; set; } + + /// + /// Initialize the double fields to Bandwidth's default value + /// + public Ring() + { + Duration = 5; + } } - /// - /// (optional) How many seconds to play ringing on the call. Default value is 5. Range: decimal values between 0.1 - 86400. - /// - [XmlAttribute("duration")] - public double Duration { get; set; } - } } diff --git a/Bandwidth.Standard/Voice/Bxml/StartGather.cs b/Bandwidth.Standard/Voice/Bxml/StartGather.cs index 82312e1b..f83901d5 100644 --- a/Bandwidth.Standard/Voice/Bxml/StartGather.cs +++ b/Bandwidth.Standard/Voice/Bxml/StartGather.cs @@ -1,48 +1,44 @@ - -using System; using System.Xml.Serialization; namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The StartGather verb is used to Start a Gather on the current call. - /// - /// - public class StartGather : IVerb - { - - /// - /// URL to send the DTMF event to. May be a relative URL. - /// - [XmlAttribute("dtmfUrl")] - public string DtmfUrl { get; set; } - - /// - /// (optional) The HTTP method to use for the request to dtmfUrl. GET or POST. Default value is POST. - /// - [XmlAttribute("dtmfMethod")] - public string DtmfMethod { get; set; } - - - /// - /// Username for basic auth for the callback - /// - [XmlAttribute("username")] - public string Username { get; set; } - /// - /// Password for basic auth for the callback + /// The StartGather verb is used to Start a Gather on the current call. + /// /// - [XmlAttribute("password")] - public string Password { get; set; } - - /// - /// (optional) A custom string that will be sent with this and all future callbacks unless overwritten by a future tag attribute or cleared. - /// May be cleared by setting tag = "" - /// Max length 256 characters. - /// - [XmlAttribute("tag")] - public string Tag { get; set; } - - } + public class StartGather : IVerb + { + /// + /// URL to send the DTMF event to. May be a relative URL. + /// + [XmlAttribute("dtmfUrl")] + public string DtmfUrl { get; set; } + + /// + /// (optional) The HTTP method to use for the request to dtmfUrl. GET or POST. Default value is POST. + /// + [XmlAttribute("dtmfMethod")] + public string DtmfMethod { get; set; } + + + /// + /// Username for basic auth for the callback + /// + [XmlAttribute("username")] + public string Username { get; set; } + + /// + /// Password for basic auth for the callback + /// + [XmlAttribute("password")] + public string Password { get; set; } + + /// + /// (optional) A custom string that will be sent with this and all future callbacks unless overwritten by a future tag attribute or cleared. + /// May be cleared by setting tag = "" + /// Max length 256 characters. + /// + [XmlAttribute("tag")] + public string Tag { get; set; } + } } diff --git a/Bandwidth.Standard/Voice/Bxml/StartRecording.cs b/Bandwidth.Standard/Voice/Bxml/StartRecording.cs index eee9258d..c7ecc2fd 100644 --- a/Bandwidth.Standard/Voice/Bxml/StartRecording.cs +++ b/Bandwidth.Standard/Voice/Bxml/StartRecording.cs @@ -1,13 +1,12 @@ -using System.ComponentModel; using System.Xml.Serialization; namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The StartRecording verb allows a segment of audio to be recorded during a call. At the end of the recording, a Record Complete event is generated. - /// - /// - public class StartRecording : IVerb + /// + /// The StartRecording verb allows a segment of audio to be recorded during a call. At the end of the recording, a Record Complete event is generated. + /// + /// + public class StartRecording : IVerb { /// diff --git a/Bandwidth.Standard/Voice/Bxml/StopGather.cs b/Bandwidth.Standard/Voice/Bxml/StopGather.cs index a24df447..8bd6604a 100644 --- a/Bandwidth.Standard/Voice/Bxml/StopGather.cs +++ b/Bandwidth.Standard/Voice/Bxml/StopGather.cs @@ -1,14 +1,10 @@ - -using System; -using System.Xml.Serialization; - namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The StopGather verb is used to StopGather on the current call. - /// - /// - public class StopGather : IVerb - { - } + /// + /// The StopGather verb is used to StopGather on the current call. + /// + /// + public class StopGather : IVerb + { + } } diff --git a/Bandwidth.Standard/Voice/Bxml/StopRecording.cs b/Bandwidth.Standard/Voice/Bxml/StopRecording.cs index 70cc8cf3..ceedec52 100644 --- a/Bandwidth.Standard/Voice/Bxml/StopRecording.cs +++ b/Bandwidth.Standard/Voice/Bxml/StopRecording.cs @@ -1,16 +1,11 @@ -using System.ComponentModel; -using System.Xml.Serialization; - namespace Bandwidth.Standard.Voice.Bxml { - /// - /// The StopRecording verb is used to stop a recording that was previously started by a verb. - /// If there is not an ongoing recording at the time of this verb's execution, it has no effect. If a previous recording was paused, will end it. - /// - /// - public class StopRecording : IVerb - { - - - } + /// + /// The StopRecording verb is used to stop a recording that was previously started by a ]]> verb. + /// If there is not an ongoing recording at the time of this verb's execution, it has no effect. If a previous recording was paused, will end it. + /// + /// + public class StopRecording : IVerb + { + } } diff --git a/Bandwidth.Standard/Voice/Bxml/Tag.cs b/Bandwidth.Standard/Voice/Bxml/Tag.cs index 9a74f223..bd07d888 100644 --- a/Bandwidth.Standard/Voice/Bxml/Tag.cs +++ b/Bandwidth.Standard/Voice/Bxml/Tag.cs @@ -7,8 +7,8 @@ namespace Bandwidth.Standard.Voice.Bxml { /// /// The Tag verb is used to set a new tag value without executing a callback. + /// /// - /// public class Tag : IXmlSerializable, IVerb { /// diff --git a/Bandwidth.Standard/Voice/Bxml/Transfer.cs b/Bandwidth.Standard/Voice/Bxml/Transfer.cs index 6ea66d24..5313a80b 100644 --- a/Bandwidth.Standard/Voice/Bxml/Transfer.cs +++ b/Bandwidth.Standard/Voice/Bxml/Transfer.cs @@ -7,91 +7,91 @@ namespace Bandwidth.Standard.Voice.Bxml /// /// public class Transfer : IVerb - { - /// - /// Initialize the integer fields to Bandwidth's default value - /// - public Transfer() { - CallTimeout = 30; - } - - /// - /// The phone number making the transfer call - /// - [XmlAttribute("transferCallerId")] - public string TransferCallerId { get; set; } - - /// - /// Timeout for the transfer in seconds - /// - [XmlAttribute("callTimeout")] - public double CallTimeout { get; set; } - - /// - /// Optional custom string to include in callbacks - /// - [XmlAttribute("tag")] - public string Tag { get; set; } - - /// - /// Url to receive the transfer complete callback - /// - [XmlAttribute("transferCompleteUrl")] - public string TransferCompleteUrl { get; set; } - - /// - /// HTTP method to send the transfer complete callback - /// - [XmlAttribute("transferCompleteMethod")] - public string TransferCompleteMethod { get; set; } - - /// - /// Username for basic auth for the callback - /// - [XmlAttribute("username")] - public string Username { get; set; } - - /// - /// Password for basic auth for the callback - /// - [XmlAttribute("password")] - public string Password { get; set; } - - /// - /// Diversion treatment for the transfer - /// - [XmlAttribute("diversionTreatment")] - public string DiversionTreatment { get; set; } - - /// - /// Diversion reason for the transfer - /// - [XmlAttribute("diversionReason")] - public string DiversionReason { get; set; } - - /// - /// Phone numbers to attempt to transfer the call to - /// - [XmlElement("PhoneNumber")] - public PhoneNumber[] PhoneNumbers { get; set; } - - /// - /// SIP URIs to transfer the call to (e.g. sip:user@server.com). - /// - [XmlElement("SipUri")] - public SipUri[] SipUris { get; set; } - - [XmlAttribute("transferCompleteFallbackUrl")] - public string TransferCompleteFallbackUrl { get; set; } - - [XmlAttribute("transferCompleteFallbackMethod")] - public string TransferCompleteFallbackMethod { get; set; } - - [XmlAttribute("fallbackUsername")] - public string FallbackUsername { get; set; } - - [XmlAttribute("fallbackPassword")] - public string FallbackPassword { get; set; } + { + /// + /// Initialize the integer fields to Bandwidth's default value + /// + public Transfer() { + CallTimeout = 30; + } + + /// + /// The phone number making the transfer call + /// + [XmlAttribute("transferCallerId")] + public string TransferCallerId { get; set; } + + /// + /// Timeout for the transfer in seconds + /// + [XmlAttribute("callTimeout")] + public double CallTimeout { get; set; } + + /// + /// Optional custom string to include in callbacks + /// + [XmlAttribute("tag")] + public string Tag { get; set; } + + /// + /// Url to receive the transfer complete callback + /// + [XmlAttribute("transferCompleteUrl")] + public string TransferCompleteUrl { get; set; } + + /// + /// HTTP method to send the transfer complete callback + /// + [XmlAttribute("transferCompleteMethod")] + public string TransferCompleteMethod { get; set; } + + /// + /// Username for basic auth for the callback + /// + [XmlAttribute("username")] + public string Username { get; set; } + + /// + /// Password for basic auth for the callback + /// + [XmlAttribute("password")] + public string Password { get; set; } + + /// + /// Diversion treatment for the transfer + /// + [XmlAttribute("diversionTreatment")] + public string DiversionTreatment { get; set; } + + /// + /// Diversion reason for the transfer + /// + [XmlAttribute("diversionReason")] + public string DiversionReason { get; set; } + + /// + /// Phone numbers to attempt to transfer the call to + /// + [XmlElement("PhoneNumber")] + public PhoneNumber[] PhoneNumbers { get; set; } + + /// + /// SIP URIs to transfer the call to (e.g. sip:user@server.com). + /// + [XmlElement("SipUri")] + public SipUri[] SipUris { get; set; } + + [XmlAttribute("transferCompleteFallbackUrl")] + public string TransferCompleteFallbackUrl { get; set; } + + [XmlAttribute("transferCompleteFallbackMethod")] + public string TransferCompleteFallbackMethod { get; set; } + + [XmlAttribute("fallbackUsername")] + public string FallbackUsername { get; set; } + + [XmlAttribute("fallbackPassword")] + public string FallbackPassword { get; set; } - } + } }