code stringlengths 73 34.1k | label stringclasses 1
value |
|---|---|
public static aaa_stats get(nitro_service service) throws Exception{
aaa_stats obj = new aaa_stats();
aaa_stats[] response = (aaa_stats[])obj.stat_resources(service);
return response[0];
} | java |
public static aaagroup_aaauser_binding[] get(nitro_service service, String groupname) throws Exception{
aaagroup_aaauser_binding obj = new aaagroup_aaauser_binding();
obj.set_groupname(groupname);
aaagroup_aaauser_binding response[] = (aaagroup_aaauser_binding[]) obj.get_resources(service);
return response;
} | java |
public static lbvserver[] get(nitro_service service) throws Exception{
lbvserver obj = new lbvserver();
lbvserver[] response = (lbvserver[])obj.get_resources(service);
return response;
} | java |
public static lbvserver get(nitro_service service, String name) throws Exception{
lbvserver obj = new lbvserver();
obj.set_name(name);
lbvserver response = (lbvserver) obj.get_resource(service);
return response;
} | java |
public static lbvserver[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
lbvserver obj = new lbvserver();
options option = new options();
option.set_filter(filter);
lbvserver[] response = (lbvserver[]) obj.getfiltered(service, option);
return response;
} | java |
public static csvserver_cspolicy_binding[] get(nitro_service service, String name) throws Exception{
csvserver_cspolicy_binding obj = new csvserver_cspolicy_binding();
obj.set_name(name);
csvserver_cspolicy_binding response[] = (csvserver_cspolicy_binding[]) obj.get_resources(service);
return response;
} | java |
public static sslservicegroup_sslcertkey_binding[] get(nitro_service service, String servicegroupname) throws Exception{
sslservicegroup_sslcertkey_binding obj = new sslservicegroup_sslcertkey_binding();
obj.set_servicegroupname(servicegroupname);
sslservicegroup_sslcertkey_binding response[] = (sslservicegroup_s... | java |
public static base_response Import(nitro_service client, application resource) throws Exception {
application Importresource = new application();
Importresource.apptemplatefilename = resource.apptemplatefilename;
Importresource.appname = resource.appname;
Importresource.deploymentfilename = resource.deploymentf... | java |
public static base_response export(nitro_service client, application resource) throws Exception {
application exportresource = new application();
exportresource.appname = resource.appname;
exportresource.apptemplatefilename = resource.apptemplatefilename;
exportresource.deploymentfilename = resource.deploymentf... | java |
public static base_response delete(nitro_service client, application resource) throws Exception {
application deleteresource = new application();
deleteresource.appname = resource.appname;
return deleteresource.delete_resource(client);
} | java |
public static vpnglobal_binding get(nitro_service service) throws Exception{
vpnglobal_binding obj = new vpnglobal_binding();
vpnglobal_binding response = (vpnglobal_binding) obj.get_resource(service);
return response;
} | java |
public static authenticationtacacspolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{
authenticationtacacspolicy_systemglobal_binding obj = new authenticationtacacspolicy_systemglobal_binding();
obj.set_name(name);
authenticationtacacspolicy_systemglobal_binding response[] = (a... | java |
public static base_response update(nitro_service client, cmpparameter resource) throws Exception {
cmpparameter updateresource = new cmpparameter();
updateresource.cmplevel = resource.cmplevel;
updateresource.quantumsize = resource.quantumsize;
updateresource.servercmp = resource.servercmp;
updateresource.heu... | java |
public static base_response unset(nitro_service client, cmpparameter resource, String[] args) throws Exception{
cmpparameter unsetresource = new cmpparameter();
return unsetresource.unset_resource(client,args);
} | java |
public static cmpparameter get(nitro_service service) throws Exception{
cmpparameter obj = new cmpparameter();
cmpparameter[] response = (cmpparameter[])obj.get_resources(service);
return response[0];
} | java |
public static cmpglobal_cmppolicy_binding[] get(nitro_service service) throws Exception{
cmpglobal_cmppolicy_binding obj = new cmpglobal_cmppolicy_binding();
cmpglobal_cmppolicy_binding response[] = (cmpglobal_cmppolicy_binding[]) obj.get_resources(service);
return response;
} | java |
public static sslcertkey_crldistribution_binding[] get(nitro_service service, String certkey) throws Exception{
sslcertkey_crldistribution_binding obj = new sslcertkey_crldistribution_binding();
obj.set_certkey(certkey);
sslcertkey_crldistribution_binding response[] = (sslcertkey_crldistribution_binding[]) obj.ge... | java |
public static long count(nitro_service service, String certkey) throws Exception{
sslcertkey_crldistribution_binding obj = new sslcertkey_crldistribution_binding();
obj.set_certkey(certkey);
options option = new options();
option.set_count(true);
sslcertkey_crldistribution_binding response[] = (sslcertkey_crl... | java |
public static base_response Force(nitro_service client, clustersync resource) throws Exception {
clustersync Forceresource = new clustersync();
return Forceresource.perform_operation(client,"Force");
} | java |
private List<T> computePagedList(List<T> result, HeaderAndBody httpResponse, JSONObject where, Pipe<T> requestingPipe) {
ReadFilter previousRead = null;
ReadFilter nextRead = null;
if (PageConfig.MetadataLocations.WEB_LINKING.equals(pageConfig.getMetadataLocation())) {
String webLin... | java |
public static ipset_nsip6_binding[] get(nitro_service service, String name) throws Exception{
ipset_nsip6_binding obj = new ipset_nsip6_binding();
obj.set_name(name);
ipset_nsip6_binding response[] = (ipset_nsip6_binding[]) obj.get_resources(service);
return response;
} | java |
public static nstimer_binding get(nitro_service service, String name) throws Exception{
nstimer_binding obj = new nstimer_binding();
obj.set_name(name);
nstimer_binding response = (nstimer_binding) obj.get_resource(service);
return response;
} | java |
public static responderpolicylabel_binding get(nitro_service service, String labelname) throws Exception{
responderpolicylabel_binding obj = new responderpolicylabel_binding();
obj.set_labelname(labelname);
responderpolicylabel_binding response = (responderpolicylabel_binding) obj.get_resource(service);
return ... | java |
public static filterglobal_filterpolicy_binding[] get(nitro_service service) throws Exception{
filterglobal_filterpolicy_binding obj = new filterglobal_filterpolicy_binding();
filterglobal_filterpolicy_binding response[] = (filterglobal_filterpolicy_binding[]) obj.get_resources(service);
return response;
} | java |
public static streamidentifier_stats get(nitro_service service, String name) throws Exception{
streamidentifier_stats obj = new streamidentifier_stats();
obj.set_name(name);
streamidentifier_stats response = (streamidentifier_stats) obj.stat_resource(service);
return response;
} | java |
public static configstatus[] get(nitro_service service) throws Exception{
configstatus obj = new configstatus();
configstatus[] response = (configstatus[])obj.get_resources(service);
return response;
} | java |
public static base_response add(nitro_service client, dnspolicylabel resource) throws Exception {
dnspolicylabel addresource = new dnspolicylabel();
addresource.labelname = resource.labelname;
addresource.transform = resource.transform;
return addresource.add_resource(client);
} | java |
public static base_responses add(nitro_service client, dnspolicylabel resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dnspolicylabel addresources[] = new dnspolicylabel[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] =... | java |
public static base_response delete(nitro_service client, String labelname) throws Exception {
dnspolicylabel deleteresource = new dnspolicylabel();
deleteresource.labelname = labelname;
return deleteresource.delete_resource(client);
} | java |
public static dnspolicylabel[] get(nitro_service service) throws Exception{
dnspolicylabel obj = new dnspolicylabel();
dnspolicylabel[] response = (dnspolicylabel[])obj.get_resources(service);
return response;
} | java |
public static dnspolicylabel get(nitro_service service, String labelname) throws Exception{
dnspolicylabel obj = new dnspolicylabel();
obj.set_labelname(labelname);
dnspolicylabel response = (dnspolicylabel) obj.get_resource(service);
return response;
} | java |
public static auditsyslogpolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{
auditsyslogpolicy_systemglobal_binding obj = new auditsyslogpolicy_systemglobal_binding();
obj.set_name(name);
auditsyslogpolicy_systemglobal_binding response[] = (auditsyslogpolicy_systemglobal_bindin... | java |
public static base_response add(nitro_service client, sslcertkey resource) throws Exception {
sslcertkey addresource = new sslcertkey();
addresource.certkey = resource.certkey;
addresource.cert = resource.cert;
addresource.key = resource.key;
addresource.password = resource.password;
addresource.fipskey = r... | java |
public static base_responses add(nitro_service client, sslcertkey resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcertkey addresources[] = new sslcertkey[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new sslcert... | java |
public static base_response delete(nitro_service client, sslcertkey resource) throws Exception {
sslcertkey deleteresource = new sslcertkey();
deleteresource.certkey = resource.certkey;
return deleteresource.delete_resource(client);
} | java |
public static base_responses delete(nitro_service client, String certkey[]) throws Exception {
base_responses result = null;
if (certkey != null && certkey.length > 0) {
sslcertkey deleteresources[] = new sslcertkey[certkey.length];
for (int i=0;i<certkey.length;i++){
deleteresources[i] = new sslcertkey()... | java |
public static base_response update(nitro_service client, sslcertkey resource) throws Exception {
sslcertkey updateresource = new sslcertkey();
updateresource.certkey = resource.certkey;
updateresource.expirymonitor = resource.expirymonitor;
updateresource.notificationperiod = resource.notificationperiod;
retu... | java |
public static base_responses update(nitro_service client, sslcertkey resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcertkey updateresources[] = new sslcertkey[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = ne... | java |
public static base_response unset(nitro_service client, sslcertkey resource, String[] args) throws Exception{
sslcertkey unsetresource = new sslcertkey();
unsetresource.certkey = resource.certkey;
return unsetresource.unset_resource(client,args);
} | java |
public static base_responses unset(nitro_service client, String certkey[], String args[]) throws Exception {
base_responses result = null;
if (certkey != null && certkey.length > 0) {
sslcertkey unsetresources[] = new sslcertkey[certkey.length];
for (int i=0;i<certkey.length;i++){
unsetresources[i] = new ... | java |
public static base_response link(nitro_service client, sslcertkey resource) throws Exception {
sslcertkey linkresource = new sslcertkey();
linkresource.certkey = resource.certkey;
linkresource.linkcertkeyname = resource.linkcertkeyname;
return linkresource.perform_operation(client,"link");
} | java |
public static base_responses link(nitro_service client, sslcertkey resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcertkey linkresources[] = new sslcertkey[resources.length];
for (int i=0;i<resources.length;i++){
linkresources[i] = new sslc... | java |
public static base_response unlink(nitro_service client, sslcertkey resource) throws Exception {
sslcertkey unlinkresource = new sslcertkey();
unlinkresource.certkey = resource.certkey;
return unlinkresource.perform_operation(client,"unlink");
} | java |
public static base_responses unlink(nitro_service client, sslcertkey resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcertkey unlinkresources[] = new sslcertkey[resources.length];
for (int i=0;i<resources.length;i++){
unlinkresources[i] = ne... | java |
public static base_response change(nitro_service client, sslcertkey resource) throws Exception {
sslcertkey updateresource = new sslcertkey();
updateresource.certkey = resource.certkey;
updateresource.cert = resource.cert;
updateresource.key = resource.key;
updateresource.password = resource.password;
updat... | java |
public static base_responses change(nitro_service client, sslcertkey resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcertkey updateresources[] = new sslcertkey[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = ne... | java |
public static sslcertkey[] get(nitro_service service) throws Exception{
sslcertkey obj = new sslcertkey();
sslcertkey[] response = (sslcertkey[])obj.get_resources(service);
return response;
} | java |
public static sslcertkey get(nitro_service service, String certkey) throws Exception{
sslcertkey obj = new sslcertkey();
obj.set_certkey(certkey);
sslcertkey response = (sslcertkey) obj.get_resource(service);
return response;
} | java |
public static sslcertkey[] get(nitro_service service, String certkey[]) throws Exception{
if (certkey !=null && certkey.length>0) {
sslcertkey response[] = new sslcertkey[certkey.length];
sslcertkey obj[] = new sslcertkey[certkey.length];
for (int i=0;i<certkey.length;i++) {
obj[i] = new sslcertkey();
... | java |
public static base_response clear(nitro_service client, nsconfig resource) throws Exception {
nsconfig clearresource = new nsconfig();
clearresource.force = resource.force;
clearresource.level = resource.level;
return clearresource.perform_operation(client,"clear");
} | java |
public static base_response update(nitro_service client, nsconfig resource) throws Exception {
nsconfig updateresource = new nsconfig();
updateresource.ipaddress = resource.ipaddress;
updateresource.netmask = resource.netmask;
updateresource.nsvlan = resource.nsvlan;
updateresource.ifnum = resource.ifnum;
u... | java |
public static base_response unset(nitro_service client, nsconfig resource, String[] args) throws Exception{
nsconfig unsetresource = new nsconfig();
return unsetresource.unset_resource(client,args);
} | java |
public static base_response save(nitro_service client) throws Exception {
nsconfig saveresource = new nsconfig();
return saveresource.perform_operation(client,"save");
} | java |
public static nsconfig diff(nitro_service client, nsconfig resource) throws Exception {
nsconfig diffresource = new nsconfig();
diffresource.config1 = resource.config1;
diffresource.config2 = resource.config2;
diffresource.outtype = resource.outtype;
diffresource.template = resource.template;
diffresource.i... | java |
public static nsconfig get(nitro_service service) throws Exception{
nsconfig obj = new nsconfig();
nsconfig[] response = (nsconfig[])obj.get_resources(service);
return response[0];
} | java |
public static aaauser_aaagroup_binding[] get(nitro_service service, String username) throws Exception{
aaauser_aaagroup_binding obj = new aaauser_aaagroup_binding();
obj.set_username(username);
aaauser_aaagroup_binding response[] = (aaauser_aaagroup_binding[]) obj.get_resources(service);
return response;
} | java |
public static authenticationlocalpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{
authenticationlocalpolicy_authenticationvserver_binding obj = new authenticationlocalpolicy_authenticationvserver_binding();
obj.set_name(name);
authenticationlocalpolicy_authenticatio... | java |
public static base_response update(nitro_service client, responderparam resource) throws Exception {
responderparam updateresource = new responderparam();
updateresource.undefaction = resource.undefaction;
return updateresource.update_resource(client);
} | java |
public static base_response unset(nitro_service client, responderparam resource, String[] args) throws Exception{
responderparam unsetresource = new responderparam();
return unsetresource.unset_resource(client,args);
} | java |
public static responderparam get(nitro_service service) throws Exception{
responderparam obj = new responderparam();
responderparam[] response = (responderparam[])obj.get_resources(service);
return response[0];
} | java |
public static base_response add(nitro_service client, tmtrafficaction resource) throws Exception {
tmtrafficaction addresource = new tmtrafficaction();
addresource.name = resource.name;
addresource.apptimeout = resource.apptimeout;
addresource.sso = resource.sso;
addresource.formssoaction = resource.formssoac... | java |
public static base_responses add(nitro_service client, tmtrafficaction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
tmtrafficaction addresources[] = new tmtrafficaction[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i... | java |
public static base_response update(nitro_service client, tmtrafficaction resource) throws Exception {
tmtrafficaction updateresource = new tmtrafficaction();
updateresource.name = resource.name;
updateresource.apptimeout = resource.apptimeout;
updateresource.sso = resource.sso;
updateresource.formssoaction = ... | java |
public static base_responses update(nitro_service client, tmtrafficaction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
tmtrafficaction updateresources[] = new tmtrafficaction[resources.length];
for (int i=0;i<resources.length;i++){
updatere... | java |
public static tmtrafficaction[] get(nitro_service service) throws Exception{
tmtrafficaction obj = new tmtrafficaction();
tmtrafficaction[] response = (tmtrafficaction[])obj.get_resources(service);
return response;
} | java |
public static tmtrafficaction get(nitro_service service, String name) throws Exception{
tmtrafficaction obj = new tmtrafficaction();
obj.set_name(name);
tmtrafficaction response = (tmtrafficaction) obj.get_resource(service);
return response;
} | java |
public static tmglobal_binding get(nitro_service service) throws Exception{
tmglobal_binding obj = new tmglobal_binding();
tmglobal_binding response = (tmglobal_binding) obj.get_resource(service);
return response;
} | java |
public static csvserver_spilloverpolicy_binding[] get(nitro_service service, String name) throws Exception{
csvserver_spilloverpolicy_binding obj = new csvserver_spilloverpolicy_binding();
obj.set_name(name);
csvserver_spilloverpolicy_binding response[] = (csvserver_spilloverpolicy_binding[]) obj.get_resources(se... | java |
public int compareTo(WordLemmaTag wordLemmaTag) {
int first = word().compareTo(wordLemmaTag.word());
if (first != 0)
return first;
int second = lemma().compareTo(wordLemmaTag.lemma());
if (second != 0)
return second;
else
return tag().compareTo(wordLemmaTag.tag());
} | java |
public static base_response add(nitro_service client, autoscaleprofile resource) throws Exception {
autoscaleprofile addresource = new autoscaleprofile();
addresource.name = resource.name;
addresource.type = resource.type;
addresource.url = resource.url;
addresource.apikey = resource.apikey;
addresource.sha... | java |
public static base_responses add(nitro_service client, autoscaleprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
autoscaleprofile addresources[] = new autoscaleprofile[resources.length];
for (int i=0;i<resources.length;i++){
addresource... | java |
public static base_response update(nitro_service client, autoscaleprofile resource) throws Exception {
autoscaleprofile updateresource = new autoscaleprofile();
updateresource.name = resource.name;
updateresource.url = resource.url;
updateresource.apikey = resource.apikey;
updateresource.sharedsecret = resour... | java |
public static base_responses update(nitro_service client, autoscaleprofile resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
autoscaleprofile updateresources[] = new autoscaleprofile[resources.length];
for (int i=0;i<resources.length;i++){
updat... | java |
public static autoscaleprofile[] get(nitro_service service) throws Exception{
autoscaleprofile obj = new autoscaleprofile();
autoscaleprofile[] response = (autoscaleprofile[])obj.get_resources(service);
return response;
} | java |
public static autoscaleprofile get(nitro_service service, String name) throws Exception{
autoscaleprofile obj = new autoscaleprofile();
obj.set_name(name);
autoscaleprofile response = (autoscaleprofile) obj.get_resource(service);
return response;
} | java |
public static servicegroupbindings get(nitro_service service, String servicegroupname) throws Exception{
servicegroupbindings obj = new servicegroupbindings();
obj.set_servicegroupname(servicegroupname);
servicegroupbindings response = (servicegroupbindings) obj.get_resource(service);
return response;
} | java |
public static lbmonitor_binding get(nitro_service service, String monitorname) throws Exception{
lbmonitor_binding obj = new lbmonitor_binding();
obj.set_monitorname(monitorname);
lbmonitor_binding response = (lbmonitor_binding) obj.get_resource(service);
return response;
} | java |
public static lbmonitor_binding[] get(nitro_service service, String monitorname[]) throws Exception{
if (monitorname !=null && monitorname.length>0) {
lbmonitor_binding response[] = new lbmonitor_binding[monitorname.length];
lbmonitor_binding obj[] = new lbmonitor_binding[monitorname.length];
for (int i=0;i<... | java |
private static int med3(int a, int b, int c, IntComparator comp) {
int ab = comp.compare(a,b);
int ac = comp.compare(a,c);
int bc = comp.compare(b,c);
return (ab<0 ?
(bc<0 ? b : ac<0 ? c : a) :
(bc>0 ? b : ac>0 ? c : a));
} | java |
private static void reverse(int first, int last, Swapper swapper) {
// no more needed since manually inlined
while (first < --last) {
swapper.swap(first++,last);
}
} | java |
public static authenticationradiuspolicy_vpnvserver_binding[] get(nitro_service service, String name) throws Exception{
authenticationradiuspolicy_vpnvserver_binding obj = new authenticationradiuspolicy_vpnvserver_binding();
obj.set_name(name);
authenticationradiuspolicy_vpnvserver_binding response[] = (authentic... | java |
public static rnat6_nsip6_binding[] get(nitro_service service, String name) throws Exception{
rnat6_nsip6_binding obj = new rnat6_nsip6_binding();
obj.set_name(name);
rnat6_nsip6_binding response[] = (rnat6_nsip6_binding[]) obj.get_resources(service);
return response;
} | java |
public static authorizationpolicylabel_binding get(nitro_service service, String labelname) throws Exception{
authorizationpolicylabel_binding obj = new authorizationpolicylabel_binding();
obj.set_labelname(labelname);
authorizationpolicylabel_binding response = (authorizationpolicylabel_binding) obj.get_resource... | java |
private void createCodeMappings(MtasTokenIdFactory mtasTokenIdFactory,
Level level, String stringValue, int offsetStart, int offsetEnd,
int realOffsetStart, int realOffsetEnd, List<Integer> codePositions)
throws IOException {
String[] stringValues = MtasPennTreebankReader.createStrings(stringValue... | java |
private void createNodeMappings(MtasTokenIdFactory mtasTokenIdFactory,
Level level, Level parentLevel) {
MtasToken nodeToken;
if (level.node != null && level.positionStart != null
&& level.positionEnd != null) {
nodeToken = new MtasTokenString(mtasTokenIdFactory.createTokenId(),
le... | java |
private void createStringMappings(MtasTokenIdFactory mtasTokenIdFactory,
Level level, String stringValue, int offsetStart, int offsetEnd,
int position) throws IOException {
// System.out.println("createStringMappings string ");
String[] stringValues = MtasPennTreebankReader.createStrings(stringValue... | java |
public static base_response add(nitro_service client, dospolicy resource) throws Exception {
dospolicy addresource = new dospolicy();
addresource.name = resource.name;
addresource.qdepth = resource.qdepth;
addresource.cltdetectrate = resource.cltdetectrate;
return addresource.add_resource(client);
} | java |
public static base_responses add(nitro_service client, dospolicy resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dospolicy addresources[] = new dospolicy[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new dospolicy(... | java |
public static base_response update(nitro_service client, dospolicy resource) throws Exception {
dospolicy updateresource = new dospolicy();
updateresource.name = resource.name;
updateresource.qdepth = resource.qdepth;
updateresource.cltdetectrate = resource.cltdetectrate;
return updateresource.update_resource... | java |
public static base_responses update(nitro_service client, dospolicy resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dospolicy updateresources[] = new dospolicy[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new d... | java |
public static dospolicy[] get(nitro_service service) throws Exception{
dospolicy obj = new dospolicy();
dospolicy[] response = (dospolicy[])obj.get_resources(service);
return response;
} | java |
public static dospolicy get(nitro_service service, String name) throws Exception{
dospolicy obj = new dospolicy();
obj.set_name(name);
dospolicy response = (dospolicy) obj.get_resource(service);
return response;
} | java |
public static dospolicy[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
dospolicy obj = new dospolicy();
options option = new options();
option.set_filter(filter);
dospolicy[] response = (dospolicy[]) obj.getfiltered(service, option);
return response;
} | java |
public static base_responses add(nitro_service client, cacheselector resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
cacheselector addresources[] = new cacheselector[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = ne... | java |
public static base_response delete(nitro_service client, String selectorname) throws Exception {
cacheselector deleteresource = new cacheselector();
deleteresource.selectorname = selectorname;
return deleteresource.delete_resource(client);
} | java |
public static base_responses delete(nitro_service client, String selectorname[]) throws Exception {
base_responses result = null;
if (selectorname != null && selectorname.length > 0) {
cacheselector deleteresources[] = new cacheselector[selectorname.length];
for (int i=0;i<selectorname.length;i++){
delete... | java |
public static base_response update(nitro_service client, cacheselector resource) throws Exception {
cacheselector updateresource = new cacheselector();
updateresource.selectorname = resource.selectorname;
updateresource.rule = resource.rule;
return updateresource.update_resource(client);
} | java |
public static cacheselector[] get(nitro_service service, options option) throws Exception{
cacheselector obj = new cacheselector();
cacheselector[] response = (cacheselector[])obj.get_resources(service,option);
return response;
} | java |
public static cacheselector get(nitro_service service, String selectorname) throws Exception{
cacheselector obj = new cacheselector();
obj.set_selectorname(selectorname);
cacheselector response = (cacheselector) obj.get_resource(service);
return response;
} | java |
public static cacheselector[] get(nitro_service service, String selectorname[]) throws Exception{
if (selectorname !=null && selectorname.length>0) {
cacheselector response[] = new cacheselector[selectorname.length];
cacheselector obj[] = new cacheselector[selectorname.length];
for (int i=0;i<selectorname.le... | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.