/// <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); } }
/// <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); } }
/// <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); } }
/// <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()); }
/// <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()); }
/// <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()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> public static bool?ApiKycReportingRebuildPerformPost(this IKycReportsAPI operations) { return(operations.ApiKycReportingRebuildPerformPostAsync().GetAwaiter().GetResult()); }
public KycReportsClient(string serviceUrl, ILogFactory logFactory) { _log = logFactory.CreateLog(this); _api = new KycReportsAPI(new Uri(serviceUrl), new HttpClient()); }
public KycReportsClient(string serviceUrl, ILog log) { _log = log; _api = new KycReportsAPI(new Uri(serviceUrl), new HttpClient()); }