Package org.iplantc.agave.client

Examples of org.iplantc.agave.client.ApiException


  public SingleInternalUserResponse addInternalUser(String apiUsername,
      InternalUserRequest body) throws ApiException {
    // verify required params are set
    if (apiUsername == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/profiles/" + Settings.API_VERSION + "/{apiUsername}/users".replaceAll(
        "\\{format\\}", "json").replaceAll(
        "\\{" + "apiUsername" + "\\}",
View Full Code Here


  public SingleInternalUserResponse getInternalUser(String apiUsername,
      String internalUsername) throws ApiException {
    // verify required params are set
    if (apiUsername == null || internalUsername == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/profiles/" + Settings.API_VERSION + "/{apiUsername}/users/{internalUsername}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "apiUsername" + "\\}",
View Full Code Here

  public SingleInternalUserResponse deleteInternalUser(String apiUsername,
      String internalUsername) throws ApiException {
    // verify required params are set
    if (apiUsername == null || internalUsername == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/profiles/" + Settings.API_VERSION + "/{apiUsername}/users/{internalUsername}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "apiUsername" + "\\}",
View Full Code Here

  public SingleInternalUserResponse updateInternalUser(String apiUsername,
      String internalUsername, InternalUserRequest body)
      throws ApiException {
    // verify required params are set
    if (apiUsername == null || internalUsername == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/profiles/" + Settings.API_VERSION + "/{apiUsername}/users/{internalUsername}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "apiUsername" + "\\}",
View Full Code Here

  public MultipleProfileResponse searchInternalUsers(String username,
      String term, String value) throws ApiException {
    // verify required params are set
    if (username == null || term == null || value == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/profiles/" + Settings.API_VERSION + "/{username}/users/search/{term}/{value}"
        .replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "username" + "\\}",
View Full Code Here

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

    // query params
View Full Code Here

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

    // query params
View Full Code Here

  }

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

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

  }

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