Skip to content

Commit 5c5778d

Browse files
committed
Rename parameters too
1 parent 62b70d3 commit 5c5778d

File tree

192 files changed

+3382
-3382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+3382
-3382
lines changed

src/Twilio/Rest/Api/V2010/Account/Address/DependentPhoneNumberOptions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ public class ReadDependentPhoneNumberOptions : ReadOptions<DependentPhoneNumberR
2323
/// Construct a new ReadDependentPhoneNumberOptions
2424
/// </summary>
2525
///
26-
/// <param name="addressSid"> The address_sid </param>
27-
public ReadDependentPhoneNumberOptions(string addressSid)
26+
/// <param name="pathAddressSid"> The address_sid </param>
27+
public ReadDependentPhoneNumberOptions(string pathAddressSid)
2828
{
29-
PathAddressSid = addressSid;
29+
PathAddressSid = pathAddressSid;
3030
}
3131

3232
/// <summary>

src/Twilio/Rest/Api/V2010/Account/Address/DependentPhoneNumberResource.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ public static async System.Threading.Tasks.Task<ResourceSet<DependentPhoneNumber
6464
/// read
6565
/// </summary>
6666
///
67-
/// <param name="addressSid"> The address_sid </param>
68-
/// <param name="accountSid"> The account_sid </param>
67+
/// <param name="pathAddressSid"> The address_sid </param>
68+
/// <param name="pathAccountSid"> The account_sid </param>
6969
/// <param name="pageSize"> Page size </param>
7070
/// <param name="limit"> Record limit </param>
7171
/// <param name="client"> Client to make requests to Twilio </param>
7272
/// <returns> A single instance of DependentPhoneNumber </returns>
73-
public static ResourceSet<DependentPhoneNumberResource> Read(string addressSid, string accountSid = null, int? pageSize = null, long? limit = null, ITwilioRestClient client = null)
73+
public static ResourceSet<DependentPhoneNumberResource> Read(string pathAddressSid, string pathAccountSid = null, int? pageSize = null, long? limit = null, ITwilioRestClient client = null)
7474
{
75-
var options = new ReadDependentPhoneNumberOptions(addressSid){PathAccountSid = accountSid, PageSize = pageSize, Limit = limit};
75+
var options = new ReadDependentPhoneNumberOptions(pathAddressSid){PathAccountSid = pathAccountSid, PageSize = pageSize, Limit = limit};
7676
return Read(options, client);
7777
}
7878

@@ -81,15 +81,15 @@ public static ResourceSet<DependentPhoneNumberResource> Read(string addressSid,
8181
/// read
8282
/// </summary>
8383
///
84-
/// <param name="addressSid"> The address_sid </param>
85-
/// <param name="accountSid"> The account_sid </param>
84+
/// <param name="pathAddressSid"> The address_sid </param>
85+
/// <param name="pathAccountSid"> The account_sid </param>
8686
/// <param name="pageSize"> Page size </param>
8787
/// <param name="limit"> Record limit </param>
8888
/// <param name="client"> Client to make requests to Twilio </param>
8989
/// <returns> Task that resolves to A single instance of DependentPhoneNumber </returns>
90-
public static async System.Threading.Tasks.Task<ResourceSet<DependentPhoneNumberResource>> ReadAsync(string addressSid, string accountSid = null, int? pageSize = null, long? limit = null, ITwilioRestClient client = null)
90+
public static async System.Threading.Tasks.Task<ResourceSet<DependentPhoneNumberResource>> ReadAsync(string pathAddressSid, string pathAccountSid = null, int? pageSize = null, long? limit = null, ITwilioRestClient client = null)
9191
{
92-
var options = new ReadDependentPhoneNumberOptions(addressSid){PathAccountSid = accountSid, PageSize = pageSize, Limit = limit};
92+
var options = new ReadDependentPhoneNumberOptions(pathAddressSid){PathAccountSid = pathAccountSid, PageSize = pageSize, Limit = limit};
9393
return await ReadAsync(options, client);
9494
}
9595
#endif

src/Twilio/Rest/Api/V2010/Account/AddressOptions.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ public class DeleteAddressOptions : IOptions<AddressResource>
135135
/// Construct a new DeleteAddressOptions
136136
/// </summary>
137137
///
138-
/// <param name="sid"> The sid </param>
139-
public DeleteAddressOptions(string sid)
138+
/// <param name="pathSid"> The sid </param>
139+
public DeleteAddressOptions(string pathSid)
140140
{
141-
PathSid = sid;
141+
PathSid = pathSid;
142142
}
143143

144144
/// <summary>
@@ -169,10 +169,10 @@ public class FetchAddressOptions : IOptions<AddressResource>
169169
/// Construct a new FetchAddressOptions
170170
/// </summary>
171171
///
172-
/// <param name="sid"> The sid </param>
173-
public FetchAddressOptions(string sid)
172+
/// <param name="pathSid"> The sid </param>
173+
public FetchAddressOptions(string pathSid)
174174
{
175-
PathSid = sid;
175+
PathSid = pathSid;
176176
}
177177

178178
/// <summary>
@@ -231,10 +231,10 @@ public class UpdateAddressOptions : IOptions<AddressResource>
231231
/// Construct a new UpdateAddressOptions
232232
/// </summary>
233233
///
234-
/// <param name="sid"> The sid </param>
235-
public UpdateAddressOptions(string sid)
234+
/// <param name="pathSid"> The sid </param>
235+
public UpdateAddressOptions(string pathSid)
236236
{
237-
PathSid = sid;
237+
PathSid = pathSid;
238238
}
239239

240240
/// <summary>

0 commit comments

Comments
 (0)