File tree 2 files changed +4
-4
lines changed
src/Twilio/Rest/Api/V2010/Account
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public class CreateCallOptions : IOptions<CallResource>
29
29
/// <summary>
30
30
/// Twilio number from which to originate the call
31
31
/// </summary>
32
- public Types . PhoneNumber From { get ; }
32
+ public IEndpoint From { get ; }
33
33
/// <summary>
34
34
/// The absolute URL that returns TwiML for this call
35
35
/// </summary>
@@ -132,7 +132,7 @@ public class CreateCallOptions : IOptions<CallResource>
132
132
/// </summary>
133
133
/// <param name="to"> Phone number, SIP address, or client identifier to call </param>
134
134
/// <param name="from"> Twilio number from which to originate the call </param>
135
- public CreateCallOptions ( IEndpoint to , Types . PhoneNumber from )
135
+ public CreateCallOptions ( IEndpoint to , IEndpoint from )
136
136
{
137
137
To = to ;
138
138
From = from ;
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ public static async System.Threading.Tasks.Task<CallResource> CreateAsync(Create
146
146
/// <param name="client"> Client to make requests to Twilio </param>
147
147
/// <returns> A single instance of Call </returns>
148
148
public static CallResource Create ( IEndpoint to ,
149
- Types . PhoneNumber from ,
149
+ IEndpoint from ,
150
150
string pathAccountSid = null ,
151
151
Uri url = null ,
152
152
string applicationSid = null ,
@@ -217,7 +217,7 @@ public static CallResource Create(IEndpoint to,
217
217
/// <param name="client"> Client to make requests to Twilio </param>
218
218
/// <returns> Task that resolves to A single instance of Call </returns>
219
219
public static async System . Threading . Tasks . Task < CallResource > CreateAsync ( IEndpoint to ,
220
- Types . PhoneNumber from ,
220
+ IEndpoint from ,
221
221
string pathAccountSid = null ,
222
222
Uri url = null ,
223
223
string applicationSid = null ,
You can’t perform that action at this time.
0 commit comments