Exemplo n.º 1
0
 /// <summary>
 /// ListEntitiesAsync
 /// </summary>
 /// <param name="options">options</param>
 /// <param name="requestOptions">requestOptions</param>
 /// <param name="cancellationToken">cancellationToken</param>
 /// <returns>TelnyxList {EntityReturned}</returns>
 protected async Task <TelnyxList <EntityReturned> > ListEntitiesAsync(ListOptions options, RequestOptions requestOptions, CancellationToken cancellationToken)
 {
     return(await this.GetRequestAsync <TelnyxList <EntityReturned> >(this.ClassUrl(), options, requestOptions, true, cancellationToken));
 }
Exemplo n.º 2
0
 /// <summary>
 /// ListEntities
 /// </summary>
 /// <param name="options">options</param>
 /// <param name="requestOptions">requestOptions</param>
 /// <returns>TelnyxList {EntityReturned}</returns>
 protected TelnyxList <EntityReturned> ListEntities(ListOptions options, RequestOptions requestOptions)
 {
     return(this.GetRequest <TelnyxList <EntityReturned> >(this.ClassUrl(), options, requestOptions, true));
 }