class PetApi {

    public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File file) throws IOException {
        HttpResponse response = uploadFileForHttpResponse(petId, additionalMetadata, file);
        TypeReference<ModelApiResponse> typeRef = new TypeReference<ModelApiResponse>() {};
        return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
    }

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

}