2 * Copyright (C) The Arvados Authors. All rights reserved.
4 * SPDX-License-Identifier: AGPL-3.0 OR Apache-2.0
8 package org.arvados.client.api.client;
10 import org.arvados.client.api.model.KeepService;
11 import org.arvados.client.api.model.KeepServiceList;
12 import org.arvados.client.config.ConfigProvider;
13 import org.slf4j.Logger;
15 public class KeepServicesApiClient extends BaseStandardApiClient<KeepService, KeepServiceList> {
17 private static final String RESOURCE = "keep_services";
18 private final Logger log = org.slf4j.LoggerFactory.getLogger(KeepServicesApiClient.class);
20 public KeepServicesApiClient(ConfigProvider config) {
24 public KeepServiceList accessible() {
25 log.debug("Get list of accessible {}", getType().getSimpleName());
26 return callForList(getNoArgumentMethodRequest("accessible"));
30 String getResource() {
35 Class<KeepService> getType() {
36 return KeepService.class;
40 Class<KeepServiceList> getListType() {
41 return KeepServiceList.class;