/// <summary>
        /// The modify server farm.
        /// </summary>
        /// <param name="networkId">
        /// The network id.
        /// </param>
        /// <param name="serverFarmId">
        /// The server farm id.
        /// </param>
        /// <param name="predictor">
        /// The predictor.
        /// </param>
        /// <returns>
        /// The <see cref="Task"/>.
        /// </returns>
        public async Task <Status> ModifyServerFarm(string networkId, string serverFarmId, ServerFarmPredictorType predictor)
        {
            var parameters = new Dictionary <string, string>
            {
                {
                    "predictor", predictor.ToString()
                }
            };

            // build the query string
            string poststring = parameters.ToQueryString();

            Status status =
                await
                this._apiClient.PostAsync <Status>(
                    ApiUris.GetVipServerFarm(this._apiClient.OrganizationId, networkId, serverFarmId),
                    poststring);

            return(status);
        }
		/// <summary>
		/// Modify a  ServerFarm
		/// </summary>
		/// <param name="client">
		/// The <see cref="IComputeApiClient"/> object.
		/// </param>
		/// <param name="networkId">
		/// The network id
		/// </param>
		/// <param name="serverFarmId">
		/// The server farm id
		/// </param>
		/// <param name="predictor">
		/// Either LEAST_CONNECTIONS or ROUND_ROBIN 
		/// </param>
		/// <returns>
		/// The <see cref="Task"/>.
		/// </returns>
		public static async Task<Status> ModifyServerFarm(this IComputeApiClient client, 
			string networkId, 
			string serverFarmId, 
			ServerFarmPredictorType predictor
			)
		{
			var parameters = new Dictionary<string, string> {{"predictor", predictor.ToString()}};


			// build the query string
			string poststring = parameters.ToQueryString();

			Status status =
				await
					client.WebApi.ApiPostAsync<Status>(
						ApiUris.GetVipServerFarm(client.Account.OrganizationId, networkId, serverFarmId), poststring);
			return status;
		}