/// <summary>
        /// Creates a connector based on CreateConnector object.
        /// </summary>
        /// <param name="accountId">Account ID.</param>
        /// <param name="createConnector">CreateConnector</param>
        /// <param name="client">REST client.</param>
        /// <returns></returns>
        private static Connector Create(int accountId, CreateConnector createConnector, IVcRestClient client = null)
        {
            Connector connector = Create <Connector>(BuildCreateUrl(accountId), createConnector, new JsonConverter[] { new CallbackJsonConverter() }, client);

            PopulatePhoneNumbers(connector, client);

            return(connector);
        }
        /// <summary>
        /// Creates connector based on parameter values.
        /// </summary>
        /// <param name="accountId">Account ID.</param>
        /// <param name="name">Name.</param>
        /// <param name="callbacks">Callbacks.</param>
        /// <param name="numbers">Phone Number.</param>
        /// <param name="client">REST client.</param>
        /// <returns></returns>
        private static Connector Create(int accountId, bool active, string name, List <ICallback> callbacks, List <ConnectorNumber> numbers, IVcRestClient client = null)
        {
            CreateConnector createConnector = new CreateConnector(name)
            {
                Active    = active,
                Callbacks = callbacks,
                Numbers   = numbers
            };

            return(Create(accountId, createConnector, client));
        }