/// <summary>
        /// Updates connector based on "UpdateConnector" object.
        /// </summary>
        /// <param name="accountId">Account ID.</param>
        /// <param name="updateConnector">Update Connector.</param>
        /// <param name="client">REST client.</param>
        /// <returns></returns>
        private static Connector Update(int accountId, UpdateConnector updateConnector, IVcRestClient client = null)
        {
            Connector connector = Update <Connector>(BuildUpdateUrl(accountId, updateConnector.Id), updateConnector, new JsonConverter[] { new CallbackJsonConverter() }, client);

            PopulatePhoneNumbers(connector, client);

            return(connector);
        }
        /// <summary>
        /// Updates connector based on parameter values.
        /// </summary>
        /// <param name="accountId">Account ID.</param>
        /// <param name="id">Connector ID.</param>
        /// <param name="active">Active.</param>
        /// <param name="name">Name.</param>
        /// <param name="callbacks">Callbacks.</param>
        /// <param name="numbers">Phone Numbers.</param>
        /// <param name="client">REST client.</param>
        /// <returns></returns>
        private static Connector Update(int accountId, int id, bool active, string name, List <ICallback> callbacks, List <ConnectorNumber> numbers, bool moreNumbers, IVcRestClient client = null)
        {
            UpdateConnector updateConnector = new UpdateConnector(id)
            {
                Active      = active,
                Name        = name,
                Callbacks   = callbacks,
                Numbers     = numbers,
                MoreNumbers = moreNumbers
            };

            return(Update(accountId, updateConnector, client));
        }