diff --git a/src/Twilio/Rest/Accounts/V1/AuthTokenPromotionResource.cs b/src/Twilio/Rest/Accounts/V1/AuthTokenPromotionResource.cs index 1b7405a36..1576f7a5e 100644 --- a/src/Twilio/Rest/Accounts/V1/AuthTokenPromotionResource.cs +++ b/src/Twilio/Rest/Accounts/V1/AuthTokenPromotionResource.cs @@ -96,6 +96,7 @@ public static async System.Threading.Tasks.Task Upda return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AuthTokenPromotionResource object diff --git a/src/Twilio/Rest/Accounts/V1/BulkConsentsOptions.cs b/src/Twilio/Rest/Accounts/V1/BulkConsentsOptions.cs index ec073d915..d73bfc516 100644 --- a/src/Twilio/Rest/Accounts/V1/BulkConsentsOptions.cs +++ b/src/Twilio/Rest/Accounts/V1/BulkConsentsOptions.cs @@ -55,5 +55,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Accounts/V1/BulkConsentsResource.cs b/src/Twilio/Rest/Accounts/V1/BulkConsentsResource.cs index c554f4d43..cb539b0c0 100644 --- a/src/Twilio/Rest/Accounts/V1/BulkConsentsResource.cs +++ b/src/Twilio/Rest/Accounts/V1/BulkConsentsResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a BulkConsentsResource object diff --git a/src/Twilio/Rest/Accounts/V1/BulkContactsOptions.cs b/src/Twilio/Rest/Accounts/V1/BulkContactsOptions.cs index 31502b4ae..44345d1ba 100644 --- a/src/Twilio/Rest/Accounts/V1/BulkContactsOptions.cs +++ b/src/Twilio/Rest/Accounts/V1/BulkContactsOptions.cs @@ -55,5 +55,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Accounts/V1/BulkContactsResource.cs b/src/Twilio/Rest/Accounts/V1/BulkContactsResource.cs index 7c3f99283..ab19767c1 100644 --- a/src/Twilio/Rest/Accounts/V1/BulkContactsResource.cs +++ b/src/Twilio/Rest/Accounts/V1/BulkContactsResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a BulkContactsResource object diff --git a/src/Twilio/Rest/Accounts/V1/Credential/AwsOptions.cs b/src/Twilio/Rest/Accounts/V1/Credential/AwsOptions.cs index 7d9a4e7b5..92f562834 100644 --- a/src/Twilio/Rest/Accounts/V1/Credential/AwsOptions.cs +++ b/src/Twilio/Rest/Accounts/V1/Credential/AwsOptions.cs @@ -69,6 +69,7 @@ public List> GetParams() } + /// Delete a Credential from your account public class DeleteAwsOptions : IOptions { diff --git a/src/Twilio/Rest/Accounts/V1/Credential/AwsResource.cs b/src/Twilio/Rest/Accounts/V1/Credential/AwsResource.cs index 493eec072..4af96ba0a 100644 --- a/src/Twilio/Rest/Accounts/V1/Credential/AwsResource.cs +++ b/src/Twilio/Rest/Accounts/V1/Credential/AwsResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a Credential from your account /// Delete Aws parameters @@ -431,6 +432,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AwsResource object diff --git a/src/Twilio/Rest/Accounts/V1/Credential/PublicKeyOptions.cs b/src/Twilio/Rest/Accounts/V1/Credential/PublicKeyOptions.cs index 118996dfc..1208316c1 100644 --- a/src/Twilio/Rest/Accounts/V1/Credential/PublicKeyOptions.cs +++ b/src/Twilio/Rest/Accounts/V1/Credential/PublicKeyOptions.cs @@ -69,6 +69,7 @@ public List> GetParams() } + /// Delete a Credential from your account public class DeletePublicKeyOptions : IOptions { diff --git a/src/Twilio/Rest/Accounts/V1/Credential/PublicKeyResource.cs b/src/Twilio/Rest/Accounts/V1/Credential/PublicKeyResource.cs index 3a13d8866..e9627ab7e 100644 --- a/src/Twilio/Rest/Accounts/V1/Credential/PublicKeyResource.cs +++ b/src/Twilio/Rest/Accounts/V1/Credential/PublicKeyResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a Credential from your account /// Delete PublicKey parameters @@ -431,6 +432,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a PublicKeyResource object diff --git a/src/Twilio/Rest/Accounts/V1/SafelistOptions.cs b/src/Twilio/Rest/Accounts/V1/SafelistOptions.cs index c1244798c..067fc67a9 100644 --- a/src/Twilio/Rest/Accounts/V1/SafelistOptions.cs +++ b/src/Twilio/Rest/Accounts/V1/SafelistOptions.cs @@ -55,6 +55,7 @@ public List> GetParams() } + /// Remove a phone number or phone number 1k prefix from SafeList. public class DeleteSafelistOptions : IOptions { diff --git a/src/Twilio/Rest/Accounts/V1/SafelistResource.cs b/src/Twilio/Rest/Accounts/V1/SafelistResource.cs index 49d716efe..6e45f5578 100644 --- a/src/Twilio/Rest/Accounts/V1/SafelistResource.cs +++ b/src/Twilio/Rest/Accounts/V1/SafelistResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a phone number or phone number 1k prefix from SafeList. /// Delete Safelist parameters diff --git a/src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenOptions.cs b/src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenOptions.cs index 4ebc3edf7..225fde2ab 100644 --- a/src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenOptions.cs +++ b/src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenOptions.cs @@ -42,6 +42,7 @@ public List> GetParams() } + /// Delete the secondary Auth Token from your account public class DeleteSecondaryAuthTokenOptions : IOptions { diff --git a/src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenResource.cs b/src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenResource.cs index be845313a..db668deb8 100644 --- a/src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenResource.cs +++ b/src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenResource.cs @@ -95,6 +95,7 @@ public static async System.Threading.Tasks.Task Crea return await CreateAsync(options, client); } #endif + /// Delete the secondary Auth Token from your account /// Delete SecondaryAuthToken parameters diff --git a/src/Twilio/Rest/Api/V2010/Account/Address/DependentPhoneNumberResource.cs b/src/Twilio/Rest/Api/V2010/Account/Address/DependentPhoneNumberResource.cs index 89a6c94c0..4c1299807 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Address/DependentPhoneNumberResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Address/DependentPhoneNumberResource.cs @@ -67,10 +67,10 @@ private static Request BuildReadRequest(ReadDependentPhoneNumberOptions options, string path = "/2010-04-01/Accounts/{AccountSid}/Addresses/{AddressSid}/DependentPhoneNumbers.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathAddressSid = options.PathAddressSid; path = path.Replace("{"+"AddressSid"+"}", PathAddressSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/AddressOptions.cs b/src/Twilio/Rest/Api/V2010/Account/AddressOptions.cs index 02652172e..061772cfa 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AddressOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AddressOptions.cs @@ -131,6 +131,7 @@ public List> GetParams() } + /// delete public class DeleteAddressOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/AddressResource.cs b/src/Twilio/Rest/Api/V2010/Account/AddressResource.cs index dfe38f5f8..1624c9284 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AddressResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AddressResource.cs @@ -141,6 +141,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Address parameters @@ -151,10 +152,10 @@ private static Request BuildDeleteRequest(DeleteAddressOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -219,10 +220,10 @@ private static Request BuildFetchRequest(FetchAddressOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -429,10 +430,10 @@ private static Request BuildUpdateRequest(UpdateAddressOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -534,6 +535,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AddressResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/ApplicationOptions.cs b/src/Twilio/Rest/Api/V2010/Account/ApplicationOptions.cs index e2b8843d4..1f501645b 100644 --- a/src/Twilio/Rest/Api/V2010/Account/ApplicationOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/ApplicationOptions.cs @@ -157,6 +157,7 @@ public List> GetParams() } + /// Delete the application by the specified application sid public class DeleteApplicationOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/ApplicationResource.cs b/src/Twilio/Rest/Api/V2010/Account/ApplicationResource.cs index 0b2b3c6ed..5cf41de7c 100644 --- a/src/Twilio/Rest/Api/V2010/Account/ApplicationResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/ApplicationResource.cs @@ -165,6 +165,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// Delete the application by the specified application sid /// Delete Application parameters @@ -175,10 +176,10 @@ private static Request BuildDeleteRequest(DeleteApplicationOptions options, ITwi string path = "/2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -243,10 +244,10 @@ private static Request BuildFetchRequest(FetchApplicationOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -441,10 +442,10 @@ private static Request BuildUpdateRequest(UpdateApplicationOptions options, ITwi string path = "/2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -574,6 +575,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ApplicationResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/AuthorizedConnectAppResource.cs b/src/Twilio/Rest/Api/V2010/Account/AuthorizedConnectAppResource.cs index 13a6471f5..cf036f827 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AuthorizedConnectAppResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AuthorizedConnectAppResource.cs @@ -52,10 +52,10 @@ private static Request BuildFetchRequest(FetchAuthorizedConnectAppOptions option string path = "/2010-04-01/Accounts/{AccountSid}/AuthorizedConnectApps/{ConnectAppSid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConnectAppSid = options.PathConnectAppSid; path = path.Replace("{"+"ConnectAppSid"+"}", PathConnectAppSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/LocalResource.cs b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/LocalResource.cs index ff28d4e1c..029c2a820 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/LocalResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/LocalResource.cs @@ -39,10 +39,10 @@ private static Request BuildReadRequest(ReadLocalOptions options, ITwilioRestCli string path = "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/Local.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCountryCode = options.PathCountryCode.ToString(); path = path.Replace("{"+"CountryCode"+"}", PathCountryCode); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MachineToMachineResource.cs b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MachineToMachineResource.cs index 515626ec3..0ed7e13d8 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MachineToMachineResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MachineToMachineResource.cs @@ -39,10 +39,10 @@ private static Request BuildReadRequest(ReadMachineToMachineOptions options, ITw string path = "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/MachineToMachine.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCountryCode = options.PathCountryCode.ToString(); path = path.Replace("{"+"CountryCode"+"}", PathCountryCode); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MobileResource.cs b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MobileResource.cs index c57791218..11487ec7f 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MobileResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MobileResource.cs @@ -39,10 +39,10 @@ private static Request BuildReadRequest(ReadMobileOptions options, ITwilioRestCl string path = "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/Mobile.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCountryCode = options.PathCountryCode.ToString(); path = path.Replace("{"+"CountryCode"+"}", PathCountryCode); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/NationalResource.cs b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/NationalResource.cs index a9697548a..1460fa75f 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/NationalResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/NationalResource.cs @@ -39,10 +39,10 @@ private static Request BuildReadRequest(ReadNationalOptions options, ITwilioRest string path = "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/National.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCountryCode = options.PathCountryCode.ToString(); path = path.Replace("{"+"CountryCode"+"}", PathCountryCode); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/SharedCostResource.cs b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/SharedCostResource.cs index aa4e458d3..56b03cc89 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/SharedCostResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/SharedCostResource.cs @@ -39,10 +39,10 @@ private static Request BuildReadRequest(ReadSharedCostOptions options, ITwilioRe string path = "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/SharedCost.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCountryCode = options.PathCountryCode.ToString(); path = path.Replace("{"+"CountryCode"+"}", PathCountryCode); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/TollFreeResource.cs b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/TollFreeResource.cs index e9b241a90..df536e1ee 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/TollFreeResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/TollFreeResource.cs @@ -39,10 +39,10 @@ private static Request BuildReadRequest(ReadTollFreeOptions options, ITwilioRest string path = "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/TollFree.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCountryCode = options.PathCountryCode.ToString(); path = path.Replace("{"+"CountryCode"+"}", PathCountryCode); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/VoipResource.cs b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/VoipResource.cs index 8af0606ca..8ba6c674d 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/VoipResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/VoipResource.cs @@ -39,10 +39,10 @@ private static Request BuildReadRequest(ReadVoipOptions options, ITwilioRestClie string path = "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}/Voip.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCountryCode = options.PathCountryCode.ToString(); path = path.Replace("{"+"CountryCode"+"}", PathCountryCode); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountryResource.cs b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountryResource.cs index ab2d32e88..5e991645d 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountryResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountryResource.cs @@ -39,10 +39,10 @@ private static Request BuildFetchRequest(FetchAvailablePhoneNumberCountryOptions string path = "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCountryCode = options.PathCountryCode.ToString(); path = path.Replace("{"+"CountryCode"+"}", PathCountryCode); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/EventResource.cs b/src/Twilio/Rest/Api/V2010/Account/Call/EventResource.cs index a509d5b81..6a58aa687 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/EventResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/EventResource.cs @@ -39,10 +39,10 @@ private static Request BuildReadRequest(ReadEventOptions options, ITwilioRestCli string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Events.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/NotificationResource.cs b/src/Twilio/Rest/Api/V2010/Account/Call/NotificationResource.cs index b99143907..efdf3917e 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/NotificationResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/NotificationResource.cs @@ -39,12 +39,12 @@ private static Request BuildFetchRequest(FetchNotificationOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -113,10 +113,10 @@ private static Request BuildReadRequest(ReadNotificationOptions options, ITwilio string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/PaymentOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Call/PaymentOptions.cs index c62123781..7a65799f6 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/PaymentOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/PaymentOptions.cs @@ -170,6 +170,7 @@ public List> GetParams() } + /// update an instance of payments with different phases of payment flows. public class UpdatePaymentOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/PaymentResource.cs b/src/Twilio/Rest/Api/V2010/Account/Call/PaymentResource.cs index 941b87ff2..89288893d 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/PaymentResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/PaymentResource.cs @@ -105,10 +105,10 @@ private static Request BuildCreateRequest(CreatePaymentOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Payments.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -237,18 +237,19 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildUpdateRequest(UpdatePaymentOptions options, ITwilioRestClient client) { string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Payments/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -334,6 +335,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a PaymentResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/RecordingOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Call/RecordingOptions.cs index 5e4a9e906..e5936ae1b 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/RecordingOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/RecordingOptions.cs @@ -97,6 +97,7 @@ public List> GetParams() } + /// Delete a recording from your account public class DeleteRecordingOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/RecordingResource.cs b/src/Twilio/Rest/Api/V2010/Account/Call/RecordingResource.cs index 3f770f1e2..430baab8e 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/RecordingResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/RecordingResource.cs @@ -74,10 +74,10 @@ private static Request BuildCreateRequest(CreateRecordingOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -166,6 +166,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a recording from your account /// Delete Recording parameters @@ -176,12 +177,12 @@ private static Request BuildDeleteRequest(DeleteRecordingOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -248,12 +249,12 @@ private static Request BuildFetchRequest(FetchRecordingOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -322,10 +323,10 @@ private static Request BuildReadRequest(ReadRecordingOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -465,12 +466,12 @@ private static Request BuildUpdateRequest(UpdateRecordingOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -548,6 +549,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RecordingResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/SiprecOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Call/SiprecOptions.cs index 3c635105e..09fd743a5 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/SiprecOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/SiprecOptions.cs @@ -1475,6 +1475,7 @@ public List> GetParams() } + /// Stop a Siprec using either the SID of the Siprec resource or the `name` used when creating the resource public class UpdateSiprecOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/SiprecResource.cs b/src/Twilio/Rest/Api/V2010/Account/Call/SiprecResource.cs index 30d52fb04..4db2cb8de 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/SiprecResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/SiprecResource.cs @@ -76,10 +76,10 @@ private static Request BuildCreateRequest(CreateSiprecOptions options, ITwilioRe string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Siprec.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -956,18 +956,19 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildUpdateRequest(UpdateSiprecOptions options, ITwilioRestClient client) { string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Siprec/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -1041,6 +1042,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SiprecResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/StreamOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Call/StreamOptions.cs index 53a2991f5..6b3d4a935 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/StreamOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/StreamOptions.cs @@ -1477,6 +1477,7 @@ public List> GetParams() } + /// Stop a Stream using either the SID of the Stream resource or the `name` used when creating the resource public class UpdateStreamOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/StreamResource.cs b/src/Twilio/Rest/Api/V2010/Account/Call/StreamResource.cs index f68c8f616..f1713b65e 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/StreamResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/StreamResource.cs @@ -76,10 +76,10 @@ private static Request BuildCreateRequest(CreateStreamOptions options, ITwilioRe string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Streams.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -956,18 +956,19 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildUpdateRequest(UpdateStreamOptions options, ITwilioRestClient client) { string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Streams/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -1041,6 +1042,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a StreamResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/TranscriptionOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Call/TranscriptionOptions.cs index dc14bff76..3c0cf008f 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/TranscriptionOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/TranscriptionOptions.cs @@ -152,6 +152,7 @@ public List> GetParams() } + /// Stop a Transcription using either the SID of the Transcription resource or the `name` used when creating the resource public class UpdateTranscriptionOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/TranscriptionResource.cs b/src/Twilio/Rest/Api/V2010/Account/Call/TranscriptionResource.cs index 915f61ec2..b9d8d3dc2 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/TranscriptionResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/TranscriptionResource.cs @@ -76,10 +76,10 @@ private static Request BuildCreateRequest(CreateTranscriptionOptions options, IT string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Transcriptions.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -200,18 +200,19 @@ public static async System.Threading.Tasks.Task CreateAsy return await CreateAsync(options, client); } #endif + private static Request BuildUpdateRequest(UpdateTranscriptionOptions options, ITwilioRestClient client) { string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Transcriptions/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -285,6 +286,7 @@ public static async System.Threading.Tasks.Task UpdateAsy return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TranscriptionResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageOptions.cs index a6a428fb9..b343d9c5e 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageOptions.cs @@ -70,5 +70,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageResource.cs b/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageResource.cs index 673c0bb9a..cb4f89282 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateUserDefinedMessageOptions option string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessages.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task Crea return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserDefinedMessageResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageSubscriptionOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageSubscriptionOptions.cs index 3315bff4e..dc903cbef 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageSubscriptionOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageSubscriptionOptions.cs @@ -77,6 +77,7 @@ public List> GetParams() } + /// Delete a specific User Defined Message Subscription. public class DeleteUserDefinedMessageSubscriptionOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageSubscriptionResource.cs b/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageSubscriptionResource.cs index 78ec37096..f216d6b38 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageSubscriptionResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Call/UserDefinedMessageSubscriptionResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateUserDefinedMessageSubscriptionOp string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -119,6 +119,7 @@ public static async System.Threading.Tasks.Task Delete a specific User Defined Message Subscription. /// Delete UserDefinedMessageSubscription parameters @@ -129,12 +130,12 @@ private static Request BuildDeleteRequest(DeleteUserDefinedMessageSubscriptionOp string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, diff --git a/src/Twilio/Rest/Api/V2010/Account/CallOptions.cs b/src/Twilio/Rest/Api/V2010/Account/CallOptions.cs index 49bf08f60..f7e7eeff5 100644 --- a/src/Twilio/Rest/Api/V2010/Account/CallOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/CallOptions.cs @@ -300,6 +300,7 @@ public List> GetParams() } + /// Delete a Call record from your account. Once the record is deleted, it will no longer appear in the API and Account Portal logs. public class DeleteCallOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/CallResource.cs b/src/Twilio/Rest/Api/V2010/Account/CallResource.cs index 30dd387a4..c2e3d695c 100644 --- a/src/Twilio/Rest/Api/V2010/Account/CallResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/CallResource.cs @@ -272,6 +272,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a Call record from your account. Once the record is deleted, it will no longer appear in the API and Account Portal logs. /// Delete Call parameters @@ -282,10 +283,10 @@ private static Request BuildDeleteRequest(DeleteCallOptions options, ITwilioRest string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -350,10 +351,10 @@ private static Request BuildFetchRequest(FetchCallOptions options, ITwilioRestCl string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -584,10 +585,10 @@ private static Request BuildUpdateRequest(UpdateCallOptions options, ITwilioRest string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -689,6 +690,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CallResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Conference/ParticipantOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Conference/ParticipantOptions.cs index 1921c4dec..7a2047813 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Conference/ParticipantOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Conference/ParticipantOptions.cs @@ -405,6 +405,7 @@ public List> GetParams() } + /// Kick a participant from a given conference public class DeleteParticipantOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Conference/ParticipantResource.cs b/src/Twilio/Rest/Api/V2010/Account/Conference/ParticipantResource.cs index 2add7dc9a..5c92feb05 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Conference/ParticipantResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Conference/ParticipantResource.cs @@ -56,10 +56,10 @@ private static Request BuildCreateRequest(CreateParticipantOptions options, ITwi string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConferenceSid = options.PathConferenceSid; path = path.Replace("{"+"ConferenceSid"+"}", PathConferenceSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -320,6 +320,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// Kick a participant from a given conference /// Delete Participant parameters @@ -330,12 +331,12 @@ private static Request BuildDeleteRequest(DeleteParticipantOptions options, ITwi string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConferenceSid = options.PathConferenceSid; path = path.Replace("{"+"ConferenceSid"+"}", PathConferenceSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -402,12 +403,12 @@ private static Request BuildFetchRequest(FetchParticipantOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConferenceSid = options.PathConferenceSid; path = path.Replace("{"+"ConferenceSid"+"}", PathConferenceSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -476,10 +477,10 @@ private static Request BuildReadRequest(ReadParticipantOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConferenceSid = options.PathConferenceSid; path = path.Replace("{"+"ConferenceSid"+"}", PathConferenceSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -619,12 +620,12 @@ private static Request BuildUpdateRequest(UpdateParticipantOptions options, ITwi string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConferenceSid = options.PathConferenceSid; path = path.Replace("{"+"ConferenceSid"+"}", PathConferenceSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -742,6 +743,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ParticipantResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Conference/RecordingResource.cs b/src/Twilio/Rest/Api/V2010/Account/Conference/RecordingResource.cs index 115c5f199..2551e16c1 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Conference/RecordingResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Conference/RecordingResource.cs @@ -78,12 +78,12 @@ private static Request BuildDeleteRequest(DeleteRecordingOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConferenceSid = options.PathConferenceSid; path = path.Replace("{"+"ConferenceSid"+"}", PathConferenceSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -150,12 +150,12 @@ private static Request BuildFetchRequest(FetchRecordingOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConferenceSid = options.PathConferenceSid; path = path.Replace("{"+"ConferenceSid"+"}", PathConferenceSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -224,10 +224,10 @@ private static Request BuildReadRequest(ReadRecordingOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConferenceSid = options.PathConferenceSid; path = path.Replace("{"+"ConferenceSid"+"}", PathConferenceSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -367,12 +367,12 @@ private static Request BuildUpdateRequest(UpdateRecordingOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathConferenceSid = options.PathConferenceSid; path = path.Replace("{"+"ConferenceSid"+"}", PathConferenceSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -450,6 +450,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RecordingResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/ConferenceResource.cs b/src/Twilio/Rest/Api/V2010/Account/ConferenceResource.cs index c453e152d..029e92a2b 100644 --- a/src/Twilio/Rest/Api/V2010/Account/ConferenceResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/ConferenceResource.cs @@ -80,10 +80,10 @@ private static Request BuildFetchRequest(FetchConferenceOptions options, ITwilio string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -306,10 +306,10 @@ private static Request BuildUpdateRequest(UpdateConferenceOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -387,6 +387,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ConferenceResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/ConnectAppResource.cs b/src/Twilio/Rest/Api/V2010/Account/ConnectAppResource.cs index 27934fc82..9054b1146 100644 --- a/src/Twilio/Rest/Api/V2010/Account/ConnectAppResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/ConnectAppResource.cs @@ -56,10 +56,10 @@ private static Request BuildDeleteRequest(DeleteConnectAppOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -124,10 +124,10 @@ private static Request BuildFetchRequest(FetchConnectAppOptions options, ITwilio string path = "/2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -318,10 +318,10 @@ private static Request BuildUpdateRequest(UpdateConnectAppOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/ConnectApps/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -419,6 +419,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ConnectAppResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOn/AssignedAddOnExtensionResource.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOn/AssignedAddOnExtensionResource.cs index b703a16ee..5d7c8fa35 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOn/AssignedAddOnExtensionResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOn/AssignedAddOnExtensionResource.cs @@ -39,14 +39,14 @@ private static Request BuildFetchRequest(FetchAssignedAddOnExtensionOptions opti string path = "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathResourceSid = options.PathResourceSid; path = path.Replace("{"+"ResourceSid"+"}", PathResourceSid); string PathAssignedAddOnSid = options.PathAssignedAddOnSid; path = path.Replace("{"+"AssignedAddOnSid"+"}", PathAssignedAddOnSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -118,12 +118,12 @@ private static Request BuildReadRequest(ReadAssignedAddOnExtensionOptions option string path = "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{AssignedAddOnSid}/Extensions.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathResourceSid = options.PathResourceSid; path = path.Replace("{"+"ResourceSid"+"}", PathResourceSid); string PathAssignedAddOnSid = options.PathAssignedAddOnSid; path = path.Replace("{"+"AssignedAddOnSid"+"}", PathAssignedAddOnSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOnOptions.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOnOptions.cs index 8d65a2c99..1b040a44d 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOnOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOnOptions.cs @@ -63,6 +63,7 @@ public List> GetParams() } + /// Remove the assignment of an Add-on installation from the Number specified. public class DeleteAssignedAddOnOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOnResource.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOnResource.cs index 5951a87f1..0480c25d6 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOnResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOnResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateAssignedAddOnOptions options, IT string path = "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathResourceSid = options.PathResourceSid; path = path.Replace("{"+"ResourceSid"+"}", PathResourceSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task CreateAsy return await CreateAsync(options, client); } #endif + /// Remove the assignment of an Add-on installation from the Number specified. /// Delete AssignedAddOn parameters @@ -121,12 +122,12 @@ private static Request BuildDeleteRequest(DeleteAssignedAddOnOptions options, IT string path = "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathResourceSid = options.PathResourceSid; path = path.Replace("{"+"ResourceSid"+"}", PathResourceSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -193,12 +194,12 @@ private static Request BuildFetchRequest(FetchAssignedAddOnOptions options, ITwi string path = "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathResourceSid = options.PathResourceSid; path = path.Replace("{"+"ResourceSid"+"}", PathResourceSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -267,10 +268,10 @@ private static Request BuildReadRequest(ReadAssignedAddOnOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{ResourceSid}/AssignedAddOns.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathResourceSid = options.PathResourceSid; path = path.Replace("{"+"ResourceSid"+"}", PathResourceSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/LocalOptions.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/LocalOptions.cs index 4a2a3ec0b..34f6db702 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/LocalOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/LocalOptions.cs @@ -212,6 +212,7 @@ public List> GetParams() } + /// read public class ReadLocalOptions : ReadOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/LocalResource.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/LocalResource.cs index c22ce13ee..88f48f79c 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/LocalResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/LocalResource.cs @@ -251,6 +251,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildReadRequest(ReadLocalOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/MobileOptions.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/MobileOptions.cs index da92b6f9a..b4a667ce9 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/MobileOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/MobileOptions.cs @@ -212,6 +212,7 @@ public List> GetParams() } + /// read public class ReadMobileOptions : ReadOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/MobileResource.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/MobileResource.cs index 1af94db64..2f749228e 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/MobileResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/MobileResource.cs @@ -251,6 +251,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildReadRequest(ReadMobileOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/TollFreeOptions.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/TollFreeOptions.cs index 260cad38a..a0546c8fe 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/TollFreeOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/TollFreeOptions.cs @@ -212,6 +212,7 @@ public List> GetParams() } + /// read public class ReadTollFreeOptions : ReadOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/TollFreeResource.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/TollFreeResource.cs index b95393e53..f0156c8e1 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/TollFreeResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/TollFreeResource.cs @@ -251,6 +251,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildReadRequest(ReadTollFreeOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberOptions.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberOptions.cs index a3f3b003a..5eecda03b 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberOptions.cs @@ -213,6 +213,7 @@ public List> GetParams() } + /// Delete a phone-numbers belonging to the account used to make the request. public class DeleteIncomingPhoneNumberOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberResource.cs b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberResource.cs index 79d9c48ed..65ed29e49 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberResource.cs @@ -255,6 +255,7 @@ public static async System.Threading.Tasks.Task Cre return await CreateAsync(options, client); } #endif + /// Delete a phone-numbers belonging to the account used to make the request. /// Delete IncomingPhoneNumber parameters @@ -265,10 +266,10 @@ private static Request BuildDeleteRequest(DeleteIncomingPhoneNumberOptions optio string path = "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -333,10 +334,10 @@ private static Request BuildFetchRequest(FetchIncomingPhoneNumberOptions options string path = "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -543,10 +544,10 @@ private static Request BuildUpdateRequest(UpdateIncomingPhoneNumberOptions optio string path = "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -704,6 +705,7 @@ public static async System.Threading.Tasks.Task Upd return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a IncomingPhoneNumberResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/KeyResource.cs b/src/Twilio/Rest/Api/V2010/Account/KeyResource.cs index c7639bdea..e646e1c52 100644 --- a/src/Twilio/Rest/Api/V2010/Account/KeyResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/KeyResource.cs @@ -43,10 +43,10 @@ private static Request BuildDeleteRequest(DeleteKeyOptions options, ITwilioRestC string path = "/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -111,10 +111,10 @@ private static Request BuildFetchRequest(FetchKeyOptions options, ITwilioRestCli string path = "/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -305,10 +305,10 @@ private static Request BuildUpdateRequest(UpdateKeyOptions options, ITwilioRestC string path = "/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -378,6 +378,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a KeyResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackOptions.cs index 0cafe5c4a..9bb9983e2 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackOptions.cs @@ -61,5 +61,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackResource.cs b/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackResource.cs index 224a2a8ea..8cd47d6a2 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackResource.cs @@ -52,10 +52,10 @@ private static Request BuildCreateRequest(CreateFeedbackOptions options, ITwilio string path = "/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Feedback.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathMessageSid = options.PathMessageSid; path = path.Replace("{"+"MessageSid"+"}", PathMessageSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -124,6 +124,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a FeedbackResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Message/MediaResource.cs b/src/Twilio/Rest/Api/V2010/Account/Message/MediaResource.cs index d7777e441..6bd55e5d4 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Message/MediaResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Message/MediaResource.cs @@ -43,12 +43,12 @@ private static Request BuildDeleteRequest(DeleteMediaOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathMessageSid = options.PathMessageSid; path = path.Replace("{"+"MessageSid"+"}", PathMessageSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -115,12 +115,12 @@ private static Request BuildFetchRequest(FetchMediaOptions options, ITwilioRestC string path = "/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathMessageSid = options.PathMessageSid; path = path.Replace("{"+"MessageSid"+"}", PathMessageSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -189,10 +189,10 @@ private static Request BuildReadRequest(ReadMediaOptions options, ITwilioRestCli string path = "/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathMessageSid = options.PathMessageSid; path = path.Replace("{"+"MessageSid"+"}", PathMessageSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/MessageOptions.cs b/src/Twilio/Rest/Api/V2010/Account/MessageOptions.cs index 016f1ffbb..d86e3a6ca 100644 --- a/src/Twilio/Rest/Api/V2010/Account/MessageOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/MessageOptions.cs @@ -221,6 +221,7 @@ public List> GetParams() } + /// Deletes a Message resource from your account public class DeleteMessageOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/MessageResource.cs b/src/Twilio/Rest/Api/V2010/Account/MessageResource.cs index bca62ea67..cf0ea81fd 100644 --- a/src/Twilio/Rest/Api/V2010/Account/MessageResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/MessageResource.cs @@ -305,6 +305,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Deletes a Message resource from your account /// Delete Message parameters @@ -315,10 +316,10 @@ private static Request BuildDeleteRequest(DeleteMessageOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -383,10 +384,10 @@ private static Request BuildFetchRequest(FetchMessageOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -597,10 +598,10 @@ private static Request BuildUpdateRequest(UpdateMessageOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -674,6 +675,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MessageResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/NewKeyOptions.cs b/src/Twilio/Rest/Api/V2010/Account/NewKeyOptions.cs index e63790b2a..e07e11ff8 100644 --- a/src/Twilio/Rest/Api/V2010/Account/NewKeyOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/NewKeyOptions.cs @@ -52,5 +52,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Api/V2010/Account/NewKeyResource.cs b/src/Twilio/Rest/Api/V2010/Account/NewKeyResource.cs index 8e43323b2..e05bb3aa1 100644 --- a/src/Twilio/Rest/Api/V2010/Account/NewKeyResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/NewKeyResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a NewKeyResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/NewSigningKeyOptions.cs b/src/Twilio/Rest/Api/V2010/Account/NewSigningKeyOptions.cs index 2bbea89e1..ce0ccd4e1 100644 --- a/src/Twilio/Rest/Api/V2010/Account/NewSigningKeyOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/NewSigningKeyOptions.cs @@ -52,5 +52,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Api/V2010/Account/NewSigningKeyResource.cs b/src/Twilio/Rest/Api/V2010/Account/NewSigningKeyResource.cs index 55e464699..d5a93f82e 100644 --- a/src/Twilio/Rest/Api/V2010/Account/NewSigningKeyResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/NewSigningKeyResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsy return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a NewSigningKeyResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/NotificationResource.cs b/src/Twilio/Rest/Api/V2010/Account/NotificationResource.cs index 555beb679..fddb2ac5a 100644 --- a/src/Twilio/Rest/Api/V2010/Account/NotificationResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/NotificationResource.cs @@ -39,10 +39,10 @@ private static Request BuildFetchRequest(FetchNotificationOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/Notifications/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/OutgoingCallerIdResource.cs b/src/Twilio/Rest/Api/V2010/Account/OutgoingCallerIdResource.cs index 17f03ea81..9cba44d52 100644 --- a/src/Twilio/Rest/Api/V2010/Account/OutgoingCallerIdResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/OutgoingCallerIdResource.cs @@ -43,10 +43,10 @@ private static Request BuildDeleteRequest(DeleteOutgoingCallerIdOptions options, string path = "/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -111,10 +111,10 @@ private static Request BuildFetchRequest(FetchOutgoingCallerIdOptions options, I string path = "/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -313,10 +313,10 @@ private static Request BuildUpdateRequest(UpdateOutgoingCallerIdOptions options, string path = "/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -386,6 +386,7 @@ public static async System.Threading.Tasks.Task Update return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a OutgoingCallerIdResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Queue/MemberResource.cs b/src/Twilio/Rest/Api/V2010/Account/Queue/MemberResource.cs index 55a83254d..5fa543c50 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Queue/MemberResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Queue/MemberResource.cs @@ -39,12 +39,12 @@ private static Request BuildFetchRequest(FetchMemberOptions options, ITwilioRest string path = "/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathQueueSid = options.PathQueueSid; path = path.Replace("{"+"QueueSid"+"}", PathQueueSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -113,10 +113,10 @@ private static Request BuildReadRequest(ReadMemberOptions options, ITwilioRestCl string path = "/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathQueueSid = options.PathQueueSid; path = path.Replace("{"+"QueueSid"+"}", PathQueueSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -244,12 +244,12 @@ private static Request BuildUpdateRequest(UpdateMemberOptions options, ITwilioRe string path = "/2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathQueueSid = options.PathQueueSid; path = path.Replace("{"+"QueueSid"+"}", PathQueueSid); string PathCallSid = options.PathCallSid; path = path.Replace("{"+"CallSid"+"}", PathCallSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -327,6 +327,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MemberResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/QueueOptions.cs b/src/Twilio/Rest/Api/V2010/Account/QueueOptions.cs index c32cc6170..cff9fe3f8 100644 --- a/src/Twilio/Rest/Api/V2010/Account/QueueOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/QueueOptions.cs @@ -65,6 +65,7 @@ public List> GetParams() } + /// Remove an empty queue public class DeleteQueueOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/QueueResource.cs b/src/Twilio/Rest/Api/V2010/Account/QueueResource.cs index f3637761d..1e2770048 100644 --- a/src/Twilio/Rest/Api/V2010/Account/QueueResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/QueueResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove an empty queue /// Delete Queue parameters @@ -119,10 +120,10 @@ private static Request BuildDeleteRequest(DeleteQueueOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -187,10 +188,10 @@ private static Request BuildFetchRequest(FetchQueueOptions options, ITwilioRestC string path = "/2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -381,10 +382,10 @@ private static Request BuildUpdateRequest(UpdateQueueOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/Queues/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -458,6 +459,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a QueueResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResult/Payload/DataResource.cs b/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResult/Payload/DataResource.cs index fbbd7c286..a2bcb12d9 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResult/Payload/DataResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResult/Payload/DataResource.cs @@ -39,14 +39,14 @@ private static Request BuildFetchRequest(FetchDataOptions options, ITwilioRestCl string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{PayloadSid}/Data.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathReferenceSid = options.PathReferenceSid; path = path.Replace("{"+"ReferenceSid"+"}", PathReferenceSid); string PathAddOnResultSid = options.PathAddOnResultSid; path = path.Replace("{"+"AddOnResultSid"+"}", PathAddOnResultSid); string PathPayloadSid = options.PathPayloadSid; path = path.Replace("{"+"PayloadSid"+"}", PathPayloadSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResult/PayloadResource.cs b/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResult/PayloadResource.cs index 6bfe475cc..f7a645890 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResult/PayloadResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResult/PayloadResource.cs @@ -43,14 +43,14 @@ private static Request BuildDeleteRequest(DeletePayloadOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathReferenceSid = options.PathReferenceSid; path = path.Replace("{"+"ReferenceSid"+"}", PathReferenceSid); string PathAddOnResultSid = options.PathAddOnResultSid; path = path.Replace("{"+"AddOnResultSid"+"}", PathAddOnResultSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -119,14 +119,14 @@ private static Request BuildFetchRequest(FetchPayloadOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathReferenceSid = options.PathReferenceSid; path = path.Replace("{"+"ReferenceSid"+"}", PathReferenceSid); string PathAddOnResultSid = options.PathAddOnResultSid; path = path.Replace("{"+"AddOnResultSid"+"}", PathAddOnResultSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -198,12 +198,12 @@ private static Request BuildReadRequest(ReadPayloadOptions options, ITwilioRestC string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathReferenceSid = options.PathReferenceSid; path = path.Replace("{"+"ReferenceSid"+"}", PathReferenceSid); string PathAddOnResultSid = options.PathAddOnResultSid; path = path.Replace("{"+"AddOnResultSid"+"}", PathAddOnResultSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResultResource.cs b/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResultResource.cs index 0d33a57e1..eeb55c49d 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResultResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Recording/AddOnResultResource.cs @@ -62,12 +62,12 @@ private static Request BuildDeleteRequest(DeleteAddOnResultOptions options, ITwi string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathReferenceSid = options.PathReferenceSid; path = path.Replace("{"+"ReferenceSid"+"}", PathReferenceSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -134,12 +134,12 @@ private static Request BuildFetchRequest(FetchAddOnResultOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathReferenceSid = options.PathReferenceSid; path = path.Replace("{"+"ReferenceSid"+"}", PathReferenceSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -208,10 +208,10 @@ private static Request BuildReadRequest(ReadAddOnResultOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathReferenceSid = options.PathReferenceSid; path = path.Replace("{"+"ReferenceSid"+"}", PathReferenceSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Recording/TranscriptionResource.cs b/src/Twilio/Rest/Api/V2010/Account/Recording/TranscriptionResource.cs index 575cdfc2c..fe2d0588c 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Recording/TranscriptionResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Recording/TranscriptionResource.cs @@ -57,12 +57,12 @@ private static Request BuildDeleteRequest(DeleteTranscriptionOptions options, IT string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathRecordingSid = options.PathRecordingSid; path = path.Replace("{"+"RecordingSid"+"}", PathRecordingSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -129,12 +129,12 @@ private static Request BuildFetchRequest(FetchTranscriptionOptions options, ITwi string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathRecordingSid = options.PathRecordingSid; path = path.Replace("{"+"RecordingSid"+"}", PathRecordingSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -203,10 +203,10 @@ private static Request BuildReadRequest(ReadTranscriptionOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathRecordingSid = options.PathRecordingSid; path = path.Replace("{"+"RecordingSid"+"}", PathRecordingSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/RecordingResource.cs b/src/Twilio/Rest/Api/V2010/Account/RecordingResource.cs index 78e8c1914..ae53bfbc6 100644 --- a/src/Twilio/Rest/Api/V2010/Account/RecordingResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/RecordingResource.cs @@ -79,10 +79,10 @@ private static Request BuildDeleteRequest(DeleteRecordingOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -147,10 +147,10 @@ private static Request BuildFetchRequest(FetchRecordingOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Recordings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/ShortCodeResource.cs b/src/Twilio/Rest/Api/V2010/Account/ShortCodeResource.cs index 6f41d3516..9b567f72d 100644 --- a/src/Twilio/Rest/Api/V2010/Account/ShortCodeResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/ShortCodeResource.cs @@ -39,10 +39,10 @@ private static Request BuildFetchRequest(FetchShortCodeOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -241,10 +241,10 @@ private static Request BuildUpdateRequest(UpdateShortCodeOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/SMS/ShortCodes/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -334,6 +334,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ShortCodeResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/SigningKeyResource.cs b/src/Twilio/Rest/Api/V2010/Account/SigningKeyResource.cs index 40ff0fcdf..91760674b 100644 --- a/src/Twilio/Rest/Api/V2010/Account/SigningKeyResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/SigningKeyResource.cs @@ -43,10 +43,10 @@ private static Request BuildDeleteRequest(DeleteSigningKeyOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -111,10 +111,10 @@ private static Request BuildFetchRequest(FetchSigningKeyOptions options, ITwilio string path = "/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -305,10 +305,10 @@ private static Request BuildUpdateRequest(UpdateSigningKeyOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -378,6 +378,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SigningKeyResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialList/CredentialOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialList/CredentialOptions.cs index 514c55565..8c498a27f 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialList/CredentialOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialList/CredentialOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// Delete a credential resource. public class DeleteCredentialOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialList/CredentialResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialList/CredentialResource.cs index 4beec720a..d65df055e 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialList/CredentialResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialList/CredentialResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateCredentialOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCredentialListSid = options.PathCredentialListSid; path = path.Replace("{"+"CredentialListSid"+"}", PathCredentialListSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a credential resource. /// Delete Credential parameters @@ -125,12 +126,12 @@ private static Request BuildDeleteRequest(DeleteCredentialOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCredentialListSid = options.PathCredentialListSid; path = path.Replace("{"+"CredentialListSid"+"}", PathCredentialListSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -197,12 +198,12 @@ private static Request BuildFetchRequest(FetchCredentialOptions options, ITwilio string path = "/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCredentialListSid = options.PathCredentialListSid; path = path.Replace("{"+"CredentialListSid"+"}", PathCredentialListSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -271,10 +272,10 @@ private static Request BuildReadRequest(ReadCredentialOptions options, ITwilioRe string path = "/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCredentialListSid = options.PathCredentialListSid; path = path.Replace("{"+"CredentialListSid"+"}", PathCredentialListSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -402,12 +403,12 @@ private static Request BuildUpdateRequest(UpdateCredentialOptions options, ITwil string path = "/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathCredentialListSid = options.PathCredentialListSid; path = path.Replace("{"+"CredentialListSid"+"}", PathCredentialListSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -481,6 +482,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CredentialResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialListOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialListOptions.cs index 4643b9696..5a59106b9 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialListOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialListOptions.cs @@ -58,6 +58,7 @@ public List> GetParams() } + /// Delete a Credential List public class DeleteCredentialListOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialListResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialListResource.cs index 3f47b3d1a..4d4454275 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialListResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/CredentialListResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// Delete a Credential List /// Delete CredentialList parameters @@ -115,10 +116,10 @@ private static Request BuildDeleteRequest(DeleteCredentialListOptions options, I string path = "/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -183,10 +184,10 @@ private static Request BuildFetchRequest(FetchCredentialListOptions options, ITw string path = "/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -377,10 +378,10 @@ private static Request BuildUpdateRequest(UpdateCredentialListOptions options, I string path = "/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -450,6 +451,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CredentialListResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsCredentialListMappingOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsCredentialListMappingOptions.cs index 27f7e2d87..9d5c48b33 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsCredentialListMappingOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsCredentialListMappingOptions.cs @@ -63,6 +63,7 @@ public List> GetParams() } + /// Delete a credential list mapping from the requested domain public class DeleteAuthCallsCredentialListMappingOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsCredentialListMappingResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsCredentialListMappingResource.cs index 7e4b47860..f3448bc02 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsCredentialListMappingResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsCredentialListMappingResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateAuthCallsCredentialListMappingOp string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task Delete a credential list mapping from the requested domain /// Delete AuthCallsCredentialListMapping parameters @@ -121,12 +122,12 @@ private static Request BuildDeleteRequest(DeleteAuthCallsCredentialListMappingOp string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -193,12 +194,12 @@ private static Request BuildFetchRequest(FetchAuthCallsCredentialListMappingOpti string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -267,10 +268,10 @@ private static Request BuildReadRequest(ReadAuthCallsCredentialListMappingOption string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsIpAccessControlListMappingOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsIpAccessControlListMappingOptions.cs index 4944d5351..551fc8a72 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsIpAccessControlListMappingOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsIpAccessControlListMappingOptions.cs @@ -63,6 +63,7 @@ public List> GetParams() } + /// Delete an IP Access Control List mapping from the requested domain public class DeleteAuthCallsIpAccessControlListMappingOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsIpAccessControlListMappingResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsIpAccessControlListMappingResource.cs index 0a2581ba1..a4460d95c 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsIpAccessControlListMappingResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeCalls/AuthCallsIpAccessControlListMappingResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateAuthCallsIpAccessControlListMapp string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task Delete an IP Access Control List mapping from the requested domain /// Delete AuthCallsIpAccessControlListMapping parameters @@ -121,12 +122,12 @@ private static Request BuildDeleteRequest(DeleteAuthCallsIpAccessControlListMapp string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -193,12 +194,12 @@ private static Request BuildFetchRequest(FetchAuthCallsIpAccessControlListMappin string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -267,10 +268,10 @@ private static Request BuildReadRequest(ReadAuthCallsIpAccessControlListMappingO string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations/AuthRegistrationsCredentialListMappingOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations/AuthRegistrationsCredentialListMappingOptions.cs index 28c9eec0a..4dda351e6 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations/AuthRegistrationsCredentialListMappingOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations/AuthRegistrationsCredentialListMappingOptions.cs @@ -63,6 +63,7 @@ public List> GetParams() } + /// Delete a credential list mapping from the requested domain public class DeleteAuthRegistrationsCredentialListMappingOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations/AuthRegistrationsCredentialListMappingResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations/AuthRegistrationsCredentialListMappingResource.cs index fa61208d5..a212a5518 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations/AuthRegistrationsCredentialListMappingResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations/AuthRegistrationsCredentialListMappingResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateAuthRegistrationsCredentialListM string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task Delete a credential list mapping from the requested domain /// Delete AuthRegistrationsCredentialListMapping parameters @@ -121,12 +122,12 @@ private static Request BuildDeleteRequest(DeleteAuthRegistrationsCredentialListM string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -193,12 +194,12 @@ private static Request BuildFetchRequest(FetchAuthRegistrationsCredentialListMap string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -267,10 +268,10 @@ private static Request BuildReadRequest(ReadAuthRegistrationsCredentialListMappi string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/CredentialListMappingOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/CredentialListMappingOptions.cs index 4ad4cc697..46b7f1633 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/CredentialListMappingOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/CredentialListMappingOptions.cs @@ -63,6 +63,7 @@ public List> GetParams() } + /// Delete a CredentialListMapping resource from an account. public class DeleteCredentialListMappingOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/CredentialListMappingResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/CredentialListMappingResource.cs index ec699f7ff..afac7a4b4 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/CredentialListMappingResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/CredentialListMappingResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateCredentialListMappingOptions opt string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task C return await CreateAsync(options, client); } #endif + /// Delete a CredentialListMapping resource from an account. /// Delete CredentialListMapping parameters @@ -121,12 +122,12 @@ private static Request BuildDeleteRequest(DeleteCredentialListMappingOptions opt string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -193,12 +194,12 @@ private static Request BuildFetchRequest(FetchCredentialListMappingOptions optio string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -267,10 +268,10 @@ private static Request BuildReadRequest(ReadCredentialListMappingOptions options string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/CredentialListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/IpAccessControlListMappingOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/IpAccessControlListMappingOptions.cs index 955ed97f6..7bb0deed1 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/IpAccessControlListMappingOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/IpAccessControlListMappingOptions.cs @@ -63,6 +63,7 @@ public List> GetParams() } + /// Delete an IpAccessControlListMapping resource. public class DeleteIpAccessControlListMappingOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/IpAccessControlListMappingResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/IpAccessControlListMappingResource.cs index 1a2042177..0ac813b0b 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/IpAccessControlListMappingResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/IpAccessControlListMappingResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateIpAccessControlListMappingOption string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task Delete an IpAccessControlListMapping resource. /// Delete IpAccessControlListMapping parameters @@ -121,12 +122,12 @@ private static Request BuildDeleteRequest(DeleteIpAccessControlListMappingOption string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -193,12 +194,12 @@ private static Request BuildFetchRequest(FetchIpAccessControlListMappingOptions string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -267,10 +268,10 @@ private static Request BuildReadRequest(ReadIpAccessControlListMappingOptions op string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathDomainSid = options.PathDomainSid; path = path.Replace("{"+"DomainSid"+"}", PathDomainSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/DomainOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/DomainOptions.cs index df8c4f6af..fbc3bcb1d 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/DomainOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/DomainOptions.cs @@ -142,6 +142,7 @@ public List> GetParams() } + /// Delete an instance of a Domain public class DeleteDomainOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/DomainResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/DomainResource.cs index 75fa04c1d..0546383ce 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/DomainResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/DomainResource.cs @@ -153,6 +153,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete an instance of a Domain /// Delete Domain parameters @@ -163,10 +164,10 @@ private static Request BuildDeleteRequest(DeleteDomainOptions options, ITwilioRe string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -231,10 +232,10 @@ private static Request BuildFetchRequest(FetchDomainOptions options, ITwilioRest string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -425,10 +426,10 @@ private static Request BuildUpdateRequest(UpdateDomainOptions options, ITwilioRe string path = "/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -546,6 +547,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a DomainResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlList/IpAddressOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlList/IpAddressOptions.cs index 2f6b2fa13..379dcdd6b 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlList/IpAddressOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlList/IpAddressOptions.cs @@ -79,6 +79,7 @@ public List> GetParams() } + /// Delete an IpAddress resource. public class DeleteIpAddressOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlList/IpAddressResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlList/IpAddressResource.cs index e4bf5c7cb..6e67256b5 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlList/IpAddressResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlList/IpAddressResource.cs @@ -39,10 +39,10 @@ private static Request BuildCreateRequest(CreateIpAddressOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathIpAccessControlListSid = options.PathIpAccessControlListSid; path = path.Replace("{"+"IpAccessControlListSid"+"}", PathIpAccessControlListSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -119,6 +119,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete an IpAddress resource. /// Delete IpAddress parameters @@ -129,12 +130,12 @@ private static Request BuildDeleteRequest(DeleteIpAddressOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathIpAccessControlListSid = options.PathIpAccessControlListSid; path = path.Replace("{"+"IpAccessControlListSid"+"}", PathIpAccessControlListSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -201,12 +202,12 @@ private static Request BuildFetchRequest(FetchIpAddressOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathIpAccessControlListSid = options.PathIpAccessControlListSid; path = path.Replace("{"+"IpAccessControlListSid"+"}", PathIpAccessControlListSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -275,10 +276,10 @@ private static Request BuildReadRequest(ReadIpAddressOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathIpAccessControlListSid = options.PathIpAccessControlListSid; path = path.Replace("{"+"IpAccessControlListSid"+"}", PathIpAccessControlListSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -406,12 +407,12 @@ private static Request BuildUpdateRequest(UpdateIpAddressOptions options, ITwili string path = "/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathIpAccessControlListSid = options.PathIpAccessControlListSid; path = path.Replace("{"+"IpAccessControlListSid"+"}", PathIpAccessControlListSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -493,6 +494,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a IpAddressResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlListOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlListOptions.cs index 650b1b4e3..1ca7affe5 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlListOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlListOptions.cs @@ -58,6 +58,7 @@ public List> GetParams() } + /// Delete an IpAccessControlList from the requested account public class DeleteIpAccessControlListOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlListResource.cs b/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlListResource.cs index 73f25c94e..248d7d05d 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlListResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Sip/IpAccessControlListResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task Cre return await CreateAsync(options, client); } #endif + /// Delete an IpAccessControlList from the requested account /// Delete IpAccessControlList parameters @@ -115,10 +116,10 @@ private static Request BuildDeleteRequest(DeleteIpAccessControlListOptions optio string path = "/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -183,10 +184,10 @@ private static Request BuildFetchRequest(FetchIpAccessControlListOptions options string path = "/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -377,10 +378,10 @@ private static Request BuildUpdateRequest(UpdateIpAccessControlListOptions optio string path = "/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -450,6 +451,7 @@ public static async System.Threading.Tasks.Task Upd return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a IpAccessControlListResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/TokenOptions.cs b/src/Twilio/Rest/Api/V2010/Account/TokenOptions.cs index c971f1794..6e80d72de 100644 --- a/src/Twilio/Rest/Api/V2010/Account/TokenOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/TokenOptions.cs @@ -52,5 +52,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Api/V2010/Account/TokenResource.cs b/src/Twilio/Rest/Api/V2010/Account/TokenResource.cs index 74d24f8bf..126f73c02 100644 --- a/src/Twilio/Rest/Api/V2010/Account/TokenResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/TokenResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a TokenResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/TranscriptionResource.cs b/src/Twilio/Rest/Api/V2010/Account/TranscriptionResource.cs index 4078821d9..b27c5d9da 100644 --- a/src/Twilio/Rest/Api/V2010/Account/TranscriptionResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/TranscriptionResource.cs @@ -57,10 +57,10 @@ private static Request BuildDeleteRequest(DeleteTranscriptionOptions options, IT string path = "/2010-04-01/Accounts/{AccountSid}/Transcriptions/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -125,10 +125,10 @@ private static Request BuildFetchRequest(FetchTranscriptionOptions options, ITwi string path = "/2010-04-01/Accounts/{AccountSid}/Transcriptions/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerOptions.cs b/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerOptions.cs index 88e2ad2b8..cf003b6f0 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerOptions.cs @@ -104,6 +104,7 @@ public List> GetParams() } + /// delete public class DeleteTriggerOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerResource.cs b/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerResource.cs index 3063a6dff..8c4692f55 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerResource.cs @@ -158,6 +158,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Trigger parameters @@ -168,10 +169,10 @@ private static Request BuildDeleteRequest(DeleteTriggerOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Delete, @@ -236,10 +237,10 @@ private static Request BuildFetchRequest(FetchTriggerOptions options, ITwilioRes string path = "/2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Get, @@ -442,10 +443,10 @@ private static Request BuildUpdateRequest(UpdateTriggerOptions options, ITwilioR string path = "/2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json"; - string PathAccountSid = options.PathAccountSid ?? client.AccountSid; - path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); string PathSid = options.PathSid; path = path.Replace("{"+"Sid"+"}", PathSid); + string PathAccountSid = options.PathAccountSid ?? client.AccountSid; + path = path.Replace("{"+"AccountSid"+"}", PathAccountSid); return new Request( HttpMethod.Post, @@ -523,6 +524,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TriggerResource object diff --git a/src/Twilio/Rest/Api/V2010/Account/ValidationRequestOptions.cs b/src/Twilio/Rest/Api/V2010/Account/ValidationRequestOptions.cs index ae4b9a501..3eb951ee1 100644 --- a/src/Twilio/Rest/Api/V2010/Account/ValidationRequestOptions.cs +++ b/src/Twilio/Rest/Api/V2010/Account/ValidationRequestOptions.cs @@ -93,5 +93,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Api/V2010/Account/ValidationRequestResource.cs b/src/Twilio/Rest/Api/V2010/Account/ValidationRequestResource.cs index 22d4b971c..8963d84da 100644 --- a/src/Twilio/Rest/Api/V2010/Account/ValidationRequestResource.cs +++ b/src/Twilio/Rest/Api/V2010/Account/ValidationRequestResource.cs @@ -125,6 +125,7 @@ public static async System.Threading.Tasks.Task Creat return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a ValidationRequestResource object diff --git a/src/Twilio/Rest/Api/V2010/AccountOptions.cs b/src/Twilio/Rest/Api/V2010/AccountOptions.cs index ced030c40..3eba055e1 100644 --- a/src/Twilio/Rest/Api/V2010/AccountOptions.cs +++ b/src/Twilio/Rest/Api/V2010/AccountOptions.cs @@ -49,6 +49,7 @@ public List> GetParams() } + /// Fetch the account specified by the provided Account Sid public class FetchAccountOptions : IOptions { diff --git a/src/Twilio/Rest/Api/V2010/AccountResource.cs b/src/Twilio/Rest/Api/V2010/AccountResource.cs index cc9b1e4ad..cf1f532b2 100644 --- a/src/Twilio/Rest/Api/V2010/AccountResource.cs +++ b/src/Twilio/Rest/Api/V2010/AccountResource.cs @@ -126,6 +126,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchAccountOptions options, ITwilioRestClient client) { @@ -394,6 +395,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AccountResource object diff --git a/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsKnowledgeOptions.cs b/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsKnowledgeOptions.cs index 66fc79f28..ec146f0d8 100644 --- a/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsKnowledgeOptions.cs +++ b/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsKnowledgeOptions.cs @@ -56,6 +56,7 @@ public List> GetParams() } + /// Detach Knowledge to Assistant public class DeleteAssistantsKnowledgeOptions : IOptions { diff --git a/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsKnowledgeResource.cs b/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsKnowledgeResource.cs index 88882f95c..b65da46fb 100644 --- a/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsKnowledgeResource.cs +++ b/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsKnowledgeResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task Cre return await CreateAsync(options, client); } #endif + /// Detach Knowledge to Assistant /// Delete AssistantsKnowledge parameters @@ -339,14 +340,30 @@ public static string ToJson(object model) } - /// The type of knowledge source. - [JsonProperty("description")] - public string Description { get; private set; } - /// The description of knowledge. [JsonProperty("id")] public string Id { get; } + /// The name of the knowledge source. + [JsonProperty("name")] + public string Name { get; } + + /// The type of knowledge source ('Web', 'Database', 'Text', 'File') + [JsonProperty("type")] + public string Type { get; } + + /// The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. + [JsonProperty("date_created")] + public DateTime? DateCreated { get; } + + /// The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. + [JsonProperty("date_updated")] + public DateTime? DateUpdated { get; } + + /// The type of knowledge source. + [JsonProperty("description")] + public string Description { get; private set; } + /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource. [JsonProperty("account_sid")] public string AccountSid { get; private set; } @@ -355,18 +372,10 @@ public static string ToJson(object model) [JsonProperty("knowledge_source_details")] public object KnowledgeSourceDetails { get; private set; } - /// The name of the knowledge source. - [JsonProperty("name")] - public string Name { get; } - /// The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED') [JsonProperty("status")] public string Status { get; private set; } - /// The type of knowledge source ('Web', 'Database', 'Text', 'File') - [JsonProperty("type")] - public string Type { get; } - /// The url of the knowledge resource. [JsonProperty("url")] public string Url { get; private set; } @@ -375,14 +384,6 @@ public static string ToJson(object model) [JsonProperty("embedding_model")] public string EmbeddingModel { get; private set; } - /// The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - [JsonProperty("date_created")] - public DateTime? DateCreated { get; } - - /// The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - [JsonProperty("date_updated")] - public DateTime? DateUpdated { get; } - private AssistantsKnowledgeResource() { diff --git a/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsToolOptions.cs b/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsToolOptions.cs index 2737c9c2c..7b8cad7a1 100644 --- a/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsToolOptions.cs +++ b/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsToolOptions.cs @@ -56,6 +56,7 @@ public List> GetParams() } + /// Detach Tool to Assistant public class DeleteAssistantsToolOptions : IOptions { diff --git a/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsToolResource.cs b/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsToolResource.cs index d6dee0c1d..d8dadfca6 100644 --- a/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsToolResource.cs +++ b/src/Twilio/Rest/Assistants/V1/Assistant/AssistantsToolResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// Detach Tool to Assistant /// Delete AssistantsTool parameters @@ -339,10 +340,6 @@ public static string ToJson(object model) } - /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Tool resource. - [JsonProperty("account_sid")] - public string AccountSid { get; private set; } - /// The description of the tool. [JsonProperty("description")] public string Description { get; } @@ -371,10 +368,6 @@ public static string ToJson(object model) [JsonProperty("type")] public string Type { get; } - /// The url of the tool resource. - [JsonProperty("url")] - public string Url { get; private set; } - /// The date and time in GMT when the Tool was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. [JsonProperty("date_created")] public DateTime? DateCreated { get; } @@ -383,6 +376,14 @@ public static string ToJson(object model) [JsonProperty("date_updated")] public DateTime? DateUpdated { get; } + /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Tool resource. + [JsonProperty("account_sid")] + public string AccountSid { get; private set; } + + /// The url of the tool resource. + [JsonProperty("url")] + public string Url { get; private set; } + private AssistantsToolResource() { diff --git a/src/Twilio/Rest/Assistants/V1/Assistant/FeedbackOptions.cs b/src/Twilio/Rest/Assistants/V1/Assistant/FeedbackOptions.cs index b8cc57349..cb2c678a3 100644 --- a/src/Twilio/Rest/Assistants/V1/Assistant/FeedbackOptions.cs +++ b/src/Twilio/Rest/Assistants/V1/Assistant/FeedbackOptions.cs @@ -56,9 +56,11 @@ public string GetBody() } return body; } + } + /// List feedbacks public class ReadFeedbackOptions : ReadOptions { diff --git a/src/Twilio/Rest/Assistants/V1/Assistant/FeedbackResource.cs b/src/Twilio/Rest/Assistants/V1/Assistant/FeedbackResource.cs index 810b38758..0ec54df82 100644 --- a/src/Twilio/Rest/Assistants/V1/Assistant/FeedbackResource.cs +++ b/src/Twilio/Rest/Assistants/V1/Assistant/FeedbackResource.cs @@ -32,12 +32,12 @@ public class FeedbackResource : Resource public class AssistantsV1ServiceCreateFeedbackRequest { + [JsonProperty("session_id")] + private string SessionId {get; set;} [JsonProperty("message_id")] private string MessageId {get; set;} [JsonProperty("score")] private float Score {get; set;} - [JsonProperty("session_id")] - private string SessionId {get; set;} [JsonProperty("text")] private string Text {get; set;} public AssistantsV1ServiceCreateFeedbackRequest() { } @@ -47,6 +47,11 @@ public class Builder public Builder() { } + public Builder WithSessionId(string sessionId) + { + _assistantsV1ServiceCreateFeedbackRequest.SessionId= sessionId; + return this; + } public Builder WithMessageId(string messageId) { _assistantsV1ServiceCreateFeedbackRequest.MessageId= messageId; @@ -57,11 +62,6 @@ public Builder WithScore(float score) _assistantsV1ServiceCreateFeedbackRequest.Score= score; return this; } - public Builder WithSessionId(string sessionId) - { - _assistantsV1ServiceCreateFeedbackRequest.SessionId= sessionId; - return this; - } public Builder WithText(string text) { _assistantsV1ServiceCreateFeedbackRequest.Text= text; @@ -149,6 +149,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildReadRequest(ReadFeedbackOptions options, ITwilioRestClient client) { @@ -317,14 +318,6 @@ public static string ToJson(object model) [JsonProperty("id")] public string Id { get; } - /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Feedback. - [JsonProperty("account_sid")] - public string AccountSid { get; private set; } - - /// The SID of the User created the Feedback. - [JsonProperty("user_sid")] - public string UserSid { get; private set; } - /// The Message ID. [JsonProperty("message_id")] public string MessageId { get; } @@ -349,6 +342,14 @@ public static string ToJson(object model) [JsonProperty("date_updated")] public DateTime? DateUpdated { get; } + /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Feedback. + [JsonProperty("account_sid")] + public string AccountSid { get; private set; } + + /// The SID of the User created the Feedback. + [JsonProperty("user_sid")] + public string UserSid { get; private set; } + private FeedbackResource() { diff --git a/src/Twilio/Rest/Assistants/V1/Assistant/MessageOptions.cs b/src/Twilio/Rest/Assistants/V1/Assistant/MessageOptions.cs index 6be981566..3bf3d3150 100644 --- a/src/Twilio/Rest/Assistants/V1/Assistant/MessageOptions.cs +++ b/src/Twilio/Rest/Assistants/V1/Assistant/MessageOptions.cs @@ -56,8 +56,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Assistants/V1/Assistant/MessageResource.cs b/src/Twilio/Rest/Assistants/V1/Assistant/MessageResource.cs index 07fe07fd4..042c1bae6 100644 --- a/src/Twilio/Rest/Assistants/V1/Assistant/MessageResource.cs +++ b/src/Twilio/Rest/Assistants/V1/Assistant/MessageResource.cs @@ -34,10 +34,10 @@ public class AssistantsV1ServiceAssistantSendMessageRequest { [JsonProperty("identity")] private string Identity {get; set;} - [JsonProperty("session_id")] - private string SessionId {get; set;} [JsonProperty("body")] private string Body {get; set;} + [JsonProperty("session_id")] + private string SessionId {get; set;} [JsonProperty("webhook")] private string Webhook {get; set;} [JsonProperty("mode")] @@ -54,14 +54,14 @@ public Builder WithIdentity(string identity) _assistantsV1ServiceAssistantSendMessageRequest.Identity= identity; return this; } - public Builder WithSessionId(string sessionId) + public Builder WithBody(string body) { - _assistantsV1ServiceAssistantSendMessageRequest.SessionId= sessionId; + _assistantsV1ServiceAssistantSendMessageRequest.Body= body; return this; } - public Builder WithBody(string body) + public Builder WithSessionId(string sessionId) { - _assistantsV1ServiceAssistantSendMessageRequest.Body= body; + _assistantsV1ServiceAssistantSendMessageRequest.SessionId= sessionId; return this; } public Builder WithWebhook(string webhook) @@ -156,6 +156,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a MessageResource object @@ -195,14 +196,6 @@ public static string ToJson(object model) [JsonProperty("status")] public string Status { get; } - /// If successful, this property will denote whether the response was flagged or not. - [JsonProperty("flagged")] - public bool? Flagged { get; private set; } - - /// This property will denote whether the request was aborted or not. - [JsonProperty("aborted")] - public bool? Aborted { get; private set; } - /// The unique name for the session. [JsonProperty("session_id")] public string SessionId { get; } @@ -211,6 +204,14 @@ public static string ToJson(object model) [JsonProperty("account_sid")] public string AccountSid { get; } + /// If successful, this property will denote whether the response was flagged or not. + [JsonProperty("flagged")] + public bool? Flagged { get; private set; } + + /// This property will denote whether the request was aborted or not. + [JsonProperty("aborted")] + public bool? Aborted { get; private set; } + /// If successful, the body of the generated response [JsonProperty("body")] public string Body { get; private set; } diff --git a/src/Twilio/Rest/Assistants/V1/AssistantOptions.cs b/src/Twilio/Rest/Assistants/V1/AssistantOptions.cs index d574052e9..898aab603 100644 --- a/src/Twilio/Rest/Assistants/V1/AssistantOptions.cs +++ b/src/Twilio/Rest/Assistants/V1/AssistantOptions.cs @@ -51,9 +51,11 @@ public string GetBody() } return body; } + } + /// delete an assistant public class DeleteAssistantOptions : IOptions { @@ -169,6 +171,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/Assistants/V1/AssistantResource.cs b/src/Twilio/Rest/Assistants/V1/AssistantResource.cs index b3e38cb01..a045ab5b7 100644 --- a/src/Twilio/Rest/Assistants/V1/AssistantResource.cs +++ b/src/Twilio/Rest/Assistants/V1/AssistantResource.cs @@ -97,10 +97,10 @@ public AssistantsV1ServiceSegmentCredential Build() } public class AssistantsV1ServiceCreateAssistantRequest { - [JsonProperty("customer_ai")] - private AssistantsV1ServiceCustomerAi CustomerAi {get; set;} [JsonProperty("name")] private string Name {get; set;} + [JsonProperty("customer_ai")] + private AssistantsV1ServiceCustomerAi CustomerAi {get; set;} [JsonProperty("owner")] private string Owner {get; set;} [JsonProperty("personality_prompt")] @@ -114,14 +114,14 @@ public class Builder public Builder() { } - public Builder WithCustomerAi(AssistantsV1ServiceCustomerAi customerAi) + public Builder WithName(string name) { - _assistantsV1ServiceCreateAssistantRequest.CustomerAi= customerAi; + _assistantsV1ServiceCreateAssistantRequest.Name= name; return this; } - public Builder WithName(string name) + public Builder WithCustomerAi(AssistantsV1ServiceCustomerAi customerAi) { - _assistantsV1ServiceCreateAssistantRequest.Name= name; + _assistantsV1ServiceCreateAssistantRequest.CustomerAi= customerAi; return this; } public Builder WithOwner(string owner) @@ -197,28 +197,28 @@ public AssistantsV1ServiceUpdateAssistantRequest Build() } public class AssistantsV1ServiceKnowledge { - [JsonProperty("description")] - private string Description {get; set;} [JsonProperty("id")] private string Id {get; set;} + [JsonProperty("name")] + private string Name {get; set;} + [JsonProperty("type")] + private string Type {get; set;} + [JsonProperty("date_created")] + private DateTime? DateCreated {get; set;} + [JsonProperty("date_updated")] + private DateTime? DateUpdated {get; set;} + [JsonProperty("description")] + private string Description {get; set;} [JsonProperty("account_sid")] private string AccountSid {get; set;} [JsonProperty("knowledge_source_details")] private object KnowledgeSourceDetails {get; set;} - [JsonProperty("name")] - private string Name {get; set;} [JsonProperty("status")] private string Status {get; set;} - [JsonProperty("type")] - private string Type {get; set;} [JsonProperty("url")] private string Url {get; set;} [JsonProperty("embedding_model")] private string EmbeddingModel {get; set;} - [JsonProperty("date_created")] - private DateTime? DateCreated {get; set;} - [JsonProperty("date_updated")] - private DateTime? DateUpdated {get; set;} public AssistantsV1ServiceKnowledge() { } public class Builder { @@ -226,59 +226,59 @@ public class Builder public Builder() { } - public Builder WithDescription(string description) + public Builder WithId(string id) { - _assistantsV1ServiceKnowledge.Description= description; + _assistantsV1ServiceKnowledge.Id= id; return this; } - public Builder WithId(string id) + public Builder WithName(string name) { - _assistantsV1ServiceKnowledge.Id= id; + _assistantsV1ServiceKnowledge.Name= name; return this; } - public Builder WithAccountSid(string accountSid) + public Builder WithType(string type) { - _assistantsV1ServiceKnowledge.AccountSid= accountSid; + _assistantsV1ServiceKnowledge.Type= type; return this; } - public Builder WithKnowledgeSourceDetails(object knowledgeSourceDetails) + public Builder WithDateCreated(DateTime? dateCreated) { - _assistantsV1ServiceKnowledge.KnowledgeSourceDetails= knowledgeSourceDetails; + _assistantsV1ServiceKnowledge.DateCreated= dateCreated; return this; } - public Builder WithName(string name) + public Builder WithDateUpdated(DateTime? dateUpdated) { - _assistantsV1ServiceKnowledge.Name= name; + _assistantsV1ServiceKnowledge.DateUpdated= dateUpdated; return this; } - public Builder WithStatus(string status) + public Builder WithDescription(string description) { - _assistantsV1ServiceKnowledge.Status= status; + _assistantsV1ServiceKnowledge.Description= description; return this; } - public Builder WithType(string type) + public Builder WithAccountSid(string accountSid) { - _assistantsV1ServiceKnowledge.Type= type; + _assistantsV1ServiceKnowledge.AccountSid= accountSid; return this; } - public Builder WithUrl(string url) + public Builder WithKnowledgeSourceDetails(object knowledgeSourceDetails) { - _assistantsV1ServiceKnowledge.Url= url; + _assistantsV1ServiceKnowledge.KnowledgeSourceDetails= knowledgeSourceDetails; return this; } - public Builder WithEmbeddingModel(string embeddingModel) + public Builder WithStatus(string status) { - _assistantsV1ServiceKnowledge.EmbeddingModel= embeddingModel; + _assistantsV1ServiceKnowledge.Status= status; return this; } - public Builder WithDateCreated(DateTime? dateCreated) + public Builder WithUrl(string url) { - _assistantsV1ServiceKnowledge.DateCreated= dateCreated; + _assistantsV1ServiceKnowledge.Url= url; return this; } - public Builder WithDateUpdated(DateTime? dateUpdated) + public Builder WithEmbeddingModel(string embeddingModel) { - _assistantsV1ServiceKnowledge.DateUpdated= dateUpdated; + _assistantsV1ServiceKnowledge.EmbeddingModel= embeddingModel; return this; } public AssistantsV1ServiceKnowledge Build() @@ -289,8 +289,6 @@ public AssistantsV1ServiceKnowledge Build() } public class AssistantsV1ServiceTool { - [JsonProperty("account_sid")] - private string AccountSid {get; set;} [JsonProperty("description")] private string Description {get; set;} [JsonProperty("enabled")] @@ -305,12 +303,14 @@ public class AssistantsV1ServiceTool private bool? RequiresAuth {get; set;} [JsonProperty("type")] private string Type {get; set;} - [JsonProperty("url")] - private string Url {get; set;} [JsonProperty("date_created")] private DateTime? DateCreated {get; set;} [JsonProperty("date_updated")] private DateTime? DateUpdated {get; set;} + [JsonProperty("account_sid")] + private string AccountSid {get; set;} + [JsonProperty("url")] + private string Url {get; set;} public AssistantsV1ServiceTool() { } public class Builder { @@ -318,11 +318,6 @@ public class Builder public Builder() { } - public Builder WithAccountSid(string accountSid) - { - _assistantsV1ServiceTool.AccountSid= accountSid; - return this; - } public Builder WithDescription(string description) { _assistantsV1ServiceTool.Description= description; @@ -358,11 +353,6 @@ public Builder WithType(string type) _assistantsV1ServiceTool.Type= type; return this; } - public Builder WithUrl(string url) - { - _assistantsV1ServiceTool.Url= url; - return this; - } public Builder WithDateCreated(DateTime? dateCreated) { _assistantsV1ServiceTool.DateCreated= dateCreated; @@ -373,6 +363,16 @@ public Builder WithDateUpdated(DateTime? dateUpdated) _assistantsV1ServiceTool.DateUpdated= dateUpdated; return this; } + public Builder WithAccountSid(string accountSid) + { + _assistantsV1ServiceTool.AccountSid= accountSid; + return this; + } + public Builder WithUrl(string url) + { + _assistantsV1ServiceTool.Url= url; + return this; + } public AssistantsV1ServiceTool Build() { return _assistantsV1ServiceTool; @@ -449,6 +449,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete an assistant /// Delete Assistant parameters @@ -770,6 +771,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AssistantResource object @@ -829,10 +831,6 @@ public static string ToJson(object model) [JsonProperty("owner")] public string Owner { get; } - /// The url of the assistant resource. - [JsonProperty("url")] - public string Url { get; private set; } - /// The personality prompt to be used for assistant. [JsonProperty("personality_prompt")] public string PersonalityPrompt { get; } @@ -845,6 +843,10 @@ public static string ToJson(object model) [JsonProperty("date_updated")] public DateTime? DateUpdated { get; } + /// The url of the assistant resource. + [JsonProperty("url")] + public string Url { get; private set; } + /// The list of knowledge sources associated with the assistant. [JsonProperty("knowledge")] public List Knowledge { get; } diff --git a/src/Twilio/Rest/Assistants/V1/Knowledge/KnowledgeStatusResource.cs b/src/Twilio/Rest/Assistants/V1/Knowledge/KnowledgeStatusResource.cs index 183d74115..5398d160a 100644 --- a/src/Twilio/Rest/Assistants/V1/Knowledge/KnowledgeStatusResource.cs +++ b/src/Twilio/Rest/Assistants/V1/Knowledge/KnowledgeStatusResource.cs @@ -132,14 +132,14 @@ public static string ToJson(object model) } - /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource. - [JsonProperty("account_sid")] - public string AccountSid { get; private set; } - /// The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED') [JsonProperty("status")] public string Status { get; } + /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource. + [JsonProperty("account_sid")] + public string AccountSid { get; private set; } + /// The last status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED') [JsonProperty("last_status")] public string LastStatus { get; private set; } diff --git a/src/Twilio/Rest/Assistants/V1/KnowledgeOptions.cs b/src/Twilio/Rest/Assistants/V1/KnowledgeOptions.cs index bdd938f2a..fd4154744 100644 --- a/src/Twilio/Rest/Assistants/V1/KnowledgeOptions.cs +++ b/src/Twilio/Rest/Assistants/V1/KnowledgeOptions.cs @@ -51,9 +51,11 @@ public string GetBody() } return body; } + } + /// Delete knowledge public class DeleteKnowledgeOptions : IOptions { @@ -176,6 +178,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/Assistants/V1/KnowledgeResource.cs b/src/Twilio/Rest/Assistants/V1/KnowledgeResource.cs index 271a4aed6..d166e7d7f 100644 --- a/src/Twilio/Rest/Assistants/V1/KnowledgeResource.cs +++ b/src/Twilio/Rest/Assistants/V1/KnowledgeResource.cs @@ -82,18 +82,18 @@ public AssistantsV1ServiceCreatePolicyRequest Build() } public class AssistantsV1ServiceCreateKnowledgeRequest { + [JsonProperty("name")] + private string Name {get; set;} + [JsonProperty("type")] + private string Type {get; set;} [JsonProperty("assistant_id")] private string AssistantId {get; set;} [JsonProperty("description")] private string Description {get; set;} [JsonProperty("knowledge_source_details")] private object KnowledgeSourceDetails {get; set;} - [JsonProperty("name")] - private string Name {get; set;} [JsonProperty("policy")] private AssistantsV1ServiceCreatePolicyRequest Policy {get; set;} - [JsonProperty("type")] - private string Type {get; set;} [JsonProperty("embedding_model")] private string EmbeddingModel {get; set;} public AssistantsV1ServiceCreateKnowledgeRequest() { } @@ -103,6 +103,16 @@ public class Builder public Builder() { } + public Builder WithName(string name) + { + _assistantsV1ServiceCreateKnowledgeRequest.Name= name; + return this; + } + public Builder WithType(string type) + { + _assistantsV1ServiceCreateKnowledgeRequest.Type= type; + return this; + } public Builder WithAssistantId(string assistantId) { _assistantsV1ServiceCreateKnowledgeRequest.AssistantId= assistantId; @@ -118,21 +128,11 @@ public Builder WithKnowledgeSourceDetails(object knowledgeSourceDetails) _assistantsV1ServiceCreateKnowledgeRequest.KnowledgeSourceDetails= knowledgeSourceDetails; return this; } - public Builder WithName(string name) - { - _assistantsV1ServiceCreateKnowledgeRequest.Name= name; - return this; - } public Builder WithPolicy(AssistantsV1ServiceCreatePolicyRequest policy) { _assistantsV1ServiceCreateKnowledgeRequest.Policy= policy; return this; } - public Builder WithType(string type) - { - _assistantsV1ServiceCreateKnowledgeRequest.Type= type; - return this; - } public Builder WithEmbeddingModel(string embeddingModel) { _assistantsV1ServiceCreateKnowledgeRequest.EmbeddingModel= embeddingModel; @@ -271,6 +271,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete knowledge /// Delete Knowledge parameters @@ -596,6 +597,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a KnowledgeResource object @@ -631,14 +633,30 @@ public static string ToJson(object model) } - /// The type of knowledge source. - [JsonProperty("description")] - public string Description { get; private set; } - /// The description of knowledge. [JsonProperty("id")] public string Id { get; } + /// The name of the knowledge source. + [JsonProperty("name")] + public string Name { get; } + + /// The type of knowledge source ('Web', 'Database', 'Text', 'File') + [JsonProperty("type")] + public string Type { get; } + + /// The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. + [JsonProperty("date_created")] + public DateTime? DateCreated { get; } + + /// The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. + [JsonProperty("date_updated")] + public DateTime? DateUpdated { get; } + + /// The type of knowledge source. + [JsonProperty("description")] + public string Description { get; private set; } + /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource. [JsonProperty("account_sid")] public string AccountSid { get; private set; } @@ -647,18 +665,10 @@ public static string ToJson(object model) [JsonProperty("knowledge_source_details")] public object KnowledgeSourceDetails { get; private set; } - /// The name of the knowledge source. - [JsonProperty("name")] - public string Name { get; } - /// The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED') [JsonProperty("status")] public string Status { get; private set; } - /// The type of knowledge source ('Web', 'Database', 'Text', 'File') - [JsonProperty("type")] - public string Type { get; } - /// The url of the knowledge resource. [JsonProperty("url")] public string Url { get; private set; } @@ -667,14 +677,6 @@ public static string ToJson(object model) [JsonProperty("embedding_model")] public string EmbeddingModel { get; private set; } - /// The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - [JsonProperty("date_created")] - public DateTime? DateCreated { get; } - - /// The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - [JsonProperty("date_updated")] - public DateTime? DateUpdated { get; } - private KnowledgeResource() { diff --git a/src/Twilio/Rest/Assistants/V1/PolicyResource.cs b/src/Twilio/Rest/Assistants/V1/PolicyResource.cs index 83ec75ea0..7c7db3ac1 100644 --- a/src/Twilio/Rest/Assistants/V1/PolicyResource.cs +++ b/src/Twilio/Rest/Assistants/V1/PolicyResource.cs @@ -195,6 +195,14 @@ public static string ToJson(object model) } + /// The type of the policy. + [JsonProperty("type")] + public string Type { get; } + + /// The details of the policy based on the type. + [JsonProperty("policy_details")] + public object PolicyDetails { get; } + /// The Policy ID. [JsonProperty("id")] public string Id { get; private set; } @@ -215,14 +223,6 @@ public static string ToJson(object model) [JsonProperty("user_sid")] public string UserSid { get; private set; } - /// The type of the policy. - [JsonProperty("type")] - public string Type { get; } - - /// The details of the policy based on the type. - [JsonProperty("policy_details")] - public object PolicyDetails { get; } - /// The date and time in GMT when the Policy was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. [JsonProperty("date_created")] public DateTime? DateCreated { get; private set; } diff --git a/src/Twilio/Rest/Assistants/V1/ToolOptions.cs b/src/Twilio/Rest/Assistants/V1/ToolOptions.cs index 87fd43706..6a51f09fb 100644 --- a/src/Twilio/Rest/Assistants/V1/ToolOptions.cs +++ b/src/Twilio/Rest/Assistants/V1/ToolOptions.cs @@ -51,9 +51,11 @@ public string GetBody() } return body; } + } + /// delete a tool public class DeleteToolOptions : IOptions { @@ -176,6 +178,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/Assistants/V1/ToolResource.cs b/src/Twilio/Rest/Assistants/V1/ToolResource.cs index e5fdfdd8e..60cf09f72 100644 --- a/src/Twilio/Rest/Assistants/V1/ToolResource.cs +++ b/src/Twilio/Rest/Assistants/V1/ToolResource.cs @@ -82,20 +82,20 @@ public AssistantsV1ServiceCreatePolicyRequest Build() } public class AssistantsV1ServiceCreateToolRequest { + [JsonProperty("enabled")] + private bool? Enabled {get; set;} + [JsonProperty("name")] + private string Name {get; set;} + [JsonProperty("type")] + private string Type {get; set;} [JsonProperty("assistant_id")] private string AssistantId {get; set;} [JsonProperty("description")] private string Description {get; set;} - [JsonProperty("enabled")] - private bool? Enabled {get; set;} [JsonProperty("meta")] private object Meta {get; set;} - [JsonProperty("name")] - private string Name {get; set;} [JsonProperty("policy")] private AssistantsV1ServiceCreatePolicyRequest Policy {get; set;} - [JsonProperty("type")] - private string Type {get; set;} public AssistantsV1ServiceCreateToolRequest() { } public class Builder { @@ -103,39 +103,39 @@ public class Builder public Builder() { } - public Builder WithAssistantId(string assistantId) + public Builder WithEnabled(bool? enabled) { - _assistantsV1ServiceCreateToolRequest.AssistantId= assistantId; + _assistantsV1ServiceCreateToolRequest.Enabled= enabled; return this; } - public Builder WithDescription(string description) + public Builder WithName(string name) { - _assistantsV1ServiceCreateToolRequest.Description= description; + _assistantsV1ServiceCreateToolRequest.Name= name; return this; } - public Builder WithEnabled(bool? enabled) + public Builder WithType(string type) { - _assistantsV1ServiceCreateToolRequest.Enabled= enabled; + _assistantsV1ServiceCreateToolRequest.Type= type; return this; } - public Builder WithMeta(object meta) + public Builder WithAssistantId(string assistantId) { - _assistantsV1ServiceCreateToolRequest.Meta= meta; + _assistantsV1ServiceCreateToolRequest.AssistantId= assistantId; return this; } - public Builder WithName(string name) + public Builder WithDescription(string description) { - _assistantsV1ServiceCreateToolRequest.Name= name; + _assistantsV1ServiceCreateToolRequest.Description= description; return this; } - public Builder WithPolicy(AssistantsV1ServiceCreatePolicyRequest policy) + public Builder WithMeta(object meta) { - _assistantsV1ServiceCreateToolRequest.Policy= policy; + _assistantsV1ServiceCreateToolRequest.Meta= meta; return this; } - public Builder WithType(string type) + public Builder WithPolicy(AssistantsV1ServiceCreatePolicyRequest policy) { - _assistantsV1ServiceCreateToolRequest.Type= type; + _assistantsV1ServiceCreateToolRequest.Policy= policy; return this; } public AssistantsV1ServiceCreateToolRequest Build() @@ -210,6 +210,10 @@ public AssistantsV1ServiceUpdateToolRequest Build() } public class AssistantsV1ServicePolicy { + [JsonProperty("type")] + private string Type {get; set;} + [JsonProperty("policy_details")] + private object PolicyDetails {get; set;} [JsonProperty("id")] private string Id {get; set;} [JsonProperty("name")] @@ -220,10 +224,6 @@ public class AssistantsV1ServicePolicy private string AccountSid {get; set;} [JsonProperty("user_sid")] private string UserSid {get; set;} - [JsonProperty("type")] - private string Type {get; set;} - [JsonProperty("policy_details")] - private object PolicyDetails {get; set;} [JsonProperty("date_created")] private DateTime? DateCreated {get; set;} [JsonProperty("date_updated")] @@ -235,6 +235,16 @@ public class Builder public Builder() { } + public Builder WithType(string type) + { + _assistantsV1ServicePolicy.Type= type; + return this; + } + public Builder WithPolicyDetails(object policyDetails) + { + _assistantsV1ServicePolicy.PolicyDetails= policyDetails; + return this; + } public Builder WithId(string id) { _assistantsV1ServicePolicy.Id= id; @@ -260,16 +270,6 @@ public Builder WithUserSid(string userSid) _assistantsV1ServicePolicy.UserSid= userSid; return this; } - public Builder WithType(string type) - { - _assistantsV1ServicePolicy.Type= type; - return this; - } - public Builder WithPolicyDetails(object policyDetails) - { - _assistantsV1ServicePolicy.PolicyDetails= policyDetails; - return this; - } public Builder WithDateCreated(DateTime? dateCreated) { _assistantsV1ServicePolicy.DateCreated= dateCreated; @@ -356,6 +356,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete a tool /// Delete Tool parameters @@ -681,6 +682,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ToolResource object @@ -716,10 +718,6 @@ public static string ToJson(object model) } - /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Tool resource. - [JsonProperty("account_sid")] - public string AccountSid { get; private set; } - /// The description of the tool. [JsonProperty("description")] public string Description { get; } @@ -748,10 +746,6 @@ public static string ToJson(object model) [JsonProperty("type")] public string Type { get; } - /// The url of the tool resource. - [JsonProperty("url")] - public string Url { get; private set; } - /// The date and time in GMT when the Tool was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. [JsonProperty("date_created")] public DateTime? DateCreated { get; } @@ -760,6 +754,14 @@ public static string ToJson(object model) [JsonProperty("date_updated")] public DateTime? DateUpdated { get; } + /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Tool resource. + [JsonProperty("account_sid")] + public string AccountSid { get; private set; } + + /// The url of the tool resource. + [JsonProperty("url")] + public string Url { get; private set; } + /// The Policies associated with the tool. [JsonProperty("policies")] public List Policies { get; private set; } diff --git a/src/Twilio/Rest/Bulkexports/V1/Export/ExportCustomJobOptions.cs b/src/Twilio/Rest/Bulkexports/V1/Export/ExportCustomJobOptions.cs index 772b38eb3..88a246228 100644 --- a/src/Twilio/Rest/Bulkexports/V1/Export/ExportCustomJobOptions.cs +++ b/src/Twilio/Rest/Bulkexports/V1/Export/ExportCustomJobOptions.cs @@ -99,6 +99,7 @@ public List> GetParams() } + /// read public class ReadExportCustomJobOptions : ReadOptions { diff --git a/src/Twilio/Rest/Bulkexports/V1/Export/ExportCustomJobResource.cs b/src/Twilio/Rest/Bulkexports/V1/Export/ExportCustomJobResource.cs index 42d73006e..72cf473bc 100644 --- a/src/Twilio/Rest/Bulkexports/V1/Export/ExportCustomJobResource.cs +++ b/src/Twilio/Rest/Bulkexports/V1/Export/ExportCustomJobResource.cs @@ -125,6 +125,7 @@ public static async System.Threading.Tasks.Task CreateA return await CreateAsync(options, client); } #endif + private static Request BuildReadRequest(ReadExportCustomJobOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Bulkexports/V1/ExportConfigurationResource.cs b/src/Twilio/Rest/Bulkexports/V1/ExportConfigurationResource.cs index ec8ffc17a..cd0f59bd9 100644 --- a/src/Twilio/Rest/Bulkexports/V1/ExportConfigurationResource.cs +++ b/src/Twilio/Rest/Bulkexports/V1/ExportConfigurationResource.cs @@ -178,6 +178,7 @@ public static async System.Threading.Tasks.Task Upd return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ExportConfigurationResource object diff --git a/src/Twilio/Rest/Chat/V1/CredentialOptions.cs b/src/Twilio/Rest/Chat/V1/CredentialOptions.cs index 359817c71..fb1f97a67 100644 --- a/src/Twilio/Rest/Chat/V1/CredentialOptions.cs +++ b/src/Twilio/Rest/Chat/V1/CredentialOptions.cs @@ -97,6 +97,7 @@ public List> GetParams() } + /// delete public class DeleteCredentialOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V1/CredentialResource.cs b/src/Twilio/Rest/Chat/V1/CredentialResource.cs index d4f6269af..3d7582f33 100644 --- a/src/Twilio/Rest/Chat/V1/CredentialResource.cs +++ b/src/Twilio/Rest/Chat/V1/CredentialResource.cs @@ -137,6 +137,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Credential parameters @@ -481,6 +482,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CredentialResource object diff --git a/src/Twilio/Rest/Chat/V1/Service/Channel/InviteOptions.cs b/src/Twilio/Rest/Chat/V1/Service/Channel/InviteOptions.cs index 46835e985..cee26eeea 100644 --- a/src/Twilio/Rest/Chat/V1/Service/Channel/InviteOptions.cs +++ b/src/Twilio/Rest/Chat/V1/Service/Channel/InviteOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// delete public class DeleteInviteOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V1/Service/Channel/InviteResource.cs b/src/Twilio/Rest/Chat/V1/Service/Channel/InviteResource.cs index d76157394..090c4a596 100644 --- a/src/Twilio/Rest/Chat/V1/Service/Channel/InviteResource.cs +++ b/src/Twilio/Rest/Chat/V1/Service/Channel/InviteResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Invite parameters diff --git a/src/Twilio/Rest/Chat/V1/Service/Channel/MemberOptions.cs b/src/Twilio/Rest/Chat/V1/Service/Channel/MemberOptions.cs index f5d9b364b..f741c1bad 100644 --- a/src/Twilio/Rest/Chat/V1/Service/Channel/MemberOptions.cs +++ b/src/Twilio/Rest/Chat/V1/Service/Channel/MemberOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// delete public class DeleteMemberOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V1/Service/Channel/MemberResource.cs b/src/Twilio/Rest/Chat/V1/Service/Channel/MemberResource.cs index 5e2901f0d..1ae1f2bc3 100644 --- a/src/Twilio/Rest/Chat/V1/Service/Channel/MemberResource.cs +++ b/src/Twilio/Rest/Chat/V1/Service/Channel/MemberResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Member parameters @@ -489,6 +490,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MemberResource object diff --git a/src/Twilio/Rest/Chat/V1/Service/Channel/MessageOptions.cs b/src/Twilio/Rest/Chat/V1/Service/Channel/MessageOptions.cs index b74687af7..78db0ad9e 100644 --- a/src/Twilio/Rest/Chat/V1/Service/Channel/MessageOptions.cs +++ b/src/Twilio/Rest/Chat/V1/Service/Channel/MessageOptions.cs @@ -79,6 +79,7 @@ public List> GetParams() } + /// delete public class DeleteMessageOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V1/Service/Channel/MessageResource.cs b/src/Twilio/Rest/Chat/V1/Service/Channel/MessageResource.cs index 3881c9301..3e325c9a8 100644 --- a/src/Twilio/Rest/Chat/V1/Service/Channel/MessageResource.cs +++ b/src/Twilio/Rest/Chat/V1/Service/Channel/MessageResource.cs @@ -131,6 +131,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Message parameters @@ -505,6 +506,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MessageResource object diff --git a/src/Twilio/Rest/Chat/V1/Service/ChannelOptions.cs b/src/Twilio/Rest/Chat/V1/Service/ChannelOptions.cs index 0b9cad598..803e9a29f 100644 --- a/src/Twilio/Rest/Chat/V1/Service/ChannelOptions.cs +++ b/src/Twilio/Rest/Chat/V1/Service/ChannelOptions.cs @@ -79,6 +79,7 @@ public List> GetParams() } + /// delete public class DeleteChannelOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V1/Service/ChannelResource.cs b/src/Twilio/Rest/Chat/V1/Service/ChannelResource.cs index af897d037..9ea1fa251 100644 --- a/src/Twilio/Rest/Chat/V1/Service/ChannelResource.cs +++ b/src/Twilio/Rest/Chat/V1/Service/ChannelResource.cs @@ -130,6 +130,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Channel parameters @@ -487,6 +488,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ChannelResource object diff --git a/src/Twilio/Rest/Chat/V1/Service/RoleOptions.cs b/src/Twilio/Rest/Chat/V1/Service/RoleOptions.cs index ef3072cf7..fed41be3b 100644 --- a/src/Twilio/Rest/Chat/V1/Service/RoleOptions.cs +++ b/src/Twilio/Rest/Chat/V1/Service/RoleOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// delete public class DeleteRoleOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V1/Service/RoleResource.cs b/src/Twilio/Rest/Chat/V1/Service/RoleResource.cs index c87d67b55..39de2ec88 100644 --- a/src/Twilio/Rest/Chat/V1/Service/RoleResource.cs +++ b/src/Twilio/Rest/Chat/V1/Service/RoleResource.cs @@ -126,6 +126,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Role parameters @@ -471,6 +472,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RoleResource object diff --git a/src/Twilio/Rest/Chat/V1/Service/UserOptions.cs b/src/Twilio/Rest/Chat/V1/Service/UserOptions.cs index 2657148c3..42d48b3c4 100644 --- a/src/Twilio/Rest/Chat/V1/Service/UserOptions.cs +++ b/src/Twilio/Rest/Chat/V1/Service/UserOptions.cs @@ -81,6 +81,7 @@ public List> GetParams() } + /// delete public class DeleteUserOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V1/Service/UserResource.cs b/src/Twilio/Rest/Chat/V1/Service/UserResource.cs index 28e090a2b..fe18c3d5b 100644 --- a/src/Twilio/Rest/Chat/V1/Service/UserResource.cs +++ b/src/Twilio/Rest/Chat/V1/Service/UserResource.cs @@ -117,6 +117,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete User parameters @@ -470,6 +471,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserResource object diff --git a/src/Twilio/Rest/Chat/V1/ServiceOptions.cs b/src/Twilio/Rest/Chat/V1/ServiceOptions.cs index 96bc31e9c..1c5aa3f78 100644 --- a/src/Twilio/Rest/Chat/V1/ServiceOptions.cs +++ b/src/Twilio/Rest/Chat/V1/ServiceOptions.cs @@ -55,6 +55,7 @@ public List> GetParams() } + /// delete public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V1/ServiceResource.cs b/src/Twilio/Rest/Chat/V1/ServiceResource.cs index dfd8877e4..a9662f46e 100644 --- a/src/Twilio/Rest/Chat/V1/ServiceResource.cs +++ b/src/Twilio/Rest/Chat/V1/ServiceResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Service parameters @@ -635,6 +636,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Chat/V2/CredentialOptions.cs b/src/Twilio/Rest/Chat/V2/CredentialOptions.cs index 66a84dabf..f5b6ce08e 100644 --- a/src/Twilio/Rest/Chat/V2/CredentialOptions.cs +++ b/src/Twilio/Rest/Chat/V2/CredentialOptions.cs @@ -97,6 +97,7 @@ public List> GetParams() } + /// delete public class DeleteCredentialOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V2/CredentialResource.cs b/src/Twilio/Rest/Chat/V2/CredentialResource.cs index cc1883f1a..5ef9189f4 100644 --- a/src/Twilio/Rest/Chat/V2/CredentialResource.cs +++ b/src/Twilio/Rest/Chat/V2/CredentialResource.cs @@ -137,6 +137,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Credential parameters @@ -481,6 +482,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CredentialResource object diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/InviteOptions.cs b/src/Twilio/Rest/Chat/V2/Service/Channel/InviteOptions.cs index ba680adf8..6c5f33658 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/InviteOptions.cs +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/InviteOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// delete public class DeleteInviteOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/InviteResource.cs b/src/Twilio/Rest/Chat/V2/Service/Channel/InviteResource.cs index 5e16fc500..339108821 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/InviteResource.cs +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/InviteResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Invite parameters diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/MemberOptions.cs b/src/Twilio/Rest/Chat/V2/Service/Channel/MemberOptions.cs index 0cd5fa343..412e44642 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/MemberOptions.cs +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/MemberOptions.cs @@ -120,6 +120,7 @@ public List> GetHeaderParams() } } + /// delete public class DeleteMemberOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/MemberResource.cs b/src/Twilio/Rest/Chat/V2/Service/Channel/MemberResource.cs index e5fb90878..2710d405e 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/MemberResource.cs +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/MemberResource.cs @@ -151,6 +151,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Member parameters @@ -547,6 +548,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MemberResource object diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/MessageOptions.cs b/src/Twilio/Rest/Chat/V2/Service/Channel/MessageOptions.cs index df95ce895..be738a113 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/MessageOptions.cs +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/MessageOptions.cs @@ -118,6 +118,7 @@ public List> GetHeaderParams() } } + /// delete public class DeleteMessageOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/MessageResource.cs b/src/Twilio/Rest/Chat/V2/Service/Channel/MessageResource.cs index eeab0902c..53923b9dd 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/MessageResource.cs +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/MessageResource.cs @@ -163,6 +163,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Message parameters @@ -559,6 +560,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MessageResource object diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/WebhookOptions.cs b/src/Twilio/Rest/Chat/V2/Service/Channel/WebhookOptions.cs index b67459609..705cc9d2d 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/WebhookOptions.cs +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/WebhookOptions.cs @@ -109,6 +109,7 @@ public List> GetParams() } + /// delete public class DeleteWebhookOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/WebhookResource.cs b/src/Twilio/Rest/Chat/V2/Service/Channel/WebhookResource.cs index 02fc3f745..29b767805 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/WebhookResource.cs +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/WebhookResource.cs @@ -160,6 +160,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Webhook parameters @@ -546,6 +547,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WebhookResource object diff --git a/src/Twilio/Rest/Chat/V2/Service/ChannelOptions.cs b/src/Twilio/Rest/Chat/V2/Service/ChannelOptions.cs index efec630db..75068dec1 100644 --- a/src/Twilio/Rest/Chat/V2/Service/ChannelOptions.cs +++ b/src/Twilio/Rest/Chat/V2/Service/ChannelOptions.cs @@ -113,6 +113,7 @@ public List> GetHeaderParams() } } + /// delete public class DeleteChannelOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V2/Service/ChannelResource.cs b/src/Twilio/Rest/Chat/V2/Service/ChannelResource.cs index d5603bb40..e1e841aba 100644 --- a/src/Twilio/Rest/Chat/V2/Service/ChannelResource.cs +++ b/src/Twilio/Rest/Chat/V2/Service/ChannelResource.cs @@ -158,6 +158,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Channel parameters @@ -533,6 +534,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ChannelResource object diff --git a/src/Twilio/Rest/Chat/V2/Service/RoleOptions.cs b/src/Twilio/Rest/Chat/V2/Service/RoleOptions.cs index 4f1dabab5..1081b8b5c 100644 --- a/src/Twilio/Rest/Chat/V2/Service/RoleOptions.cs +++ b/src/Twilio/Rest/Chat/V2/Service/RoleOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// delete public class DeleteRoleOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V2/Service/RoleResource.cs b/src/Twilio/Rest/Chat/V2/Service/RoleResource.cs index c93860cd7..2e150e599 100644 --- a/src/Twilio/Rest/Chat/V2/Service/RoleResource.cs +++ b/src/Twilio/Rest/Chat/V2/Service/RoleResource.cs @@ -126,6 +126,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Role parameters @@ -471,6 +472,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RoleResource object diff --git a/src/Twilio/Rest/Chat/V2/Service/User/UserChannelResource.cs b/src/Twilio/Rest/Chat/V2/Service/User/UserChannelResource.cs index 1ac5a4f70..9235199e6 100644 --- a/src/Twilio/Rest/Chat/V2/Service/User/UserChannelResource.cs +++ b/src/Twilio/Rest/Chat/V2/Service/User/UserChannelResource.cs @@ -448,6 +448,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserChannelResource object diff --git a/src/Twilio/Rest/Chat/V2/Service/UserOptions.cs b/src/Twilio/Rest/Chat/V2/Service/UserOptions.cs index 39f2f7002..544de4852 100644 --- a/src/Twilio/Rest/Chat/V2/Service/UserOptions.cs +++ b/src/Twilio/Rest/Chat/V2/Service/UserOptions.cs @@ -94,6 +94,7 @@ public List> GetHeaderParams() } } + /// delete public class DeleteUserOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V2/Service/UserResource.cs b/src/Twilio/Rest/Chat/V2/Service/UserResource.cs index eb8cf4937..87e7a94ff 100644 --- a/src/Twilio/Rest/Chat/V2/Service/UserResource.cs +++ b/src/Twilio/Rest/Chat/V2/Service/UserResource.cs @@ -133,6 +133,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete User parameters @@ -490,6 +491,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserResource object diff --git a/src/Twilio/Rest/Chat/V2/ServiceOptions.cs b/src/Twilio/Rest/Chat/V2/ServiceOptions.cs index c559f49db..c5834eea1 100644 --- a/src/Twilio/Rest/Chat/V2/ServiceOptions.cs +++ b/src/Twilio/Rest/Chat/V2/ServiceOptions.cs @@ -55,6 +55,7 @@ public List> GetParams() } + /// delete public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Chat/V2/ServiceResource.cs b/src/Twilio/Rest/Chat/V2/ServiceResource.cs index 7d2668c4b..3b895a485 100644 --- a/src/Twilio/Rest/Chat/V2/ServiceResource.cs +++ b/src/Twilio/Rest/Chat/V2/ServiceResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Service parameters @@ -543,6 +544,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Chat/V3/ChannelResource.cs b/src/Twilio/Rest/Chat/V3/ChannelResource.cs index 11d1617ed..2e5957b28 100644 --- a/src/Twilio/Rest/Chat/V3/ChannelResource.cs +++ b/src/Twilio/Rest/Chat/V3/ChannelResource.cs @@ -145,6 +145,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ChannelResource object diff --git a/src/Twilio/Rest/Content/V1/Content/ApprovalCreateOptions.cs b/src/Twilio/Rest/Content/V1/Content/ApprovalCreateOptions.cs index 5cba154ea..d88fba33f 100644 --- a/src/Twilio/Rest/Content/V1/Content/ApprovalCreateOptions.cs +++ b/src/Twilio/Rest/Content/V1/Content/ApprovalCreateOptions.cs @@ -56,8 +56,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Content/V1/Content/ApprovalCreateResource.cs b/src/Twilio/Rest/Content/V1/Content/ApprovalCreateResource.cs index af1cfeaaf..d39ea8b1b 100644 --- a/src/Twilio/Rest/Content/V1/Content/ApprovalCreateResource.cs +++ b/src/Twilio/Rest/Content/V1/Content/ApprovalCreateResource.cs @@ -135,6 +135,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a ApprovalCreateResource object diff --git a/src/Twilio/Rest/Content/V1/ContentOptions.cs b/src/Twilio/Rest/Content/V1/ContentOptions.cs index 321f883dd..72143f5b3 100644 --- a/src/Twilio/Rest/Content/V1/ContentOptions.cs +++ b/src/Twilio/Rest/Content/V1/ContentOptions.cs @@ -51,9 +51,11 @@ public string GetBody() } return body; } + } + /// Deletes a Content resource public class DeleteContentOptions : IOptions { diff --git a/src/Twilio/Rest/Content/V1/ContentResource.cs b/src/Twilio/Rest/Content/V1/ContentResource.cs index f41315014..b138fc78c 100644 --- a/src/Twilio/Rest/Content/V1/ContentResource.cs +++ b/src/Twilio/Rest/Content/V1/ContentResource.cs @@ -54,10 +54,10 @@ public TwilioText Build() } public class TwilioMedia { - [JsonProperty("body")] - private string Body {get; set;} [JsonProperty("media")] private List Media {get; set;} + [JsonProperty("body")] + private string Body {get; set;} public TwilioMedia() { } public class Builder { @@ -65,14 +65,14 @@ public class Builder public Builder() { } - public Builder WithBody(string body) + public Builder WithMedia(List media) { - _twilioMedia.Body= body; + _twilioMedia.Media= media; return this; } - public Builder WithMedia(List media) + public Builder WithBody(string body) { - _twilioMedia.Media= media; + _twilioMedia.Body= body; return this; } public TwilioMedia Build() @@ -524,10 +524,10 @@ public CatalogItem Build() } public class TwilioCatalog { - [JsonProperty("title")] - private string Title {get; set;} [JsonProperty("body")] private string Body {get; set;} + [JsonProperty("title")] + private string Title {get; set;} [JsonProperty("subtitle")] private string Subtitle {get; set;} [JsonProperty("id")] @@ -543,14 +543,14 @@ public class Builder public Builder() { } - public Builder WithTitle(string title) + public Builder WithBody(string body) { - _twilioCatalog.Title= title; + _twilioCatalog.Body= body; return this; } - public Builder WithBody(string body) + public Builder WithTitle(string title) { - _twilioCatalog.Body= body; + _twilioCatalog.Title= title; return this; } public Builder WithSubtitle(string subtitle) @@ -735,14 +735,14 @@ public class FlowsPage { [JsonProperty("id")] private string Id {get; set;} + [JsonProperty("layout")] + private List Layout {get; set;} [JsonProperty("next_page_id")] private string NextPageId {get; set;} [JsonProperty("title")] private string Title {get; set;} [JsonProperty("subtitle")] private string Subtitle {get; set;} - [JsonProperty("layout")] - private List Layout {get; set;} public FlowsPage() { } public class Builder { @@ -755,6 +755,11 @@ public Builder WithId(string id) _flowsPage.Id= id; return this; } + public Builder WithLayout(List layout) + { + _flowsPage.Layout= layout; + return this; + } public Builder WithNextPageId(string nextPageId) { _flowsPage.NextPageId= nextPageId; @@ -770,11 +775,6 @@ public Builder WithSubtitle(string subtitle) _flowsPage.Subtitle= subtitle; return this; } - public Builder WithLayout(List layout) - { - _flowsPage.Layout= layout; - return this; - } public FlowsPage Build() { return _flowsPage; @@ -956,12 +956,12 @@ public AuthenticationAction Build() } public class WhatsappAuthentication { + [JsonProperty("actions")] + private List Actions {get; set;} [JsonProperty("add_security_recommendation")] private bool? AddSecurityRecommendation {get; set;} [JsonProperty("code_expiration_minutes")] private decimal? CodeExpirationMinutes {get; set;} - [JsonProperty("actions")] - private List Actions {get; set;} public WhatsappAuthentication() { } public class Builder { @@ -969,6 +969,11 @@ public class Builder public Builder() { } + public Builder WithActions(List actions) + { + _whatsappAuthentication.Actions= actions; + return this; + } public Builder WithAddSecurityRecommendation(bool? addSecurityRecommendation) { _whatsappAuthentication.AddSecurityRecommendation= addSecurityRecommendation; @@ -979,11 +984,6 @@ public Builder WithCodeExpirationMinutes(decimal? codeExpirationMinutes) _whatsappAuthentication.CodeExpirationMinutes= codeExpirationMinutes; return this; } - public Builder WithActions(List actions) - { - _whatsappAuthentication.Actions= actions; - return this; - } public WhatsappAuthentication Build() { return _whatsappAuthentication; @@ -996,12 +996,12 @@ public class WhatsappFlows private string Body {get; set;} [JsonProperty("button_text")] private string ButtonText {get; set;} + [JsonProperty("flow_id")] + private string FlowId {get; set;} [JsonProperty("subtitle")] private string Subtitle {get; set;} [JsonProperty("media_url")] private string MediaUrl {get; set;} - [JsonProperty("flow_id")] - private string FlowId {get; set;} [JsonProperty("flow_token")] private string FlowToken {get; set;} [JsonProperty("flow_first_page_id")] @@ -1025,6 +1025,11 @@ public Builder WithButtonText(string buttonText) _whatsappFlows.ButtonText= buttonText; return this; } + public Builder WithFlowId(string flowId) + { + _whatsappFlows.FlowId= flowId; + return this; + } public Builder WithSubtitle(string subtitle) { _whatsappFlows.Subtitle= subtitle; @@ -1035,11 +1040,6 @@ public Builder WithMediaUrl(string mediaUrl) _whatsappFlows.MediaUrl= mediaUrl; return this; } - public Builder WithFlowId(string flowId) - { - _whatsappFlows.FlowId= flowId; - return this; - } public Builder WithFlowToken(string flowToken) { _whatsappFlows.FlowToken= flowToken; @@ -1176,14 +1176,14 @@ public Types Build() } public class ContentCreateRequest { - [JsonProperty("friendly_name")] - private string FriendlyName {get; set;} - [JsonProperty("variables")] - private Dictionary Variables {get; set;} [JsonProperty("language")] private string Language {get; set;} [JsonProperty("types")] private Types Types {get; set;} + [JsonProperty("friendly_name")] + private string FriendlyName {get; set;} + [JsonProperty("variables")] + private Dictionary Variables {get; set;} public ContentCreateRequest() { } public class Builder { @@ -1191,24 +1191,24 @@ public class Builder public Builder() { } - public Builder WithFriendlyName(string friendlyName) + public Builder WithLanguage(string language) { - _contentCreateRequest.FriendlyName= friendlyName; + _contentCreateRequest.Language= language; return this; } - public Builder WithVariables(Dictionary variables) + public Builder WithTypes(Types types) { - _contentCreateRequest.Variables= variables; + _contentCreateRequest.Types= types; return this; } - public Builder WithLanguage(string language) + public Builder WithFriendlyName(string friendlyName) { - _contentCreateRequest.Language= language; + _contentCreateRequest.FriendlyName= friendlyName; return this; } - public Builder WithTypes(Types types) + public Builder WithVariables(Dictionary variables) { - _contentCreateRequest.Types= types; + _contentCreateRequest.Variables= variables; return this; } public ContentCreateRequest Build() @@ -1372,6 +1372,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Deletes a Content resource /// Delete Content parameters diff --git a/src/Twilio/Rest/Conversations/V1/AddressConfigurationOptions.cs b/src/Twilio/Rest/Conversations/V1/AddressConfigurationOptions.cs index 46b4cadd5..a85581f61 100644 --- a/src/Twilio/Rest/Conversations/V1/AddressConfigurationOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/AddressConfigurationOptions.cs @@ -135,6 +135,7 @@ public List> GetParams() } + /// Remove an existing address configuration public class DeleteAddressConfigurationOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/AddressConfigurationResource.cs b/src/Twilio/Rest/Conversations/V1/AddressConfigurationResource.cs index d1b932eed..8596ee345 100644 --- a/src/Twilio/Rest/Conversations/V1/AddressConfigurationResource.cs +++ b/src/Twilio/Rest/Conversations/V1/AddressConfigurationResource.cs @@ -186,6 +186,7 @@ public static async System.Threading.Tasks.Task Cr return await CreateAsync(options, client); } #endif + /// Remove an existing address configuration /// Delete AddressConfiguration parameters @@ -546,6 +547,7 @@ public static async System.Threading.Tasks.Task Up return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AddressConfigurationResource object diff --git a/src/Twilio/Rest/Conversations/V1/Configuration/WebhookResource.cs b/src/Twilio/Rest/Conversations/V1/Configuration/WebhookResource.cs index 0673195ce..9c4dc68df 100644 --- a/src/Twilio/Rest/Conversations/V1/Configuration/WebhookResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Configuration/WebhookResource.cs @@ -201,6 +201,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WebhookResource object diff --git a/src/Twilio/Rest/Conversations/V1/ConfigurationResource.cs b/src/Twilio/Rest/Conversations/V1/ConfigurationResource.cs index 0aee08883..028071d89 100644 --- a/src/Twilio/Rest/Conversations/V1/ConfigurationResource.cs +++ b/src/Twilio/Rest/Conversations/V1/ConfigurationResource.cs @@ -171,6 +171,7 @@ public static async System.Threading.Tasks.Task UpdateAsy return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ConfigurationResource object diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/MessageOptions.cs b/src/Twilio/Rest/Conversations/V1/Conversation/MessageOptions.cs index 83c19fcd4..0cd7e29bf 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/MessageOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Conversation/MessageOptions.cs @@ -127,6 +127,7 @@ public List> GetHeaderParams() } } + /// Remove a message from the conversation public class DeleteMessageOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/MessageResource.cs b/src/Twilio/Rest/Conversations/V1/Conversation/MessageResource.cs index b075b4f67..b793698a5 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/MessageResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Conversation/MessageResource.cs @@ -165,6 +165,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a message from the conversation /// Delete Message parameters @@ -540,6 +541,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MessageResource object diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.cs b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.cs index 529f65a87..a93241ffa 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.cs @@ -120,6 +120,7 @@ public List> GetHeaderParams() } } + /// Remove a participant from the conversation public class DeleteParticipantOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantResource.cs b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantResource.cs index 961973734..61d11a432 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantResource.cs @@ -149,6 +149,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// Remove a participant from the conversation /// Delete Participant parameters @@ -532,6 +533,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ParticipantResource object diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookOptions.cs b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookOptions.cs index 6efe50677..18c70a54d 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookOptions.cs @@ -104,6 +104,7 @@ public List> GetParams() } + /// Remove an existing webhook scoped to the conversation public class DeleteWebhookOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookResource.cs b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookResource.cs index 087c14628..ebb8eab38 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookResource.cs @@ -154,6 +154,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove an existing webhook scoped to the conversation /// Delete Webhook parameters @@ -515,6 +516,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WebhookResource object diff --git a/src/Twilio/Rest/Conversations/V1/ConversationOptions.cs b/src/Twilio/Rest/Conversations/V1/ConversationOptions.cs index 03cc6b195..5eb967d63 100644 --- a/src/Twilio/Rest/Conversations/V1/ConversationOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/ConversationOptions.cs @@ -132,6 +132,7 @@ public List> GetHeaderParams() } } + /// Remove a conversation from your account's default service public class DeleteConversationOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/ConversationResource.cs b/src/Twilio/Rest/Conversations/V1/ConversationResource.cs index 4582813ad..7cb16f7fb 100644 --- a/src/Twilio/Rest/Conversations/V1/ConversationResource.cs +++ b/src/Twilio/Rest/Conversations/V1/ConversationResource.cs @@ -170,6 +170,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// Remove a conversation from your account's default service /// Delete Conversation parameters @@ -552,6 +553,7 @@ public static async System.Threading.Tasks.Task UpdateAsyn return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ConversationResource object diff --git a/src/Twilio/Rest/Conversations/V1/ConversationWithParticipantsOptions.cs b/src/Twilio/Rest/Conversations/V1/ConversationWithParticipantsOptions.cs index 78ca7cf17..69f4b2888 100644 --- a/src/Twilio/Rest/Conversations/V1/ConversationWithParticipantsOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/ConversationWithParticipantsOptions.cs @@ -139,5 +139,6 @@ public List> GetHeaderParams() } } + } diff --git a/src/Twilio/Rest/Conversations/V1/ConversationWithParticipantsResource.cs b/src/Twilio/Rest/Conversations/V1/ConversationWithParticipantsResource.cs index 83a926457..789c866cd 100644 --- a/src/Twilio/Rest/Conversations/V1/ConversationWithParticipantsResource.cs +++ b/src/Twilio/Rest/Conversations/V1/ConversationWithParticipantsResource.cs @@ -174,6 +174,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a ConversationWithParticipantsResource object diff --git a/src/Twilio/Rest/Conversations/V1/CredentialOptions.cs b/src/Twilio/Rest/Conversations/V1/CredentialOptions.cs index 5948369dc..be23b31d2 100644 --- a/src/Twilio/Rest/Conversations/V1/CredentialOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/CredentialOptions.cs @@ -97,6 +97,7 @@ public List> GetParams() } + /// Remove a push notification credential from your account public class DeleteCredentialOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/CredentialResource.cs b/src/Twilio/Rest/Conversations/V1/CredentialResource.cs index 1683151fe..92dbff7d8 100644 --- a/src/Twilio/Rest/Conversations/V1/CredentialResource.cs +++ b/src/Twilio/Rest/Conversations/V1/CredentialResource.cs @@ -137,6 +137,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a push notification credential from your account /// Delete Credential parameters @@ -485,6 +486,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CredentialResource object diff --git a/src/Twilio/Rest/Conversations/V1/RoleOptions.cs b/src/Twilio/Rest/Conversations/V1/RoleOptions.cs index b2145d731..a5250914e 100644 --- a/src/Twilio/Rest/Conversations/V1/RoleOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/RoleOptions.cs @@ -73,6 +73,7 @@ public List> GetParams() } + /// Remove a user role from your account's default service public class DeleteRoleOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/RoleResource.cs b/src/Twilio/Rest/Conversations/V1/RoleResource.cs index 9c7ed9871..3e5a946ac 100644 --- a/src/Twilio/Rest/Conversations/V1/RoleResource.cs +++ b/src/Twilio/Rest/Conversations/V1/RoleResource.cs @@ -120,6 +120,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a user role from your account's default service /// Delete Role parameters @@ -444,6 +445,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RoleResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/Configuration/NotificationResource.cs b/src/Twilio/Rest/Conversations/V1/Service/Configuration/NotificationResource.cs index 1bde68149..b8fe690e5 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/Configuration/NotificationResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/Configuration/NotificationResource.cs @@ -218,6 +218,7 @@ public static async System.Threading.Tasks.Task UpdateAsyn return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a NotificationResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/Configuration/WebhookResource.cs b/src/Twilio/Rest/Conversations/V1/Service/Configuration/WebhookResource.cs index b4dc72edf..776d1795d 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/Configuration/WebhookResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/Configuration/WebhookResource.cs @@ -195,6 +195,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WebhookResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/ConfigurationResource.cs b/src/Twilio/Rest/Conversations/V1/Service/ConfigurationResource.cs index f6b8b0f37..6bfe49b39 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/ConfigurationResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/ConfigurationResource.cs @@ -182,6 +182,7 @@ public static async System.Threading.Tasks.Task UpdateAsy return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ConfigurationResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/Conversation/MessageOptions.cs b/src/Twilio/Rest/Conversations/V1/Service/Conversation/MessageOptions.cs index 2940aab98..f66a7bd05 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/Conversation/MessageOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/Conversation/MessageOptions.cs @@ -132,6 +132,7 @@ public List> GetHeaderParams() } } + /// Remove a message from the conversation public class DeleteMessageOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/Service/Conversation/MessageResource.cs b/src/Twilio/Rest/Conversations/V1/Service/Conversation/MessageResource.cs index ba63bcf3c..13fb54fb8 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/Conversation/MessageResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/Conversation/MessageResource.cs @@ -171,6 +171,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a message from the conversation /// Delete Message parameters @@ -567,6 +568,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MessageResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/Conversation/ParticipantOptions.cs b/src/Twilio/Rest/Conversations/V1/Service/Conversation/ParticipantOptions.cs index 85363c6a1..f36b05e2c 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/Conversation/ParticipantOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/Conversation/ParticipantOptions.cs @@ -125,6 +125,7 @@ public List> GetHeaderParams() } } + /// Remove a participant from the conversation public class DeleteParticipantOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/Service/Conversation/ParticipantResource.cs b/src/Twilio/Rest/Conversations/V1/Service/Conversation/ParticipantResource.cs index f59697c9f..799d08011 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/Conversation/ParticipantResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/Conversation/ParticipantResource.cs @@ -155,6 +155,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// Remove a participant from the conversation /// Delete Participant parameters @@ -559,6 +560,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ParticipantResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/Conversation/WebhookOptions.cs b/src/Twilio/Rest/Conversations/V1/Service/Conversation/WebhookOptions.cs index 50406ef8f..ee70a9585 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/Conversation/WebhookOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/Conversation/WebhookOptions.cs @@ -109,6 +109,7 @@ public List> GetParams() } + /// Remove an existing webhook scoped to the conversation public class DeleteWebhookOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/Service/Conversation/WebhookResource.cs b/src/Twilio/Rest/Conversations/V1/Service/Conversation/WebhookResource.cs index 5e827350e..c7fd00c22 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/Conversation/WebhookResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/Conversation/WebhookResource.cs @@ -160,6 +160,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove an existing webhook scoped to the conversation /// Delete Webhook parameters @@ -542,6 +543,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WebhookResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/ConversationOptions.cs b/src/Twilio/Rest/Conversations/V1/Service/ConversationOptions.cs index f13371bfa..634dae51a 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/ConversationOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/ConversationOptions.cs @@ -141,6 +141,7 @@ public List> GetHeaderParams() } } + /// Remove a conversation from your service public class DeleteConversationOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/Service/ConversationResource.cs b/src/Twilio/Rest/Conversations/V1/Service/ConversationResource.cs index 2e4f86e94..bc76ee35f 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/ConversationResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/ConversationResource.cs @@ -176,6 +176,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// Remove a conversation from your service /// Delete Conversation parameters @@ -579,6 +580,7 @@ public static async System.Threading.Tasks.Task UpdateAsyn return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ConversationResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/ConversationWithParticipantsOptions.cs b/src/Twilio/Rest/Conversations/V1/Service/ConversationWithParticipantsOptions.cs index aa108810b..93bfef25e 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/ConversationWithParticipantsOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/ConversationWithParticipantsOptions.cs @@ -149,5 +149,6 @@ public List> GetHeaderParams() } } + } diff --git a/src/Twilio/Rest/Conversations/V1/Service/ConversationWithParticipantsResource.cs b/src/Twilio/Rest/Conversations/V1/Service/ConversationWithParticipantsResource.cs index bf0035e83..52cd14532 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/ConversationWithParticipantsResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/ConversationWithParticipantsResource.cs @@ -180,6 +180,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a ConversationWithParticipantsResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/RoleOptions.cs b/src/Twilio/Rest/Conversations/V1/Service/RoleOptions.cs index f5c42f3b5..969f0bca5 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/RoleOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/RoleOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// Remove a user role from your service public class DeleteRoleOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/Service/RoleResource.cs b/src/Twilio/Rest/Conversations/V1/Service/RoleResource.cs index 35807fac7..df566d687 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/RoleResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/RoleResource.cs @@ -126,6 +126,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a user role from your service /// Delete Role parameters @@ -471,6 +472,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RoleResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/User/UserConversationResource.cs b/src/Twilio/Rest/Conversations/V1/Service/User/UserConversationResource.cs index d8cb06b66..ebc80ae6b 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/User/UserConversationResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/User/UserConversationResource.cs @@ -434,6 +434,7 @@ public static async System.Threading.Tasks.Task Update return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserConversationResource object diff --git a/src/Twilio/Rest/Conversations/V1/Service/UserOptions.cs b/src/Twilio/Rest/Conversations/V1/Service/UserOptions.cs index 546126c47..3cee211fb 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/UserOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/UserOptions.cs @@ -94,6 +94,7 @@ public List> GetHeaderParams() } } + /// Remove a conversation user from your service public class DeleteUserOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/Service/UserResource.cs b/src/Twilio/Rest/Conversations/V1/Service/UserResource.cs index 10d004414..9e450e8e4 100644 --- a/src/Twilio/Rest/Conversations/V1/Service/UserResource.cs +++ b/src/Twilio/Rest/Conversations/V1/Service/UserResource.cs @@ -133,6 +133,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a conversation user from your service /// Delete User parameters @@ -492,6 +493,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserResource object diff --git a/src/Twilio/Rest/Conversations/V1/ServiceOptions.cs b/src/Twilio/Rest/Conversations/V1/ServiceOptions.cs index ff3a8ec7b..f10613248 100644 --- a/src/Twilio/Rest/Conversations/V1/ServiceOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/ServiceOptions.cs @@ -55,6 +55,7 @@ public List> GetParams() } + /// Remove a conversation service with all its nested resources from your account public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/ServiceResource.cs b/src/Twilio/Rest/Conversations/V1/ServiceResource.cs index d6cd96008..2e8e1222c 100644 --- a/src/Twilio/Rest/Conversations/V1/ServiceResource.cs +++ b/src/Twilio/Rest/Conversations/V1/ServiceResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a conversation service with all its nested resources from your account /// Delete Service parameters diff --git a/src/Twilio/Rest/Conversations/V1/User/UserConversationResource.cs b/src/Twilio/Rest/Conversations/V1/User/UserConversationResource.cs index 4a76fe021..165b31906 100644 --- a/src/Twilio/Rest/Conversations/V1/User/UserConversationResource.cs +++ b/src/Twilio/Rest/Conversations/V1/User/UserConversationResource.cs @@ -413,6 +413,7 @@ public static async System.Threading.Tasks.Task Update return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserConversationResource object diff --git a/src/Twilio/Rest/Conversations/V1/UserOptions.cs b/src/Twilio/Rest/Conversations/V1/UserOptions.cs index d9957fbe3..e3182153f 100644 --- a/src/Twilio/Rest/Conversations/V1/UserOptions.cs +++ b/src/Twilio/Rest/Conversations/V1/UserOptions.cs @@ -89,6 +89,7 @@ public List> GetHeaderParams() } } + /// Remove a conversation user from your account's default service public class DeleteUserOptions : IOptions { diff --git a/src/Twilio/Rest/Conversations/V1/UserResource.cs b/src/Twilio/Rest/Conversations/V1/UserResource.cs index 9d49a47cf..244a2eaf5 100644 --- a/src/Twilio/Rest/Conversations/V1/UserResource.cs +++ b/src/Twilio/Rest/Conversations/V1/UserResource.cs @@ -127,6 +127,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a conversation user from your account's default service /// Delete User parameters @@ -465,6 +466,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserResource object diff --git a/src/Twilio/Rest/Events/V1/Sink/SinkTestOptions.cs b/src/Twilio/Rest/Events/V1/Sink/SinkTestOptions.cs index 2ba9ff9da..393133ee1 100644 --- a/src/Twilio/Rest/Events/V1/Sink/SinkTestOptions.cs +++ b/src/Twilio/Rest/Events/V1/Sink/SinkTestOptions.cs @@ -51,5 +51,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Events/V1/Sink/SinkTestResource.cs b/src/Twilio/Rest/Events/V1/Sink/SinkTestResource.cs index 7b3700f6c..e3308de80 100644 --- a/src/Twilio/Rest/Events/V1/Sink/SinkTestResource.cs +++ b/src/Twilio/Rest/Events/V1/Sink/SinkTestResource.cs @@ -101,6 +101,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a SinkTestResource object diff --git a/src/Twilio/Rest/Events/V1/Sink/SinkValidateOptions.cs b/src/Twilio/Rest/Events/V1/Sink/SinkValidateOptions.cs index 7a1b77296..1312acba5 100644 --- a/src/Twilio/Rest/Events/V1/Sink/SinkValidateOptions.cs +++ b/src/Twilio/Rest/Events/V1/Sink/SinkValidateOptions.cs @@ -60,5 +60,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Events/V1/Sink/SinkValidateResource.cs b/src/Twilio/Rest/Events/V1/Sink/SinkValidateResource.cs index 5106154fe..ae9de1243 100644 --- a/src/Twilio/Rest/Events/V1/Sink/SinkValidateResource.cs +++ b/src/Twilio/Rest/Events/V1/Sink/SinkValidateResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a SinkValidateResource object diff --git a/src/Twilio/Rest/Events/V1/SinkOptions.cs b/src/Twilio/Rest/Events/V1/SinkOptions.cs index e91ab2041..afbe5a82c 100644 --- a/src/Twilio/Rest/Events/V1/SinkOptions.cs +++ b/src/Twilio/Rest/Events/V1/SinkOptions.cs @@ -31,22 +31,22 @@ public class CreateSinkOptions : IOptions /// A human readable description for the Sink **This value should not contain PII.** public string Description { get; } - /// The information required for Twilio to connect to the provided Sink encoded as JSON. - public object SinkConfiguration { get; } - public SinkResource.SinkTypeEnum SinkType { get; } + /// The information required for Twilio to connect to the provided Sink encoded as JSON. + public object SinkConfiguration { get; } + /// Construct a new CreateSinkOptions /// A human readable description for the Sink **This value should not contain PII.** - /// The information required for Twilio to connect to the provided Sink encoded as JSON. /// - public CreateSinkOptions(string description, object sinkConfiguration, SinkResource.SinkTypeEnum sinkType) + /// The information required for Twilio to connect to the provided Sink encoded as JSON. + public CreateSinkOptions(string description, SinkResource.SinkTypeEnum sinkType, object sinkConfiguration) { Description = description; - SinkConfiguration = sinkConfiguration; SinkType = sinkType; + SinkConfiguration = sinkConfiguration; } @@ -59,20 +59,21 @@ public List> GetParams() { p.Add(new KeyValuePair("Description", Description)); } - if (SinkConfiguration != null) - { - p.Add(new KeyValuePair("SinkConfiguration", Serializers.JsonObject(SinkConfiguration))); - } if (SinkType != null) { p.Add(new KeyValuePair("SinkType", SinkType.ToString())); } + if (SinkConfiguration != null) + { + p.Add(new KeyValuePair("SinkConfiguration", Serializers.JsonObject(SinkConfiguration))); + } return p; } } + /// Delete a specific Sink. public class DeleteSinkOptions : IOptions { diff --git a/src/Twilio/Rest/Events/V1/SinkResource.cs b/src/Twilio/Rest/Events/V1/SinkResource.cs index a7be84c73..25ae5555a 100644 --- a/src/Twilio/Rest/Events/V1/SinkResource.cs +++ b/src/Twilio/Rest/Events/V1/SinkResource.cs @@ -106,37 +106,38 @@ public static async System.Threading.Tasks.Task CreateAsync(Create /// Create a new Sink /// A human readable description for the Sink **This value should not contain PII.** - /// The information required for Twilio to connect to the provided Sink encoded as JSON. /// + /// The information required for Twilio to connect to the provided Sink encoded as JSON. /// Client to make requests to Twilio /// A single instance of Sink public static SinkResource Create( string description, - object sinkConfiguration, SinkResource.SinkTypeEnum sinkType, + object sinkConfiguration, ITwilioRestClient client = null) { - var options = new CreateSinkOptions(description, sinkConfiguration, sinkType){ }; + var options = new CreateSinkOptions(description, sinkType, sinkConfiguration){ }; return Create(options, client); } #if !NET35 /// Create a new Sink /// A human readable description for the Sink **This value should not contain PII.** - /// The information required for Twilio to connect to the provided Sink encoded as JSON. /// + /// The information required for Twilio to connect to the provided Sink encoded as JSON. /// Client to make requests to Twilio /// Task that resolves to A single instance of Sink public static async System.Threading.Tasks.Task CreateAsync( string description, - object sinkConfiguration, SinkResource.SinkTypeEnum sinkType, + object sinkConfiguration, ITwilioRestClient client = null) { - var options = new CreateSinkOptions(description, sinkConfiguration, sinkType){ }; + var options = new CreateSinkOptions(description, sinkType, sinkConfiguration){ }; return await CreateAsync(options, client); } #endif + /// Delete a specific Sink. /// Delete Sink parameters @@ -469,6 +470,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SinkResource object diff --git a/src/Twilio/Rest/Events/V1/Subscription/SubscribedEventOptions.cs b/src/Twilio/Rest/Events/V1/Subscription/SubscribedEventOptions.cs index e4b503ac3..213f88f90 100644 --- a/src/Twilio/Rest/Events/V1/Subscription/SubscribedEventOptions.cs +++ b/src/Twilio/Rest/Events/V1/Subscription/SubscribedEventOptions.cs @@ -67,6 +67,7 @@ public List> GetParams() } + /// Remove an event type from a Subscription. public class DeleteSubscribedEventOptions : IOptions { diff --git a/src/Twilio/Rest/Events/V1/Subscription/SubscribedEventResource.cs b/src/Twilio/Rest/Events/V1/Subscription/SubscribedEventResource.cs index 39710f228..c472865b3 100644 --- a/src/Twilio/Rest/Events/V1/Subscription/SubscribedEventResource.cs +++ b/src/Twilio/Rest/Events/V1/Subscription/SubscribedEventResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task CreateA return await CreateAsync(options, client); } #endif + /// Remove an event type from a Subscription. /// Delete SubscribedEvent parameters @@ -454,6 +455,7 @@ public static async System.Threading.Tasks.Task UpdateA return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SubscribedEventResource object diff --git a/src/Twilio/Rest/Events/V1/SubscriptionOptions.cs b/src/Twilio/Rest/Events/V1/SubscriptionOptions.cs index ec0a6bc87..3341473fa 100644 --- a/src/Twilio/Rest/Events/V1/SubscriptionOptions.cs +++ b/src/Twilio/Rest/Events/V1/SubscriptionOptions.cs @@ -73,6 +73,7 @@ public List> GetParams() } + /// Delete a specific Subscription. public class DeleteSubscriptionOptions : IOptions { diff --git a/src/Twilio/Rest/Events/V1/SubscriptionResource.cs b/src/Twilio/Rest/Events/V1/SubscriptionResource.cs index 63a4ba491..828e72bed 100644 --- a/src/Twilio/Rest/Events/V1/SubscriptionResource.cs +++ b/src/Twilio/Rest/Events/V1/SubscriptionResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// Delete a specific Subscription. /// Delete Subscription parameters @@ -435,6 +436,7 @@ public static async System.Threading.Tasks.Task UpdateAsyn return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SubscriptionResource object diff --git a/src/Twilio/Rest/FlexApi/V1/AssessmentsOptions.cs b/src/Twilio/Rest/FlexApi/V1/AssessmentsOptions.cs index 9352c25ea..c106d8ef4 100644 --- a/src/Twilio/Rest/FlexApi/V1/AssessmentsOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/AssessmentsOptions.cs @@ -149,6 +149,7 @@ public List> GetHeaderParams() } } + /// Get assessments done for a conversation by logged in user public class ReadAssessmentsOptions : ReadOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/AssessmentsResource.cs b/src/Twilio/Rest/FlexApi/V1/AssessmentsResource.cs index d92b9476f..b414a589e 100644 --- a/src/Twilio/Rest/FlexApi/V1/AssessmentsResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/AssessmentsResource.cs @@ -139,6 +139,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + private static Request BuildReadRequest(ReadAssessmentsOptions options, ITwilioRestClient client) { @@ -351,6 +352,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AssessmentsResource object diff --git a/src/Twilio/Rest/FlexApi/V1/ChannelOptions.cs b/src/Twilio/Rest/FlexApi/V1/ChannelOptions.cs index af223c733..0b9e93946 100644 --- a/src/Twilio/Rest/FlexApi/V1/ChannelOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/ChannelOptions.cs @@ -124,6 +124,7 @@ public List> GetParams() } + /// delete public class DeleteChannelOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/ChannelResource.cs b/src/Twilio/Rest/FlexApi/V1/ChannelResource.cs index 9ab0368b2..5c30645e5 100644 --- a/src/Twilio/Rest/FlexApi/V1/ChannelResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/ChannelResource.cs @@ -135,6 +135,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Channel parameters diff --git a/src/Twilio/Rest/FlexApi/V1/ConfigurationOptions.cs b/src/Twilio/Rest/FlexApi/V1/ConfigurationOptions.cs index 6a7c36573..c848b37a7 100644 --- a/src/Twilio/Rest/FlexApi/V1/ConfigurationOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/ConfigurationOptions.cs @@ -73,6 +73,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/FlexApi/V1/ConfigurationResource.cs b/src/Twilio/Rest/FlexApi/V1/ConfigurationResource.cs index 40081b59f..a30962eb7 100644 --- a/src/Twilio/Rest/FlexApi/V1/ConfigurationResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/ConfigurationResource.cs @@ -173,6 +173,7 @@ public static async System.Threading.Tasks.Task UpdateAsy return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ConfigurationResource object diff --git a/src/Twilio/Rest/FlexApi/V1/FlexFlowOptions.cs b/src/Twilio/Rest/FlexApi/V1/FlexFlowOptions.cs index 28d5ba462..45f49c5da 100644 --- a/src/Twilio/Rest/FlexApi/V1/FlexFlowOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/FlexFlowOptions.cs @@ -171,6 +171,7 @@ public List> GetParams() } + /// delete public class DeleteFlexFlowOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/FlexFlowResource.cs b/src/Twilio/Rest/FlexApi/V1/FlexFlowResource.cs index f8dbb0010..7efef233d 100644 --- a/src/Twilio/Rest/FlexApi/V1/FlexFlowResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/FlexFlowResource.cs @@ -194,6 +194,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete FlexFlow parameters @@ -586,6 +587,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a FlexFlowResource object diff --git a/src/Twilio/Rest/FlexApi/V1/InsightsAssessmentsCommentOptions.cs b/src/Twilio/Rest/FlexApi/V1/InsightsAssessmentsCommentOptions.cs index 114658354..fb5d1215d 100644 --- a/src/Twilio/Rest/FlexApi/V1/InsightsAssessmentsCommentOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/InsightsAssessmentsCommentOptions.cs @@ -113,6 +113,7 @@ public List> GetHeaderParams() } } + /// To create a comment assessment for a conversation public class ReadInsightsAssessmentsCommentOptions : ReadOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/InsightsAssessmentsCommentResource.cs b/src/Twilio/Rest/FlexApi/V1/InsightsAssessmentsCommentResource.cs index f76b44646..6c934e13d 100644 --- a/src/Twilio/Rest/FlexApi/V1/InsightsAssessmentsCommentResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/InsightsAssessmentsCommentResource.cs @@ -123,6 +123,7 @@ public static async System.Threading.Tasks.Task> GetHeaderParams() } } + /// delete public class DeleteInsightsQuestionnairesCategoryOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesCategoryResource.cs b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesCategoryResource.cs index f51e37919..6e0a7a485 100644 --- a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesCategoryResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesCategoryResource.cs @@ -103,6 +103,7 @@ public static async System.Threading.Tasks.Task delete /// Delete InsightsQuestionnairesCategory parameters @@ -373,6 +374,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a InsightsQuestionnairesCategoryResource object diff --git a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesOptions.cs b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesOptions.cs index a675eab55..6edb2abd5 100644 --- a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesOptions.cs @@ -90,6 +90,7 @@ public List> GetHeaderParams() } } + /// To delete the questionnaire public class DeleteInsightsQuestionnairesOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesQuestionOptions.cs b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesQuestionOptions.cs index 098f71ae3..3b99814bb 100644 --- a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesQuestionOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesQuestionOptions.cs @@ -102,6 +102,7 @@ public List> GetHeaderParams() } } + /// delete public class DeleteInsightsQuestionnairesQuestionOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesQuestionResource.cs b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesQuestionResource.cs index 004deaac3..df13ce20d 100644 --- a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesQuestionResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesQuestionResource.cs @@ -119,6 +119,7 @@ public static async System.Threading.Tasks.Task delete /// Delete InsightsQuestionnairesQuestion parameters @@ -409,6 +410,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a InsightsQuestionnairesQuestionResource object diff --git a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesResource.cs b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesResource.cs index 0c3b64f6e..757199680 100644 --- a/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/InsightsQuestionnairesResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task return await CreateAsync(options, client); } #endif + /// To delete the questionnaire /// Delete InsightsQuestionnaires parameters @@ -468,6 +469,7 @@ public static async System.Threading.Tasks.Task return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a InsightsQuestionnairesResource object diff --git a/src/Twilio/Rest/FlexApi/V1/InsightsSessionOptions.cs b/src/Twilio/Rest/FlexApi/V1/InsightsSessionOptions.cs index 57fcd5064..015fdf11f 100644 --- a/src/Twilio/Rest/FlexApi/V1/InsightsSessionOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/InsightsSessionOptions.cs @@ -55,5 +55,6 @@ public List> GetHeaderParams() } } + } diff --git a/src/Twilio/Rest/FlexApi/V1/InsightsSessionResource.cs b/src/Twilio/Rest/FlexApi/V1/InsightsSessionResource.cs index fb84125ae..285a4c9df 100644 --- a/src/Twilio/Rest/FlexApi/V1/InsightsSessionResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/InsightsSessionResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateA return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a InsightsSessionResource object diff --git a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelInviteOptions.cs b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelInviteOptions.cs index 5255aa653..72f3b78e2 100644 --- a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelInviteOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelInviteOptions.cs @@ -65,6 +65,7 @@ public List> GetParams() } + /// List all Invites for a Channel. public class ReadInteractionChannelInviteOptions : ReadOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelInviteResource.cs b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelInviteResource.cs index 7aa529f58..18a0407ea 100644 --- a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelInviteResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelInviteResource.cs @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task> GetParams() } + /// List all Participants for a Channel. public class ReadInteractionChannelParticipantOptions : ReadOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelParticipantResource.cs b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelParticipantResource.cs index be94e3925..2e5532588 100644 --- a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelParticipantResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionChannelParticipantResource.cs @@ -147,6 +147,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a InteractionChannelParticipantResource object diff --git a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionTransferOptions.cs b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionTransferOptions.cs index 464aea064..a081158a0 100644 --- a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionTransferOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionTransferOptions.cs @@ -59,9 +59,11 @@ public string GetBody() } return body; } + } + /// Fetch a specific Transfer by SID. public class FetchInteractionTransferOptions : IOptions { @@ -143,6 +145,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionTransferResource.cs b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionTransferResource.cs index 69cc67c9c..51c058997 100644 --- a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionTransferResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannel/InteractionTransferResource.cs @@ -136,6 +136,7 @@ public static async System.Threading.Tasks.Task Cre return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchInteractionTransferOptions options, ITwilioRestClient client) { @@ -292,6 +293,7 @@ public static async System.Threading.Tasks.Task Upd return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a InteractionTransferResource object diff --git a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannelResource.cs b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannelResource.cs index 729a37ca8..63e667b47 100644 --- a/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannelResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/Interaction/InteractionChannelResource.cs @@ -358,6 +358,7 @@ public static async System.Threading.Tasks.Task Upda return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a InteractionChannelResource object diff --git a/src/Twilio/Rest/FlexApi/V1/InteractionOptions.cs b/src/Twilio/Rest/FlexApi/V1/InteractionOptions.cs index 021bd0d48..1d20bd2e3 100644 --- a/src/Twilio/Rest/FlexApi/V1/InteractionOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/InteractionOptions.cs @@ -76,6 +76,7 @@ public List> GetParams() } + /// fetch public class FetchInteractionOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/InteractionResource.cs b/src/Twilio/Rest/FlexApi/V1/InteractionResource.cs index 894cfaad5..8ba1ed5e2 100644 --- a/src/Twilio/Rest/FlexApi/V1/InteractionResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/InteractionResource.cs @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchInteractionOptions options, ITwilioRestClient client) { @@ -248,6 +249,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a InteractionResource object diff --git a/src/Twilio/Rest/FlexApi/V1/Plugin/PluginVersionsOptions.cs b/src/Twilio/Rest/FlexApi/V1/Plugin/PluginVersionsOptions.cs index 7e32717f6..99d710352 100644 --- a/src/Twilio/Rest/FlexApi/V1/Plugin/PluginVersionsOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/Plugin/PluginVersionsOptions.cs @@ -110,6 +110,7 @@ public List> GetHeaderParams() } } + /// fetch public class FetchPluginVersionsOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/Plugin/PluginVersionsResource.cs b/src/Twilio/Rest/FlexApi/V1/Plugin/PluginVersionsResource.cs index b80ee39a9..055f93fa5 100644 --- a/src/Twilio/Rest/FlexApi/V1/Plugin/PluginVersionsResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/Plugin/PluginVersionsResource.cs @@ -81,7 +81,7 @@ public static async System.Threading.Tasks.Task CreateAs /// The Flex Plugin Version's version. /// The URL of the Flex Plugin Version bundle /// The changelog of the Flex Plugin Version. - /// Whether this Flex Plugin Version requires authorization. + /// Whether this Flex Plugin Version requires authorization. /// The version of Flex Plugins CLI used to create this plugin /// The validation status of the plugin, indicating whether it has been validated /// The Flex-Metadata HTTP request header @@ -92,13 +92,13 @@ public static PluginVersionsResource Create( string version, Uri pluginUrl, string changelog = null, - bool? _private = null, + bool? varPrivate = null, string cliVersion = null, string validateStatus = null, string flexMetadata = null, ITwilioRestClient client = null) { - var options = new CreatePluginVersionsOptions(pathPluginSid, version, pluginUrl){ Changelog = changelog, Private = _private, CliVersion = cliVersion, ValidateStatus = validateStatus, FlexMetadata = flexMetadata }; + var options = new CreatePluginVersionsOptions(pathPluginSid, version, pluginUrl){ Changelog = changelog, Private = varPrivate, CliVersion = cliVersion, ValidateStatus = validateStatus, FlexMetadata = flexMetadata }; return Create(options, client); } @@ -108,7 +108,7 @@ public static PluginVersionsResource Create( /// The Flex Plugin Version's version. /// The URL of the Flex Plugin Version bundle /// The changelog of the Flex Plugin Version. - /// Whether this Flex Plugin Version requires authorization. + /// Whether this Flex Plugin Version requires authorization. /// The version of Flex Plugins CLI used to create this plugin /// The validation status of the plugin, indicating whether it has been validated /// The Flex-Metadata HTTP request header @@ -119,16 +119,17 @@ public static async System.Threading.Tasks.Task CreateAs string version, Uri pluginUrl, string changelog = null, - bool? _private = null, + bool? varPrivate = null, string cliVersion = null, string validateStatus = null, string flexMetadata = null, ITwilioRestClient client = null) { - var options = new CreatePluginVersionsOptions(pathPluginSid, version, pluginUrl){ Changelog = changelog, Private = _private, CliVersion = cliVersion, ValidateStatus = validateStatus, FlexMetadata = flexMetadata }; + var options = new CreatePluginVersionsOptions(pathPluginSid, version, pluginUrl){ Changelog = changelog, Private = varPrivate, CliVersion = cliVersion, ValidateStatus = validateStatus, FlexMetadata = flexMetadata }; return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchPluginVersionsOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/FlexApi/V1/PluginArchiveResource.cs b/src/Twilio/Rest/FlexApi/V1/PluginArchiveResource.cs index 1ac63fa8a..cf400f652 100644 --- a/src/Twilio/Rest/FlexApi/V1/PluginArchiveResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/PluginArchiveResource.cs @@ -106,6 +106,7 @@ public static async System.Threading.Tasks.Task UpdateAsy return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a PluginArchiveResource object diff --git a/src/Twilio/Rest/FlexApi/V1/PluginConfigurationArchiveResource.cs b/src/Twilio/Rest/FlexApi/V1/PluginConfigurationArchiveResource.cs index 3c07861b2..0963e4e8a 100644 --- a/src/Twilio/Rest/FlexApi/V1/PluginConfigurationArchiveResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/PluginConfigurationArchiveResource.cs @@ -106,6 +106,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a PluginConfigurationArchiveResource object diff --git a/src/Twilio/Rest/FlexApi/V1/PluginConfigurationOptions.cs b/src/Twilio/Rest/FlexApi/V1/PluginConfigurationOptions.cs index dfeb3456d..835bb547a 100644 --- a/src/Twilio/Rest/FlexApi/V1/PluginConfigurationOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/PluginConfigurationOptions.cs @@ -83,6 +83,7 @@ public List> GetHeaderParams() } } + /// fetch public class FetchPluginConfigurationOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/PluginConfigurationResource.cs b/src/Twilio/Rest/FlexApi/V1/PluginConfigurationResource.cs index 3cfec7f57..f73db7518 100644 --- a/src/Twilio/Rest/FlexApi/V1/PluginConfigurationResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/PluginConfigurationResource.cs @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task Cre return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchPluginConfigurationOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/FlexApi/V1/PluginOptions.cs b/src/Twilio/Rest/FlexApi/V1/PluginOptions.cs index cc1629d4d..caed3e916 100644 --- a/src/Twilio/Rest/FlexApi/V1/PluginOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/PluginOptions.cs @@ -82,6 +82,7 @@ public List> GetHeaderParams() } } + /// fetch public class FetchPluginOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/PluginReleaseOptions.cs b/src/Twilio/Rest/FlexApi/V1/PluginReleaseOptions.cs index d289983ad..55f212bc3 100644 --- a/src/Twilio/Rest/FlexApi/V1/PluginReleaseOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/PluginReleaseOptions.cs @@ -68,6 +68,7 @@ public List> GetHeaderParams() } } + /// fetch public class FetchPluginReleaseOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/PluginReleaseResource.cs b/src/Twilio/Rest/FlexApi/V1/PluginReleaseResource.cs index 5f79d53be..13774d231 100644 --- a/src/Twilio/Rest/FlexApi/V1/PluginReleaseResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/PluginReleaseResource.cs @@ -103,6 +103,7 @@ public static async System.Threading.Tasks.Task CreateAsy return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchPluginReleaseOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/FlexApi/V1/PluginResource.cs b/src/Twilio/Rest/FlexApi/V1/PluginResource.cs index 6556a0b85..7f3cd58dd 100644 --- a/src/Twilio/Rest/FlexApi/V1/PluginResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/PluginResource.cs @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchPluginOptions options, ITwilioRestClient client) { @@ -382,6 +383,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a PluginResource object diff --git a/src/Twilio/Rest/FlexApi/V1/PluginVersionArchiveResource.cs b/src/Twilio/Rest/FlexApi/V1/PluginVersionArchiveResource.cs index d1d735fc6..6b622becf 100644 --- a/src/Twilio/Rest/FlexApi/V1/PluginVersionArchiveResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/PluginVersionArchiveResource.cs @@ -112,6 +112,7 @@ public static async System.Threading.Tasks.Task Up return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a PluginVersionArchiveResource object diff --git a/src/Twilio/Rest/FlexApi/V1/WebChannelOptions.cs b/src/Twilio/Rest/FlexApi/V1/WebChannelOptions.cs index b6e5b4daa..0092aa927 100644 --- a/src/Twilio/Rest/FlexApi/V1/WebChannelOptions.cs +++ b/src/Twilio/Rest/FlexApi/V1/WebChannelOptions.cs @@ -96,6 +96,7 @@ public List> GetParams() } + /// delete public class DeleteWebChannelOptions : IOptions { diff --git a/src/Twilio/Rest/FlexApi/V1/WebChannelResource.cs b/src/Twilio/Rest/FlexApi/V1/WebChannelResource.cs index c8e5c1f46..eca805d33 100644 --- a/src/Twilio/Rest/FlexApi/V1/WebChannelResource.cs +++ b/src/Twilio/Rest/FlexApi/V1/WebChannelResource.cs @@ -130,6 +130,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete WebChannel parameters @@ -458,6 +459,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WebChannelResource object diff --git a/src/Twilio/Rest/FlexApi/V2/FlexUserResource.cs b/src/Twilio/Rest/FlexApi/V2/FlexUserResource.cs index 595baab46..adcdac801 100644 --- a/src/Twilio/Rest/FlexApi/V2/FlexUserResource.cs +++ b/src/Twilio/Rest/FlexApi/V2/FlexUserResource.cs @@ -189,6 +189,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a FlexUserResource object diff --git a/src/Twilio/Rest/FlexApi/V2/WebChannelsOptions.cs b/src/Twilio/Rest/FlexApi/V2/WebChannelsOptions.cs index 7b1d7e283..54ed67a9c 100644 --- a/src/Twilio/Rest/FlexApi/V2/WebChannelsOptions.cs +++ b/src/Twilio/Rest/FlexApi/V2/WebChannelsOptions.cs @@ -96,5 +96,6 @@ public List> GetHeaderParams() } } + } diff --git a/src/Twilio/Rest/FlexApi/V2/WebChannelsResource.cs b/src/Twilio/Rest/FlexApi/V2/WebChannelsResource.cs index 29a19087a..fcfd0f825 100644 --- a/src/Twilio/Rest/FlexApi/V2/WebChannelsResource.cs +++ b/src/Twilio/Rest/FlexApi/V2/WebChannelsResource.cs @@ -119,6 +119,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a WebChannelsResource object diff --git a/src/Twilio/Rest/FrontlineApi/V1/UserResource.cs b/src/Twilio/Rest/FrontlineApi/V1/UserResource.cs index 1058e3559..1e784d1fb 100644 --- a/src/Twilio/Rest/FrontlineApi/V1/UserResource.cs +++ b/src/Twilio/Rest/FrontlineApi/V1/UserResource.cs @@ -195,6 +195,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserResource object diff --git a/src/Twilio/Rest/Iam/V1/ApiKeyResource.cs b/src/Twilio/Rest/Iam/V1/ApiKeyResource.cs index 1228a7d42..64cfeb9a2 100644 --- a/src/Twilio/Rest/Iam/V1/ApiKeyResource.cs +++ b/src/Twilio/Rest/Iam/V1/ApiKeyResource.cs @@ -242,6 +242,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ApiKeyResource object diff --git a/src/Twilio/Rest/Iam/V1/NewApiKeyOptions.cs b/src/Twilio/Rest/Iam/V1/NewApiKeyOptions.cs index ce96de3bf..d164e2a1b 100644 --- a/src/Twilio/Rest/Iam/V1/NewApiKeyOptions.cs +++ b/src/Twilio/Rest/Iam/V1/NewApiKeyOptions.cs @@ -76,5 +76,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Iam/V1/NewApiKeyResource.cs b/src/Twilio/Rest/Iam/V1/NewApiKeyResource.cs index a420cb2ed..b1c0ebdae 100644 --- a/src/Twilio/Rest/Iam/V1/NewApiKeyResource.cs +++ b/src/Twilio/Rest/Iam/V1/NewApiKeyResource.cs @@ -122,6 +122,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a NewApiKeyResource object diff --git a/src/Twilio/Rest/Iam/V1/TokenOptions.cs b/src/Twilio/Rest/Iam/V1/TokenOptions.cs index a0eabf328..7b0530ac7 100644 --- a/src/Twilio/Rest/Iam/V1/TokenOptions.cs +++ b/src/Twilio/Rest/Iam/V1/TokenOptions.cs @@ -106,5 +106,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Iam/V1/TokenResource.cs b/src/Twilio/Rest/Iam/V1/TokenResource.cs index a26d69f53..8fe2dbac7 100644 --- a/src/Twilio/Rest/Iam/V1/TokenResource.cs +++ b/src/Twilio/Rest/Iam/V1/TokenResource.cs @@ -127,6 +127,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a TokenResource object diff --git a/src/Twilio/Rest/Insights/V1/Call/AnnotationResource.cs b/src/Twilio/Rest/Insights/V1/Call/AnnotationResource.cs index 170e0e87c..8e0977b6e 100644 --- a/src/Twilio/Rest/Insights/V1/Call/AnnotationResource.cs +++ b/src/Twilio/Rest/Insights/V1/Call/AnnotationResource.cs @@ -225,6 +225,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AnnotationResource object diff --git a/src/Twilio/Rest/Insights/V1/SettingResource.cs b/src/Twilio/Rest/Insights/V1/SettingResource.cs index 33144c634..113bb0d97 100644 --- a/src/Twilio/Rest/Insights/V1/SettingResource.cs +++ b/src/Twilio/Rest/Insights/V1/SettingResource.cs @@ -170,6 +170,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SettingResource object diff --git a/src/Twilio/Rest/Intelligence/V2/CustomOperatorOptions.cs b/src/Twilio/Rest/Intelligence/V2/CustomOperatorOptions.cs index 0d6ac8c09..6888dca8c 100644 --- a/src/Twilio/Rest/Intelligence/V2/CustomOperatorOptions.cs +++ b/src/Twilio/Rest/Intelligence/V2/CustomOperatorOptions.cs @@ -73,6 +73,7 @@ public List> GetParams() } + /// Delete a specific Custom Operator. public class DeleteCustomOperatorOptions : IOptions { diff --git a/src/Twilio/Rest/Intelligence/V2/CustomOperatorResource.cs b/src/Twilio/Rest/Intelligence/V2/CustomOperatorResource.cs index 18fd03558..da9ddf572 100644 --- a/src/Twilio/Rest/Intelligence/V2/CustomOperatorResource.cs +++ b/src/Twilio/Rest/Intelligence/V2/CustomOperatorResource.cs @@ -122,6 +122,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// Delete a specific Custom Operator. /// Delete CustomOperator parameters @@ -462,6 +463,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CustomOperatorResource object diff --git a/src/Twilio/Rest/Intelligence/V2/OperatorAttachmentOptions.cs b/src/Twilio/Rest/Intelligence/V2/OperatorAttachmentOptions.cs index 7d3da9b26..918bef9d5 100644 --- a/src/Twilio/Rest/Intelligence/V2/OperatorAttachmentOptions.cs +++ b/src/Twilio/Rest/Intelligence/V2/OperatorAttachmentOptions.cs @@ -56,6 +56,7 @@ public List> GetParams() } + /// Detach an Operator from a Service. public class DeleteOperatorAttachmentOptions : IOptions { diff --git a/src/Twilio/Rest/Intelligence/V2/OperatorAttachmentResource.cs b/src/Twilio/Rest/Intelligence/V2/OperatorAttachmentResource.cs index 6c2693bc5..6db98fbb3 100644 --- a/src/Twilio/Rest/Intelligence/V2/OperatorAttachmentResource.cs +++ b/src/Twilio/Rest/Intelligence/V2/OperatorAttachmentResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task Crea return await CreateAsync(options, client); } #endif + /// Detach an Operator from a Service. /// Delete OperatorAttachment parameters diff --git a/src/Twilio/Rest/Intelligence/V2/ServiceOptions.cs b/src/Twilio/Rest/Intelligence/V2/ServiceOptions.cs index c53f126d8..1c7884851 100644 --- a/src/Twilio/Rest/Intelligence/V2/ServiceOptions.cs +++ b/src/Twilio/Rest/Intelligence/V2/ServiceOptions.cs @@ -118,6 +118,7 @@ public List> GetParams() } + /// Delete a specific Service. public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Intelligence/V2/ServiceResource.cs b/src/Twilio/Rest/Intelligence/V2/ServiceResource.cs index aab7fac11..ccb703701 100644 --- a/src/Twilio/Rest/Intelligence/V2/ServiceResource.cs +++ b/src/Twilio/Rest/Intelligence/V2/ServiceResource.cs @@ -149,6 +149,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Service. /// Delete Service parameters @@ -509,6 +510,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Intelligence/V2/TranscriptOptions.cs b/src/Twilio/Rest/Intelligence/V2/TranscriptOptions.cs index 629e6233b..8b8da0b55 100644 --- a/src/Twilio/Rest/Intelligence/V2/TranscriptOptions.cs +++ b/src/Twilio/Rest/Intelligence/V2/TranscriptOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// Delete a specific Transcript. public class DeleteTranscriptOptions : IOptions { diff --git a/src/Twilio/Rest/Intelligence/V2/TranscriptResource.cs b/src/Twilio/Rest/Intelligence/V2/TranscriptResource.cs index 863fc5e45..252cc29e0 100644 --- a/src/Twilio/Rest/Intelligence/V2/TranscriptResource.cs +++ b/src/Twilio/Rest/Intelligence/V2/TranscriptResource.cs @@ -127,6 +127,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Transcript. /// Delete Transcript parameters diff --git a/src/Twilio/Rest/IpMessaging/V1/CredentialOptions.cs b/src/Twilio/Rest/IpMessaging/V1/CredentialOptions.cs index b0b4d6b82..cfc3bc887 100644 --- a/src/Twilio/Rest/IpMessaging/V1/CredentialOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V1/CredentialOptions.cs @@ -97,6 +97,7 @@ public List> GetParams() } + /// delete public class DeleteCredentialOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V1/CredentialResource.cs b/src/Twilio/Rest/IpMessaging/V1/CredentialResource.cs index 141f5cf02..528e05415 100644 --- a/src/Twilio/Rest/IpMessaging/V1/CredentialResource.cs +++ b/src/Twilio/Rest/IpMessaging/V1/CredentialResource.cs @@ -137,6 +137,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Credential parameters @@ -481,6 +482,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CredentialResource object diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/InviteOptions.cs b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/InviteOptions.cs index fae221d70..4576f2524 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/InviteOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/InviteOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// delete public class DeleteInviteOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/InviteResource.cs b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/InviteResource.cs index 5ea9dc5a3..602faa89e 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/InviteResource.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/InviteResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Invite parameters diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberOptions.cs b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberOptions.cs index a8b242474..0c5f2f59d 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// delete public class DeleteMemberOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberResource.cs b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberResource.cs index e830c35d5..84fde4b0f 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberResource.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Member parameters @@ -489,6 +490,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MemberResource object diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MessageOptions.cs b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MessageOptions.cs index ac4b5a775..0d7483563 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MessageOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MessageOptions.cs @@ -79,6 +79,7 @@ public List> GetParams() } + /// delete public class DeleteMessageOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MessageResource.cs b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MessageResource.cs index 9219b3231..0828bfaf6 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MessageResource.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MessageResource.cs @@ -131,6 +131,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Message parameters @@ -505,6 +506,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MessageResource object diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/ChannelOptions.cs b/src/Twilio/Rest/IpMessaging/V1/Service/ChannelOptions.cs index 0640de458..db07a49d3 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/ChannelOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/ChannelOptions.cs @@ -79,6 +79,7 @@ public List> GetParams() } + /// delete public class DeleteChannelOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/ChannelResource.cs b/src/Twilio/Rest/IpMessaging/V1/Service/ChannelResource.cs index 44b91b7ec..6779bc2e5 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/ChannelResource.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/ChannelResource.cs @@ -130,6 +130,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Channel parameters @@ -487,6 +488,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ChannelResource object diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/RoleOptions.cs b/src/Twilio/Rest/IpMessaging/V1/Service/RoleOptions.cs index 82fdfa4e9..9a014e717 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/RoleOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/RoleOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// delete public class DeleteRoleOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/RoleResource.cs b/src/Twilio/Rest/IpMessaging/V1/Service/RoleResource.cs index b501aecb9..ec65abb23 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/RoleResource.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/RoleResource.cs @@ -126,6 +126,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Role parameters @@ -471,6 +472,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RoleResource object diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/UserOptions.cs b/src/Twilio/Rest/IpMessaging/V1/Service/UserOptions.cs index 457a0f4f2..fc950d8cd 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/UserOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/UserOptions.cs @@ -81,6 +81,7 @@ public List> GetParams() } + /// delete public class DeleteUserOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V1/Service/UserResource.cs b/src/Twilio/Rest/IpMessaging/V1/Service/UserResource.cs index bac8d4552..81f5d706c 100644 --- a/src/Twilio/Rest/IpMessaging/V1/Service/UserResource.cs +++ b/src/Twilio/Rest/IpMessaging/V1/Service/UserResource.cs @@ -117,6 +117,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete User parameters @@ -470,6 +471,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserResource object diff --git a/src/Twilio/Rest/IpMessaging/V1/ServiceOptions.cs b/src/Twilio/Rest/IpMessaging/V1/ServiceOptions.cs index 38cf37e65..7b2934f16 100644 --- a/src/Twilio/Rest/IpMessaging/V1/ServiceOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V1/ServiceOptions.cs @@ -55,6 +55,7 @@ public List> GetParams() } + /// delete public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V1/ServiceResource.cs b/src/Twilio/Rest/IpMessaging/V1/ServiceResource.cs index 8a56cd7f7..43e873bcd 100644 --- a/src/Twilio/Rest/IpMessaging/V1/ServiceResource.cs +++ b/src/Twilio/Rest/IpMessaging/V1/ServiceResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Service parameters @@ -635,6 +636,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/IpMessaging/V2/CredentialOptions.cs b/src/Twilio/Rest/IpMessaging/V2/CredentialOptions.cs index fcaf0eb08..297f47fa2 100644 --- a/src/Twilio/Rest/IpMessaging/V2/CredentialOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V2/CredentialOptions.cs @@ -97,6 +97,7 @@ public List> GetParams() } + /// delete public class DeleteCredentialOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V2/CredentialResource.cs b/src/Twilio/Rest/IpMessaging/V2/CredentialResource.cs index a26802380..6ce16c7bb 100644 --- a/src/Twilio/Rest/IpMessaging/V2/CredentialResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/CredentialResource.cs @@ -137,6 +137,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Credential parameters @@ -481,6 +482,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CredentialResource object diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteOptions.cs b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteOptions.cs index 737236003..0ff41bc9e 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// delete public class DeleteInviteOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteResource.cs b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteResource.cs index d94a19232..78f89bbf3 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Invite parameters diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberOptions.cs b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberOptions.cs index 6d68e1ec8..0e7f653fa 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberOptions.cs @@ -120,6 +120,7 @@ public List> GetHeaderParams() } } + /// delete public class DeleteMemberOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberResource.cs b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberResource.cs index b9f687949..81cf233f5 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberResource.cs @@ -151,6 +151,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Member parameters @@ -547,6 +548,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MemberResource object diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MessageOptions.cs b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MessageOptions.cs index 55242c9d2..5409e8d3c 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MessageOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MessageOptions.cs @@ -118,6 +118,7 @@ public List> GetHeaderParams() } } + /// delete public class DeleteMessageOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MessageResource.cs b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MessageResource.cs index faa055584..02d5ee496 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MessageResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MessageResource.cs @@ -163,6 +163,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Message parameters @@ -559,6 +560,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MessageResource object diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/WebhookOptions.cs b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/WebhookOptions.cs index 42fc48920..0ff829526 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/WebhookOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/WebhookOptions.cs @@ -109,6 +109,7 @@ public List> GetParams() } + /// delete public class DeleteWebhookOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/WebhookResource.cs b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/WebhookResource.cs index d76088d3d..70e0e06e5 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/WebhookResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/WebhookResource.cs @@ -160,6 +160,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Webhook parameters @@ -546,6 +547,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WebhookResource object diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/ChannelOptions.cs b/src/Twilio/Rest/IpMessaging/V2/Service/ChannelOptions.cs index f9818e3a7..7106dc8c6 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/ChannelOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/ChannelOptions.cs @@ -113,6 +113,7 @@ public List> GetHeaderParams() } } + /// delete public class DeleteChannelOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/ChannelResource.cs b/src/Twilio/Rest/IpMessaging/V2/Service/ChannelResource.cs index f9d24428f..75bf71bd3 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/ChannelResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/ChannelResource.cs @@ -158,6 +158,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Channel parameters @@ -533,6 +534,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ChannelResource object diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/RoleOptions.cs b/src/Twilio/Rest/IpMessaging/V2/Service/RoleOptions.cs index d683d3fef..3ba6d168f 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/RoleOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/RoleOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// delete public class DeleteRoleOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/RoleResource.cs b/src/Twilio/Rest/IpMessaging/V2/Service/RoleResource.cs index 1e9b0e3e6..df49b9f60 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/RoleResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/RoleResource.cs @@ -126,6 +126,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Role parameters @@ -471,6 +472,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RoleResource object diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/User/UserChannelResource.cs b/src/Twilio/Rest/IpMessaging/V2/Service/User/UserChannelResource.cs index f63d1fae4..58270f9cf 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/User/UserChannelResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/User/UserChannelResource.cs @@ -434,6 +434,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserChannelResource object diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/UserOptions.cs b/src/Twilio/Rest/IpMessaging/V2/Service/UserOptions.cs index f32e96ac2..68a95499d 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/UserOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/UserOptions.cs @@ -94,6 +94,7 @@ public List> GetHeaderParams() } } + /// delete public class DeleteUserOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/UserResource.cs b/src/Twilio/Rest/IpMessaging/V2/Service/UserResource.cs index 186eaeeb3..6351e1a2a 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/UserResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/Service/UserResource.cs @@ -133,6 +133,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete User parameters @@ -490,6 +491,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserResource object diff --git a/src/Twilio/Rest/IpMessaging/V2/ServiceOptions.cs b/src/Twilio/Rest/IpMessaging/V2/ServiceOptions.cs index bd465cb05..8e175cbd1 100644 --- a/src/Twilio/Rest/IpMessaging/V2/ServiceOptions.cs +++ b/src/Twilio/Rest/IpMessaging/V2/ServiceOptions.cs @@ -55,6 +55,7 @@ public List> GetParams() } + /// delete public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/IpMessaging/V2/ServiceResource.cs b/src/Twilio/Rest/IpMessaging/V2/ServiceResource.cs index 73b2b58b7..e04af15f1 100644 --- a/src/Twilio/Rest/IpMessaging/V2/ServiceResource.cs +++ b/src/Twilio/Rest/IpMessaging/V2/ServiceResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Service parameters @@ -543,6 +544,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Knowledge/V1/Knowledge/KnowledgeStatusResource.cs b/src/Twilio/Rest/Knowledge/V1/Knowledge/KnowledgeStatusResource.cs index e086de022..f3e751182 100644 --- a/src/Twilio/Rest/Knowledge/V1/Knowledge/KnowledgeStatusResource.cs +++ b/src/Twilio/Rest/Knowledge/V1/Knowledge/KnowledgeStatusResource.cs @@ -132,14 +132,14 @@ public static string ToJson(object model) } - /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource. - [JsonProperty("account_sid")] - public string AccountSid { get; private set; } - /// The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED') [JsonProperty("status")] public string Status { get; } + /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource. + [JsonProperty("account_sid")] + public string AccountSid { get; private set; } + /// The last status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED') [JsonProperty("last_status")] public string LastStatus { get; private set; } diff --git a/src/Twilio/Rest/Knowledge/V1/KnowledgeOptions.cs b/src/Twilio/Rest/Knowledge/V1/KnowledgeOptions.cs index 45fea9ad7..74d1fbca2 100644 --- a/src/Twilio/Rest/Knowledge/V1/KnowledgeOptions.cs +++ b/src/Twilio/Rest/Knowledge/V1/KnowledgeOptions.cs @@ -51,9 +51,11 @@ public string GetBody() } return body; } + } + /// Delete knowledge public class DeleteKnowledgeOptions : IOptions { @@ -176,6 +178,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/Knowledge/V1/KnowledgeResource.cs b/src/Twilio/Rest/Knowledge/V1/KnowledgeResource.cs index d0c80f113..de8bb770a 100644 --- a/src/Twilio/Rest/Knowledge/V1/KnowledgeResource.cs +++ b/src/Twilio/Rest/Knowledge/V1/KnowledgeResource.cs @@ -82,16 +82,16 @@ public KnowledgeV1ServiceCreatePolicyRequest Build() } public class KnowledgeV1ServiceCreateKnowledgeRequest { + [JsonProperty("name")] + private string Name {get; set;} + [JsonProperty("type")] + private string Type {get; set;} [JsonProperty("description")] private string Description {get; set;} [JsonProperty("knowledge_source_details")] private object KnowledgeSourceDetails {get; set;} - [JsonProperty("name")] - private string Name {get; set;} [JsonProperty("policy")] private KnowledgeV1ServiceCreatePolicyRequest Policy {get; set;} - [JsonProperty("type")] - private string Type {get; set;} [JsonProperty("embedding_model")] private string EmbeddingModel {get; set;} public KnowledgeV1ServiceCreateKnowledgeRequest() { } @@ -101,29 +101,29 @@ public class Builder public Builder() { } - public Builder WithDescription(string description) + public Builder WithName(string name) { - _knowledgeV1ServiceCreateKnowledgeRequest.Description= description; + _knowledgeV1ServiceCreateKnowledgeRequest.Name= name; return this; } - public Builder WithKnowledgeSourceDetails(object knowledgeSourceDetails) + public Builder WithType(string type) { - _knowledgeV1ServiceCreateKnowledgeRequest.KnowledgeSourceDetails= knowledgeSourceDetails; + _knowledgeV1ServiceCreateKnowledgeRequest.Type= type; return this; } - public Builder WithName(string name) + public Builder WithDescription(string description) { - _knowledgeV1ServiceCreateKnowledgeRequest.Name= name; + _knowledgeV1ServiceCreateKnowledgeRequest.Description= description; return this; } - public Builder WithPolicy(KnowledgeV1ServiceCreatePolicyRequest policy) + public Builder WithKnowledgeSourceDetails(object knowledgeSourceDetails) { - _knowledgeV1ServiceCreateKnowledgeRequest.Policy= policy; + _knowledgeV1ServiceCreateKnowledgeRequest.KnowledgeSourceDetails= knowledgeSourceDetails; return this; } - public Builder WithType(string type) + public Builder WithPolicy(KnowledgeV1ServiceCreatePolicyRequest policy) { - _knowledgeV1ServiceCreateKnowledgeRequest.Type= type; + _knowledgeV1ServiceCreateKnowledgeRequest.Policy= policy; return this; } public Builder WithEmbeddingModel(string embeddingModel) @@ -264,6 +264,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete knowledge /// Delete Knowledge parameters @@ -589,6 +590,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a KnowledgeResource object @@ -624,14 +626,30 @@ public static string ToJson(object model) } - /// The type of knowledge source. - [JsonProperty("description")] - public string Description { get; private set; } - /// The description of knowledge. [JsonProperty("id")] public string Id { get; } + /// The name of the knowledge source. + [JsonProperty("name")] + public string Name { get; } + + /// The type of knowledge source ('Web', 'Database', 'Text', 'File') + [JsonProperty("type")] + public string Type { get; } + + /// The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. + [JsonProperty("date_created")] + public DateTime? DateCreated { get; } + + /// The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. + [JsonProperty("date_updated")] + public DateTime? DateUpdated { get; } + + /// The type of knowledge source. + [JsonProperty("description")] + public string Description { get; private set; } + /// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource. [JsonProperty("account_sid")] public string AccountSid { get; private set; } @@ -640,18 +658,10 @@ public static string ToJson(object model) [JsonProperty("knowledge_source_details")] public object KnowledgeSourceDetails { get; private set; } - /// The name of the knowledge source. - [JsonProperty("name")] - public string Name { get; } - /// The status of processing the knowledge source ('QUEUED', 'PROCESSING', 'COMPLETED', 'FAILED') [JsonProperty("status")] public string Status { get; private set; } - /// The type of knowledge source ('Web', 'Database', 'Text', 'File') - [JsonProperty("type")] - public string Type { get; } - /// The url of the knowledge resource. [JsonProperty("url")] public string Url { get; private set; } @@ -660,14 +670,6 @@ public static string ToJson(object model) [JsonProperty("embedding_model")] public string EmbeddingModel { get; private set; } - /// The date and time in GMT when the Knowledge was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - [JsonProperty("date_created")] - public DateTime? DateCreated { get; } - - /// The date and time in GMT when the Knowledge was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - [JsonProperty("date_updated")] - public DateTime? DateUpdated { get; } - private KnowledgeResource() { diff --git a/src/Twilio/Rest/Lookups/V2/BucketOptions.cs b/src/Twilio/Rest/Lookups/V2/BucketOptions.cs index 801c97ebc..eaa78311e 100644 --- a/src/Twilio/Rest/Lookups/V2/BucketOptions.cs +++ b/src/Twilio/Rest/Lookups/V2/BucketOptions.cs @@ -129,6 +129,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/Lookups/V2/BucketResource.cs b/src/Twilio/Rest/Lookups/V2/BucketResource.cs index b49c588cb..aa7856082 100644 --- a/src/Twilio/Rest/Lookups/V2/BucketResource.cs +++ b/src/Twilio/Rest/Lookups/V2/BucketResource.cs @@ -279,6 +279,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a BucketResource object diff --git a/src/Twilio/Rest/Lookups/V2/LookupOverrideOptions.cs b/src/Twilio/Rest/Lookups/V2/LookupOverrideOptions.cs index 13e6edafe..b481f20e7 100644 --- a/src/Twilio/Rest/Lookups/V2/LookupOverrideOptions.cs +++ b/src/Twilio/Rest/Lookups/V2/LookupOverrideOptions.cs @@ -59,9 +59,11 @@ public string GetBody() } return body; } + } + /// Delete an Override for a specific package and phone number. public class DeleteLookupOverrideOptions : IOptions { @@ -168,6 +170,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/Lookups/V2/LookupOverrideResource.cs b/src/Twilio/Rest/Lookups/V2/LookupOverrideResource.cs index 149b01a2a..0372d1d34 100644 --- a/src/Twilio/Rest/Lookups/V2/LookupOverrideResource.cs +++ b/src/Twilio/Rest/Lookups/V2/LookupOverrideResource.cs @@ -207,6 +207,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// Delete an Override for a specific package and phone number. /// Delete LookupOverride parameters @@ -424,6 +425,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a LookupOverrideResource object diff --git a/src/Twilio/Rest/Lookups/V2/PhoneNumberResource.cs b/src/Twilio/Rest/Lookups/V2/PhoneNumberResource.cs index e32ac63cf..94f536a7a 100644 --- a/src/Twilio/Rest/Lookups/V2/PhoneNumberResource.cs +++ b/src/Twilio/Rest/Lookups/V2/PhoneNumberResource.cs @@ -33,7 +33,7 @@ public class PhoneNumberResource : Resource public class CallerName { [JsonProperty("caller_name")] - private string _CallerName {get; set;} + private string VarCallerName {get; set;} [JsonProperty("caller_type")] private string CallerType {get; set;} [JsonProperty("error_code")] @@ -45,9 +45,9 @@ public class Builder public Builder() { } - public Builder With_CallerName(string callerName) + public Builder WithVarCallerName(string varCallerName) { - _callerName._CallerName= callerName; + _callerName.VarCallerName= varCallerName; return this; } public Builder WithCallerType(string callerType) diff --git a/src/Twilio/Rest/Lookups/V2/QueryOptions.cs b/src/Twilio/Rest/Lookups/V2/QueryOptions.cs index 2fb7b6039..3392dfdb3 100644 --- a/src/Twilio/Rest/Lookups/V2/QueryOptions.cs +++ b/src/Twilio/Rest/Lookups/V2/QueryOptions.cs @@ -45,8 +45,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Lookups/V2/QueryResource.cs b/src/Twilio/Rest/Lookups/V2/QueryResource.cs index 77007a24f..e4b838765 100644 --- a/src/Twilio/Rest/Lookups/V2/QueryResource.cs +++ b/src/Twilio/Rest/Lookups/V2/QueryResource.cs @@ -161,10 +161,10 @@ public RiskParameters Build() } public class LookupBatchRequest { - [JsonProperty("correlation_id")] - private string CorrelationId {get; set;} [JsonProperty("phone_number")] private string PhoneNumber {get; set;} + [JsonProperty("correlation_id")] + private string CorrelationId {get; set;} [JsonConverter(typeof(StringEnumConverter))] [JsonProperty("fields")] private List Fields {get; set;} @@ -183,14 +183,14 @@ public class Builder public Builder() { } - public Builder WithCorrelationId(string correlationId) + public Builder WithPhoneNumber(string phoneNumber) { - _lookupBatchRequest.CorrelationId= correlationId; + _lookupBatchRequest.PhoneNumber= phoneNumber; return this; } - public Builder WithPhoneNumber(string phoneNumber) + public Builder WithCorrelationId(string correlationId) { - _lookupBatchRequest.PhoneNumber= phoneNumber; + _lookupBatchRequest.CorrelationId= correlationId; return this; } public Builder WithFields(List fields) @@ -249,7 +249,7 @@ public LookupRequest Build() public class CallerName { [JsonProperty("caller_name")] - private string _CallerName {get; set;} + private string VarCallerName {get; set;} [JsonProperty("caller_type")] private string CallerType {get; set;} [JsonProperty("error_code")] @@ -261,9 +261,9 @@ public class Builder public Builder() { } - public Builder With_CallerName(string callerName) + public Builder WithVarCallerName(string varCallerName) { - _callerName._CallerName= callerName; + _callerName.VarCallerName= varCallerName; return this; } public Builder WithCallerType(string callerType) @@ -894,6 +894,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a QueryResource object diff --git a/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnExtensionResource.cs b/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnExtensionResource.cs index 7cad5fe26..bb5f29128 100644 --- a/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnExtensionResource.cs +++ b/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnExtensionResource.cs @@ -306,6 +306,7 @@ public static async System.Threading.Tasks.Task return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a InstalledAddOnExtensionResource object diff --git a/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnUsageOptions.cs b/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnUsageOptions.cs index 91fd8dd69..5c17c1e43 100644 --- a/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnUsageOptions.cs +++ b/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnUsageOptions.cs @@ -56,8 +56,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnUsageResource.cs b/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnUsageResource.cs index 0e455976a..349afe120 100644 --- a/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnUsageResource.cs +++ b/src/Twilio/Rest/Marketplace/V1/InstalledAddOn/InstalledAddOnUsageResource.cs @@ -68,10 +68,10 @@ public MarketplaceV1InstalledAddOnInstalledAddOnUsageBillableItems Build() } public class MarketplaceV1InstalledAddOnInstalledAddOnUsage { - [JsonProperty("total_submitted")] - private decimal? TotalSubmitted {get; set;} [JsonProperty("billable_items")] private List BillableItems {get; set;} + [JsonProperty("total_submitted")] + private decimal? TotalSubmitted {get; set;} public MarketplaceV1InstalledAddOnInstalledAddOnUsage() { } public class Builder { @@ -79,14 +79,14 @@ public class Builder public Builder() { } - public Builder WithTotalSubmitted(decimal? totalSubmitted) + public Builder WithBillableItems(List billableItems) { - _marketplaceV1InstalledAddOnInstalledAddOnUsage.TotalSubmitted= totalSubmitted; + _marketplaceV1InstalledAddOnInstalledAddOnUsage.BillableItems= billableItems; return this; } - public Builder WithBillableItems(List billableItems) + public Builder WithTotalSubmitted(decimal? totalSubmitted) { - _marketplaceV1InstalledAddOnInstalledAddOnUsage.BillableItems= billableItems; + _marketplaceV1InstalledAddOnInstalledAddOnUsage.TotalSubmitted= totalSubmitted; return this; } public MarketplaceV1InstalledAddOnInstalledAddOnUsage Build() @@ -171,6 +171,7 @@ public static async System.Threading.Tasks.Task Cre return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a InstalledAddOnUsageResource object @@ -206,14 +207,14 @@ public static string ToJson(object model) } - /// Total amount in local currency that was billed in this request. Aggregates all billable_items that were successfully submitted. - [JsonProperty("total_submitted")] - public decimal? TotalSubmitted { get; private set; } - /// The billable_items [JsonProperty("billable_items")] public List BillableItems { get; } + /// Total amount in local currency that was billed in this request. Aggregates all billable_items that were successfully submitted. + [JsonProperty("total_submitted")] + public decimal? TotalSubmitted { get; private set; } + private InstalledAddOnUsageResource() { diff --git a/src/Twilio/Rest/Marketplace/V1/InstalledAddOnOptions.cs b/src/Twilio/Rest/Marketplace/V1/InstalledAddOnOptions.cs index d31abd6b8..05c9a7ed6 100644 --- a/src/Twilio/Rest/Marketplace/V1/InstalledAddOnOptions.cs +++ b/src/Twilio/Rest/Marketplace/V1/InstalledAddOnOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// Remove an Add-on installation from your account public class DeleteInstalledAddOnOptions : IOptions { diff --git a/src/Twilio/Rest/Marketplace/V1/InstalledAddOnResource.cs b/src/Twilio/Rest/Marketplace/V1/InstalledAddOnResource.cs index be3e7716e..193761c91 100644 --- a/src/Twilio/Rest/Marketplace/V1/InstalledAddOnResource.cs +++ b/src/Twilio/Rest/Marketplace/V1/InstalledAddOnResource.cs @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// Remove an Add-on installation from your account /// Delete InstalledAddOn parameters @@ -439,6 +440,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a InstalledAddOnResource object diff --git a/src/Twilio/Rest/Marketplace/V1/ModuleDataManagementResource.cs b/src/Twilio/Rest/Marketplace/V1/ModuleDataManagementResource.cs index 25f3bb701..900f3de74 100644 --- a/src/Twilio/Rest/Marketplace/V1/ModuleDataManagementResource.cs +++ b/src/Twilio/Rest/Marketplace/V1/ModuleDataManagementResource.cs @@ -194,6 +194,7 @@ public static async System.Threading.Tasks.Task Up return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ModuleDataManagementResource object diff --git a/src/Twilio/Rest/Marketplace/V1/ModuleDataOptions.cs b/src/Twilio/Rest/Marketplace/V1/ModuleDataOptions.cs index 7cc6f5f93..70b1dcf6a 100644 --- a/src/Twilio/Rest/Marketplace/V1/ModuleDataOptions.cs +++ b/src/Twilio/Rest/Marketplace/V1/ModuleDataOptions.cs @@ -56,6 +56,7 @@ public List> GetParams() } + /// This endpoint returns the Listings owned by the authenticated Account. public class FetchModuleDataOptions : IOptions { diff --git a/src/Twilio/Rest/Marketplace/V1/ModuleDataResource.cs b/src/Twilio/Rest/Marketplace/V1/ModuleDataResource.cs index 1b4f74167..0f012cd5d 100644 --- a/src/Twilio/Rest/Marketplace/V1/ModuleDataResource.cs +++ b/src/Twilio/Rest/Marketplace/V1/ModuleDataResource.cs @@ -103,6 +103,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchModuleDataOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Marketplace/V1/ReferralConversionOptions.cs b/src/Twilio/Rest/Marketplace/V1/ReferralConversionOptions.cs index b4290634c..4ffbe3286 100644 --- a/src/Twilio/Rest/Marketplace/V1/ReferralConversionOptions.cs +++ b/src/Twilio/Rest/Marketplace/V1/ReferralConversionOptions.cs @@ -51,8 +51,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Marketplace/V1/ReferralConversionResource.cs b/src/Twilio/Rest/Marketplace/V1/ReferralConversionResource.cs index 7cfa62133..1ae779b23 100644 --- a/src/Twilio/Rest/Marketplace/V1/ReferralConversionResource.cs +++ b/src/Twilio/Rest/Marketplace/V1/ReferralConversionResource.cs @@ -122,6 +122,7 @@ public static async System.Threading.Tasks.Task Crea return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a ReferralConversionResource object diff --git a/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandRegistrationOtpOptions.cs b/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandRegistrationOtpOptions.cs index 9ad79eb75..1ca4d4379 100644 --- a/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandRegistrationOtpOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandRegistrationOtpOptions.cs @@ -51,5 +51,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandRegistrationOtpResource.cs b/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandRegistrationOtpResource.cs index 3260146db..5eb78bdf1 100644 --- a/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandRegistrationOtpResource.cs +++ b/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandRegistrationOtpResource.cs @@ -101,6 +101,7 @@ public static async System.Threading.Tasks.Task Cr return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a BrandRegistrationOtpResource object diff --git a/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandVettingOptions.cs b/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandVettingOptions.cs index ded17dfb5..bca2b28b0 100644 --- a/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandVettingOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandVettingOptions.cs @@ -67,6 +67,7 @@ public List> GetParams() } + /// fetch public class FetchBrandVettingOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandVettingResource.cs b/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandVettingResource.cs index 70a5ea71b..03f343e41 100644 --- a/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandVettingResource.cs +++ b/src/Twilio/Rest/Messaging/V1/BrandRegistration/BrandVettingResource.cs @@ -122,6 +122,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchBrandVettingOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Messaging/V1/BrandRegistrationOptions.cs b/src/Twilio/Rest/Messaging/V1/BrandRegistrationOptions.cs index 995857fb1..aa68bd995 100644 --- a/src/Twilio/Rest/Messaging/V1/BrandRegistrationOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/BrandRegistrationOptions.cs @@ -85,6 +85,7 @@ public List> GetParams() } + /// fetch public class FetchBrandRegistrationOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/BrandRegistrationResource.cs b/src/Twilio/Rest/Messaging/V1/BrandRegistrationResource.cs index 146fe10e9..3b5857a57 100644 --- a/src/Twilio/Rest/Messaging/V1/BrandRegistrationResource.cs +++ b/src/Twilio/Rest/Messaging/V1/BrandRegistrationResource.cs @@ -164,6 +164,7 @@ public static async System.Threading.Tasks.Task Creat return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchBrandRegistrationOptions options, ITwilioRestClient client) { @@ -416,6 +417,7 @@ public static async System.Threading.Tasks.Task Updat return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a BrandRegistrationResource object diff --git a/src/Twilio/Rest/Messaging/V1/DomainCertsResource.cs b/src/Twilio/Rest/Messaging/V1/DomainCertsResource.cs index 612144c0f..e62f8ccf6 100644 --- a/src/Twilio/Rest/Messaging/V1/DomainCertsResource.cs +++ b/src/Twilio/Rest/Messaging/V1/DomainCertsResource.cs @@ -238,6 +238,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a DomainCertsResource object diff --git a/src/Twilio/Rest/Messaging/V1/DomainConfigResource.cs b/src/Twilio/Rest/Messaging/V1/DomainConfigResource.cs index ddbf141d0..f4353264c 100644 --- a/src/Twilio/Rest/Messaging/V1/DomainConfigResource.cs +++ b/src/Twilio/Rest/Messaging/V1/DomainConfigResource.cs @@ -182,6 +182,7 @@ public static async System.Threading.Tasks.Task UpdateAsyn return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a DomainConfigResource object diff --git a/src/Twilio/Rest/Messaging/V1/ExternalCampaignOptions.cs b/src/Twilio/Rest/Messaging/V1/ExternalCampaignOptions.cs index bd2eca6b2..c13d46f8f 100644 --- a/src/Twilio/Rest/Messaging/V1/ExternalCampaignOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/ExternalCampaignOptions.cs @@ -71,5 +71,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Messaging/V1/ExternalCampaignResource.cs b/src/Twilio/Rest/Messaging/V1/ExternalCampaignResource.cs index f624a357e..2e77aa6ea 100644 --- a/src/Twilio/Rest/Messaging/V1/ExternalCampaignResource.cs +++ b/src/Twilio/Rest/Messaging/V1/ExternalCampaignResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task Create return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a ExternalCampaignResource object diff --git a/src/Twilio/Rest/Messaging/V1/LinkshorteningMessagingServiceOptions.cs b/src/Twilio/Rest/Messaging/V1/LinkshorteningMessagingServiceOptions.cs index 1755b8f8e..1493aff75 100644 --- a/src/Twilio/Rest/Messaging/V1/LinkshorteningMessagingServiceOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/LinkshorteningMessagingServiceOptions.cs @@ -56,6 +56,7 @@ public List> GetParams() } + /// delete public class DeleteLinkshorteningMessagingServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/LinkshorteningMessagingServiceResource.cs b/src/Twilio/Rest/Messaging/V1/LinkshorteningMessagingServiceResource.cs index a3a871265..f53e6758e 100644 --- a/src/Twilio/Rest/Messaging/V1/LinkshorteningMessagingServiceResource.cs +++ b/src/Twilio/Rest/Messaging/V1/LinkshorteningMessagingServiceResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task delete /// Delete LinkshorteningMessagingService parameters diff --git a/src/Twilio/Rest/Messaging/V1/RequestManagedCertResource.cs b/src/Twilio/Rest/Messaging/V1/RequestManagedCertResource.cs index 2bd3a332c..7cbd94789 100644 --- a/src/Twilio/Rest/Messaging/V1/RequestManagedCertResource.cs +++ b/src/Twilio/Rest/Messaging/V1/RequestManagedCertResource.cs @@ -102,6 +102,7 @@ public static async System.Threading.Tasks.Task Upda return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RequestManagedCertResource object diff --git a/src/Twilio/Rest/Messaging/V1/Service/AlphaSenderOptions.cs b/src/Twilio/Rest/Messaging/V1/Service/AlphaSenderOptions.cs index c9962daa7..213d34b00 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/AlphaSenderOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/AlphaSenderOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// delete public class DeleteAlphaSenderOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/Service/AlphaSenderResource.cs b/src/Twilio/Rest/Messaging/V1/Service/AlphaSenderResource.cs index 3978e7422..4e62e22e6 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/AlphaSenderResource.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/AlphaSenderResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// delete /// Delete AlphaSender parameters diff --git a/src/Twilio/Rest/Messaging/V1/Service/ChannelSenderOptions.cs b/src/Twilio/Rest/Messaging/V1/Service/ChannelSenderOptions.cs index 2c03e8e72..deccdc2ff 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/ChannelSenderOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/ChannelSenderOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// delete public class DeleteChannelSenderOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/Service/ChannelSenderResource.cs b/src/Twilio/Rest/Messaging/V1/Service/ChannelSenderResource.cs index d8c4d04a9..99651f6ed 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/ChannelSenderResource.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/ChannelSenderResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsy return await CreateAsync(options, client); } #endif + /// delete /// Delete ChannelSender parameters diff --git a/src/Twilio/Rest/Messaging/V1/Service/DestinationAlphaSenderOptions.cs b/src/Twilio/Rest/Messaging/V1/Service/DestinationAlphaSenderOptions.cs index d431f2d1d..bc1590dc8 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/DestinationAlphaSenderOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/DestinationAlphaSenderOptions.cs @@ -67,6 +67,7 @@ public List> GetParams() } + /// delete public class DeleteDestinationAlphaSenderOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/Service/DestinationAlphaSenderResource.cs b/src/Twilio/Rest/Messaging/V1/Service/DestinationAlphaSenderResource.cs index f73355fda..6f14ad335 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/DestinationAlphaSenderResource.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/DestinationAlphaSenderResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task return await CreateAsync(options, client); } #endif + /// delete /// Delete DestinationAlphaSender parameters diff --git a/src/Twilio/Rest/Messaging/V1/Service/PhoneNumberOptions.cs b/src/Twilio/Rest/Messaging/V1/Service/PhoneNumberOptions.cs index 0ad1431c2..f3da4888c 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/PhoneNumberOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/PhoneNumberOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// delete public class DeletePhoneNumberOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/Service/PhoneNumberResource.cs b/src/Twilio/Rest/Messaging/V1/Service/PhoneNumberResource.cs index d28047542..38e3bdc11 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/PhoneNumberResource.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/PhoneNumberResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// delete /// Delete PhoneNumber parameters diff --git a/src/Twilio/Rest/Messaging/V1/Service/ShortCodeOptions.cs b/src/Twilio/Rest/Messaging/V1/Service/ShortCodeOptions.cs index 2f086b068..056875eb7 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/ShortCodeOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/ShortCodeOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// delete public class DeleteShortCodeOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/Service/ShortCodeResource.cs b/src/Twilio/Rest/Messaging/V1/Service/ShortCodeResource.cs index a90208a17..e9365c0b0 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/ShortCodeResource.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/ShortCodeResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete ShortCode parameters diff --git a/src/Twilio/Rest/Messaging/V1/Service/UsAppToPersonOptions.cs b/src/Twilio/Rest/Messaging/V1/Service/UsAppToPersonOptions.cs index 4b7d3c393..9f69bc480 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/UsAppToPersonOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/UsAppToPersonOptions.cs @@ -180,6 +180,7 @@ public List> GetParams() } + /// delete public class DeleteUsAppToPersonOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/Service/UsAppToPersonResource.cs b/src/Twilio/Rest/Messaging/V1/Service/UsAppToPersonResource.cs index 3f49b84d4..b4db0689d 100644 --- a/src/Twilio/Rest/Messaging/V1/Service/UsAppToPersonResource.cs +++ b/src/Twilio/Rest/Messaging/V1/Service/UsAppToPersonResource.cs @@ -165,6 +165,7 @@ public static async System.Threading.Tasks.Task CreateAsy return await CreateAsync(options, client); } #endif + /// delete /// Delete UsAppToPerson parameters @@ -534,6 +535,7 @@ public static async System.Threading.Tasks.Task UpdateAsy return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UsAppToPersonResource object diff --git a/src/Twilio/Rest/Messaging/V1/ServiceOptions.cs b/src/Twilio/Rest/Messaging/V1/ServiceOptions.cs index 2e2cc27e8..ce64b05bf 100644 --- a/src/Twilio/Rest/Messaging/V1/ServiceOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/ServiceOptions.cs @@ -160,6 +160,7 @@ public List> GetParams() } + /// delete public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/ServiceResource.cs b/src/Twilio/Rest/Messaging/V1/ServiceResource.cs index 71903bfe1..d5063996e 100644 --- a/src/Twilio/Rest/Messaging/V1/ServiceResource.cs +++ b/src/Twilio/Rest/Messaging/V1/ServiceResource.cs @@ -173,6 +173,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Service parameters @@ -557,6 +558,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Messaging/V1/TollfreeVerificationOptions.cs b/src/Twilio/Rest/Messaging/V1/TollfreeVerificationOptions.cs index db6cc93b5..357a0cfe6 100644 --- a/src/Twilio/Rest/Messaging/V1/TollfreeVerificationOptions.cs +++ b/src/Twilio/Rest/Messaging/V1/TollfreeVerificationOptions.cs @@ -227,6 +227,7 @@ public List> GetParams() } + /// delete public class DeleteTollfreeVerificationOptions : IOptions { diff --git a/src/Twilio/Rest/Messaging/V1/TollfreeVerificationResource.cs b/src/Twilio/Rest/Messaging/V1/TollfreeVerificationResource.cs index bf07d2f90..6ddd4dbab 100644 --- a/src/Twilio/Rest/Messaging/V1/TollfreeVerificationResource.cs +++ b/src/Twilio/Rest/Messaging/V1/TollfreeVerificationResource.cs @@ -236,6 +236,7 @@ public static async System.Threading.Tasks.Task Cr return await CreateAsync(options, client); } #endif + /// delete /// Delete TollfreeVerification parameters @@ -656,6 +657,7 @@ public static async System.Threading.Tasks.Task Up return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TollfreeVerificationResource object diff --git a/src/Twilio/Rest/Messaging/V2/ChannelsSenderOptions.cs b/src/Twilio/Rest/Messaging/V2/ChannelsSenderOptions.cs index d1329e2f1..be0a0196a 100644 --- a/src/Twilio/Rest/Messaging/V2/ChannelsSenderOptions.cs +++ b/src/Twilio/Rest/Messaging/V2/ChannelsSenderOptions.cs @@ -51,9 +51,11 @@ public string GetBody() } return body; } + } + /// (WhatsApp only) Delete a Sender. public class DeleteChannelsSenderOptions : IOptions { @@ -182,6 +184,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/Messaging/V2/ChannelsSenderResource.cs b/src/Twilio/Rest/Messaging/V2/ChannelsSenderResource.cs index 695cc4793..829c87678 100644 --- a/src/Twilio/Rest/Messaging/V2/ChannelsSenderResource.cs +++ b/src/Twilio/Rest/Messaging/V2/ChannelsSenderResource.cs @@ -840,6 +840,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// (WhatsApp only) Delete a Sender. /// Delete ChannelsSender parameters @@ -1165,6 +1166,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ChannelsSenderResource object diff --git a/src/Twilio/Rest/Messaging/V2/TypingIndicatorOptions.cs b/src/Twilio/Rest/Messaging/V2/TypingIndicatorOptions.cs index 82c95cc5d..bf1118bff 100644 --- a/src/Twilio/Rest/Messaging/V2/TypingIndicatorOptions.cs +++ b/src/Twilio/Rest/Messaging/V2/TypingIndicatorOptions.cs @@ -64,5 +64,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Messaging/V2/TypingIndicatorResource.cs b/src/Twilio/Rest/Messaging/V2/TypingIndicatorResource.cs index 64e07d7a6..6f631e92d 100644 --- a/src/Twilio/Rest/Messaging/V2/TypingIndicatorResource.cs +++ b/src/Twilio/Rest/Messaging/V2/TypingIndicatorResource.cs @@ -114,6 +114,7 @@ public static async System.Threading.Tasks.Task CreateA return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a TypingIndicatorResource object diff --git a/src/Twilio/Rest/Notify/V1/CredentialOptions.cs b/src/Twilio/Rest/Notify/V1/CredentialOptions.cs index 24ce22555..4192bd7ad 100644 --- a/src/Twilio/Rest/Notify/V1/CredentialOptions.cs +++ b/src/Twilio/Rest/Notify/V1/CredentialOptions.cs @@ -97,6 +97,7 @@ public List> GetParams() } + /// delete public class DeleteCredentialOptions : IOptions { diff --git a/src/Twilio/Rest/Notify/V1/CredentialResource.cs b/src/Twilio/Rest/Notify/V1/CredentialResource.cs index 68abb32c1..b91d4e89b 100644 --- a/src/Twilio/Rest/Notify/V1/CredentialResource.cs +++ b/src/Twilio/Rest/Notify/V1/CredentialResource.cs @@ -137,6 +137,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Credential parameters @@ -481,6 +482,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CredentialResource object diff --git a/src/Twilio/Rest/Notify/V1/Service/BindingOptions.cs b/src/Twilio/Rest/Notify/V1/Service/BindingOptions.cs index 6f2aa7378..e9f1ac44c 100644 --- a/src/Twilio/Rest/Notify/V1/Service/BindingOptions.cs +++ b/src/Twilio/Rest/Notify/V1/Service/BindingOptions.cs @@ -107,6 +107,7 @@ public List> GetParams() } + /// delete public class DeleteBindingOptions : IOptions { diff --git a/src/Twilio/Rest/Notify/V1/Service/BindingResource.cs b/src/Twilio/Rest/Notify/V1/Service/BindingResource.cs index 034e4f7f5..4f4e72fe3 100644 --- a/src/Twilio/Rest/Notify/V1/Service/BindingResource.cs +++ b/src/Twilio/Rest/Notify/V1/Service/BindingResource.cs @@ -145,6 +145,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Binding parameters diff --git a/src/Twilio/Rest/Notify/V1/Service/NotificationOptions.cs b/src/Twilio/Rest/Notify/V1/Service/NotificationOptions.cs index 34d426b98..4fe59d667 100644 --- a/src/Twilio/Rest/Notify/V1/Service/NotificationOptions.cs +++ b/src/Twilio/Rest/Notify/V1/Service/NotificationOptions.cs @@ -181,5 +181,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Notify/V1/Service/NotificationResource.cs b/src/Twilio/Rest/Notify/V1/Service/NotificationResource.cs index 763ade441..02e9f9209 100644 --- a/src/Twilio/Rest/Notify/V1/Service/NotificationResource.cs +++ b/src/Twilio/Rest/Notify/V1/Service/NotificationResource.cs @@ -186,6 +186,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a NotificationResource object diff --git a/src/Twilio/Rest/Notify/V1/ServiceOptions.cs b/src/Twilio/Rest/Notify/V1/ServiceOptions.cs index d29134948..0809c1556 100644 --- a/src/Twilio/Rest/Notify/V1/ServiceOptions.cs +++ b/src/Twilio/Rest/Notify/V1/ServiceOptions.cs @@ -140,6 +140,7 @@ public List> GetParams() } + /// delete public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Notify/V1/ServiceResource.cs b/src/Twilio/Rest/Notify/V1/ServiceResource.cs index 270d1ae43..2b28e0f8f 100644 --- a/src/Twilio/Rest/Notify/V1/ServiceResource.cs +++ b/src/Twilio/Rest/Notify/V1/ServiceResource.cs @@ -151,6 +151,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Service parameters @@ -531,6 +532,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Numbers/V1/BulkEligibilityOptions.cs b/src/Twilio/Rest/Numbers/V1/BulkEligibilityOptions.cs index c3d88f848..aada873ee 100644 --- a/src/Twilio/Rest/Numbers/V1/BulkEligibilityOptions.cs +++ b/src/Twilio/Rest/Numbers/V1/BulkEligibilityOptions.cs @@ -45,9 +45,11 @@ public string GetBody() } return body; } + } + /// Fetch an eligibility bulk check that you requested to host in Twilio. public class FetchBulkEligibilityOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V1/BulkEligibilityResource.cs b/src/Twilio/Rest/Numbers/V1/BulkEligibilityResource.cs index 6056c4c02..8f084589b 100644 --- a/src/Twilio/Rest/Numbers/V1/BulkEligibilityResource.cs +++ b/src/Twilio/Rest/Numbers/V1/BulkEligibilityResource.cs @@ -96,6 +96,7 @@ public static async System.Threading.Tasks.Task CreateA return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchBulkEligibilityOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Numbers/V1/EligibilityOptions.cs b/src/Twilio/Rest/Numbers/V1/EligibilityOptions.cs index 816c02210..ac3189ab4 100644 --- a/src/Twilio/Rest/Numbers/V1/EligibilityOptions.cs +++ b/src/Twilio/Rest/Numbers/V1/EligibilityOptions.cs @@ -45,8 +45,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Numbers/V1/EligibilityResource.cs b/src/Twilio/Rest/Numbers/V1/EligibilityResource.cs index 4bb3edb19..8b556f07e 100644 --- a/src/Twilio/Rest/Numbers/V1/EligibilityResource.cs +++ b/src/Twilio/Rest/Numbers/V1/EligibilityResource.cs @@ -96,6 +96,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a EligibilityResource object diff --git a/src/Twilio/Rest/Numbers/V1/PortingPortInOptions.cs b/src/Twilio/Rest/Numbers/V1/PortingPortInOptions.cs index 3be6d3c13..533194307 100644 --- a/src/Twilio/Rest/Numbers/V1/PortingPortInOptions.cs +++ b/src/Twilio/Rest/Numbers/V1/PortingPortInOptions.cs @@ -51,9 +51,11 @@ public string GetBody() } return body; } + } + /// Allows to cancel a port in request by SID public class DeletePortingPortInOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V1/PortingPortInResource.cs b/src/Twilio/Rest/Numbers/V1/PortingPortInResource.cs index a8d449070..1e3049c19 100644 --- a/src/Twilio/Rest/Numbers/V1/PortingPortInResource.cs +++ b/src/Twilio/Rest/Numbers/V1/PortingPortInResource.cs @@ -30,41 +30,10 @@ namespace Twilio.Rest.Numbers.V1 public class PortingPortInResource : Resource { - public class NumbersV1PortingPortInCreatePhoneNumbers - { - [JsonProperty("phone_number")] - private string PhoneNumber {get; set;} - [JsonProperty("pin")] - private string Pin {get; set;} - public NumbersV1PortingPortInCreatePhoneNumbers() { } - public class Builder - { - private NumbersV1PortingPortInCreatePhoneNumbers _numbersV1PortingPortInCreatePhoneNumbers = new NumbersV1PortingPortInCreatePhoneNumbers(); - public Builder() - { - } - public Builder WithPhoneNumber(string phoneNumber) - { - _numbersV1PortingPortInCreatePhoneNumbers.PhoneNumber= phoneNumber; - return this; - } - public Builder WithPin(string pin) - { - _numbersV1PortingPortInCreatePhoneNumbers.Pin= pin; - return this; - } - public NumbersV1PortingPortInCreatePhoneNumbers Build() - { - return _numbersV1PortingPortInCreatePhoneNumbers; - } - } - } public class NumbersV1PortingAddress { [JsonProperty("street")] private string Street {get; set;} - [JsonProperty("street_2")] - private string Street2 {get; set;} [JsonProperty("city")] private string City {get; set;} [JsonProperty("state")] @@ -73,6 +42,8 @@ public class NumbersV1PortingAddress private string Zip {get; set;} [JsonProperty("country")] private string Country {get; set;} + [JsonProperty("street_2")] + private string Street2 {get; set;} public NumbersV1PortingAddress() { } public class Builder { @@ -85,11 +56,6 @@ public Builder WithStreet(string street) _numbersV1PortingAddress.Street= street; return this; } - public Builder WithStreet2(string street2) - { - _numbersV1PortingAddress.Street2= street2; - return this; - } public Builder WithCity(string city) { _numbersV1PortingAddress.City= city; @@ -110,6 +76,11 @@ public Builder WithCountry(string country) _numbersV1PortingAddress.Country= country; return this; } + public Builder WithStreet2(string street2) + { + _numbersV1PortingAddress.Street2= street2; + return this; + } public NumbersV1PortingAddress Build() { return _numbersV1PortingAddress; @@ -120,6 +91,10 @@ public class NumbersV1PortingLosingCarrierInformation { [JsonProperty("customer_name")] private string CustomerName {get; set;} + [JsonProperty("authorized_representative")] + private string AuthorizedRepresentative {get; set;} + [JsonProperty("authorized_representative_email")] + private string AuthorizedRepresentativeEmail {get; set;} [JsonProperty("account_number")] private string AccountNumber {get; set;} [JsonProperty("account_telephone_number")] @@ -128,10 +103,6 @@ public class NumbersV1PortingLosingCarrierInformation private string AddressSid {get; set;} [JsonProperty("address")] private NumbersV1PortingAddress Address {get; set;} - [JsonProperty("authorized_representative")] - private string AuthorizedRepresentative {get; set;} - [JsonProperty("authorized_representative_email")] - private string AuthorizedRepresentativeEmail {get; set;} [JsonConverter(typeof(StringEnumConverter))] [JsonProperty("customer_type")] private PortingPortInResource.CustomerTypeEnum CustomerType {get; set;} @@ -155,6 +126,16 @@ public Builder WithCustomerName(string customerName) _numbersV1PortingLosingCarrierInformation.CustomerName= customerName; return this; } + public Builder WithAuthorizedRepresentative(string authorizedRepresentative) + { + _numbersV1PortingLosingCarrierInformation.AuthorizedRepresentative= authorizedRepresentative; + return this; + } + public Builder WithAuthorizedRepresentativeEmail(string authorizedRepresentativeEmail) + { + _numbersV1PortingLosingCarrierInformation.AuthorizedRepresentativeEmail= authorizedRepresentativeEmail; + return this; + } public Builder WithAccountNumber(string accountNumber) { _numbersV1PortingLosingCarrierInformation.AccountNumber= accountNumber; @@ -175,16 +156,6 @@ public Builder WithAddress(NumbersV1PortingAddress address) _numbersV1PortingLosingCarrierInformation.Address= address; return this; } - public Builder WithAuthorizedRepresentative(string authorizedRepresentative) - { - _numbersV1PortingLosingCarrierInformation.AuthorizedRepresentative= authorizedRepresentative; - return this; - } - public Builder WithAuthorizedRepresentativeEmail(string authorizedRepresentativeEmail) - { - _numbersV1PortingLosingCarrierInformation.AuthorizedRepresentativeEmail= authorizedRepresentativeEmail; - return this; - } public Builder WithCustomerType(PortingPortInResource.CustomerTypeEnum customerType) { _numbersV1PortingLosingCarrierInformation.CustomerType= customerType; @@ -216,16 +187,45 @@ public NumbersV1PortingLosingCarrierInformation Build() } } } + public class NumbersV1PortingPortInCreatePhoneNumbers + { + [JsonProperty("phone_number")] + private string PhoneNumber {get; set;} + [JsonProperty("pin")] + private string Pin {get; set;} + public NumbersV1PortingPortInCreatePhoneNumbers() { } + public class Builder + { + private NumbersV1PortingPortInCreatePhoneNumbers _numbersV1PortingPortInCreatePhoneNumbers = new NumbersV1PortingPortInCreatePhoneNumbers(); + public Builder() + { + } + public Builder WithPhoneNumber(string phoneNumber) + { + _numbersV1PortingPortInCreatePhoneNumbers.PhoneNumber= phoneNumber; + return this; + } + public Builder WithPin(string pin) + { + _numbersV1PortingPortInCreatePhoneNumbers.Pin= pin; + return this; + } + public NumbersV1PortingPortInCreatePhoneNumbers Build() + { + return _numbersV1PortingPortInCreatePhoneNumbers; + } + } + } public class NumbersV1PortingPortInCreate { [JsonProperty("account_sid")] private string AccountSid {get; set;} [JsonProperty("documents")] private List Documents {get; set;} - [JsonProperty("phone_numbers")] - private List PhoneNumbers {get; set;} [JsonProperty("losing_carrier_information")] private NumbersV1PortingLosingCarrierInformation LosingCarrierInformation {get; set;} + [JsonProperty("phone_numbers")] + private List PhoneNumbers {get; set;} [JsonProperty("notification_emails")] private List NotificationEmails {get; set;} [JsonProperty("target_port_in_date")] @@ -257,14 +257,14 @@ public Builder WithDocuments(List documents) _numbersV1PortingPortInCreate.Documents= documents; return this; } - public Builder WithPhoneNumbers(List phoneNumbers) + public Builder WithLosingCarrierInformation(NumbersV1PortingLosingCarrierInformation losingCarrierInformation) { - _numbersV1PortingPortInCreate.PhoneNumbers= phoneNumbers; + _numbersV1PortingPortInCreate.LosingCarrierInformation= losingCarrierInformation; return this; } - public Builder WithLosingCarrierInformation(NumbersV1PortingLosingCarrierInformation losingCarrierInformation) + public Builder WithPhoneNumbers(List phoneNumbers) { - _numbersV1PortingPortInCreate.LosingCarrierInformation= losingCarrierInformation; + _numbersV1PortingPortInCreate.PhoneNumbers= phoneNumbers; return this; } public Builder WithNotificationEmails(List notificationEmails) @@ -490,6 +490,7 @@ public static async System.Threading.Tasks.Task CreateAsy return await CreateAsync(options, client); } #endif + /// Allows to cancel a port in request by SID /// Delete PortingPortIn parameters diff --git a/src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationOptions.cs b/src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationOptions.cs index 5fc8d6dc9..bb42d9055 100644 --- a/src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationOptions.cs +++ b/src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationOptions.cs @@ -45,8 +45,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationResource.cs b/src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationResource.cs index f376a0815..a9932922e 100644 --- a/src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationResource.cs +++ b/src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationResource.cs @@ -96,6 +96,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a PortingWebhookConfigurationResource object diff --git a/src/Twilio/Rest/Numbers/V1/SigningRequestConfigurationOptions.cs b/src/Twilio/Rest/Numbers/V1/SigningRequestConfigurationOptions.cs index 9f07e3369..b93c0c0bc 100644 --- a/src/Twilio/Rest/Numbers/V1/SigningRequestConfigurationOptions.cs +++ b/src/Twilio/Rest/Numbers/V1/SigningRequestConfigurationOptions.cs @@ -45,9 +45,11 @@ public string GetBody() } return body; } + } + /// Synchronous operation to retrieve configurations for the customer. public class ReadSigningRequestConfigurationOptions : ReadOptions { diff --git a/src/Twilio/Rest/Numbers/V1/SigningRequestConfigurationResource.cs b/src/Twilio/Rest/Numbers/V1/SigningRequestConfigurationResource.cs index 5f41ff6ec..b7291c01d 100644 --- a/src/Twilio/Rest/Numbers/V1/SigningRequestConfigurationResource.cs +++ b/src/Twilio/Rest/Numbers/V1/SigningRequestConfigurationResource.cs @@ -96,6 +96,7 @@ public static async System.Threading.Tasks.Task> GetParams() } + /// Cancel the AuthorizationDocument request. public class DeleteAuthorizationDocumentOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V2/AuthorizationDocumentResource.cs b/src/Twilio/Rest/Numbers/V2/AuthorizationDocumentResource.cs index b0e9d52b4..27ecca004 100644 --- a/src/Twilio/Rest/Numbers/V2/AuthorizationDocumentResource.cs +++ b/src/Twilio/Rest/Numbers/V2/AuthorizationDocumentResource.cs @@ -135,6 +135,7 @@ public static async System.Threading.Tasks.Task C return await CreateAsync(options, client); } #endif + /// Cancel the AuthorizationDocument request. /// Delete AuthorizationDocument parameters diff --git a/src/Twilio/Rest/Numbers/V2/BulkHostedNumberOrderOptions.cs b/src/Twilio/Rest/Numbers/V2/BulkHostedNumberOrderOptions.cs index 6a7ea15d7..378003529 100644 --- a/src/Twilio/Rest/Numbers/V2/BulkHostedNumberOrderOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/BulkHostedNumberOrderOptions.cs @@ -45,9 +45,11 @@ public string GetBody() } return body; } + } + /// Fetch a specific BulkHostedNumberOrder. public class FetchBulkHostedNumberOrderOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V2/BulkHostedNumberOrderResource.cs b/src/Twilio/Rest/Numbers/V2/BulkHostedNumberOrderResource.cs index 1562bdbc9..0fa262f0a 100644 --- a/src/Twilio/Rest/Numbers/V2/BulkHostedNumberOrderResource.cs +++ b/src/Twilio/Rest/Numbers/V2/BulkHostedNumberOrderResource.cs @@ -110,6 +110,7 @@ public static async System.Threading.Tasks.Task C return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchBulkHostedNumberOrderOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Numbers/V2/BundleCloneOptions.cs b/src/Twilio/Rest/Numbers/V2/BundleCloneOptions.cs index f25d7b5b7..7f511da43 100644 --- a/src/Twilio/Rest/Numbers/V2/BundleCloneOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/BundleCloneOptions.cs @@ -74,5 +74,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Numbers/V2/BundleCloneResource.cs b/src/Twilio/Rest/Numbers/V2/BundleCloneResource.cs index 1cd92a88f..77e0de6af 100644 --- a/src/Twilio/Rest/Numbers/V2/BundleCloneResource.cs +++ b/src/Twilio/Rest/Numbers/V2/BundleCloneResource.cs @@ -130,6 +130,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a BundleCloneResource object diff --git a/src/Twilio/Rest/Numbers/V2/HostedNumberOrderOptions.cs b/src/Twilio/Rest/Numbers/V2/HostedNumberOrderOptions.cs index 301b960fc..3cc3be850 100644 --- a/src/Twilio/Rest/Numbers/V2/HostedNumberOrderOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/HostedNumberOrderOptions.cs @@ -167,6 +167,7 @@ public List> GetParams() } + /// Cancel the HostedNumberOrder (only available when the status is in `received`). public class DeleteHostedNumberOrderOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V2/HostedNumberOrderResource.cs b/src/Twilio/Rest/Numbers/V2/HostedNumberOrderResource.cs index fdbd89283..169520baf 100644 --- a/src/Twilio/Rest/Numbers/V2/HostedNumberOrderResource.cs +++ b/src/Twilio/Rest/Numbers/V2/HostedNumberOrderResource.cs @@ -192,6 +192,7 @@ public static async System.Threading.Tasks.Task Creat return await CreateAsync(options, client); } #endif + /// Cancel the HostedNumberOrder (only available when the status is in `received`). /// Delete HostedNumberOrder parameters @@ -544,6 +545,7 @@ public static async System.Threading.Tasks.Task Updat return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a HostedNumberOrderResource object diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/BundleCopyOptions.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/BundleCopyOptions.cs index e3d08caa5..c493d2543 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/BundleCopyOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/BundleCopyOptions.cs @@ -58,6 +58,7 @@ public List> GetParams() } + /// Retrieve a list of all Bundles Copies for a Bundle. public class ReadBundleCopyOptions : ReadOptions { diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/BundleCopyResource.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/BundleCopyResource.cs index 96a13cfac..1cb255855 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/BundleCopyResource.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/BundleCopyResource.cs @@ -122,6 +122,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildReadRequest(ReadBundleCopyOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/EvaluationOptions.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/EvaluationOptions.cs index b044669b7..b1a2cc4b0 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/EvaluationOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/EvaluationOptions.cs @@ -51,6 +51,7 @@ public List> GetParams() } + /// Fetch specific Evaluation Instance. public class FetchEvaluationOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/EvaluationResource.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/EvaluationResource.cs index dcaa048cb..ef6423aec 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/EvaluationResource.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/EvaluationResource.cs @@ -114,6 +114,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchEvaluationOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ItemAssignmentOptions.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ItemAssignmentOptions.cs index 808c8b3a3..bb6afbb31 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ItemAssignmentOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ItemAssignmentOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Remove an Assignment Item Instance. public class DeleteItemAssignmentOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ItemAssignmentResource.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ItemAssignmentResource.cs index 87c414d1e..abecd16fb 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ItemAssignmentResource.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ItemAssignmentResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// Remove an Assignment Item Instance. /// Delete ItemAssignment parameters diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ReplaceItemsOptions.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ReplaceItemsOptions.cs index aeff08099..78132e879 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ReplaceItemsOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ReplaceItemsOptions.cs @@ -60,5 +60,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ReplaceItemsResource.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ReplaceItemsResource.cs index 63d3dde90..1ffa2608f 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ReplaceItemsResource.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/ReplaceItemsResource.cs @@ -122,6 +122,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a ReplaceItemsResource object diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/BundleOptions.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/BundleOptions.cs index ca0a9f005..ef6bc2457 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/BundleOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/BundleOptions.cs @@ -106,6 +106,7 @@ public List> GetParams() } + /// Delete a specific Bundle. public class DeleteBundleOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/BundleResource.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/BundleResource.cs index 666414a06..64f018d6d 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/BundleResource.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/BundleResource.cs @@ -180,6 +180,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Bundle. /// Delete Bundle parameters @@ -560,6 +561,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a BundleResource object diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/EndUserOptions.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/EndUserOptions.cs index 74ba60726..030f2c304 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/EndUserOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/EndUserOptions.cs @@ -71,6 +71,7 @@ public List> GetParams() } + /// Delete a specific End User. public class DeleteEndUserOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/EndUserResource.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/EndUserResource.cs index e1ef599dc..ab51a4d33 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/EndUserResource.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/EndUserResource.cs @@ -120,6 +120,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific End User. /// Delete EndUser parameters @@ -448,6 +449,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a EndUserResource object diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/SupportingDocumentOptions.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/SupportingDocumentOptions.cs index 415d97df4..db6f8183b 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/SupportingDocumentOptions.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/SupportingDocumentOptions.cs @@ -71,6 +71,7 @@ public List> GetParams() } + /// Delete a specific Supporting Document. public class DeleteSupportingDocumentOptions : IOptions { diff --git a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/SupportingDocumentResource.cs b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/SupportingDocumentResource.cs index 8c00d4608..44417576b 100644 --- a/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/SupportingDocumentResource.cs +++ b/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/SupportingDocumentResource.cs @@ -124,6 +124,7 @@ public static async System.Threading.Tasks.Task Crea return await CreateAsync(options, client); } #endif + /// Delete a specific Supporting Document. /// Delete SupportingDocument parameters @@ -452,6 +453,7 @@ public static async System.Threading.Tasks.Task Upda return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SupportingDocumentResource object diff --git a/src/Twilio/Rest/Numbers/V3/HostedNumberOrderOptions.cs b/src/Twilio/Rest/Numbers/V3/HostedNumberOrderOptions.cs index 9b71058a1..c025bd6ed 100644 --- a/src/Twilio/Rest/Numbers/V3/HostedNumberOrderOptions.cs +++ b/src/Twilio/Rest/Numbers/V3/HostedNumberOrderOptions.cs @@ -170,5 +170,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Numbers/V3/HostedNumberOrderResource.cs b/src/Twilio/Rest/Numbers/V3/HostedNumberOrderResource.cs index 1304c7672..0a34fde0b 100644 --- a/src/Twilio/Rest/Numbers/V3/HostedNumberOrderResource.cs +++ b/src/Twilio/Rest/Numbers/V3/HostedNumberOrderResource.cs @@ -197,6 +197,7 @@ public static async System.Threading.Tasks.Task Creat return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a HostedNumberOrderResource object diff --git a/src/Twilio/Rest/Oauth/V1/TokenOptions.cs b/src/Twilio/Rest/Oauth/V1/TokenOptions.cs index a8066c12f..a5ab15538 100644 --- a/src/Twilio/Rest/Oauth/V1/TokenOptions.cs +++ b/src/Twilio/Rest/Oauth/V1/TokenOptions.cs @@ -106,5 +106,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Oauth/V1/TokenResource.cs b/src/Twilio/Rest/Oauth/V1/TokenResource.cs index 298070039..7df6298c2 100644 --- a/src/Twilio/Rest/Oauth/V1/TokenResource.cs +++ b/src/Twilio/Rest/Oauth/V1/TokenResource.cs @@ -127,6 +127,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a TokenResource object diff --git a/src/Twilio/Rest/Oauth/V2/TokenOptions.cs b/src/Twilio/Rest/Oauth/V2/TokenOptions.cs index b393b4186..05e507844 100644 --- a/src/Twilio/Rest/Oauth/V2/TokenOptions.cs +++ b/src/Twilio/Rest/Oauth/V2/TokenOptions.cs @@ -98,5 +98,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Oauth/V2/TokenResource.cs b/src/Twilio/Rest/Oauth/V2/TokenResource.cs index bdfe34d63..57bbb2d91 100644 --- a/src/Twilio/Rest/Oauth/V2/TokenResource.cs +++ b/src/Twilio/Rest/Oauth/V2/TokenResource.cs @@ -127,6 +127,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a TokenResource object diff --git a/src/Twilio/Rest/Preview/HostedNumbers/AuthorizationDocumentOptions.cs b/src/Twilio/Rest/Preview/HostedNumbers/AuthorizationDocumentOptions.cs index 5fbb3c7f9..c7937f15d 100644 --- a/src/Twilio/Rest/Preview/HostedNumbers/AuthorizationDocumentOptions.cs +++ b/src/Twilio/Rest/Preview/HostedNumbers/AuthorizationDocumentOptions.cs @@ -99,6 +99,7 @@ public List> GetParams() } + /// Fetch a specific AuthorizationDocument. public class FetchAuthorizationDocumentOptions : IOptions { diff --git a/src/Twilio/Rest/Preview/HostedNumbers/AuthorizationDocumentResource.cs b/src/Twilio/Rest/Preview/HostedNumbers/AuthorizationDocumentResource.cs index 857b11d9c..5f672ba81 100644 --- a/src/Twilio/Rest/Preview/HostedNumbers/AuthorizationDocumentResource.cs +++ b/src/Twilio/Rest/Preview/HostedNumbers/AuthorizationDocumentResource.cs @@ -135,6 +135,7 @@ public static async System.Threading.Tasks.Task C return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchAuthorizationDocumentOptions options, ITwilioRestClient client) { @@ -423,6 +424,7 @@ public static async System.Threading.Tasks.Task U return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AuthorizationDocumentResource object diff --git a/src/Twilio/Rest/Preview/HostedNumbers/HostedNumberOrderOptions.cs b/src/Twilio/Rest/Preview/HostedNumbers/HostedNumberOrderOptions.cs index d7e4b6edc..02d42bcf6 100644 --- a/src/Twilio/Rest/Preview/HostedNumbers/HostedNumberOrderOptions.cs +++ b/src/Twilio/Rest/Preview/HostedNumbers/HostedNumberOrderOptions.cs @@ -170,6 +170,7 @@ public List> GetParams() } + /// Cancel the HostedNumberOrder (only available when the status is in `received`). public class DeleteHostedNumberOrderOptions : IOptions { diff --git a/src/Twilio/Rest/Preview/HostedNumbers/HostedNumberOrderResource.cs b/src/Twilio/Rest/Preview/HostedNumbers/HostedNumberOrderResource.cs index 163d107f3..8d609c77f 100644 --- a/src/Twilio/Rest/Preview/HostedNumbers/HostedNumberOrderResource.cs +++ b/src/Twilio/Rest/Preview/HostedNumbers/HostedNumberOrderResource.cs @@ -196,6 +196,7 @@ public static async System.Threading.Tasks.Task Creat return await CreateAsync(options, client); } #endif + /// Cancel the HostedNumberOrder (only available when the status is in `received`). /// Delete HostedNumberOrder parameters @@ -576,6 +577,7 @@ public static async System.Threading.Tasks.Task Updat return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a HostedNumberOrderResource object diff --git a/src/Twilio/Rest/Preview/Marketplace/InstalledAddOn/InstalledAddOnExtensionResource.cs b/src/Twilio/Rest/Preview/Marketplace/InstalledAddOn/InstalledAddOnExtensionResource.cs index d951c91ea..32b610f23 100644 --- a/src/Twilio/Rest/Preview/Marketplace/InstalledAddOn/InstalledAddOnExtensionResource.cs +++ b/src/Twilio/Rest/Preview/Marketplace/InstalledAddOn/InstalledAddOnExtensionResource.cs @@ -306,6 +306,7 @@ public static async System.Threading.Tasks.Task return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a InstalledAddOnExtensionResource object diff --git a/src/Twilio/Rest/Preview/Marketplace/InstalledAddOnOptions.cs b/src/Twilio/Rest/Preview/Marketplace/InstalledAddOnOptions.cs index c2b39cc48..97cbe74fc 100644 --- a/src/Twilio/Rest/Preview/Marketplace/InstalledAddOnOptions.cs +++ b/src/Twilio/Rest/Preview/Marketplace/InstalledAddOnOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// Remove an Add-on installation from your account public class DeleteInstalledAddOnOptions : IOptions { diff --git a/src/Twilio/Rest/Preview/Marketplace/InstalledAddOnResource.cs b/src/Twilio/Rest/Preview/Marketplace/InstalledAddOnResource.cs index 03e5868a2..b098beb1e 100644 --- a/src/Twilio/Rest/Preview/Marketplace/InstalledAddOnResource.cs +++ b/src/Twilio/Rest/Preview/Marketplace/InstalledAddOnResource.cs @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// Remove an Add-on installation from your account /// Delete InstalledAddOn parameters @@ -439,6 +440,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a InstalledAddOnResource object diff --git a/src/Twilio/Rest/Preview/Wireless/CommandOptions.cs b/src/Twilio/Rest/Preview/Wireless/CommandOptions.cs index fcf24dde3..a5daa1efb 100644 --- a/src/Twilio/Rest/Preview/Wireless/CommandOptions.cs +++ b/src/Twilio/Rest/Preview/Wireless/CommandOptions.cs @@ -97,6 +97,7 @@ public List> GetParams() } + /// fetch public class FetchCommandOptions : IOptions { diff --git a/src/Twilio/Rest/Preview/Wireless/CommandResource.cs b/src/Twilio/Rest/Preview/Wireless/CommandResource.cs index 4b7a57d35..1a18d22c0 100644 --- a/src/Twilio/Rest/Preview/Wireless/CommandResource.cs +++ b/src/Twilio/Rest/Preview/Wireless/CommandResource.cs @@ -123,6 +123,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchCommandOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Preview/Wireless/RatePlanOptions.cs b/src/Twilio/Rest/Preview/Wireless/RatePlanOptions.cs index 36b0fdd41..9518253ae 100644 --- a/src/Twilio/Rest/Preview/Wireless/RatePlanOptions.cs +++ b/src/Twilio/Rest/Preview/Wireless/RatePlanOptions.cs @@ -112,6 +112,7 @@ public List> GetParams() } + /// delete public class DeleteRatePlanOptions : IOptions { diff --git a/src/Twilio/Rest/Preview/Wireless/RatePlanResource.cs b/src/Twilio/Rest/Preview/Wireless/RatePlanResource.cs index 2eb00ec38..7abbc1daf 100644 --- a/src/Twilio/Rest/Preview/Wireless/RatePlanResource.cs +++ b/src/Twilio/Rest/Preview/Wireless/RatePlanResource.cs @@ -135,6 +135,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete RatePlan parameters @@ -463,6 +464,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RatePlanResource object diff --git a/src/Twilio/Rest/Preview/Wireless/SimResource.cs b/src/Twilio/Rest/Preview/Wireless/SimResource.cs index 4734b418e..c742ca930 100644 --- a/src/Twilio/Rest/Preview/Wireless/SimResource.cs +++ b/src/Twilio/Rest/Preview/Wireless/SimResource.cs @@ -369,6 +369,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SimResource object diff --git a/src/Twilio/Rest/PreviewIam/Organizations/RoleAssignmentOptions.cs b/src/Twilio/Rest/PreviewIam/Organizations/RoleAssignmentOptions.cs index 8edfc05ac..4c3fe304a 100644 --- a/src/Twilio/Rest/PreviewIam/Organizations/RoleAssignmentOptions.cs +++ b/src/Twilio/Rest/PreviewIam/Organizations/RoleAssignmentOptions.cs @@ -56,9 +56,11 @@ public string GetBody() } return body; } + } + /// Delete a role assignment for the given organization public class DeleteRoleAssignmentOptions : IOptions { diff --git a/src/Twilio/Rest/PreviewIam/Organizations/RoleAssignmentResource.cs b/src/Twilio/Rest/PreviewIam/Organizations/RoleAssignmentResource.cs index c334b792e..250803c06 100644 --- a/src/Twilio/Rest/PreviewIam/Organizations/RoleAssignmentResource.cs +++ b/src/Twilio/Rest/PreviewIam/Organizations/RoleAssignmentResource.cs @@ -142,6 +142,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// Delete a role assignment for the given organization /// Delete RoleAssignment parameters diff --git a/src/Twilio/Rest/PreviewIam/Organizations/UserOptions.cs b/src/Twilio/Rest/PreviewIam/Organizations/UserOptions.cs index 745105eac..70d388980 100644 --- a/src/Twilio/Rest/PreviewIam/Organizations/UserOptions.cs +++ b/src/Twilio/Rest/PreviewIam/Organizations/UserOptions.cs @@ -56,9 +56,11 @@ public string GetBody() } return body; } + } + /// delete public class DeleteUserOptions : IOptions { @@ -206,6 +208,7 @@ public string GetBody() } return body; } + /// Generate the necessary header parameters public List> GetHeaderParams() diff --git a/src/Twilio/Rest/PreviewIam/Organizations/UserResource.cs b/src/Twilio/Rest/PreviewIam/Organizations/UserResource.cs index ea4c13f7a..c38670a95 100644 --- a/src/Twilio/Rest/PreviewIam/Organizations/UserResource.cs +++ b/src/Twilio/Rest/PreviewIam/Organizations/UserResource.cs @@ -140,12 +140,12 @@ public ScimMeta Build() } public class ScimUser { + [JsonProperty("userName")] + private string UserName {get; set;} [JsonProperty("id")] private string Id {get; set;} [JsonProperty("externalId")] private string ExternalId {get; set;} - [JsonProperty("userName")] - private string UserName {get; set;} [JsonProperty("displayName")] private string DisplayName {get; set;} [JsonProperty("name")] @@ -169,6 +169,11 @@ public class Builder public Builder() { } + public Builder WithUserName(string userName) + { + _scimUser.UserName= userName; + return this; + } public Builder WithId(string id) { _scimUser.Id= id; @@ -179,11 +184,6 @@ public Builder WithExternalId(string externalId) _scimUser.ExternalId= externalId; return this; } - public Builder WithUserName(string userName) - { - _scimUser.UserName= userName; - return this; - } public Builder WithDisplayName(string displayName) { _scimUser.DisplayName= displayName; @@ -306,6 +306,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete User parameters @@ -656,6 +657,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a UserResource object @@ -691,6 +693,10 @@ public static string ToJson(object model) } + /// Unique username, MUST be same as primary email address + [JsonProperty("userName")] + public string UserName { get; } + /// Unique Twilio user sid [JsonProperty("id")] public string Id { get; private set; } @@ -699,10 +705,6 @@ public static string ToJson(object model) [JsonProperty("externalId")] public string ExternalId { get; private set; } - /// Unique username, MUST be same as primary email address - [JsonProperty("userName")] - public string UserName { get; } - /// User friendly display name [JsonProperty("displayName")] public string DisplayName { get; private set; } diff --git a/src/Twilio/Rest/PreviewIam/V1/TokenOptions.cs b/src/Twilio/Rest/PreviewIam/V1/TokenOptions.cs index 95adbbe9f..bc0d7478e 100644 --- a/src/Twilio/Rest/PreviewIam/V1/TokenOptions.cs +++ b/src/Twilio/Rest/PreviewIam/V1/TokenOptions.cs @@ -106,5 +106,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/PreviewIam/V1/TokenResource.cs b/src/Twilio/Rest/PreviewIam/V1/TokenResource.cs index 311407ac9..877cba50c 100644 --- a/src/Twilio/Rest/PreviewIam/V1/TokenResource.cs +++ b/src/Twilio/Rest/PreviewIam/V1/TokenResource.cs @@ -127,6 +127,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a TokenResource object diff --git a/src/Twilio/Rest/Proxy/V1/Service/PhoneNumberOptions.cs b/src/Twilio/Rest/Proxy/V1/Service/PhoneNumberOptions.cs index df8a2a239..fb0b29593 100644 --- a/src/Twilio/Rest/Proxy/V1/Service/PhoneNumberOptions.cs +++ b/src/Twilio/Rest/Proxy/V1/Service/PhoneNumberOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// Delete a specific Phone Number from a Service. public class DeletePhoneNumberOptions : IOptions { diff --git a/src/Twilio/Rest/Proxy/V1/Service/PhoneNumberResource.cs b/src/Twilio/Rest/Proxy/V1/Service/PhoneNumberResource.cs index 05b2e2f26..14dc5b3cd 100644 --- a/src/Twilio/Rest/Proxy/V1/Service/PhoneNumberResource.cs +++ b/src/Twilio/Rest/Proxy/V1/Service/PhoneNumberResource.cs @@ -113,6 +113,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// Delete a specific Phone Number from a Service. /// Delete PhoneNumber parameters @@ -458,6 +459,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a PhoneNumberResource object diff --git a/src/Twilio/Rest/Proxy/V1/Service/Session/Participant/MessageInteractionOptions.cs b/src/Twilio/Rest/Proxy/V1/Service/Session/Participant/MessageInteractionOptions.cs index 91661f509..f92d95fe9 100644 --- a/src/Twilio/Rest/Proxy/V1/Service/Session/Participant/MessageInteractionOptions.cs +++ b/src/Twilio/Rest/Proxy/V1/Service/Session/Participant/MessageInteractionOptions.cs @@ -76,6 +76,7 @@ public List> GetParams() } + /// fetch public class FetchMessageInteractionOptions : IOptions { diff --git a/src/Twilio/Rest/Proxy/V1/Service/Session/Participant/MessageInteractionResource.cs b/src/Twilio/Rest/Proxy/V1/Service/Session/Participant/MessageInteractionResource.cs index 7f40c9d8d..5b4afc2c1 100644 --- a/src/Twilio/Rest/Proxy/V1/Service/Session/Participant/MessageInteractionResource.cs +++ b/src/Twilio/Rest/Proxy/V1/Service/Session/Participant/MessageInteractionResource.cs @@ -167,6 +167,7 @@ public static async System.Threading.Tasks.Task Crea return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchMessageInteractionOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Proxy/V1/Service/Session/ParticipantOptions.cs b/src/Twilio/Rest/Proxy/V1/Service/Session/ParticipantOptions.cs index d59506b85..c1c381676 100644 --- a/src/Twilio/Rest/Proxy/V1/Service/Session/ParticipantOptions.cs +++ b/src/Twilio/Rest/Proxy/V1/Service/Session/ParticipantOptions.cs @@ -86,6 +86,7 @@ public List> GetParams() } + /// Delete a specific Participant. This is a soft-delete. The participant remains associated with the session and cannot be re-added. Participants are only permanently deleted when the [Session](https://www.twilio.com/docs/proxy/api/session) is deleted. public class DeleteParticipantOptions : IOptions { diff --git a/src/Twilio/Rest/Proxy/V1/Service/Session/ParticipantResource.cs b/src/Twilio/Rest/Proxy/V1/Service/Session/ParticipantResource.cs index b96c4c487..657c560fa 100644 --- a/src/Twilio/Rest/Proxy/V1/Service/Session/ParticipantResource.cs +++ b/src/Twilio/Rest/Proxy/V1/Service/Session/ParticipantResource.cs @@ -123,6 +123,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// Delete a specific Participant. This is a soft-delete. The participant remains associated with the session and cannot be re-added. Participants are only permanently deleted when the [Session](https://www.twilio.com/docs/proxy/api/session) is deleted. /// Delete Participant parameters diff --git a/src/Twilio/Rest/Proxy/V1/Service/SessionOptions.cs b/src/Twilio/Rest/Proxy/V1/Service/SessionOptions.cs index 98a567b68..44e9a5591 100644 --- a/src/Twilio/Rest/Proxy/V1/Service/SessionOptions.cs +++ b/src/Twilio/Rest/Proxy/V1/Service/SessionOptions.cs @@ -94,6 +94,7 @@ public List> GetParams() } + /// Delete a specific Session. public class DeleteSessionOptions : IOptions { diff --git a/src/Twilio/Rest/Proxy/V1/Service/SessionResource.cs b/src/Twilio/Rest/Proxy/V1/Service/SessionResource.cs index 9f5e875bd..82834ac07 100644 --- a/src/Twilio/Rest/Proxy/V1/Service/SessionResource.cs +++ b/src/Twilio/Rest/Proxy/V1/Service/SessionResource.cs @@ -155,6 +155,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Session. /// Delete Session parameters @@ -508,6 +509,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SessionResource object diff --git a/src/Twilio/Rest/Proxy/V1/ServiceOptions.cs b/src/Twilio/Rest/Proxy/V1/ServiceOptions.cs index 0d1e37618..9a7a87383 100644 --- a/src/Twilio/Rest/Proxy/V1/ServiceOptions.cs +++ b/src/Twilio/Rest/Proxy/V1/ServiceOptions.cs @@ -104,6 +104,7 @@ public List> GetParams() } + /// Delete a specific Service. public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Proxy/V1/ServiceResource.cs b/src/Twilio/Rest/Proxy/V1/ServiceResource.cs index b22970c81..ed8c2e5fe 100644 --- a/src/Twilio/Rest/Proxy/V1/ServiceResource.cs +++ b/src/Twilio/Rest/Proxy/V1/ServiceResource.cs @@ -155,6 +155,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Service. /// Delete Service parameters @@ -507,6 +508,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Routes/V2/PhoneNumberResource.cs b/src/Twilio/Rest/Routes/V2/PhoneNumberResource.cs index 0b58e238c..8c8c1019b 100644 --- a/src/Twilio/Rest/Routes/V2/PhoneNumberResource.cs +++ b/src/Twilio/Rest/Routes/V2/PhoneNumberResource.cs @@ -174,6 +174,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a PhoneNumberResource object diff --git a/src/Twilio/Rest/Routes/V2/SipDomainResource.cs b/src/Twilio/Rest/Routes/V2/SipDomainResource.cs index c6c4331aa..2f695b57d 100644 --- a/src/Twilio/Rest/Routes/V2/SipDomainResource.cs +++ b/src/Twilio/Rest/Routes/V2/SipDomainResource.cs @@ -174,6 +174,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SipDomainResource object diff --git a/src/Twilio/Rest/Routes/V2/TrunkResource.cs b/src/Twilio/Rest/Routes/V2/TrunkResource.cs index 2dad3c67b..b1ce50781 100644 --- a/src/Twilio/Rest/Routes/V2/TrunkResource.cs +++ b/src/Twilio/Rest/Routes/V2/TrunkResource.cs @@ -174,6 +174,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TrunkResource object diff --git a/src/Twilio/Rest/Serverless/V1/Service/AssetOptions.cs b/src/Twilio/Rest/Serverless/V1/Service/AssetOptions.cs index 7909ad626..ca631adc4 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/AssetOptions.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/AssetOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Delete an Asset resource. public class DeleteAssetOptions : IOptions { diff --git a/src/Twilio/Rest/Serverless/V1/Service/AssetResource.cs b/src/Twilio/Rest/Serverless/V1/Service/AssetResource.cs index 795da738d..922c31a67 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/AssetResource.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/AssetResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete an Asset resource. /// Delete Asset parameters @@ -450,6 +451,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AssetResource object diff --git a/src/Twilio/Rest/Serverless/V1/Service/BuildOptions.cs b/src/Twilio/Rest/Serverless/V1/Service/BuildOptions.cs index 463a9f211..d66e3e03d 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/BuildOptions.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/BuildOptions.cs @@ -81,6 +81,7 @@ public List> GetParams() } + /// Delete a Build resource. public class DeleteBuildOptions : IOptions { diff --git a/src/Twilio/Rest/Serverless/V1/Service/BuildResource.cs b/src/Twilio/Rest/Serverless/V1/Service/BuildResource.cs index 68f3d6924..55ceaf6c1 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/BuildResource.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/BuildResource.cs @@ -150,6 +150,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a Build resource. /// Delete Build parameters diff --git a/src/Twilio/Rest/Serverless/V1/Service/Environment/DeploymentOptions.cs b/src/Twilio/Rest/Serverless/V1/Service/Environment/DeploymentOptions.cs index 524a368a8..23d457b35 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/Environment/DeploymentOptions.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/Environment/DeploymentOptions.cs @@ -70,6 +70,7 @@ public List> GetParams() } + /// Retrieve a specific Deployment. public class FetchDeploymentOptions : IOptions { diff --git a/src/Twilio/Rest/Serverless/V1/Service/Environment/DeploymentResource.cs b/src/Twilio/Rest/Serverless/V1/Service/Environment/DeploymentResource.cs index f93f69d61..fde232194 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/Environment/DeploymentResource.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/Environment/DeploymentResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchDeploymentOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Serverless/V1/Service/Environment/VariableOptions.cs b/src/Twilio/Rest/Serverless/V1/Service/Environment/VariableOptions.cs index 2229a33b0..5d3e5a7b5 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/Environment/VariableOptions.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/Environment/VariableOptions.cs @@ -74,6 +74,7 @@ public List> GetParams() } + /// Delete a specific Variable. public class DeleteVariableOptions : IOptions { diff --git a/src/Twilio/Rest/Serverless/V1/Service/Environment/VariableResource.cs b/src/Twilio/Rest/Serverless/V1/Service/Environment/VariableResource.cs index b83771a67..c0a9cdb4a 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/Environment/VariableResource.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/Environment/VariableResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Variable. /// Delete Variable parameters @@ -485,6 +486,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a VariableResource object diff --git a/src/Twilio/Rest/Serverless/V1/Service/EnvironmentOptions.cs b/src/Twilio/Rest/Serverless/V1/Service/EnvironmentOptions.cs index 2b56fe989..6113e5bce 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/EnvironmentOptions.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/EnvironmentOptions.cs @@ -67,6 +67,7 @@ public List> GetParams() } + /// Delete a specific environment. public class DeleteEnvironmentOptions : IOptions { diff --git a/src/Twilio/Rest/Serverless/V1/Service/EnvironmentResource.cs b/src/Twilio/Rest/Serverless/V1/Service/EnvironmentResource.cs index 865018ef1..1e94d6993 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/EnvironmentResource.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/EnvironmentResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// Delete a specific environment. /// Delete Environment parameters diff --git a/src/Twilio/Rest/Serverless/V1/Service/FunctionOptions.cs b/src/Twilio/Rest/Serverless/V1/Service/FunctionOptions.cs index ea64b98c4..4bba3494e 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/FunctionOptions.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/FunctionOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Delete a Function resource. public class DeleteFunctionOptions : IOptions { diff --git a/src/Twilio/Rest/Serverless/V1/Service/FunctionResource.cs b/src/Twilio/Rest/Serverless/V1/Service/FunctionResource.cs index e42cd1620..666c4d1e3 100644 --- a/src/Twilio/Rest/Serverless/V1/Service/FunctionResource.cs +++ b/src/Twilio/Rest/Serverless/V1/Service/FunctionResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a Function resource. /// Delete Function parameters @@ -450,6 +451,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a FunctionResource object diff --git a/src/Twilio/Rest/Serverless/V1/ServiceOptions.cs b/src/Twilio/Rest/Serverless/V1/ServiceOptions.cs index 8a3abd5d7..fbe4be4a3 100644 --- a/src/Twilio/Rest/Serverless/V1/ServiceOptions.cs +++ b/src/Twilio/Rest/Serverless/V1/ServiceOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// Delete a Service resource. public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Serverless/V1/ServiceResource.cs b/src/Twilio/Rest/Serverless/V1/ServiceResource.cs index 666093280..3ad068769 100644 --- a/src/Twilio/Rest/Serverless/V1/ServiceResource.cs +++ b/src/Twilio/Rest/Serverless/V1/ServiceResource.cs @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a Service resource. /// Delete Service parameters @@ -443,6 +444,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Studio/V1/Flow/EngagementOptions.cs b/src/Twilio/Rest/Studio/V1/Flow/EngagementOptions.cs index 675d67cc2..24cd2b9a6 100644 --- a/src/Twilio/Rest/Studio/V1/Flow/EngagementOptions.cs +++ b/src/Twilio/Rest/Studio/V1/Flow/EngagementOptions.cs @@ -76,6 +76,7 @@ public List> GetParams() } + /// Delete this Engagement and all Steps relating to it. public class DeleteEngagementOptions : IOptions { diff --git a/src/Twilio/Rest/Studio/V1/Flow/EngagementResource.cs b/src/Twilio/Rest/Studio/V1/Flow/EngagementResource.cs index 5293854ef..7042fde40 100644 --- a/src/Twilio/Rest/Studio/V1/Flow/EngagementResource.cs +++ b/src/Twilio/Rest/Studio/V1/Flow/EngagementResource.cs @@ -126,6 +126,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete this Engagement and all Steps relating to it. /// Delete Engagement parameters diff --git a/src/Twilio/Rest/Studio/V1/Flow/ExecutionOptions.cs b/src/Twilio/Rest/Studio/V1/Flow/ExecutionOptions.cs index 1d2c77b18..70a9c6511 100644 --- a/src/Twilio/Rest/Studio/V1/Flow/ExecutionOptions.cs +++ b/src/Twilio/Rest/Studio/V1/Flow/ExecutionOptions.cs @@ -76,6 +76,7 @@ public List> GetParams() } + /// Delete the Execution and all Steps relating to it. public class DeleteExecutionOptions : IOptions { diff --git a/src/Twilio/Rest/Studio/V1/Flow/ExecutionResource.cs b/src/Twilio/Rest/Studio/V1/Flow/ExecutionResource.cs index 96622ed32..49964d7f6 100644 --- a/src/Twilio/Rest/Studio/V1/Flow/ExecutionResource.cs +++ b/src/Twilio/Rest/Studio/V1/Flow/ExecutionResource.cs @@ -126,6 +126,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete the Execution and all Steps relating to it. /// Delete Execution parameters @@ -479,6 +480,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ExecutionResource object diff --git a/src/Twilio/Rest/Studio/V2/Flow/ExecutionOptions.cs b/src/Twilio/Rest/Studio/V2/Flow/ExecutionOptions.cs index 43fa9b695..2606ee79c 100644 --- a/src/Twilio/Rest/Studio/V2/Flow/ExecutionOptions.cs +++ b/src/Twilio/Rest/Studio/V2/Flow/ExecutionOptions.cs @@ -76,6 +76,7 @@ public List> GetParams() } + /// Delete the Execution and all Steps relating to it. public class DeleteExecutionOptions : IOptions { diff --git a/src/Twilio/Rest/Studio/V2/Flow/ExecutionResource.cs b/src/Twilio/Rest/Studio/V2/Flow/ExecutionResource.cs index 41da0c82c..0cdfbbda9 100644 --- a/src/Twilio/Rest/Studio/V2/Flow/ExecutionResource.cs +++ b/src/Twilio/Rest/Studio/V2/Flow/ExecutionResource.cs @@ -126,6 +126,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete the Execution and all Steps relating to it. /// Delete Execution parameters @@ -479,6 +480,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ExecutionResource object diff --git a/src/Twilio/Rest/Studio/V2/Flow/FlowTestUserResource.cs b/src/Twilio/Rest/Studio/V2/Flow/FlowTestUserResource.cs index a705e28ea..9b921834a 100644 --- a/src/Twilio/Rest/Studio/V2/Flow/FlowTestUserResource.cs +++ b/src/Twilio/Rest/Studio/V2/Flow/FlowTestUserResource.cs @@ -170,6 +170,7 @@ public static async System.Threading.Tasks.Task UpdateAsyn return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a FlowTestUserResource object diff --git a/src/Twilio/Rest/Studio/V2/FlowOptions.cs b/src/Twilio/Rest/Studio/V2/FlowOptions.cs index b509b0138..7f3ff11d6 100644 --- a/src/Twilio/Rest/Studio/V2/FlowOptions.cs +++ b/src/Twilio/Rest/Studio/V2/FlowOptions.cs @@ -80,6 +80,7 @@ public List> GetParams() } + /// Delete a specific Flow. public class DeleteFlowOptions : IOptions { diff --git a/src/Twilio/Rest/Studio/V2/FlowResource.cs b/src/Twilio/Rest/Studio/V2/FlowResource.cs index 39859352d..820f28fa1 100644 --- a/src/Twilio/Rest/Studio/V2/FlowResource.cs +++ b/src/Twilio/Rest/Studio/V2/FlowResource.cs @@ -124,6 +124,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Flow. /// Delete Flow parameters @@ -460,6 +461,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a FlowResource object diff --git a/src/Twilio/Rest/Studio/V2/FlowValidateResource.cs b/src/Twilio/Rest/Studio/V2/FlowValidateResource.cs index 9d547def7..558981b66 100644 --- a/src/Twilio/Rest/Studio/V2/FlowValidateResource.cs +++ b/src/Twilio/Rest/Studio/V2/FlowValidateResource.cs @@ -124,6 +124,7 @@ public static async System.Threading.Tasks.Task UpdateAsyn return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a FlowValidateResource object diff --git a/src/Twilio/Rest/Supersim/V1/EsimProfileOptions.cs b/src/Twilio/Rest/Supersim/V1/EsimProfileOptions.cs index a07f00577..51b443824 100644 --- a/src/Twilio/Rest/Supersim/V1/EsimProfileOptions.cs +++ b/src/Twilio/Rest/Supersim/V1/EsimProfileOptions.cs @@ -70,6 +70,7 @@ public List> GetParams() } + /// Fetch an eSIM Profile. public class FetchEsimProfileOptions : IOptions { diff --git a/src/Twilio/Rest/Supersim/V1/EsimProfileResource.cs b/src/Twilio/Rest/Supersim/V1/EsimProfileResource.cs index eefcb4b81..e51041426 100644 --- a/src/Twilio/Rest/Supersim/V1/EsimProfileResource.cs +++ b/src/Twilio/Rest/Supersim/V1/EsimProfileResource.cs @@ -128,6 +128,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchEsimProfileOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Supersim/V1/FleetOptions.cs b/src/Twilio/Rest/Supersim/V1/FleetOptions.cs index fb6bb4e86..5be5f755a 100644 --- a/src/Twilio/Rest/Supersim/V1/FleetOptions.cs +++ b/src/Twilio/Rest/Supersim/V1/FleetOptions.cs @@ -111,6 +111,7 @@ public List> GetParams() } + /// Fetch a Fleet instance from your account. public class FetchFleetOptions : IOptions { diff --git a/src/Twilio/Rest/Supersim/V1/FleetResource.cs b/src/Twilio/Rest/Supersim/V1/FleetResource.cs index 42ee0d918..d8ab94b16 100644 --- a/src/Twilio/Rest/Supersim/V1/FleetResource.cs +++ b/src/Twilio/Rest/Supersim/V1/FleetResource.cs @@ -143,6 +143,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchFleetOptions options, ITwilioRestClient client) { @@ -427,6 +428,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a FleetResource object diff --git a/src/Twilio/Rest/Supersim/V1/IpCommandOptions.cs b/src/Twilio/Rest/Supersim/V1/IpCommandOptions.cs index a493174bd..014f63014 100644 --- a/src/Twilio/Rest/Supersim/V1/IpCommandOptions.cs +++ b/src/Twilio/Rest/Supersim/V1/IpCommandOptions.cs @@ -94,6 +94,7 @@ public List> GetParams() } + /// Fetch IP Command instance from your account. public class FetchIpCommandOptions : IOptions { diff --git a/src/Twilio/Rest/Supersim/V1/IpCommandResource.cs b/src/Twilio/Rest/Supersim/V1/IpCommandResource.cs index b23a42891..786986f77 100644 --- a/src/Twilio/Rest/Supersim/V1/IpCommandResource.cs +++ b/src/Twilio/Rest/Supersim/V1/IpCommandResource.cs @@ -160,6 +160,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchIpCommandOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Supersim/V1/NetworkAccessProfile/NetworkAccessProfileNetworkOptions.cs b/src/Twilio/Rest/Supersim/V1/NetworkAccessProfile/NetworkAccessProfileNetworkOptions.cs index 78662f2ab..a63111727 100644 --- a/src/Twilio/Rest/Supersim/V1/NetworkAccessProfile/NetworkAccessProfileNetworkOptions.cs +++ b/src/Twilio/Rest/Supersim/V1/NetworkAccessProfile/NetworkAccessProfileNetworkOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Remove a Network resource from the Network Access Profile resource's. public class DeleteNetworkAccessProfileNetworkOptions : IOptions { diff --git a/src/Twilio/Rest/Supersim/V1/NetworkAccessProfile/NetworkAccessProfileNetworkResource.cs b/src/Twilio/Rest/Supersim/V1/NetworkAccessProfile/NetworkAccessProfileNetworkResource.cs index b9c4047cc..b5cd727e0 100644 --- a/src/Twilio/Rest/Supersim/V1/NetworkAccessProfile/NetworkAccessProfileNetworkResource.cs +++ b/src/Twilio/Rest/Supersim/V1/NetworkAccessProfile/NetworkAccessProfileNetworkResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task Remove a Network resource from the Network Access Profile resource's. /// Delete NetworkAccessProfileNetwork parameters diff --git a/src/Twilio/Rest/Supersim/V1/NetworkAccessProfileOptions.cs b/src/Twilio/Rest/Supersim/V1/NetworkAccessProfileOptions.cs index cbff3833c..d445808b7 100644 --- a/src/Twilio/Rest/Supersim/V1/NetworkAccessProfileOptions.cs +++ b/src/Twilio/Rest/Supersim/V1/NetworkAccessProfileOptions.cs @@ -56,6 +56,7 @@ public List> GetParams() } + /// Fetch a Network Access Profile instance from your account. public class FetchNetworkAccessProfileOptions : IOptions { diff --git a/src/Twilio/Rest/Supersim/V1/NetworkAccessProfileResource.cs b/src/Twilio/Rest/Supersim/V1/NetworkAccessProfileResource.cs index b6fdde606..e7df6913e 100644 --- a/src/Twilio/Rest/Supersim/V1/NetworkAccessProfileResource.cs +++ b/src/Twilio/Rest/Supersim/V1/NetworkAccessProfileResource.cs @@ -103,6 +103,7 @@ public static async System.Threading.Tasks.Task Cr return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchNetworkAccessProfileOptions options, ITwilioRestClient client) { @@ -359,6 +360,7 @@ public static async System.Threading.Tasks.Task Up return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a NetworkAccessProfileResource object diff --git a/src/Twilio/Rest/Supersim/V1/SimOptions.cs b/src/Twilio/Rest/Supersim/V1/SimOptions.cs index 6b1142ded..88dff96b5 100644 --- a/src/Twilio/Rest/Supersim/V1/SimOptions.cs +++ b/src/Twilio/Rest/Supersim/V1/SimOptions.cs @@ -64,6 +64,7 @@ public List> GetParams() } + /// Fetch a Super SIM instance from your account. public class FetchSimOptions : IOptions { diff --git a/src/Twilio/Rest/Supersim/V1/SimResource.cs b/src/Twilio/Rest/Supersim/V1/SimResource.cs index 2b6f8643d..283c701be 100644 --- a/src/Twilio/Rest/Supersim/V1/SimResource.cs +++ b/src/Twilio/Rest/Supersim/V1/SimResource.cs @@ -132,6 +132,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchSimOptions options, ITwilioRestClient client) { @@ -420,6 +421,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SimResource object diff --git a/src/Twilio/Rest/Supersim/V1/SmsCommandOptions.cs b/src/Twilio/Rest/Supersim/V1/SmsCommandOptions.cs index f72075788..575146c91 100644 --- a/src/Twilio/Rest/Supersim/V1/SmsCommandOptions.cs +++ b/src/Twilio/Rest/Supersim/V1/SmsCommandOptions.cs @@ -78,6 +78,7 @@ public List> GetParams() } + /// Fetch SMS Command instance from your account. public class FetchSmsCommandOptions : IOptions { diff --git a/src/Twilio/Rest/Supersim/V1/SmsCommandResource.cs b/src/Twilio/Rest/Supersim/V1/SmsCommandResource.cs index 20a4c7d1b..d79c5adbf 100644 --- a/src/Twilio/Rest/Supersim/V1/SmsCommandResource.cs +++ b/src/Twilio/Rest/Supersim/V1/SmsCommandResource.cs @@ -140,6 +140,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchSmsCommandOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Sync/V1/Service/Document/DocumentPermissionResource.cs b/src/Twilio/Rest/Sync/V1/Service/Document/DocumentPermissionResource.cs index 80526b2f9..84e36cc52 100644 --- a/src/Twilio/Rest/Sync/V1/Service/Document/DocumentPermissionResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/Document/DocumentPermissionResource.cs @@ -407,6 +407,7 @@ public static async System.Threading.Tasks.Task Upda return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a DocumentPermissionResource object diff --git a/src/Twilio/Rest/Sync/V1/Service/DocumentOptions.cs b/src/Twilio/Rest/Sync/V1/Service/DocumentOptions.cs index 1741b8e05..d6e4386c3 100644 --- a/src/Twilio/Rest/Sync/V1/Service/DocumentOptions.cs +++ b/src/Twilio/Rest/Sync/V1/Service/DocumentOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// delete public class DeleteDocumentOptions : IOptions { diff --git a/src/Twilio/Rest/Sync/V1/Service/DocumentResource.cs b/src/Twilio/Rest/Sync/V1/Service/DocumentResource.cs index 80678b5e1..6282b644f 100644 --- a/src/Twilio/Rest/Sync/V1/Service/DocumentResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/DocumentResource.cs @@ -113,6 +113,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Document parameters @@ -466,6 +467,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a DocumentResource object diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListItemOptions.cs b/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListItemOptions.cs index 26f2001d8..3434afe25 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListItemOptions.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListItemOptions.cs @@ -86,6 +86,7 @@ public List> GetParams() } + /// delete public class DeleteSyncListItemOptions : IOptions { diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListItemResource.cs b/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListItemResource.cs index 24103f1fc..48ecf163d 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListItemResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListItemResource.cs @@ -147,6 +147,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// delete /// Delete SyncListItem parameters @@ -543,6 +544,7 @@ public static async System.Threading.Tasks.Task UpdateAsyn return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SyncListItemResource object diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListPermissionResource.cs b/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListPermissionResource.cs index 468fab97b..d68c20827 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListPermissionResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncList/SyncListPermissionResource.cs @@ -407,6 +407,7 @@ public static async System.Threading.Tasks.Task Upda return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SyncListPermissionResource object diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncListOptions.cs b/src/Twilio/Rest/Sync/V1/Service/SyncListOptions.cs index 8f2a79c40..fafe88209 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncListOptions.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncListOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// delete public class DeleteSyncListOptions : IOptions { diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncListResource.cs b/src/Twilio/Rest/Sync/V1/Service/SyncListResource.cs index 352759a1f..3d7726d80 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncListResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncListResource.cs @@ -113,6 +113,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete SyncList parameters @@ -462,6 +463,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SyncListResource object diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapItemOptions.cs b/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapItemOptions.cs index 9c00c7253..934a097c0 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapItemOptions.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapItemOptions.cs @@ -95,6 +95,7 @@ public List> GetParams() } + /// delete public class DeleteSyncMapItemOptions : IOptions { diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapItemResource.cs b/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapItemResource.cs index a6a25f39d..b1712a9e6 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapItemResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapItemResource.cs @@ -151,6 +151,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// delete /// Delete SyncMapItem parameters @@ -547,6 +548,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SyncMapItemResource object diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapPermissionResource.cs b/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapPermissionResource.cs index 3dbd60d03..69f5be246 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapPermissionResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapPermissionResource.cs @@ -407,6 +407,7 @@ public static async System.Threading.Tasks.Task Updat return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SyncMapPermissionResource object diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncMapOptions.cs b/src/Twilio/Rest/Sync/V1/Service/SyncMapOptions.cs index f044f9453..a4916f71b 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncMapOptions.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncMapOptions.cs @@ -72,6 +72,7 @@ public List> GetParams() } + /// delete public class DeleteSyncMapOptions : IOptions { diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncMapResource.cs b/src/Twilio/Rest/Sync/V1/Service/SyncMapResource.cs index 341a9dae5..47cac8b16 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncMapResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncMapResource.cs @@ -113,6 +113,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete SyncMap parameters @@ -462,6 +463,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SyncMapResource object diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncStream/StreamMessageOptions.cs b/src/Twilio/Rest/Sync/V1/Service/SyncStream/StreamMessageOptions.cs index ebc42fb34..9ea7857d6 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncStream/StreamMessageOptions.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncStream/StreamMessageOptions.cs @@ -65,5 +65,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncStream/StreamMessageResource.cs b/src/Twilio/Rest/Sync/V1/Service/SyncStream/StreamMessageResource.cs index b5a33f3d8..cdd65d433 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncStream/StreamMessageResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncStream/StreamMessageResource.cs @@ -111,6 +111,7 @@ public static async System.Threading.Tasks.Task CreateAsy return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a StreamMessageResource object diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncStreamOptions.cs b/src/Twilio/Rest/Sync/V1/Service/SyncStreamOptions.cs index 55f75ff41..cb03ea12b 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncStreamOptions.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncStreamOptions.cs @@ -65,6 +65,7 @@ public List> GetParams() } + /// Delete a specific Stream. public class DeleteSyncStreamOptions : IOptions { diff --git a/src/Twilio/Rest/Sync/V1/Service/SyncStreamResource.cs b/src/Twilio/Rest/Sync/V1/Service/SyncStreamResource.cs index e49fa9472..70bff21a0 100644 --- a/src/Twilio/Rest/Sync/V1/Service/SyncStreamResource.cs +++ b/src/Twilio/Rest/Sync/V1/Service/SyncStreamResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Stream. /// Delete SyncStream parameters @@ -454,6 +455,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SyncStreamResource object diff --git a/src/Twilio/Rest/Sync/V1/ServiceOptions.cs b/src/Twilio/Rest/Sync/V1/ServiceOptions.cs index 05fc54f89..6038e25b2 100644 --- a/src/Twilio/Rest/Sync/V1/ServiceOptions.cs +++ b/src/Twilio/Rest/Sync/V1/ServiceOptions.cs @@ -91,6 +91,7 @@ public List> GetParams() } + /// delete public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Sync/V1/ServiceResource.cs b/src/Twilio/Rest/Sync/V1/ServiceResource.cs index f1e002338..42471f2f8 100644 --- a/src/Twilio/Rest/Sync/V1/ServiceResource.cs +++ b/src/Twilio/Rest/Sync/V1/ServiceResource.cs @@ -123,6 +123,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Service parameters @@ -471,6 +472,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/ActivityOptions.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/ActivityOptions.cs index 3fd5b35b0..ffb21f45d 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/ActivityOptions.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/ActivityOptions.cs @@ -67,6 +67,7 @@ public List> GetParams() } + /// delete public class DeleteActivityOptions : IOptions { diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/ActivityResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/ActivityResource.cs index 670e7e7c9..1e60942b4 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/ActivityResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/ActivityResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Activity parameters @@ -462,6 +463,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ActivityResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/Task/ReservationResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/Task/ReservationResource.cs index f088a25de..f6fda6c45 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/Task/ReservationResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/Task/ReservationResource.cs @@ -610,6 +610,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ReservationResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskChannelOptions.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskChannelOptions.cs index 6ad461bd7..489e403ec 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskChannelOptions.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskChannelOptions.cs @@ -76,6 +76,7 @@ public List> GetParams() } + /// delete public class DeleteTaskChannelOptions : IOptions { diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskChannelResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskChannelResource.cs index d64c5ebea..fbf27b373 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskChannelResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskChannelResource.cs @@ -113,6 +113,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// delete /// Delete TaskChannel parameters @@ -462,6 +463,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TaskChannelResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskOptions.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskOptions.cs index b6a72a94f..ab00b6510 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskOptions.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskOptions.cs @@ -114,6 +114,7 @@ public List> GetParams() } + /// delete public class DeleteTaskOptions : IOptions { diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueBulkRealTimeStatisticsOptions.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueBulkRealTimeStatisticsOptions.cs index b5503f94c..9a2db2d60 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueBulkRealTimeStatisticsOptions.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueBulkRealTimeStatisticsOptions.cs @@ -54,8 +54,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueBulkRealTimeStatisticsResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueBulkRealTimeStatisticsResource.cs index 30895d2f5..32d139485 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueBulkRealTimeStatisticsResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueBulkRealTimeStatisticsResource.cs @@ -102,6 +102,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a TaskQueueBulkRealTimeStatisticsResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueueOptions.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueueOptions.cs index 0718c92d0..b4b6c4835 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueueOptions.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueueOptions.cs @@ -95,6 +95,7 @@ public List> GetParams() } + /// delete public class DeleteTaskQueueOptions : IOptions { diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueueResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueueResource.cs index b22945a05..29e3b9ad2 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueueResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueueResource.cs @@ -138,6 +138,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete TaskQueue parameters @@ -519,6 +520,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TaskQueueResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskResource.cs index 11684bd39..b4439d0f4 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskResource.cs @@ -154,6 +154,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Task parameters @@ -565,6 +566,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TaskResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/Worker/ReservationResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/Worker/ReservationResource.cs index fe89ad775..9d54ef28d 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/Worker/ReservationResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/Worker/ReservationResource.cs @@ -585,6 +585,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ReservationResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/Worker/WorkerChannelResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/Worker/WorkerChannelResource.cs index 27437aee4..0a7bed1a1 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/Worker/WorkerChannelResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/Worker/WorkerChannelResource.cs @@ -327,6 +327,7 @@ public static async System.Threading.Tasks.Task UpdateAsy return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WorkerChannelResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkerOptions.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkerOptions.cs index 1dbc92394..eca90c8c0 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkerOptions.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkerOptions.cs @@ -74,6 +74,7 @@ public List> GetParams() } + /// delete public class DeleteWorkerOptions : IOptions { diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkerResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkerResource.cs index 68810d697..eeacc4f0a 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkerResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkerResource.cs @@ -113,6 +113,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Worker parameters @@ -508,6 +509,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WorkerResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkflowOptions.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkflowOptions.cs index 4b5994a8d..77914535b 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkflowOptions.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkflowOptions.cs @@ -90,6 +90,7 @@ public List> GetParams() } + /// delete public class DeleteWorkflowOptions : IOptions { diff --git a/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkflowResource.cs b/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkflowResource.cs index c671463ce..e7de46513 100644 --- a/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkflowResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/Workspace/WorkflowResource.cs @@ -121,6 +121,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Workflow parameters @@ -490,6 +491,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WorkflowResource object diff --git a/src/Twilio/Rest/Taskrouter/V1/WorkspaceOptions.cs b/src/Twilio/Rest/Taskrouter/V1/WorkspaceOptions.cs index 3e52cf6e8..0ab6f4ec4 100644 --- a/src/Twilio/Rest/Taskrouter/V1/WorkspaceOptions.cs +++ b/src/Twilio/Rest/Taskrouter/V1/WorkspaceOptions.cs @@ -90,6 +90,7 @@ public List> GetParams() } + /// delete public class DeleteWorkspaceOptions : IOptions { diff --git a/src/Twilio/Rest/Taskrouter/V1/WorkspaceResource.cs b/src/Twilio/Rest/Taskrouter/V1/WorkspaceResource.cs index c08ef6d8f..ad335bf2e 100644 --- a/src/Twilio/Rest/Taskrouter/V1/WorkspaceResource.cs +++ b/src/Twilio/Rest/Taskrouter/V1/WorkspaceResource.cs @@ -132,6 +132,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Workspace parameters @@ -484,6 +485,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WorkspaceResource object diff --git a/src/Twilio/Rest/Trunking/V1/Trunk/CredentialListOptions.cs b/src/Twilio/Rest/Trunking/V1/Trunk/CredentialListOptions.cs index 263a7c07c..fd660a21b 100644 --- a/src/Twilio/Rest/Trunking/V1/Trunk/CredentialListOptions.cs +++ b/src/Twilio/Rest/Trunking/V1/Trunk/CredentialListOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// delete public class DeleteCredentialListOptions : IOptions { diff --git a/src/Twilio/Rest/Trunking/V1/Trunk/CredentialListResource.cs b/src/Twilio/Rest/Trunking/V1/Trunk/CredentialListResource.cs index 7e14339b3..3a6fb918c 100644 --- a/src/Twilio/Rest/Trunking/V1/Trunk/CredentialListResource.cs +++ b/src/Twilio/Rest/Trunking/V1/Trunk/CredentialListResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// delete /// Delete CredentialList parameters diff --git a/src/Twilio/Rest/Trunking/V1/Trunk/IpAccessControlListOptions.cs b/src/Twilio/Rest/Trunking/V1/Trunk/IpAccessControlListOptions.cs index bf40204b1..a373eefd7 100644 --- a/src/Twilio/Rest/Trunking/V1/Trunk/IpAccessControlListOptions.cs +++ b/src/Twilio/Rest/Trunking/V1/Trunk/IpAccessControlListOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Remove an associated IP Access Control List from a Trunk public class DeleteIpAccessControlListOptions : IOptions { diff --git a/src/Twilio/Rest/Trunking/V1/Trunk/IpAccessControlListResource.cs b/src/Twilio/Rest/Trunking/V1/Trunk/IpAccessControlListResource.cs index 9c0a13b00..ac876d951 100644 --- a/src/Twilio/Rest/Trunking/V1/Trunk/IpAccessControlListResource.cs +++ b/src/Twilio/Rest/Trunking/V1/Trunk/IpAccessControlListResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task Cre return await CreateAsync(options, client); } #endif + /// Remove an associated IP Access Control List from a Trunk /// Delete IpAccessControlList parameters diff --git a/src/Twilio/Rest/Trunking/V1/Trunk/OriginationUrlOptions.cs b/src/Twilio/Rest/Trunking/V1/Trunk/OriginationUrlOptions.cs index bee67a2b5..d7dd5f5c5 100644 --- a/src/Twilio/Rest/Trunking/V1/Trunk/OriginationUrlOptions.cs +++ b/src/Twilio/Rest/Trunking/V1/Trunk/OriginationUrlOptions.cs @@ -96,6 +96,7 @@ public List> GetParams() } + /// delete public class DeleteOriginationUrlOptions : IOptions { diff --git a/src/Twilio/Rest/Trunking/V1/Trunk/OriginationUrlResource.cs b/src/Twilio/Rest/Trunking/V1/Trunk/OriginationUrlResource.cs index db919938d..7ca79c651 100644 --- a/src/Twilio/Rest/Trunking/V1/Trunk/OriginationUrlResource.cs +++ b/src/Twilio/Rest/Trunking/V1/Trunk/OriginationUrlResource.cs @@ -121,6 +121,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + /// delete /// Delete OriginationUrl parameters @@ -482,6 +483,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a OriginationUrlResource object diff --git a/src/Twilio/Rest/Trunking/V1/Trunk/PhoneNumberOptions.cs b/src/Twilio/Rest/Trunking/V1/Trunk/PhoneNumberOptions.cs index 3c156344a..d252b3b87 100644 --- a/src/Twilio/Rest/Trunking/V1/Trunk/PhoneNumberOptions.cs +++ b/src/Twilio/Rest/Trunking/V1/Trunk/PhoneNumberOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// delete public class DeletePhoneNumberOptions : IOptions { diff --git a/src/Twilio/Rest/Trunking/V1/Trunk/PhoneNumberResource.cs b/src/Twilio/Rest/Trunking/V1/Trunk/PhoneNumberResource.cs index 7cc475bcb..0345bdd89 100644 --- a/src/Twilio/Rest/Trunking/V1/Trunk/PhoneNumberResource.cs +++ b/src/Twilio/Rest/Trunking/V1/Trunk/PhoneNumberResource.cs @@ -120,6 +120,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// delete /// Delete PhoneNumber parameters diff --git a/src/Twilio/Rest/Trunking/V1/Trunk/RecordingResource.cs b/src/Twilio/Rest/Trunking/V1/Trunk/RecordingResource.cs index dd1a2720a..9d5fa662b 100644 --- a/src/Twilio/Rest/Trunking/V1/Trunk/RecordingResource.cs +++ b/src/Twilio/Rest/Trunking/V1/Trunk/RecordingResource.cs @@ -203,6 +203,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RecordingResource object diff --git a/src/Twilio/Rest/Trunking/V1/TrunkOptions.cs b/src/Twilio/Rest/Trunking/V1/TrunkOptions.cs index 1f167365b..b3c8d7dc9 100644 --- a/src/Twilio/Rest/Trunking/V1/TrunkOptions.cs +++ b/src/Twilio/Rest/Trunking/V1/TrunkOptions.cs @@ -98,6 +98,7 @@ public List> GetParams() } + /// delete public class DeleteTrunkOptions : IOptions { diff --git a/src/Twilio/Rest/Trunking/V1/TrunkResource.cs b/src/Twilio/Rest/Trunking/V1/TrunkResource.cs index 355551558..23d5b9d63 100644 --- a/src/Twilio/Rest/Trunking/V1/TrunkResource.cs +++ b/src/Twilio/Rest/Trunking/V1/TrunkResource.cs @@ -154,6 +154,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete Trunk parameters @@ -506,6 +507,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TrunkResource object diff --git a/src/Twilio/Rest/Trusthub/V1/ComplianceInquiriesOptions.cs b/src/Twilio/Rest/Trusthub/V1/ComplianceInquiriesOptions.cs index 3bffec7be..a483ef3c9 100644 --- a/src/Twilio/Rest/Trusthub/V1/ComplianceInquiriesOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/ComplianceInquiriesOptions.cs @@ -69,6 +69,7 @@ public List> GetParams() } + /// Resume a specific Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing. public class UpdateComplianceInquiriesOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/ComplianceInquiriesResource.cs b/src/Twilio/Rest/Trusthub/V1/ComplianceInquiriesResource.cs index 831b0580a..d13f9dc5a 100644 --- a/src/Twilio/Rest/Trusthub/V1/ComplianceInquiriesResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/ComplianceInquiriesResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task Cre return await CreateAsync(options, client); } #endif + private static Request BuildUpdateRequest(UpdateComplianceInquiriesOptions options, ITwilioRestClient client) { @@ -184,6 +185,7 @@ public static async System.Threading.Tasks.Task Upd return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ComplianceInquiriesResource object diff --git a/src/Twilio/Rest/Trusthub/V1/ComplianceRegistrationInquiriesOptions.cs b/src/Twilio/Rest/Trusthub/V1/ComplianceRegistrationInquiriesOptions.cs index 67164c98e..45db0c115 100644 --- a/src/Twilio/Rest/Trusthub/V1/ComplianceRegistrationInquiriesOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/ComplianceRegistrationInquiriesOptions.cs @@ -323,6 +323,7 @@ public List> GetParams() } + /// Resume a specific Regulatory Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing. public class UpdateComplianceRegistrationInquiriesOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/ComplianceRegistrationInquiriesResource.cs b/src/Twilio/Rest/Trusthub/V1/ComplianceRegistrationInquiriesResource.cs index 489dd007c..d5eff82bc 100644 --- a/src/Twilio/Rest/Trusthub/V1/ComplianceRegistrationInquiriesResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/ComplianceRegistrationInquiriesResource.cs @@ -305,6 +305,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a ComplianceRegistrationInquiriesResource object diff --git a/src/Twilio/Rest/Trusthub/V1/ComplianceTollfreeInquiriesOptions.cs b/src/Twilio/Rest/Trusthub/V1/ComplianceTollfreeInquiriesOptions.cs index 3d0bf0913..522376fad 100644 --- a/src/Twilio/Rest/Trusthub/V1/ComplianceTollfreeInquiriesOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/ComplianceTollfreeInquiriesOptions.cs @@ -213,5 +213,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Trusthub/V1/ComplianceTollfreeInquiriesResource.cs b/src/Twilio/Rest/Trusthub/V1/ComplianceTollfreeInquiriesResource.cs index 289ef17e4..8d8aedeae 100644 --- a/src/Twilio/Rest/Trusthub/V1/ComplianceTollfreeInquiriesResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/ComplianceTollfreeInquiriesResource.cs @@ -202,6 +202,7 @@ public static async System.Threading.Tasks.Task /// Converts a JSON string into a ComplianceTollfreeInquiriesResource object diff --git a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentOptions.cs b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentOptions.cs index 53032c56d..631176bb0 100644 --- a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentOptions.cs @@ -69,6 +69,7 @@ public List> GetParams() } + /// Remove an Assignment Item Instance. public class DeleteCustomerProfilesChannelEndpointAssignmentOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentResource.cs b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentResource.cs index 10af07ad3..7779a59c5 100644 --- a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesChannelEndpointAssignmentResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task Remove an Assignment Item Instance. /// Delete CustomerProfilesChannelEndpointAssignment parameters diff --git a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEntityAssignmentsOptions.cs b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEntityAssignmentsOptions.cs index bbf904c6f..196039a70 100644 --- a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEntityAssignmentsOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEntityAssignmentsOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Remove an Assignment Item Instance. public class DeleteCustomerProfilesEntityAssignmentsOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEntityAssignmentsResource.cs b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEntityAssignmentsResource.cs index 7b2276ff1..bb21b54c4 100644 --- a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEntityAssignmentsResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEntityAssignmentsResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task Remove an Assignment Item Instance. /// Delete CustomerProfilesEntityAssignments parameters diff --git a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEvaluationsOptions.cs b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEvaluationsOptions.cs index 6d69d1696..653ad4317 100644 --- a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEvaluationsOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEvaluationsOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Fetch specific Evaluation Instance. public class FetchCustomerProfilesEvaluationsOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEvaluationsResource.cs b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEvaluationsResource.cs index 5fed41de1..004359ac8 100644 --- a/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEvaluationsResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/CustomerProfiles/CustomerProfilesEvaluationsResource.cs @@ -118,6 +118,7 @@ public static async System.Threading.Tasks.Task> GetParams() } + /// Delete a specific Customer-Profile. public class DeleteCustomerProfilesOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/CustomerProfilesResource.cs b/src/Twilio/Rest/Trusthub/V1/CustomerProfilesResource.cs index c862cc7bf..b10c7764e 100644 --- a/src/Twilio/Rest/Trusthub/V1/CustomerProfilesResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/CustomerProfilesResource.cs @@ -127,6 +127,7 @@ public static async System.Threading.Tasks.Task Create return await CreateAsync(options, client); } #endif + /// Delete a specific Customer-Profile. /// Delete CustomerProfiles parameters @@ -475,6 +476,7 @@ public static async System.Threading.Tasks.Task Update return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CustomerProfilesResource object diff --git a/src/Twilio/Rest/Trusthub/V1/EndUserOptions.cs b/src/Twilio/Rest/Trusthub/V1/EndUserOptions.cs index 485813948..5ea46f3eb 100644 --- a/src/Twilio/Rest/Trusthub/V1/EndUserOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/EndUserOptions.cs @@ -71,6 +71,7 @@ public List> GetParams() } + /// Delete a specific End User. public class DeleteEndUserOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/EndUserResource.cs b/src/Twilio/Rest/Trusthub/V1/EndUserResource.cs index d67ae1f30..58a29c8d9 100644 --- a/src/Twilio/Rest/Trusthub/V1/EndUserResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/EndUserResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific End User. /// Delete EndUser parameters @@ -435,6 +436,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a EndUserResource object diff --git a/src/Twilio/Rest/Trusthub/V1/SupportingDocumentOptions.cs b/src/Twilio/Rest/Trusthub/V1/SupportingDocumentOptions.cs index b6b2c6eec..93c03f0d3 100644 --- a/src/Twilio/Rest/Trusthub/V1/SupportingDocumentOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/SupportingDocumentOptions.cs @@ -71,6 +71,7 @@ public List> GetParams() } + /// Delete a specific Supporting Document. public class DeleteSupportingDocumentOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/SupportingDocumentResource.cs b/src/Twilio/Rest/Trusthub/V1/SupportingDocumentResource.cs index 99c52f15a..19b94beb1 100644 --- a/src/Twilio/Rest/Trusthub/V1/SupportingDocumentResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/SupportingDocumentResource.cs @@ -124,6 +124,7 @@ public static async System.Threading.Tasks.Task Crea return await CreateAsync(options, client); } #endif + /// Delete a specific Supporting Document. /// Delete SupportingDocument parameters @@ -452,6 +453,7 @@ public static async System.Threading.Tasks.Task Upda return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SupportingDocumentResource object diff --git a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsChannelEndpointAssignmentOptions.cs b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsChannelEndpointAssignmentOptions.cs index ec67cd0e4..6829064d1 100644 --- a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsChannelEndpointAssignmentOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsChannelEndpointAssignmentOptions.cs @@ -69,6 +69,7 @@ public List> GetParams() } + /// Remove an Assignment Item Instance. public class DeleteTrustProductsChannelEndpointAssignmentOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsChannelEndpointAssignmentResource.cs b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsChannelEndpointAssignmentResource.cs index c10859a2e..e327ff5cb 100644 --- a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsChannelEndpointAssignmentResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsChannelEndpointAssignmentResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task Remove an Assignment Item Instance. /// Delete TrustProductsChannelEndpointAssignment parameters diff --git a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEntityAssignmentsOptions.cs b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEntityAssignmentsOptions.cs index 303a10045..4f9285f8a 100644 --- a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEntityAssignmentsOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEntityAssignmentsOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Remove an Assignment Item Instance. public class DeleteTrustProductsEntityAssignmentsOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEntityAssignmentsResource.cs b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEntityAssignmentsResource.cs index 946fba1d6..1867bc1a4 100644 --- a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEntityAssignmentsResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEntityAssignmentsResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task Remove an Assignment Item Instance. /// Delete TrustProductsEntityAssignments parameters diff --git a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEvaluationsOptions.cs b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEvaluationsOptions.cs index 413a50b01..9c41a0cd4 100644 --- a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEvaluationsOptions.cs +++ b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEvaluationsOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Fetch specific Evaluation Instance. public class FetchTrustProductsEvaluationsOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEvaluationsResource.cs b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEvaluationsResource.cs index ffa93186d..9fdd9433a 100644 --- a/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEvaluationsResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/TrustProducts/TrustProductsEvaluationsResource.cs @@ -118,6 +118,7 @@ public static async System.Threading.Tasks.Task> GetParams() } + /// Delete a specific Trust Product. public class DeleteTrustProductsOptions : IOptions { diff --git a/src/Twilio/Rest/Trusthub/V1/TrustProductsResource.cs b/src/Twilio/Rest/Trusthub/V1/TrustProductsResource.cs index c70f2fac7..12d9421f9 100644 --- a/src/Twilio/Rest/Trusthub/V1/TrustProductsResource.cs +++ b/src/Twilio/Rest/Trusthub/V1/TrustProductsResource.cs @@ -127,6 +127,7 @@ public static async System.Threading.Tasks.Task CreateAsy return await CreateAsync(options, client); } #endif + /// Delete a specific Trust Product. /// Delete TrustProducts parameters @@ -475,6 +476,7 @@ public static async System.Threading.Tasks.Task UpdateAsy return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TrustProductsResource object diff --git a/src/Twilio/Rest/Verify/V2/SafelistOptions.cs b/src/Twilio/Rest/Verify/V2/SafelistOptions.cs index 2199ae764..985670826 100644 --- a/src/Twilio/Rest/Verify/V2/SafelistOptions.cs +++ b/src/Twilio/Rest/Verify/V2/SafelistOptions.cs @@ -55,6 +55,7 @@ public List> GetParams() } + /// Remove a phone number from SafeList. public class DeleteSafelistOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/SafelistResource.cs b/src/Twilio/Rest/Verify/V2/SafelistResource.cs index d403cfd1f..fa8ecd356 100644 --- a/src/Twilio/Rest/Verify/V2/SafelistResource.cs +++ b/src/Twilio/Rest/Verify/V2/SafelistResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Remove a phone number from SafeList. /// Delete Safelist parameters diff --git a/src/Twilio/Rest/Verify/V2/Service/AccessTokenOptions.cs b/src/Twilio/Rest/Verify/V2/Service/AccessTokenOptions.cs index f7b575115..514987e4b 100644 --- a/src/Twilio/Rest/Verify/V2/Service/AccessTokenOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/AccessTokenOptions.cs @@ -83,6 +83,7 @@ public List> GetParams() } + /// Fetch an Access Token for the Entity public class FetchAccessTokenOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/Service/AccessTokenResource.cs b/src/Twilio/Rest/Verify/V2/Service/AccessTokenResource.cs index e1302904a..34cdbbda0 100644 --- a/src/Twilio/Rest/Verify/V2/Service/AccessTokenResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/AccessTokenResource.cs @@ -129,6 +129,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchAccessTokenOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Verify/V2/Service/ApproveChallengeOptions.cs b/src/Twilio/Rest/Verify/V2/Service/ApproveChallengeOptions.cs index eb8f82930..5b1306660 100644 --- a/src/Twilio/Rest/Verify/V2/Service/ApproveChallengeOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/ApproveChallengeOptions.cs @@ -56,6 +56,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/Verify/V2/Service/ApproveChallengeResource.cs b/src/Twilio/Rest/Verify/V2/Service/ApproveChallengeResource.cs index 8d0d6509f..45d36f373 100644 --- a/src/Twilio/Rest/Verify/V2/Service/ApproveChallengeResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/ApproveChallengeResource.cs @@ -82,11 +82,11 @@ public class ApprovePasskeysChallengeRequest [JsonConverter(typeof(StringEnumConverter))] [JsonProperty("authenticatorAttachment")] private ApproveChallengeResource.AuthenticatorAttachmentEnum AuthenticatorAttachment {get; set;} + [JsonProperty("response")] + private ApprovePasskeysChallengeRequestResponse Response {get; set;} [JsonConverter(typeof(StringEnumConverter))] [JsonProperty("type")] private ApproveChallengeResource.TypeEnum Type {get; set;} - [JsonProperty("response")] - private ApprovePasskeysChallengeRequestResponse Response {get; set;} public ApprovePasskeysChallengeRequest() { } public class Builder { @@ -109,14 +109,14 @@ public Builder WithAuthenticatorAttachment(ApproveChallengeResource.Authenticato _approvePasskeysChallengeRequest.AuthenticatorAttachment= authenticatorAttachment; return this; } - public Builder WithType(ApproveChallengeResource.TypeEnum type) + public Builder WithResponse(ApprovePasskeysChallengeRequestResponse response) { - _approvePasskeysChallengeRequest.Type= type; + _approvePasskeysChallengeRequest.Response= response; return this; } - public Builder WithResponse(ApprovePasskeysChallengeRequestResponse response) + public Builder WithType(ApproveChallengeResource.TypeEnum type) { - _approvePasskeysChallengeRequest.Response= response; + _approvePasskeysChallengeRequest.Type= type; return this; } public ApprovePasskeysChallengeRequest Build() @@ -270,6 +270,7 @@ public static async System.Threading.Tasks.Task Update return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ApproveChallengeResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/Entity/Challenge/NotificationOptions.cs b/src/Twilio/Rest/Verify/V2/Service/Entity/Challenge/NotificationOptions.cs index c2da21081..9a221a2e9 100644 --- a/src/Twilio/Rest/Verify/V2/Service/Entity/Challenge/NotificationOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/Entity/Challenge/NotificationOptions.cs @@ -68,5 +68,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Verify/V2/Service/Entity/Challenge/NotificationResource.cs b/src/Twilio/Rest/Verify/V2/Service/Entity/Challenge/NotificationResource.cs index 10ac7524f..e463178ea 100644 --- a/src/Twilio/Rest/Verify/V2/Service/Entity/Challenge/NotificationResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/Entity/Challenge/NotificationResource.cs @@ -117,6 +117,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a NotificationResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/Entity/ChallengeOptions.cs b/src/Twilio/Rest/Verify/V2/Service/Entity/ChallengeOptions.cs index d03b1ba66..9f99d8c72 100644 --- a/src/Twilio/Rest/Verify/V2/Service/Entity/ChallengeOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/Entity/ChallengeOptions.cs @@ -101,6 +101,7 @@ public List> GetParams() } + /// Fetch a specific Challenge. public class FetchChallengeOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/Service/Entity/ChallengeResource.cs b/src/Twilio/Rest/Verify/V2/Service/Entity/ChallengeResource.cs index 5e0defe0d..bd1f613f1 100644 --- a/src/Twilio/Rest/Verify/V2/Service/Entity/ChallengeResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/Entity/ChallengeResource.cs @@ -186,6 +186,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchChallengeOptions options, ITwilioRestClient client) { @@ -492,6 +493,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ChallengeResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/Entity/FactorResource.cs b/src/Twilio/Rest/Verify/V2/Service/Entity/FactorResource.cs index e8134307e..6f1e0a25d 100644 --- a/src/Twilio/Rest/Verify/V2/Service/Entity/FactorResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/Entity/FactorResource.cs @@ -471,6 +471,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a FactorResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/Entity/NewFactorOptions.cs b/src/Twilio/Rest/Verify/V2/Service/Entity/NewFactorOptions.cs index 548786ac3..35caca8b2 100644 --- a/src/Twilio/Rest/Verify/V2/Service/Entity/NewFactorOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/Entity/NewFactorOptions.cs @@ -158,5 +158,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Verify/V2/Service/Entity/NewFactorResource.cs b/src/Twilio/Rest/Verify/V2/Service/Entity/NewFactorResource.cs index 773cc4f9c..08fbb919a 100644 --- a/src/Twilio/Rest/Verify/V2/Service/Entity/NewFactorResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/Entity/NewFactorResource.cs @@ -216,6 +216,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a NewFactorResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/EntityOptions.cs b/src/Twilio/Rest/Verify/V2/Service/EntityOptions.cs index 402c4c25a..5807ccdb0 100644 --- a/src/Twilio/Rest/Verify/V2/Service/EntityOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/EntityOptions.cs @@ -60,6 +60,7 @@ public List> GetParams() } + /// Delete a specific Entity. public class DeleteEntityOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/Service/EntityResource.cs b/src/Twilio/Rest/Verify/V2/Service/EntityResource.cs index 83129569b..359e85a77 100644 --- a/src/Twilio/Rest/Verify/V2/Service/EntityResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/EntityResource.cs @@ -105,6 +105,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Entity. /// Delete Entity parameters diff --git a/src/Twilio/Rest/Verify/V2/Service/MessagingConfigurationOptions.cs b/src/Twilio/Rest/Verify/V2/Service/MessagingConfigurationOptions.cs index 877d48da6..94c33c66f 100644 --- a/src/Twilio/Rest/Verify/V2/Service/MessagingConfigurationOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/MessagingConfigurationOptions.cs @@ -69,6 +69,7 @@ public List> GetParams() } + /// Delete a specific MessagingConfiguration. public class DeleteMessagingConfigurationOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/Service/MessagingConfigurationResource.cs b/src/Twilio/Rest/Verify/V2/Service/MessagingConfigurationResource.cs index 58298c9e6..49fbadf01 100644 --- a/src/Twilio/Rest/Verify/V2/Service/MessagingConfigurationResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/MessagingConfigurationResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task return await CreateAsync(options, client); } #endif + /// Delete a specific MessagingConfiguration. /// Delete MessagingConfiguration parameters @@ -454,6 +455,7 @@ public static async System.Threading.Tasks.Task return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a MessagingConfigurationResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/NewChallengeOptions.cs b/src/Twilio/Rest/Verify/V2/Service/NewChallengeOptions.cs index 1f5590542..4d7d9a46c 100644 --- a/src/Twilio/Rest/Verify/V2/Service/NewChallengeOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/NewChallengeOptions.cs @@ -56,8 +56,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Verify/V2/Service/NewChallengeResource.cs b/src/Twilio/Rest/Verify/V2/Service/NewChallengeResource.cs index d1abad4df..bf2568e43 100644 --- a/src/Twilio/Rest/Verify/V2/Service/NewChallengeResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/NewChallengeResource.cs @@ -178,6 +178,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a NewChallengeResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/NewFactorOptions.cs b/src/Twilio/Rest/Verify/V2/Service/NewFactorOptions.cs index a39f59d81..288ddde14 100644 --- a/src/Twilio/Rest/Verify/V2/Service/NewFactorOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/NewFactorOptions.cs @@ -56,8 +56,10 @@ public string GetBody() } return body; } + } + } diff --git a/src/Twilio/Rest/Verify/V2/Service/NewFactorResource.cs b/src/Twilio/Rest/Verify/V2/Service/NewFactorResource.cs index b09cfec0c..f261d8143 100644 --- a/src/Twilio/Rest/Verify/V2/Service/NewFactorResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/NewFactorResource.cs @@ -293,6 +293,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a NewFactorResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/NewVerifyFactorOptions.cs b/src/Twilio/Rest/Verify/V2/Service/NewVerifyFactorOptions.cs index 9a1e76de2..88df9edb7 100644 --- a/src/Twilio/Rest/Verify/V2/Service/NewVerifyFactorOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/NewVerifyFactorOptions.cs @@ -56,6 +56,7 @@ public string GetBody() } return body; } + } diff --git a/src/Twilio/Rest/Verify/V2/Service/NewVerifyFactorResource.cs b/src/Twilio/Rest/Verify/V2/Service/NewVerifyFactorResource.cs index aa07abe51..cd304e665 100644 --- a/src/Twilio/Rest/Verify/V2/Service/NewVerifyFactorResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/NewVerifyFactorResource.cs @@ -69,6 +69,8 @@ public VerifyPasskeysFactorRequestResponse Build() } public class VerifyPasskeysFactorRequest { + [JsonProperty("response")] + private VerifyPasskeysFactorRequestResponse Response {get; set;} [JsonProperty("id")] private string Id {get; set;} [JsonProperty("rawId")] @@ -79,8 +81,6 @@ public class VerifyPasskeysFactorRequest [JsonConverter(typeof(StringEnumConverter))] [JsonProperty("type")] private NewVerifyFactorResource.TypeEnum Type {get; set;} - [JsonProperty("response")] - private VerifyPasskeysFactorRequestResponse Response {get; set;} public VerifyPasskeysFactorRequest() { } public class Builder { @@ -88,6 +88,11 @@ public class Builder public Builder() { } + public Builder WithResponse(VerifyPasskeysFactorRequestResponse response) + { + _verifyPasskeysFactorRequest.Response= response; + return this; + } public Builder WithId(string id) { _verifyPasskeysFactorRequest.Id= id; @@ -108,11 +113,6 @@ public Builder WithType(NewVerifyFactorResource.TypeEnum type) _verifyPasskeysFactorRequest.Type= type; return this; } - public Builder WithResponse(VerifyPasskeysFactorRequestResponse response) - { - _verifyPasskeysFactorRequest.Response= response; - return this; - } public VerifyPasskeysFactorRequest Build() { return _verifyPasskeysFactorRequest; @@ -265,6 +265,7 @@ public static async System.Threading.Tasks.Task UpdateA return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a NewVerifyFactorResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/RateLimit/BucketOptions.cs b/src/Twilio/Rest/Verify/V2/Service/RateLimit/BucketOptions.cs index 2c267caba..d93e35292 100644 --- a/src/Twilio/Rest/Verify/V2/Service/RateLimit/BucketOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/RateLimit/BucketOptions.cs @@ -74,6 +74,7 @@ public List> GetParams() } + /// Delete a specific Bucket. public class DeleteBucketOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/Service/RateLimit/BucketResource.cs b/src/Twilio/Rest/Verify/V2/Service/RateLimit/BucketResource.cs index 9ebb84e37..71c46be55 100644 --- a/src/Twilio/Rest/Verify/V2/Service/RateLimit/BucketResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/RateLimit/BucketResource.cs @@ -115,6 +115,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Bucket. /// Delete Bucket parameters @@ -485,6 +486,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a BucketResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/RateLimitOptions.cs b/src/Twilio/Rest/Verify/V2/Service/RateLimitOptions.cs index f7e371e1d..9fcb0f1c8 100644 --- a/src/Twilio/Rest/Verify/V2/Service/RateLimitOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/RateLimitOptions.cs @@ -67,6 +67,7 @@ public List> GetParams() } + /// Delete a specific Rate Limit. public class DeleteRateLimitOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/Service/RateLimitResource.cs b/src/Twilio/Rest/Verify/V2/Service/RateLimitResource.cs index c9466bf8e..ee9aae651 100644 --- a/src/Twilio/Rest/Verify/V2/Service/RateLimitResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/RateLimitResource.cs @@ -109,6 +109,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Rate Limit. /// Delete RateLimit parameters @@ -454,6 +455,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RateLimitResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/VerificationCheckOptions.cs b/src/Twilio/Rest/Verify/V2/Service/VerificationCheckOptions.cs index e2afca377..25c64c0c2 100644 --- a/src/Twilio/Rest/Verify/V2/Service/VerificationCheckOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/VerificationCheckOptions.cs @@ -93,5 +93,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Verify/V2/Service/VerificationCheckResource.cs b/src/Twilio/Rest/Verify/V2/Service/VerificationCheckResource.cs index 25d7cac21..67a4fe2cd 100644 --- a/src/Twilio/Rest/Verify/V2/Service/VerificationCheckResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/VerificationCheckResource.cs @@ -141,6 +141,7 @@ public static async System.Threading.Tasks.Task Creat return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a VerificationCheckResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/VerificationOptions.cs b/src/Twilio/Rest/Verify/V2/Service/VerificationOptions.cs index c0a8640f4..61343ea77 100644 --- a/src/Twilio/Rest/Verify/V2/Service/VerificationOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/VerificationOptions.cs @@ -181,6 +181,7 @@ public List> GetParams() } + /// Fetch a specific Verification public class FetchVerificationOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/Service/VerificationResource.cs b/src/Twilio/Rest/Verify/V2/Service/VerificationResource.cs index 51ddd2a49..928fad48c 100644 --- a/src/Twilio/Rest/Verify/V2/Service/VerificationResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/VerificationResource.cs @@ -213,6 +213,7 @@ public static async System.Threading.Tasks.Task CreateAsyn return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchVerificationOptions options, ITwilioRestClient client) { @@ -361,6 +362,7 @@ public static async System.Threading.Tasks.Task UpdateAsyn return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a VerificationResource object diff --git a/src/Twilio/Rest/Verify/V2/Service/WebhookOptions.cs b/src/Twilio/Rest/Verify/V2/Service/WebhookOptions.cs index d6be917ed..c27abf974 100644 --- a/src/Twilio/Rest/Verify/V2/Service/WebhookOptions.cs +++ b/src/Twilio/Rest/Verify/V2/Service/WebhookOptions.cs @@ -92,6 +92,7 @@ public List> GetParams() } + /// Delete a specific Webhook. public class DeleteWebhookOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/Service/WebhookResource.cs b/src/Twilio/Rest/Verify/V2/Service/WebhookResource.cs index 758678f4b..662564015 100644 --- a/src/Twilio/Rest/Verify/V2/Service/WebhookResource.cs +++ b/src/Twilio/Rest/Verify/V2/Service/WebhookResource.cs @@ -160,6 +160,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Webhook. /// Delete Webhook parameters @@ -521,6 +522,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a WebhookResource object diff --git a/src/Twilio/Rest/Verify/V2/ServiceOptions.cs b/src/Twilio/Rest/Verify/V2/ServiceOptions.cs index 17d26f0fe..daf637f89 100644 --- a/src/Twilio/Rest/Verify/V2/ServiceOptions.cs +++ b/src/Twilio/Rest/Verify/V2/ServiceOptions.cs @@ -230,6 +230,7 @@ public List> GetParams() } + /// Delete a specific Verification Service Instance. public class DeleteServiceOptions : IOptions { diff --git a/src/Twilio/Rest/Verify/V2/ServiceResource.cs b/src/Twilio/Rest/Verify/V2/ServiceResource.cs index 2d7926a2c..e45b9d5b2 100644 --- a/src/Twilio/Rest/Verify/V2/ServiceResource.cs +++ b/src/Twilio/Rest/Verify/V2/ServiceResource.cs @@ -199,6 +199,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a specific Verification Service Instance. /// Delete Service parameters @@ -623,6 +624,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ServiceResource object diff --git a/src/Twilio/Rest/Video/V1/CompositionHookOptions.cs b/src/Twilio/Rest/Video/V1/CompositionHookOptions.cs index 0bbc8bfa0..748c67c85 100644 --- a/src/Twilio/Rest/Video/V1/CompositionHookOptions.cs +++ b/src/Twilio/Rest/Video/V1/CompositionHookOptions.cs @@ -120,6 +120,7 @@ public List> GetParams() } + /// Delete a Recording CompositionHook resource identified by a `CompositionHook SID`. public class DeleteCompositionHookOptions : IOptions { diff --git a/src/Twilio/Rest/Video/V1/CompositionHookResource.cs b/src/Twilio/Rest/Video/V1/CompositionHookResource.cs index 39bfdb91d..812bc48a3 100644 --- a/src/Twilio/Rest/Video/V1/CompositionHookResource.cs +++ b/src/Twilio/Rest/Video/V1/CompositionHookResource.cs @@ -148,6 +148,7 @@ public static async System.Threading.Tasks.Task CreateA return await CreateAsync(options, client); } #endif + /// Delete a Recording CompositionHook resource identified by a `CompositionHook SID`. /// Delete CompositionHook parameters @@ -524,6 +525,7 @@ public static async System.Threading.Tasks.Task UpdateA return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a CompositionHookResource object diff --git a/src/Twilio/Rest/Video/V1/CompositionOptions.cs b/src/Twilio/Rest/Video/V1/CompositionOptions.cs index 1e45f0e95..cf004b39d 100644 --- a/src/Twilio/Rest/Video/V1/CompositionOptions.cs +++ b/src/Twilio/Rest/Video/V1/CompositionOptions.cs @@ -113,6 +113,7 @@ public List> GetParams() } + /// Delete a Recording Composition resource identified by a Composition SID. public class DeleteCompositionOptions : IOptions { diff --git a/src/Twilio/Rest/Video/V1/CompositionResource.cs b/src/Twilio/Rest/Video/V1/CompositionResource.cs index a7d1a31f9..fc92f9279 100644 --- a/src/Twilio/Rest/Video/V1/CompositionResource.cs +++ b/src/Twilio/Rest/Video/V1/CompositionResource.cs @@ -160,6 +160,7 @@ public static async System.Threading.Tasks.Task CreateAsync return await CreateAsync(options, client); } #endif + /// Delete a Recording Composition resource identified by a Composition SID. /// Delete Composition parameters diff --git a/src/Twilio/Rest/Video/V1/CompositionSettingsOptions.cs b/src/Twilio/Rest/Video/V1/CompositionSettingsOptions.cs index f066c7b94..ddf11f3ac 100644 --- a/src/Twilio/Rest/Video/V1/CompositionSettingsOptions.cs +++ b/src/Twilio/Rest/Video/V1/CompositionSettingsOptions.cs @@ -90,6 +90,7 @@ public List> GetParams() } + /// fetch public class FetchCompositionSettingsOptions : IOptions { diff --git a/src/Twilio/Rest/Video/V1/CompositionSettingsResource.cs b/src/Twilio/Rest/Video/V1/CompositionSettingsResource.cs index 1745f6fe3..cf0e61329 100644 --- a/src/Twilio/Rest/Video/V1/CompositionSettingsResource.cs +++ b/src/Twilio/Rest/Video/V1/CompositionSettingsResource.cs @@ -119,6 +119,7 @@ public static async System.Threading.Tasks.Task Cre return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchCompositionSettingsOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Video/V1/RecordingSettingsOptions.cs b/src/Twilio/Rest/Video/V1/RecordingSettingsOptions.cs index 95f23d28d..0fbe36506 100644 --- a/src/Twilio/Rest/Video/V1/RecordingSettingsOptions.cs +++ b/src/Twilio/Rest/Video/V1/RecordingSettingsOptions.cs @@ -90,6 +90,7 @@ public List> GetParams() } + /// fetch public class FetchRecordingSettingsOptions : IOptions { diff --git a/src/Twilio/Rest/Video/V1/RecordingSettingsResource.cs b/src/Twilio/Rest/Video/V1/RecordingSettingsResource.cs index 1a922eb7e..45be5bb54 100644 --- a/src/Twilio/Rest/Video/V1/RecordingSettingsResource.cs +++ b/src/Twilio/Rest/Video/V1/RecordingSettingsResource.cs @@ -119,6 +119,7 @@ public static async System.Threading.Tasks.Task Creat return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchRecordingSettingsOptions options, ITwilioRestClient client) { diff --git a/src/Twilio/Rest/Video/V1/Room/Participant/AnonymizeResource.cs b/src/Twilio/Rest/Video/V1/Room/Participant/AnonymizeResource.cs index 7e93fe425..557103e9b 100644 --- a/src/Twilio/Rest/Video/V1/Room/Participant/AnonymizeResource.cs +++ b/src/Twilio/Rest/Video/V1/Room/Participant/AnonymizeResource.cs @@ -121,6 +121,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a AnonymizeResource object diff --git a/src/Twilio/Rest/Video/V1/Room/Participant/SubscribeRulesResource.cs b/src/Twilio/Rest/Video/V1/Room/Participant/SubscribeRulesResource.cs index 651c6e48d..89ec47f2e 100644 --- a/src/Twilio/Rest/Video/V1/Room/Participant/SubscribeRulesResource.cs +++ b/src/Twilio/Rest/Video/V1/Room/Participant/SubscribeRulesResource.cs @@ -181,6 +181,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SubscribeRulesResource object diff --git a/src/Twilio/Rest/Video/V1/Room/ParticipantResource.cs b/src/Twilio/Rest/Video/V1/Room/ParticipantResource.cs index b4abfc9dc..238ff76c5 100644 --- a/src/Twilio/Rest/Video/V1/Room/ParticipantResource.cs +++ b/src/Twilio/Rest/Video/V1/Room/ParticipantResource.cs @@ -336,6 +336,7 @@ public static async System.Threading.Tasks.Task UpdateAsync return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ParticipantResource object diff --git a/src/Twilio/Rest/Video/V1/Room/RecordingRulesResource.cs b/src/Twilio/Rest/Video/V1/Room/RecordingRulesResource.cs index ed2ff0b80..8e551d80a 100644 --- a/src/Twilio/Rest/Video/V1/Room/RecordingRulesResource.cs +++ b/src/Twilio/Rest/Video/V1/Room/RecordingRulesResource.cs @@ -170,6 +170,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RecordingRulesResource object diff --git a/src/Twilio/Rest/Video/V1/Room/TranscriptionsOptions.cs b/src/Twilio/Rest/Video/V1/Room/TranscriptionsOptions.cs index 210ee9f3c..faa291b20 100644 --- a/src/Twilio/Rest/Video/V1/Room/TranscriptionsOptions.cs +++ b/src/Twilio/Rest/Video/V1/Room/TranscriptionsOptions.cs @@ -58,6 +58,7 @@ public List> GetParams() } + /// fetch public class FetchTranscriptionsOptions : IOptions { diff --git a/src/Twilio/Rest/Video/V1/Room/TranscriptionsResource.cs b/src/Twilio/Rest/Video/V1/Room/TranscriptionsResource.cs index f8445d214..6cfd7b44d 100644 --- a/src/Twilio/Rest/Video/V1/Room/TranscriptionsResource.cs +++ b/src/Twilio/Rest/Video/V1/Room/TranscriptionsResource.cs @@ -119,6 +119,7 @@ public static async System.Threading.Tasks.Task CreateAs return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchTranscriptionsOptions options, ITwilioRestClient client) { @@ -392,6 +393,7 @@ public static async System.Threading.Tasks.Task UpdateAs return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a TranscriptionsResource object diff --git a/src/Twilio/Rest/Video/V1/RoomOptions.cs b/src/Twilio/Rest/Video/V1/RoomOptions.cs index dec8db3e4..a1ce4cdbd 100644 --- a/src/Twilio/Rest/Video/V1/RoomOptions.cs +++ b/src/Twilio/Rest/Video/V1/RoomOptions.cs @@ -161,6 +161,7 @@ public List> GetParams() } + /// fetch public class FetchRoomOptions : IOptions { diff --git a/src/Twilio/Rest/Video/V1/RoomResource.cs b/src/Twilio/Rest/Video/V1/RoomResource.cs index 8731c2885..457c58ed0 100644 --- a/src/Twilio/Rest/Video/V1/RoomResource.cs +++ b/src/Twilio/Rest/Video/V1/RoomResource.cs @@ -205,6 +205,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + private static Request BuildFetchRequest(FetchRoomOptions options, ITwilioRestClient client) { @@ -477,6 +478,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RoomResource object diff --git a/src/Twilio/Rest/Voice/V1/ByocTrunkOptions.cs b/src/Twilio/Rest/Voice/V1/ByocTrunkOptions.cs index 148afa583..844f14542 100644 --- a/src/Twilio/Rest/Voice/V1/ByocTrunkOptions.cs +++ b/src/Twilio/Rest/Voice/V1/ByocTrunkOptions.cs @@ -112,6 +112,7 @@ public List> GetParams() } + /// delete public class DeleteByocTrunkOptions : IOptions { diff --git a/src/Twilio/Rest/Voice/V1/ByocTrunkResource.cs b/src/Twilio/Rest/Voice/V1/ByocTrunkResource.cs index db0f8e429..e0e531a5a 100644 --- a/src/Twilio/Rest/Voice/V1/ByocTrunkResource.cs +++ b/src/Twilio/Rest/Voice/V1/ByocTrunkResource.cs @@ -135,6 +135,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete ByocTrunk parameters @@ -495,6 +496,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ByocTrunkResource object diff --git a/src/Twilio/Rest/Voice/V1/ConnectionPolicy/ConnectionPolicyTargetOptions.cs b/src/Twilio/Rest/Voice/V1/ConnectionPolicy/ConnectionPolicyTargetOptions.cs index accf1a7cf..90688fa7f 100644 --- a/src/Twilio/Rest/Voice/V1/ConnectionPolicy/ConnectionPolicyTargetOptions.cs +++ b/src/Twilio/Rest/Voice/V1/ConnectionPolicy/ConnectionPolicyTargetOptions.cs @@ -88,6 +88,7 @@ public List> GetParams() } + /// delete public class DeleteConnectionPolicyTargetOptions : IOptions { diff --git a/src/Twilio/Rest/Voice/V1/ConnectionPolicy/ConnectionPolicyTargetResource.cs b/src/Twilio/Rest/Voice/V1/ConnectionPolicy/ConnectionPolicyTargetResource.cs index ddf5e0b4e..e4bdf0a1b 100644 --- a/src/Twilio/Rest/Voice/V1/ConnectionPolicy/ConnectionPolicyTargetResource.cs +++ b/src/Twilio/Rest/Voice/V1/ConnectionPolicy/ConnectionPolicyTargetResource.cs @@ -121,6 +121,7 @@ public static async System.Threading.Tasks.Task return await CreateAsync(options, client); } #endif + /// delete /// Delete ConnectionPolicyTarget parameters @@ -482,6 +483,7 @@ public static async System.Threading.Tasks.Task return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ConnectionPolicyTargetResource object diff --git a/src/Twilio/Rest/Voice/V1/ConnectionPolicyOptions.cs b/src/Twilio/Rest/Voice/V1/ConnectionPolicyOptions.cs index dc70fe9e9..b67dcf081 100644 --- a/src/Twilio/Rest/Voice/V1/ConnectionPolicyOptions.cs +++ b/src/Twilio/Rest/Voice/V1/ConnectionPolicyOptions.cs @@ -49,6 +49,7 @@ public List> GetParams() } + /// delete public class DeleteConnectionPolicyOptions : IOptions { diff --git a/src/Twilio/Rest/Voice/V1/ConnectionPolicyResource.cs b/src/Twilio/Rest/Voice/V1/ConnectionPolicyResource.cs index 41210d4d5..9c745ab0c 100644 --- a/src/Twilio/Rest/Voice/V1/ConnectionPolicyResource.cs +++ b/src/Twilio/Rest/Voice/V1/ConnectionPolicyResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task Create return await CreateAsync(options, client); } #endif + /// delete /// Delete ConnectionPolicy parameters @@ -423,6 +424,7 @@ public static async System.Threading.Tasks.Task Update return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a ConnectionPolicyResource object diff --git a/src/Twilio/Rest/Voice/V1/DialingPermissions/BulkCountryUpdateOptions.cs b/src/Twilio/Rest/Voice/V1/DialingPermissions/BulkCountryUpdateOptions.cs index 385e61f9f..03f9a94ff 100644 --- a/src/Twilio/Rest/Voice/V1/DialingPermissions/BulkCountryUpdateOptions.cs +++ b/src/Twilio/Rest/Voice/V1/DialingPermissions/BulkCountryUpdateOptions.cs @@ -55,5 +55,6 @@ public List> GetParams() } + } diff --git a/src/Twilio/Rest/Voice/V1/DialingPermissions/BulkCountryUpdateResource.cs b/src/Twilio/Rest/Voice/V1/DialingPermissions/BulkCountryUpdateResource.cs index 83907ca7f..0c1db8daa 100644 --- a/src/Twilio/Rest/Voice/V1/DialingPermissions/BulkCountryUpdateResource.cs +++ b/src/Twilio/Rest/Voice/V1/DialingPermissions/BulkCountryUpdateResource.cs @@ -99,6 +99,7 @@ public static async System.Threading.Tasks.Task Creat return await CreateAsync(options, client); } #endif + /// /// Converts a JSON string into a BulkCountryUpdateResource object diff --git a/src/Twilio/Rest/Voice/V1/DialingPermissions/SettingsResource.cs b/src/Twilio/Rest/Voice/V1/DialingPermissions/SettingsResource.cs index df8863b5c..fb202f984 100644 --- a/src/Twilio/Rest/Voice/V1/DialingPermissions/SettingsResource.cs +++ b/src/Twilio/Rest/Voice/V1/DialingPermissions/SettingsResource.cs @@ -159,6 +159,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SettingsResource object diff --git a/src/Twilio/Rest/Voice/V1/IpRecordOptions.cs b/src/Twilio/Rest/Voice/V1/IpRecordOptions.cs index 786e0a348..e2e1b2234 100644 --- a/src/Twilio/Rest/Voice/V1/IpRecordOptions.cs +++ b/src/Twilio/Rest/Voice/V1/IpRecordOptions.cs @@ -69,6 +69,7 @@ public List> GetParams() } + /// delete public class DeleteIpRecordOptions : IOptions { diff --git a/src/Twilio/Rest/Voice/V1/IpRecordResource.cs b/src/Twilio/Rest/Voice/V1/IpRecordResource.cs index 5ed8f78ab..3601db912 100644 --- a/src/Twilio/Rest/Voice/V1/IpRecordResource.cs +++ b/src/Twilio/Rest/Voice/V1/IpRecordResource.cs @@ -107,6 +107,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete IpRecord parameters @@ -431,6 +432,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a IpRecordResource object diff --git a/src/Twilio/Rest/Voice/V1/SourceIpMappingOptions.cs b/src/Twilio/Rest/Voice/V1/SourceIpMappingOptions.cs index 906e9d46a..7ea7fcfd8 100644 --- a/src/Twilio/Rest/Voice/V1/SourceIpMappingOptions.cs +++ b/src/Twilio/Rest/Voice/V1/SourceIpMappingOptions.cs @@ -64,6 +64,7 @@ public List> GetParams() } + /// delete public class DeleteSourceIpMappingOptions : IOptions { diff --git a/src/Twilio/Rest/Voice/V1/SourceIpMappingResource.cs b/src/Twilio/Rest/Voice/V1/SourceIpMappingResource.cs index adae80253..942e12172 100644 --- a/src/Twilio/Rest/Voice/V1/SourceIpMappingResource.cs +++ b/src/Twilio/Rest/Voice/V1/SourceIpMappingResource.cs @@ -103,6 +103,7 @@ public static async System.Threading.Tasks.Task CreateA return await CreateAsync(options, client); } #endif + /// delete /// Delete SourceIpMapping parameters @@ -427,6 +428,7 @@ public static async System.Threading.Tasks.Task UpdateA return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SourceIpMappingResource object diff --git a/src/Twilio/Rest/Wireless/V1/CommandOptions.cs b/src/Twilio/Rest/Wireless/V1/CommandOptions.cs index aec656bab..fd698d35f 100644 --- a/src/Twilio/Rest/Wireless/V1/CommandOptions.cs +++ b/src/Twilio/Rest/Wireless/V1/CommandOptions.cs @@ -97,6 +97,7 @@ public List> GetParams() } + /// Delete a Command instance from your account. public class DeleteCommandOptions : IOptions { diff --git a/src/Twilio/Rest/Wireless/V1/CommandResource.cs b/src/Twilio/Rest/Wireless/V1/CommandResource.cs index 6daf803f4..5abd7af40 100644 --- a/src/Twilio/Rest/Wireless/V1/CommandResource.cs +++ b/src/Twilio/Rest/Wireless/V1/CommandResource.cs @@ -178,6 +178,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// Delete a Command instance from your account. /// Delete Command parameters diff --git a/src/Twilio/Rest/Wireless/V1/RatePlanOptions.cs b/src/Twilio/Rest/Wireless/V1/RatePlanOptions.cs index 6dc77d623..c335b266a 100644 --- a/src/Twilio/Rest/Wireless/V1/RatePlanOptions.cs +++ b/src/Twilio/Rest/Wireless/V1/RatePlanOptions.cs @@ -126,6 +126,7 @@ public List> GetParams() } + /// delete public class DeleteRatePlanOptions : IOptions { diff --git a/src/Twilio/Rest/Wireless/V1/RatePlanResource.cs b/src/Twilio/Rest/Wireless/V1/RatePlanResource.cs index a231eca60..216bcccde 100644 --- a/src/Twilio/Rest/Wireless/V1/RatePlanResource.cs +++ b/src/Twilio/Rest/Wireless/V1/RatePlanResource.cs @@ -155,6 +155,7 @@ public static async System.Threading.Tasks.Task CreateAsync( return await CreateAsync(options, client); } #endif + /// delete /// Delete RatePlan parameters @@ -483,6 +484,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a RatePlanResource object diff --git a/src/Twilio/Rest/Wireless/V1/SimResource.cs b/src/Twilio/Rest/Wireless/V1/SimResource.cs index f56b63967..97ada58de 100644 --- a/src/Twilio/Rest/Wireless/V1/SimResource.cs +++ b/src/Twilio/Rest/Wireless/V1/SimResource.cs @@ -476,6 +476,7 @@ public static async System.Threading.Tasks.Task UpdateAsync( return await UpdateAsync(options, client); } #endif + /// /// Converts a JSON string into a SimResource object