Exemplo n.º 1
0
 /// <summary>
 /// Retrieve the list of virtual numbers available for a specific country.
 /// </summary>
 /// <param name="request">Search filter</param>
 /// <param name="creds">(Optional) Overridden credentials for only this request</param>
 /// <returns></returns>
 /// <exception cref="NexmoHttpRequestException">thrown if an error is encountered when talking to the API</exception>
 public Api.Number.SearchResults Search(Api.Number.SearchRequest request, Credentials creds = null)
 {
     return(Api.Number.Search(request, creds ?? Credentials));
 }
Exemplo n.º 2
0
 /// <summary>
 /// List Numbers available in your account
 /// </summary>
 /// <param name="request"></param>
 /// <param name="creds"></param>
 /// <returns></returns>
 /// <exception cref="NexmoHttpRequestException">thrown if an error is encountered when talking to the API</exception>
 public Api.Number.SearchResults ListOwnNumbers(Api.Number.SearchRequest request, Credentials creds = null)
 {
     return(Api.Number.ListOwnNumbers(request, creds ?? Credentials));
 }