_id stringlengths 2 7 | title stringlengths 3 140 | partition stringclasses 3
values | text stringlengths 73 34.1k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
q11000 | MobicentsCache.unsetReplicationClassLoader | train | @SuppressWarnings("rawtypes")
public void unsetReplicationClassLoader(Fqn regionFqn, ClassLoader classLoader) {
if (!isLocalMode()) {
final Region region = jBossCache.getRegion(regionFqn, true);
if (region != null) {
if (region.isActive()) {
region.deactivate();
}
region.unregisterContextC... | java | {
"resource": ""
} |
q11001 | systemglobal_authenticationradiuspolicy_binding.get | train | public static systemglobal_authenticationradiuspolicy_binding[] get(nitro_service service) throws Exception{
systemglobal_authenticationradiuspolicy_binding obj = new systemglobal_authenticationradiuspolicy_binding();
systemglobal_authenticationradiuspolicy_binding response[] = (systemglobal_authenticationradiuspol... | java | {
"resource": ""
} |
q11002 | auditsyslogpolicy_authenticationvserver_binding.get | train | public static auditsyslogpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{
auditsyslogpolicy_authenticationvserver_binding obj = new auditsyslogpolicy_authenticationvserver_binding();
obj.set_name(name);
auditsyslogpolicy_authenticationvserver_binding response[] = (a... | java | {
"resource": ""
} |
q11003 | lbgroup_lbvserver_binding.get | train | public static lbgroup_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
lbgroup_lbvserver_binding obj = new lbgroup_lbvserver_binding();
obj.set_name(name);
lbgroup_lbvserver_binding response[] = (lbgroup_lbvserver_binding[]) obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
q11004 | nspbr.add | train | public static base_response add(nitro_service client, nspbr resource) throws Exception {
nspbr addresource = new nspbr();
addresource.name = resource.name;
addresource.action = resource.action;
addresource.td = resource.td;
addresource.srcip = resource.srcip;
addresource.srcipop = resource.srcipop;
addres... | java | {
"resource": ""
} |
q11005 | nspbr.add | train | public static base_responses add(nitro_service client, nspbr resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nspbr addresources[] = new nspbr[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new nspbr();
addresour... | java | {
"resource": ""
} |
q11006 | nspbr.update | train | public static base_response update(nitro_service client, nspbr resource) throws Exception {
nspbr updateresource = new nspbr();
updateresource.name = resource.name;
updateresource.action = resource.action;
updateresource.srcip = resource.srcip;
updateresource.srcipop = resource.srcipop;
updateresource.srcip... | java | {
"resource": ""
} |
q11007 | nspbr.update | train | public static base_responses update(nitro_service client, nspbr resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nspbr updateresources[] = new nspbr[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new nspbr();
... | java | {
"resource": ""
} |
q11008 | nspbr.enable | train | public static base_response enable(nitro_service client, nspbr resource) throws Exception {
nspbr enableresource = new nspbr();
enableresource.name = resource.name;
return enableresource.perform_operation(client,"enable");
} | java | {
"resource": ""
} |
q11009 | nspbr.enable | train | public static base_responses enable(nitro_service client, nspbr resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nspbr enableresources[] = new nspbr[resources.length];
for (int i=0;i<resources.length;i++){
enableresources[i] = new nspbr();
... | java | {
"resource": ""
} |
q11010 | nspbr.get | train | public static nspbr[] get(nitro_service service) throws Exception{
nspbr obj = new nspbr();
nspbr[] response = (nspbr[])obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
q11011 | nspbr.get | train | public static nspbr[] get(nitro_service service, nspbr_args args) throws Exception{
nspbr obj = new nspbr();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
nspbr[] response = (nspbr[])obj.get_resources(service, option);
return response;
} | java | {
"resource": ""
} |
q11012 | nspbr.get | train | public static nspbr get(nitro_service service, String name) throws Exception{
nspbr obj = new nspbr();
obj.set_name(name);
nspbr response = (nspbr) obj.get_resource(service);
return response;
} | java | {
"resource": ""
} |
q11013 | vpnglobal_vpnintranetapplication_binding.get | train | public static vpnglobal_vpnintranetapplication_binding[] get(nitro_service service) throws Exception{
vpnglobal_vpnintranetapplication_binding obj = new vpnglobal_vpnintranetapplication_binding();
vpnglobal_vpnintranetapplication_binding response[] = (vpnglobal_vpnintranetapplication_binding[]) obj.get_resources(se... | java | {
"resource": ""
} |
q11014 | aaauser_authorizationpolicy_binding.get | train | public static aaauser_authorizationpolicy_binding[] get(nitro_service service, String username) throws Exception{
aaauser_authorizationpolicy_binding obj = new aaauser_authorizationpolicy_binding();
obj.set_username(username);
aaauser_authorizationpolicy_binding response[] = (aaauser_authorizationpolicy_binding[]... | java | {
"resource": ""
} |
q11015 | rnat.clear | train | public static base_response clear(nitro_service client, rnat resource) throws Exception {
rnat clearresource = new rnat();
clearresource.network = resource.network;
clearresource.netmask = resource.netmask;
clearresource.aclname = resource.aclname;
clearresource.redirectport = resource.redirectport;
clearre... | java | {
"resource": ""
} |
q11016 | rnat.clear | train | public static base_responses clear(nitro_service client, rnat resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
rnat clearresources[] = new rnat[resources.length];
for (int i=0;i<resources.length;i++){
clearresources[i] = new rnat();
clearre... | java | {
"resource": ""
} |
q11017 | rnat.update | train | public static base_response update(nitro_service client, rnat resource) throws Exception {
rnat updateresource = new rnat();
updateresource.network = resource.network;
updateresource.netmask = resource.netmask;
updateresource.natip = resource.natip;
updateresource.td = resource.td;
updateresource.aclname = ... | java | {
"resource": ""
} |
q11018 | rnat.update | train | public static base_responses update(nitro_service client, rnat resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
rnat updateresources[] = new rnat[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new rnat();
upda... | java | {
"resource": ""
} |
q11019 | rnat.unset | train | public static base_response unset(nitro_service client, rnat resource, String[] args) throws Exception{
rnat unsetresource = new rnat();
unsetresource.network = resource.network;
unsetresource.netmask = resource.netmask;
unsetresource.td = resource.td;
unsetresource.aclname = resource.aclname;
unsetresource... | java | {
"resource": ""
} |
q11020 | rnat.unset | train | public static base_responses unset(nitro_service client, rnat resources[], String[] args) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
rnat unsetresources[] = new rnat[resources.length];
for (int i=0;i<resources.length;i++){
unsetresources[i] = new rna... | java | {
"resource": ""
} |
q11021 | rnat.get | train | public static rnat[] get(nitro_service service, options option) throws Exception{
rnat obj = new rnat();
rnat[] response = (rnat[])obj.get_resources(service,option);
return response;
} | java | {
"resource": ""
} |
q11022 | authorizationpolicy_binding.get | train | public static authorizationpolicy_binding get(nitro_service service, String name) throws Exception{
authorizationpolicy_binding obj = new authorizationpolicy_binding();
obj.set_name(name);
authorizationpolicy_binding response = (authorizationpolicy_binding) obj.get_resource(service);
return response;
} | java | {
"resource": ""
} |
q11023 | cachepolicy_cachepolicylabel_binding.get | train | public static cachepolicy_cachepolicylabel_binding[] get(nitro_service service, String policyname) throws Exception{
cachepolicy_cachepolicylabel_binding obj = new cachepolicy_cachepolicylabel_binding();
obj.set_policyname(policyname);
cachepolicy_cachepolicylabel_binding response[] = (cachepolicy_cachepolicylabe... | java | {
"resource": ""
} |
q11024 | authenticationtacacspolicy_vpnvserver_binding.get | train | public static authenticationtacacspolicy_vpnvserver_binding[] get(nitro_service service, String name) throws Exception{
authenticationtacacspolicy_vpnvserver_binding obj = new authenticationtacacspolicy_vpnvserver_binding();
obj.set_name(name);
authenticationtacacspolicy_vpnvserver_binding response[] = (authentic... | java | {
"resource": ""
} |
q11025 | gslbsite_binding.get | train | public static gslbsite_binding get(nitro_service service, String sitename) throws Exception{
gslbsite_binding obj = new gslbsite_binding();
obj.set_sitename(sitename);
gslbsite_binding response = (gslbsite_binding) obj.get_resource(service);
return response;
} | java | {
"resource": ""
} |
q11026 | wipackage.Install | train | public static base_response Install(nitro_service client, wipackage resource) throws Exception {
wipackage Installresource = new wipackage();
Installresource.jre = resource.jre;
Installresource.wi = resource.wi;
Installresource.maxsites = resource.maxsites;
return Installresource.perform_operation(client);
} | java | {
"resource": ""
} |
q11027 | vrid6_interface_binding.get | train | public static vrid6_interface_binding[] get(nitro_service service, Long id) throws Exception{
vrid6_interface_binding obj = new vrid6_interface_binding();
obj.set_id(id);
vrid6_interface_binding response[] = (vrid6_interface_binding[]) obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
q11028 | dnspolicy64.get | train | public static dnspolicy64[] get(nitro_service service) throws Exception{
dnspolicy64 obj = new dnspolicy64();
dnspolicy64[] response = (dnspolicy64[])obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
q11029 | dnspolicy64.get | train | public static dnspolicy64 get(nitro_service service, String name) throws Exception{
dnspolicy64 obj = new dnspolicy64();
obj.set_name(name);
dnspolicy64 response = (dnspolicy64) obj.get_resource(service);
return response;
} | java | {
"resource": ""
} |
q11030 | dnspolicy64.get_filtered | train | public static dnspolicy64[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
dnspolicy64 obj = new dnspolicy64();
options option = new options();
option.set_filter(filter);
dnspolicy64[] response = (dnspolicy64[]) obj.getfiltered(service, option);
return response;
} | java | {
"resource": ""
} |
q11031 | vpnvserver_intranetip_binding.get | train | public static vpnvserver_intranetip_binding[] get(nitro_service service, String name) throws Exception{
vpnvserver_intranetip_binding obj = new vpnvserver_intranetip_binding();
obj.set_name(name);
vpnvserver_intranetip_binding response[] = (vpnvserver_intranetip_binding[]) obj.get_resources(service);
return res... | java | {
"resource": ""
} |
q11032 | vpnglobal_authenticationcertpolicy_binding.get | train | public static vpnglobal_authenticationcertpolicy_binding[] get(nitro_service service) throws Exception{
vpnglobal_authenticationcertpolicy_binding obj = new vpnglobal_authenticationcertpolicy_binding();
vpnglobal_authenticationcertpolicy_binding response[] = (vpnglobal_authenticationcertpolicy_binding[]) obj.get_re... | java | {
"resource": ""
} |
q11033 | netbridge_binding.get | train | public static netbridge_binding get(nitro_service service, String name) throws Exception{
netbridge_binding obj = new netbridge_binding();
obj.set_name(name);
netbridge_binding response = (netbridge_binding) obj.get_resource(service);
return response;
} | java | {
"resource": ""
} |
q11034 | appqoepolicy_stats.get | train | public static appqoepolicy_stats[] get(nitro_service service) throws Exception{
appqoepolicy_stats obj = new appqoepolicy_stats();
appqoepolicy_stats[] response = (appqoepolicy_stats[])obj.stat_resources(service);
return response;
} | java | {
"resource": ""
} |
q11035 | appqoepolicy_stats.get | train | public static appqoepolicy_stats get(nitro_service service, String name) throws Exception{
appqoepolicy_stats obj = new appqoepolicy_stats();
obj.set_name(name);
appqoepolicy_stats response = (appqoepolicy_stats) obj.stat_resource(service);
return response;
} | java | {
"resource": ""
} |
q11036 | nstrace.get | train | public static nstrace get(nitro_service service) throws Exception{
nstrace obj = new nstrace();
nstrace[] response = (nstrace[])obj.get_resources(service);
return response[0];
} | java | {
"resource": ""
} |
q11037 | nsdhcpip.release | train | public static base_response release(nitro_service client) throws Exception {
nsdhcpip releaseresource = new nsdhcpip();
return releaseresource.perform_operation(client,"release");
} | java | {
"resource": ""
} |
q11038 | cachepolicy_stats.get | train | public static cachepolicy_stats[] get(nitro_service service) throws Exception{
cachepolicy_stats obj = new cachepolicy_stats();
cachepolicy_stats[] response = (cachepolicy_stats[])obj.stat_resources(service);
return response;
} | java | {
"resource": ""
} |
q11039 | cachepolicy_stats.get | train | public static cachepolicy_stats get(nitro_service service, String policyname) throws Exception{
cachepolicy_stats obj = new cachepolicy_stats();
obj.set_policyname(policyname);
cachepolicy_stats response = (cachepolicy_stats) obj.stat_resource(service);
return response;
} | java | {
"resource": ""
} |
q11040 | gslbsite_gslbservice_binding.get | train | public static gslbsite_gslbservice_binding[] get(nitro_service service, String sitename) throws Exception{
gslbsite_gslbservice_binding obj = new gslbsite_gslbservice_binding();
obj.set_sitename(sitename);
gslbsite_gslbservice_binding response[] = (gslbsite_gslbservice_binding[]) obj.get_resources(service);
ret... | java | {
"resource": ""
} |
q11041 | gslbsite_gslbservice_binding.get_filtered | train | public static gslbsite_gslbservice_binding[] get_filtered(nitro_service service, String sitename, filtervalue[] filter) throws Exception{
gslbsite_gslbservice_binding obj = new gslbsite_gslbservice_binding();
obj.set_sitename(sitename);
options option = new options();
option.set_filter(filter);
gslbsite_gslbs... | java | {
"resource": ""
} |
q11042 | gslbsite_gslbservice_binding.count | train | public static long count(nitro_service service, String sitename) throws Exception{
gslbsite_gslbservice_binding obj = new gslbsite_gslbservice_binding();
obj.set_sitename(sitename);
options option = new options();
option.set_count(true);
gslbsite_gslbservice_binding response[] = (gslbsite_gslbservice_binding[... | java | {
"resource": ""
} |
q11043 | gslbsite_stats.get | train | public static gslbsite_stats[] get(nitro_service service, options option) throws Exception{
gslbsite_stats obj = new gslbsite_stats();
gslbsite_stats[] response = (gslbsite_stats[])obj.stat_resources(service,option);
return response;
} | java | {
"resource": ""
} |
q11044 | gslbsite_stats.get | train | public static gslbsite_stats get(nitro_service service, String sitename) throws Exception{
gslbsite_stats obj = new gslbsite_stats();
obj.set_sitename(sitename);
gslbsite_stats response = (gslbsite_stats) obj.stat_resource(service);
return response;
} | java | {
"resource": ""
} |
q11045 | dnsaddrec.add | train | public static base_response add(nitro_service client, dnsaddrec resource) throws Exception {
dnsaddrec addresource = new dnsaddrec();
addresource.hostname = resource.hostname;
addresource.ipaddress = resource.ipaddress;
addresource.ttl = resource.ttl;
return addresource.add_resource(client);
} | java | {
"resource": ""
} |
q11046 | dnsaddrec.add | train | public static base_responses add(nitro_service client, dnsaddrec resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dnsaddrec addresources[] = new dnsaddrec[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new dnsaddrec(... | java | {
"resource": ""
} |
q11047 | dnsaddrec.delete | train | public static base_response delete(nitro_service client, String hostname) throws Exception {
dnsaddrec deleteresource = new dnsaddrec();
deleteresource.hostname = hostname;
return deleteresource.delete_resource(client);
} | java | {
"resource": ""
} |
q11048 | dnsaddrec.delete | train | public static base_response delete(nitro_service client, dnsaddrec resource) throws Exception {
dnsaddrec deleteresource = new dnsaddrec();
deleteresource.hostname = resource.hostname;
deleteresource.ipaddress = resource.ipaddress;
return deleteresource.delete_resource(client);
} | java | {
"resource": ""
} |
q11049 | dnsaddrec.delete | train | public static base_responses delete(nitro_service client, dnsaddrec resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dnsaddrec deleteresources[] = new dnsaddrec[resources.length];
for (int i=0;i<resources.length;i++){
deleteresources[i] = new d... | java | {
"resource": ""
} |
q11050 | dnsaddrec.get | train | public static dnsaddrec[] get(nitro_service service) throws Exception{
dnsaddrec obj = new dnsaddrec();
dnsaddrec[] response = (dnsaddrec[])obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
q11051 | dnsaddrec.get | train | public static dnsaddrec[] get(nitro_service service, dnsaddrec_args args) throws Exception{
dnsaddrec obj = new dnsaddrec();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
dnsaddrec[] response = (dnsaddrec[])obj.get_resources(service, option);
return response... | java | {
"resource": ""
} |
q11052 | dnsaddrec.get | train | public static dnsaddrec get(nitro_service service, String hostname) throws Exception{
dnsaddrec obj = new dnsaddrec();
obj.set_hostname(hostname);
dnsaddrec response = (dnsaddrec) obj.get_resource(service);
return response;
} | java | {
"resource": ""
} |
q11053 | authorizationpolicy_aaauser_binding.get | train | public static authorizationpolicy_aaauser_binding[] get(nitro_service service, String name) throws Exception{
authorizationpolicy_aaauser_binding obj = new authorizationpolicy_aaauser_binding();
obj.set_name(name);
authorizationpolicy_aaauser_binding response[] = (authorizationpolicy_aaauser_binding[]) obj.get_re... | java | {
"resource": ""
} |
q11054 | nsxmlnamespace.add | train | public static base_response add(nitro_service client, nsxmlnamespace resource) throws Exception {
nsxmlnamespace addresource = new nsxmlnamespace();
addresource.prefix = resource.prefix;
addresource.Namespace = resource.Namespace;
return addresource.add_resource(client);
} | java | {
"resource": ""
} |
q11055 | nsxmlnamespace.add | train | public static base_responses add(nitro_service client, nsxmlnamespace resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nsxmlnamespace addresources[] = new nsxmlnamespace[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] =... | java | {
"resource": ""
} |
q11056 | nsxmlnamespace.delete | train | public static base_response delete(nitro_service client, String prefix) throws Exception {
nsxmlnamespace deleteresource = new nsxmlnamespace();
deleteresource.prefix = prefix;
return deleteresource.delete_resource(client);
} | java | {
"resource": ""
} |
q11057 | nsxmlnamespace.delete | train | public static base_responses delete(nitro_service client, String prefix[]) throws Exception {
base_responses result = null;
if (prefix != null && prefix.length > 0) {
nsxmlnamespace deleteresources[] = new nsxmlnamespace[prefix.length];
for (int i=0;i<prefix.length;i++){
deleteresources[i] = new nsxmlname... | java | {
"resource": ""
} |
q11058 | nsxmlnamespace.update | train | public static base_response update(nitro_service client, nsxmlnamespace resource) throws Exception {
nsxmlnamespace updateresource = new nsxmlnamespace();
updateresource.prefix = resource.prefix;
updateresource.Namespace = resource.Namespace;
updateresource.description = resource.description;
return updateres... | java | {
"resource": ""
} |
q11059 | nsxmlnamespace.update | train | public static base_responses update(nitro_service client, nsxmlnamespace resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
nsxmlnamespace updateresources[] = new nsxmlnamespace[resources.length];
for (int i=0;i<resources.length;i++){
updateresou... | java | {
"resource": ""
} |
q11060 | nsxmlnamespace.unset | train | public static base_response unset(nitro_service client, nsxmlnamespace resource, String[] args) throws Exception{
nsxmlnamespace unsetresource = new nsxmlnamespace();
unsetresource.prefix = resource.prefix;
return unsetresource.unset_resource(client,args);
} | java | {
"resource": ""
} |
q11061 | nsxmlnamespace.unset | train | public static base_responses unset(nitro_service client, String prefix[], String args[]) throws Exception {
base_responses result = null;
if (prefix != null && prefix.length > 0) {
nsxmlnamespace unsetresources[] = new nsxmlnamespace[prefix.length];
for (int i=0;i<prefix.length;i++){
unsetresources[i] = n... | java | {
"resource": ""
} |
q11062 | nsxmlnamespace.get | train | public static nsxmlnamespace[] get(nitro_service service) throws Exception{
nsxmlnamespace obj = new nsxmlnamespace();
nsxmlnamespace[] response = (nsxmlnamespace[])obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
q11063 | nsxmlnamespace.get | train | public static nsxmlnamespace get(nitro_service service, String prefix) throws Exception{
nsxmlnamespace obj = new nsxmlnamespace();
obj.set_prefix(prefix);
nsxmlnamespace response = (nsxmlnamespace) obj.get_resource(service);
return response;
} | java | {
"resource": ""
} |
q11064 | nsxmlnamespace.get | train | public static nsxmlnamespace[] get(nitro_service service, String prefix[]) throws Exception{
if (prefix !=null && prefix.length>0) {
nsxmlnamespace response[] = new nsxmlnamespace[prefix.length];
nsxmlnamespace obj[] = new nsxmlnamespace[prefix.length];
for (int i=0;i<prefix.length;i++) {
obj[i] = new ns... | java | {
"resource": ""
} |
q11065 | nsxmlnamespace.get_filtered | train | public static nsxmlnamespace[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
nsxmlnamespace obj = new nsxmlnamespace();
options option = new options();
option.set_filter(filter);
nsxmlnamespace[] response = (nsxmlnamespace[]) obj.getfiltered(service, option);
return response;
} | java | {
"resource": ""
} |
q11066 | lbvserver_appfwpolicy_binding.get | train | public static lbvserver_appfwpolicy_binding[] get(nitro_service service, String name) throws Exception{
lbvserver_appfwpolicy_binding obj = new lbvserver_appfwpolicy_binding();
obj.set_name(name);
lbvserver_appfwpolicy_binding response[] = (lbvserver_appfwpolicy_binding[]) obj.get_resources(service);
return res... | java | {
"resource": ""
} |
q11067 | sslservice_sslcertkey_binding.get | train | public static sslservice_sslcertkey_binding[] get(nitro_service service, String servicename) throws Exception{
sslservice_sslcertkey_binding obj = new sslservice_sslcertkey_binding();
obj.set_servicename(servicename);
sslservice_sslcertkey_binding response[] = (sslservice_sslcertkey_binding[]) obj.get_resources(s... | java | {
"resource": ""
} |
q11068 | locationparameter.update | train | public static base_response update(nitro_service client, locationparameter resource) throws Exception {
locationparameter updateresource = new locationparameter();
updateresource.context = resource.context;
updateresource.q1label = resource.q1label;
updateresource.q2label = resource.q2label;
updateresource.q3... | java | {
"resource": ""
} |
q11069 | locationparameter.unset | train | public static base_response unset(nitro_service client, locationparameter resource, String[] args) throws Exception{
locationparameter unsetresource = new locationparameter();
return unsetresource.unset_resource(client,args);
} | java | {
"resource": ""
} |
q11070 | locationparameter.get | train | public static locationparameter get(nitro_service service) throws Exception{
locationparameter obj = new locationparameter();
locationparameter[] response = (locationparameter[])obj.get_resources(service);
return response[0];
} | java | {
"resource": ""
} |
q11071 | nsappflowparam.update | train | public static base_response update(nitro_service client, nsappflowparam resource) throws Exception {
nsappflowparam updateresource = new nsappflowparam();
updateresource.templaterefresh = resource.templaterefresh;
updateresource.udppmtu = resource.udppmtu;
updateresource.httpurl = resource.httpurl;
updatereso... | java | {
"resource": ""
} |
q11072 | nsappflowparam.unset | train | public static base_response unset(nitro_service client, nsappflowparam resource, String[] args) throws Exception{
nsappflowparam unsetresource = new nsappflowparam();
return unsetresource.unset_resource(client,args);
} | java | {
"resource": ""
} |
q11073 | nsappflowparam.get | train | public static nsappflowparam get(nitro_service service) throws Exception{
nsappflowparam obj = new nsappflowparam();
nsappflowparam[] response = (nsappflowparam[])obj.get_resources(service);
return response[0];
} | java | {
"resource": ""
} |
q11074 | WeightedDataset.randomize | train | @Override
public void randomize(int randomSeed) {
Random rand = new Random(randomSeed);
for(int j = size - 1; j > 0; j --){
int randIndex = rand.nextInt(j);
int [] tmp = data[randIndex];
data[randIndex] = data[j];
data[j] = tmp;
int tmpl = labels[randIndex... | java | {
"resource": ""
} |
q11075 | scpolicy.add | train | public static base_response add(nitro_service client, scpolicy resource) throws Exception {
scpolicy addresource = new scpolicy();
addresource.name = resource.name;
addresource.url = resource.url;
addresource.rule = resource.rule;
addresource.delay = resource.delay;
addresource.maxconn = resource.maxconn;
... | java | {
"resource": ""
} |
q11076 | scpolicy.add | train | public static base_responses add(nitro_service client, scpolicy resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
scpolicy addresources[] = new scpolicy[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new scpolicy();
... | java | {
"resource": ""
} |
q11077 | scpolicy.update | train | public static base_response update(nitro_service client, scpolicy resource) throws Exception {
scpolicy updateresource = new scpolicy();
updateresource.name = resource.name;
updateresource.url = resource.url;
updateresource.rule = resource.rule;
updateresource.delay = resource.delay;
updateresource.maxconn ... | java | {
"resource": ""
} |
q11078 | scpolicy.update | train | public static base_responses update(nitro_service client, scpolicy resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
scpolicy updateresources[] = new scpolicy[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new scpo... | java | {
"resource": ""
} |
q11079 | scpolicy.get | train | public static scpolicy[] get(nitro_service service) throws Exception{
scpolicy obj = new scpolicy();
scpolicy[] response = (scpolicy[])obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
q11080 | scpolicy.get | train | public static scpolicy get(nitro_service service, String name) throws Exception{
scpolicy obj = new scpolicy();
obj.set_name(name);
scpolicy response = (scpolicy) obj.get_resource(service);
return response;
} | java | {
"resource": ""
} |
q11081 | MtasFunctionParserFunction.needArgumentsNumber | train | public final int needArgumentsNumber() {
int number = 0;
for (int i : needArgument) {
number = Math.max(number, (i + 1));
}
return number;
} | java | {
"resource": ""
} |
q11082 | csvserver_rewritepolicy_binding.get | train | public static csvserver_rewritepolicy_binding[] get(nitro_service service, String name) throws Exception{
csvserver_rewritepolicy_binding obj = new csvserver_rewritepolicy_binding();
obj.set_name(name);
csvserver_rewritepolicy_binding response[] = (csvserver_rewritepolicy_binding[]) obj.get_resources(service);
... | java | {
"resource": ""
} |
q11083 | MtasDataCollectorResult.getComparatorList | train | @SuppressWarnings("rawtypes")
public final Map<String, MtasDataItemNumberComparator> getComparatorList()
throws IOException {
if (collectorType.equals(DataCollector.COLLECTOR_TYPE_LIST)) {
LinkedHashMap<String, MtasDataItemNumberComparator> comparatorList = new LinkedHashMap<>();
for (Entry<Stri... | java | {
"resource": ""
} |
q11084 | lbvserver_cmppolicy_binding.get | train | public static lbvserver_cmppolicy_binding[] get(nitro_service service, String name) throws Exception{
lbvserver_cmppolicy_binding obj = new lbvserver_cmppolicy_binding();
obj.set_name(name);
lbvserver_cmppolicy_binding response[] = (lbvserver_cmppolicy_binding[]) obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
q11085 | appfwconfidfield.add | train | public static base_response add(nitro_service client, appfwconfidfield resource) throws Exception {
appfwconfidfield addresource = new appfwconfidfield();
addresource.fieldname = resource.fieldname;
addresource.url = resource.url;
addresource.isregex = resource.isregex;
addresource.comment = resource.comment;... | java | {
"resource": ""
} |
q11086 | appfwconfidfield.add | train | public static base_responses add(nitro_service client, appfwconfidfield resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
appfwconfidfield addresources[] = new appfwconfidfield[resources.length];
for (int i=0;i<resources.length;i++){
addresource... | java | {
"resource": ""
} |
q11087 | appfwconfidfield.delete | train | public static base_response delete(nitro_service client, String fieldname) throws Exception {
appfwconfidfield deleteresource = new appfwconfidfield();
deleteresource.fieldname = fieldname;
return deleteresource.delete_resource(client);
} | java | {
"resource": ""
} |
q11088 | appfwconfidfield.delete | train | public static base_response delete(nitro_service client, appfwconfidfield resource) throws Exception {
appfwconfidfield deleteresource = new appfwconfidfield();
deleteresource.fieldname = resource.fieldname;
deleteresource.url = resource.url;
return deleteresource.delete_resource(client);
} | java | {
"resource": ""
} |
q11089 | appfwconfidfield.delete | train | public static base_responses delete(nitro_service client, String fieldname[]) throws Exception {
base_responses result = null;
if (fieldname != null && fieldname.length > 0) {
appfwconfidfield deleteresources[] = new appfwconfidfield[fieldname.length];
for (int i=0;i<fieldname.length;i++){
deleteresources... | java | {
"resource": ""
} |
q11090 | appfwconfidfield.delete | train | public static base_responses delete(nitro_service client, appfwconfidfield resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
appfwconfidfield deleteresources[] = new appfwconfidfield[resources.length];
for (int i=0;i<resources.length;i++){
delet... | java | {
"resource": ""
} |
q11091 | appfwconfidfield.update | train | public static base_response update(nitro_service client, appfwconfidfield resource) throws Exception {
appfwconfidfield updateresource = new appfwconfidfield();
updateresource.fieldname = resource.fieldname;
updateresource.url = resource.url;
updateresource.comment = resource.comment;
updateresource.state = r... | java | {
"resource": ""
} |
q11092 | appfwconfidfield.update | train | public static base_responses update(nitro_service client, appfwconfidfield resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
appfwconfidfield updateresources[] = new appfwconfidfield[resources.length];
for (int i=0;i<resources.length;i++){
updat... | java | {
"resource": ""
} |
q11093 | appfwconfidfield.unset | train | public static base_response unset(nitro_service client, appfwconfidfield resource, String[] args) throws Exception{
appfwconfidfield unsetresource = new appfwconfidfield();
unsetresource.fieldname = resource.fieldname;
unsetresource.url = resource.url;
return unsetresource.unset_resource(client,args);
} | java | {
"resource": ""
} |
q11094 | appfwconfidfield.unset | train | public static base_responses unset(nitro_service client, appfwconfidfield resources[], String[] args) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
appfwconfidfield unsetresources[] = new appfwconfidfield[resources.length];
for (int i=0;i<resources.length;i... | java | {
"resource": ""
} |
q11095 | appfwconfidfield.get | train | public static appfwconfidfield[] get(nitro_service service) throws Exception{
appfwconfidfield obj = new appfwconfidfield();
appfwconfidfield[] response = (appfwconfidfield[])obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
q11096 | dnsnsrec.add | train | public static base_response add(nitro_service client, dnsnsrec resource) throws Exception {
dnsnsrec addresource = new dnsnsrec();
addresource.domain = resource.domain;
addresource.nameserver = resource.nameserver;
addresource.ttl = resource.ttl;
return addresource.add_resource(client);
} | java | {
"resource": ""
} |
q11097 | dnsnsrec.add | train | public static base_responses add(nitro_service client, dnsnsrec resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dnsnsrec addresources[] = new dnsnsrec[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new dnsnsrec();
... | java | {
"resource": ""
} |
q11098 | dnsnsrec.delete | train | public static base_response delete(nitro_service client, dnsnsrec resource) throws Exception {
dnsnsrec deleteresource = new dnsnsrec();
deleteresource.domain = resource.domain;
deleteresource.nameserver = resource.nameserver;
return deleteresource.delete_resource(client);
} | java | {
"resource": ""
} |
q11099 | dnsnsrec.get | train | public static dnsnsrec[] get(nitro_service service) throws Exception{
dnsnsrec obj = new dnsnsrec();
dnsnsrec[] response = (dnsnsrec[])obj.get_resources(service);
return response;
} | java | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.