code
stringlengths
73
34.1k
label
stringclasses
1 value
public static Map<String, ByteRunAutomaton> byteRunAutomatonMap( Map<String, Automaton> automatonMap) { HashMap<String, ByteRunAutomaton> byteRunAutomatonMap = new HashMap<>(); if (automatonMap != null) { for (Entry<String, Automaton> entry : automatonMap.entrySet()) { byteRunAutomatonMap.pu...
java
public static List<CompiledAutomaton> createAutomata(String prefix, String regexp, Map<String, Automaton> automatonMap) throws IOException { List<CompiledAutomaton> list = new ArrayList<>(); Automaton automatonRegexp = null; if (regexp != null) { RegExp re = new RegExp(prefix + MtasToken.DELIMIT...
java
public static authenticationtacacspolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{ authenticationtacacspolicy_authenticationvserver_binding obj = new authenticationtacacspolicy_authenticationvserver_binding(); obj.set_name(name); authenticationtacacspolicy_authentic...
java
public static base_response add(nitro_service client, snmpmanager resource) throws Exception { snmpmanager addresource = new snmpmanager(); addresource.ipaddress = resource.ipaddress; addresource.netmask = resource.netmask; addresource.domainresolveretry = resource.domainresolveretry; return addresource.add_r...
java
public static base_responses add(nitro_service client, snmpmanager resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { snmpmanager addresources[] = new snmpmanager[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new snmp...
java
public static base_response delete(nitro_service client, snmpmanager resource) throws Exception { snmpmanager deleteresource = new snmpmanager(); deleteresource.ipaddress = resource.ipaddress; deleteresource.netmask = resource.netmask; return deleteresource.delete_resource(client); }
java
public static base_response update(nitro_service client, snmpmanager resource) throws Exception { snmpmanager updateresource = new snmpmanager(); updateresource.ipaddress = resource.ipaddress; updateresource.netmask = resource.netmask; updateresource.domainresolveretry = resource.domainresolveretry; return up...
java
public static base_responses update(nitro_service client, snmpmanager resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { snmpmanager updateresources[] = new snmpmanager[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] =...
java
public static base_response unset(nitro_service client, snmpmanager resource, String[] args) throws Exception{ snmpmanager unsetresource = new snmpmanager(); unsetresource.ipaddress = resource.ipaddress; unsetresource.netmask = resource.netmask; return unsetresource.unset_resource(client,args); }
java
public static snmpmanager[] get(nitro_service service) throws Exception{ snmpmanager obj = new snmpmanager(); snmpmanager[] response = (snmpmanager[])obj.get_resources(service); return response; }
java
public static appfwprofile_denyurl_binding[] get(nitro_service service, String name) throws Exception{ appfwprofile_denyurl_binding obj = new appfwprofile_denyurl_binding(); obj.set_name(name); appfwprofile_denyurl_binding response[] = (appfwprofile_denyurl_binding[]) obj.get_resources(service); return response...
java
public static netbridge_vlan_binding[] get(nitro_service service, String name) throws Exception{ netbridge_vlan_binding obj = new netbridge_vlan_binding(); obj.set_name(name); netbridge_vlan_binding response[] = (netbridge_vlan_binding[]) obj.get_resources(service); return response; }
java
public static audit_stats get(nitro_service service, options option) throws Exception{ audit_stats obj = new audit_stats(); audit_stats[] response = (audit_stats[])obj.stat_resources(service,option); return response[0]; }
java
public base_response clear_config(Boolean force, String level) throws Exception { base_response result = null; nsconfig resource = new nsconfig(); if (force) resource.set_force(force); resource.set_level(level); options option = new options(); option.set_action("clear"); result = resource.perform_ope...
java
public base_response enable_features(String[] features) throws Exception { base_response result = null; nsfeature resource = new nsfeature(); resource.set_feature(features); options option = new options(); option.set_action("enable"); result = resource.perform_operation(this, option); return result; }
java
public base_response enable_modes(String[] modes) throws Exception { base_response result = null; nsmode resource = new nsmode(); resource.set_mode(modes); options option = new options(); option.set_action("enable"); result = resource.perform_operation(this, option); return result; }
java
public base_response login(String username, String password, Long timeout) throws Exception { this.set_credential(username, password); this.set_timeout(timeout); return this.login(); }
java
public void set_protocol(String protocol) throws nitro_exception { if (protocol == null || !(protocol.equalsIgnoreCase("http") ||protocol.equalsIgnoreCase("https"))) { throw new nitro_exception("error: protocol value " + protocol + " is not supported"); } this.protocol = protocol; }
java
public static authenticationvserver_authenticationlocalpolicy_binding[] get(nitro_service service, String name) throws Exception{ authenticationvserver_authenticationlocalpolicy_binding obj = new authenticationvserver_authenticationlocalpolicy_binding(); obj.set_name(name); authenticationvserver_authenticationloc...
java
public static responderglobal_responderpolicy_binding[] get(nitro_service service) throws Exception{ responderglobal_responderpolicy_binding obj = new responderglobal_responderpolicy_binding(); responderglobal_responderpolicy_binding response[] = (responderglobal_responderpolicy_binding[]) obj.get_resources(service...
java
public static systemmemory_stats get(nitro_service service) throws Exception{ systemmemory_stats obj = new systemmemory_stats(); systemmemory_stats[] response = (systemmemory_stats[])obj.stat_resources(service); return response[0]; }
java
public static base_response unset(nitro_service client, sslservice resource, String[] args) throws Exception{ sslservice unsetresource = new sslservice(); unsetresource.servicename = resource.servicename; return unsetresource.unset_resource(client,args); }
java
public static sslservice[] get(nitro_service service) throws Exception{ sslservice obj = new sslservice(); sslservice[] response = (sslservice[])obj.get_resources(service); return response; }
java
public static sslservice[] get(nitro_service service, sslservice_args args) throws Exception{ sslservice obj = new sslservice(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); sslservice[] response = (sslservice[])obj.get_resources(service, option); return re...
java
public static sslservice get(nitro_service service, String servicename) throws Exception{ sslservice obj = new sslservice(); obj.set_servicename(servicename); sslservice response = (sslservice) obj.get_resource(service); return response; }
java
public static base_response add(nitro_service client, vpath resource) throws Exception { vpath addresource = new vpath(); addresource.name = resource.name; addresource.destip = resource.destip; addresource.encapmode = resource.encapmode; return addresource.add_resource(client); }
java
public static base_responses add(nitro_service client, vpath resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpath addresources[] = new vpath[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new vpath(); addresour...
java
public static vpath[] get(nitro_service service) throws Exception{ vpath obj = new vpath(); vpath[] response = (vpath[])obj.get_resources(service); return response; }
java
public static vpath get(nitro_service service, String name) throws Exception{ vpath obj = new vpath(); obj.set_name(name); vpath response = (vpath) obj.get_resource(service); return response; }
java
public Tokenizer<Tree> getTokenizer(final Reader r) { return new AbstractTokenizer<Tree>() { TreeReader tr = trf.newTreeReader(r); @Override public Tree getNext() { try { return tr.readTree(); } catch(IOException e) { System.err.println("Error i...
java
public static lbvserver_scpolicy_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_scpolicy_binding obj = new lbvserver_scpolicy_binding(); obj.set_name(name); lbvserver_scpolicy_binding response[] = (lbvserver_scpolicy_binding[]) obj.get_resources(service); return response; }
java
public static transformpolicylabel[] get(nitro_service service) throws Exception{ transformpolicylabel obj = new transformpolicylabel(); transformpolicylabel[] response = (transformpolicylabel[])obj.get_resources(service); return response; }
java
public static transformpolicylabel get(nitro_service service, String labelname) throws Exception{ transformpolicylabel obj = new transformpolicylabel(); obj.set_labelname(labelname); transformpolicylabel response = (transformpolicylabel) obj.get_resource(service); return response; }
java
public static base_response add(nitro_service client, ntpserver resource) throws Exception { ntpserver addresource = new ntpserver(); addresource.serverip = resource.serverip; addresource.servername = resource.servername; addresource.minpoll = resource.minpoll; addresource.maxpoll = resource.maxpoll; addres...
java
public static base_responses add(nitro_service client, ntpserver resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { ntpserver addresources[] = new ntpserver[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new ntpserver(...
java
public static base_response delete(nitro_service client, String serverip) throws Exception { ntpserver deleteresource = new ntpserver(); deleteresource.serverip = serverip; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, ntpserver resource) throws Exception { ntpserver deleteresource = new ntpserver(); deleteresource.serverip = resource.serverip; deleteresource.servername = resource.servername; return deleteresource.delete_resource(client); }
java
public static base_responses delete(nitro_service client, String serverip[]) throws Exception { base_responses result = null; if (serverip != null && serverip.length > 0) { ntpserver deleteresources[] = new ntpserver[serverip.length]; for (int i=0;i<serverip.length;i++){ deleteresources[i] = new ntpserver...
java
public static base_responses delete(nitro_service client, ntpserver resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { ntpserver deleteresources[] = new ntpserver[resources.length]; for (int i=0;i<resources.length;i++){ deleteresources[i] = new n...
java
public static base_response update(nitro_service client, ntpserver resource) throws Exception { ntpserver updateresource = new ntpserver(); updateresource.serverip = resource.serverip; updateresource.servername = resource.servername; updateresource.minpoll = resource.minpoll; updateresource.maxpoll = resource...
java
public static base_responses update(nitro_service client, ntpserver resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { ntpserver updateresources[] = new ntpserver[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new n...
java
public static base_response unset(nitro_service client, ntpserver resource, String[] args) throws Exception{ ntpserver unsetresource = new ntpserver(); unsetresource.serverip = resource.serverip; unsetresource.servername = resource.servername; return unsetresource.unset_resource(client,args); }
java
public static ntpserver[] get(nitro_service service) throws Exception{ ntpserver obj = new ntpserver(); ntpserver[] response = (ntpserver[])obj.get_resources(service); return response; }
java
public static base_response add(nitro_service client, dnssuffix resource) throws Exception { dnssuffix addresource = new dnssuffix(); addresource.Dnssuffix = resource.Dnssuffix; return addresource.add_resource(client); }
java
public static base_responses add(nitro_service client, dnssuffix resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnssuffix addresources[] = new dnssuffix[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnssuffix(...
java
public static base_response delete(nitro_service client, String Dnssuffix) throws Exception { dnssuffix deleteresource = new dnssuffix(); deleteresource.Dnssuffix = Dnssuffix; return deleteresource.delete_resource(client); }
java
public static base_responses delete(nitro_service client, String Dnssuffix[]) throws Exception { base_responses result = null; if (Dnssuffix != null && Dnssuffix.length > 0) { dnssuffix deleteresources[] = new dnssuffix[Dnssuffix.length]; for (int i=0;i<Dnssuffix.length;i++){ deleteresources[i] = new dnss...
java
public static dnssuffix[] get(nitro_service service) throws Exception{ dnssuffix obj = new dnssuffix(); dnssuffix[] response = (dnssuffix[])obj.get_resources(service); return response; }
java
public static dnssuffix get(nitro_service service, String Dnssuffix) throws Exception{ dnssuffix obj = new dnssuffix(); obj.set_Dnssuffix(Dnssuffix); dnssuffix response = (dnssuffix) obj.get_resource(service); return response; }
java
public static dnssuffix[] get(nitro_service service, String Dnssuffix[]) throws Exception{ if (Dnssuffix !=null && Dnssuffix.length>0) { dnssuffix response[] = new dnssuffix[Dnssuffix.length]; dnssuffix obj[] = new dnssuffix[Dnssuffix.length]; for (int i=0;i<Dnssuffix.length;i++) { obj[i] = new dnssuffix...
java
public static base_response update(nitro_service client, vridparam resource) throws Exception { vridparam updateresource = new vridparam(); updateresource.sendtomaster = resource.sendtomaster; return updateresource.update_resource(client); }
java
public static base_response unset(nitro_service client, vridparam resource, String[] args) throws Exception{ vridparam unsetresource = new vridparam(); return unsetresource.unset_resource(client,args); }
java
public static vridparam get(nitro_service service) throws Exception{ vridparam obj = new vridparam(); vridparam[] response = (vridparam[])obj.get_resources(service); return response[0]; }
java
public static cmppolicylabel_stats[] get(nitro_service service) throws Exception{ cmppolicylabel_stats obj = new cmppolicylabel_stats(); cmppolicylabel_stats[] response = (cmppolicylabel_stats[])obj.stat_resources(service); return response; }
java
public static cmppolicylabel_stats get(nitro_service service, String labelname) throws Exception{ cmppolicylabel_stats obj = new cmppolicylabel_stats(); obj.set_labelname(labelname); cmppolicylabel_stats response = (cmppolicylabel_stats) obj.stat_resource(service); return response; }
java
public static base_response add(nitro_service client, dnstxtrec resource) throws Exception { dnstxtrec addresource = new dnstxtrec(); addresource.domain = resource.domain; addresource.String = resource.String; addresource.ttl = resource.ttl; return addresource.add_resource(client); }
java
public static base_responses add(nitro_service client, dnstxtrec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnstxtrec addresources[] = new dnstxtrec[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnstxtrec(...
java
public static base_response delete(nitro_service client, String domain) throws Exception { dnstxtrec deleteresource = new dnstxtrec(); deleteresource.domain = domain; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, dnstxtrec resource) throws Exception { dnstxtrec deleteresource = new dnstxtrec(); deleteresource.domain = resource.domain; deleteresource.String = resource.String; deleteresource.recordid = resource.recordid; return deleteresource.delete_resource(clien...
java
public static base_responses delete(nitro_service client, dnstxtrec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnstxtrec deleteresources[] = new dnstxtrec[resources.length]; for (int i=0;i<resources.length;i++){ deleteresources[i] = new d...
java
public static dnstxtrec[] get(nitro_service service) throws Exception{ dnstxtrec obj = new dnstxtrec(); dnstxtrec[] response = (dnstxtrec[])obj.get_resources(service); return response; }
java
public static dnstxtrec[] get(nitro_service service, dnstxtrec_args args) throws Exception{ dnstxtrec obj = new dnstxtrec(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); dnstxtrec[] response = (dnstxtrec[])obj.get_resources(service, option); return response...
java
public static dnstxtrec get(nitro_service service, String domain) throws Exception{ dnstxtrec obj = new dnstxtrec(); obj.set_domain(domain); dnstxtrec response = (dnstxtrec) obj.get_resource(service); return response; }
java
public static dnstxtrec[] get(nitro_service service, String domain[]) throws Exception{ if (domain !=null && domain.length>0) { dnstxtrec response[] = new dnstxtrec[domain.length]; dnstxtrec obj[] = new dnstxtrec[domain.length]; for (int i=0;i<domain.length;i++) { obj[i] = new dnstxtrec(); obj[i].set...
java
public static bridgegroup_vlan_binding[] get(nitro_service service, Long id) throws Exception{ bridgegroup_vlan_binding obj = new bridgegroup_vlan_binding(); obj.set_id(id); bridgegroup_vlan_binding response[] = (bridgegroup_vlan_binding[]) obj.get_resources(service); return response; }
java
public static long count(nitro_service service, Long id) throws Exception{ bridgegroup_vlan_binding obj = new bridgegroup_vlan_binding(); obj.set_id(id); options option = new options(); option.set_count(true); bridgegroup_vlan_binding response[] = (bridgegroup_vlan_binding[]) obj.get_resources(service,option)...
java
public boolean accept(String str) { int k = str.length() - 1; char c = str.charAt(k); while (k >= 0 && !Character.isDigit(c)) { k--; if (k >= 0) { c = str.charAt(k); } } if (k < 0) { return false; } int j = k; c = str.charAt(j); while (j ...
java
public static vlan_nsip_binding[] get(nitro_service service, Long id) throws Exception{ vlan_nsip_binding obj = new vlan_nsip_binding(); obj.set_id(id); vlan_nsip_binding response[] = (vlan_nsip_binding[]) obj.get_resources(service); return response; }
java
public static wisite_binding get(nitro_service service, String sitepath) throws Exception{ wisite_binding obj = new wisite_binding(); obj.set_sitepath(sitepath); wisite_binding response = (wisite_binding) obj.get_resource(service); return response; }
java
public static wisite_binding[] get(nitro_service service, String sitepath[]) throws Exception{ if (sitepath !=null && sitepath.length>0) { wisite_binding response[] = new wisite_binding[sitepath.length]; wisite_binding obj[] = new wisite_binding[sitepath.length]; for (int i=0;i<sitepath.length;i++) { obj...
java
public static responderpolicylabel_responderpolicy_binding[] get(nitro_service service, String labelname) throws Exception{ responderpolicylabel_responderpolicy_binding obj = new responderpolicylabel_responderpolicy_binding(); obj.set_labelname(labelname); responderpolicylabel_responderpolicy_binding response[] =...
java
public static vpnvserver_appcontroller_binding[] get(nitro_service service, String name) throws Exception{ vpnvserver_appcontroller_binding obj = new vpnvserver_appcontroller_binding(); obj.set_name(name); vpnvserver_appcontroller_binding response[] = (vpnvserver_appcontroller_binding[]) obj.get_resources(service...
java
public static base_response add(nitro_service client, vpnsessionaction resource) throws Exception { vpnsessionaction addresource = new vpnsessionaction(); addresource.name = resource.name; addresource.httpport = resource.httpport; addresource.winsip = resource.winsip; addresource.dnsvservername = resource.dns...
java
public static base_response update(nitro_service client, vpnsessionaction resource) throws Exception { vpnsessionaction updateresource = new vpnsessionaction(); updateresource.name = resource.name; updateresource.httpport = resource.httpport; updateresource.winsip = resource.winsip; updateresource.dnsvservern...
java
public static vpnsessionaction[] get(nitro_service service) throws Exception{ vpnsessionaction obj = new vpnsessionaction(); vpnsessionaction[] response = (vpnsessionaction[])obj.get_resources(service); return response; }
java
public static vpnsessionaction get(nitro_service service, String name) throws Exception{ vpnsessionaction obj = new vpnsessionaction(); obj.set_name(name); vpnsessionaction response = (vpnsessionaction) obj.get_resource(service); return response; }
java
public static nslimitidentifier_binding get(nitro_service service, String limitidentifier) throws Exception{ nslimitidentifier_binding obj = new nslimitidentifier_binding(); obj.set_limitidentifier(limitidentifier); nslimitidentifier_binding response = (nslimitidentifier_binding) obj.get_resource(service); retu...
java
public static base_response add(nitro_service client, sslocspresponder resource) throws Exception { sslocspresponder addresource = new sslocspresponder(); addresource.name = resource.name; addresource.url = resource.url; addresource.cache = resource.cache; addresource.cachetimeout = resource.cachetimeout; a...
java
public static base_responses add(nitro_service client, sslocspresponder resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslocspresponder addresources[] = new sslocspresponder[resources.length]; for (int i=0;i<resources.length;i++){ addresource...
java
public static base_response update(nitro_service client, sslocspresponder resource) throws Exception { sslocspresponder updateresource = new sslocspresponder(); updateresource.name = resource.name; updateresource.url = resource.url; updateresource.cache = resource.cache; updateresource.cachetimeout = resource...
java
public static base_responses update(nitro_service client, sslocspresponder resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslocspresponder updateresources[] = new sslocspresponder[resources.length]; for (int i=0;i<resources.length;i++){ updat...
java
public static base_response unset(nitro_service client, sslocspresponder resource, String[] args) throws Exception{ sslocspresponder unsetresource = new sslocspresponder(); unsetresource.name = resource.name; unsetresource.insertclientcert = resource.insertclientcert; return unsetresource.unset_resource(client,...
java
public static sslocspresponder[] get(nitro_service service) throws Exception{ sslocspresponder obj = new sslocspresponder(); sslocspresponder[] response = (sslocspresponder[])obj.get_resources(service); return response; }
java
public static sslocspresponder get(nitro_service service, String name) throws Exception{ sslocspresponder obj = new sslocspresponder(); obj.set_name(name); sslocspresponder response = (sslocspresponder) obj.get_resource(service); return response; }
java
public static base_response add(nitro_service client, nslimitselector resource) throws Exception { nslimitselector addresource = new nslimitselector(); addresource.selectorname = resource.selectorname; addresource.rule = resource.rule; return addresource.add_resource(client); }
java
public static base_responses update(nitro_service client, nslimitselector resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nslimitselector updateresources[] = new nslimitselector[resources.length]; for (int i=0;i<resources.length;i++){ updatere...
java
public static base_response unset(nitro_service client, nslimitselector resource, String[] args) throws Exception{ nslimitselector unsetresource = new nslimitselector(); unsetresource.selectorname = resource.selectorname; return unsetresource.unset_resource(client,args); }
java
public static base_responses unset(nitro_service client, String selectorname[], String args[]) throws Exception { base_responses result = null; if (selectorname != null && selectorname.length > 0) { nslimitselector unsetresources[] = new nslimitselector[selectorname.length]; for (int i=0;i<selectorname.length...
java
public static nslimitselector[] get(nitro_service service) throws Exception{ nslimitselector obj = new nslimitselector(); nslimitselector[] response = (nslimitselector[])obj.get_resources(service); return response; }
java
public static nslimitselector get(nitro_service service, String selectorname) throws Exception{ nslimitselector obj = new nslimitselector(); obj.set_selectorname(selectorname); nslimitselector response = (nslimitselector) obj.get_resource(service); return response; }
java
public static nstrafficdomain_binding get(nitro_service service, Long td) throws Exception{ nstrafficdomain_binding obj = new nstrafficdomain_binding(); obj.set_td(td); nstrafficdomain_binding response = (nstrafficdomain_binding) obj.get_resource(service); return response; }
java
public static nstrafficdomain_binding[] get(nitro_service service, Long td[]) throws Exception{ if (td !=null && td.length>0) { nstrafficdomain_binding response[] = new nstrafficdomain_binding[td.length]; nstrafficdomain_binding obj[] = new nstrafficdomain_binding[td.length]; for (int i=0;i<td.length;i++) { ...
java
public static cmppolicylabel_cmppolicy_binding[] get(nitro_service service, String labelname) throws Exception{ cmppolicylabel_cmppolicy_binding obj = new cmppolicylabel_cmppolicy_binding(); obj.set_labelname(labelname); cmppolicylabel_cmppolicy_binding response[] = (cmppolicylabel_cmppolicy_binding[]) obj.get_re...
java
public static base_response update(nitro_service client, appfwlearningsettings resource) throws Exception { appfwlearningsettings updateresource = new appfwlearningsettings(); updateresource.profilename = resource.profilename; updateresource.starturlminthreshold = resource.starturlminthreshold; updateresource.s...
java
public static base_responses update(nitro_service client, appfwlearningsettings resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { appfwlearningsettings updateresources[] = new appfwlearningsettings[resources.length]; for (int i=0;i<resources.length;...
java
public static appfwlearningsettings[] get(nitro_service service) throws Exception{ appfwlearningsettings obj = new appfwlearningsettings(); appfwlearningsettings[] response = (appfwlearningsettings[])obj.get_resources(service); return response; }
java
public static appfwlearningsettings get(nitro_service service, String profilename) throws Exception{ appfwlearningsettings obj = new appfwlearningsettings(); obj.set_profilename(profilename); appfwlearningsettings response = (appfwlearningsettings) obj.get_resource(service); return response; }
java
public static appfwlearningsettings[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ appfwlearningsettings obj = new appfwlearningsettings(); options option = new options(); option.set_filter(filter); appfwlearningsettings[] response = (appfwlearningsettings[]) obj.getfiltered(servi...
java
public static lbvserver_appflowpolicy_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_appflowpolicy_binding obj = new lbvserver_appflowpolicy_binding(); obj.set_name(name); lbvserver_appflowpolicy_binding response[] = (lbvserver_appflowpolicy_binding[]) obj.get_resources(service); ...
java
public static base_response add(nitro_service client, dnsaaaarec resource) throws Exception { dnsaaaarec addresource = new dnsaaaarec(); addresource.hostname = resource.hostname; addresource.ipv6address = resource.ipv6address; addresource.ttl = resource.ttl; return addresource.add_resource(client); }
java