/**
 * Client automatically generated by SDKgen please do not edit this file manually
 * @see https://sdkgen.app
 */


import app.sdkgen.client.ClientAbstract;
import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.HttpClientBuilder;

public class Client extends ClientAbstract
{
    public function Client(String baseUrl, String token, TokenStoreInterface tokenStore)
    {
        super(baseUrl, new HttpBearer(token), tokenStore);
    }

    public function Client(String baseUrl, String token, )
    {
        super(baseUrl, new HttpBearer(token), null);
    }

    /**
     * Tag: foo
     */
    public FooGroup foo()
    {
        return new FooGroup(
            this.baseUrl,
            this.newHttpClient(),
            this.httpClient
        );
    }

    /**
     * Tag: bar
     */
    public BarGroup bar()
    {
        return new BarGroup(
            this.baseUrl,
            this.newHttpClient(),
            this.httpClient
        );
    }

}
