code stringlengths 73 34.1k | label stringclasses 1
value |
|---|---|
public static base_response update(nitro_service client, rsskeytype resource) throws Exception {
rsskeytype updateresource = new rsskeytype();
updateresource.rsstype = resource.rsstype;
return updateresource.update_resource(client);
} | java |
public static rsskeytype get(nitro_service service) throws Exception{
rsskeytype obj = new rsskeytype();
rsskeytype[] response = (rsskeytype[])obj.get_resources(service);
return response[0];
} | java |
public static vpntrafficpolicy_vpnglobal_binding[] get(nitro_service service, String name) throws Exception{
vpntrafficpolicy_vpnglobal_binding obj = new vpntrafficpolicy_vpnglobal_binding();
obj.set_name(name);
vpntrafficpolicy_vpnglobal_binding response[] = (vpntrafficpolicy_vpnglobal_binding[]) obj.get_resourc... | java |
public static tmglobal_tmsessionpolicy_binding[] get(nitro_service service) throws Exception{
tmglobal_tmsessionpolicy_binding obj = new tmglobal_tmsessionpolicy_binding();
tmglobal_tmsessionpolicy_binding response[] = (tmglobal_tmsessionpolicy_binding[]) obj.get_resources(service);
return response;
} | java |
public static systemglobal_authenticationldappolicy_binding[] get(nitro_service service) throws Exception{
systemglobal_authenticationldappolicy_binding obj = new systemglobal_authenticationldappolicy_binding();
systemglobal_authenticationldappolicy_binding response[] = (systemglobal_authenticationldappolicy_bindin... | java |
public static authenticationvserver_authenticationradiuspolicy_binding[] get(nitro_service service, String name) throws Exception{
authenticationvserver_authenticationradiuspolicy_binding obj = new authenticationvserver_authenticationradiuspolicy_binding();
obj.set_name(name);
authenticationvserver_authentication... | java |
public static auditnslogpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{
auditnslogpolicy_authenticationvserver_binding obj = new auditnslogpolicy_authenticationvserver_binding();
obj.set_name(name);
auditnslogpolicy_authenticationvserver_binding response[] = (audit... | java |
public static vlan_nsip6_binding[] get(nitro_service service, Long id) throws Exception{
vlan_nsip6_binding obj = new vlan_nsip6_binding();
obj.set_id(id);
vlan_nsip6_binding response[] = (vlan_nsip6_binding[]) obj.get_resources(service);
return response;
} | java |
public static appflowpolicylabel[] get(nitro_service service) throws Exception{
appflowpolicylabel obj = new appflowpolicylabel();
appflowpolicylabel[] response = (appflowpolicylabel[])obj.get_resources(service);
return response;
} | java |
public static appflowpolicylabel get(nitro_service service, String labelname) throws Exception{
appflowpolicylabel obj = new appflowpolicylabel();
obj.set_labelname(labelname);
appflowpolicylabel response = (appflowpolicylabel) obj.get_resource(service);
return response;
} | java |
public static nslimitidentifier_stats[] get(nitro_service service) throws Exception{
nslimitidentifier_stats obj = new nslimitidentifier_stats();
nslimitidentifier_stats[] response = (nslimitidentifier_stats[])obj.stat_resources(service);
return response;
} | java |
public static nslimitidentifier_stats get(nitro_service service, String name) throws Exception{
nslimitidentifier_stats obj = new nslimitidentifier_stats();
obj.set_name(name);
nslimitidentifier_stats response = (nslimitidentifier_stats) obj.stat_resource(service);
return response;
} | java |
public static base_response add(nitro_service client, cachecontentgroup resource) throws Exception {
cachecontentgroup addresource = new cachecontentgroup();
addresource.name = resource.name;
addresource.weakposrelexpiry = resource.weakposrelexpiry;
addresource.heurexpiryparam = resource.heurexpiryparam;
addr... | java |
public static base_response update(nitro_service client, cachecontentgroup resource) throws Exception {
cachecontentgroup updateresource = new cachecontentgroup();
updateresource.name = resource.name;
updateresource.weakposrelexpiry = resource.weakposrelexpiry;
updateresource.heurexpiryparam = resource.heurexpi... | java |
public static base_response expire(nitro_service client, cachecontentgroup resource) throws Exception {
cachecontentgroup expireresource = new cachecontentgroup();
expireresource.name = resource.name;
return expireresource.perform_operation(client,"expire");
} | java |
public static base_responses expire(nitro_service client, cachecontentgroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
cachecontentgroup expireresources[] = new cachecontentgroup[resources.length];
for (int i=0;i<resources.length;i++){
ex... | java |
public static base_response flush(nitro_service client, cachecontentgroup resource) throws Exception {
cachecontentgroup flushresource = new cachecontentgroup();
flushresource.name = resource.name;
flushresource.query = resource.query;
flushresource.host = resource.host;
flushresource.selectorvalue = resource... | java |
public static base_responses flush(nitro_service client, cachecontentgroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
cachecontentgroup flushresources[] = new cachecontentgroup[resources.length];
for (int i=0;i<resources.length;i++){
flus... | java |
public static base_response save(nitro_service client, cachecontentgroup resource) throws Exception {
cachecontentgroup saveresource = new cachecontentgroup();
saveresource.name = resource.name;
return saveresource.perform_operation(client,"save");
} | java |
public static base_responses save(nitro_service client, cachecontentgroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
cachecontentgroup saveresources[] = new cachecontentgroup[resources.length];
for (int i=0;i<resources.length;i++){
savere... | java |
public static cachecontentgroup[] get(nitro_service service) throws Exception{
cachecontentgroup obj = new cachecontentgroup();
cachecontentgroup[] response = (cachecontentgroup[])obj.get_resources(service);
return response;
} | java |
public static cachecontentgroup get(nitro_service service, String name) throws Exception{
cachecontentgroup obj = new cachecontentgroup();
obj.set_name(name);
cachecontentgroup response = (cachecontentgroup) obj.get_resource(service);
return response;
} | java |
public static lbvserver_auditnslogpolicy_binding[] get(nitro_service service, String name) throws Exception{
lbvserver_auditnslogpolicy_binding obj = new lbvserver_auditnslogpolicy_binding();
obj.set_name(name);
lbvserver_auditnslogpolicy_binding response[] = (lbvserver_auditnslogpolicy_binding[]) obj.get_resourc... | java |
public static base_response update(nitro_service client, csparameter resource) throws Exception {
csparameter updateresource = new csparameter();
updateresource.stateupdate = resource.stateupdate;
return updateresource.update_resource(client);
} | java |
public static base_response unset(nitro_service client, csparameter resource, String[] args) throws Exception{
csparameter unsetresource = new csparameter();
return unsetresource.unset_resource(client,args);
} | java |
public static csparameter get(nitro_service service) throws Exception{
csparameter obj = new csparameter();
csparameter[] response = (csparameter[])obj.get_resources(service);
return response[0];
} | java |
public static vpnvserver_rewritepolicy_binding[] get(nitro_service service, String name) throws Exception{
vpnvserver_rewritepolicy_binding obj = new vpnvserver_rewritepolicy_binding();
obj.set_name(name);
vpnvserver_rewritepolicy_binding response[] = (vpnvserver_rewritepolicy_binding[]) obj.get_resources(service... | java |
public static auditnslogpolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{
auditnslogpolicy_systemglobal_binding obj = new auditnslogpolicy_systemglobal_binding();
obj.set_name(name);
auditnslogpolicy_systemglobal_binding response[] = (auditnslogpolicy_systemglobal_binding[]) ... | java |
public static responderpolicy_binding get(nitro_service service, String name) throws Exception{
responderpolicy_binding obj = new responderpolicy_binding();
obj.set_name(name);
responderpolicy_binding response = (responderpolicy_binding) obj.get_resource(service);
return response;
} | java |
public void setLabels(Collection<LabelType> labels) {
this.labels.clear();
if (labels != null) {
this.labels.addAll(labels);
}
} | java |
@ViewChanged
public synchronized void onViewChangeEvent(ViewChangedEvent event) {
if (logger.isDebugEnabled()) {
logger.debug("onViewChangeEvent : pre[" + event.isPre() + "] : event local address[" + event.getCache().getLocalAddress() + "]");
}
final List<Address> oldView = currentView;
currentView = ... | java |
public static appfwpolicy_stats[] get(nitro_service service) throws Exception{
appfwpolicy_stats obj = new appfwpolicy_stats();
appfwpolicy_stats[] response = (appfwpolicy_stats[])obj.stat_resources(service);
return response;
} | java |
public static appfwpolicy_stats get(nitro_service service, String name) throws Exception{
appfwpolicy_stats obj = new appfwpolicy_stats();
obj.set_name(name);
appfwpolicy_stats response = (appfwpolicy_stats) obj.stat_resource(service);
return response;
} | java |
public static pqbinding[] get(nitro_service service, pqbinding_args args) throws Exception{
pqbinding obj = new pqbinding();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
pqbinding[] response = (pqbinding[])obj.get_resources(service, option);
return response... | java |
public void delete(Object element, boolean testForEquality) {
int index = indexOfFromTo(element, 0, size-1, testForEquality);
if (index>=0) removeFromTo(index,index);
} | java |
public void fillFromToWith(int from, int to, Object val) {
checkRangeFromTo(from,to,this.size);
for (int i=from; i<=to;) setQuick(i++,val);
} | java |
public static dnspolicy_dnspolicylabel_binding[] get(nitro_service service, String name) throws Exception{
dnspolicy_dnspolicylabel_binding obj = new dnspolicy_dnspolicylabel_binding();
obj.set_name(name);
dnspolicy_dnspolicylabel_binding response[] = (dnspolicy_dnspolicylabel_binding[]) obj.get_resources(service... | java |
public static tmtrafficpolicy_tmglobal_binding[] get(nitro_service service, String name) throws Exception{
tmtrafficpolicy_tmglobal_binding obj = new tmtrafficpolicy_tmglobal_binding();
obj.set_name(name);
tmtrafficpolicy_tmglobal_binding response[] = (tmtrafficpolicy_tmglobal_binding[]) obj.get_resources(service... | java |
public static clusternodegroup_nslimitidentifier_binding[] get(nitro_service service, String name) throws Exception{
clusternodegroup_nslimitidentifier_binding obj = new clusternodegroup_nslimitidentifier_binding();
obj.set_name(name);
clusternodegroup_nslimitidentifier_binding response[] = (clusternodegroup_nsli... | java |
public static rewritepolicylabel_rewritepolicy_binding[] get(nitro_service service, String labelname) throws Exception{
rewritepolicylabel_rewritepolicy_binding obj = new rewritepolicylabel_rewritepolicy_binding();
obj.set_labelname(labelname);
rewritepolicylabel_rewritepolicy_binding response[] = (rewritepolicyl... | java |
public static appfwhtmlerrorpage get(nitro_service service, options option) throws Exception{
appfwhtmlerrorpage obj = new appfwhtmlerrorpage();
appfwhtmlerrorpage[] response = (appfwhtmlerrorpage[])obj.get_resources(service,option);
return response[0];
} | java |
public static appfwhtmlerrorpage get(nitro_service service, String name) throws Exception{
appfwhtmlerrorpage obj = new appfwhtmlerrorpage();
obj.set_name(name);
appfwhtmlerrorpage response = (appfwhtmlerrorpage) obj.get_resource(service);
return response;
} | java |
public static authenticationvserver_stats[] get(nitro_service service) throws Exception{
authenticationvserver_stats obj = new authenticationvserver_stats();
authenticationvserver_stats[] response = (authenticationvserver_stats[])obj.stat_resources(service);
return response;
} | java |
public static authenticationvserver_stats get(nitro_service service, String name) throws Exception{
authenticationvserver_stats obj = new authenticationvserver_stats();
obj.set_name(name);
authenticationvserver_stats response = (authenticationvserver_stats) obj.stat_resource(service);
return response;
} | java |
public static vrid_nsip6_binding[] get(nitro_service service, Long id) throws Exception{
vrid_nsip6_binding obj = new vrid_nsip6_binding();
obj.set_id(id);
vrid_nsip6_binding response[] = (vrid_nsip6_binding[]) obj.get_resources(service);
return response;
} | java |
public static servicegroup_stats[] get(nitro_service service, options option) throws Exception{
servicegroup_stats obj = new servicegroup_stats();
servicegroup_stats[] response = (servicegroup_stats[])obj.stat_resources(service,option);
return response;
} | java |
public static servicegroup_stats get(nitro_service service, String servicegroupname) throws Exception{
servicegroup_stats obj = new servicegroup_stats();
obj.set_servicegroupname(servicegroupname);
servicegroup_stats response = (servicegroup_stats) obj.stat_resource(service);
return response;
} | java |
public static clusterinstance_binding get(nitro_service service, Long clid) throws Exception{
clusterinstance_binding obj = new clusterinstance_binding();
obj.set_clid(clid);
clusterinstance_binding response = (clusterinstance_binding) obj.get_resource(service);
return response;
} | java |
public static auditmessages[] get(nitro_service service) throws Exception{
auditmessages obj = new auditmessages();
auditmessages[] response = (auditmessages[])obj.get_resources(service);
return response;
} | java |
public static auditmessages[] get(nitro_service service, auditmessages_args args) throws Exception{
auditmessages obj = new auditmessages();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
auditmessages[] response = (auditmessages[])obj.get_resources(service, op... | java |
public static cmppolicylabel_policybinding_binding[] get(nitro_service service, String labelname) throws Exception{
cmppolicylabel_policybinding_binding obj = new cmppolicylabel_policybinding_binding();
obj.set_labelname(labelname);
cmppolicylabel_policybinding_binding response[] = (cmppolicylabel_policybinding_b... | java |
public static vpnglobal_appcontroller_binding[] get(nitro_service service) throws Exception{
vpnglobal_appcontroller_binding obj = new vpnglobal_appcontroller_binding();
vpnglobal_appcontroller_binding response[] = (vpnglobal_appcontroller_binding[]) obj.get_resources(service);
return response;
} | java |
private static Clique valueOfHelper(int[] relativeIndices) {
// if clique already exists, return that one
Clique c = new Clique();
c.relativeIndices = relativeIndices;
return intern(c);
} | java |
private static void checkSorted(int[] sorted) {
for (int i = 0; i < sorted.length-1; i++) {
if (sorted[i] > sorted[i+1]) {
throw new RuntimeException("input must be sorted!");
}
}
} | java |
public static aaapreauthenticationpolicy_aaaglobal_binding[] get(nitro_service service, String name) throws Exception{
aaapreauthenticationpolicy_aaaglobal_binding obj = new aaapreauthenticationpolicy_aaaglobal_binding();
obj.set_name(name);
aaapreauthenticationpolicy_aaaglobal_binding response[] = (aaapreauthent... | java |
public static base_response restart(nitro_service client) throws Exception {
dbsmonitors restartresource = new dbsmonitors();
return restartresource.perform_operation(client,"restart");
} | java |
public static wisite_accessmethod_binding[] get(nitro_service service, String sitepath) throws Exception{
wisite_accessmethod_binding obj = new wisite_accessmethod_binding();
obj.set_sitepath(sitepath);
wisite_accessmethod_binding response[] = (wisite_accessmethod_binding[]) obj.get_resources(service);
return r... | java |
public static <X, Y> Pair<X, Y> makePair(X x, Y y) {
return new Pair<X, Y>(x, y);
} | java |
public static Pair<String, String> stringIntern(Pair<String, String> p) {
return new MutableInternedPair(p);
} | java |
public static base_response add(nitro_service client, authenticationradiusaction resource) throws Exception {
authenticationradiusaction addresource = new authenticationradiusaction();
addresource.name = resource.name;
addresource.serverip = resource.serverip;
addresource.serverport = resource.serverport;
add... | java |
public static base_responses add(nitro_service client, authenticationradiusaction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
authenticationradiusaction addresources[] = new authenticationradiusaction[resources.length];
for (int i=0;i<resource... | java |
public static authenticationradiusaction[] get(nitro_service service) throws Exception{
authenticationradiusaction obj = new authenticationradiusaction();
authenticationradiusaction[] response = (authenticationradiusaction[])obj.get_resources(service);
return response;
} | java |
public static authenticationradiusaction get(nitro_service service, String name) throws Exception{
authenticationradiusaction obj = new authenticationradiusaction();
obj.set_name(name);
authenticationradiusaction response = (authenticationradiusaction) obj.get_resource(service);
return response;
} | java |
public static authenticationradiusaction[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
authenticationradiusaction obj = new authenticationradiusaction();
options option = new options();
option.set_filter(filter);
authenticationradiusaction[] response = (authenticationradiusaction... | java |
public static sslcertkey_sslvserver_binding[] get(nitro_service service, String certkey) throws Exception{
sslcertkey_sslvserver_binding obj = new sslcertkey_sslvserver_binding();
obj.set_certkey(certkey);
sslcertkey_sslvserver_binding response[] = (sslcertkey_sslvserver_binding[]) obj.get_resources(service);
r... | java |
private double getConstraint(double x1, double x2)
{
double c1,c2,h;
c1 = -x1*x1-x2*x2+1+0.1*Math.cos(16*Math.atan(x1/x2));
c2 = (x1-0.5)*(x1-0.5)+(x2-0.5)*(x2-0.5)-0.5;
if(c1>c2)
h = (c1>0)?c1:0;
else
h = (c2>0)?c2:0;
return h;
} | java |
public static lbvserver_stats[] get(nitro_service service) throws Exception{
lbvserver_stats obj = new lbvserver_stats();
lbvserver_stats[] response = (lbvserver_stats[])obj.stat_resources(service);
return response;
} | java |
public static lbvserver_stats get(nitro_service service, String name) throws Exception{
lbvserver_stats obj = new lbvserver_stats();
obj.set_name(name);
lbvserver_stats response = (lbvserver_stats) obj.stat_resource(service);
return response;
} | java |
private void updateMax(MtasRBTreeNode n, MtasRBTreeNode c) {
if (c != null) {
if (n.max < c.max) {
n.max = c.max;
}
}
} | java |
private void setMax(MtasRBTreeNode n) {
n.max = n.right;
if (n.leftChild != null) {
n.max = Math.max(n.max, n.leftChild.max);
}
if (n.rightChild != null) {
n.max = Math.max(n.max, n.rightChild.max);
}
} | java |
public static base_response update(nitro_service client, filterhtmlinjectionparameter resource) throws Exception {
filterhtmlinjectionparameter updateresource = new filterhtmlinjectionparameter();
updateresource.rate = resource.rate;
updateresource.frequency = resource.frequency;
updateresource.strict = resourc... | java |
public static base_response unset(nitro_service client, filterhtmlinjectionparameter resource, String[] args) throws Exception{
filterhtmlinjectionparameter unsetresource = new filterhtmlinjectionparameter();
return unsetresource.unset_resource(client,args);
} | java |
public static filterhtmlinjectionparameter get(nitro_service service, options option) throws Exception{
filterhtmlinjectionparameter obj = new filterhtmlinjectionparameter();
filterhtmlinjectionparameter[] response = (filterhtmlinjectionparameter[])obj.get_resources(service,option);
return response[0];
} | java |
public static aaauser_binding get(nitro_service service, String username) throws Exception{
aaauser_binding obj = new aaauser_binding();
obj.set_username(username);
aaauser_binding response = (aaauser_binding) obj.get_resource(service);
return response;
} | java |
public static sslvserver_sslcertkey_binding[] get(nitro_service service, String vservername) throws Exception{
sslvserver_sslcertkey_binding obj = new sslvserver_sslcertkey_binding();
obj.set_vservername(vservername);
sslvserver_sslcertkey_binding response[] = (sslvserver_sslcertkey_binding[]) obj.get_resources(s... | java |
public static base_response unset(nitro_service client, tmsessionparameter resource, String[] args) throws Exception{
tmsessionparameter unsetresource = new tmsessionparameter();
return unsetresource.unset_resource(client,args);
} | java |
public static tmsessionparameter get(nitro_service service) throws Exception{
tmsessionparameter obj = new tmsessionparameter();
tmsessionparameter[] response = (tmsessionparameter[])obj.get_resources(service);
return response[0];
} | java |
public static base_response add(nitro_service client, systemuser resource) throws Exception {
systemuser addresource = new systemuser();
addresource.username = resource.username;
addresource.password = resource.password;
addresource.externalauth = resource.externalauth;
addresource.promptstring = resource.pro... | java |
public static base_responses add(nitro_service client, systemuser resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
systemuser addresources[] = new systemuser[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new systemu... | java |
public static base_response delete(nitro_service client, String username) throws Exception {
systemuser deleteresource = new systemuser();
deleteresource.username = username;
return deleteresource.delete_resource(client);
} | java |
public static base_response update(nitro_service client, systemuser resource) throws Exception {
systemuser updateresource = new systemuser();
updateresource.username = resource.username;
updateresource.password = resource.password;
updateresource.externalauth = resource.externalauth;
updateresource.promptstr... | java |
public static base_responses update(nitro_service client, systemuser resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
systemuser updateresources[] = new systemuser[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = ne... | java |
public static base_response unset(nitro_service client, systemuser resource, String[] args) throws Exception{
systemuser unsetresource = new systemuser();
unsetresource.username = resource.username;
return unsetresource.unset_resource(client,args);
} | java |
public static base_responses unset(nitro_service client, String username[], String args[]) throws Exception {
base_responses result = null;
if (username != null && username.length > 0) {
systemuser unsetresources[] = new systemuser[username.length];
for (int i=0;i<username.length;i++){
unsetresources[i] =... | java |
public static systemuser[] get(nitro_service service) throws Exception{
systemuser obj = new systemuser();
systemuser[] response = (systemuser[])obj.get_resources(service);
return response;
} | java |
public static systemuser get(nitro_service service, String username) throws Exception{
systemuser obj = new systemuser();
obj.set_username(username);
systemuser response = (systemuser) obj.get_resource(service);
return response;
} | java |
public static service_stats[] get(nitro_service service) throws Exception{
service_stats obj = new service_stats();
service_stats[] response = (service_stats[])obj.stat_resources(service);
return response;
} | java |
public static service_stats get(nitro_service service, String name) throws Exception{
service_stats obj = new service_stats();
obj.set_name(name);
service_stats response = (service_stats) obj.stat_resource(service);
return response;
} | java |
public static base_response update(nitro_service client, inatparam resource) throws Exception {
inatparam updateresource = new inatparam();
updateresource.nat46v6prefix = resource.nat46v6prefix;
updateresource.nat46ignoretos = resource.nat46ignoretos;
updateresource.nat46zerochecksum = resource.nat46zerochecksu... | java |
public static base_response unset(nitro_service client, inatparam resource, String[] args) throws Exception{
inatparam unsetresource = new inatparam();
return unsetresource.unset_resource(client,args);
} | java |
public static inatparam get(nitro_service service) throws Exception{
inatparam obj = new inatparam();
inatparam[] response = (inatparam[])obj.get_resources(service);
return response[0];
} | java |
public float conditionalLogProb(int[] given, int of) {
if (given.length != windowSize - 1) {
System.err.println("error computing conditional log prob");
System.exit(0);
}
int[] label = indicesFront(given);
float[] masses = new float[label.length];
for (int i = 0; i < masses.length... | java |
public static base_response update(nitro_service client, aaaparameter resource) throws Exception {
aaaparameter updateresource = new aaaparameter();
updateresource.enablestaticpagecaching = resource.enablestaticpagecaching;
updateresource.enableenhancedauthfeedback = resource.enableenhancedauthfeedback;
updater... | java |
public static base_response unset(nitro_service client, aaaparameter resource, String[] args) throws Exception{
aaaparameter unsetresource = new aaaparameter();
return unsetresource.unset_resource(client,args);
} | java |
public static aaaparameter get(nitro_service service) throws Exception{
aaaparameter obj = new aaaparameter();
aaaparameter[] response = (aaaparameter[])obj.get_resources(service);
return response[0];
} | java |
public static gslbvserver_spilloverpolicy_binding[] get(nitro_service service, String name) throws Exception{
gslbvserver_spilloverpolicy_binding obj = new gslbvserver_spilloverpolicy_binding();
obj.set_name(name);
gslbvserver_spilloverpolicy_binding response[] = (gslbvserver_spilloverpolicy_binding[]) obj.get_re... | java |
public void setFirstOccurence(int min, int max) throws ParseException {
if (fullCondition == null) {
if ((min < 0) || (min > max) || (max < 1)) {
throw new ParseException("Illegal number {" + min + "," + max + "}");
}
if (min == 0) {
firstOptional = true;
}
firstMinimum... | java |
public MtasCQLParserSentenceCondition createFullSentence()
throws ParseException {
if (fullCondition == null) {
if (secondSentencePart == null) {
if (firstBasicSentence != null) {
fullCondition = new MtasCQLParserSentenceCondition(firstBasicSentence,
ignoreClause, maximum... | java |
public static base_response update(nitro_service client, vserver resource) throws Exception {
vserver updateresource = new vserver();
updateresource.name = resource.name;
updateresource.backupvserver = resource.backupvserver;
updateresource.redirecturl = resource.redirecturl;
updateresource.cacheable = resour... | java |
public static base_response disable(nitro_service client, String name) throws Exception {
vserver disableresource = new vserver();
disableresource.name = name;
return disableresource.perform_operation(client,"disable");
} | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.