diff --git a/examples/csharp/src/Twilio/Rest/Api/V2010/Account/Call/FeedbackCallSummaryResource.cs b/examples/csharp/src/Twilio/Rest/Api/V2010/Account/Call/FeedbackCallSummaryResource.cs
index 1081d3a76..91e2b7351 100644
--- a/examples/csharp/src/Twilio/Rest/Api/V2010/Account/Call/FeedbackCallSummaryResource.cs
+++ b/examples/csharp/src/Twilio/Rest/Api/V2010/Account/Call/FeedbackCallSummaryResource.cs
@@ -25,6 +25,8 @@
using Twilio.Types;
+
+
namespace Twilio.Rest.Api.V2010.Account.Call
{
public class FeedbackCallSummaryResource : Resource
@@ -88,7 +90,7 @@ public static FeedbackCallSummaryResource Update(UpdateFeedbackCallSummaryOption
/// Task that resolves to A single instance of FeedbackCallSummary
#if !NET35
public static async System.Threading.Tasks.Task UpdateAsync(UpdateFeedbackCallSummaryOptions options,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildUpdateRequest(options, client));
@@ -110,7 +112,7 @@ public static FeedbackCallSummaryResource Update(
DateTime? startDate,
string pathAccountSid = null,
string accountSid = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new UpdateFeedbackCallSummaryOptions(pathSid, endDate, startDate){ PathAccountSid = pathAccountSid, AccountSid = accountSid };
return Update(options, client);
@@ -131,7 +133,7 @@ public static async System.Threading.Tasks.Task Upd
DateTime? startDate,
string pathAccountSid = null,
string accountSid = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new UpdateFeedbackCallSummaryOptions(pathSid, endDate, startDate){ PathAccountSid = pathAccountSid, AccountSid = accountSid };
return await UpdateAsync(options, client);
diff --git a/examples/csharp/src/Twilio/Rest/Api/V2010/Account/CallResource.cs b/examples/csharp/src/Twilio/Rest/Api/V2010/Account/CallResource.cs
index 92b48c64b..7f0c78496 100644
--- a/examples/csharp/src/Twilio/Rest/Api/V2010/Account/CallResource.cs
+++ b/examples/csharp/src/Twilio/Rest/Api/V2010/Account/CallResource.cs
@@ -25,6 +25,8 @@
using Twilio.Types;
+
+
namespace Twilio.Rest.Api.V2010.Account
{
public class CallResource : Resource
@@ -85,8 +87,7 @@ public static CallResource Create(CreateCallOptions options, ITwilioRestClient c
/// Create Call parameters
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Call
- public static async System.Threading.Tasks.Task CreateAsync(CreateCallOptions options,
- ITwilioRestClient client = null)
+ public static async System.Threading.Tasks.Task CreateAsync(CreateCallOptions options, ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildCreateRequest(options, client));
@@ -108,7 +109,7 @@ public static CallResource Create(
string pathAccountSid = null,
List testArrayOfStrings = null,
List testArrayOfUri = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new CreateCallOptions(requiredStringProperty, testMethod){ PathAccountSid = pathAccountSid, TestArrayOfStrings = testArrayOfStrings, TestArrayOfUri = testArrayOfUri };
return Create(options, client);
@@ -129,7 +130,7 @@ public static async System.Threading.Tasks.Task CreateAsync(
string pathAccountSid = null,
List testArrayOfStrings = null,
List testArrayOfUri = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new CreateCallOptions(requiredStringProperty, testMethod){ PathAccountSid = pathAccountSid, TestArrayOfStrings = testArrayOfStrings, TestArrayOfUri = testArrayOfUri };
return await CreateAsync(options, client);
@@ -176,7 +177,7 @@ public static bool Delete(DeleteCallOptions options, ITwilioRestClient client =
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Call
public static async System.Threading.Tasks.Task DeleteAsync(DeleteCallOptions options,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildDeleteRequest(options, client));
@@ -243,8 +244,7 @@ public static CallResource Fetch(FetchCallOptions options, ITwilioRestClient cli
/// Fetch Call parameters
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Call
- public static async System.Threading.Tasks.Task FetchAsync(FetchCallOptions options,
- ITwilioRestClient client = null)
+ public static async System.Threading.Tasks.Task FetchAsync(FetchCallOptions options, ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildFetchRequest(options, client));
@@ -259,7 +259,7 @@ public static async System.Threading.Tasks.Task FetchAsync(FetchCa
public static CallResource Fetch(
int? pathTestInteger,
string pathAccountSid = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new FetchCallOptions(pathTestInteger){ PathAccountSid = pathAccountSid };
return Fetch(options, client);
diff --git a/examples/csharp/src/Twilio/Rest/Api/V2010/AccountResource.cs b/examples/csharp/src/Twilio/Rest/Api/V2010/AccountResource.cs
index 7043f5a2a..77545c99d 100644
--- a/examples/csharp/src/Twilio/Rest/Api/V2010/AccountResource.cs
+++ b/examples/csharp/src/Twilio/Rest/Api/V2010/AccountResource.cs
@@ -25,6 +25,8 @@
using Twilio.Types;
+
+
namespace Twilio.Rest.Api.V2010
{
public class AccountResource : Resource
@@ -95,8 +97,7 @@ public static AccountResource Create(CreateAccountOptions options, ITwilioRestCl
/// Create Account parameters
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Account
- public static async System.Threading.Tasks.Task CreateAsync(CreateAccountOptions options,
- ITwilioRestClient client = null)
+ public static async System.Threading.Tasks.Task CreateAsync(CreateAccountOptions options, ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildCreateRequest(options, client));
@@ -116,7 +117,7 @@ public static AccountResource Create(
List recordingStatusCallbackEvent = null,
Types.Twiml twiml = null,
AccountResource.XTwilioWebhookEnabledEnum xTwilioWebhookEnabled = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new CreateAccountOptions(){ RecordingStatusCallback = recordingStatusCallback, RecordingStatusCallbackEvent = recordingStatusCallbackEvent, Twiml = twiml, XTwilioWebhookEnabled = xTwilioWebhookEnabled };
return Create(options, client);
@@ -135,7 +136,7 @@ public static async System.Threading.Tasks.Task CreateAsync(
List recordingStatusCallbackEvent = null,
Types.Twiml twiml = null,
AccountResource.XTwilioWebhookEnabledEnum xTwilioWebhookEnabled = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new CreateAccountOptions(){ RecordingStatusCallback = recordingStatusCallback, RecordingStatusCallbackEvent = recordingStatusCallbackEvent, Twiml = twiml, XTwilioWebhookEnabled = xTwilioWebhookEnabled };
return await CreateAsync(options, client);
@@ -180,7 +181,7 @@ public static bool Delete(DeleteAccountOptions options, ITwilioRestClient client
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Account
public static async System.Threading.Tasks.Task DeleteAsync(DeleteAccountOptions options,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildDeleteRequest(options, client));
@@ -243,8 +244,7 @@ public static AccountResource Fetch(FetchAccountOptions options, ITwilioRestClie
/// Fetch Account parameters
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Account
- public static async System.Threading.Tasks.Task FetchAsync(FetchAccountOptions options,
- ITwilioRestClient client = null)
+ public static async System.Threading.Tasks.Task FetchAsync(FetchAccountOptions options, ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildFetchRequest(options, client));
@@ -257,7 +257,7 @@ public static async System.Threading.Tasks.Task FetchAsync(Fetc
/// A single instance of Account
public static AccountResource Fetch(
string pathSid = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new FetchAccountOptions(){ PathSid = pathSid };
return Fetch(options, client);
@@ -306,8 +306,7 @@ public static ResourceSet Read(ReadAccountOptions options, ITwi
/// Read Account parameters
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Account
- public static async System.Threading.Tasks.Task> ReadAsync(ReadAccountOptions options,
- ITwilioRestClient client = null)
+ public static async System.Threading.Tasks.Task> ReadAsync(ReadAccountOptions options, ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildReadRequest(options, client));
@@ -332,7 +331,7 @@ public static ResourceSet Read(
DateTime? dateCreatedAfter = null,
int? pageSize = null,
long? limit = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new ReadAccountOptions(){ DateCreated = dateCreated, DateTest = dateTest, DateCreatedBefore = dateCreatedBefore, DateCreatedAfter = dateCreatedAfter, PageSize = pageSize, Limit = limit};
return Read(options, client);
@@ -355,7 +354,7 @@ public static async System.Threading.Tasks.Task> Re
DateTime? dateCreatedAfter = null,
int? pageSize = null,
long? limit = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new ReadAccountOptions(){ DateCreated = dateCreated, DateTest = dateTest, DateCreatedBefore = dateCreatedBefore, DateCreatedAfter = dateCreatedAfter, PageSize = pageSize, Limit = limit};
return await ReadAsync(options, client);
@@ -446,7 +445,7 @@ public static AccountResource Update(UpdateAccountOptions options, ITwilioRestCl
/// Task that resolves to A single instance of Account
#if !NET35
public static async System.Threading.Tasks.Task UpdateAsync(UpdateAccountOptions options,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildUpdateRequest(options, client));
@@ -464,7 +463,7 @@ public static AccountResource Update(
AccountResource.StatusEnum status,
string pathSid = null,
string pauseBehavior = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new UpdateAccountOptions(status){ PathSid = pathSid, PauseBehavior = pauseBehavior };
return Update(options, client);
@@ -481,7 +480,7 @@ public static async System.Threading.Tasks.Task UpdateAsync(
AccountResource.StatusEnum status,
string pathSid = null,
string pauseBehavior = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new UpdateAccountOptions(status){ PathSid = pathSid, PauseBehavior = pauseBehavior };
return await UpdateAsync(options, client);
diff --git a/examples/csharp/src/Twilio/Rest/Domain.cs b/examples/csharp/src/Twilio/Rest/Domain.cs
index 1e97dbdb2..0440f1f2d 100644
--- a/examples/csharp/src/Twilio/Rest/Domain.cs
+++ b/examples/csharp/src/Twilio/Rest/Domain.cs
@@ -14,5 +14,6 @@ public static implicit operator Domain(string value)
public static readonly Domain Api = new Domain("api");
public static readonly Domain FlexApi = new Domain("flex-api");
public static readonly Domain Versionless = new Domain("versionless");
+ public static readonly Domain PreviewIam = new Domain("preview-iam");
}
}
diff --git a/examples/csharp/src/Twilio/Rest/FlexApi/V1/CallResource.cs b/examples/csharp/src/Twilio/Rest/FlexApi/V1/CallResource.cs
index e09f5cbed..17d61aa0a 100644
--- a/examples/csharp/src/Twilio/Rest/FlexApi/V1/CallResource.cs
+++ b/examples/csharp/src/Twilio/Rest/FlexApi/V1/CallResource.cs
@@ -25,6 +25,8 @@
+
+
namespace Twilio.Rest.FlexApi.V1
{
public class CallResource : Resource
@@ -69,7 +71,7 @@ public static CallResource Update(UpdateCallOptions options, ITwilioRestClient c
/// Task that resolves to A single instance of Call
#if !NET35
public static async System.Threading.Tasks.Task UpdateAsync(UpdateCallOptions options,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildUpdateRequest(options, client));
@@ -83,7 +85,7 @@ public static async System.Threading.Tasks.Task UpdateAsync(Update
/// A single instance of Call
public static CallResource Update(
string pathSid,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new UpdateCallOptions(pathSid){ };
return Update(options, client);
@@ -96,7 +98,7 @@ public static CallResource Update(
/// Task that resolves to A single instance of Call
public static async System.Threading.Tasks.Task UpdateAsync(
string pathSid,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new UpdateCallOptions(pathSid){ };
return await UpdateAsync(options, client);
diff --git a/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/Aws/HistoryResource.cs b/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/Aws/HistoryResource.cs
index edb7bb8f2..52d16c36f 100644
--- a/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/Aws/HistoryResource.cs
+++ b/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/Aws/HistoryResource.cs
@@ -25,6 +25,8 @@
+
+
namespace Twilio.Rest.FlexApi.V1.Credential.Aws
{
public class HistoryResource : Resource
@@ -67,8 +69,7 @@ public static HistoryResource Fetch(FetchHistoryOptions options, ITwilioRestClie
/// Fetch History parameters
/// Client to make requests to Twilio
/// Task that resolves to A single instance of History
- public static async System.Threading.Tasks.Task FetchAsync(FetchHistoryOptions options,
- ITwilioRestClient client = null)
+ public static async System.Threading.Tasks.Task FetchAsync(FetchHistoryOptions options, ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildFetchRequest(options, client));
@@ -83,7 +84,7 @@ public static async System.Threading.Tasks.Task FetchAsync(Fetc
public static HistoryResource Fetch(
string pathSid,
Dictionary addOnsData = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new FetchHistoryOptions(pathSid){ AddOnsData = addOnsData };
return Fetch(options, client);
diff --git a/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/AwsResource.cs b/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/AwsResource.cs
index 20abf0368..8b9f121fb 100644
--- a/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/AwsResource.cs
+++ b/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/AwsResource.cs
@@ -25,6 +25,8 @@
+
+
namespace Twilio.Rest.FlexApi.V1.Credential
{
public class AwsResource : Resource
@@ -72,7 +74,7 @@ public static bool Delete(DeleteAwsOptions options, ITwilioRestClient client = n
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Aws
public static async System.Threading.Tasks.Task DeleteAsync(DeleteAwsOptions options,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildDeleteRequest(options, client));
@@ -135,8 +137,7 @@ public static AwsResource Fetch(FetchAwsOptions options, ITwilioRestClient clien
/// Fetch Aws parameters
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Aws
- public static async System.Threading.Tasks.Task FetchAsync(FetchAwsOptions options,
- ITwilioRestClient client = null)
+ public static async System.Threading.Tasks.Task FetchAsync(FetchAwsOptions options, ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildFetchRequest(options, client));
@@ -149,7 +150,7 @@ public static async System.Threading.Tasks.Task FetchAsync(FetchAws
/// A single instance of Aws
public static AwsResource Fetch(
string pathSid,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new FetchAwsOptions(pathSid){ };
return Fetch(options, client);
@@ -198,8 +199,7 @@ public static ResourceSet Read(ReadAwsOptions options, ITwilioRestC
/// Read Aws parameters
/// Client to make requests to Twilio
/// Task that resolves to A single instance of Aws
- public static async System.Threading.Tasks.Task> ReadAsync(ReadAwsOptions options,
- ITwilioRestClient client = null)
+ public static async System.Threading.Tasks.Task> ReadAsync(ReadAwsOptions options, ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildReadRequest(options, client));
@@ -216,7 +216,7 @@ public static async System.Threading.Tasks.Task> ReadAs
public static ResourceSet Read(
int? pageSize = null,
long? limit = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new ReadAwsOptions(){ PageSize = pageSize, Limit = limit};
return Read(options, client);
@@ -231,7 +231,7 @@ public static ResourceSet Read(
public static async System.Threading.Tasks.Task> ReadAsync(
int? pageSize = null,
long? limit = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new ReadAwsOptions(){ PageSize = pageSize, Limit = limit};
return await ReadAsync(options, client);
@@ -322,7 +322,7 @@ public static AwsResource Update(UpdateAwsOptions options, ITwilioRestClient cli
/// Task that resolves to A single instance of Aws
#if !NET35
public static async System.Threading.Tasks.Task UpdateAsync(UpdateAwsOptions options,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildUpdateRequest(options, client));
@@ -340,7 +340,7 @@ public static AwsResource Update(
string pathSid,
string testString = null,
bool? testBoolean = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new UpdateAwsOptions(pathSid){ TestString = testString, TestBoolean = testBoolean };
return Update(options, client);
@@ -357,7 +357,7 @@ public static async System.Threading.Tasks.Task UpdateAsync(
string pathSid,
string testString = null,
bool? testBoolean = null,
- ITwilioRestClient client = null)
+ ITwilioRestClient client = null)
{
var options = new UpdateAwsOptions(pathSid){ TestString = testString, TestBoolean = testBoolean };
return await UpdateAsync(options, client);
diff --git a/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/NewCredentialsResource.cs b/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/NewCredentialsResource.cs
index 29ab953c6..8b9293561 100644
--- a/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/NewCredentialsResource.cs
+++ b/examples/csharp/src/Twilio/Rest/FlexApi/V1/Credential/NewCredentialsResource.cs
@@ -25,6 +25,8 @@
using Twilio.Types;
+
+
namespace Twilio.Rest.FlexApi.V1.Credential
{
public class NewCredentialsResource : Resource
@@ -94,8 +96,7 @@ public static NewCredentialsResource Create(CreateNewCredentialsOptions options,
/// Create NewCredentials parameters
/// Client to make requests to Twilio
/// Task that resolves to A single instance of NewCredentials
- public static async System.Threading.Tasks.Task CreateAsync(CreateNewCredentialsOptions options,
- ITwilioRestClient client = null)
+ public static async System.Threading.Tasks.Task CreateAsync(CreateNewCredentialsOptions options, ITwilioRestClient client = null)
{
client = client ?? TwilioClient.GetRestClient();
var response = await client.RequestAsync(BuildCreateRequest(options, client));
@@ -141,7 +142,7 @@ public static NewCredentialsResource Create(
List