Esempio n. 1
0
        public static async Task <AccountResource> UpdateAccountAsync(ITwilioRestClient client, string accountSid, string friendlyName, AccountResource.StatusEnum status)
        {
            var options = new UpdateAccountOptions
            {
                Status       = status,
                FriendlyName = friendlyName,
                PathSid      = accountSid
            };

            return(await AccountResource.UpdateAsync(options, client));
        }