class PetApi {

    public Pet getPetById(Long petId) throws IOException {
        HttpResponse response = getPetByIdForHttpResponse(petId);
        TypeReference<Pet> typeRef = new TypeReference<Pet>() {};
        return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
    }

    public  PetApi();
    public  PetApi(ApiClient apiClient);

}