Пример #1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <bool?> ApiKycReportingRebuildPerformPostAsync(this IKycReportsAPI operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ApiKycReportingRebuildPerformPostWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #2
0
 /// <summary>
 /// Checks service is alive
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> IsAliveAsync(this IKycReportsAPI operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.IsAliveWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #3
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dateFrom'>
 /// </param>
 /// <param name='dateTo'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <string> ApiKycReportingPerformByDateFromByDateToGetAsync(this IKycReportsAPI operations, System.DateTime dateFrom, System.DateTime dateTo, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ApiKycReportingPerformByDateFromByDateToGetWithHttpMessagesAsync(dateFrom, dateTo, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Пример #4
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dateFrom'>
 /// </param>
 /// <param name='dateTo'>
 /// </param>
 public static string ApiKycReportingPerformByDateFromByDateToGet(this IKycReportsAPI operations, System.DateTime dateFrom, System.DateTime dateTo)
 {
     return(operations.ApiKycReportingPerformByDateFromByDateToGetAsync(dateFrom, dateTo).GetAwaiter().GetResult());
 }
Пример #5
0
 /// <summary>
 /// Checks service is alive
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static object IsAlive(this IKycReportsAPI operations)
 {
     return(operations.IsAliveAsync().GetAwaiter().GetResult());
 }
Пример #6
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dateFrom'>
 /// </param>
 /// <param name='dateTo'>
 /// </param>
 public static IList <KycClientStatRow> ApiKycReportingClientStatShortByDateFromByDateToGet(this IKycReportsAPI operations, System.DateTime dateFrom, System.DateTime dateTo)
 {
     return(operations.ApiKycReportingClientStatShortByDateFromByDateToGetAsync(dateFrom, dateTo).GetAwaiter().GetResult());
 }
Пример #7
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static bool?ApiKycReportingRebuildPerformPost(this IKycReportsAPI operations)
 {
     return(operations.ApiKycReportingRebuildPerformPostAsync().GetAwaiter().GetResult());
 }
Пример #8
0
 public KycReportsClient(string serviceUrl, ILogFactory logFactory)
 {
     _log = logFactory.CreateLog(this);
     _api = new KycReportsAPI(new Uri(serviceUrl), new HttpClient());
 }
Пример #9
0
 public KycReportsClient(string serviceUrl, ILog log)
 {
     _log = log;
     _api = new KycReportsAPI(new Uri(serviceUrl), new HttpClient());
 }