Client class and ApiInterface