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/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
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
+ {
+ }
}
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; }
-}
}
diff --git a/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs b/Bandwidth.Standard/Voice/Bxml/PauseRecording.cs
index d70d8313..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/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
{
///
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
{
diff --git a/Bandwidth.Standard/Voice/Bxml/Redirect.cs b/Bandwidth.Standard/Voice/Bxml/Redirect.cs
index 3aebcb06..00da2a87 100644
--- a/Bandwidth.Standard/Voice/Bxml/Redirect.cs
+++ b/Bandwidth.Standard/Voice/Bxml/Redirect.cs
@@ -1,12 +1,11 @@
-using System.ComponentModel;
using System.Xml.Serialization;
namespace Bandwidth.Standard.Voice.Bxml
{
///
/// The Redirect verb is used to redirect the current XML execution to another URL.
+ ///
///
- ///
public class Redirect : 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/SendDtmf.cs b/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs
index a0d48147..633f25fb 100644
--- a/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs
+++ b/Bandwidth.Standard/Voice/Bxml/SendDtmf.cs
@@ -7,15 +7,15 @@ namespace Bandwidth.Standard.Voice.Bxml
{
///
/// Send digits on a live call
+ ///
///
- ///
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.
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
{
///
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 ee909cfd..5313a80b 100644
--- a/Bandwidth.Standard/Voice/Bxml/Transfer.cs
+++ b/Bandwidth.Standard/Voice/Bxml/Transfer.cs
@@ -1,98 +1,97 @@
-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
- {
///
- /// Initialize the integer fields to Bandwidth's default value
+ /// The Transfer verb is used to transfer the call to another number.
+ ///
///
- 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; }
+ 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; }
- }
+ }
}