public IRestResponse<T> ExecuteRequest<T>(CustomRequest request) where T : new() { if (request == null) { throw new ArgumentNullException(nameof(request)); } var restResponse = Client.Execute<T>(request.Build()); return restResponse; }