Package org.iplantc.agave.client

Examples of org.iplantc.agave.client.ApiException


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


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

  }

  public PostIt create(PostItRequest 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 = "/postits/" + Settings.API_VERSION + "/".replaceAll("\\{format\\}", "json");

    // query params
View Full Code Here

  }

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

  }

  public MonitorResponse add(MonitorRequest 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 = "/monitors/" + Settings.API_VERSION + "/".replaceAll("\\{format\\}", "json");

    // query params
View Full Code Here

  }

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

  }

  public MonitorResponse update(MonitorRequest 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 = "/monitors/" + Settings.API_VERSION + "/{monitorId}".replaceAll("\\{format\\}",
        "json");
View Full Code Here

  }

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

  public MultipleMonitorCheckResponse listChecks(String monitorId,
      String startDate, String endDate, String result, Integer limit,
      Integer offset) throws ApiException {
    // verify required params are set
    if (monitorId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/monitors/" + Settings.API_VERSION + "/{monitorId}/checks".replaceAll(
        "\\{format\\}", "json").replaceAll("\\{" + "monitorId" + "\\}",
        apiInvoker.escapeString(monitorId.toString()));
View Full Code Here

  }

  public MonitorCheckResponse runCheck(String monitorId) throws ApiException {
    // verify required params are set
    if (monitorId == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/monitors/" + Settings.API_VERSION + "/{monitorId}/checks".replaceAll(
        "\\{format\\}", "json").replaceAll("\\{" + "monitorId" + "\\}",
        apiInvoker.escapeString(monitorId.toString()));
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.