Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial Queue support

Initial support for the Queue verb
Adding lots of doc comments
  • Loading branch information...
commit fce4b20c5a6c8ca989c32d8bbc75c25309d6f586 1 parent 5606cc0
@devinrader devinrader authored
Showing with 1,938 additions and 757 deletions.
  1. +2 −1  Twilio.Mvc.nuspec
  2. +17 −13 Twilio.TwiML.nuspec
  3. +6 −5 Twilio.nuspec
  4. +228 −0 src/Twilio.Api.Silverlight/Queues.Async.cs
  5. +258 −242 src/Twilio.Api.Silverlight/Twilio.Api.Silverlight.csproj
  6. +280 −262 src/Twilio.Api.WindowsPhone/Twilio.Api.WindowsPhone.csproj
  7. +22 −0 src/Twilio.Api/Model/DequeueStatus.cs
  8. +45 −0 src/Twilio.Api/Model/Queue.cs
  9. +30 −0 src/Twilio.Api/Model/QueueMember.cs
  10. +15 −0 src/Twilio.Api/Model/QueueMemberResult.cs
  11. +15 −0 src/Twilio.Api/Model/QueueResult.cs
  12. +219 −0 src/Twilio.Api/Queues.cs
  13. +14 −14 src/Twilio.Api/SharedAssemblyInfo.cs
  14. +9 −0 src/Twilio.Api/Twilio.Api.csproj
  15. +7 −0 src/Twilio.Mvc/SmsRequest.cs
  16. +24 −16 src/Twilio.Mvc/TwilioController.cs
  17. +49 −0 src/Twilio.Mvc/TwilioRequest.cs
  18. +77 −3 src/Twilio.Mvc/VoiceRequest.cs
  19. +79 −77 src/Twilio.Twiml/Twilio.TwiML.csproj
  20. +269 −21 src/Twilio.Twiml/TwilioResponse.cs
  21. +4 −0 src/Twilio.Twiml/Verbs/Client.cs
  22. +13 −2 src/Twilio.Twiml/Verbs/Conference.cs
  23. +11 −1 src/Twilio.Twiml/Verbs/Dial.cs
  24. +96 −70 src/Twilio.Twiml/Verbs/ElementBase.cs
  25. +36 −0 src/Twilio.Twiml/Verbs/Enqueue.cs
  26. +4 −0 src/Twilio.Twiml/Verbs/Gather.cs
  27. +15 −12 src/Twilio.Twiml/Verbs/IDialNoun.cs
  28. +16 −13 src/Twilio.Twiml/Verbs/IVerb.cs
  29. +6 −1 src/Twilio.Twiml/Verbs/Pause.cs
  30. +11 −1 src/Twilio.Twiml/Verbs/Play.cs
  31. +38 −0 src/Twilio.Twiml/Verbs/Queue.cs
  32. +12 −2 src/Twilio.Twiml/Verbs/Say.cs
  33. +11 −1 src/Twilio.Twiml/Verbs/Sms.cs
View
3  Twilio.Mvc.nuspec
@@ -2,7 +2,7 @@
<package>
<metadata>
<id>Twilio.Mvc</id>
- <version>3.1.8</version>
+ <version>3.1.9</version>
<authors>Twilio</authors>
<description>Twilio helpers for ASP.NET MVC</description>
<language>en-US</language>
@@ -15,6 +15,7 @@
<dependency id="Twilio.TwiML" />
</dependencies>
<releaseNotes>
+ * 3.1.9 - Adding doc comments
* 3.1.8 - Added Dial Status Callback properties
* 3.1.7 - Added properties to the VoiceRequest class to support Transcription
* 3.1.6 - Fixing package fail
View
30 Twilio.TwiML.nuspec
@@ -1,14 +1,18 @@
-<?xml version="1.0" encoding="utf-8"?>
-<package>
- <metadata>
- <id>Twilio.TwiML</id>
- <version>3.1.3</version>
- <authors>Twilio</authors>
- <description>Twilio TwiML generator. If using ASP.NET MVC, install Twilio.Mvc instead.</description>
- <language>en-US</language>
- <projectUrl>http://github.com/twilio/twilio-csharp</projectUrl>
- <iconUrl>http://www.twilio.com/packages/company/img/logos_downloadable_round.png</iconUrl>
- <licenseUrl>https://github.com/twilio/twilio-csharp/blob/master/LICENSE.txt</licenseUrl>
- <tags>REST SMS voice telephony phone twilio twiml</tags>
- </metadata>
+<?xml version="1.0" encoding="utf-8"?>
+<package>
+ <metadata>
+ <id>Twilio.TwiML</id>
+ <version>3.2.0</version>
+ <authors>Twilio</authors>
+ <description>Twilio TwiML generator. If using ASP.NET MVC, install Twilio.Mvc instead.</description>
+ <language>en-US</language>
+ <projectUrl>http://github.com/twilio/twilio-csharp</projectUrl>
+ <iconUrl>http://www.twilio.com/packages/company/img/logos_downloadable_round.png</iconUrl>
+ <licenseUrl>https://github.com/twilio/twilio-csharp/blob/master/LICENSE.txt</licenseUrl>
+ <tags>REST SMS voice telephony phone twilio twiml</tags>
+ <releaseNotes>
+ * 3.2.0 - Adding Queue Verb
+ Adding document comments
+ </releaseNotes>
+ </metadata>
</package>
View
11 Twilio.nuspec
@@ -2,7 +2,7 @@
<package>
<metadata>
<id>Twilio</id>
- <version>3.4.5</version>
+ <version>3.5.0</version>
<authors>Twilio</authors>
<description>Twilio REST API helper library</description>
<language>en-US</language>
@@ -15,13 +15,14 @@
<dependency id="RestSharp" />
</dependencies>
<releaseNotes>
+ * 3.5.0 - Adding Queue Capability
* 3.4.5 - Fixing package fail
* 3.4.4 - Changed SMS message length validation
* 3.4.3 - Added and updated some XML Doc Comments
- Added SmsStatusCallback property
- Fixed number transfer bug
- Fixed CallListOptions bug
- Updated to latest versions of RestSharp and Json.NET
+ Added SmsStatusCallback property
+ Fixed number transfer bug
+ Fixed CallListOptions bug
+ Updated to latest versions of RestSharp and Json.NET
* 3.4.2 - Updated references to resolve issues with RestSharp and JSON.NET
* 3.4.0 - Add CallOptions.Record to enable full-call recording
* 3.3.7 - Another package-only fix. Assembly version is still 3.3.6
View
228 src/Twilio.Api.Silverlight/Queues.Async.cs
@@ -0,0 +1,228 @@
+using RestSharp;
+using System;
+using RestSharp.Validation;
+namespace Twilio
+{
+ public partial class TwilioRestClient
+ {
+ /// <summary>
+ /// Return a list of all Queue resources
+ /// </summary>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void ListQueues(Action<QueueResult> callback)
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues.json";
+
+ ExecuteAsync<QueueResult>(request, (response) => callback(response) );
+ }
+
+ /// <summary>
+ /// Creates a new Queue resource
+ /// </summary>
+ /// <param name="friendlyName">The name of the Queue</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void CreateQueue(string friendlyName, Action<Queue> callback)
+ {
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues.json";
+
+ request.AddParameter("FriendlyName", friendlyName);
+
+ ExecuteAsync<Queue>(request, (response) => callback(response));
+ }
+
+ /// <summary>
+ /// Creates a new Queue resource
+ /// </summary>
+ /// <param name="friendlyName">The name of the Queue</param>
+ /// <param name="maxSize">The maximum number of calls allowed in the queue</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void CreateQueue(string friendlyName, int maxSize, Action<Queue> callback)
+ {
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues.json";
+
+ request.AddParameter("FriendlyName", friendlyName);
+ request.AddParameter("MaxSize", maxSize);
+
+ ExecuteAsync<Queue>(request, (response) => callback(response));
+ }
+
+ /// <summary>
+ /// Locates and returns a specific Queue resource
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void GetQueue(string queueSid, Action<Queue> callback)
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+
+ ExecuteAsync<Queue>(request, (response) => callback(response));
+ }
+
+ /// <summary>
+ /// Updates a specific Queue resource
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to update</param>
+ /// <param name="friendlyName">The name of the Queue</param>
+ /// <param name="maxSize">The maximum number of calls allowed in the queue</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void UpdateQueue(string queueSid, string friendlyName, int maxSize, Action<Queue> callback)
+ {
+ Require.Argument("QueueSid", queueSid);
+
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+ request.AddParameter("FriendlyName", friendlyName);
+ request.AddParameter("MaxSize", maxSize);
+
+ ExecuteAsync<Queue>(request, (response) => callback(response));
+ }
+
+ /// <summary>
+ /// Deletes a Queue resource
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to delete</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void DeleteQueue(string queueSid, Action<DeleteStatus> callback)
+ {
+ Require.Argument("QueueSid", queueSid);
+ var request = new RestRequest(Method.DELETE);
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+
+ ExecuteAsync(request, (response) => { callback(response.StatusCode == System.Net.HttpStatusCode.NoContent ? DeleteStatus.Success : DeleteStatus.Failed); });
+ }
+
+ /// <summary>
+ /// Return a List of all Calls currently in the the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void ListQueueMembers(string queueSid, Action<QueueMemberResult> callback)
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+
+ ExecuteAsync<QueueMemberResult>(request, (response) => callback(response));
+ }
+
+ /// <summary>
+ /// Returns the Call in the first position of the wait Queue for the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void GetFirstQueueMember(string queueSid, Action<QueueMember> callback)
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members/Front.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+
+ ExecuteAsync<QueueMember>(request, (response) => callback(response));
+ }
+
+ /// <summary>
+ /// Locate and return a specific Call in the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to search</param>
+ /// <param name="callSid">The Sid of the Call to locate</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void GetQueueMember(string queueSid, string callSid, Action<QueueMember> callback)
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+ request.AddParameter("CallSid", callSid, ParameterType.UrlSegment);
+
+ ExecuteAsync<QueueMember>(request, (response) => callback(response));
+ }
+
+ /// <summary>
+ /// Dequeues the Caller in the first wait position for the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="url">A Url containing TwiML intructions to execute when the call is dequeued</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void DequeueFirstQueueMember(string queueSid, string url, Action<DequeueStatus> callback)
+ {
+ DequeueFirstQueueMember(queueSid, url, string.Empty, callback);
+ }
+
+ /// <summary>
+ /// Dequeues the Caller in the first wait position for the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="url">A Url containing TwiML intructions to execute when the call is dequeued</param>
+ /// <param name="method">The method to use to request the Url</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void DequeueFirstQueueMember(string queueSid, string url, string method, Action<DequeueStatus> callback)
+ {
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members/Front.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+ request.AddParameter("Url", url);
+ if (!string.IsNullOrEmpty(method)) { request.AddParameter("Method", method); }
+
+ ExecuteAsync(request, (response) => { callback(response.StatusCode == System.Net.HttpStatusCode.NoContent ? DequeueStatus.Success : DequeueStatus.Failed); });
+ }
+
+ /// <summary>
+ /// Dequeues a specific Caller in the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="callSid">The Sid of the Caller to dequeue</param>
+ /// <param name="url">A Url containing TwiML intructions to execute when the call is dequeued</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void DequeueQueueMember(string queueSid, string callSid, string url, Action<DequeueStatus> callback)
+ {
+ DequeueQueueMember(queueSid, callSid, url, string.Empty, callback);
+ }
+
+ /// <summary>
+ /// Dequeues a specific Caller in the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="callSid">The Sid of the Caller to dequeue</param>
+ /// <param name="url">A Url containing TwiML intructions to execute when the call is dequeued</param>
+ /// <param name="method">The method to use to request the Url</param>
+ /// <param name="callback">Method to call upon successful completion</param>
+ /// <returns></returns>
+ public void DequeueQueueMember(string queueSid, string callSid, string url, string method, Action<DequeueStatus> callback)
+ {
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+ request.AddParameter("CallSid", callSid, ParameterType.UrlSegment);
+
+ request.AddParameter("Url", url);
+ if (!string.IsNullOrEmpty(method)) { request.AddParameter("Method", method); }
+
+ ExecuteAsync(request, (response) => { callback(response.StatusCode == System.Net.HttpStatusCode.NoContent ? DequeueStatus.Success : DequeueStatus.Failed); });
+ }
+ }
+}
View
500 src/Twilio.Api.Silverlight/Twilio.Api.Silverlight.csproj
@@ -1,243 +1,259 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.50727</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{08218C33-9EE0-4B7B-874B-83CCEB8FE4DD}</ProjectGuid>
- <ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Twilio.Silverlight</RootNamespace>
- <AssemblyName>Twilio.Api.Silverlight</AssemblyName>
- <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
- <SilverlightApplication>false</SilverlightApplication>
- <ValidateXaml>true</ValidateXaml>
- <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
- </PropertyGroup>
- <!-- This property group is only here to support building this project using the
- MSBuild 3.5 toolset. In order to work correctly with this older toolset, it needs
- to set the TargetFrameworkVersion to v3.5 -->
- <PropertyGroup Condition="'$(MSBuildToolsVersion)' == '3.5'">
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <NoConfig>true</NoConfig>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>bin\Debug\Twilio.Api.Silverlight.xml</DocumentationFile>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <NoConfig>true</NoConfig>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>bin\Release\Twilio.Api.Silverlight.xml</DocumentationFile>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="mscorlib" />
- <Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\Newtonsoft.Json.4.5.3\lib\sl4\Newtonsoft.Json.dll</HintPath>
- </Reference>
- <Reference Include="RestSharp.Silverlight, Version=102.7.0.0, Culture=neutral, processorArchitecture=MSIL">
- <HintPath>..\packages\RestSharp.103.0.0\lib\sl4\RestSharp.Silverlight.dll</HintPath>
- </Reference>
- <Reference Include="System.Windows" />
- <Reference Include="system" />
- <Reference Include="System.Core" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Net" />
- <Reference Include="System.Windows.Browser" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\Twilio.Api\Core.cs">
- <Link>Core.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Account.cs">
- <Link>Model\Account.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AccountStatus.cs">
- <Link>Model\AccountStatus.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Application.cs">
- <Link>Model\Application.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ApplicationOptions.cs">
- <Link>Model\ApplicationOptions.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ApplicationResult.cs">
- <Link>Model\ApplicationResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AuthorizedConnectApp.cs">
- <Link>Model\AuthorizedConnectApp.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AuthorizedConnectAppResult.cs">
- <Link>Model\AuthorizedConnectAppResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumber.cs">
- <Link>Model\AvailablePhoneNumber.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumberListRequest.cs">
- <Link>Model\AvailablePhoneNumberListRequest.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumberResult.cs">
- <Link>Model\AvailablePhoneNumberResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Call.cs">
- <Link>Model\Call.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\CallListRequest.cs">
- <Link>Model\CallListRequest.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\CallOptions.cs">
- <Link>Model\CallOptions.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\CallResult.cs">
- <Link>Model\CallResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ComparisonType.cs">
- <Link>Model\ComparisonType.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Conference.cs">
- <Link>Model\Conference.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ConferenceListRequest.cs">
- <Link>Model\ConferenceListRequest.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ConferenceResult.cs">
- <Link>Model\ConferenceResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ConnectApp.cs">
- <Link>Model\ConnectApp.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ConnectAppResult.cs">
- <Link>Model\ConnectAppResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\DeleteStatus.cs">
- <Link>Model\DeleteStatus.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\HangupStyle.cs">
- <Link>Model\HangupStyle.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\IncomingPhoneNumber.cs">
- <Link>Model\IncomingPhoneNumber.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\IncomingPhoneNumberResult.cs">
- <Link>Model\IncomingPhoneNumberResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Notification.cs">
- <Link>Model\Notification.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\NotificationResult.cs">
- <Link>Model\NotificationResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\OutgoingCallerId.cs">
- <Link>Model\OutgoingCallerId.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\OutgoingCallerIdResult.cs">
- <Link>Model\OutgoingCallerIdResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Participant.cs">
- <Link>Model\Participant.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ParticipantResult.cs">
- <Link>Model\ParticipantResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Permission.cs">
- <Link>Model\Permission.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\PhoneNumberOptions.cs">
- <Link>Model\PhoneNumberOptions.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Recording.cs">
- <Link>Model\Recording.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\RecordingResult.cs">
- <Link>Model\RecordingResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\RestException.cs">
- <Link>Model\RestException.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Sandbox.cs">
- <Link>Model\Sandbox.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\SmsMessage.cs">
- <Link>Model\SmsMessage.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\SmsMessageResult.cs">
- <Link>Model\SmsMessageResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\SmsShortCode.cs">
- <Link>Model\SmsShortCode.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\SmsShortCodeResult.cs">
- <Link>Model\SmsShortCodeResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Transcription.cs">
- <Link>Model\Transcription.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\TranscriptionResult.cs">
- <Link>Model\TranscriptionResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\TwilioBase.cs">
- <Link>Model\TwilioBase.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\TwilioListBase.cs">
- <Link>Model\TwilioListBase.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ValidationRequest.cs">
- <Link>Model\ValidationRequest.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\SharedAssemblyInfo.cs">
- <Link>SharedAssemblyInfo.cs</Link>
- </Compile>
- <Compile Include="Accounts.Async.cs" />
- <Compile Include="Applications.Async.cs" />
- <Compile Include="AvailablePhoneNumbers.Aysnc.cs" />
- <Compile Include="Calls.Async.cs" />
- <Compile Include="Conference.Async.cs" />
- <Compile Include="ConnectApps.Async.cs" />
- <Compile Include="AuthorizedConnectApps.Async.cs" />
- <Compile Include="Sandbox.Async.cs" />
- <Compile Include="Core.Async.cs" />
- <Compile Include="IncomingPhoneNumbers.Async.cs" />
- <Compile Include="Notifications.Aysnc.cs" />
- <Compile Include="OutgoingCallerIds.Async.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="Recordings.Async.cs" />
- <Compile Include="Sms.Async.cs" />
- <Compile Include="Transcriptions.Async.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="packages.config" />
- </ItemGroup>
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" />
- <ProjectExtensions>
- <VisualStudio>
- <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}">
- <SilverlightProjectProperties />
- </FlavorProperties>
- </VisualStudio>
- </ProjectExtensions>
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.50727</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{08218C33-9EE0-4B7B-874B-83CCEB8FE4DD}</ProjectGuid>
+ <ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Twilio.Silverlight</RootNamespace>
+ <AssemblyName>Twilio.Api.Silverlight</AssemblyName>
+ <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
+ <SilverlightApplication>false</SilverlightApplication>
+ <ValidateXaml>true</ValidateXaml>
+ <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
+ </PropertyGroup>
+ <!-- This property group is only here to support building this project using the
+ MSBuild 3.5 toolset. In order to work correctly with this older toolset, it needs
+ to set the TargetFrameworkVersion to v3.5 -->
+ <PropertyGroup Condition="'$(MSBuildToolsVersion)' == '3.5'">
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <DocumentationFile>bin\Debug\Twilio.Api.Silverlight.xml</DocumentationFile>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <DocumentationFile>bin\Release\Twilio.Api.Silverlight.xml</DocumentationFile>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib" />
+ <Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\Newtonsoft.Json.4.5.3\lib\sl4\Newtonsoft.Json.dll</HintPath>
+ </Reference>
+ <Reference Include="RestSharp.Silverlight, Version=102.7.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <HintPath>..\packages\RestSharp.103.0.0\lib\sl4\RestSharp.Silverlight.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Windows" />
+ <Reference Include="system" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Net" />
+ <Reference Include="System.Windows.Browser" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\Twilio.Api\Core.cs">
+ <Link>Core.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Account.cs">
+ <Link>Model\Account.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AccountStatus.cs">
+ <Link>Model\AccountStatus.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Application.cs">
+ <Link>Model\Application.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ApplicationOptions.cs">
+ <Link>Model\ApplicationOptions.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ApplicationResult.cs">
+ <Link>Model\ApplicationResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AuthorizedConnectApp.cs">
+ <Link>Model\AuthorizedConnectApp.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AuthorizedConnectAppResult.cs">
+ <Link>Model\AuthorizedConnectAppResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumber.cs">
+ <Link>Model\AvailablePhoneNumber.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumberListRequest.cs">
+ <Link>Model\AvailablePhoneNumberListRequest.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumberResult.cs">
+ <Link>Model\AvailablePhoneNumberResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Call.cs">
+ <Link>Model\Call.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\CallListRequest.cs">
+ <Link>Model\CallListRequest.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\CallOptions.cs">
+ <Link>Model\CallOptions.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\CallResult.cs">
+ <Link>Model\CallResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ComparisonType.cs">
+ <Link>Model\ComparisonType.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Conference.cs">
+ <Link>Model\Conference.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ConferenceListRequest.cs">
+ <Link>Model\ConferenceListRequest.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ConferenceResult.cs">
+ <Link>Model\ConferenceResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ConnectApp.cs">
+ <Link>Model\ConnectApp.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ConnectAppResult.cs">
+ <Link>Model\ConnectAppResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\DeleteStatus.cs">
+ <Link>Model\DeleteStatus.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\DequeueStatus.cs">
+ <Link>Model\DequeueStatus.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\HangupStyle.cs">
+ <Link>Model\HangupStyle.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\IncomingPhoneNumber.cs">
+ <Link>Model\IncomingPhoneNumber.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\IncomingPhoneNumberResult.cs">
+ <Link>Model\IncomingPhoneNumberResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Notification.cs">
+ <Link>Model\Notification.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\NotificationResult.cs">
+ <Link>Model\NotificationResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\OutgoingCallerId.cs">
+ <Link>Model\OutgoingCallerId.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\OutgoingCallerIdResult.cs">
+ <Link>Model\OutgoingCallerIdResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Participant.cs">
+ <Link>Model\Participant.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ParticipantResult.cs">
+ <Link>Model\ParticipantResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Permission.cs">
+ <Link>Model\Permission.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\PhoneNumberOptions.cs">
+ <Link>Model\PhoneNumberOptions.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Queue.cs">
+ <Link>Model\Queue.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\QueueMember.cs">
+ <Link>Model\QueueMember.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\QueueMemberResult.cs">
+ <Link>Model\QueueMemberResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\QueueResult.cs">
+ <Link>Model\QueueResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Recording.cs">
+ <Link>Model\Recording.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\RecordingResult.cs">
+ <Link>Model\RecordingResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\RestException.cs">
+ <Link>Model\RestException.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Sandbox.cs">
+ <Link>Model\Sandbox.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\SmsMessage.cs">
+ <Link>Model\SmsMessage.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\SmsMessageResult.cs">
+ <Link>Model\SmsMessageResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\SmsShortCode.cs">
+ <Link>Model\SmsShortCode.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\SmsShortCodeResult.cs">
+ <Link>Model\SmsShortCodeResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Transcription.cs">
+ <Link>Model\Transcription.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\TranscriptionResult.cs">
+ <Link>Model\TranscriptionResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\TwilioBase.cs">
+ <Link>Model\TwilioBase.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\TwilioListBase.cs">
+ <Link>Model\TwilioListBase.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ValidationRequest.cs">
+ <Link>Model\ValidationRequest.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\SharedAssemblyInfo.cs">
+ <Link>SharedAssemblyInfo.cs</Link>
+ </Compile>
+ <Compile Include="Accounts.Async.cs" />
+ <Compile Include="Applications.Async.cs" />
+ <Compile Include="AvailablePhoneNumbers.Aysnc.cs" />
+ <Compile Include="Calls.Async.cs" />
+ <Compile Include="Conference.Async.cs" />
+ <Compile Include="ConnectApps.Async.cs" />
+ <Compile Include="AuthorizedConnectApps.Async.cs" />
+ <Compile Include="Queues.Async.cs" />
+ <Compile Include="Sandbox.Async.cs" />
+ <Compile Include="Core.Async.cs" />
+ <Compile Include="IncomingPhoneNumbers.Async.cs" />
+ <Compile Include="Notifications.Aysnc.cs" />
+ <Compile Include="OutgoingCallerIds.Async.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Recordings.Async.cs" />
+ <Compile Include="Sms.Async.cs" />
+ <Compile Include="Transcriptions.Async.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" />
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}">
+ <SilverlightProjectProperties />
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
</Project>
View
542 src/Twilio.Api.WindowsPhone/Twilio.Api.WindowsPhone.csproj
@@ -1,263 +1,281 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>10.0.20506</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{21E25E45-A334-4178-BD5C-5B875A2911FD}</ProjectGuid>
- <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Twilio.WindowsPhone</RootNamespace>
- <AssemblyName>Twilio.Api.WindowsPhone</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
- <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
- <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
- <SilverlightApplication>false</SilverlightApplication>
- <ValidateXaml>true</ValidateXaml>
- <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>Bin\Debug</OutputPath>
- <DefineConstants>TRACE;DEBUG;WINDOWS_PHONE</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <NoConfig>true</NoConfig>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>Bin\Debug\Twilio.Api.WindowsPhone.xml</DocumentationFile>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>Bin\Release</OutputPath>
- <DefineConstants>TRACE;WINDOWS_PHONE</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <NoConfig>true</NoConfig>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>Bin\Release\Twilio.Api.WindowsPhone.xml</DocumentationFile>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="mscorlib" />
- <Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\Newtonsoft.Json.4.5.3\lib\sl3-wp\Newtonsoft.Json.dll</HintPath>
- </Reference>
- <Reference Include="RestSharp.WindowsPhone, Version=102.7.0.0, Culture=neutral, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\RestSharp.102.7\lib\sl3-wp\RestSharp.WindowsPhone.dll</HintPath>
- </Reference>
- <Reference Include="System.Windows" />
- <Reference Include="system" />
- <Reference Include="System.Core" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Net" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\Twilio.Api.Silverlight\Applications.Async.cs">
- <Link>Applications.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\AuthorizedConnectApps.Async.cs">
- <Link>AuthorizedConnectApps.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\AvailablePhoneNumbers.Aysnc.cs">
- <Link>AvailablePhoneNumbers.Aysnc.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\ConnectApps.Async.cs">
- <Link>ConnectApps.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\Sandbox.Async.cs">
- <Link>Sandbox.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Core.cs">
- <Link>Core.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Account.cs">
- <Link>Model\Account.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AccountStatus.cs">
- <Link>Model\AccountStatus.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Application.cs">
- <Link>Model\Application.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ApplicationOptions.cs">
- <Link>Model\ApplicationOptions.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ApplicationResult.cs">
- <Link>Model\ApplicationResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AuthorizedConnectApp.cs">
- <Link>Model\AuthorizedConnectApp.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AuthorizedConnectAppResult.cs">
- <Link>Model\AuthorizedConnectAppResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumber.cs">
- <Link>Model\AvailablePhoneNumber.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumberListRequest.cs">
- <Link>Model\AvailablePhoneNumberListRequest.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumberResult.cs">
- <Link>Model\AvailablePhoneNumberResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Call.cs">
- <Link>Model\Call.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\CallListRequest.cs">
- <Link>Model\CallListRequest.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\CallOptions.cs">
- <Link>Model\CallOptions.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\CallResult.cs">
- <Link>Model\CallResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ComparisonType.cs">
- <Link>Model\ComparisonType.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Conference.cs">
- <Link>Model\Conference.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ConferenceListRequest.cs">
- <Link>Model\ConferenceListRequest.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ConferenceResult.cs">
- <Link>Model\ConferenceResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ConnectApp.cs">
- <Link>Model\ConnectApp.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ConnectAppResult.cs">
- <Link>Model\ConnectAppResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\DeleteStatus.cs">
- <Link>Model\DeleteStatus.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\HangupStyle.cs">
- <Link>Model\HangupStyle.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\IncomingPhoneNumber.cs">
- <Link>Model\IncomingPhoneNumber.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\IncomingPhoneNumberResult.cs">
- <Link>Model\IncomingPhoneNumberResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Notification.cs">
- <Link>Model\Notification.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\NotificationResult.cs">
- <Link>Model\NotificationResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\OutgoingCallerId.cs">
- <Link>Model\OutgoingCallerId.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\OutgoingCallerIdResult.cs">
- <Link>Model\OutgoingCallerIdResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Participant.cs">
- <Link>Model\Participant.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ParticipantResult.cs">
- <Link>Model\ParticipantResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Permission.cs">
- <Link>Model\Permission.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\PhoneNumberOptions.cs">
- <Link>Model\PhoneNumberOptions.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Recording.cs">
- <Link>Model\Recording.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\RecordingResult.cs">
- <Link>Model\RecordingResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\RestException.cs">
- <Link>Model\RestException.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Sandbox.cs">
- <Link>Model\Sandbox.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\SmsMessage.cs">
- <Link>Model\SmsMessage.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\SmsMessageResult.cs">
- <Link>Model\SmsMessageResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\SmsShortCode.cs">
- <Link>Model\SmsShortCode.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\SmsShortCodeResult.cs">
- <Link>Model\SmsShortCodeResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\Transcription.cs">
- <Link>Model\Transcription.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\TranscriptionResult.cs">
- <Link>Model\TranscriptionResult.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\TwilioBase.cs">
- <Link>Model\TwilioBase.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\TwilioListBase.cs">
- <Link>Model\TwilioListBase.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\Model\ValidationRequest.cs">
- <Link>Model\ValidationRequest.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\Accounts.Async.cs">
- <Link>Accounts.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\Calls.Async.cs">
- <Link>Calls.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\Conference.Async.cs">
- <Link>Conference.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\Core.Async.cs">
- <Link>Core.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\IncomingPhoneNumbers.Async.cs">
- <Link>IncomingPhoneNumbers.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\Notifications.Aysnc.cs">
- <Link>Notifications.Aysnc.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\OutgoingCallerIds.Async.cs">
- <Link>OutgoingCallerIds.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\Recordings.Async.cs">
- <Link>Recordings.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\Sms.Async.cs">
- <Link>Sms.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api.Silverlight\Transcriptions.Async.cs">
- <Link>Transcriptions.Async.cs</Link>
- </Compile>
- <Compile Include="..\Twilio.Api\SharedAssemblyInfo.cs">
- <Link>SharedAssemblyInfo.cs</Link>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="packages.config" />
- </ItemGroup>
- <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
- <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" />
- <ProjectExtensions />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{21E25E45-A334-4178-BD5C-5B875A2911FD}</ProjectGuid>
+ <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Twilio.WindowsPhone</RootNamespace>
+ <AssemblyName>Twilio.Api.WindowsPhone</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
+ <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
+ <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+ <SilverlightApplication>false</SilverlightApplication>
+ <ValidateXaml>true</ValidateXaml>
+ <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Bin\Debug</OutputPath>
+ <DefineConstants>TRACE;DEBUG;WINDOWS_PHONE</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <DocumentationFile>Bin\Debug\Twilio.Api.WindowsPhone.xml</DocumentationFile>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Bin\Release</OutputPath>
+ <DefineConstants>TRACE;WINDOWS_PHONE</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <DocumentationFile>Bin\Release\Twilio.Api.WindowsPhone.xml</DocumentationFile>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="mscorlib" />
+ <Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\Newtonsoft.Json.4.5.3\lib\sl3-wp\Newtonsoft.Json.dll</HintPath>
+ </Reference>
+ <Reference Include="RestSharp.WindowsPhone, Version=102.7.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\RestSharp.102.7\lib\sl3-wp\RestSharp.WindowsPhone.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Windows" />
+ <Reference Include="system" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Net" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\Twilio.Api.Silverlight\Applications.Async.cs">
+ <Link>Applications.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\AuthorizedConnectApps.Async.cs">
+ <Link>AuthorizedConnectApps.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\AvailablePhoneNumbers.Aysnc.cs">
+ <Link>AvailablePhoneNumbers.Aysnc.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\ConnectApps.Async.cs">
+ <Link>ConnectApps.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Queues.Async.cs">
+ <Link>Queues.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Sandbox.Async.cs">
+ <Link>Sandbox.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Core.cs">
+ <Link>Core.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Account.cs">
+ <Link>Model\Account.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AccountStatus.cs">
+ <Link>Model\AccountStatus.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Application.cs">
+ <Link>Model\Application.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ApplicationOptions.cs">
+ <Link>Model\ApplicationOptions.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ApplicationResult.cs">
+ <Link>Model\ApplicationResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AuthorizedConnectApp.cs">
+ <Link>Model\AuthorizedConnectApp.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AuthorizedConnectAppResult.cs">
+ <Link>Model\AuthorizedConnectAppResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumber.cs">
+ <Link>Model\AvailablePhoneNumber.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumberListRequest.cs">
+ <Link>Model\AvailablePhoneNumberListRequest.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\AvailablePhoneNumberResult.cs">
+ <Link>Model\AvailablePhoneNumberResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Call.cs">
+ <Link>Model\Call.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\CallListRequest.cs">
+ <Link>Model\CallListRequest.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\CallOptions.cs">
+ <Link>Model\CallOptions.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\CallResult.cs">
+ <Link>Model\CallResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ComparisonType.cs">
+ <Link>Model\ComparisonType.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Conference.cs">
+ <Link>Model\Conference.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ConferenceListRequest.cs">
+ <Link>Model\ConferenceListRequest.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ConferenceResult.cs">
+ <Link>Model\ConferenceResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ConnectApp.cs">
+ <Link>Model\ConnectApp.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ConnectAppResult.cs">
+ <Link>Model\ConnectAppResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\DeleteStatus.cs">
+ <Link>Model\DeleteStatus.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\DequeueStatus.cs">
+ <Link>Model\DequeueStatus.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\HangupStyle.cs">
+ <Link>Model\HangupStyle.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\IncomingPhoneNumber.cs">
+ <Link>Model\IncomingPhoneNumber.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\IncomingPhoneNumberResult.cs">
+ <Link>Model\IncomingPhoneNumberResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Notification.cs">
+ <Link>Model\Notification.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\NotificationResult.cs">
+ <Link>Model\NotificationResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\OutgoingCallerId.cs">
+ <Link>Model\OutgoingCallerId.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\OutgoingCallerIdResult.cs">
+ <Link>Model\OutgoingCallerIdResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Participant.cs">
+ <Link>Model\Participant.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ParticipantResult.cs">
+ <Link>Model\ParticipantResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Permission.cs">
+ <Link>Model\Permission.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\PhoneNumberOptions.cs">
+ <Link>Model\PhoneNumberOptions.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Queue.cs">
+ <Link>Model\Queue.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\QueueMember.cs">
+ <Link>Model\QueueMember.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\QueueMemberResult.cs">
+ <Link>Model\QueueMemberResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\QueueResult.cs">
+ <Link>Model\QueueResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Recording.cs">
+ <Link>Model\Recording.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\RecordingResult.cs">
+ <Link>Model\RecordingResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\RestException.cs">
+ <Link>Model\RestException.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Sandbox.cs">
+ <Link>Model\Sandbox.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\SmsMessage.cs">
+ <Link>Model\SmsMessage.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\SmsMessageResult.cs">
+ <Link>Model\SmsMessageResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\SmsShortCode.cs">
+ <Link>Model\SmsShortCode.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\SmsShortCodeResult.cs">
+ <Link>Model\SmsShortCodeResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\Transcription.cs">
+ <Link>Model\Transcription.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\TranscriptionResult.cs">
+ <Link>Model\TranscriptionResult.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\TwilioBase.cs">
+ <Link>Model\TwilioBase.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\TwilioListBase.cs">
+ <Link>Model\TwilioListBase.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\Model\ValidationRequest.cs">
+ <Link>Model\ValidationRequest.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Accounts.Async.cs">
+ <Link>Accounts.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Calls.Async.cs">
+ <Link>Calls.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Conference.Async.cs">
+ <Link>Conference.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Core.Async.cs">
+ <Link>Core.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\IncomingPhoneNumbers.Async.cs">
+ <Link>IncomingPhoneNumbers.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Notifications.Aysnc.cs">
+ <Link>Notifications.Aysnc.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\OutgoingCallerIds.Async.cs">
+ <Link>OutgoingCallerIds.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Recordings.Async.cs">
+ <Link>Recordings.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Sms.Async.cs">
+ <Link>Sms.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Transcriptions.Async.cs">
+ <Link>Transcriptions.Async.cs</Link>
+ </Compile>
+ <Compile Include="..\Twilio.Api\SharedAssemblyInfo.cs">
+ <Link>SharedAssemblyInfo.cs</Link>
+ </Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" />
+ <ProjectExtensions />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
</Project>
View
22 src/Twilio.Api/Model/DequeueStatus.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Twilio
+{
+ /// <summary>
+ /// Status of a Dequeue request
+ /// </summary>
+ public enum DequeueStatus
+ {
+ /// <summary>
+ /// The Dequeue was successful
+ /// </summary>
+ Success,
+ /// <summary>
+ /// The Dequeue failed
+ /// </summary>
+ Failed
+ }
+}
View
45 src/Twilio.Api/Model/Queue.cs
@@ -0,0 +1,45 @@
+using System;
+
+namespace Twilio
+{
+ /// <summary>
+ /// An Queue instance resource
+ /// </summary>
+ public class Queue : TwilioBase
+ {
+ /// <summary>
+ /// A 34 character string that uniquely identifies this resource.
+ /// </summary>
+ public string Sid { get; set; }
+
+ /// <summary>
+ /// A user provided string that identifies this queue.
+ /// </summary>
+ public string FriendlyName { get; set; }
+
+ /// <summary>
+ /// A count of the current number of calls in the Queue
+ /// </summary>
+ public int? CurrentSize { get; set; }
+
+ /// <summary>
+ /// The average (in seconds) that all calls in the queue have waited
+ /// </summary>
+ public int? AverageWaitTime { get; set; }
+
+ /// <summary>
+ /// The maximum number of calls allowed in this queue
+ /// </summary>
+ public int? MaxSize { get; set; }
+
+ /// <summary>
+ /// The date that this resource was created, given as GMT
+ /// </summary>
+ public DateTime DateCreated { get; set; }
+
+ /// <summary>
+ /// The date that this resource was last updated, given as GMT
+ /// </summary>
+ public DateTime DateUpdated { get; set; }
+ }
+}
View
30 src/Twilio.Api/Model/QueueMember.cs
@@ -0,0 +1,30 @@
+using System;
+
+namespace Twilio
+{
+ /// <summary>
+ /// A QueueMember represents a single member of a Twilio Queue
+ /// </summary>
+ public class QueueMember : TwilioBase
+ {
+ /// <summary>
+ /// A 34 character string that identifies the caller
+ /// </summary>
+ public string CallSid { get; set; }
+
+ /// <summary>
+ /// The DateTime when the caller was enqueued
+ /// </summary>
+ public DateTime DateEnqueued { get; set; }
+
+ /// <summary>
+ /// The time in seconds that the caller has been queued
+ /// </summary>
+ public int? WaitTime { get; set; }
+
+ /// <summary>
+ /// The callers current position in the Queue
+ /// </summary>
+ public int? CurrentPosition { get; set; }
+ }
+}
View
15 src/Twilio.Api/Model/QueueMemberResult.cs
@@ -0,0 +1,15 @@
+using System.Collections.Generic;
+
+namespace Twilio
+{
+ /// <summary>
+ /// Twilio API call result with paging information
+ /// </summary>
+ public class QueueMemberResult : TwilioListBase
+ {
+ /// <summary>
+ /// List of QueueMember instances returned by the API
+ /// </summary>
+ public List<QueueMember> QueueMembers { get; set; }
+ }
+}
View
15 src/Twilio.Api/Model/QueueResult.cs
@@ -0,0 +1,15 @@
+using System.Collections.Generic;
+
+namespace Twilio
+{
+ /// <summary>
+ /// Twilio API call result with paging information
+ /// </summary>
+ public class QueueResult : TwilioListBase
+ {
+ /// <summary>
+ /// List of Queue instances returned by the API
+ /// </summary>
+ public List<Queue> Queues { get; set; }
+ }
+}
View
219 src/Twilio.Api/Queues.cs
@@ -0,0 +1,219 @@
+using RestSharp;
+using RestSharp.Validation;
+
+namespace Twilio
+{
+ public partial class TwilioRestClient
+ {
+ /// <summary>
+ /// Return a list of all Queue resources
+ /// </summary>
+ /// <returns></returns>
+ public QueueResult ListQueues()
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues.json";
+
+ return Execute<QueueResult>(request);
+ }
+
+ /// <summary>
+ /// Creates a new Queue resource
+ /// </summary>
+ /// <param name="friendlyName">The name of the Queue</param>
+ /// <returns></returns>
+ public Queue CreateQueue(string friendlyName)
+ {
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues.json";
+
+ request.AddParameter("FriendlyName", friendlyName);
+
+ return Execute<Queue>(request);
+ }
+
+ /// <summary>
+ /// Creates a new Queue resource
+ /// </summary>
+ /// <param name="friendlyName">The name of the Queue</param>
+ /// <param name="maxSize">The maximum number of calls allowed in the queue</param>
+ /// <returns></returns>
+ public Queue CreateQueue(string friendlyName, int maxSize)
+ {
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues.json";
+
+ request.AddParameter("FriendlyName", friendlyName);
+ request.AddParameter("MaxSize", maxSize);
+
+ return Execute<Queue>(request);
+ }
+
+ /// <summary>
+ /// Locates and returns a specific Queue resource
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <returns></returns>
+ public Queue GetQueue(string queueSid)
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+
+ return Execute<Queue>(request);
+ }
+
+ /// <summary>
+ /// Updates a specific Queue resource
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to update</param>
+ /// <param name="friendlyName">The name of the Queue</param>
+ /// <param name="maxSize">The maximum number of calls allowed in the queue</param>
+ /// <returns></returns>
+ public Queue UpdateQueue(string queueSid, string friendlyName, int maxSize)
+ {
+ Require.Argument("QueueSid", queueSid);
+
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+ request.AddParameter("FriendlyName", friendlyName);
+ request.AddParameter("MaxSize", maxSize);
+
+ return Execute<Queue>(request);
+ }
+
+ /// <summary>
+ /// Deletes a Queue resource
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to delete</param>
+ /// <returns></returns>
+ public DeleteStatus DeleteQueue(string queueSid)
+ {
+ Require.Argument("QueueSid", queueSid);
+ var request = new RestRequest(Method.DELETE);
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+
+ var response = Execute(request);
+ return response.StatusCode == System.Net.HttpStatusCode.NoContent ? DeleteStatus.Success : DeleteStatus.Failed;
+ }
+
+ /// <summary>
+ /// Return a List of all Calls currently in the the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <returns></returns>
+ public QueueMemberResult ListQueueMembers(string queueSid)
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+
+ return Execute<QueueMemberResult>(request);
+ }
+
+ /// <summary>
+ /// Returns the Call in the first position of the wait Queue for the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <returns></returns>
+ public QueueMember GetFirstQueueMember(string queueSid)
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members/Front.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+
+ return Execute<QueueMember>(request);
+ }
+
+
+ /// <summary>
+ /// Locate and return a specific Call in the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to search</param>
+ /// <param name="callSid">The Sid of the Call to locate</param>
+ /// <returns></returns>
+ public QueueMember GetQueueMember(string queueSid, string callSid)
+ {
+ var request = new RestRequest();
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+ request.AddParameter("CallSid", callSid, ParameterType.UrlSegment);
+
+ return Execute<QueueMember>(request);
+ }
+
+ /// <summary>
+ /// Dequeues the Caller in the first wait position for the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="url">A Url containing TwiML intructions to execute when the call is dequeued</param>
+ /// <returns></returns>
+ public DequeueStatus DequeueFirstQueueMember(string queueSid, string url)
+ {
+ return DequeueFirstQueueMember(queueSid, url, string.Empty);
+ }
+
+ /// <summary>
+ /// Dequeues the Caller in the first wait position for the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="url">A Url containing TwiML intructions to execute when the call is dequeued</param>
+ /// <param name="method">The method to use to request the Url</param>
+ /// <returns></returns>
+ public DequeueStatus DequeueFirstQueueMember(string queueSid, string url, string method)
+ {
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members/Front.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+ request.AddParameter("Url", url);
+ if (!string.IsNullOrEmpty(method)) { request.AddParameter("Method", method); }
+
+ var response = Execute(request);
+ return response.StatusCode == System.Net.HttpStatusCode.OK ? DequeueStatus.Success : DequeueStatus.Failed;
+ }
+
+ /// <summary>
+ /// Dequeues a specific Caller in the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="callSid">The Sid of the Caller to dequeue</param>
+ /// <param name="url">A Url containing TwiML intructions to execute when the call is dequeued</param>
+ /// <returns></returns>
+ public DequeueStatus DequeueQueueMember(string queueSid, string callSid, string url)
+ {
+ return DequeueQueueMember(queueSid, callSid, url, string.Empty);
+ }
+
+ /// <summary>
+ /// Dequeues a specific Caller in the specified Queue
+ /// </summary>
+ /// <param name="queueSid">The Sid of the Queue to locate</param>
+ /// <param name="callSid">The Sid of the Caller to dequeue</param>
+ /// <param name="url">A Url containing TwiML intructions to execute when the call is dequeued</param>
+ /// <param name="method">The method to use to request the Url</param>
+ /// <returns></returns>
+ public DequeueStatus DequeueQueueMember(string queueSid, string callSid, string url, string method)
+ {
+ var request = new RestRequest(Method.POST);
+ request.Resource = "Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json";
+
+ request.AddParameter("QueueSid", queueSid, ParameterType.UrlSegment);
+ request.AddParameter("CallSid", callSid, ParameterType.UrlSegment);
+
+ request.AddParameter("Url", url);
+ if (!string.IsNullOrEmpty(method)) { request.AddParameter("Method", method); }
+
+ var response = Execute(request);
+ return response.StatusCode == System.Net.HttpStatusCode.OK ? DequeueStatus.Success : DequeueStatus.Failed;
+ }
+ }
+}
View
28 src/Twilio.Api/SharedAssemblyInfo.cs
@@ -1,14 +1,14 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyCompany("Twilio")]
-[assembly: AssemblyProduct("Twilio")]
-[assembly: AssemblyCopyright("Copyright Twilio")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: ComVisible(false)]
-
-[assembly: AssemblyVersion("3.3.6.0")]
-[assembly: AssemblyFileVersion("3.3.6.0")]
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyCompany("Twilio")]
+[assembly: AssemblyProduct("Twilio")]
+[assembly: AssemblyCopyright("Copyright Twilio")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+
+[assembly: AssemblyVersion("3.4.1.0")]
+[assembly: AssemblyFileVersion("3.4.1.0")]
View
9 src/Twilio.Api/Twilio.Api.csproj
@@ -91,6 +91,9 @@
<Compile Include="..\Twilio.Api.Silverlight\OutgoingCallerIds.Async.cs">
<Link>OutgoingCallerIds.Async.cs</Link>
</Compile>
+ <Compile Include="..\Twilio.Api.Silverlight\Queues.Async.cs">
+ <Link>Queues.Async.cs</Link>
+ </Compile>
<Compile Include="..\Twilio.Api.Silverlight\Recordings.Async.cs">
<Link>Recordings.Async.cs</Link>
</Compile>
@@ -118,10 +121,16 @@
<Compile Include="Model\ConnectApp.cs" />
<Compile Include="Model\ConnectAppResult.cs" />
<Compile Include="Model\AuthorizedConnectAppResult.cs" />
+ <Compile Include="Model\DequeueStatus.cs" />
<Compile Include="Model\Permission.cs" />
+ <Compile Include="Model\Queue.cs" />
+ <Compile Include="Model\QueueMember.cs" />
+ <Compile Include="Model\QueueMemberResult.cs" />
+ <Compile Include="Model\QueueResult.cs" />
<Compile Include="Model\SmsShortCodeResult.cs" />
<Compile Include="Model\DeleteStatus.cs" />
<Compile Include="Model\SmsShortCode.cs" />
+ <Compile Include="Queues.cs" />
<Compile Include="Sandbox.cs" />
<Compile Include="Core.cs" />
<Compile Include="IncomingPhoneNumbers.cs" />
View
7 src/Twilio.Mvc/SmsRequest.cs
@@ -6,7 +6,14 @@
/// <remarks>http://www.twilio.com/docs/api/twiml/sms/twilio_request</remarks>
public class SmsRequest : TwilioRequest
{
+ /// <summary>
+ /// A 34 character unique identifier for the message. May be used to later retrieve this message from the REST API
+ /// </summary>
public string SmsSid { get; set; }
+
+ /// <summary>
+ /// The text body of the SMS message. Up to 160 characters long
+ /// </summary>
public string Body { get; set; }
}
}
View
40 src/Twilio.Mvc/TwilioController.cs
@@ -1,16 +1,24 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Web.Mvc;
-
-namespace Twilio.TwiML.Mvc
-{
- public class TwilioController : Controller
- {
- public TwiMLResult TwiML(TwilioResponse response)
- {
- return new TwiMLResult(response);
- }
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Web.Mvc;
+
+namespace Twilio.TwiML.Mvc
+{
+ /// <summary>
+ /// Extends the standard base controller to simplify returning a TwiML response
+ /// </summary>
+ public class TwilioController : Controller
+ {
+ /// <summary>
+ /// Returns a property formatted TwiML response
+ /// </summary>
+ /// <param name="response"></param>
+ /// <returns></returns>
+ public TwiMLResult TwiML(TwilioResponse response)
+ {
+ return new TwiMLResult(response);
+ }
+ }
+}
View
49 src/Twilio.Mvc/TwilioRequest.cs
@@ -5,17 +5,66 @@
/// </summary>
public abstract class TwilioRequest
{
+ /// <summary>
+ /// Your Twilio account id. It is 34 characters long, and always starts with the letters AC
+ /// </summary>
public string AccountSid { get; set; }
+
+ /// <summary>
+ /// The phone number or client identifier of the party that initiated the call
+ /// </summary>
+ /// <remarks>
+ /// Phone numbers are formatted with a '+' and country code, e.g. +16175551212 (E.164 format). Client identifiers begin with the client: URI scheme; for example, for a call from a client named 'tommy', the From parameter will be client:tommy.
+ /// </remarks>
public string From { get; set; }
+
+ /// <summary>
+ /// The phone number or client identifier of the called party
+ /// </summary>
+ /// <remarks>
+ /// Phone numbers are formatted with a '+' and country code, e.g. +16175551212 (E.164 format). Client identifiers begin with the client: URI scheme; for example, for a call to a client named 'jenny', the To parameter will be client:jenny.
+ /// </remarks>
public string To { get; set; }
+
+ /// <summary>
+ /// The city of the caller
+ /// </summary>
public string FromCity { get; set; }
+
+ /// <summary>
+ /// The state or province of the caller
+ /// </summary>
public string FromState { get; set; }
+
+ /// <summary>
+ /// The postal code of the caller
+ /// </summary>
public string FromZip { get; set; }
+
+ /// <summary>
+ /// The country of the caller
+ /// </summary>
public string FromCountry { get; set; }
+
+ /// <summary>
+ /// The city of the called party
+ /// </summary>
public string ToCity { get; set; }
+
+ /// <summary>
+ /// The state or province of the called party
+ /// </summary>
public string ToState { get; set; }
+
+ /// <summary>
+ /// The postal code of the called party
+ /// </summary>
public string ToZip { get; set; }
+
+ /// <summary>
+ /// The country of the called party
+ /// </summary>
public string ToCountry { get; set; }
}
}
View
80 src/Twilio.Mvc/VoiceRequest.cs
@@ -6,28 +6,102 @@
/// <remarks>http://www.twilio.com/docs/api/twiml/twilio_request</remarks>
public class VoiceRequest : TwilioRequest
{
+ /// <summary>
+ /// A unique identifier for this call, generated by Twilio
+ /// </summary>
public string CallSid { get; set; }
+
+ /// <summary>
+ /// A descriptive status for the call. The value is one of queued, ringing, in-progress, completed, busy, failed or no-answer
+ /// </summary>
public string CallStatus { get; set; }
+
+ /// <summary>
+ /// The version of the Twilio API used to handle this call. For incoming calls, this is determined by the API version set on the called number. For outgoing calls, this is the API version used by the outgoing call's REST API request
+ /// </summary>
public string ApiVersion { get; set; }
+
+ /// <summary>
+ /// Indicates the direction of the call. In most cases this will be inbound, but if you are using Dial it will be outbound-dial
+ /// </summary>
public string Direction { get; set; }
+
+ /// <summary>
+ /// This parameter is set only when Twilio receives a forwarded call, but its value depends on the caller's carrier including information when forwarding. Not all carriers support passing this information
+ /// </summary>
public string ForwardedFrom { get; set; }
+
+ /// <summary>
+ /// This parameter is set when the IncomingPhoneNumber that received the call has had its VoiceCallerIdLookup value set to true.
+ /// </summary>
public string CallerName { get; set; }
- //optional parameters only populated by the Gather or Record verbs
+ #region Gather & Record Parameters
+
+ /// <summary>
+ /// When used with the Gather verb, the digits the caller pressed, excluding the finishOnKey digit if used.
+ /// When used with the Record verb, the key (if any) pressed to end the recording or 'hangup' if the caller hung up
+ /// </summary>
public string Digits { get; set; }
+
+ /// <summary>
+ /// The URL of the recorded audio. When the result of a transcription, the URL for the transcription's source recording resource.
+ /// </summary>
public string RecordingUrl { get; set; }
+
+ /// <summary>
+ /// The duration of the recorded audio (in seconds)
+ /// </summary>
public string RecordingDuration { get; set; }
- //optional parameters only populated when recording transcription is true
+ #endregion
+
+ #region Transcription Parameters
+
+ /// <summary>
+ /// The unique 34 character ID of the transcription
+ /// </summary>
public string TranscriptionSid { get; set; }
+
+ /// <summary>
+ /// Contains the text of the transcription
+ /// </summary>
public string TranscriptionText { get; set; }
+
+ /// <summary>
+ /// The status of the transcription attempt: either 'completed' or 'failed'
+ /// </summary>
public string TranscriptionStatus { get; set; }
+
+ /// <summary>
+ /// The URL for the transcription's REST API resource
+ /// </summary>
public string TranscriptionUrl { get; set; }
+
+ /// <summary>
+ /// The unique 34 character ID of the recording from which the transcription was generated
+ /// </summary>
public string RecordingSid { get; set; }
- //optional parameters only populated when the <Dial> verb is used to init a call
+ #endregion
+
+ #region Dial Parameters
+
+ /// <summary>
+ /// The outcome of the Dial attempt. See the DialCallStatus section below for details
+ /// </summary>
public string DialCallStatus { get; set; }
+
+ /// <summary>
+ /// The call sid of the new call leg. This parameter is not sent after dialing a conference
+ /// </summary>
public string DialCallSid { get; set; }
+
+ /// <summary>
+ /// The duration in seconds of the dialed call. This parameter is not sent after dialing a conference
+ /// </summary>
public string DialCallDuration { get; set; }
+
+ #endregion
}
}
View
156 src/Twilio.Twiml/Twilio.TwiML.csproj
@@ -1,78 +1,80 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.30703</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{D810C485-249B-499D-B5BA-8D6507E11DED}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Twilio.Twiml</RootNamespace>
- <AssemblyName>Twilio.Twiml</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <TargetFrameworkProfile>
- </TargetFrameworkProfile>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>bin\Debug\Twilio.Twiml.xml</DocumentationFile>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <DocumentationFile>bin\Release\Twilio.Twiml.xml</DocumentationFile>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Core" />
- <Reference Include="System.Web" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\Twilio.Api\SharedAssemblyInfo.cs">
- <Link>SharedAssemblyInfo.cs</Link>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="RequestValidator.cs" />
- <Compile Include="TwilioResponse.cs" />
- <Compile Include="Verbs\Conference.cs" />
- <Compile Include="Verbs\Client.cs" />
- <Compile Include="Verbs\IDialNoun.cs" />
- <Compile Include="Verbs\IVerb.cs" />
- <Compile Include="Verbs\Pause.cs" />
- <Compile Include="Verbs\Number.cs" />
- <Compile Include="Verbs\Reject.cs" />
- <Compile Include="Verbs\Hangup.cs" />
- <Compile Include="Verbs\Dial.cs" />
- <Compile Include="Verbs\Redirect.cs" />
- <Compile Include="Verbs\Sms.cs" />
- <Compile Include="Verbs\Record.cs" />
- <Compile Include="Verbs\Play.cs" />
- <Compile Include="Verbs\Gather.cs" />
- <Compile Include="Verbs\Say.cs" />
- <Compile Include="Verbs\ElementBase.cs" />
- </ItemGroup>
- <ItemGroup />
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.30703</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{D810C485-249B-499D-B5BA-8D6507E11DED}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Twilio.Twiml</RootNamespace>
+ <AssemblyName>Twilio.Twiml</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ <TargetFrameworkProfile>
+ </TargetFrameworkProfile>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <DocumentationFile>bin\Debug\Twilio.Twiml.xml</DocumentationFile>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <DocumentationFile>bin\Release\Twilio.Twiml.xml</DocumentationFile>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Web" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\Twilio.Api\SharedAssemblyInfo.cs">
+ <Link>SharedAssemblyInfo.cs</Link>
+ </Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="RequestValidator.cs" />
+ <Compile Include="TwilioResponse.cs" />
+ <Compile Include="Verbs\Conference.cs" />
+ <Compile Include="Verbs\Client.cs" />
+ <Compile Include="Verbs\Enqueue.cs" />
+ <Compile Include="Verbs\IDialNoun.cs" />
+ <Compile Include="Verbs\IVerb.cs" />
+ <Compile Include="Verbs\Pause.cs" />
+ <Compile Include="Verbs\Number.cs" />
+ <Compile Include="Verbs\Queue.cs" />
+ <Compile Include="Verbs\Reject.cs" />
+ <Compile Include="Verbs\Hangup.cs" />
+ <Compile Include="Verbs\Dial.cs" />
+ <Compile Include="Verbs\Redirect.cs" />
+ <Compile Include="Verbs\Sms.cs" />
+ <Compile Include="Verbs\Record.cs" />
+ <Compile Include="Verbs\Play.cs" />
+ <Compile Include="Verbs\Gather.cs" />
+ <Compile Include="Verbs\Say.cs" />
+ <Compile Include="Verbs\ElementBase.cs" />
+ </ItemGroup>
+ <ItemGroup />
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
</Project>
View
290 src/Twilio.Twiml/TwilioResponse.cs