code
stringlengths
73
34.1k
label
stringclasses
1 value
public static base_responses add(nitro_service client, streamidentifier resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { streamidentifier addresources[] = new streamidentifier[resources.length]; for (int i=0;i<resources.length;i++){ addresource...
java
public static base_response update(nitro_service client, streamidentifier resource) throws Exception { streamidentifier updateresource = new streamidentifier(); updateresource.name = resource.name; updateresource.selectorname = resource.selectorname; updateresource.interval = resource.interval; updateresource...
java
public static base_responses update(nitro_service client, streamidentifier resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { streamidentifier updateresources[] = new streamidentifier[resources.length]; for (int i=0;i<resources.length;i++){ updat...
java
public static streamidentifier[] get(nitro_service service) throws Exception{ streamidentifier obj = new streamidentifier(); streamidentifier[] response = (streamidentifier[])obj.get_resources(service); return response; }
java
public static streamidentifier get(nitro_service service, String name) throws Exception{ streamidentifier obj = new streamidentifier(); obj.set_name(name); streamidentifier response = (streamidentifier) obj.get_resource(service); return response; }
java
public static streamidentifier[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ streamidentifier obj = new streamidentifier(); options option = new options(); option.set_filter(filter); streamidentifier[] response = (streamidentifier[]) obj.getfiltered(service, option); return res...
java
@SuppressWarnings({"InfiniteLoopStatement", "ConstantConditions", "null"}) public void run() { Socket client = null; while (true) { try { client = listener.accept(); if (DEBUG) { System.err.print("Accepted request from "); System.err.println(client.getInetAddr...
java
public static nat64_stats get(nitro_service service) throws Exception{ nat64_stats obj = new nat64_stats(); nat64_stats[] response = (nat64_stats[])obj.stat_resources(service); return response[0]; }
java
public static csvserver_transformpolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_transformpolicy_binding obj = new csvserver_transformpolicy_binding(); obj.set_name(name); csvserver_transformpolicy_binding response[] = (csvserver_transformpolicy_binding[]) obj.get_resources(se...
java
public static appfwprofile_xmlsqlinjection_binding[] get(nitro_service service, String name) throws Exception{ appfwprofile_xmlsqlinjection_binding obj = new appfwprofile_xmlsqlinjection_binding(); obj.set_name(name); appfwprofile_xmlsqlinjection_binding response[] = (appfwprofile_xmlsqlinjection_binding[]) obj.g...
java
public E removeFirst() { E first = getFirst(); swap(0, size - 1); size--; elements.remove(size); heapifyDown(0); return first; }
java
public static base_response add(nitro_service client, pqpolicy resource) throws Exception { pqpolicy addresource = new pqpolicy(); addresource.policyname = resource.policyname; addresource.rule = resource.rule; addresource.priority = resource.priority; addresource.weight = resource.weight; addresource.qdept...
java
public static base_responses add(nitro_service client, pqpolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { pqpolicy addresources[] = new pqpolicy[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new pqpolicy(); ...
java
public static base_response update(nitro_service client, pqpolicy resource) throws Exception { pqpolicy updateresource = new pqpolicy(); updateresource.policyname = resource.policyname; updateresource.weight = resource.weight; updateresource.qdepth = resource.qdepth; updateresource.polqdepth = resource.polqde...
java
public static base_responses update(nitro_service client, pqpolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { pqpolicy updateresources[] = new pqpolicy[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new pqpo...
java
public static base_response unset(nitro_service client, pqpolicy resource, String[] args) throws Exception{ pqpolicy unsetresource = new pqpolicy(); unsetresource.policyname = resource.policyname; return unsetresource.unset_resource(client,args); }
java
public static pqpolicy[] get(nitro_service service) throws Exception{ pqpolicy obj = new pqpolicy(); pqpolicy[] response = (pqpolicy[])obj.get_resources(service); return response; }
java
public static pqpolicy get(nitro_service service, String policyname) throws Exception{ pqpolicy obj = new pqpolicy(); obj.set_policyname(policyname); pqpolicy response = (pqpolicy) obj.get_resource(service); return response; }
java
public static lbmonbindings_binding get(nitro_service service, String monitorname) throws Exception{ lbmonbindings_binding obj = new lbmonbindings_binding(); obj.set_monitorname(monitorname); lbmonbindings_binding response = (lbmonbindings_binding) obj.get_resource(service); return response; }
java
public static transformpolicy_transformglobal_binding[] get(nitro_service service, String name) throws Exception{ transformpolicy_transformglobal_binding obj = new transformpolicy_transformglobal_binding(); obj.set_name(name); transformpolicy_transformglobal_binding response[] = (transformpolicy_transformglobal_b...
java
public static tunnelip6_stats[] get(nitro_service service) throws Exception{ tunnelip6_stats obj = new tunnelip6_stats(); tunnelip6_stats[] response = (tunnelip6_stats[])obj.stat_resources(service); return response; }
java
public static tunnelip6_stats get(nitro_service service, String tunnelip6) throws Exception{ tunnelip6_stats obj = new tunnelip6_stats(); obj.set_tunnelip6(tunnelip6); tunnelip6_stats response = (tunnelip6_stats) obj.stat_resource(service); return response; }
java
public AuxiliaryTree copy(TsurgeonPattern p) { Map<String,Tree> newNamesToNodes = new HashMap<String,Tree>(); Pair<Tree,Tree> result = copyHelper(tree,newNamesToNodes); //if(! result.first().dominates(result.second())) //System.err.println("Error -- aux tree copy doesn't dominate foot copy."); ...
java
private static Tree findFootNode(Tree t) { Tree footNode = findFootNodeHelper(t); Tree result = footNode; if (footNode != null) { Tree parent = footNode.parent(t); int i = parent.indexOf(footNode); Tree newFootNode = footNode.treeFactory().newTreeNode(footNode.label(), new ArrayList<...
java
private void initializeNamesNodesMaps(Tree t) { for (Tree node : t.subTreeList()) { Matcher m = namePattern.matcher(node.label().value()); if (m.find()) { namesToNodes.put(m.group(1),node); nodesToNames.put(node,m.group(1)); node.label().setValue(m.replaceFirst("")); ...
java
public static base_response add(nitro_service client, dnsmxrec resource) throws Exception { dnsmxrec addresource = new dnsmxrec(); addresource.domain = resource.domain; addresource.mx = resource.mx; addresource.pref = resource.pref; addresource.ttl = resource.ttl; return addresource.add_resource(client); }
java
public static base_responses add(nitro_service client, dnsmxrec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsmxrec addresources[] = new dnsmxrec[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnsmxrec(); ...
java
public static base_response delete(nitro_service client, dnsmxrec resource) throws Exception { dnsmxrec deleteresource = new dnsmxrec(); deleteresource.domain = resource.domain; deleteresource.mx = resource.mx; return deleteresource.delete_resource(client); }
java
public static base_response update(nitro_service client, dnsmxrec resource) throws Exception { dnsmxrec updateresource = new dnsmxrec(); updateresource.domain = resource.domain; updateresource.mx = resource.mx; updateresource.pref = resource.pref; updateresource.ttl = resource.ttl; return updateresource.upd...
java
public static base_responses update(nitro_service client, dnsmxrec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsmxrec updateresources[] = new dnsmxrec[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new dnsm...
java
public static base_response unset(nitro_service client, dnsmxrec resource, String[] args) throws Exception{ dnsmxrec unsetresource = new dnsmxrec(); unsetresource.domain = resource.domain; unsetresource.mx = resource.mx; return unsetresource.unset_resource(client,args); }
java
public static dnsmxrec[] get(nitro_service service, options option) throws Exception{ dnsmxrec obj = new dnsmxrec(); dnsmxrec[] response = (dnsmxrec[])obj.get_resources(service,option); return response; }
java
public static dnsmxrec[] get(nitro_service service, dnsmxrec_args args) throws Exception{ dnsmxrec obj = new dnsmxrec(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); dnsmxrec[] response = (dnsmxrec[])obj.get_resources(service, option); return response; }
java
public static dnsmxrec get(nitro_service service, String domain) throws Exception{ dnsmxrec obj = new dnsmxrec(); obj.set_domain(domain); dnsmxrec response = (dnsmxrec) obj.get_resource(service); return response; }
java
public static base_response add(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain addresource = new nstrafficdomain(); addresource.td = resource.td; addresource.aliasname = resource.aliasname; return addresource.add_resource(client); }
java
public static base_responses add(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain addresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i...
java
public static base_response delete(nitro_service client, Long td) throws Exception { nstrafficdomain deleteresource = new nstrafficdomain(); deleteresource.td = td; return deleteresource.delete_resource(client); }
java
public static base_response clear(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain clearresource = new nstrafficdomain(); clearresource.td = resource.td; return clearresource.perform_operation(client,"clear"); }
java
public static base_responses clear(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain clearresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ clearresou...
java
public static base_response enable(nitro_service client, Long td) throws Exception { nstrafficdomain enableresource = new nstrafficdomain(); enableresource.td = td; return enableresource.perform_operation(client,"enable"); }
java
public static base_response enable(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain enableresource = new nstrafficdomain(); enableresource.td = resource.td; enableresource.state = resource.state; return enableresource.perform_operation(client,"enable"); }
java
public static base_responses enable(nitro_service client, Long td[]) throws Exception { base_responses result = null; if (td != null && td.length > 0) { nstrafficdomain enableresources[] = new nstrafficdomain[td.length]; for (int i=0;i<td.length;i++){ enableresources[i] = new nstrafficdomain(); enable...
java
public static base_responses enable(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain enableresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ enablere...
java
public static base_response disable(nitro_service client, Long td) throws Exception { nstrafficdomain disableresource = new nstrafficdomain(); disableresource.td = td; return disableresource.perform_operation(client,"disable"); }
java
public static base_response disable(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain disableresource = new nstrafficdomain(); disableresource.td = resource.td; disableresource.state = resource.state; return disableresource.perform_operation(client,"disable"); }
java
public static base_responses disable(nitro_service client, Long td[]) throws Exception { base_responses result = null; if (td != null && td.length > 0) { nstrafficdomain disableresources[] = new nstrafficdomain[td.length]; for (int i=0;i<td.length;i++){ disableresources[i] = new nstrafficdomain(); dis...
java
public static base_responses disable(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain disableresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ disabl...
java
public static nstrafficdomain[] get(nitro_service service) throws Exception{ nstrafficdomain obj = new nstrafficdomain(); nstrafficdomain[] response = (nstrafficdomain[])obj.get_resources(service); return response; }
java
public static nstrafficdomain get(nitro_service service, Long td) throws Exception{ nstrafficdomain obj = new nstrafficdomain(); obj.set_td(td); nstrafficdomain response = (nstrafficdomain) obj.get_resource(service); return response; }
java
public static vpnglobal_auditsyslogpolicy_binding[] get(nitro_service service) throws Exception{ vpnglobal_auditsyslogpolicy_binding obj = new vpnglobal_auditsyslogpolicy_binding(); vpnglobal_auditsyslogpolicy_binding response[] = (vpnglobal_auditsyslogpolicy_binding[]) obj.get_resources(service); return response...
java
public static nssavedconfig get(nitro_service service) throws Exception{ nssavedconfig obj = new nssavedconfig(); nssavedconfig[] response = (nssavedconfig[])obj.get_resources(service); return response[0]; }
java
public static transformpolicy_stats[] get(nitro_service service) throws Exception{ transformpolicy_stats obj = new transformpolicy_stats(); transformpolicy_stats[] response = (transformpolicy_stats[])obj.stat_resources(service); return response; }
java
public static transformpolicy_stats get(nitro_service service, String name) throws Exception{ transformpolicy_stats obj = new transformpolicy_stats(); obj.set_name(name); transformpolicy_stats response = (transformpolicy_stats) obj.stat_resource(service); return response; }
java
public static csvserver_appfwpolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_appfwpolicy_binding obj = new csvserver_appfwpolicy_binding(); obj.set_name(name); csvserver_appfwpolicy_binding response[] = (csvserver_appfwpolicy_binding[]) obj.get_resources(service); return res...
java
protected void setUp(int initialCapacity, double minLoadFactor, double maxLoadFactor) { if (initialCapacity < 0) throw new IllegalArgumentException("Initial Capacity must not be less than zero: "+ initialCapacity); if (minLoadFactor < 0.0 || minLoadFactor >= 1.0) throw new IllegalArgumentExcepti...
java
public static vrid6_nsip_binding[] get(nitro_service service, Long id) throws Exception{ vrid6_nsip_binding obj = new vrid6_nsip_binding(); obj.set_id(id); vrid6_nsip_binding response[] = (vrid6_nsip_binding[]) obj.get_resources(service); return response; }
java
public static cmppolicy_binding get(nitro_service service, String name) throws Exception{ cmppolicy_binding obj = new cmppolicy_binding(); obj.set_name(name); cmppolicy_binding response = (cmppolicy_binding) obj.get_resource(service); return response; }
java
public static tunneltrafficpolicy_tunnelglobal_binding[] get(nitro_service service, String name) throws Exception{ tunneltrafficpolicy_tunnelglobal_binding obj = new tunneltrafficpolicy_tunnelglobal_binding(); obj.set_name(name); tunneltrafficpolicy_tunnelglobal_binding response[] = (tunneltrafficpolicy_tunnelglo...
java
public static base_response update(nitro_service client, scparameter resource) throws Exception { scparameter updateresource = new scparameter(); updateresource.sessionlife = resource.sessionlife; updateresource.vsr = resource.vsr; return updateresource.update_resource(client); }
java
public static base_response unset(nitro_service client, scparameter resource, String[] args) throws Exception{ scparameter unsetresource = new scparameter(); return unsetresource.unset_resource(client,args); }
java
public static scparameter get(nitro_service service, options option) throws Exception{ scparameter obj = new scparameter(); scparameter[] response = (scparameter[])obj.get_resources(service,option); return response[0]; }
java
public static sslservice_sslciphersuite_binding[] get(nitro_service service, String servicename) throws Exception{ sslservice_sslciphersuite_binding obj = new sslservice_sslciphersuite_binding(); obj.set_servicename(servicename); sslservice_sslciphersuite_binding response[] = (sslservice_sslciphersuite_binding[])...
java
public static long count(nitro_service service, String servicename) throws Exception{ sslservice_sslciphersuite_binding obj = new sslservice_sslciphersuite_binding(); obj.set_servicename(servicename); options option = new options(); option.set_count(true); sslservice_sslciphersuite_binding response[] = (sslse...
java
public static vrid_binding get(nitro_service service, Long id) throws Exception{ vrid_binding obj = new vrid_binding(); obj.set_id(id); vrid_binding response = (vrid_binding) obj.get_resource(service); return response; }
java
private String getFieldType(IndexSchema schema, String field) throws IOException { SchemaField sf = schema.getField(field); FieldType ft = sf.getType(); if (ft != null) { if (ft.isPointField() && !sf.hasDocValues()) { return ComponentFacet.TYPE_POINTFIELD_WITHOUT_DOCVALUES; } ...
java
public static appfw_stats get(nitro_service service) throws Exception{ appfw_stats obj = new appfw_stats(); appfw_stats[] response = (appfw_stats[])obj.stat_resources(service); return response[0]; }
java
public static appfwtransactionrecords[] get(nitro_service service) throws Exception{ appfwtransactionrecords obj = new appfwtransactionrecords(); appfwtransactionrecords[] response = (appfwtransactionrecords[])obj.get_resources(service); return response; }
java
public static dnszone_binding get(nitro_service service, String zonename) throws Exception{ dnszone_binding obj = new dnszone_binding(); obj.set_zonename(zonename); dnszone_binding response = (dnszone_binding) obj.get_resource(service); return response; }
java
public static dnszone_binding[] get(nitro_service service, String zonename[]) throws Exception{ if (zonename !=null && zonename.length>0) { dnszone_binding response[] = new dnszone_binding[zonename.length]; dnszone_binding obj[] = new dnszone_binding[zonename.length]; for (int i=0;i<zonename.length;i++) { ...
java
public static base_response add(nitro_service client, nssimpleacl6 resource) throws Exception { nssimpleacl6 addresource = new nssimpleacl6(); addresource.aclname = resource.aclname; addresource.td = resource.td; addresource.aclaction = resource.aclaction; addresource.srcipv6 = resource.srcipv6; addresource...
java
public static base_responses add(nitro_service client, nssimpleacl6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nssimpleacl6 addresources[] = new nssimpleacl6[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new n...
java
public static base_response clear(nitro_service client) throws Exception { nssimpleacl6 clearresource = new nssimpleacl6(); return clearresource.perform_operation(client,"clear"); }
java
public static base_responses flush(nitro_service client, nssimpleacl6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nssimpleacl6 flushresources[] = new nssimpleacl6[resources.length]; for (int i=0;i<resources.length;i++){ flushresources[i] =...
java
public static base_responses delete(nitro_service client, nssimpleacl6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nssimpleacl6 deleteresources[] = new nssimpleacl6[resources.length]; for (int i=0;i<resources.length;i++){ deleteresources[i...
java
public static nssimpleacl6[] get(nitro_service service) throws Exception{ nssimpleacl6 obj = new nssimpleacl6(); nssimpleacl6[] response = (nssimpleacl6[])obj.get_resources(service); return response; }
java
public static nssimpleacl6 get(nitro_service service, String aclname) throws Exception{ nssimpleacl6 obj = new nssimpleacl6(); obj.set_aclname(aclname); nssimpleacl6 response = (nssimpleacl6) obj.get_resource(service); return response; }
java
public static dnspolicylabel_policybinding_binding[] get(nitro_service service, String labelname) throws Exception{ dnspolicylabel_policybinding_binding obj = new dnspolicylabel_policybinding_binding(); obj.set_labelname(labelname); dnspolicylabel_policybinding_binding response[] = (dnspolicylabel_policybinding_b...
java
public static lbvserver_appqoepolicy_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_appqoepolicy_binding obj = new lbvserver_appqoepolicy_binding(); obj.set_name(name); lbvserver_appqoepolicy_binding response[] = (lbvserver_appqoepolicy_binding[]) obj.get_resources(service); retur...
java
public static aaaglobal_authenticationnegotiateaction_binding[] get(nitro_service service) throws Exception{ aaaglobal_authenticationnegotiateaction_binding obj = new aaaglobal_authenticationnegotiateaction_binding(); aaaglobal_authenticationnegotiateaction_binding response[] = (aaaglobal_authenticationnegotiateact...
java
public static aaaglobal_authenticationnegotiateaction_binding[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ aaaglobal_authenticationnegotiateaction_binding obj = new aaaglobal_authenticationnegotiateaction_binding(); options option = new options(); option.set_filter(filter); aaag...
java
public static base_response add(nitro_service client, dnszone resource) throws Exception { dnszone addresource = new dnszone(); addresource.zonename = resource.zonename; addresource.proxymode = resource.proxymode; addresource.dnssecoffload = resource.dnssecoffload; addresource.nsec = resource.nsec; return a...
java
public static base_responses add(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone addresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnszone(); a...
java
public static base_response update(nitro_service client, dnszone resource) throws Exception { dnszone updateresource = new dnszone(); updateresource.zonename = resource.zonename; updateresource.proxymode = resource.proxymode; updateresource.dnssecoffload = resource.dnssecoffload; updateresource.nsec = resourc...
java
public static base_responses update(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone updateresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new dnszone...
java
public static base_response unset(nitro_service client, dnszone resource, String[] args) throws Exception{ dnszone unsetresource = new dnszone(); unsetresource.zonename = resource.zonename; return unsetresource.unset_resource(client,args); }
java
public static base_responses unset(nitro_service client, String zonename[], String args[]) throws Exception { base_responses result = null; if (zonename != null && zonename.length > 0) { dnszone unsetresources[] = new dnszone[zonename.length]; for (int i=0;i<zonename.length;i++){ unsetresources[i] = new d...
java
public static base_response delete(nitro_service client, String zonename) throws Exception { dnszone deleteresource = new dnszone(); deleteresource.zonename = zonename; return deleteresource.delete_resource(client); }
java
public static base_responses delete(nitro_service client, String zonename[]) throws Exception { base_responses result = null; if (zonename != null && zonename.length > 0) { dnszone deleteresources[] = new dnszone[zonename.length]; for (int i=0;i<zonename.length;i++){ deleteresources[i] = new dnszone(); ...
java
public static base_response sign(nitro_service client, dnszone resource) throws Exception { dnszone signresource = new dnszone(); signresource.zonename = resource.zonename; signresource.keyname = resource.keyname; return signresource.perform_operation(client,"sign"); }
java
public static base_responses sign(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone signresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ signresources[i] = new dnszone(); ...
java
public static base_response unsign(nitro_service client, dnszone resource) throws Exception { dnszone unsignresource = new dnszone(); unsignresource.zonename = resource.zonename; unsignresource.keyname = resource.keyname; return unsignresource.perform_operation(client,"unsign"); }
java
public static base_responses unsign(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone unsignresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ unsignresources[i] = new dnszone...
java
public static dnszone[] get(nitro_service service) throws Exception{ dnszone obj = new dnszone(); dnszone[] response = (dnszone[])obj.get_resources(service); return response; }
java
public static dnszone[] get(nitro_service service, dnszone_args args) throws Exception{ dnszone obj = new dnszone(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); dnszone[] response = (dnszone[])obj.get_resources(service, option); return response; }
java
public static dnszone get(nitro_service service, String zonename) throws Exception{ dnszone obj = new dnszone(); obj.set_zonename(zonename); dnszone response = (dnszone) obj.get_resource(service); return response; }
java
public static dnszone[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ dnszone obj = new dnszone(); options option = new options(); option.set_filter(filter); dnszone[] response = (dnszone[]) obj.getfiltered(service, option); return response; }
java
public static protocolicmpv6_stats get(nitro_service service) throws Exception{ protocolicmpv6_stats obj = new protocolicmpv6_stats(); protocolicmpv6_stats[] response = (protocolicmpv6_stats[])obj.stat_resources(service); return response[0]; }
java
public static lbmonbindings_service_binding[] get(nitro_service service, String monitorname) throws Exception{ lbmonbindings_service_binding obj = new lbmonbindings_service_binding(); obj.set_monitorname(monitorname); lbmonbindings_service_binding response[] = (lbmonbindings_service_binding[]) obj.get_resources(s...
java
public static base_response add(nitro_service client, fis resource) throws Exception { fis addresource = new fis(); addresource.name = resource.name; return addresource.add_resource(client); }
java
public static fis[] get(nitro_service service) throws Exception{ fis obj = new fis(); fis[] response = (fis[])obj.get_resources(service); return response; }
java