code
stringlengths
73
34.1k
label
stringclasses
1 value
public static base_response update(nitro_service client, snmpmib resource) throws Exception { snmpmib updateresource = new snmpmib(); updateresource.contact = resource.contact; updateresource.name = resource.name; updateresource.location = resource.location; updateresource.customid = resource.customid; retu...
java
public static base_response unset(nitro_service client, snmpmib resource, String[] args) throws Exception{ snmpmib unsetresource = new snmpmib(); return unsetresource.unset_resource(client,args); }
java
public static snmpmib get(nitro_service service, options option) throws Exception{ snmpmib obj = new snmpmib(); snmpmib[] response = (snmpmib[])obj.get_resources(service,option); return response[0]; }
java
public static base_response add(nitro_service client, systemgroup resource) throws Exception { systemgroup addresource = new systemgroup(); addresource.groupname = resource.groupname; addresource.promptstring = resource.promptstring; addresource.timeout = resource.timeout; return addresource.add_resource(clie...
java
public static base_responses add(nitro_service client, systemgroup resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { systemgroup addresources[] = new systemgroup[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new syst...
java
public static base_response delete(nitro_service client, String groupname) throws Exception { systemgroup deleteresource = new systemgroup(); deleteresource.groupname = groupname; return deleteresource.delete_resource(client); }
java
public static base_response update(nitro_service client, systemgroup resource) throws Exception { systemgroup updateresource = new systemgroup(); updateresource.groupname = resource.groupname; updateresource.promptstring = resource.promptstring; updateresource.timeout = resource.timeout; return updateresource...
java
public static base_responses update(nitro_service client, systemgroup resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { systemgroup updateresources[] = new systemgroup[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] =...
java
public static base_response unset(nitro_service client, systemgroup resource, String[] args) throws Exception{ systemgroup unsetresource = new systemgroup(); unsetresource.groupname = resource.groupname; return unsetresource.unset_resource(client,args); }
java
public static base_responses unset(nitro_service client, String groupname[], String args[]) throws Exception { base_responses result = null; if (groupname != null && groupname.length > 0) { systemgroup unsetresources[] = new systemgroup[groupname.length]; for (int i=0;i<groupname.length;i++){ unsetresourc...
java
public static systemgroup[] get(nitro_service service) throws Exception{ systemgroup obj = new systemgroup(); systemgroup[] response = (systemgroup[])obj.get_resources(service); return response; }
java
public static systemgroup get(nitro_service service, String groupname) throws Exception{ systemgroup obj = new systemgroup(); obj.set_groupname(groupname); systemgroup response = (systemgroup) obj.get_resource(service); return response; }
java
public static systemgroup[] get(nitro_service service, String groupname[]) throws Exception{ if (groupname !=null && groupname.length>0) { systemgroup response[] = new systemgroup[groupname.length]; systemgroup obj[] = new systemgroup[groupname.length]; for (int i=0;i<groupname.length;i++) { obj[i] = new...
java
public static base_response join(nitro_service client, cluster resource) throws Exception { cluster joinresource = new cluster(); joinresource.clip = resource.clip; joinresource.password = resource.password; return joinresource.perform_operation(client,"join"); }
java
public void beforeRecover() { if (data.getPeriod() > 0) { final long now = System.currentTimeMillis(); long startTime = data.getStartTime(); while(startTime <= now) { startTime += data.getPeriod(); data.setStartTime(startTime); } if (logger.isDebugEnabled()) { logger.debug("Task w...
java
public static tunnelglobal_binding get(nitro_service service) throws Exception{ tunnelglobal_binding obj = new tunnelglobal_binding(); tunnelglobal_binding response = (tunnelglobal_binding) obj.get_resource(service); return response; }
java
public static base_response add(nitro_service client, snmpview resource) throws Exception { snmpview addresource = new snmpview(); addresource.name = resource.name; addresource.subtree = resource.subtree; addresource.type = resource.type; return addresource.add_resource(client); }
java
public static base_response delete(nitro_service client, snmpview resource) throws Exception { snmpview deleteresource = new snmpview(); deleteresource.name = resource.name; deleteresource.subtree = resource.subtree; return deleteresource.delete_resource(client); }
java
public static base_response update(nitro_service client, snmpview resource) throws Exception { snmpview updateresource = new snmpview(); updateresource.name = resource.name; updateresource.subtree = resource.subtree; updateresource.type = resource.type; return updateresource.update_resource(client); }
java
public static base_responses update(nitro_service client, snmpview resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { snmpview updateresources[] = new snmpview[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new snmp...
java
public static snmpview[] get(nitro_service service, options option) throws Exception{ snmpview obj = new snmpview(); snmpview[] response = (snmpview[])obj.get_resources(service,option); return response; }
java
public static void endDoing() { long elapsed = System.currentTimeMillis() - startTime; System.err.println("done [" + nf.format(((double) elapsed) / 1000) + " sec]."); }
java
public static inatsession_stats get(nitro_service service, String name) throws Exception{ inatsession_stats obj = new inatsession_stats(); obj.set_name(name); inatsession_stats response = (inatsession_stats) obj.stat_resource(service); return response; }
java
public static inatsession_stats get(nitro_service service, inatsession_stats obj) throws Exception{ options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(obj)); inatsession_stats response = (inatsession_stats) obj.stat_resource(service,option); return response; }
java
public static responderpolicy_responderglobal_binding[] get(nitro_service service, String name) throws Exception{ responderpolicy_responderglobal_binding obj = new responderpolicy_responderglobal_binding(); obj.set_name(name); responderpolicy_responderglobal_binding response[] = (responderpolicy_responderglobal_b...
java
public static base_response update(nitro_service client, ip6tunnelparam resource) throws Exception { ip6tunnelparam updateresource = new ip6tunnelparam(); updateresource.srcip = resource.srcip; updateresource.dropfrag = resource.dropfrag; updateresource.dropfragcputhreshold = resource.dropfragcputhreshold; up...
java
public static base_response unset(nitro_service client, ip6tunnelparam resource, String[] args) throws Exception{ ip6tunnelparam unsetresource = new ip6tunnelparam(); return unsetresource.unset_resource(client,args); }
java
public static ip6tunnelparam get(nitro_service service) throws Exception{ ip6tunnelparam obj = new ip6tunnelparam(); ip6tunnelparam[] response = (ip6tunnelparam[])obj.get_resources(service); return response[0]; }
java
public static base_response add(nitro_service client, appflowaction resource) throws Exception { appflowaction addresource = new appflowaction(); addresource.name = resource.name; addresource.collectors = resource.collectors; addresource.comment = resource.comment; return addresource.add_resource(client); }
java
public static base_response update(nitro_service client, appflowaction resource) throws Exception { appflowaction updateresource = new appflowaction(); updateresource.name = resource.name; updateresource.collectors = resource.collectors; updateresource.comment = resource.comment; return updateresource.update_...
java
public static base_responses update(nitro_service client, appflowaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { appflowaction updateresources[] = new appflowaction[resources.length]; for (int i=0;i<resources.length;i++){ updateresource...
java
public static appflowaction[] get(nitro_service service, options option) throws Exception{ appflowaction obj = new appflowaction(); appflowaction[] response = (appflowaction[])obj.get_resources(service,option); return response; }
java
public static appflowaction get(nitro_service service, String name) throws Exception{ appflowaction obj = new appflowaction(); obj.set_name(name); appflowaction response = (appflowaction) obj.get_resource(service); return response; }
java
public static base_response create(nitro_service client, sslcert resource) throws Exception { sslcert createresource = new sslcert(); createresource.certfile = resource.certfile; createresource.reqfile = resource.reqfile; createresource.certtype = resource.certtype; createresource.keyfile = resource.keyfile; ...
java
public static techsupport get(nitro_service service) throws Exception{ techsupport obj = new techsupport(); techsupport[] response = (techsupport[])obj.get_resources(service); return response[0]; }
java
public static techsupport[] get(nitro_service service, techsupport_args args) throws Exception{ techsupport obj = new techsupport(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); techsupport[] response = (techsupport[])obj.get_resources(service, option); ret...
java
public static vrid_nsip_binding[] get(nitro_service service, Long id) throws Exception{ vrid_nsip_binding obj = new vrid_nsip_binding(); obj.set_id(id); vrid_nsip_binding response[] = (vrid_nsip_binding[]) obj.get_resources(service); return response; }
java
public static crvserver_stats[] get(nitro_service service) throws Exception{ crvserver_stats obj = new crvserver_stats(); crvserver_stats[] response = (crvserver_stats[])obj.stat_resources(service); return response; }
java
public static crvserver_stats get(nitro_service service, String name) throws Exception{ crvserver_stats obj = new crvserver_stats(); obj.set_name(name); crvserver_stats response = (crvserver_stats) obj.stat_resource(service); return response; }
java
public static authorizationaction[] get(nitro_service service) throws Exception{ authorizationaction obj = new authorizationaction(); authorizationaction[] response = (authorizationaction[])obj.get_resources(service); return response; }
java
public static authorizationaction get(nitro_service service, String name) throws Exception{ authorizationaction obj = new authorizationaction(); obj.set_name(name); authorizationaction response = (authorizationaction) obj.get_resource(service); return response; }
java
public static nstrafficdomain_stats[] get(nitro_service service, options option) throws Exception{ nstrafficdomain_stats obj = new nstrafficdomain_stats(); nstrafficdomain_stats[] response = (nstrafficdomain_stats[])obj.stat_resources(service,option); return response; }
java
public static nstrafficdomain_stats get(nitro_service service, Long td) throws Exception{ nstrafficdomain_stats obj = new nstrafficdomain_stats(); obj.set_td(td); nstrafficdomain_stats response = (nstrafficdomain_stats) obj.stat_resource(service); return response; }
java
public static netbridge_iptunnel_binding[] get(nitro_service service, String name) throws Exception{ netbridge_iptunnel_binding obj = new netbridge_iptunnel_binding(); obj.set_name(name); netbridge_iptunnel_binding response[] = (netbridge_iptunnel_binding[]) obj.get_resources(service); return response; }
java
public static crvserver_lbvserver_binding[] get(nitro_service service, String name) throws Exception{ crvserver_lbvserver_binding obj = new crvserver_lbvserver_binding(); obj.set_name(name); crvserver_lbvserver_binding response[] = (crvserver_lbvserver_binding[]) obj.get_resources(service); return response; }
java
public static base_response add(nitro_service client, dnsaction resource) throws Exception { dnsaction addresource = new dnsaction(); addresource.actionname = resource.actionname; addresource.actiontype = resource.actiontype; addresource.ipaddress = resource.ipaddress; addresource.ttl = resource.ttl; addres...
java
public static base_responses add(nitro_service client, dnsaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsaction addresources[] = new dnsaction[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnsaction(...
java
public static base_responses delete(nitro_service client, String actionname[]) throws Exception { base_responses result = null; if (actionname != null && actionname.length > 0) { dnsaction deleteresources[] = new dnsaction[actionname.length]; for (int i=0;i<actionname.length;i++){ deleteresources[i] = new...
java
public static base_response update(nitro_service client, dnsaction resource) throws Exception { dnsaction updateresource = new dnsaction(); updateresource.actionname = resource.actionname; updateresource.ipaddress = resource.ipaddress; updateresource.ttl = resource.ttl; updateresource.viewname = resource.view...
java
public static base_responses update(nitro_service client, dnsaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsaction updateresources[] = new dnsaction[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new d...
java
public static base_response unset(nitro_service client, dnsaction resource, String[] args) throws Exception{ dnsaction unsetresource = new dnsaction(); unsetresource.actionname = resource.actionname; return unsetresource.unset_resource(client,args); }
java
public static dnsaction[] get(nitro_service service) throws Exception{ dnsaction obj = new dnsaction(); dnsaction[] response = (dnsaction[])obj.get_resources(service); return response; }
java
public static dnsaction get(nitro_service service, String actionname) throws Exception{ dnsaction obj = new dnsaction(); obj.set_actionname(actionname); dnsaction response = (dnsaction) obj.get_resource(service); return response; }
java
public static crvserver_cmppolicy_binding[] get(nitro_service service, String name) throws Exception{ crvserver_cmppolicy_binding obj = new crvserver_cmppolicy_binding(); obj.set_name(name); crvserver_cmppolicy_binding response[] = (crvserver_cmppolicy_binding[]) obj.get_resources(service); return response; }
java
public static Dataset<String, String> readSVMLightFormat(String filename) { return readSVMLightFormat(filename, new HashIndex<String>(), new HashIndex<String>()); }
java
public Counter<F> getFeatureCounter() { Counter<F> featureCounts = new ClassicCounter<F>(); for (int i=0; i < this.size(); i++) { BasicDatum<L, F> datum = (BasicDatum<L, F>) getDatum(i); Set<F> featureSet = new HashSet<F>(datum.asFeatures()); for (F key : featureSet) { ...
java
public RVFDatum<L,F> getL1NormalizedTFIDFDatum(Datum<L,F> datum,Counter<F> featureDocCounts){ Counter<F> tfidfFeatures = new ClassicCounter<F>(); for(F feature : datum.asFeatures()){ if(featureDocCounts.containsKey(feature)) tfidfFeatures.incrementCount(feature,1.0); } do...
java
public RVFDataset<L,F> getL1NormalizedTFIDFDataset(){ RVFDataset<L,F> rvfDataset = new RVFDataset<L,F>(this.size(),this.featureIndex,this.labelIndex); Counter<F> featureDocCounts = getFeatureCounter(); for(int i = 0; i < this.size(); i++){ Datum<L,F> datum = this.getDatum(i); RVFDatum<L,F> ...
java
public void printFullFeatureMatrix(PrintWriter pw) { String sep = "\t"; for (int i = 0; i < featureIndex.size(); i++) { pw.print(sep + featureIndex.get(i)); } pw.println(); for (int i = 0; i < labels.length; i++) { pw.print(labelIndex.get(i)); Set<Integer> feats = new HashS...
java
public void selectFeatures(int numFeatures, double[] scores) { List<ScoredObject<F>> scoredFeatures = new ArrayList<ScoredObject<F>>(); for (int i = 0; i < scores.length; i++) { scoredFeatures.add(new ScoredObject<F>(featureIndex.get(i), scores[i])); } Collections.sort(scoredFeatures, S...
java
public static void printSVMLightFormat(PrintWriter pw, ClassicCounter<Integer> c, int classNo) { Integer[] features = c.keySet().toArray(new Integer[c.keySet().size()]); Arrays.sort(features); StringBuilder sb = new StringBuilder(); sb.append(classNo); sb.append(' '); for (int f: features)...
java
public static systemglobaldata[] get(nitro_service service, systemglobaldata_args args) throws Exception{ systemglobaldata obj = new systemglobaldata(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); systemglobaldata[] response = (systemglobaldata[])obj.get_res...
java
public static lbvserver_copolicy_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_copolicy_binding obj = new lbvserver_copolicy_binding(); obj.set_name(name); lbvserver_copolicy_binding response[] = (lbvserver_copolicy_binding[]) obj.get_resources(service); return response; }
java
public static auditsyslogpolicy_aaagroup_binding[] get(nitro_service service, String name) throws Exception{ auditsyslogpolicy_aaagroup_binding obj = new auditsyslogpolicy_aaagroup_binding(); obj.set_name(name); auditsyslogpolicy_aaagroup_binding response[] = (auditsyslogpolicy_aaagroup_binding[]) obj.get_resourc...
java
public static sslcertkey_binding get(nitro_service service, String certkey) throws Exception{ sslcertkey_binding obj = new sslcertkey_binding(); obj.set_certkey(certkey); sslcertkey_binding response = (sslcertkey_binding) obj.get_resource(service); return response; }
java
public static nslimitidentifier_nslimitsessions_binding[] get(nitro_service service, String limitidentifier) throws Exception{ nslimitidentifier_nslimitsessions_binding obj = new nslimitidentifier_nslimitsessions_binding(); obj.set_limitidentifier(limitidentifier); nslimitidentifier_nslimitsessions_binding respon...
java
public static nslimitidentifier_nslimitsessions_binding[] get_filtered(nitro_service service, String limitidentifier, filtervalue[] filter) throws Exception{ nslimitidentifier_nslimitsessions_binding obj = new nslimitidentifier_nslimitsessions_binding(); obj.set_limitidentifier(limitidentifier); options option = ...
java
public static long count(nitro_service service, String limitidentifier) throws Exception{ nslimitidentifier_nslimitsessions_binding obj = new nslimitidentifier_nslimitsessions_binding(); obj.set_limitidentifier(limitidentifier); options option = new options(); option.set_count(true); nslimitidentifier_nslimit...
java
public static base_response add(nitro_service client, cacheforwardproxy resource) throws Exception { cacheforwardproxy addresource = new cacheforwardproxy(); addresource.ipaddress = resource.ipaddress; addresource.port = resource.port; return addresource.add_resource(client); }
java
public static base_responses add(nitro_service client, cacheforwardproxy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { cacheforwardproxy addresources[] = new cacheforwardproxy[resources.length]; for (int i=0;i<resources.length;i++){ addresou...
java
public static base_response delete(nitro_service client, String ipaddress) throws Exception { cacheforwardproxy deleteresource = new cacheforwardproxy(); deleteresource.ipaddress = ipaddress; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, cacheforwardproxy resource) throws Exception { cacheforwardproxy deleteresource = new cacheforwardproxy(); deleteresource.ipaddress = resource.ipaddress; deleteresource.port = resource.port; return deleteresource.delete_resource(client); }
java
public static base_responses delete(nitro_service client, String ipaddress[]) throws Exception { base_responses result = null; if (ipaddress != null && ipaddress.length > 0) { cacheforwardproxy deleteresources[] = new cacheforwardproxy[ipaddress.length]; for (int i=0;i<ipaddress.length;i++){ deleteresourc...
java
public static base_responses delete(nitro_service client, cacheforwardproxy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { cacheforwardproxy deleteresources[] = new cacheforwardproxy[resources.length]; for (int i=0;i<resources.length;i++){ de...
java
public static cacheforwardproxy[] get(nitro_service service) throws Exception{ cacheforwardproxy obj = new cacheforwardproxy(); cacheforwardproxy[] response = (cacheforwardproxy[])obj.get_resources(service); return response; }
java
public static autoscalepolicy_nstimer_binding[] get(nitro_service service, String name) throws Exception{ autoscalepolicy_nstimer_binding obj = new autoscalepolicy_nstimer_binding(); obj.set_name(name); autoscalepolicy_nstimer_binding response[] = (autoscalepolicy_nstimer_binding[]) obj.get_resources(service); ...
java
public static cmppolicy_cmpglobal_binding[] get(nitro_service service, String name) throws Exception{ cmppolicy_cmpglobal_binding obj = new cmppolicy_cmpglobal_binding(); obj.set_name(name); cmppolicy_cmpglobal_binding response[] = (cmppolicy_cmpglobal_binding[]) obj.get_resources(service); return response; }
java
public static appfwglobal_binding get(nitro_service service) throws Exception{ appfwglobal_binding obj = new appfwglobal_binding(); appfwglobal_binding response = (appfwglobal_binding) obj.get_resource(service); return response; }
java
public static base_response delete(nitro_service client, String monitorname) throws Exception { lbmonitor deleteresource = new lbmonitor(); deleteresource.monitorname = monitorname; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, lbmonitor resource) throws Exception { lbmonitor deleteresource = new lbmonitor(); deleteresource.monitorname = resource.monitorname; deleteresource.type = resource.type; deleteresource.respcode = resource.respcode; return deleteresource.delete_resource...
java
public static base_responses delete(nitro_service client, String monitorname[]) throws Exception { base_responses result = null; if (monitorname != null && monitorname.length > 0) { lbmonitor deleteresources[] = new lbmonitor[monitorname.length]; for (int i=0;i<monitorname.length;i++){ deleteresources[i] ...
java
public static base_responses delete(nitro_service client, lbmonitor resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbmonitor deleteresources[] = new lbmonitor[resources.length]; for (int i=0;i<resources.length;i++){ deleteresources[i] = new l...
java
public static base_response unset(nitro_service client, lbmonitor resource, String[] args) throws Exception{ lbmonitor unsetresource = new lbmonitor(); unsetresource.monitorname = resource.monitorname; unsetresource.type = resource.type; unsetresource.ipaddress = resource.ipaddress; return unsetresource.unset...
java
public static base_responses unset(nitro_service client, lbmonitor resources[], String[] args) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbmonitor unsetresources[] = new lbmonitor[resources.length]; for (int i=0;i<resources.length;i++){ unsetresourc...
java
public static base_response enable(nitro_service client, String monitorname) throws Exception { lbmonitor enableresource = new lbmonitor(); enableresource.monitorname = monitorname; return enableresource.perform_operation(client,"enable"); }
java
public static base_response enable(nitro_service client, lbmonitor resource) throws Exception { lbmonitor enableresource = new lbmonitor(); enableresource.servicename = resource.servicename; enableresource.servicegroupname = resource.servicegroupname; enableresource.monitorname = resource.monitorname; return ...
java
public static base_responses enable(nitro_service client, String monitorname[]) throws Exception { base_responses result = null; if (monitorname != null && monitorname.length > 0) { lbmonitor enableresources[] = new lbmonitor[monitorname.length]; for (int i=0;i<monitorname.length;i++){ enableresources[i] ...
java
public static base_responses enable(nitro_service client, lbmonitor resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbmonitor enableresources[] = new lbmonitor[resources.length]; for (int i=0;i<resources.length;i++){ enableresources[i] = new l...
java
public static base_response disable(nitro_service client, String monitorname) throws Exception { lbmonitor disableresource = new lbmonitor(); disableresource.monitorname = monitorname; return disableresource.perform_operation(client,"disable"); }
java
public static base_response disable(nitro_service client, lbmonitor resource) throws Exception { lbmonitor disableresource = new lbmonitor(); disableresource.servicename = resource.servicename; disableresource.servicegroupname = resource.servicegroupname; disableresource.monitorname = resource.monitorname; re...
java
public static base_responses disable(nitro_service client, String monitorname[]) throws Exception { base_responses result = null; if (monitorname != null && monitorname.length > 0) { lbmonitor disableresources[] = new lbmonitor[monitorname.length]; for (int i=0;i<monitorname.length;i++){ disableresources[...
java
public static base_responses disable(nitro_service client, lbmonitor resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbmonitor disableresources[] = new lbmonitor[resources.length]; for (int i=0;i<resources.length;i++){ disableresources[i] = ne...
java
public static lbmonitor[] get(nitro_service service) throws Exception{ lbmonitor obj = new lbmonitor(); lbmonitor[] response = (lbmonitor[])obj.get_resources(service); return response; }
java
public static lbmonitor[] get(nitro_service service, lbmonitor_args args) throws Exception{ lbmonitor obj = new lbmonitor(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); lbmonitor[] response = (lbmonitor[])obj.get_resources(service, option); return response...
java
public static lbmonitor get(nitro_service service, String monitorname) throws Exception{ lbmonitor obj = new lbmonitor(); obj.set_monitorname(monitorname); lbmonitor response = (lbmonitor) obj.get_resource(service); return response; }
java
public static lbvserver_spilloverpolicy_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_spilloverpolicy_binding obj = new lbvserver_spilloverpolicy_binding(); obj.set_name(name); lbvserver_spilloverpolicy_binding response[] = (lbvserver_spilloverpolicy_binding[]) obj.get_resources(se...
java
public static base_response clear(nitro_service client, nsstats resource) throws Exception { nsstats clearresource = new nsstats(); clearresource.cleanuplevel = resource.cleanuplevel; return clearresource.perform_operation(client,"clear"); }
java
public static base_response Import(nitro_service client, appqoecustomresp resource) throws Exception { appqoecustomresp Importresource = new appqoecustomresp(); Importresource.src = resource.src; Importresource.name = resource.name; return Importresource.perform_operation(client,"Import"); }
java
public static base_responses Import(nitro_service client, appqoecustomresp resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { appqoecustomresp Importresources[] = new appqoecustomresp[resources.length]; for (int i=0;i<resources.length;i++){ Impor...
java
public static base_responses change(nitro_service client, appqoecustomresp resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { appqoecustomresp updateresources[] = new appqoecustomresp[resources.length]; for (int i=0;i<resources.length;i++){ updat...
java