///** Submits search changes to the service. The provided data must include the search's guid field for identification. The service will apply updates to the following search fields: name, query, and format.
			// @param  search The search object containing the requested changes.
			// */
			public int UpdateSearch(SavedSearch search)
			{
				return Client.updateSearch(AuthenticationToken(), search);
			}
Ejemplo n.º 2
0
 /// <summary>
 /// Makes a new SavedSearch in the account.
 /// </summary>
 public SavedSearch CreateSearch(SavedSearch s)
 {
     lock (this)
         using (var httpClient = GetHttpClient())
         {
             return GetNoteStoreClient(httpClient).createSearch(this.authToken, s);
         }
 }
			///** Asks the service to make a saved search with a set of information.
			// @param  search The desired list of fields for the search are specified in this object. The caller must specify the name, query, and format of the search.
			// */
			public SavedSearch CreateSearch(SavedSearch search)
			{
				return Client.createSearch(AuthenticationToken(), search);
			}