Пример #1
0
        /// <summary>
        /// searches inventory By passing in the appropriate options, you can search for available inventory in the system
        /// </summary>
        /// <exception cref="Todos.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="q">pass an optional search string for looking up todos (optional)</param>
        /// <param name="skip">number of records to skip for pagination (optional)</param>
        /// <param name="limit">maximum number of records to return (optional)</param>
        /// <returns>Task of List&lt;TodoItem&gt;</returns>
        public async System.Threading.Tasks.Task <List <TodoItem> > SearchInventoryAsync(string q = null, int?skip = null, int?limit = null)
        {
            Todos.Client.ApiResponse <List <TodoItem> > localVarResponse = await SearchInventoryAsyncWithHttpInfo(q, skip, limit);

            return(localVarResponse.Data);
        }
Пример #2
0
 /// <summary>
 /// searches inventory By passing in the appropriate options, you can search for available inventory in the system
 /// </summary>
 /// <exception cref="Todos.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="q">pass an optional search string for looking up todos (optional)</param>
 /// <param name="skip">number of records to skip for pagination (optional)</param>
 /// <param name="limit">maximum number of records to return (optional)</param>
 /// <returns>List&lt;TodoItem&gt;</returns>
 public List <TodoItem> SearchInventory(string q = null, int?skip = null, int?limit = null)
 {
     Todos.Client.ApiResponse <List <TodoItem> > localVarResponse = SearchInventoryWithHttpInfo(q, skip, limit);
     return(localVarResponse.Data);
 }