public static async Task <StatsResultResponse> GetSavedQueryAsync(this IApplications operations, string adoxioSavedQueryid, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetSavedQueryWithHttpMessagesAsync(adoxioSavedQueryid, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }