_id
stringlengths
2
7
title
stringlengths
3
140
partition
stringclasses
3 values
text
stringlengths
73
34.1k
language
stringclasses
1 value
meta_information
dict
q10300
dnssuffix.add
train
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
{ "resource": "" }
q10301
dnssuffix.add
train
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
{ "resource": "" }
q10302
dnssuffix.delete
train
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
{ "resource": "" }
q10303
dnssuffix.delete
train
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
{ "resource": "" }
q10304
dnssuffix.get
train
public static dnssuffix[] get(nitro_service service) throws Exception{ dnssuffix obj = new dnssuffix(); dnssuffix[] response = (dnssuffix[])obj.get_resources(service); return response; }
java
{ "resource": "" }
q10305
dnssuffix.get
train
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
{ "resource": "" }
q10306
dnssuffix.get
train
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
{ "resource": "" }
q10307
vridparam.update
train
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
{ "resource": "" }
q10308
vridparam.unset
train
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
{ "resource": "" }
q10309
vridparam.get
train
public static vridparam get(nitro_service service) throws Exception{ vridparam obj = new vridparam(); vridparam[] response = (vridparam[])obj.get_resources(service); return response[0]; }
java
{ "resource": "" }
q10310
cmppolicylabel_stats.get
train
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
{ "resource": "" }
q10311
cmppolicylabel_stats.get
train
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
{ "resource": "" }
q10312
dnstxtrec.add
train
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
{ "resource": "" }
q10313
dnstxtrec.add
train
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
{ "resource": "" }
q10314
dnstxtrec.delete
train
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
{ "resource": "" }
q10315
dnstxtrec.delete
train
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
{ "resource": "" }
q10316
dnstxtrec.delete
train
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
{ "resource": "" }
q10317
dnstxtrec.get
train
public static dnstxtrec[] get(nitro_service service) throws Exception{ dnstxtrec obj = new dnstxtrec(); dnstxtrec[] response = (dnstxtrec[])obj.get_resources(service); return response; }
java
{ "resource": "" }
q10318
dnstxtrec.get
train
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
{ "resource": "" }
q10319
dnstxtrec.get
train
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
{ "resource": "" }
q10320
dnstxtrec.get
train
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
{ "resource": "" }
q10321
bridgegroup_vlan_binding.get
train
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
{ "resource": "" }
q10322
bridgegroup_vlan_binding.count
train
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
{ "resource": "" }
q10323
NumberRangesFileFilter.accept
train
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
{ "resource": "" }
q10324
vlan_nsip_binding.get
train
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
{ "resource": "" }
q10325
wisite_binding.get
train
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
{ "resource": "" }
q10326
wisite_binding.get
train
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
{ "resource": "" }
q10327
responderpolicylabel_responderpolicy_binding.get
train
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
{ "resource": "" }
q10328
vpnvserver_appcontroller_binding.get
train
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
{ "resource": "" }
q10329
vpnsessionaction.add
train
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
{ "resource": "" }
q10330
vpnsessionaction.update
train
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
{ "resource": "" }
q10331
vpnsessionaction.get
train
public static vpnsessionaction[] get(nitro_service service) throws Exception{ vpnsessionaction obj = new vpnsessionaction(); vpnsessionaction[] response = (vpnsessionaction[])obj.get_resources(service); return response; }
java
{ "resource": "" }
q10332
vpnsessionaction.get
train
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
{ "resource": "" }
q10333
nslimitidentifier_binding.get
train
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
{ "resource": "" }
q10334
sslocspresponder.add
train
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
{ "resource": "" }
q10335
sslocspresponder.add
train
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
{ "resource": "" }
q10336
sslocspresponder.update
train
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
{ "resource": "" }
q10337
sslocspresponder.update
train
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
{ "resource": "" }
q10338
sslocspresponder.unset
train
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
{ "resource": "" }
q10339
sslocspresponder.get
train
public static sslocspresponder[] get(nitro_service service) throws Exception{ sslocspresponder obj = new sslocspresponder(); sslocspresponder[] response = (sslocspresponder[])obj.get_resources(service); return response; }
java
{ "resource": "" }
q10340
sslocspresponder.get
train
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
{ "resource": "" }
q10341
nslimitselector.add
train
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
{ "resource": "" }
q10342
nslimitselector.update
train
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
{ "resource": "" }
q10343
nslimitselector.unset
train
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
{ "resource": "" }
q10344
nslimitselector.unset
train
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
{ "resource": "" }
q10345
nslimitselector.get
train
public static nslimitselector[] get(nitro_service service) throws Exception{ nslimitselector obj = new nslimitselector(); nslimitselector[] response = (nslimitselector[])obj.get_resources(service); return response; }
java
{ "resource": "" }
q10346
nslimitselector.get
train
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
{ "resource": "" }
q10347
nstrafficdomain_binding.get
train
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
{ "resource": "" }
q10348
nstrafficdomain_binding.get
train
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
{ "resource": "" }
q10349
cmppolicylabel_cmppolicy_binding.get
train
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
{ "resource": "" }
q10350
appfwlearningsettings.update
train
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
{ "resource": "" }
q10351
appfwlearningsettings.update
train
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
{ "resource": "" }
q10352
appfwlearningsettings.get
train
public static appfwlearningsettings[] get(nitro_service service) throws Exception{ appfwlearningsettings obj = new appfwlearningsettings(); appfwlearningsettings[] response = (appfwlearningsettings[])obj.get_resources(service); return response; }
java
{ "resource": "" }
q10353
appfwlearningsettings.get
train
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
{ "resource": "" }
q10354
appfwlearningsettings.get_filtered
train
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
{ "resource": "" }
q10355
lbvserver_appflowpolicy_binding.get
train
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
{ "resource": "" }
q10356
dnsaaaarec.add
train
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
{ "resource": "" }
q10357
dnsaaaarec.add
train
public static base_responses add(nitro_service client, dnsaaaarec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsaaaarec addresources[] = new dnsaaaarec[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnsaaaa...
java
{ "resource": "" }
q10358
dnsaaaarec.delete
train
public static base_response delete(nitro_service client, dnsaaaarec resource) throws Exception { dnsaaaarec deleteresource = new dnsaaaarec(); deleteresource.hostname = resource.hostname; deleteresource.ipv6address = resource.ipv6address; return deleteresource.delete_resource(client); }
java
{ "resource": "" }
q10359
dnsaaaarec.delete
train
public static base_responses delete(nitro_service client, String hostname[]) throws Exception { base_responses result = null; if (hostname != null && hostname.length > 0) { dnsaaaarec deleteresources[] = new dnsaaaarec[hostname.length]; for (int i=0;i<hostname.length;i++){ deleteresources[i] = new dnsaaaa...
java
{ "resource": "" }
q10360
dnsaaaarec.delete
train
public static base_responses delete(nitro_service client, dnsaaaarec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsaaaarec deleteresources[] = new dnsaaaarec[resources.length]; for (int i=0;i<resources.length;i++){ deleteresources[i] = ne...
java
{ "resource": "" }
q10361
dnsaaaarec.get
train
public static dnsaaaarec[] get(nitro_service service) throws Exception{ dnsaaaarec obj = new dnsaaaarec(); dnsaaaarec[] response = (dnsaaaarec[])obj.get_resources(service); return response; }
java
{ "resource": "" }
q10362
dnsaaaarec.get
train
public static dnsaaaarec[] get(nitro_service service, dnsaaaarec_args args) throws Exception{ dnsaaaarec obj = new dnsaaaarec(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); dnsaaaarec[] response = (dnsaaaarec[])obj.get_resources(service, option); return re...
java
{ "resource": "" }
q10363
MtasFieldsProducer.addIndexInputToList
train
private String addIndexInputToList(String name, IndexInput in, String postingsFormatName) throws IOException { if (indexInputList.get(name) != null) { indexInputList.get(name).close(); } if (in != null) { String localPostingsFormatName = postingsFormatName; if (localPostingsFormatNam...
java
{ "resource": "" }
q10364
appfwprofile_cookieconsistency_binding.get
train
public static appfwprofile_cookieconsistency_binding[] get(nitro_service service, String name) throws Exception{ appfwprofile_cookieconsistency_binding obj = new appfwprofile_cookieconsistency_binding(); obj.set_name(name); appfwprofile_cookieconsistency_binding response[] = (appfwprofile_cookieconsistency_bindin...
java
{ "resource": "" }
q10365
rnatip_stats.get
train
public static rnatip_stats[] get(nitro_service service, options option) throws Exception{ rnatip_stats obj = new rnatip_stats(); rnatip_stats[] response = (rnatip_stats[])obj.stat_resources(service,option); return response; }
java
{ "resource": "" }
q10366
rnatip_stats.get
train
public static rnatip_stats get(nitro_service service, String Rnatip) throws Exception{ rnatip_stats obj = new rnatip_stats(); obj.set_Rnatip(Rnatip); rnatip_stats response = (rnatip_stats) obj.stat_resource(service); return response; }
java
{ "resource": "" }
q10367
clusternodegroup_binding.get
train
public static clusternodegroup_binding get(nitro_service service, String name) throws Exception{ clusternodegroup_binding obj = new clusternodegroup_binding(); obj.set_name(name); clusternodegroup_binding response = (clusternodegroup_binding) obj.get_resource(service); return response; }
java
{ "resource": "" }
q10368
lbvserver_servicegroupmember_binding.get
train
public static lbvserver_servicegroupmember_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_servicegroupmember_binding obj = new lbvserver_servicegroupmember_binding(); obj.set_name(name); lbvserver_servicegroupmember_binding response[] = (lbvserver_servicegroupmember_binding[]) obj.g...
java
{ "resource": "" }
q10369
PennTreeReader.main
train
public static void main(String[] args) { try { TreeFactory tf = new LabeledScoredTreeFactory(); Reader r = new BufferedReader(new InputStreamReader(new FileInputStream(args[0]), "UTF-8")); TreeReader tr = new PennTreeReader(r, tf); Tree t = tr.readTree(); while (t != null) { ...
java
{ "resource": "" }
q10370
Interface.clear
train
public static base_response clear(nitro_service client, Interface resource) throws Exception { Interface clearresource = new Interface(); clearresource.id = resource.id; return clearresource.perform_operation(client,"clear"); }
java
{ "resource": "" }
q10371
Interface.clear
train
public static base_responses clear(nitro_service client, Interface resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { Interface clearresources[] = new Interface[resources.length]; for (int i=0;i<resources.length;i++){ clearresources[i] = new Inte...
java
{ "resource": "" }
q10372
Interface.update
train
public static base_response update(nitro_service client, Interface resource) throws Exception { Interface updateresource = new Interface(); updateresource.id = resource.id; updateresource.speed = resource.speed; updateresource.duplex = resource.duplex; updateresource.flowctl = resource.flowctl; updateresour...
java
{ "resource": "" }
q10373
Interface.update
train
public static base_responses update(nitro_service client, Interface resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { Interface updateresources[] = new Interface[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new I...
java
{ "resource": "" }
q10374
Interface.unset
train
public static base_response unset(nitro_service client, Interface resource, String[] args) throws Exception{ Interface unsetresource = new Interface(); unsetresource.id = resource.id; return unsetresource.unset_resource(client,args); }
java
{ "resource": "" }
q10375
Interface.enable
train
public static base_response enable(nitro_service client, String id) throws Exception { Interface enableresource = new Interface(); enableresource.id = id; return enableresource.perform_operation(client,"enable"); }
java
{ "resource": "" }
q10376
Interface.enable
train
public static base_responses enable(nitro_service client, String id[]) throws Exception { base_responses result = null; if (id != null && id.length > 0) { Interface enableresources[] = new Interface[id.length]; for (int i=0;i<id.length;i++){ enableresources[i] = new Interface(); enableresources[i].id ...
java
{ "resource": "" }
q10377
Interface.disable
train
public static base_response disable(nitro_service client, String id) throws Exception { Interface disableresource = new Interface(); disableresource.id = id; return disableresource.perform_operation(client,"disable"); }
java
{ "resource": "" }
q10378
Interface.disable
train
public static base_responses disable(nitro_service client, String id[]) throws Exception { base_responses result = null; if (id != null && id.length > 0) { Interface disableresources[] = new Interface[id.length]; for (int i=0;i<id.length;i++){ disableresources[i] = new Interface(); disableresources[i]...
java
{ "resource": "" }
q10379
Interface.reset
train
public static base_response reset(nitro_service client, Interface resource) throws Exception { Interface resetresource = new Interface(); resetresource.id = resource.id; return resetresource.perform_operation(client,"reset"); }
java
{ "resource": "" }
q10380
Interface.reset
train
public static base_responses reset(nitro_service client, Interface resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { Interface resetresources[] = new Interface[resources.length]; for (int i=0;i<resources.length;i++){ resetresources[i] = new Inte...
java
{ "resource": "" }
q10381
Interface.get
train
public static Interface[] get(nitro_service service) throws Exception{ Interface obj = new Interface(); Interface[] response = (Interface[])obj.get_resources(service); return response; }
java
{ "resource": "" }
q10382
Interface.get
train
public static Interface get(nitro_service service, String id) throws Exception{ Interface obj = new Interface(); obj.set_id(id); Interface response = (Interface) obj.get_resource(service); return response; }
java
{ "resource": "" }
q10383
DeltaMap.containsKey
train
@Override public boolean containsKey(Object key) { // key could be not in original or in deltaMap // key could be not in original but in deltaMap // key could be in original but removed from deltaMap // key could be in original but mapped to something else in deltaMap Object value = deltaMap...
java
{ "resource": "" }
q10384
DeltaMap.get
train
@Override public V get(Object key) { // key could be not in original or in deltaMap // key could be not in original but in deltaMap // key could be in original but removed from deltaMap // key could be in original but mapped to something else in deltaMap V deltaResult = deltaMap.get(key); ...
java
{ "resource": "" }
q10385
DeltaMap.put
train
@Override @SuppressWarnings("unchecked") public V put(K key, V value) { if (value == null) { return put(key, (V)nullValue); } // key could be not in original or in deltaMap // key could be not in original but in deltaMap // key could be in original but removed from deltaMap //...
java
{ "resource": "" }
q10386
vpnvserver_cachepolicy_binding.get
train
public static vpnvserver_cachepolicy_binding[] get(nitro_service service, String name) throws Exception{ vpnvserver_cachepolicy_binding obj = new vpnvserver_cachepolicy_binding(); obj.set_name(name); vpnvserver_cachepolicy_binding response[] = (vpnvserver_cachepolicy_binding[]) obj.get_resources(service); retur...
java
{ "resource": "" }
q10387
bridgetable.update
train
public static base_response update(nitro_service client, bridgetable resource) throws Exception { bridgetable updateresource = new bridgetable(); updateresource.bridgeage = resource.bridgeage; return updateresource.update_resource(client); }
java
{ "resource": "" }
q10388
bridgetable.update
train
public static base_responses update(nitro_service client, bridgetable resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { bridgetable updateresources[] = new bridgetable[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] =...
java
{ "resource": "" }
q10389
bridgetable.unset
train
public static base_response unset(nitro_service client, bridgetable resource, String[] args) throws Exception{ bridgetable unsetresource = new bridgetable(); return unsetresource.unset_resource(client,args); }
java
{ "resource": "" }
q10390
bridgetable.unset
train
public static base_responses unset(nitro_service client, bridgetable resources[], String[] args) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { bridgetable unsetresources[] = new bridgetable[resources.length]; for (int i=0;i<resources.length;i++){ unsetr...
java
{ "resource": "" }
q10391
bridgetable.clear
train
public static base_response clear(nitro_service client, bridgetable resource) throws Exception { bridgetable clearresource = new bridgetable(); clearresource.vlan = resource.vlan; clearresource.ifnum = resource.ifnum; return clearresource.perform_operation(client,"clear"); }
java
{ "resource": "" }
q10392
bridgetable.clear
train
public static base_responses clear(nitro_service client, bridgetable resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { bridgetable clearresources[] = new bridgetable[resources.length]; for (int i=0;i<resources.length;i++){ clearresources[i] = ne...
java
{ "resource": "" }
q10393
bridgetable.get
train
public static bridgetable[] get(nitro_service service) throws Exception{ bridgetable obj = new bridgetable(); bridgetable[] response = (bridgetable[])obj.get_resources(service); return response; }
java
{ "resource": "" }
q10394
nsdiameter.update
train
public static base_response update(nitro_service client, nsdiameter resource) throws Exception { nsdiameter updateresource = new nsdiameter(); updateresource.identity = resource.identity; updateresource.realm = resource.realm; updateresource.serverclosepropagation = resource.serverclosepropagation; return upd...
java
{ "resource": "" }
q10395
nsdiameter.unset
train
public static base_response unset(nitro_service client, nsdiameter resource, String[] args) throws Exception{ nsdiameter unsetresource = new nsdiameter(); return unsetresource.unset_resource(client,args); }
java
{ "resource": "" }
q10396
nsdiameter.get
train
public static nsdiameter get(nitro_service service) throws Exception{ nsdiameter obj = new nsdiameter(); nsdiameter[] response = (nsdiameter[])obj.get_resources(service); return response[0]; }
java
{ "resource": "" }
q10397
gslbservice.add
train
public static base_response add(nitro_service client, gslbservice resource) throws Exception { gslbservice addresource = new gslbservice(); addresource.servicename = resource.servicename; addresource.cnameentry = resource.cnameentry; addresource.ip = resource.ip; addresource.servername = resource.servername; ...
java
{ "resource": "" }
q10398
gslbservice.add
train
public static base_responses add(nitro_service client, gslbservice resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { gslbservice addresources[] = new gslbservice[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new gslb...
java
{ "resource": "" }
q10399
gslbservice.delete
train
public static base_response delete(nitro_service client, String servicename) throws Exception { gslbservice deleteresource = new gslbservice(); deleteresource.servicename = servicename; return deleteresource.delete_resource(client); }
java
{ "resource": "" }