All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jelastic.api.marketplace.Installation Maven / Gradle / Ivy

The newest version!
package com.jelastic.api.marketplace;

import java.util.Map;
import java.util.HashMap;
import java.util.List;
import com.jelastic.api.AbstractService;
import com.jelastic.api.Callback;
import com.jelastic.api.client.annotation.JelasticModuleName;
import com.jelastic.api.core.utils.Transport;
import com.jelastic.api.marketplace.response.AppInfoResponse;
import com.jelastic.api.marketplace.response.GetScriptingAppidResponse;
import com.jelastic.api.response.ScriptEvalProxyResponse;
import com.jelastic.api.marketplace.response.InstallResponse;
import com.jelastic.api.marketplace.response.SettingsResponse;

/**
* @name Jelastic API Client
* @version 8.11.2
* @copyright Jelastic, Inc.
**/


@JelasticModuleName(name="jelastic")
public class Installation extends AbstractService {

  public static String SERVICE_PATH = "marketplace/installation/";
  private String serviceUrl = SERVER_URL + SERVICE_PATH;
  private String appid = null;
  private String session = null;
  private String client_source = null;

  public Installation(){}

  public Installation(Map _params){
     this((String)_params.get("appid"), (String)_params.get("session"), (String)_params.get("serviceUrl"));
     String serverUrl = (String) _params.get("serverUrl");
     if (serverUrl != null) setServerUrl(serverUrl);
  }

  public Installation(String appid, String session, String serviceUrl){
     if (appid != null) this.appid = appid;
     if (session != null) this.session = session;
     if (serviceUrl != null) this.serviceUrl = serviceUrl;
  }

  public Installation(String appid, String session){
     this(appid, session, null);
  }

  public Installation(String appid){
     this(appid, null, null);
  }

  public String getAppid(){
     return appid;
  }

  public Installation setAppid(String appid){
     this.appid = appid;
     return this;
  }

  public String getSession(){
     return session;
  }

  public Installation setSession(String session){
     this.session = session;
     return this;
  }

  public String getServiceUrl(){
     return serviceUrl;
  }

  public Installation setServiceUrl(String serviceUrl){
     this.serviceUrl = serviceUrl;
     return this;
  }

  public String getServerUrl(){
     return serviceUrl;
  }

  public Installation setServerUrl(String serverUrl){
     this.serviceUrl = serverUrl + SERVICE_PATH;
     return this;
  }

  public Installation setClientSource(String client_source){
     this.client_source = client_source;
     return this;
  }

  public String getClientSource(){
     return client_source ;
  }

  public AppInfoResponse getInfo(String appid, String session, String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (AppInfoResponse) _call(appid, serviceUrl + "rest/getinfo", _params, AppInfoResponse.class);
  }

  public AppInfoResponse getInfo(String appid, String session, String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (AppInfoResponse) _call(appid, serviceUrl + "rest/getinfo", _params, headers, AppInfoResponse.class);
  }

  public Installation getInfo(final String appid, final String session, final String appUniqueName, final Callback callback){
      new Thread(() -> {
              AppInfoResponse response = getInfo(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getInfo(final String appid, final String session, final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              AppInfoResponse response = getInfo(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public AppInfoResponse getInfo(String session, String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (AppInfoResponse) _call(appid, serviceUrl + "rest/getinfo", _params, AppInfoResponse.class);
  }

  public AppInfoResponse getInfo(String session, String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (AppInfoResponse) _call(appid, serviceUrl + "rest/getinfo", _params, headers, AppInfoResponse.class);
  }

  public Installation getInfo(final String session, final String appUniqueName, final Callback callback){
      new Thread(() -> {
              AppInfoResponse response = getInfo(session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getInfo(final String session, final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              AppInfoResponse response = getInfo(session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public AppInfoResponse getInfo(String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (AppInfoResponse) _call(appid, serviceUrl + "rest/getinfo", _params, AppInfoResponse.class);
  }

  public AppInfoResponse getInfo(String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (AppInfoResponse) _call(appid, serviceUrl + "rest/getinfo", _params, headers, AppInfoResponse.class);
  }

  public Installation getInfo(final String appUniqueName, final Callback callback){
      new Thread(() -> {
              AppInfoResponse response = getInfo(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getInfo(final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              AppInfoResponse response = getInfo(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public AppInfoResponse getInfo(Map _params){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (AppInfoResponse) _call(appid, serviceUrl + "rest/getinfo", _params, AppInfoResponse.class);
  }

  public AppInfoResponse getInfo(Map _params, Map headers){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (AppInfoResponse) _call(appid, serviceUrl + "rest/getinfo", _params, headers, AppInfoResponse.class);
  }

  public ScriptEvalProxyResponse getList(String appid, String session, Object search){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("search", com.jelastic.api.core.utils.JSONUtils.jsonStringify(search));
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse getList(String appid, String session, Object search, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("search", com.jelastic.api.core.utils.JSONUtils.jsonStringify(search));
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation getList(final String appid, final String session, final Object search, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(appid, session, search);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getList(final String appid, final String session, final Object search, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(appid, session, search);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse getList(String appid, String session){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse getList(String appid, String session, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation getList(final String appid, final String session, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(appid, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getList(final String appid, final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(appid, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse getList(String session, Object search){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("search", com.jelastic.api.core.utils.JSONUtils.jsonStringify(search));
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse getList(String session, Object search, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("search", com.jelastic.api.core.utils.JSONUtils.jsonStringify(search));
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation getList(final String session, final Object search, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(session, search);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getList(final String session, final Object search, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(session, search);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse getList(Object search){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("search", com.jelastic.api.core.utils.JSONUtils.jsonStringify(search));
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse getList(Object search, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("search", com.jelastic.api.core.utils.JSONUtils.jsonStringify(search));
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation getList(final Object search, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(search);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getList(final Object search, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(search);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse getList(String session){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse getList(String session, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation getList(final String session, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getList(final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList(session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse getList(){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, ScriptEvalProxyResponse.class);
  }

  public Installation getList(final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = getList();
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse getList(Map _params){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse getList(Map _params, Map headers){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/getlist", _params, headers, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse uninstall(String appid, String session, String appUniqueName, Boolean force){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("force", force + "");
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse uninstall(String appid, String session, String appUniqueName, Boolean force, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("force", force + "");
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation uninstall(final String appid, final String session, final String appUniqueName, final Boolean force, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(appid, session, appUniqueName, force);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation uninstall(final String appid, final String session, final String appUniqueName, final Boolean force, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(appid, session, appUniqueName, force);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse uninstall(String appid, String session, String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse uninstall(String appid, String session, String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation uninstall(final String appid, final String session, final String appUniqueName, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation uninstall(final String appid, final String session, final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse uninstall(String session, String appUniqueName, Boolean force){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("force", force + "");
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse uninstall(String session, String appUniqueName, Boolean force, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("force", force + "");
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation uninstall(final String session, final String appUniqueName, final Boolean force, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(session, appUniqueName, force);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation uninstall(final String session, final String appUniqueName, final Boolean force, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(session, appUniqueName, force);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse uninstall(String appUniqueName, Boolean force){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("force", force + "");
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse uninstall(String appUniqueName, Boolean force, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("force", force + "");
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation uninstall(final String appUniqueName, final Boolean force, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(appUniqueName, force);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation uninstall(final String appUniqueName, final Boolean force, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(appUniqueName, force);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse uninstall(String session, String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse uninstall(String session, String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation uninstall(final String session, final String appUniqueName, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation uninstall(final String session, final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse uninstall(String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse uninstall(String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, headers, ScriptEvalProxyResponse.class);
  }

  public Installation uninstall(final String appUniqueName, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation uninstall(final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              ScriptEvalProxyResponse response = uninstall(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ScriptEvalProxyResponse uninstall(Map _params){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, ScriptEvalProxyResponse.class);
  }

  public ScriptEvalProxyResponse uninstall(Map _params, Map headers){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (ScriptEvalProxyResponse) _call(appid, serviceUrl + "rest/uninstall", _params, headers, ScriptEvalProxyResponse.class);
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName, String action, String settingsId, Object params, String lang){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("lang", lang);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName, String action, String settingsId, Object params, String lang, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("lang", lang);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final String action, final String settingsId, final Object params, final String lang, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName, action, settingsId, params, lang);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final String action, final String settingsId, final Object params, final String lang, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName, action, settingsId, params, lang);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName, String action, String settingsId, Object params){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName, String action, String settingsId, Object params, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final String action, final String settingsId, final Object params, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName, action, settingsId, params);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final String action, final String settingsId, final Object params, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName, action, settingsId, params);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName, String action, String settingsId){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName, String action, String settingsId, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final String action, final String settingsId, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName, action, settingsId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final String action, final String settingsId, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName, action, settingsId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName, String action){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName, String action, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final String action, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName, action);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final String action, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName, action);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String appid, String session, String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String appid, final String session, final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String session, String appUniqueName, String action, String settingsId, Object params, String lang){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("lang", lang);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String session, String appUniqueName, String action, String settingsId, Object params, String lang, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("lang", lang);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String session, final String appUniqueName, final String action, final String settingsId, final Object params, final String lang, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(session, appUniqueName, action, settingsId, params, lang);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String session, final String appUniqueName, final String action, final String settingsId, final Object params, final String lang, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(session, appUniqueName, action, settingsId, params, lang);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String appUniqueName, String action, String settingsId, Object params, String lang){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("lang", lang);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String appUniqueName, String action, String settingsId, Object params, String lang, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("lang", lang);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String appUniqueName, final String action, final String settingsId, final Object params, final String lang, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appUniqueName, action, settingsId, params, lang);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String appUniqueName, final String action, final String settingsId, final Object params, final String lang, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appUniqueName, action, settingsId, params, lang);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String session, String appUniqueName, String action, String settingsId, Object params){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String session, String appUniqueName, String action, String settingsId, Object params, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String session, final String appUniqueName, final String action, final String settingsId, final Object params, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(session, appUniqueName, action, settingsId, params);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String session, final String appUniqueName, final String action, final String settingsId, final Object params, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(session, appUniqueName, action, settingsId, params);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String appUniqueName, String action, String settingsId, Object params){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String appUniqueName, String action, String settingsId, Object params, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("settingsId", settingsId);
      _params.put("params", com.jelastic.api.core.utils.JSONUtils.jsonStringify(params));
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String appUniqueName, final String action, final String settingsId, final Object params, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appUniqueName, action, settingsId, params);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String appUniqueName, final String action, final String settingsId, final Object params, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appUniqueName, action, settingsId, params);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String appUniqueName, String action){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String appUniqueName, String action, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("action", action);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String appUniqueName, final String action, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appUniqueName, action);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String appUniqueName, final String action, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appUniqueName, action);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public Installation executeAction(final String appUniqueName, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation executeAction(final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              InstallResponse response = executeAction(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public InstallResponse executeAction(Map _params){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, InstallResponse.class);
  }

  public InstallResponse executeAction(Map _params, Map headers){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (InstallResponse) _call(appid, serviceUrl + "rest/executeaction", _params, headers, InstallResponse.class);
  }

  public SettingsResponse getSettings(String appid, String session, String appUniqueName, String settingsId, String lang){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("settingsId", settingsId);
      _params.put("lang", lang);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, SettingsResponse.class);
  }

  public SettingsResponse getSettings(String appid, String session, String appUniqueName, String settingsId, String lang, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("settingsId", settingsId);
      _params.put("lang", lang);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, headers, SettingsResponse.class);
  }

  public Installation getSettings(final String appid, final String session, final String appUniqueName, final String settingsId, final String lang, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appid, session, appUniqueName, settingsId, lang);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getSettings(final String appid, final String session, final String appUniqueName, final String settingsId, final String lang, final Map headers, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appid, session, appUniqueName, settingsId, lang);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SettingsResponse getSettings(String appid, String session, String appUniqueName, String settingsId){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("settingsId", settingsId);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, SettingsResponse.class);
  }

  public SettingsResponse getSettings(String appid, String session, String appUniqueName, String settingsId, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("settingsId", settingsId);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, headers, SettingsResponse.class);
  }

  public Installation getSettings(final String appid, final String session, final String appUniqueName, final String settingsId, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appid, session, appUniqueName, settingsId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getSettings(final String appid, final String session, final String appUniqueName, final String settingsId, final Map headers, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appid, session, appUniqueName, settingsId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SettingsResponse getSettings(String appid, String session, String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, SettingsResponse.class);
  }

  public SettingsResponse getSettings(String appid, String session, String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, headers, SettingsResponse.class);
  }

  public Installation getSettings(final String appid, final String session, final String appUniqueName, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getSettings(final String appid, final String session, final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SettingsResponse getSettings(String appUniqueName, String settingsId){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("settingsId", settingsId);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, SettingsResponse.class);
  }

  public SettingsResponse getSettings(String appUniqueName, String settingsId, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("settingsId", settingsId);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, headers, SettingsResponse.class);
  }

  public Installation getSettings(final String appUniqueName, final String settingsId, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appUniqueName, settingsId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getSettings(final String appUniqueName, final String settingsId, final Map headers, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appUniqueName, settingsId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SettingsResponse getSettings(String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, SettingsResponse.class);
  }

  public SettingsResponse getSettings(String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, headers, SettingsResponse.class);
  }

  public Installation getSettings(final String appUniqueName, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getSettings(final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              SettingsResponse response = getSettings(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SettingsResponse getSettings(Map _params){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, SettingsResponse.class);
  }

  public SettingsResponse getSettings(Map _params, Map headers){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (SettingsResponse) _call(appid, serviceUrl + "rest/getsettings", _params, headers, SettingsResponse.class);
  }

  public GetScriptingAppidResponse getScriptingAppid(String appid, String session){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getscriptingappid", _params, GetScriptingAppidResponse.class);
  }

  public GetScriptingAppidResponse getScriptingAppid(String appid, String session, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getscriptingappid", _params, headers, GetScriptingAppidResponse.class);
  }

  public Installation getScriptingAppid(final String appid, final String session, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getScriptingAppid(appid, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getScriptingAppid(final String appid, final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getScriptingAppid(appid, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public GetScriptingAppidResponse getScriptingAppid(String session){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getscriptingappid", _params, GetScriptingAppidResponse.class);
  }

  public GetScriptingAppidResponse getScriptingAppid(String session, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getscriptingappid", _params, headers, GetScriptingAppidResponse.class);
  }

  public Installation getScriptingAppid(final String session, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getScriptingAppid(session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getScriptingAppid(final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getScriptingAppid(session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public GetScriptingAppidResponse getScriptingAppid(){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getscriptingappid", _params, GetScriptingAppidResponse.class);
  }

  public Installation getScriptingAppid(final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getScriptingAppid();
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public GetScriptingAppidResponse getScriptingAppid(Map _params){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getscriptingappid", _params, GetScriptingAppidResponse.class);
  }

  public GetScriptingAppidResponse getScriptingAppid(Map _params, Map headers){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getscriptingappid", _params, headers, GetScriptingAppidResponse.class);
  }

  public GetScriptingAppidResponse getEnvAppid(String appid, String session, String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getenvappid", _params, GetScriptingAppidResponse.class);
  }

  public GetScriptingAppidResponse getEnvAppid(String appid, String session, String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getenvappid", _params, headers, GetScriptingAppidResponse.class);
  }

  public Installation getEnvAppid(final String appid, final String session, final String appUniqueName, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getEnvAppid(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getEnvAppid(final String appid, final String session, final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getEnvAppid(appid, session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public GetScriptingAppidResponse getEnvAppid(String session, String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getenvappid", _params, GetScriptingAppidResponse.class);
  }

  public GetScriptingAppidResponse getEnvAppid(String session, String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getenvappid", _params, headers, GetScriptingAppidResponse.class);
  }

  public Installation getEnvAppid(final String session, final String appUniqueName, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getEnvAppid(session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getEnvAppid(final String session, final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getEnvAppid(session, appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public GetScriptingAppidResponse getEnvAppid(String appUniqueName){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getenvappid", _params, GetScriptingAppidResponse.class);
  }

  public GetScriptingAppidResponse getEnvAppid(String appUniqueName, Map headers){
      Map _params = new HashMap();
      _params.put("appid", appid);
      _params.put("session", session);
      _params.put("appUniqueName", appUniqueName);
      _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getenvappid", _params, headers, GetScriptingAppidResponse.class);
  }

  public Installation getEnvAppid(final String appUniqueName, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getEnvAppid(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Installation getEnvAppid(final String appUniqueName, final Map headers, final Callback callback){
      new Thread(() -> {
              GetScriptingAppidResponse response = getEnvAppid(appUniqueName);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public GetScriptingAppidResponse getEnvAppid(Map _params){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getenvappid", _params, GetScriptingAppidResponse.class);
  }

  public GetScriptingAppidResponse getEnvAppid(Map _params, Map headers){
      if (!_params.containsKey("appid")) _params.put("appid", appid);
      if (!_params.containsKey("session")) _params.put("session", session);
      if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
      return (GetScriptingAppidResponse) _call(appid, serviceUrl + "rest/getenvappid", _params, headers, GetScriptingAppidResponse.class);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy