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

com.jelastic.api.environment.Binder Maven / Gradle / Ivy

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

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.environment.response.SSLCertResponse;
import com.jelastic.api.environment.response.ArrayCrossNetworkIPAddressResponse;
import com.jelastic.api.Response;
import com.jelastic.api.environment.response.SoftwareNodesListResponse;
import com.jelastic.api.environment.response.SSLCertResponses;
import com.jelastic.api.environment.response.SSLCustomResponse;
import com.jelastic.api.environment.response.ObjectResponse;
import com.jelastic.api.environment.response.ArrayExtIPAddressResponse;
import com.jelastic.api.environment.response.ExtDomainResponses;
import com.jelastic.api.environment.response.ExtDomainResponse;
import com.jelastic.api.environment.response.DomainsResponse;

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


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

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

  public Binder(){}

  public Binder(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 Binder(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 Binder(String appid, String session){
     this(appid, session, null);
  }

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

  public String getAppid(){
     return appid;
  }

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

  public String getSession(){
     return session;
  }

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

  public String getServiceUrl(){
     return serviceUrl;
  }

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

  public String getServerUrl(){
     return serviceUrl;
  }

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

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

  public String getClientSource(){
     return client_source ;
  }

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

  public ExtDomainResponses getExtDomains(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 (ExtDomainResponses) _call(appid, serviceUrl + "rest/getextdomains", _params, headers, ExtDomainResponses.class);
  }

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

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

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

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

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

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

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

  public Binder getExtDomains(final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = getExtDomains();
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponses getExtDomains(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 (ExtDomainResponses) _call(appid, serviceUrl + "rest/getextdomains", _params, ExtDomainResponses.class);
  }

  public ExtDomainResponses getExtDomains(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 (ExtDomainResponses) _call(appid, serviceUrl + "rest/getextdomains", _params, headers, ExtDomainResponses.class);
  }

  public ExtDomainResponse bindExtDomain(String envName, String session, String extDomain, Integer certId){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, ExtDomainResponse.class);
  }

  public ExtDomainResponse bindExtDomain(String envName, String session, String extDomain, Integer certId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, headers, ExtDomainResponse.class);
  }

  public Binder bindExtDomain(final String envName, final String session, final String extDomain, final Integer certId, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(envName, session, extDomain, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomain(final String envName, final String session, final String extDomain, final Integer certId, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(envName, session, extDomain, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponse bindExtDomain(String envName, String session, String extDomain){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, ExtDomainResponse.class);
  }

  public ExtDomainResponse bindExtDomain(String envName, String session, String extDomain, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, headers, ExtDomainResponse.class);
  }

  public Binder bindExtDomain(final String envName, final String session, final String extDomain, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(envName, session, extDomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomain(final String envName, final String session, final String extDomain, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(envName, session, extDomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponse bindExtDomain(String session, String extDomain, Integer certId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, ExtDomainResponse.class);
  }

  public ExtDomainResponse bindExtDomain(String session, String extDomain, Integer certId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, headers, ExtDomainResponse.class);
  }

  public Binder bindExtDomain(final String session, final String extDomain, final Integer certId, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(session, extDomain, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomain(final String session, final String extDomain, final Integer certId, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(session, extDomain, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponse bindExtDomain(String extDomain, Integer certId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, ExtDomainResponse.class);
  }

  public ExtDomainResponse bindExtDomain(String extDomain, Integer certId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, headers, ExtDomainResponse.class);
  }

  public Binder bindExtDomain(final String extDomain, final Integer certId, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(extDomain, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomain(final String extDomain, final Integer certId, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(extDomain, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponse bindExtDomain(String session, String extDomain){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, ExtDomainResponse.class);
  }

  public ExtDomainResponse bindExtDomain(String session, String extDomain, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, headers, ExtDomainResponse.class);
  }

  public Binder bindExtDomain(final String session, final String extDomain, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(session, extDomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomain(final String session, final String extDomain, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(session, extDomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponse bindExtDomain(String extDomain){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, ExtDomainResponse.class);
  }

  public ExtDomainResponse bindExtDomain(String extDomain, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomain", extDomain);
      _params.put("client_source", client_source);
      return (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, headers, ExtDomainResponse.class);
  }

  public Binder bindExtDomain(final String extDomain, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(extDomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomain(final String extDomain, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponse response = bindExtDomain(extDomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponse bindExtDomain(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 (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, ExtDomainResponse.class);
  }

  public ExtDomainResponse bindExtDomain(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 (ExtDomainResponse) _call(appid, serviceUrl + "rest/bindextdomain", _params, headers, ExtDomainResponse.class);
  }

  public ExtDomainResponses bindExtDomains(String envName, String session, String extDomains, Integer certId){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, ExtDomainResponses.class);
  }

  public ExtDomainResponses bindExtDomains(String envName, String session, String extDomains, Integer certId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, headers, ExtDomainResponses.class);
  }

  public Binder bindExtDomains(final String envName, final String session, final String extDomains, final Integer certId, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(envName, session, extDomains, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomains(final String envName, final String session, final String extDomains, final Integer certId, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(envName, session, extDomains, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponses bindExtDomains(String envName, String session, String extDomains){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, ExtDomainResponses.class);
  }

  public ExtDomainResponses bindExtDomains(String envName, String session, String extDomains, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, headers, ExtDomainResponses.class);
  }

  public Binder bindExtDomains(final String envName, final String session, final String extDomains, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(envName, session, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomains(final String envName, final String session, final String extDomains, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(envName, session, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponses bindExtDomains(String session, String extDomains, Integer certId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, ExtDomainResponses.class);
  }

  public ExtDomainResponses bindExtDomains(String session, String extDomains, Integer certId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, headers, ExtDomainResponses.class);
  }

  public Binder bindExtDomains(final String session, final String extDomains, final Integer certId, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(session, extDomains, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomains(final String session, final String extDomains, final Integer certId, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(session, extDomains, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponses bindExtDomains(String extDomains, Integer certId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, ExtDomainResponses.class);
  }

  public ExtDomainResponses bindExtDomains(String extDomains, Integer certId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, headers, ExtDomainResponses.class);
  }

  public Binder bindExtDomains(final String extDomains, final Integer certId, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(extDomains, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomains(final String extDomains, final Integer certId, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(extDomains, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponses bindExtDomains(String session, String extDomains){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, ExtDomainResponses.class);
  }

  public ExtDomainResponses bindExtDomains(String session, String extDomains, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, headers, ExtDomainResponses.class);
  }

  public Binder bindExtDomains(final String session, final String extDomains, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(session, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomains(final String session, final String extDomains, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(session, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponses bindExtDomains(String extDomains){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, ExtDomainResponses.class);
  }

  public ExtDomainResponses bindExtDomains(String extDomains, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, headers, ExtDomainResponses.class);
  }

  public Binder bindExtDomains(final String extDomains, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindExtDomains(final String extDomains, final Map headers, final Callback callback){
      new Thread(() -> {
              ExtDomainResponses response = bindExtDomains(extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ExtDomainResponses bindExtDomains(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 (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, ExtDomainResponses.class);
  }

  public ExtDomainResponses bindExtDomains(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 (ExtDomainResponses) _call(appid, serviceUrl + "rest/bindextdomains", _params, headers, ExtDomainResponses.class);
  }

  public SSLCustomResponse bindSSL(String envName, String session, String certKey, String cert, String intermediate){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("certKey", certKey);
      _params.put("cert", cert);
      _params.put("intermediate", intermediate);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/bindssl", _params, SSLCustomResponse.class);
  }

  public SSLCustomResponse bindSSL(String envName, String session, String certKey, String cert, String intermediate, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("certKey", certKey);
      _params.put("cert", cert);
      _params.put("intermediate", intermediate);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/bindssl", _params, headers, SSLCustomResponse.class);
  }

  public Binder bindSSL(final String envName, final String session, final String certKey, final String cert, final String intermediate, final Callback callback){
      new Thread(() -> {
              SSLCustomResponse response = bindSSL(envName, session, certKey, cert, intermediate);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSL(final String envName, final String session, final String certKey, final String cert, final String intermediate, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCustomResponse response = bindSSL(envName, session, certKey, cert, intermediate);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCustomResponse bindSSL(String session, String certKey, String cert, String intermediate){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certKey", certKey);
      _params.put("cert", cert);
      _params.put("intermediate", intermediate);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/bindssl", _params, SSLCustomResponse.class);
  }

  public SSLCustomResponse bindSSL(String session, String certKey, String cert, String intermediate, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certKey", certKey);
      _params.put("cert", cert);
      _params.put("intermediate", intermediate);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/bindssl", _params, headers, SSLCustomResponse.class);
  }

  public Binder bindSSL(final String session, final String certKey, final String cert, final String intermediate, final Callback callback){
      new Thread(() -> {
              SSLCustomResponse response = bindSSL(session, certKey, cert, intermediate);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSL(final String session, final String certKey, final String cert, final String intermediate, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCustomResponse response = bindSSL(session, certKey, cert, intermediate);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCustomResponse bindSSL(String certKey, String cert, String intermediate){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certKey", certKey);
      _params.put("cert", cert);
      _params.put("intermediate", intermediate);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/bindssl", _params, SSLCustomResponse.class);
  }

  public SSLCustomResponse bindSSL(String certKey, String cert, String intermediate, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certKey", certKey);
      _params.put("cert", cert);
      _params.put("intermediate", intermediate);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/bindssl", _params, headers, SSLCustomResponse.class);
  }

  public Binder bindSSL(final String certKey, final String cert, final String intermediate, final Callback callback){
      new Thread(() -> {
              SSLCustomResponse response = bindSSL(certKey, cert, intermediate);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSL(final String certKey, final String cert, final String intermediate, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCustomResponse response = bindSSL(certKey, cert, intermediate);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCustomResponse bindSSL(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 (SSLCustomResponse) _call(appid, serviceUrl + "rest/bindssl", _params, SSLCustomResponse.class);
  }

  public SSLCustomResponse bindSSL(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 (SSLCustomResponse) _call(appid, serviceUrl + "rest/bindssl", _params, headers, SSLCustomResponse.class);
  }

  public Response removeSSL(String envName, String session){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removessl", _params, Response.class);
  }

  public Response removeSSL(String envName, String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removessl", _params, headers, Response.class);
  }

  public Binder removeSSL(final String envName, final String session, final Callback callback){
      new Thread(() -> {
              Response response = removeSSL(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeSSL(final String envName, final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeSSL(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeSSL(String session){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removessl", _params, Response.class);
  }

  public Response removeSSL(String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removessl", _params, headers, Response.class);
  }

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

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

  public Response removeSSL(){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removessl", _params, Response.class);
  }

  public Binder removeSSL(final Callback callback){
      new Thread(() -> {
              Response response = removeSSL();
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeSSL(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 (Response) _call(appid, serviceUrl + "rest/removessl", _params, Response.class);
  }

  public Response removeSSL(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 (Response) _call(appid, serviceUrl + "rest/removessl", _params, headers, Response.class);
  }

  public Response disableSSL(String envName, String session){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/disablessl", _params, Response.class);
  }

  public Response disableSSL(String envName, String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/disablessl", _params, headers, Response.class);
  }

  public Binder disableSSL(final String envName, final String session, final Callback callback){
      new Thread(() -> {
              Response response = disableSSL(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder disableSSL(final String envName, final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = disableSSL(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response disableSSL(String session){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/disablessl", _params, Response.class);
  }

  public Response disableSSL(String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/disablessl", _params, headers, Response.class);
  }

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

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

  public Response disableSSL(){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/disablessl", _params, Response.class);
  }

  public Binder disableSSL(final Callback callback){
      new Thread(() -> {
              Response response = disableSSL();
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response disableSSL(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 (Response) _call(appid, serviceUrl + "rest/disablessl", _params, Response.class);
  }

  public Response disableSSL(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 (Response) _call(appid, serviceUrl + "rest/disablessl", _params, headers, Response.class);
  }

  public Response deleteSSL(String envName, String session){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/deletessl", _params, Response.class);
  }

  public Response deleteSSL(String envName, String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/deletessl", _params, headers, Response.class);
  }

  public Binder deleteSSL(final String envName, final String session, final Callback callback){
      new Thread(() -> {
              Response response = deleteSSL(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder deleteSSL(final String envName, final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = deleteSSL(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response deleteSSL(String session){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/deletessl", _params, Response.class);
  }

  public Response deleteSSL(String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/deletessl", _params, headers, Response.class);
  }

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

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

  public Response deleteSSL(){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/deletessl", _params, Response.class);
  }

  public Binder deleteSSL(final Callback callback){
      new Thread(() -> {
              Response response = deleteSSL();
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response deleteSSL(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 (Response) _call(appid, serviceUrl + "rest/deletessl", _params, Response.class);
  }

  public Response deleteSSL(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 (Response) _call(appid, serviceUrl + "rest/deletessl", _params, headers, Response.class);
  }

  public SSLCustomResponse getSSL(String envName, String session){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/getssl", _params, SSLCustomResponse.class);
  }

  public SSLCustomResponse getSSL(String envName, String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/getssl", _params, headers, SSLCustomResponse.class);
  }

  public Binder getSSL(final String envName, final String session, final Callback callback){
      new Thread(() -> {
              SSLCustomResponse response = getSSL(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getSSL(final String envName, final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCustomResponse response = getSSL(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCustomResponse getSSL(String session){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/getssl", _params, SSLCustomResponse.class);
  }

  public SSLCustomResponse getSSL(String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/getssl", _params, headers, SSLCustomResponse.class);
  }

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

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

  public SSLCustomResponse getSSL(){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (SSLCustomResponse) _call(appid, serviceUrl + "rest/getssl", _params, SSLCustomResponse.class);
  }

  public Binder getSSL(final Callback callback){
      new Thread(() -> {
              SSLCustomResponse response = getSSL();
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCustomResponse getSSL(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 (SSLCustomResponse) _call(appid, serviceUrl + "rest/getssl", _params, SSLCustomResponse.class);
  }

  public SSLCustomResponse getSSL(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 (SSLCustomResponse) _call(appid, serviceUrl + "rest/getssl", _params, headers, SSLCustomResponse.class);
  }

  public Response removeExtDomain(String envName, String session, String extdomain){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extdomain", extdomain);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removeextdomain", _params, Response.class);
  }

  public Response removeExtDomain(String envName, String session, String extdomain, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extdomain", extdomain);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removeextdomain", _params, headers, Response.class);
  }

  public Binder removeExtDomain(final String envName, final String session, final String extdomain, final Callback callback){
      new Thread(() -> {
              Response response = removeExtDomain(envName, session, extdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeExtDomain(final String envName, final String session, final String extdomain, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeExtDomain(envName, session, extdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeExtDomain(String session, String extdomain){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extdomain", extdomain);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removeextdomain", _params, Response.class);
  }

  public Response removeExtDomain(String session, String extdomain, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extdomain", extdomain);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removeextdomain", _params, headers, Response.class);
  }

  public Binder removeExtDomain(final String session, final String extdomain, final Callback callback){
      new Thread(() -> {
              Response response = removeExtDomain(session, extdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeExtDomain(final String session, final String extdomain, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeExtDomain(session, extdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeExtDomain(String extdomain){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extdomain", extdomain);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removeextdomain", _params, Response.class);
  }

  public Response removeExtDomain(String extdomain, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extdomain", extdomain);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removeextdomain", _params, headers, Response.class);
  }

  public Binder removeExtDomain(final String extdomain, final Callback callback){
      new Thread(() -> {
              Response response = removeExtDomain(extdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeExtDomain(final String extdomain, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeExtDomain(extdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeExtDomain(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 (Response) _call(appid, serviceUrl + "rest/removeextdomain", _params, Response.class);
  }

  public Response removeExtDomain(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 (Response) _call(appid, serviceUrl + "rest/removeextdomain", _params, headers, Response.class);
  }

  public Response swapExtDomains(String envName, String session, String targetappid){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("targetappid", targetappid);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/swapextdomains", _params, Response.class);
  }

  public Response swapExtDomains(String envName, String session, String targetappid, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("targetappid", targetappid);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/swapextdomains", _params, headers, Response.class);
  }

  public Binder swapExtDomains(final String envName, final String session, final String targetappid, final Callback callback){
      new Thread(() -> {
              Response response = swapExtDomains(envName, session, targetappid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtDomains(final String envName, final String session, final String targetappid, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = swapExtDomains(envName, session, targetappid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response swapExtDomains(String session, String targetappid){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("targetappid", targetappid);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/swapextdomains", _params, Response.class);
  }

  public Response swapExtDomains(String session, String targetappid, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("targetappid", targetappid);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/swapextdomains", _params, headers, Response.class);
  }

  public Binder swapExtDomains(final String session, final String targetappid, final Callback callback){
      new Thread(() -> {
              Response response = swapExtDomains(session, targetappid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtDomains(final String session, final String targetappid, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = swapExtDomains(session, targetappid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response swapExtDomains(String targetappid){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("targetappid", targetappid);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/swapextdomains", _params, Response.class);
  }

  public Response swapExtDomains(String targetappid, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("targetappid", targetappid);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/swapextdomains", _params, headers, Response.class);
  }

  public Binder swapExtDomains(final String targetappid, final Callback callback){
      new Thread(() -> {
              Response response = swapExtDomains(targetappid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtDomains(final String targetappid, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = swapExtDomains(targetappid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response swapExtDomains(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 (Response) _call(appid, serviceUrl + "rest/swapextdomains", _params, Response.class);
  }

  public Response swapExtDomains(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 (Response) _call(appid, serviceUrl + "rest/swapextdomains", _params, headers, Response.class);
  }

  public SoftwareNodesListResponse swapExtIps(String envName, String session, int sourceNodeId, int targetNodeId, String sourceIp, String targetIp){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("targetIp", targetIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(String envName, String session, int sourceNodeId, int targetNodeId, String sourceIp, String targetIp, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("targetIp", targetIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder swapExtIps(final String envName, final String session, final int sourceNodeId, final int targetNodeId, final String sourceIp, final String targetIp, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(envName, session, sourceNodeId, targetNodeId, sourceIp, targetIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtIps(final String envName, final String session, final int sourceNodeId, final int targetNodeId, final String sourceIp, final String targetIp, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(envName, session, sourceNodeId, targetNodeId, sourceIp, targetIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse swapExtIps(String envName, String session, int sourceNodeId, int targetNodeId, String sourceIp){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(String envName, String session, int sourceNodeId, int targetNodeId, String sourceIp, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder swapExtIps(final String envName, final String session, final int sourceNodeId, final int targetNodeId, final String sourceIp, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(envName, session, sourceNodeId, targetNodeId, sourceIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtIps(final String envName, final String session, final int sourceNodeId, final int targetNodeId, final String sourceIp, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(envName, session, sourceNodeId, targetNodeId, sourceIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse swapExtIps(String envName, String session, int sourceNodeId, int targetNodeId){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(String envName, String session, int sourceNodeId, int targetNodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder swapExtIps(final String envName, final String session, final int sourceNodeId, final int targetNodeId, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(envName, session, sourceNodeId, targetNodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtIps(final String envName, final String session, final int sourceNodeId, final int targetNodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(envName, session, sourceNodeId, targetNodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse swapExtIps(String session, int sourceNodeId, int targetNodeId, String sourceIp, String targetIp){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("targetIp", targetIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(String session, int sourceNodeId, int targetNodeId, String sourceIp, String targetIp, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("targetIp", targetIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder swapExtIps(final String session, final int sourceNodeId, final int targetNodeId, final String sourceIp, final String targetIp, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(session, sourceNodeId, targetNodeId, sourceIp, targetIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtIps(final String session, final int sourceNodeId, final int targetNodeId, final String sourceIp, final String targetIp, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(session, sourceNodeId, targetNodeId, sourceIp, targetIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse swapExtIps(int sourceNodeId, int targetNodeId, String sourceIp, String targetIp){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("targetIp", targetIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(int sourceNodeId, int targetNodeId, String sourceIp, String targetIp, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("targetIp", targetIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder swapExtIps(final int sourceNodeId, final int targetNodeId, final String sourceIp, final String targetIp, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(sourceNodeId, targetNodeId, sourceIp, targetIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtIps(final int sourceNodeId, final int targetNodeId, final String sourceIp, final String targetIp, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(sourceNodeId, targetNodeId, sourceIp, targetIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse swapExtIps(String session, int sourceNodeId, int targetNodeId, String sourceIp){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(String session, int sourceNodeId, int targetNodeId, String sourceIp, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder swapExtIps(final String session, final int sourceNodeId, final int targetNodeId, final String sourceIp, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(session, sourceNodeId, targetNodeId, sourceIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtIps(final String session, final int sourceNodeId, final int targetNodeId, final String sourceIp, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(session, sourceNodeId, targetNodeId, sourceIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse swapExtIps(int sourceNodeId, int targetNodeId, String sourceIp){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(int sourceNodeId, int targetNodeId, String sourceIp, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("sourceIp", sourceIp);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder swapExtIps(final int sourceNodeId, final int targetNodeId, final String sourceIp, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(sourceNodeId, targetNodeId, sourceIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtIps(final int sourceNodeId, final int targetNodeId, final String sourceIp, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(sourceNodeId, targetNodeId, sourceIp);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse swapExtIps(String session, int sourceNodeId, int targetNodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(String session, int sourceNodeId, int targetNodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder swapExtIps(final String session, final int sourceNodeId, final int targetNodeId, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(session, sourceNodeId, targetNodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtIps(final String session, final int sourceNodeId, final int targetNodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(session, sourceNodeId, targetNodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse swapExtIps(int sourceNodeId, int targetNodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(int sourceNodeId, int targetNodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder swapExtIps(final int sourceNodeId, final int targetNodeId, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(sourceNodeId, targetNodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder swapExtIps(final int sourceNodeId, final int targetNodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = swapExtIps(sourceNodeId, targetNodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse swapExtIps(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 (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse swapExtIps(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 (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/swapextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse moveExtIps(String envName, String session, int sourceNodeId, int targetNodeId, String ips){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("ips", ips);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/moveextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse moveExtIps(String envName, String session, int sourceNodeId, int targetNodeId, String ips, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("ips", ips);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/moveextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder moveExtIps(final String envName, final String session, final int sourceNodeId, final int targetNodeId, final String ips, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = moveExtIps(envName, session, sourceNodeId, targetNodeId, ips);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder moveExtIps(final String envName, final String session, final int sourceNodeId, final int targetNodeId, final String ips, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = moveExtIps(envName, session, sourceNodeId, targetNodeId, ips);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse moveExtIps(String session, int sourceNodeId, int targetNodeId, String ips){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("ips", ips);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/moveextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse moveExtIps(String session, int sourceNodeId, int targetNodeId, String ips, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("ips", ips);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/moveextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder moveExtIps(final String session, final int sourceNodeId, final int targetNodeId, final String ips, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = moveExtIps(session, sourceNodeId, targetNodeId, ips);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder moveExtIps(final String session, final int sourceNodeId, final int targetNodeId, final String ips, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = moveExtIps(session, sourceNodeId, targetNodeId, ips);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse moveExtIps(int sourceNodeId, int targetNodeId, String ips){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("ips", ips);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/moveextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse moveExtIps(int sourceNodeId, int targetNodeId, String ips, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("sourceNodeId", sourceNodeId + "");
      _params.put("targetNodeId", targetNodeId + "");
      _params.put("ips", ips);
      _params.put("client_source", client_source);
      return (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/moveextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public Binder moveExtIps(final int sourceNodeId, final int targetNodeId, final String ips, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = moveExtIps(sourceNodeId, targetNodeId, ips);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder moveExtIps(final int sourceNodeId, final int targetNodeId, final String ips, final Map headers, final Callback callback){
      new Thread(() -> {
              SoftwareNodesListResponse response = moveExtIps(sourceNodeId, targetNodeId, ips);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SoftwareNodesListResponse moveExtIps(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 (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/moveextips", _params, SoftwareNodesListResponse.class);
  }

  public SoftwareNodesListResponse moveExtIps(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 (SoftwareNodesListResponse) _call(appid, serviceUrl + "rest/moveextips", _params, headers, SoftwareNodesListResponse.class);
  }

  public ObjectResponse attachExtIp(String envName, String session, int nodeid, String type){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("type", type);
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, ObjectResponse.class);
  }

  public ObjectResponse attachExtIp(String envName, String session, int nodeid, String type, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("type", type);
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, headers, ObjectResponse.class);
  }

  public Binder attachExtIp(final String envName, final String session, final int nodeid, final String type, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(envName, session, nodeid, type);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder attachExtIp(final String envName, final String session, final int nodeid, final String type, final Map headers, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(envName, session, nodeid, type);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ObjectResponse attachExtIp(String envName, String session, int nodeid){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, ObjectResponse.class);
  }

  public ObjectResponse attachExtIp(String envName, String session, int nodeid, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, headers, ObjectResponse.class);
  }

  public Binder attachExtIp(final String envName, final String session, final int nodeid, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(envName, session, nodeid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder attachExtIp(final String envName, final String session, final int nodeid, final Map headers, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(envName, session, nodeid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ObjectResponse attachExtIp(String session, int nodeid, String type){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("type", type);
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, ObjectResponse.class);
  }

  public ObjectResponse attachExtIp(String session, int nodeid, String type, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("type", type);
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, headers, ObjectResponse.class);
  }

  public Binder attachExtIp(final String session, final int nodeid, final String type, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(session, nodeid, type);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder attachExtIp(final String session, final int nodeid, final String type, final Map headers, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(session, nodeid, type);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ObjectResponse attachExtIp(int nodeid, String type){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("type", type);
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, ObjectResponse.class);
  }

  public ObjectResponse attachExtIp(int nodeid, String type, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("type", type);
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, headers, ObjectResponse.class);
  }

  public Binder attachExtIp(final int nodeid, final String type, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(nodeid, type);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder attachExtIp(final int nodeid, final String type, final Map headers, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(nodeid, type);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ObjectResponse attachExtIp(String session, int nodeid){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, ObjectResponse.class);
  }

  public ObjectResponse attachExtIp(String session, int nodeid, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, headers, ObjectResponse.class);
  }

  public Binder attachExtIp(final String session, final int nodeid, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(session, nodeid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder attachExtIp(final String session, final int nodeid, final Map headers, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(session, nodeid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ObjectResponse attachExtIp(int nodeid){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, ObjectResponse.class);
  }

  public ObjectResponse attachExtIp(int nodeid, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("client_source", client_source);
      return (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, headers, ObjectResponse.class);
  }

  public Binder attachExtIp(final int nodeid, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(nodeid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder attachExtIp(final int nodeid, final Map headers, final Callback callback){
      new Thread(() -> {
              ObjectResponse response = attachExtIp(nodeid);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ObjectResponse attachExtIp(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 (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, ObjectResponse.class);
  }

  public ObjectResponse attachExtIp(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 (ObjectResponse) _call(appid, serviceUrl + "rest/attachextip", _params, headers, ObjectResponse.class);
  }

  public Response detachExtIp(String envName, String session, int nodeid, String ip){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("ip", ip);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/detachextip", _params, Response.class);
  }

  public Response detachExtIp(String envName, String session, int nodeid, String ip, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("ip", ip);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/detachextip", _params, headers, Response.class);
  }

  public Binder detachExtIp(final String envName, final String session, final int nodeid, final String ip, final Callback callback){
      new Thread(() -> {
              Response response = detachExtIp(envName, session, nodeid, ip);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder detachExtIp(final String envName, final String session, final int nodeid, final String ip, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = detachExtIp(envName, session, nodeid, ip);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response detachExtIp(String session, int nodeid, String ip){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("ip", ip);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/detachextip", _params, Response.class);
  }

  public Response detachExtIp(String session, int nodeid, String ip, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("ip", ip);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/detachextip", _params, headers, Response.class);
  }

  public Binder detachExtIp(final String session, final int nodeid, final String ip, final Callback callback){
      new Thread(() -> {
              Response response = detachExtIp(session, nodeid, ip);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder detachExtIp(final String session, final int nodeid, final String ip, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = detachExtIp(session, nodeid, ip);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response detachExtIp(int nodeid, String ip){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("ip", ip);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/detachextip", _params, Response.class);
  }

  public Response detachExtIp(int nodeid, String ip, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeid", nodeid + "");
      _params.put("ip", ip);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/detachextip", _params, headers, Response.class);
  }

  public Binder detachExtIp(final int nodeid, final String ip, final Callback callback){
      new Thread(() -> {
              Response response = detachExtIp(nodeid, ip);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder detachExtIp(final int nodeid, final String ip, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = detachExtIp(nodeid, ip);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response detachExtIp(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 (Response) _call(appid, serviceUrl + "rest/detachextip", _params, Response.class);
  }

  public Response detachExtIp(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 (Response) _call(appid, serviceUrl + "rest/detachextip", _params, headers, Response.class);
  }

  public ArrayExtIPAddressResponse setExtIpCount(String envName, String session, String type, int count, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("type", type);
      _params.put("count", count + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (ArrayExtIPAddressResponse) _call(appid, serviceUrl + "rest/setextipcount", _params, ArrayExtIPAddressResponse.class);
  }

  public ArrayExtIPAddressResponse setExtIpCount(String envName, String session, String type, int count, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("type", type);
      _params.put("count", count + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (ArrayExtIPAddressResponse) _call(appid, serviceUrl + "rest/setextipcount", _params, headers, ArrayExtIPAddressResponse.class);
  }

  public Binder setExtIpCount(final String envName, final String session, final String type, final int count, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              ArrayExtIPAddressResponse response = setExtIpCount(envName, session, type, count, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder setExtIpCount(final String envName, final String session, final String type, final int count, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              ArrayExtIPAddressResponse response = setExtIpCount(envName, session, type, count, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ArrayExtIPAddressResponse setExtIpCount(String session, String type, int count, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("type", type);
      _params.put("count", count + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (ArrayExtIPAddressResponse) _call(appid, serviceUrl + "rest/setextipcount", _params, ArrayExtIPAddressResponse.class);
  }

  public ArrayExtIPAddressResponse setExtIpCount(String session, String type, int count, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("type", type);
      _params.put("count", count + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (ArrayExtIPAddressResponse) _call(appid, serviceUrl + "rest/setextipcount", _params, headers, ArrayExtIPAddressResponse.class);
  }

  public Binder setExtIpCount(final String session, final String type, final int count, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              ArrayExtIPAddressResponse response = setExtIpCount(session, type, count, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder setExtIpCount(final String session, final String type, final int count, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              ArrayExtIPAddressResponse response = setExtIpCount(session, type, count, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ArrayExtIPAddressResponse setExtIpCount(String type, int count, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("type", type);
      _params.put("count", count + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (ArrayExtIPAddressResponse) _call(appid, serviceUrl + "rest/setextipcount", _params, ArrayExtIPAddressResponse.class);
  }

  public ArrayExtIPAddressResponse setExtIpCount(String type, int count, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("type", type);
      _params.put("count", count + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (ArrayExtIPAddressResponse) _call(appid, serviceUrl + "rest/setextipcount", _params, headers, ArrayExtIPAddressResponse.class);
  }

  public Binder setExtIpCount(final String type, final int count, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              ArrayExtIPAddressResponse response = setExtIpCount(type, count, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder setExtIpCount(final String type, final int count, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              ArrayExtIPAddressResponse response = setExtIpCount(type, count, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ArrayExtIPAddressResponse setExtIpCount(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 (ArrayExtIPAddressResponse) _call(appid, serviceUrl + "rest/setextipcount", _params, ArrayExtIPAddressResponse.class);
  }

  public ArrayExtIPAddressResponse setExtIpCount(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 (ArrayExtIPAddressResponse) _call(appid, serviceUrl + "rest/setextipcount", _params, headers, ArrayExtIPAddressResponse.class);
  }

  public ArrayCrossNetworkIPAddressResponse setCrossServiceNetworkIpCount(String envName, String session, int count, int nodeId, String nodeGroup){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("count", count + "");
      _params.put("nodeId", nodeId + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("client_source", client_source);
      return (ArrayCrossNetworkIPAddressResponse) _call(appid, serviceUrl + "rest/setcrossservicenetworkipcount", _params, ArrayCrossNetworkIPAddressResponse.class);
  }

  public ArrayCrossNetworkIPAddressResponse setCrossServiceNetworkIpCount(String envName, String session, int count, int nodeId, String nodeGroup, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("count", count + "");
      _params.put("nodeId", nodeId + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("client_source", client_source);
      return (ArrayCrossNetworkIPAddressResponse) _call(appid, serviceUrl + "rest/setcrossservicenetworkipcount", _params, headers, ArrayCrossNetworkIPAddressResponse.class);
  }

  public Binder setCrossServiceNetworkIpCount(final String envName, final String session, final int count, final int nodeId, final String nodeGroup, final Callback callback){
      new Thread(() -> {
              ArrayCrossNetworkIPAddressResponse response = setCrossServiceNetworkIpCount(envName, session, count, nodeId, nodeGroup);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder setCrossServiceNetworkIpCount(final String envName, final String session, final int count, final int nodeId, final String nodeGroup, final Map headers, final Callback callback){
      new Thread(() -> {
              ArrayCrossNetworkIPAddressResponse response = setCrossServiceNetworkIpCount(envName, session, count, nodeId, nodeGroup);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ArrayCrossNetworkIPAddressResponse setCrossServiceNetworkIpCount(String session, int count, int nodeId, String nodeGroup){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("count", count + "");
      _params.put("nodeId", nodeId + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("client_source", client_source);
      return (ArrayCrossNetworkIPAddressResponse) _call(appid, serviceUrl + "rest/setcrossservicenetworkipcount", _params, ArrayCrossNetworkIPAddressResponse.class);
  }

  public ArrayCrossNetworkIPAddressResponse setCrossServiceNetworkIpCount(String session, int count, int nodeId, String nodeGroup, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("count", count + "");
      _params.put("nodeId", nodeId + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("client_source", client_source);
      return (ArrayCrossNetworkIPAddressResponse) _call(appid, serviceUrl + "rest/setcrossservicenetworkipcount", _params, headers, ArrayCrossNetworkIPAddressResponse.class);
  }

  public Binder setCrossServiceNetworkIpCount(final String session, final int count, final int nodeId, final String nodeGroup, final Callback callback){
      new Thread(() -> {
              ArrayCrossNetworkIPAddressResponse response = setCrossServiceNetworkIpCount(session, count, nodeId, nodeGroup);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder setCrossServiceNetworkIpCount(final String session, final int count, final int nodeId, final String nodeGroup, final Map headers, final Callback callback){
      new Thread(() -> {
              ArrayCrossNetworkIPAddressResponse response = setCrossServiceNetworkIpCount(session, count, nodeId, nodeGroup);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ArrayCrossNetworkIPAddressResponse setCrossServiceNetworkIpCount(int count, int nodeId, String nodeGroup){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("count", count + "");
      _params.put("nodeId", nodeId + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("client_source", client_source);
      return (ArrayCrossNetworkIPAddressResponse) _call(appid, serviceUrl + "rest/setcrossservicenetworkipcount", _params, ArrayCrossNetworkIPAddressResponse.class);
  }

  public ArrayCrossNetworkIPAddressResponse setCrossServiceNetworkIpCount(int count, int nodeId, String nodeGroup, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("count", count + "");
      _params.put("nodeId", nodeId + "");
      _params.put("nodeGroup", nodeGroup);
      _params.put("client_source", client_source);
      return (ArrayCrossNetworkIPAddressResponse) _call(appid, serviceUrl + "rest/setcrossservicenetworkipcount", _params, headers, ArrayCrossNetworkIPAddressResponse.class);
  }

  public Binder setCrossServiceNetworkIpCount(final int count, final int nodeId, final String nodeGroup, final Callback callback){
      new Thread(() -> {
              ArrayCrossNetworkIPAddressResponse response = setCrossServiceNetworkIpCount(count, nodeId, nodeGroup);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder setCrossServiceNetworkIpCount(final int count, final int nodeId, final String nodeGroup, final Map headers, final Callback callback){
      new Thread(() -> {
              ArrayCrossNetworkIPAddressResponse response = setCrossServiceNetworkIpCount(count, nodeId, nodeGroup);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public ArrayCrossNetworkIPAddressResponse setCrossServiceNetworkIpCount(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 (ArrayCrossNetworkIPAddressResponse) _call(appid, serviceUrl + "rest/setcrossservicenetworkipcount", _params, ArrayCrossNetworkIPAddressResponse.class);
  }

  public ArrayCrossNetworkIPAddressResponse setCrossServiceNetworkIpCount(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 (ArrayCrossNetworkIPAddressResponse) _call(appid, serviceUrl + "rest/setcrossservicenetworkipcount", _params, headers, ArrayCrossNetworkIPAddressResponse.class);
  }

  public Response addDomains(String envName, String session, String domains, String nodeGroup, int nodeId, Boolean subdomain){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("subdomain", subdomain + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, Response.class);
  }

  public Response addDomains(String envName, String session, String domains, String nodeGroup, int nodeId, Boolean subdomain, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("subdomain", subdomain + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, headers, Response.class);
  }

  public Binder addDomains(final String envName, final String session, final String domains, final String nodeGroup, final int nodeId, final Boolean subdomain, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(envName, session, domains, nodeGroup, nodeId, subdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder addDomains(final String envName, final String session, final String domains, final String nodeGroup, final int nodeId, final Boolean subdomain, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(envName, session, domains, nodeGroup, nodeId, subdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response addDomains(String envName, String session, String domains, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, Response.class);
  }

  public Response addDomains(String envName, String session, String domains, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, headers, Response.class);
  }

  public Binder addDomains(final String envName, final String session, final String domains, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(envName, session, domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder addDomains(final String envName, final String session, final String domains, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(envName, session, domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response addDomains(String session, String domains, String nodeGroup, int nodeId, Boolean subdomain){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("subdomain", subdomain + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, Response.class);
  }

  public Response addDomains(String session, String domains, String nodeGroup, int nodeId, Boolean subdomain, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("subdomain", subdomain + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, headers, Response.class);
  }

  public Binder addDomains(final String session, final String domains, final String nodeGroup, final int nodeId, final Boolean subdomain, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(session, domains, nodeGroup, nodeId, subdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder addDomains(final String session, final String domains, final String nodeGroup, final int nodeId, final Boolean subdomain, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(session, domains, nodeGroup, nodeId, subdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response addDomains(String domains, String nodeGroup, int nodeId, Boolean subdomain){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("subdomain", subdomain + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, Response.class);
  }

  public Response addDomains(String domains, String nodeGroup, int nodeId, Boolean subdomain, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("subdomain", subdomain + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, headers, Response.class);
  }

  public Binder addDomains(final String domains, final String nodeGroup, final int nodeId, final Boolean subdomain, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(domains, nodeGroup, nodeId, subdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder addDomains(final String domains, final String nodeGroup, final int nodeId, final Boolean subdomain, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(domains, nodeGroup, nodeId, subdomain);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response addDomains(String session, String domains, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, Response.class);
  }

  public Response addDomains(String session, String domains, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, headers, Response.class);
  }

  public Binder addDomains(final String session, final String domains, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(session, domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder addDomains(final String session, final String domains, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(session, domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response addDomains(String domains, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, Response.class);
  }

  public Response addDomains(String domains, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/adddomains", _params, headers, Response.class);
  }

  public Binder addDomains(final String domains, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder addDomains(final String domains, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = addDomains(domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response addDomains(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 (Response) _call(appid, serviceUrl + "rest/adddomains", _params, Response.class);
  }

  public Response addDomains(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 (Response) _call(appid, serviceUrl + "rest/adddomains", _params, headers, Response.class);
  }

  public Response removeDomains(String envName, String session, String domains, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removedomains", _params, Response.class);
  }

  public Response removeDomains(String envName, String session, String domains, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removedomains", _params, headers, Response.class);
  }

  public Binder removeDomains(final String envName, final String session, final String domains, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              Response response = removeDomains(envName, session, domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeDomains(final String envName, final String session, final String domains, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeDomains(envName, session, domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeDomains(String session, String domains, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removedomains", _params, Response.class);
  }

  public Response removeDomains(String session, String domains, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removedomains", _params, headers, Response.class);
  }

  public Binder removeDomains(final String session, final String domains, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              Response response = removeDomains(session, domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeDomains(final String session, final String domains, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeDomains(session, domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeDomains(String domains, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removedomains", _params, Response.class);
  }

  public Response removeDomains(String domains, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("domains", domains);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removedomains", _params, headers, Response.class);
  }

  public Binder removeDomains(final String domains, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              Response response = removeDomains(domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeDomains(final String domains, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeDomains(domains, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeDomains(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 (Response) _call(appid, serviceUrl + "rest/removedomains", _params, Response.class);
  }

  public Response removeDomains(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 (Response) _call(appid, serviceUrl + "rest/removedomains", _params, headers, Response.class);
  }

  public DomainsResponse getDomains(String envName, String session, String nodeGroup, int nodeId, Boolean inShort){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("inShort", inShort + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, DomainsResponse.class);
  }

  public DomainsResponse getDomains(String envName, String session, String nodeGroup, int nodeId, Boolean inShort, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("inShort", inShort + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, headers, DomainsResponse.class);
  }

  public Binder getDomains(final String envName, final String session, final String nodeGroup, final int nodeId, final Boolean inShort, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(envName, session, nodeGroup, nodeId, inShort);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getDomains(final String envName, final String session, final String nodeGroup, final int nodeId, final Boolean inShort, final Map headers, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(envName, session, nodeGroup, nodeId, inShort);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public DomainsResponse getDomains(String envName, String session, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, DomainsResponse.class);
  }

  public DomainsResponse getDomains(String envName, String session, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, headers, DomainsResponse.class);
  }

  public Binder getDomains(final String envName, final String session, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(envName, session, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getDomains(final String envName, final String session, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(envName, session, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public DomainsResponse getDomains(String session, String nodeGroup, int nodeId, Boolean inShort){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("inShort", inShort + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, DomainsResponse.class);
  }

  public DomainsResponse getDomains(String session, String nodeGroup, int nodeId, Boolean inShort, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("inShort", inShort + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, headers, DomainsResponse.class);
  }

  public Binder getDomains(final String session, final String nodeGroup, final int nodeId, final Boolean inShort, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(session, nodeGroup, nodeId, inShort);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getDomains(final String session, final String nodeGroup, final int nodeId, final Boolean inShort, final Map headers, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(session, nodeGroup, nodeId, inShort);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public DomainsResponse getDomains(String nodeGroup, int nodeId, Boolean inShort){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("inShort", inShort + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, DomainsResponse.class);
  }

  public DomainsResponse getDomains(String nodeGroup, int nodeId, Boolean inShort, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("inShort", inShort + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, headers, DomainsResponse.class);
  }

  public Binder getDomains(final String nodeGroup, final int nodeId, final Boolean inShort, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(nodeGroup, nodeId, inShort);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getDomains(final String nodeGroup, final int nodeId, final Boolean inShort, final Map headers, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(nodeGroup, nodeId, inShort);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public DomainsResponse getDomains(String session, String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, DomainsResponse.class);
  }

  public DomainsResponse getDomains(String session, String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, headers, DomainsResponse.class);
  }

  public Binder getDomains(final String session, final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(session, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getDomains(final String session, final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(session, nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public DomainsResponse getDomains(String nodeGroup, int nodeId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, DomainsResponse.class);
  }

  public DomainsResponse getDomains(String nodeGroup, int nodeId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("nodeGroup", nodeGroup);
      _params.put("nodeId", nodeId + "");
      _params.put("client_source", client_source);
      return (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, headers, DomainsResponse.class);
  }

  public Binder getDomains(final String nodeGroup, final int nodeId, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getDomains(final String nodeGroup, final int nodeId, final Map headers, final Callback callback){
      new Thread(() -> {
              DomainsResponse response = getDomains(nodeGroup, nodeId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public DomainsResponse getDomains(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 (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, DomainsResponse.class);
  }

  public DomainsResponse getDomains(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 (DomainsResponse) _call(appid, serviceUrl + "rest/getdomains", _params, headers, DomainsResponse.class);
  }

  public SSLCertResponses getSSLCerts(String envName, String session, String ids){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (SSLCertResponses) _call(appid, serviceUrl + "rest/getsslcerts", _params, SSLCertResponses.class);
  }

  public SSLCertResponses getSSLCerts(String envName, String session, String ids, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (SSLCertResponses) _call(appid, serviceUrl + "rest/getsslcerts", _params, headers, SSLCertResponses.class);
  }

  public Binder getSSLCerts(final String envName, final String session, final String ids, final Callback callback){
      new Thread(() -> {
              SSLCertResponses response = getSSLCerts(envName, session, ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getSSLCerts(final String envName, final String session, final String ids, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponses response = getSSLCerts(envName, session, ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponses getSSLCerts(String envName, String session){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (SSLCertResponses) _call(appid, serviceUrl + "rest/getsslcerts", _params, SSLCertResponses.class);
  }

  public SSLCertResponses getSSLCerts(String envName, String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (SSLCertResponses) _call(appid, serviceUrl + "rest/getsslcerts", _params, headers, SSLCertResponses.class);
  }

  public Binder getSSLCerts(final String envName, final String session, final Callback callback){
      new Thread(() -> {
              SSLCertResponses response = getSSLCerts(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getSSLCerts(final String envName, final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponses response = getSSLCerts(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponses getSSLCerts(String ids){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (SSLCertResponses) _call(appid, serviceUrl + "rest/getsslcerts", _params, SSLCertResponses.class);
  }

  public SSLCertResponses getSSLCerts(String ids, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (SSLCertResponses) _call(appid, serviceUrl + "rest/getsslcerts", _params, headers, SSLCertResponses.class);
  }

  public Binder getSSLCerts(final String ids, final Callback callback){
      new Thread(() -> {
              SSLCertResponses response = getSSLCerts(ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder getSSLCerts(final String ids, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponses response = getSSLCerts(ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponses getSSLCerts(){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (SSLCertResponses) _call(appid, serviceUrl + "rest/getsslcerts", _params, SSLCertResponses.class);
  }

  public Binder getSSLCerts(final Callback callback){
      new Thread(() -> {
              SSLCertResponses response = getSSLCerts();
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponses getSSLCerts(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 (SSLCertResponses) _call(appid, serviceUrl + "rest/getsslcerts", _params, SSLCertResponses.class);
  }

  public SSLCertResponses getSSLCerts(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 (SSLCertResponses) _call(appid, serviceUrl + "rest/getsslcerts", _params, headers, SSLCertResponses.class);
  }

  public SSLCertResponse addSSLCert(String envName, String session, String key, String cert, String interm){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/addsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse addSSLCert(String envName, String session, String key, String cert, String interm, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/addsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder addSSLCert(final String envName, final String session, final String key, final String cert, final String interm, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = addSSLCert(envName, session, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder addSSLCert(final String envName, final String session, final String key, final String cert, final String interm, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = addSSLCert(envName, session, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse addSSLCert(String session, String key, String cert, String interm){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/addsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse addSSLCert(String session, String key, String cert, String interm, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/addsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder addSSLCert(final String session, final String key, final String cert, final String interm, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = addSSLCert(session, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder addSSLCert(final String session, final String key, final String cert, final String interm, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = addSSLCert(session, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse addSSLCert(String key, String cert, String interm){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/addsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse addSSLCert(String key, String cert, String interm, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/addsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder addSSLCert(final String key, final String cert, final String interm, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = addSSLCert(key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder addSSLCert(final String key, final String cert, final String interm, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = addSSLCert(key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse addSSLCert(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 (SSLCertResponse) _call(appid, serviceUrl + "rest/addsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse addSSLCert(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 (SSLCertResponse) _call(appid, serviceUrl + "rest/addsslcert", _params, headers, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(String envName, String session, int id, String key, String cert, String interm){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(String envName, String session, int id, String key, String cert, String interm, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder editSSLCert(final String envName, final String session, final int id, final String key, final String cert, final String interm, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(envName, session, id, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder editSSLCert(final String envName, final String session, final int id, final String key, final String cert, final String interm, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(envName, session, id, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse editSSLCert(String envName, String session, int id, String key){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(String envName, String session, int id, String key, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder editSSLCert(final String envName, final String session, final int id, final String key, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(envName, session, id, key);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder editSSLCert(final String envName, final String session, final int id, final String key, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(envName, session, id, key);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse editSSLCert(String envName, String session, int id){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(String envName, String session, int id, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder editSSLCert(final String envName, final String session, final int id, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(envName, session, id);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder editSSLCert(final String envName, final String session, final int id, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(envName, session, id);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse editSSLCert(String session, int id, String key, String cert, String interm){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(String session, int id, String key, String cert, String interm, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder editSSLCert(final String session, final int id, final String key, final String cert, final String interm, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(session, id, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder editSSLCert(final String session, final int id, final String key, final String cert, final String interm, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(session, id, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse editSSLCert(int id, String key, String cert, String interm){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(int id, String key, String cert, String interm, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("cert", cert);
      _params.put("interm", interm);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder editSSLCert(final int id, final String key, final String cert, final String interm, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(id, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder editSSLCert(final int id, final String key, final String cert, final String interm, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(id, key, cert, interm);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse editSSLCert(String session, int id, String key){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(String session, int id, String key, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder editSSLCert(final String session, final int id, final String key, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(session, id, key);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder editSSLCert(final String session, final int id, final String key, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(session, id, key);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse editSSLCert(int id, String key){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(int id, String key, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("key", key);
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder editSSLCert(final int id, final String key, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(id, key);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder editSSLCert(final int id, final String key, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(id, key);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse editSSLCert(String session, int id){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(String session, int id, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder editSSLCert(final String session, final int id, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(session, id);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder editSSLCert(final String session, final int id, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(session, id);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse editSSLCert(int id){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(int id, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("id", id + "");
      _params.put("client_source", client_source);
      return (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Binder editSSLCert(final int id, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(id);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder editSSLCert(final int id, final Map headers, final Callback callback){
      new Thread(() -> {
              SSLCertResponse response = editSSLCert(id);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public SSLCertResponse editSSLCert(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 (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, SSLCertResponse.class);
  }

  public SSLCertResponse editSSLCert(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 (SSLCertResponse) _call(appid, serviceUrl + "rest/editsslcert", _params, headers, SSLCertResponse.class);
  }

  public Response removeSSLCerts(String envName, String session, String ids){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removesslcerts", _params, Response.class);
  }

  public Response removeSSLCerts(String envName, String session, String ids, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removesslcerts", _params, headers, Response.class);
  }

  public Binder removeSSLCerts(final String envName, final String session, final String ids, final Callback callback){
      new Thread(() -> {
              Response response = removeSSLCerts(envName, session, ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeSSLCerts(final String envName, final String session, final String ids, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeSSLCerts(envName, session, ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeSSLCerts(String session, String ids){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removesslcerts", _params, Response.class);
  }

  public Response removeSSLCerts(String session, String ids, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removesslcerts", _params, headers, Response.class);
  }

  public Binder removeSSLCerts(final String session, final String ids, final Callback callback){
      new Thread(() -> {
              Response response = removeSSLCerts(session, ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeSSLCerts(final String session, final String ids, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeSSLCerts(session, ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeSSLCerts(String ids){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removesslcerts", _params, Response.class);
  }

  public Response removeSSLCerts(String ids, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("ids", ids);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/removesslcerts", _params, headers, Response.class);
  }

  public Binder removeSSLCerts(final String ids, final Callback callback){
      new Thread(() -> {
              Response response = removeSSLCerts(ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder removeSSLCerts(final String ids, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = removeSSLCerts(ids);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response removeSSLCerts(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 (Response) _call(appid, serviceUrl + "rest/removesslcerts", _params, Response.class);
  }

  public Response removeSSLCerts(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 (Response) _call(appid, serviceUrl + "rest/removesslcerts", _params, headers, Response.class);
  }

  public Response bindSSLCert(String envName, String session, int certId, String entryPoint, String extDomains){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(String envName, String session, int certId, String entryPoint, String extDomains, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Binder bindSSLCert(final String envName, final String session, final int certId, final String entryPoint, final String extDomains, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(envName, session, certId, entryPoint, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSLCert(final String envName, final String session, final int certId, final String entryPoint, final String extDomains, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(envName, session, certId, entryPoint, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response bindSSLCert(String envName, String session, int certId, String entryPoint){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(String envName, String session, int certId, String entryPoint, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Binder bindSSLCert(final String envName, final String session, final int certId, final String entryPoint, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(envName, session, certId, entryPoint);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSLCert(final String envName, final String session, final int certId, final String entryPoint, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(envName, session, certId, entryPoint);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response bindSSLCert(String envName, String session, int certId){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(String envName, String session, int certId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Binder bindSSLCert(final String envName, final String session, final int certId, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(envName, session, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSLCert(final String envName, final String session, final int certId, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(envName, session, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response bindSSLCert(String session, int certId, String entryPoint, String extDomains){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(String session, int certId, String entryPoint, String extDomains, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Binder bindSSLCert(final String session, final int certId, final String entryPoint, final String extDomains, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(session, certId, entryPoint, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSLCert(final String session, final int certId, final String entryPoint, final String extDomains, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(session, certId, entryPoint, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response bindSSLCert(int certId, String entryPoint, String extDomains){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(int certId, String entryPoint, String extDomains, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Binder bindSSLCert(final int certId, final String entryPoint, final String extDomains, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(certId, entryPoint, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSLCert(final int certId, final String entryPoint, final String extDomains, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(certId, entryPoint, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response bindSSLCert(String session, int certId, String entryPoint){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(String session, int certId, String entryPoint, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Binder bindSSLCert(final String session, final int certId, final String entryPoint, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(session, certId, entryPoint);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSLCert(final String session, final int certId, final String entryPoint, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(session, certId, entryPoint);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response bindSSLCert(int certId, String entryPoint){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(int certId, String entryPoint, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("entryPoint", entryPoint);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Binder bindSSLCert(final int certId, final String entryPoint, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(certId, entryPoint);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSLCert(final int certId, final String entryPoint, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(certId, entryPoint);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response bindSSLCert(String session, int certId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(String session, int certId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Binder bindSSLCert(final String session, final int certId, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(session, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSLCert(final String session, final int certId, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(session, certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response bindSSLCert(int certId){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(int certId, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("certId", certId + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Binder bindSSLCert(final int certId, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder bindSSLCert(final int certId, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = bindSSLCert(certId);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response bindSSLCert(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 (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, Response.class);
  }

  public Response bindSSLCert(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 (Response) _call(appid, serviceUrl + "rest/bindsslcert", _params, headers, Response.class);
  }

  public Response unbindSSLCert(String envName, String session, String extDomains){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/unbindsslcert", _params, Response.class);
  }

  public Response unbindSSLCert(String envName, String session, String extDomains, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/unbindsslcert", _params, headers, Response.class);
  }

  public Binder unbindSSLCert(final String envName, final String session, final String extDomains, final Callback callback){
      new Thread(() -> {
              Response response = unbindSSLCert(envName, session, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder unbindSSLCert(final String envName, final String session, final String extDomains, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = unbindSSLCert(envName, session, extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response unbindSSLCert(String envName, String session){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/unbindsslcert", _params, Response.class);
  }

  public Response unbindSSLCert(String envName, String session, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/unbindsslcert", _params, headers, Response.class);
  }

  public Binder unbindSSLCert(final String envName, final String session, final Callback callback){
      new Thread(() -> {
              Response response = unbindSSLCert(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder unbindSSLCert(final String envName, final String session, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = unbindSSLCert(envName, session);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response unbindSSLCert(String extDomains){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/unbindsslcert", _params, Response.class);
  }

  public Response unbindSSLCert(String extDomains, Map headers){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("extDomains", extDomains);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/unbindsslcert", _params, headers, Response.class);
  }

  public Binder unbindSSLCert(final String extDomains, final Callback callback){
      new Thread(() -> {
              Response response = unbindSSLCert(extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder unbindSSLCert(final String extDomains, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = unbindSSLCert(extDomains);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response unbindSSLCert(){
      Map _params = new HashMap();
      _params.put("envName", appid);
      _params.put("session", session);
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/unbindsslcert", _params, Response.class);
  }

  public Binder unbindSSLCert(final Callback callback){
      new Thread(() -> {
              Response response = unbindSSLCert();
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response unbindSSLCert(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 (Response) _call(appid, serviceUrl + "rest/unbindsslcert", _params, Response.class);
  }

  public Response unbindSSLCert(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 (Response) _call(appid, serviceUrl + "rest/unbindsslcert", _params, headers, Response.class);
  }

  public Response manageNodeDnsState(String envName, String session, int nodeId, Boolean enabled){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeId", nodeId + "");
      _params.put("enabled", enabled + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/managenodednsstate", _params, Response.class);
  }

  public Response manageNodeDnsState(String envName, String session, int nodeId, Boolean enabled, Map headers){
      Map _params = new HashMap();
      _params.put("envName", envName);
      _params.put("session", session);
      _params.put("nodeId", nodeId + "");
      _params.put("enabled", enabled + "");
      _params.put("client_source", client_source);
      return (Response) _call(appid, serviceUrl + "rest/managenodednsstate", _params, headers, Response.class);
  }

  public Binder manageNodeDnsState(final String envName, final String session, final int nodeId, final Boolean enabled, final Callback callback){
      new Thread(() -> {
              Response response = manageNodeDnsState(envName, session, nodeId, enabled);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Binder manageNodeDnsState(final String envName, final String session, final int nodeId, final Boolean enabled, final Map headers, final Callback callback){
      new Thread(() -> {
              Response response = manageNodeDnsState(envName, session, nodeId, enabled);
              callback.fire(response);
      }, "callback").start();
      return this;
  }

  public Response manageNodeDnsState(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 (Response) _call(appid, serviceUrl + "rest/managenodednsstate", _params, Response.class);
  }

  public Response manageNodeDnsState(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 (Response) _call(appid, serviceUrl + "rest/managenodednsstate", _params, headers, Response.class);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy