diff --git a/src/Twilio/Base/IOptions.cs b/src/Twilio/Base/IOptions.cs index b966f47cd..905b84e7f 100644 --- a/src/Twilio/Base/IOptions.cs +++ b/src/Twilio/Base/IOptions.cs @@ -14,7 +14,7 @@ public interface IOptions where T : Resource /// /// /// List of parameters for the request - List> GetParams(); + // List> GetParams(); } /// diff --git a/src/Twilio/Http/Request.cs b/src/Twilio/Http/Request.cs index 76cf169dd..869db5e6b 100644 --- a/src/Twilio/Http/Request.cs +++ b/src/Twilio/Http/Request.cs @@ -102,6 +102,8 @@ public Request(HttpMethod method, string url) /// Post data /// Twilio edge /// Custom header data + /// Content Type + /// Request Body public Request( HttpMethod method, Domain domain, @@ -110,7 +112,9 @@ public Request( List> queryParams = null, List> postParams = null, string edge = null, - List> headerParams = null + List> headerParams = null, + EnumConstants.ContentTypeEnum contentType = null, + string body = null ) { Method = method; @@ -121,6 +125,9 @@ public Request( QueryParams = queryParams ?? new List>(); PostParams = postParams ?? new List>(); HeaderParams = headerParams ?? new List>(); + + ContentType = contentType; + Body = body; } /// diff --git a/src/Twilio/Properties/AssemblyInfo.cs b/src/Twilio/Properties/AssemblyInfo.cs index e5d0c938d..c4bff21fb 100644 --- a/src/Twilio/Properties/AssemblyInfo.cs +++ b/src/Twilio/Properties/AssemblyInfo.cs @@ -10,5 +10,5 @@ internal class AssemblyInfomation { - public const string AssemblyInformationalVersion = "6.12.0"; + public const string AssemblyInformationalVersion = "7.0.0-rc.0"; } diff --git a/src/Twilio/Twilio.csproj b/src/Twilio/Twilio.csproj index 4a87c64c2..5cacd315f 100644 --- a/src/Twilio/Twilio.csproj +++ b/src/Twilio/Twilio.csproj @@ -7,9 +7,8 @@ Copyright © Twilio Twilio en-US - 6.12.0 - - + 7.0.0 + rc.0 Twilio $(NoWarn);CS1591 true