<commit_before>﻿using System.Net.Http;
using System.Threading.Tasks;
using WebApiDoodle.Net.Http.Client.Model;
using WebApiDoodle.Net.Http.Client.Sample45.Models;
using WebApiDoodle.Net.Http.Client.Sample45.RequestCommands;

namespace WebApiDoodle.Net.Http.Client.Sample45.Clients {

    public class CarsClient : HttpApiClient<Car, int>, ICarsClient {

        // TODO: Handle exceptions with HttpApiError.
        // TODO: Handle response disposition.

        private const string BaseUriTemplate = "api/cars";
        public CarsClient(HttpClient httpClient) 
            : base(httpClient) {
        }

        /// <summary>
        /// Gets the cars list.
        /// </summary>
        /// <param name="paginationCmd"></param><commit_msg>added a stupid comment for CarsClient<commit_after>﻿using System.Net.Http;
using System.Threading.Tasks;
using WebApiDoodle.Net.Http.Client.Model;
using WebApiDoodle.Net.Http.Client.Sample45.Models;
using WebApiDoodle.Net.Http.Client.Sample45.RequestCommands;

namespace WebApiDoodle.Net.Http.Client.Sample45.Clients {

    /// <summary>
    /// HTTP API Client for Cars resource.
    /// </summary>
    public class CarsClient : HttpApiClient<Car, int>, ICarsClient {

        // TODO: Handle exceptions with HttpApiError.
        // TODO: Handle response disposition.

        private const string BaseUriTemplate = "api/cars";
        public CarsClient(HttpClient httpClient) 
            : base(httpClient) {
        }

        /// <summary>
        /// Gets the cars list.
        /// </summary>
        /// <param name="paginationCmd"></param>
{'fraction_non_alphanumeric': 0.11606022584692598, 'fraction_numerical': 0.0075282308657465494, 'mean_word_length': 2.7093023255813953, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4740842', 'n_tokens_mistral': 468, 'n_tokens_neox': 451, 'n_words': 100}