示例#1
0
 /// <summary>
 /// ListAsync
 /// </summary>
 /// <param name="options">options</param>
 /// <param name="requestOptions">requestOptions</param>
 /// <param name="cancellationToken">cancellationToken</param>
 /// <returns>TelnyxList of AvailablePhoneNumber</returns>
 public virtual async Task <TelnyxList <AvailablePhoneNumber> > ListAsync(NumberSearchListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(await this.ListEntitiesAsync(options, requestOptions, cancellationToken));
 }
示例#2
0
 /// <summary>
 /// List
 /// </summary>
 /// <param name="options">options</param>
 /// <param name="requestOptions">requestOptions</param>
 /// <returns>TelnyxList of AvailablePhoneNumber</returns>
 public virtual TelnyxList <AvailablePhoneNumber> List(NumberSearchListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListEntities(options, requestOptions));
 }