/// <summary>
        ///     List of preferences that are configured.
        /// </summary>
        /// <returns>Preferences object.</returns>
        public Preferences GetPreferences()
        {
            var url      = baseAddress + "/preferences";
            var response = ZohoHttpClient.get(url, getQueryParameters());

            return(SettingsParser.getPreferences(response));
        }
        /// <summary>
        ///     Update the preferences that has been configured.
        /// </summary>
        /// <param name="update_info">The update_info is the Preferences object which contains the updation information.</param>
        /// <returns>System.String.<br></br>The success message is "Preferences have been saved."</returns>
        public Preferences UpdatePreferences(Preferences update_info)
        {
            var url        = baseAddress + "/preferences";
            var json       = JsonConvert.SerializeObject(update_info);
            var jsonstring = new Dictionary <object, object>();

            jsonstring.Add("JSONString", json);
            var response = ZohoHttpClient.put(url, getQueryParameters(jsonstring));

            return(SettingsParser.getPreferences(response));
        }