Package org.iplantc.agave.client

Examples of org.iplantc.agave.client.ApiException


  public SingleApplicationResponse add(ApplicationRequest body)
      throws ApiException {
    // verify required params are set
    if (body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/".replaceAll("\\{format\\}", "json");

    // query params
View Full Code Here


  }

  public SingleApplicationResponse get(String appId) throws ApiException {
    // verify required params are set
    if (appId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "appId" + "\\}",
            apiInvoker.escapeString(appId.toString()));
View Full Code Here

  public SingleApplicationResponse update(String appId,
      ApplicationRequest body) throws ApiException {
    // verify required params are set
    if (appId == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "appId" + "\\}",
            apiInvoker.escapeString(appId.toString()));
View Full Code Here

  public SingleApplicationResponse manage(String appId,
      ApplicationOperationRequest body) throws ApiException {
    // verify required params are set
    if (appId == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "appId" + "\\}",
            apiInvoker.escapeString(appId.toString()));
View Full Code Here

  }

  public EmptyApplicationResponse delete(String appId) throws ApiException {
    // verify required params are set
    if (appId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "appId" + "\\}",
            apiInvoker.escapeString(appId.toString()));
View Full Code Here

  public ApplicationPermissionResponse listPermissions(String appId)
      throws ApiException {
    // verify required params are set
    if (appId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}/pems"
        .replaceAll("\\{format\\}", "json").replaceAll(
            "\\{" + "appId" + "\\}",
View Full Code Here

  public EmptyApplicationResponse updateApplicationPermissions(String appId,
      ApplicationPermissionRequest body) throws ApiException {
    // verify required params are set
    if (appId == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}/pems"
        .replaceAll("\\{format\\}", "json").replaceAll(
            "\\{" + "appId" + "\\}",
View Full Code Here

  public EmptyApplicationResponse deletePermissions(String appId)
      throws ApiException {
    // verify required params are set
    if (appId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}/pems"
        .replaceAll("\\{format\\}", "json").replaceAll(
            "\\{" + "appId" + "\\}",
View Full Code Here

  public ApplicationPermissionResponse listPermissionsForUser(String appId,
      String username) throws ApiException {
    // verify required params are set
    if (appId == null || username == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}/pems/{username}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "appId" + "\\}",
View Full Code Here

  public EmptyApplicationResponse updatePermissionsForUser(String appId,
      String username, ApplicationPermissionRequest body)
      throws ApiException {
    // verify required params are set
    if (appId == null || username == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/apps/" + Settings.API_VERSION + "/{appId}/pems/{username}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "appId" + "\\}",
View Full Code Here

TOP

Related Classes of org.iplantc.agave.client.ApiException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.