public EventsApi(HttpClient client, IEventsApiClientConfiguration configuration)
            : base(client)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration));
            }

            _configuration = configuration;
        }
 public EventsApi(IEventsApiClientConfiguration configuration) : this(new HttpClient(), configuration)
 {
 }