repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
partition
stringclasses
1 value
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java
streamidentifier.add
public static base_responses add(nitro_service client, streamidentifier resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { streamidentifier addresources[] = new streamidentifier[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new streamidentifier(); addresources[i].name = resources[i].name; addresources[i].selectorname = resources[i].selectorname; addresources[i].interval = resources[i].interval; addresources[i].samplecount = resources[i].samplecount; addresources[i].sort = resources[i].sort; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, streamidentifier resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { streamidentifier addresources[] = new streamidentifier[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new streamidentifier(); addresources[i].name = resources[i].name; addresources[i].selectorname = resources[i].selectorname; addresources[i].interval = resources[i].interval; addresources[i].samplecount = resources[i].samplecount; addresources[i].sort = resources[i].sort; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "streamidentifier", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "streamidentifier", "addresources", "[", "]", "=", "new", "streamidentifier", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "streamidentifier", "(", ")", ";", "addresources", "[", "i", "]", ".", "name", "=", "resources", "[", "i", "]", ".", "name", ";", "addresources", "[", "i", "]", ".", "selectorname", "=", "resources", "[", "i", "]", ".", "selectorname", ";", "addresources", "[", "i", "]", ".", "interval", "=", "resources", "[", "i", "]", ".", "interval", ";", "addresources", "[", "i", "]", ".", "samplecount", "=", "resources", "[", "i", "]", ".", "samplecount", ";", "addresources", "[", "i", "]", ".", "sort", "=", "resources", "[", "i", "]", ".", "sort", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add streamidentifier resources.
[ "Use", "this", "API", "to", "add", "streamidentifier", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java#L213-L228
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java
streamidentifier.update
public static base_response update(nitro_service client, streamidentifier resource) throws Exception { streamidentifier updateresource = new streamidentifier(); updateresource.name = resource.name; updateresource.selectorname = resource.selectorname; updateresource.interval = resource.interval; updateresource.samplecount = resource.samplecount; updateresource.sort = resource.sort; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, streamidentifier resource) throws Exception { streamidentifier updateresource = new streamidentifier(); updateresource.name = resource.name; updateresource.selectorname = resource.selectorname; updateresource.interval = resource.interval; updateresource.samplecount = resource.samplecount; updateresource.sort = resource.sort; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "streamidentifier", "resource", ")", "throws", "Exception", "{", "streamidentifier", "updateresource", "=", "new", "streamidentifier", "(", ")", ";", "updateresource", ".", "name", "=", "resource", ".", "name", ";", "updateresource", ".", "selectorname", "=", "resource", ".", "selectorname", ";", "updateresource", ".", "interval", "=", "resource", ".", "interval", ";", "updateresource", ".", "samplecount", "=", "resource", ".", "samplecount", ";", "updateresource", ".", "sort", "=", "resource", ".", "sort", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update streamidentifier.
[ "Use", "this", "API", "to", "update", "streamidentifier", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java#L233-L241
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java
streamidentifier.update
public static base_responses update(nitro_service client, streamidentifier resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { streamidentifier updateresources[] = new streamidentifier[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new streamidentifier(); updateresources[i].name = resources[i].name; updateresources[i].selectorname = resources[i].selectorname; updateresources[i].interval = resources[i].interval; updateresources[i].samplecount = resources[i].samplecount; updateresources[i].sort = resources[i].sort; } result = update_bulk_request(client, updateresources); } return result; }
java
public static base_responses update(nitro_service client, streamidentifier resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { streamidentifier updateresources[] = new streamidentifier[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new streamidentifier(); updateresources[i].name = resources[i].name; updateresources[i].selectorname = resources[i].selectorname; updateresources[i].interval = resources[i].interval; updateresources[i].samplecount = resources[i].samplecount; updateresources[i].sort = resources[i].sort; } result = update_bulk_request(client, updateresources); } return result; }
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "streamidentifier", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "streamidentifier", "updateresources", "[", "]", "=", "new", "streamidentifier", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "updateresources", "[", "i", "]", "=", "new", "streamidentifier", "(", ")", ";", "updateresources", "[", "i", "]", ".", "name", "=", "resources", "[", "i", "]", ".", "name", ";", "updateresources", "[", "i", "]", ".", "selectorname", "=", "resources", "[", "i", "]", ".", "selectorname", ";", "updateresources", "[", "i", "]", ".", "interval", "=", "resources", "[", "i", "]", ".", "interval", ";", "updateresources", "[", "i", "]", ".", "samplecount", "=", "resources", "[", "i", "]", ".", "samplecount", ";", "updateresources", "[", "i", "]", ".", "sort", "=", "resources", "[", "i", "]", ".", "sort", ";", "}", "result", "=", "update_bulk_request", "(", "client", ",", "updateresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to update streamidentifier resources.
[ "Use", "this", "API", "to", "update", "streamidentifier", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java#L246-L261
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java
streamidentifier.get
public static streamidentifier[] get(nitro_service service) throws Exception{ streamidentifier obj = new streamidentifier(); streamidentifier[] response = (streamidentifier[])obj.get_resources(service); return response; }
java
public static streamidentifier[] get(nitro_service service) throws Exception{ streamidentifier obj = new streamidentifier(); streamidentifier[] response = (streamidentifier[])obj.get_resources(service); return response; }
[ "public", "static", "streamidentifier", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "streamidentifier", "obj", "=", "new", "streamidentifier", "(", ")", ";", "streamidentifier", "[", "]", "response", "=", "(", "streamidentifier", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the streamidentifier resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "streamidentifier", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java#L360-L364
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java
streamidentifier.get
public static streamidentifier get(nitro_service service, String name) throws Exception{ streamidentifier obj = new streamidentifier(); obj.set_name(name); streamidentifier response = (streamidentifier) obj.get_resource(service); return response; }
java
public static streamidentifier get(nitro_service service, String name) throws Exception{ streamidentifier obj = new streamidentifier(); obj.set_name(name); streamidentifier response = (streamidentifier) obj.get_resource(service); return response; }
[ "public", "static", "streamidentifier", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "streamidentifier", "obj", "=", "new", "streamidentifier", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "streamidentifier", "response", "=", "(", "streamidentifier", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch streamidentifier resource of given name .
[ "Use", "this", "API", "to", "fetch", "streamidentifier", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java#L376-L381
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java
streamidentifier.get_filtered
public static streamidentifier[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ streamidentifier obj = new streamidentifier(); options option = new options(); option.set_filter(filter); streamidentifier[] response = (streamidentifier[]) obj.getfiltered(service, option); return response; }
java
public static streamidentifier[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ streamidentifier obj = new streamidentifier(); options option = new options(); option.set_filter(filter); streamidentifier[] response = (streamidentifier[]) obj.getfiltered(service, option); return response; }
[ "public", "static", "streamidentifier", "[", "]", "get_filtered", "(", "nitro_service", "service", ",", "filtervalue", "[", "]", "filter", ")", "throws", "Exception", "{", "streamidentifier", "obj", "=", "new", "streamidentifier", "(", ")", ";", "options", "option", "=", "new", "options", "(", ")", ";", "option", ".", "set_filter", "(", "filter", ")", ";", "streamidentifier", "[", "]", "response", "=", "(", "streamidentifier", "[", "]", ")", "obj", ".", "getfiltered", "(", "service", ",", "option", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch filtered set of streamidentifier resources. set the filter parameter values in filtervalue object.
[ "Use", "this", "API", "to", "fetch", "filtered", "set", "of", "streamidentifier", "resources", ".", "set", "the", "filter", "parameter", "values", "in", "filtervalue", "object", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/stream/streamidentifier.java#L415-L421
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/ie/NERServer.java
NERServer.run
@SuppressWarnings({"InfiniteLoopStatement", "ConstantConditions", "null"}) public void run() { Socket client = null; while (true) { try { client = listener.accept(); if (DEBUG) { System.err.print("Accepted request from "); System.err.println(client.getInetAddress().getHostName()); } new Session(client); } catch (Exception e1) { System.err.println("NERServer: couldn't accept"); e1.printStackTrace(System.err); try { client.close(); } catch (Exception e2) { System.err.println("NERServer: couldn't close client"); e2.printStackTrace(System.err); } } } }
java
@SuppressWarnings({"InfiniteLoopStatement", "ConstantConditions", "null"}) public void run() { Socket client = null; while (true) { try { client = listener.accept(); if (DEBUG) { System.err.print("Accepted request from "); System.err.println(client.getInetAddress().getHostName()); } new Session(client); } catch (Exception e1) { System.err.println("NERServer: couldn't accept"); e1.printStackTrace(System.err); try { client.close(); } catch (Exception e2) { System.err.println("NERServer: couldn't close client"); e2.printStackTrace(System.err); } } } }
[ "@", "SuppressWarnings", "(", "{", "\"InfiniteLoopStatement\"", ",", "\"ConstantConditions\"", ",", "\"null\"", "}", ")", "public", "void", "run", "(", ")", "{", "Socket", "client", "=", "null", ";", "while", "(", "true", ")", "{", "try", "{", "client", "=", "listener", ".", "accept", "(", ")", ";", "if", "(", "DEBUG", ")", "{", "System", ".", "err", ".", "print", "(", "\"Accepted request from \"", ")", ";", "System", ".", "err", ".", "println", "(", "client", ".", "getInetAddress", "(", ")", ".", "getHostName", "(", ")", ")", ";", "}", "new", "Session", "(", "client", ")", ";", "}", "catch", "(", "Exception", "e1", ")", "{", "System", ".", "err", ".", "println", "(", "\"NERServer: couldn't accept\"", ")", ";", "e1", ".", "printStackTrace", "(", "System", ".", "err", ")", ";", "try", "{", "client", ".", "close", "(", ")", ";", "}", "catch", "(", "Exception", "e2", ")", "{", "System", ".", "err", ".", "println", "(", "\"NERServer: couldn't close client\"", ")", ";", "e2", ".", "printStackTrace", "(", "System", ".", "err", ")", ";", "}", "}", "}", "}" ]
Runs this named entity recognizer server.
[ "Runs", "this", "named", "entity", "recognizer", "server", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/ie/NERServer.java#L80-L102
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/network/nat64_stats.java
nat64_stats.get
public static nat64_stats get(nitro_service service) throws Exception{ nat64_stats obj = new nat64_stats(); nat64_stats[] response = (nat64_stats[])obj.stat_resources(service); return response[0]; }
java
public static nat64_stats get(nitro_service service) throws Exception{ nat64_stats obj = new nat64_stats(); nat64_stats[] response = (nat64_stats[])obj.stat_resources(service); return response[0]; }
[ "public", "static", "nat64_stats", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nat64_stats", "obj", "=", "new", "nat64_stats", "(", ")", ";", "nat64_stats", "[", "]", "response", "=", "(", "nat64_stats", "[", "]", ")", "obj", ".", "stat_resources", "(", "service", ")", ";", "return", "response", "[", "0", "]", ";", "}" ]
Use this API to fetch the statistics of all nat64_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "nat64_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/network/nat64_stats.java#L174-L178
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_transformpolicy_binding.java
csvserver_transformpolicy_binding.get
public static csvserver_transformpolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_transformpolicy_binding obj = new csvserver_transformpolicy_binding(); obj.set_name(name); csvserver_transformpolicy_binding response[] = (csvserver_transformpolicy_binding[]) obj.get_resources(service); return response; }
java
public static csvserver_transformpolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_transformpolicy_binding obj = new csvserver_transformpolicy_binding(); obj.set_name(name); csvserver_transformpolicy_binding response[] = (csvserver_transformpolicy_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "csvserver_transformpolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "csvserver_transformpolicy_binding", "obj", "=", "new", "csvserver_transformpolicy_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "csvserver_transformpolicy_binding", "response", "[", "]", "=", "(", "csvserver_transformpolicy_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch csvserver_transformpolicy_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "csvserver_transformpolicy_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_transformpolicy_binding.java#L327-L332
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwprofile_xmlsqlinjection_binding.java
appfwprofile_xmlsqlinjection_binding.get
public static appfwprofile_xmlsqlinjection_binding[] get(nitro_service service, String name) throws Exception{ appfwprofile_xmlsqlinjection_binding obj = new appfwprofile_xmlsqlinjection_binding(); obj.set_name(name); appfwprofile_xmlsqlinjection_binding response[] = (appfwprofile_xmlsqlinjection_binding[]) obj.get_resources(service); return response; }
java
public static appfwprofile_xmlsqlinjection_binding[] get(nitro_service service, String name) throws Exception{ appfwprofile_xmlsqlinjection_binding obj = new appfwprofile_xmlsqlinjection_binding(); obj.set_name(name); appfwprofile_xmlsqlinjection_binding response[] = (appfwprofile_xmlsqlinjection_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "appfwprofile_xmlsqlinjection_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "appfwprofile_xmlsqlinjection_binding", "obj", "=", "new", "appfwprofile_xmlsqlinjection_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "appfwprofile_xmlsqlinjection_binding", "response", "[", "]", "=", "(", "appfwprofile_xmlsqlinjection_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch appfwprofile_xmlsqlinjection_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "appfwprofile_xmlsqlinjection_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwprofile_xmlsqlinjection_binding.java#L248-L253
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/util/FixedPrioritiesPriorityQueue.java
FixedPrioritiesPriorityQueue.removeFirst
public E removeFirst() { E first = getFirst(); swap(0, size - 1); size--; elements.remove(size); heapifyDown(0); return first; }
java
public E removeFirst() { E first = getFirst(); swap(0, size - 1); size--; elements.remove(size); heapifyDown(0); return first; }
[ "public", "E", "removeFirst", "(", ")", "{", "E", "first", "=", "getFirst", "(", ")", ";", "swap", "(", "0", ",", "size", "-", "1", ")", ";", "size", "--", ";", "elements", ".", "remove", "(", "size", ")", ";", "heapifyDown", "(", "0", ")", ";", "return", "first", ";", "}" ]
Returns the highest-priority element and removes it from the queue.
[ "Returns", "the", "highest", "-", "priority", "element", "and", "removes", "it", "from", "the", "queue", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/util/FixedPrioritiesPriorityQueue.java#L135-L142
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java
pqpolicy.add
public static base_response add(nitro_service client, pqpolicy resource) throws Exception { pqpolicy addresource = new pqpolicy(); addresource.policyname = resource.policyname; addresource.rule = resource.rule; addresource.priority = resource.priority; addresource.weight = resource.weight; addresource.qdepth = resource.qdepth; addresource.polqdepth = resource.polqdepth; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, pqpolicy resource) throws Exception { pqpolicy addresource = new pqpolicy(); addresource.policyname = resource.policyname; addresource.rule = resource.rule; addresource.priority = resource.priority; addresource.weight = resource.weight; addresource.qdepth = resource.qdepth; addresource.polqdepth = resource.polqdepth; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "pqpolicy", "resource", ")", "throws", "Exception", "{", "pqpolicy", "addresource", "=", "new", "pqpolicy", "(", ")", ";", "addresource", ".", "policyname", "=", "resource", ".", "policyname", ";", "addresource", ".", "rule", "=", "resource", ".", "rule", ";", "addresource", ".", "priority", "=", "resource", ".", "priority", ";", "addresource", ".", "weight", "=", "resource", ".", "weight", ";", "addresource", ".", "qdepth", "=", "resource", ".", "qdepth", ";", "addresource", ".", "polqdepth", "=", "resource", ".", "polqdepth", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add pqpolicy.
[ "Use", "this", "API", "to", "add", "pqpolicy", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java#L270-L279
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java
pqpolicy.add
public static base_responses add(nitro_service client, pqpolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { pqpolicy addresources[] = new pqpolicy[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new pqpolicy(); addresources[i].policyname = resources[i].policyname; addresources[i].rule = resources[i].rule; addresources[i].priority = resources[i].priority; addresources[i].weight = resources[i].weight; addresources[i].qdepth = resources[i].qdepth; addresources[i].polqdepth = resources[i].polqdepth; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, pqpolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { pqpolicy addresources[] = new pqpolicy[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new pqpolicy(); addresources[i].policyname = resources[i].policyname; addresources[i].rule = resources[i].rule; addresources[i].priority = resources[i].priority; addresources[i].weight = resources[i].weight; addresources[i].qdepth = resources[i].qdepth; addresources[i].polqdepth = resources[i].polqdepth; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "pqpolicy", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "pqpolicy", "addresources", "[", "]", "=", "new", "pqpolicy", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "pqpolicy", "(", ")", ";", "addresources", "[", "i", "]", ".", "policyname", "=", "resources", "[", "i", "]", ".", "policyname", ";", "addresources", "[", "i", "]", ".", "rule", "=", "resources", "[", "i", "]", ".", "rule", ";", "addresources", "[", "i", "]", ".", "priority", "=", "resources", "[", "i", "]", ".", "priority", ";", "addresources", "[", "i", "]", ".", "weight", "=", "resources", "[", "i", "]", ".", "weight", ";", "addresources", "[", "i", "]", ".", "qdepth", "=", "resources", "[", "i", "]", ".", "qdepth", ";", "addresources", "[", "i", "]", ".", "polqdepth", "=", "resources", "[", "i", "]", ".", "polqdepth", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add pqpolicy resources.
[ "Use", "this", "API", "to", "add", "pqpolicy", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java#L284-L300
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java
pqpolicy.update
public static base_response update(nitro_service client, pqpolicy resource) throws Exception { pqpolicy updateresource = new pqpolicy(); updateresource.policyname = resource.policyname; updateresource.weight = resource.weight; updateresource.qdepth = resource.qdepth; updateresource.polqdepth = resource.polqdepth; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, pqpolicy resource) throws Exception { pqpolicy updateresource = new pqpolicy(); updateresource.policyname = resource.policyname; updateresource.weight = resource.weight; updateresource.qdepth = resource.qdepth; updateresource.polqdepth = resource.polqdepth; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "pqpolicy", "resource", ")", "throws", "Exception", "{", "pqpolicy", "updateresource", "=", "new", "pqpolicy", "(", ")", ";", "updateresource", ".", "policyname", "=", "resource", ".", "policyname", ";", "updateresource", ".", "weight", "=", "resource", ".", "weight", ";", "updateresource", ".", "qdepth", "=", "resource", ".", "qdepth", ";", "updateresource", ".", "polqdepth", "=", "resource", ".", "polqdepth", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update pqpolicy.
[ "Use", "this", "API", "to", "update", "pqpolicy", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java#L355-L362
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java
pqpolicy.update
public static base_responses update(nitro_service client, pqpolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { pqpolicy updateresources[] = new pqpolicy[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new pqpolicy(); updateresources[i].policyname = resources[i].policyname; updateresources[i].weight = resources[i].weight; updateresources[i].qdepth = resources[i].qdepth; updateresources[i].polqdepth = resources[i].polqdepth; } result = update_bulk_request(client, updateresources); } return result; }
java
public static base_responses update(nitro_service client, pqpolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { pqpolicy updateresources[] = new pqpolicy[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new pqpolicy(); updateresources[i].policyname = resources[i].policyname; updateresources[i].weight = resources[i].weight; updateresources[i].qdepth = resources[i].qdepth; updateresources[i].polqdepth = resources[i].polqdepth; } result = update_bulk_request(client, updateresources); } return result; }
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "pqpolicy", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "pqpolicy", "updateresources", "[", "]", "=", "new", "pqpolicy", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "updateresources", "[", "i", "]", "=", "new", "pqpolicy", "(", ")", ";", "updateresources", "[", "i", "]", ".", "policyname", "=", "resources", "[", "i", "]", ".", "policyname", ";", "updateresources", "[", "i", "]", ".", "weight", "=", "resources", "[", "i", "]", ".", "weight", ";", "updateresources", "[", "i", "]", ".", "qdepth", "=", "resources", "[", "i", "]", ".", "qdepth", ";", "updateresources", "[", "i", "]", ".", "polqdepth", "=", "resources", "[", "i", "]", ".", "polqdepth", ";", "}", "result", "=", "update_bulk_request", "(", "client", ",", "updateresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to update pqpolicy resources.
[ "Use", "this", "API", "to", "update", "pqpolicy", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java#L367-L381
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java
pqpolicy.unset
public static base_response unset(nitro_service client, pqpolicy resource, String[] args) throws Exception{ pqpolicy unsetresource = new pqpolicy(); unsetresource.policyname = resource.policyname; return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, pqpolicy resource, String[] args) throws Exception{ pqpolicy unsetresource = new pqpolicy(); unsetresource.policyname = resource.policyname; return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "pqpolicy", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "pqpolicy", "unsetresource", "=", "new", "pqpolicy", "(", ")", ";", "unsetresource", ".", "policyname", "=", "resource", ".", "policyname", ";", "return", "unsetresource", ".", "unset_resource", "(", "client", ",", "args", ")", ";", "}" ]
Use this API to unset the properties of pqpolicy resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "pqpolicy", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java#L387-L391
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java
pqpolicy.get
public static pqpolicy[] get(nitro_service service) throws Exception{ pqpolicy obj = new pqpolicy(); pqpolicy[] response = (pqpolicy[])obj.get_resources(service); return response; }
java
public static pqpolicy[] get(nitro_service service) throws Exception{ pqpolicy obj = new pqpolicy(); pqpolicy[] response = (pqpolicy[])obj.get_resources(service); return response; }
[ "public", "static", "pqpolicy", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "pqpolicy", "obj", "=", "new", "pqpolicy", "(", ")", ";", "pqpolicy", "[", "]", "response", "=", "(", "pqpolicy", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the pqpolicy resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "pqpolicy", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java#L430-L434
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java
pqpolicy.get
public static pqpolicy get(nitro_service service, String policyname) throws Exception{ pqpolicy obj = new pqpolicy(); obj.set_policyname(policyname); pqpolicy response = (pqpolicy) obj.get_resource(service); return response; }
java
public static pqpolicy get(nitro_service service, String policyname) throws Exception{ pqpolicy obj = new pqpolicy(); obj.set_policyname(policyname); pqpolicy response = (pqpolicy) obj.get_resource(service); return response; }
[ "public", "static", "pqpolicy", "get", "(", "nitro_service", "service", ",", "String", "policyname", ")", "throws", "Exception", "{", "pqpolicy", "obj", "=", "new", "pqpolicy", "(", ")", ";", "obj", ".", "set_policyname", "(", "policyname", ")", ";", "pqpolicy", "response", "=", "(", "pqpolicy", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch pqpolicy resource of given name .
[ "Use", "this", "API", "to", "fetch", "pqpolicy", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/pq/pqpolicy.java#L446-L451
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmonbindings_binding.java
lbmonbindings_binding.get
public static lbmonbindings_binding get(nitro_service service, String monitorname) throws Exception{ lbmonbindings_binding obj = new lbmonbindings_binding(); obj.set_monitorname(monitorname); lbmonbindings_binding response = (lbmonbindings_binding) obj.get_resource(service); return response; }
java
public static lbmonbindings_binding get(nitro_service service, String monitorname) throws Exception{ lbmonbindings_binding obj = new lbmonbindings_binding(); obj.set_monitorname(monitorname); lbmonbindings_binding response = (lbmonbindings_binding) obj.get_resource(service); return response; }
[ "public", "static", "lbmonbindings_binding", "get", "(", "nitro_service", "service", ",", "String", "monitorname", ")", "throws", "Exception", "{", "lbmonbindings_binding", "obj", "=", "new", "lbmonbindings_binding", "(", ")", ";", "obj", ".", "set_monitorname", "(", "monitorname", ")", ";", "lbmonbindings_binding", "response", "=", "(", "lbmonbindings_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch lbmonbindings_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "lbmonbindings_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmonbindings_binding.java#L114-L119
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformpolicy_transformglobal_binding.java
transformpolicy_transformglobal_binding.get
public static transformpolicy_transformglobal_binding[] get(nitro_service service, String name) throws Exception{ transformpolicy_transformglobal_binding obj = new transformpolicy_transformglobal_binding(); obj.set_name(name); transformpolicy_transformglobal_binding response[] = (transformpolicy_transformglobal_binding[]) obj.get_resources(service); return response; }
java
public static transformpolicy_transformglobal_binding[] get(nitro_service service, String name) throws Exception{ transformpolicy_transformglobal_binding obj = new transformpolicy_transformglobal_binding(); obj.set_name(name); transformpolicy_transformglobal_binding response[] = (transformpolicy_transformglobal_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "transformpolicy_transformglobal_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "transformpolicy_transformglobal_binding", "obj", "=", "new", "transformpolicy_transformglobal_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "transformpolicy_transformglobal_binding", "response", "[", "]", "=", "(", "transformpolicy_transformglobal_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch transformpolicy_transformglobal_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "transformpolicy_transformglobal_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformpolicy_transformglobal_binding.java#L162-L167
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/network/tunnelip6_stats.java
tunnelip6_stats.get
public static tunnelip6_stats[] get(nitro_service service) throws Exception{ tunnelip6_stats obj = new tunnelip6_stats(); tunnelip6_stats[] response = (tunnelip6_stats[])obj.stat_resources(service); return response; }
java
public static tunnelip6_stats[] get(nitro_service service) throws Exception{ tunnelip6_stats obj = new tunnelip6_stats(); tunnelip6_stats[] response = (tunnelip6_stats[])obj.stat_resources(service); return response; }
[ "public", "static", "tunnelip6_stats", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "tunnelip6_stats", "obj", "=", "new", "tunnelip6_stats", "(", ")", ";", "tunnelip6_stats", "[", "]", "response", "=", "(", "tunnelip6_stats", "[", "]", ")", "obj", ".", "stat_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch the statistics of all tunnelip6_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "tunnelip6_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/network/tunnelip6_stats.java#L191-L195
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/network/tunnelip6_stats.java
tunnelip6_stats.get
public static tunnelip6_stats get(nitro_service service, String tunnelip6) throws Exception{ tunnelip6_stats obj = new tunnelip6_stats(); obj.set_tunnelip6(tunnelip6); tunnelip6_stats response = (tunnelip6_stats) obj.stat_resource(service); return response; }
java
public static tunnelip6_stats get(nitro_service service, String tunnelip6) throws Exception{ tunnelip6_stats obj = new tunnelip6_stats(); obj.set_tunnelip6(tunnelip6); tunnelip6_stats response = (tunnelip6_stats) obj.stat_resource(service); return response; }
[ "public", "static", "tunnelip6_stats", "get", "(", "nitro_service", "service", ",", "String", "tunnelip6", ")", "throws", "Exception", "{", "tunnelip6_stats", "obj", "=", "new", "tunnelip6_stats", "(", ")", ";", "obj", ".", "set_tunnelip6", "(", "tunnelip6", ")", ";", "tunnelip6_stats", "response", "=", "(", "tunnelip6_stats", ")", "obj", ".", "stat_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch statistics of tunnelip6_stats resource of given name .
[ "Use", "this", "API", "to", "fetch", "statistics", "of", "tunnelip6_stats", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/network/tunnelip6_stats.java#L209-L214
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/AuxiliaryTree.java
AuxiliaryTree.copy
public AuxiliaryTree copy(TsurgeonPattern p) { Map<String,Tree> newNamesToNodes = new HashMap<String,Tree>(); Pair<Tree,Tree> result = copyHelper(tree,newNamesToNodes); //if(! result.first().dominates(result.second())) //System.err.println("Error -- aux tree copy doesn't dominate foot copy."); p.root.newNodeNames.putAll(newNamesToNodes); return new AuxiliaryTree(result.first(), result.second(), newNamesToNodes, originalTreeString); }
java
public AuxiliaryTree copy(TsurgeonPattern p) { Map<String,Tree> newNamesToNodes = new HashMap<String,Tree>(); Pair<Tree,Tree> result = copyHelper(tree,newNamesToNodes); //if(! result.first().dominates(result.second())) //System.err.println("Error -- aux tree copy doesn't dominate foot copy."); p.root.newNodeNames.putAll(newNamesToNodes); return new AuxiliaryTree(result.first(), result.second(), newNamesToNodes, originalTreeString); }
[ "public", "AuxiliaryTree", "copy", "(", "TsurgeonPattern", "p", ")", "{", "Map", "<", "String", ",", "Tree", ">", "newNamesToNodes", "=", "new", "HashMap", "<", "String", ",", "Tree", ">", "(", ")", ";", "Pair", "<", "Tree", ",", "Tree", ">", "result", "=", "copyHelper", "(", "tree", ",", "newNamesToNodes", ")", ";", "//if(! result.first().dominates(result.second()))\r", "//System.err.println(\"Error -- aux tree copy doesn't dominate foot copy.\");\r", "p", ".", "root", ".", "newNodeNames", ".", "putAll", "(", "newNamesToNodes", ")", ";", "return", "new", "AuxiliaryTree", "(", "result", ".", "first", "(", ")", ",", "result", ".", "second", "(", ")", ",", "newNamesToNodes", ",", "originalTreeString", ")", ";", "}" ]
Copies the Auxiliary tree. Also, puts the new names->nodes map in the TsurgeonPattern that called copy.
[ "Copies", "the", "Auxiliary", "tree", ".", "Also", "puts", "the", "new", "names", "-", ">", "nodes", "map", "in", "the", "TsurgeonPattern", "that", "called", "copy", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/AuxiliaryTree.java#L54-L61
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/AuxiliaryTree.java
AuxiliaryTree.findFootNode
private static Tree findFootNode(Tree t) { Tree footNode = findFootNodeHelper(t); Tree result = footNode; if (footNode != null) { Tree parent = footNode.parent(t); int i = parent.indexOf(footNode); Tree newFootNode = footNode.treeFactory().newTreeNode(footNode.label(), new ArrayList<Tree>()); parent.setChild(i, newFootNode); result = newFootNode; } return result; }
java
private static Tree findFootNode(Tree t) { Tree footNode = findFootNodeHelper(t); Tree result = footNode; if (footNode != null) { Tree parent = footNode.parent(t); int i = parent.indexOf(footNode); Tree newFootNode = footNode.treeFactory().newTreeNode(footNode.label(), new ArrayList<Tree>()); parent.setChild(i, newFootNode); result = newFootNode; } return result; }
[ "private", "static", "Tree", "findFootNode", "(", "Tree", "t", ")", "{", "Tree", "footNode", "=", "findFootNodeHelper", "(", "t", ")", ";", "Tree", "result", "=", "footNode", ";", "if", "(", "footNode", "!=", "null", ")", "{", "Tree", "parent", "=", "footNode", ".", "parent", "(", "t", ")", ";", "int", "i", "=", "parent", ".", "indexOf", "(", "footNode", ")", ";", "Tree", "newFootNode", "=", "footNode", ".", "treeFactory", "(", ")", ".", "newTreeNode", "(", "footNode", ".", "label", "(", ")", ",", "new", "ArrayList", "<", "Tree", ">", "(", ")", ")", ";", "parent", ".", "setChild", "(", "i", ",", "newFootNode", ")", ";", "result", "=", "newFootNode", ";", "}", "return", "result", ";", "}" ]
Returns the foot node of the adjunction tree, which is the terminal node that ends in @. In the process, turns the foot node into a TreeNode (rather than a leaf), and destructively un-escapes all the escaped instances of @ in the tree. Note that final @ in a non-terminal node is ignored, and left in.
[ "Returns", "the", "foot", "node", "of", "the", "adjunction", "tree", "which", "is", "the", "terminal", "node", "that", "ends", "in" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/AuxiliaryTree.java#L112-L123
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/AuxiliaryTree.java
AuxiliaryTree.initializeNamesNodesMaps
private void initializeNamesNodesMaps(Tree t) { for (Tree node : t.subTreeList()) { Matcher m = namePattern.matcher(node.label().value()); if (m.find()) { namesToNodes.put(m.group(1),node); nodesToNames.put(node,m.group(1)); node.label().setValue(m.replaceFirst("")); } Matcher m1 = escapedNameChar.matcher(node.label().value()); node.label().setValue(m1.replaceAll(nameIntroducingChar)); } }
java
private void initializeNamesNodesMaps(Tree t) { for (Tree node : t.subTreeList()) { Matcher m = namePattern.matcher(node.label().value()); if (m.find()) { namesToNodes.put(m.group(1),node); nodesToNames.put(node,m.group(1)); node.label().setValue(m.replaceFirst("")); } Matcher m1 = escapedNameChar.matcher(node.label().value()); node.label().setValue(m1.replaceAll(nameIntroducingChar)); } }
[ "private", "void", "initializeNamesNodesMaps", "(", "Tree", "t", ")", "{", "for", "(", "Tree", "node", ":", "t", ".", "subTreeList", "(", ")", ")", "{", "Matcher", "m", "=", "namePattern", ".", "matcher", "(", "node", ".", "label", "(", ")", ".", "value", "(", ")", ")", ";", "if", "(", "m", ".", "find", "(", ")", ")", "{", "namesToNodes", ".", "put", "(", "m", ".", "group", "(", "1", ")", ",", "node", ")", ";", "nodesToNames", ".", "put", "(", "node", ",", "m", ".", "group", "(", "1", ")", ")", ";", "node", ".", "label", "(", ")", ".", "setValue", "(", "m", ".", "replaceFirst", "(", "\"\"", ")", ")", ";", "}", "Matcher", "m1", "=", "escapedNameChar", ".", "matcher", "(", "node", ".", "label", "(", ")", ".", "value", "(", ")", ")", ";", "node", ".", "label", "(", ")", ".", "setValue", "(", "m1", ".", "replaceAll", "(", "nameIntroducingChar", ")", ")", ";", "}", "}" ]
Looks for new names, destructively strips them out. Destructively unescapes escaped "=" too.
[ "Looks", "for", "new", "names", "destructively", "strips", "them", "out", ".", "Destructively", "unescapes", "escaped", "=", "too", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/AuxiliaryTree.java#L163-L174
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java
dnsmxrec.add
public static base_response add(nitro_service client, dnsmxrec resource) throws Exception { dnsmxrec addresource = new dnsmxrec(); addresource.domain = resource.domain; addresource.mx = resource.mx; addresource.pref = resource.pref; addresource.ttl = resource.ttl; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, dnsmxrec resource) throws Exception { dnsmxrec addresource = new dnsmxrec(); addresource.domain = resource.domain; addresource.mx = resource.mx; addresource.pref = resource.pref; addresource.ttl = resource.ttl; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "dnsmxrec", "resource", ")", "throws", "Exception", "{", "dnsmxrec", "addresource", "=", "new", "dnsmxrec", "(", ")", ";", "addresource", ".", "domain", "=", "resource", ".", "domain", ";", "addresource", ".", "mx", "=", "resource", ".", "mx", ";", "addresource", ".", "pref", "=", "resource", ".", "pref", ";", "addresource", ".", "ttl", "=", "resource", ".", "ttl", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add dnsmxrec.
[ "Use", "this", "API", "to", "add", "dnsmxrec", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java#L206-L213
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java
dnsmxrec.add
public static base_responses add(nitro_service client, dnsmxrec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsmxrec addresources[] = new dnsmxrec[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnsmxrec(); addresources[i].domain = resources[i].domain; addresources[i].mx = resources[i].mx; addresources[i].pref = resources[i].pref; addresources[i].ttl = resources[i].ttl; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, dnsmxrec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsmxrec addresources[] = new dnsmxrec[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnsmxrec(); addresources[i].domain = resources[i].domain; addresources[i].mx = resources[i].mx; addresources[i].pref = resources[i].pref; addresources[i].ttl = resources[i].ttl; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "dnsmxrec", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "dnsmxrec", "addresources", "[", "]", "=", "new", "dnsmxrec", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "dnsmxrec", "(", ")", ";", "addresources", "[", "i", "]", ".", "domain", "=", "resources", "[", "i", "]", ".", "domain", ";", "addresources", "[", "i", "]", ".", "mx", "=", "resources", "[", "i", "]", ".", "mx", ";", "addresources", "[", "i", "]", ".", "pref", "=", "resources", "[", "i", "]", ".", "pref", ";", "addresources", "[", "i", "]", ".", "ttl", "=", "resources", "[", "i", "]", ".", "ttl", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add dnsmxrec resources.
[ "Use", "this", "API", "to", "add", "dnsmxrec", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java#L218-L232
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java
dnsmxrec.delete
public static base_response delete(nitro_service client, dnsmxrec resource) throws Exception { dnsmxrec deleteresource = new dnsmxrec(); deleteresource.domain = resource.domain; deleteresource.mx = resource.mx; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, dnsmxrec resource) throws Exception { dnsmxrec deleteresource = new dnsmxrec(); deleteresource.domain = resource.domain; deleteresource.mx = resource.mx; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "dnsmxrec", "resource", ")", "throws", "Exception", "{", "dnsmxrec", "deleteresource", "=", "new", "dnsmxrec", "(", ")", ";", "deleteresource", ".", "domain", "=", "resource", ".", "domain", ";", "deleteresource", ".", "mx", "=", "resource", ".", "mx", ";", "return", "deleteresource", ".", "delete_resource", "(", "client", ")", ";", "}" ]
Use this API to delete dnsmxrec.
[ "Use", "this", "API", "to", "delete", "dnsmxrec", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java#L246-L251
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java
dnsmxrec.update
public static base_response update(nitro_service client, dnsmxrec resource) throws Exception { dnsmxrec updateresource = new dnsmxrec(); updateresource.domain = resource.domain; updateresource.mx = resource.mx; updateresource.pref = resource.pref; updateresource.ttl = resource.ttl; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, dnsmxrec resource) throws Exception { dnsmxrec updateresource = new dnsmxrec(); updateresource.domain = resource.domain; updateresource.mx = resource.mx; updateresource.pref = resource.pref; updateresource.ttl = resource.ttl; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "dnsmxrec", "resource", ")", "throws", "Exception", "{", "dnsmxrec", "updateresource", "=", "new", "dnsmxrec", "(", ")", ";", "updateresource", ".", "domain", "=", "resource", ".", "domain", ";", "updateresource", ".", "mx", "=", "resource", ".", "mx", ";", "updateresource", ".", "pref", "=", "resource", ".", "pref", ";", "updateresource", ".", "ttl", "=", "resource", ".", "ttl", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update dnsmxrec.
[ "Use", "this", "API", "to", "update", "dnsmxrec", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java#L289-L296
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java
dnsmxrec.update
public static base_responses update(nitro_service client, dnsmxrec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsmxrec updateresources[] = new dnsmxrec[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new dnsmxrec(); updateresources[i].domain = resources[i].domain; updateresources[i].mx = resources[i].mx; updateresources[i].pref = resources[i].pref; updateresources[i].ttl = resources[i].ttl; } result = update_bulk_request(client, updateresources); } return result; }
java
public static base_responses update(nitro_service client, dnsmxrec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsmxrec updateresources[] = new dnsmxrec[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new dnsmxrec(); updateresources[i].domain = resources[i].domain; updateresources[i].mx = resources[i].mx; updateresources[i].pref = resources[i].pref; updateresources[i].ttl = resources[i].ttl; } result = update_bulk_request(client, updateresources); } return result; }
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "dnsmxrec", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "dnsmxrec", "updateresources", "[", "]", "=", "new", "dnsmxrec", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "updateresources", "[", "i", "]", "=", "new", "dnsmxrec", "(", ")", ";", "updateresources", "[", "i", "]", ".", "domain", "=", "resources", "[", "i", "]", ".", "domain", ";", "updateresources", "[", "i", "]", ".", "mx", "=", "resources", "[", "i", "]", ".", "mx", ";", "updateresources", "[", "i", "]", ".", "pref", "=", "resources", "[", "i", "]", ".", "pref", ";", "updateresources", "[", "i", "]", ".", "ttl", "=", "resources", "[", "i", "]", ".", "ttl", ";", "}", "result", "=", "update_bulk_request", "(", "client", ",", "updateresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to update dnsmxrec resources.
[ "Use", "this", "API", "to", "update", "dnsmxrec", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java#L301-L315
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java
dnsmxrec.unset
public static base_response unset(nitro_service client, dnsmxrec resource, String[] args) throws Exception{ dnsmxrec unsetresource = new dnsmxrec(); unsetresource.domain = resource.domain; unsetresource.mx = resource.mx; return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, dnsmxrec resource, String[] args) throws Exception{ dnsmxrec unsetresource = new dnsmxrec(); unsetresource.domain = resource.domain; unsetresource.mx = resource.mx; return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "dnsmxrec", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "dnsmxrec", "unsetresource", "=", "new", "dnsmxrec", "(", ")", ";", "unsetresource", ".", "domain", "=", "resource", ".", "domain", ";", "unsetresource", ".", "mx", "=", "resource", ".", "mx", ";", "return", "unsetresource", ".", "unset_resource", "(", "client", ",", "args", ")", ";", "}" ]
Use this API to unset the properties of dnsmxrec resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "dnsmxrec", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java#L321-L326
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java
dnsmxrec.get
public static dnsmxrec[] get(nitro_service service, options option) throws Exception{ dnsmxrec obj = new dnsmxrec(); dnsmxrec[] response = (dnsmxrec[])obj.get_resources(service,option); return response; }
java
public static dnsmxrec[] get(nitro_service service, options option) throws Exception{ dnsmxrec obj = new dnsmxrec(); dnsmxrec[] response = (dnsmxrec[])obj.get_resources(service,option); return response; }
[ "public", "static", "dnsmxrec", "[", "]", "get", "(", "nitro_service", "service", ",", "options", "option", ")", "throws", "Exception", "{", "dnsmxrec", "obj", "=", "new", "dnsmxrec", "(", ")", ";", "dnsmxrec", "[", "]", "response", "=", "(", "dnsmxrec", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ",", "option", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the dnsmxrec resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "dnsmxrec", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java#L357-L361
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java
dnsmxrec.get
public static dnsmxrec[] get(nitro_service service, dnsmxrec_args args) throws Exception{ dnsmxrec obj = new dnsmxrec(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); dnsmxrec[] response = (dnsmxrec[])obj.get_resources(service, option); return response; }
java
public static dnsmxrec[] get(nitro_service service, dnsmxrec_args args) throws Exception{ dnsmxrec obj = new dnsmxrec(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); dnsmxrec[] response = (dnsmxrec[])obj.get_resources(service, option); return response; }
[ "public", "static", "dnsmxrec", "[", "]", "get", "(", "nitro_service", "service", ",", "dnsmxrec_args", "args", ")", "throws", "Exception", "{", "dnsmxrec", "obj", "=", "new", "dnsmxrec", "(", ")", ";", "options", "option", "=", "new", "options", "(", ")", ";", "option", ".", "set_args", "(", "nitro_util", ".", "object_to_string_withoutquotes", "(", "args", ")", ")", ";", "dnsmxrec", "[", "]", "response", "=", "(", "dnsmxrec", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ",", "option", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the dnsmxrec resources that are configured on netscaler. This uses dnsmxrec_args which is a way to provide additional arguments while fetching the resources.
[ "Use", "this", "API", "to", "fetch", "all", "the", "dnsmxrec", "resources", "that", "are", "configured", "on", "netscaler", ".", "This", "uses", "dnsmxrec_args", "which", "is", "a", "way", "to", "provide", "additional", "arguments", "while", "fetching", "the", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java#L366-L372
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java
dnsmxrec.get
public static dnsmxrec get(nitro_service service, String domain) throws Exception{ dnsmxrec obj = new dnsmxrec(); obj.set_domain(domain); dnsmxrec response = (dnsmxrec) obj.get_resource(service); return response; }
java
public static dnsmxrec get(nitro_service service, String domain) throws Exception{ dnsmxrec obj = new dnsmxrec(); obj.set_domain(domain); dnsmxrec response = (dnsmxrec) obj.get_resource(service); return response; }
[ "public", "static", "dnsmxrec", "get", "(", "nitro_service", "service", ",", "String", "domain", ")", "throws", "Exception", "{", "dnsmxrec", "obj", "=", "new", "dnsmxrec", "(", ")", ";", "obj", ".", "set_domain", "(", "domain", ")", ";", "dnsmxrec", "response", "=", "(", "dnsmxrec", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch dnsmxrec resource of given name .
[ "Use", "this", "API", "to", "fetch", "dnsmxrec", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsmxrec.java#L377-L382
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.add
public static base_response add(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain addresource = new nstrafficdomain(); addresource.td = resource.td; addresource.aliasname = resource.aliasname; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain addresource = new nstrafficdomain(); addresource.td = resource.td; addresource.aliasname = resource.aliasname; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "nstrafficdomain", "resource", ")", "throws", "Exception", "{", "nstrafficdomain", "addresource", "=", "new", "nstrafficdomain", "(", ")", ";", "addresource", ".", "td", "=", "resource", ".", "td", ";", "addresource", ".", "aliasname", "=", "resource", ".", "aliasname", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add nstrafficdomain.
[ "Use", "this", "API", "to", "add", "nstrafficdomain", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L143-L148
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.add
public static base_responses add(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain addresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new nstrafficdomain(); addresources[i].td = resources[i].td; addresources[i].aliasname = resources[i].aliasname; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain addresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new nstrafficdomain(); addresources[i].td = resources[i].td; addresources[i].aliasname = resources[i].aliasname; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "nstrafficdomain", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "nstrafficdomain", "addresources", "[", "]", "=", "new", "nstrafficdomain", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "nstrafficdomain", "(", ")", ";", "addresources", "[", "i", "]", ".", "td", "=", "resources", "[", "i", "]", ".", "td", ";", "addresources", "[", "i", "]", ".", "aliasname", "=", "resources", "[", "i", "]", ".", "aliasname", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add nstrafficdomain resources.
[ "Use", "this", "API", "to", "add", "nstrafficdomain", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L153-L165
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.delete
public static base_response delete(nitro_service client, Long td) throws Exception { nstrafficdomain deleteresource = new nstrafficdomain(); deleteresource.td = td; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, Long td) throws Exception { nstrafficdomain deleteresource = new nstrafficdomain(); deleteresource.td = td; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "Long", "td", ")", "throws", "Exception", "{", "nstrafficdomain", "deleteresource", "=", "new", "nstrafficdomain", "(", ")", ";", "deleteresource", ".", "td", "=", "td", ";", "return", "deleteresource", ".", "delete_resource", "(", "client", ")", ";", "}" ]
Use this API to delete nstrafficdomain of given name.
[ "Use", "this", "API", "to", "delete", "nstrafficdomain", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L170-L174
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.clear
public static base_response clear(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain clearresource = new nstrafficdomain(); clearresource.td = resource.td; return clearresource.perform_operation(client,"clear"); }
java
public static base_response clear(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain clearresource = new nstrafficdomain(); clearresource.td = resource.td; return clearresource.perform_operation(client,"clear"); }
[ "public", "static", "base_response", "clear", "(", "nitro_service", "client", ",", "nstrafficdomain", "resource", ")", "throws", "Exception", "{", "nstrafficdomain", "clearresource", "=", "new", "nstrafficdomain", "(", ")", ";", "clearresource", ".", "td", "=", "resource", ".", "td", ";", "return", "clearresource", ".", "perform_operation", "(", "client", ",", "\"clear\"", ")", ";", "}" ]
Use this API to clear nstrafficdomain.
[ "Use", "this", "API", "to", "clear", "nstrafficdomain", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L220-L224
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.clear
public static base_responses clear(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain clearresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ clearresources[i] = new nstrafficdomain(); clearresources[i].td = resources[i].td; } result = perform_operation_bulk_request(client, clearresources,"clear"); } return result; }
java
public static base_responses clear(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain clearresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ clearresources[i] = new nstrafficdomain(); clearresources[i].td = resources[i].td; } result = perform_operation_bulk_request(client, clearresources,"clear"); } return result; }
[ "public", "static", "base_responses", "clear", "(", "nitro_service", "client", ",", "nstrafficdomain", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "nstrafficdomain", "clearresources", "[", "]", "=", "new", "nstrafficdomain", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "clearresources", "[", "i", "]", "=", "new", "nstrafficdomain", "(", ")", ";", "clearresources", "[", "i", "]", ".", "td", "=", "resources", "[", "i", "]", ".", "td", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "clearresources", ",", "\"clear\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to clear nstrafficdomain resources.
[ "Use", "this", "API", "to", "clear", "nstrafficdomain", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L229-L240
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.enable
public static base_response enable(nitro_service client, Long td) throws Exception { nstrafficdomain enableresource = new nstrafficdomain(); enableresource.td = td; return enableresource.perform_operation(client,"enable"); }
java
public static base_response enable(nitro_service client, Long td) throws Exception { nstrafficdomain enableresource = new nstrafficdomain(); enableresource.td = td; return enableresource.perform_operation(client,"enable"); }
[ "public", "static", "base_response", "enable", "(", "nitro_service", "client", ",", "Long", "td", ")", "throws", "Exception", "{", "nstrafficdomain", "enableresource", "=", "new", "nstrafficdomain", "(", ")", ";", "enableresource", ".", "td", "=", "td", ";", "return", "enableresource", ".", "perform_operation", "(", "client", ",", "\"enable\"", ")", ";", "}" ]
Use this API to enable nstrafficdomain of given name.
[ "Use", "this", "API", "to", "enable", "nstrafficdomain", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L245-L249
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.enable
public static base_response enable(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain enableresource = new nstrafficdomain(); enableresource.td = resource.td; enableresource.state = resource.state; return enableresource.perform_operation(client,"enable"); }
java
public static base_response enable(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain enableresource = new nstrafficdomain(); enableresource.td = resource.td; enableresource.state = resource.state; return enableresource.perform_operation(client,"enable"); }
[ "public", "static", "base_response", "enable", "(", "nitro_service", "client", ",", "nstrafficdomain", "resource", ")", "throws", "Exception", "{", "nstrafficdomain", "enableresource", "=", "new", "nstrafficdomain", "(", ")", ";", "enableresource", ".", "td", "=", "resource", ".", "td", ";", "enableresource", ".", "state", "=", "resource", ".", "state", ";", "return", "enableresource", ".", "perform_operation", "(", "client", ",", "\"enable\"", ")", ";", "}" ]
Use this API to enable nstrafficdomain.
[ "Use", "this", "API", "to", "enable", "nstrafficdomain", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L254-L259
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.enable
public static base_responses enable(nitro_service client, Long td[]) throws Exception { base_responses result = null; if (td != null && td.length > 0) { nstrafficdomain enableresources[] = new nstrafficdomain[td.length]; for (int i=0;i<td.length;i++){ enableresources[i] = new nstrafficdomain(); enableresources[i].td = td[i]; } result = perform_operation_bulk_request(client, enableresources,"enable"); } return result; }
java
public static base_responses enable(nitro_service client, Long td[]) throws Exception { base_responses result = null; if (td != null && td.length > 0) { nstrafficdomain enableresources[] = new nstrafficdomain[td.length]; for (int i=0;i<td.length;i++){ enableresources[i] = new nstrafficdomain(); enableresources[i].td = td[i]; } result = perform_operation_bulk_request(client, enableresources,"enable"); } return result; }
[ "public", "static", "base_responses", "enable", "(", "nitro_service", "client", ",", "Long", "td", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "td", "!=", "null", "&&", "td", ".", "length", ">", "0", ")", "{", "nstrafficdomain", "enableresources", "[", "]", "=", "new", "nstrafficdomain", "[", "td", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "td", ".", "length", ";", "i", "++", ")", "{", "enableresources", "[", "i", "]", "=", "new", "nstrafficdomain", "(", ")", ";", "enableresources", "[", "i", "]", ".", "td", "=", "td", "[", "i", "]", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "enableresources", ",", "\"enable\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to enable nstrafficdomain resources of given names.
[ "Use", "this", "API", "to", "enable", "nstrafficdomain", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L264-L275
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.enable
public static base_responses enable(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain enableresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ enableresources[i] = new nstrafficdomain(); enableresources[i].td = resources[i].td; enableresources[i].state = resources[i].state; } result = perform_operation_bulk_request(client, enableresources,"enable"); } return result; }
java
public static base_responses enable(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain enableresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ enableresources[i] = new nstrafficdomain(); enableresources[i].td = resources[i].td; enableresources[i].state = resources[i].state; } result = perform_operation_bulk_request(client, enableresources,"enable"); } return result; }
[ "public", "static", "base_responses", "enable", "(", "nitro_service", "client", ",", "nstrafficdomain", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "nstrafficdomain", "enableresources", "[", "]", "=", "new", "nstrafficdomain", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "enableresources", "[", "i", "]", "=", "new", "nstrafficdomain", "(", ")", ";", "enableresources", "[", "i", "]", ".", "td", "=", "resources", "[", "i", "]", ".", "td", ";", "enableresources", "[", "i", "]", ".", "state", "=", "resources", "[", "i", "]", ".", "state", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "enableresources", ",", "\"enable\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to enable nstrafficdomain resources.
[ "Use", "this", "API", "to", "enable", "nstrafficdomain", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L280-L292
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.disable
public static base_response disable(nitro_service client, Long td) throws Exception { nstrafficdomain disableresource = new nstrafficdomain(); disableresource.td = td; return disableresource.perform_operation(client,"disable"); }
java
public static base_response disable(nitro_service client, Long td) throws Exception { nstrafficdomain disableresource = new nstrafficdomain(); disableresource.td = td; return disableresource.perform_operation(client,"disable"); }
[ "public", "static", "base_response", "disable", "(", "nitro_service", "client", ",", "Long", "td", ")", "throws", "Exception", "{", "nstrafficdomain", "disableresource", "=", "new", "nstrafficdomain", "(", ")", ";", "disableresource", ".", "td", "=", "td", ";", "return", "disableresource", ".", "perform_operation", "(", "client", ",", "\"disable\"", ")", ";", "}" ]
Use this API to disable nstrafficdomain of given name.
[ "Use", "this", "API", "to", "disable", "nstrafficdomain", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L297-L301
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.disable
public static base_response disable(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain disableresource = new nstrafficdomain(); disableresource.td = resource.td; disableresource.state = resource.state; return disableresource.perform_operation(client,"disable"); }
java
public static base_response disable(nitro_service client, nstrafficdomain resource) throws Exception { nstrafficdomain disableresource = new nstrafficdomain(); disableresource.td = resource.td; disableresource.state = resource.state; return disableresource.perform_operation(client,"disable"); }
[ "public", "static", "base_response", "disable", "(", "nitro_service", "client", ",", "nstrafficdomain", "resource", ")", "throws", "Exception", "{", "nstrafficdomain", "disableresource", "=", "new", "nstrafficdomain", "(", ")", ";", "disableresource", ".", "td", "=", "resource", ".", "td", ";", "disableresource", ".", "state", "=", "resource", ".", "state", ";", "return", "disableresource", ".", "perform_operation", "(", "client", ",", "\"disable\"", ")", ";", "}" ]
Use this API to disable nstrafficdomain.
[ "Use", "this", "API", "to", "disable", "nstrafficdomain", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L306-L311
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.disable
public static base_responses disable(nitro_service client, Long td[]) throws Exception { base_responses result = null; if (td != null && td.length > 0) { nstrafficdomain disableresources[] = new nstrafficdomain[td.length]; for (int i=0;i<td.length;i++){ disableresources[i] = new nstrafficdomain(); disableresources[i].td = td[i]; } result = perform_operation_bulk_request(client, disableresources,"disable"); } return result; }
java
public static base_responses disable(nitro_service client, Long td[]) throws Exception { base_responses result = null; if (td != null && td.length > 0) { nstrafficdomain disableresources[] = new nstrafficdomain[td.length]; for (int i=0;i<td.length;i++){ disableresources[i] = new nstrafficdomain(); disableresources[i].td = td[i]; } result = perform_operation_bulk_request(client, disableresources,"disable"); } return result; }
[ "public", "static", "base_responses", "disable", "(", "nitro_service", "client", ",", "Long", "td", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "td", "!=", "null", "&&", "td", ".", "length", ">", "0", ")", "{", "nstrafficdomain", "disableresources", "[", "]", "=", "new", "nstrafficdomain", "[", "td", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "td", ".", "length", ";", "i", "++", ")", "{", "disableresources", "[", "i", "]", "=", "new", "nstrafficdomain", "(", ")", ";", "disableresources", "[", "i", "]", ".", "td", "=", "td", "[", "i", "]", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "disableresources", ",", "\"disable\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to disable nstrafficdomain resources of given names.
[ "Use", "this", "API", "to", "disable", "nstrafficdomain", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L316-L327
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.disable
public static base_responses disable(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain disableresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ disableresources[i] = new nstrafficdomain(); disableresources[i].td = resources[i].td; disableresources[i].state = resources[i].state; } result = perform_operation_bulk_request(client, disableresources,"disable"); } return result; }
java
public static base_responses disable(nitro_service client, nstrafficdomain resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nstrafficdomain disableresources[] = new nstrafficdomain[resources.length]; for (int i=0;i<resources.length;i++){ disableresources[i] = new nstrafficdomain(); disableresources[i].td = resources[i].td; disableresources[i].state = resources[i].state; } result = perform_operation_bulk_request(client, disableresources,"disable"); } return result; }
[ "public", "static", "base_responses", "disable", "(", "nitro_service", "client", ",", "nstrafficdomain", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "nstrafficdomain", "disableresources", "[", "]", "=", "new", "nstrafficdomain", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "disableresources", "[", "i", "]", "=", "new", "nstrafficdomain", "(", ")", ";", "disableresources", "[", "i", "]", ".", "td", "=", "resources", "[", "i", "]", ".", "td", ";", "disableresources", "[", "i", "]", ".", "state", "=", "resources", "[", "i", "]", ".", "state", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "disableresources", ",", "\"disable\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to disable nstrafficdomain resources.
[ "Use", "this", "API", "to", "disable", "nstrafficdomain", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L332-L344
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.get
public static nstrafficdomain[] get(nitro_service service) throws Exception{ nstrafficdomain obj = new nstrafficdomain(); nstrafficdomain[] response = (nstrafficdomain[])obj.get_resources(service); return response; }
java
public static nstrafficdomain[] get(nitro_service service) throws Exception{ nstrafficdomain obj = new nstrafficdomain(); nstrafficdomain[] response = (nstrafficdomain[])obj.get_resources(service); return response; }
[ "public", "static", "nstrafficdomain", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nstrafficdomain", "obj", "=", "new", "nstrafficdomain", "(", ")", ";", "nstrafficdomain", "[", "]", "response", "=", "(", "nstrafficdomain", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the nstrafficdomain resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "nstrafficdomain", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L349-L353
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java
nstrafficdomain.get
public static nstrafficdomain get(nitro_service service, Long td) throws Exception{ nstrafficdomain obj = new nstrafficdomain(); obj.set_td(td); nstrafficdomain response = (nstrafficdomain) obj.get_resource(service); return response; }
java
public static nstrafficdomain get(nitro_service service, Long td) throws Exception{ nstrafficdomain obj = new nstrafficdomain(); obj.set_td(td); nstrafficdomain response = (nstrafficdomain) obj.get_resource(service); return response; }
[ "public", "static", "nstrafficdomain", "get", "(", "nitro_service", "service", ",", "Long", "td", ")", "throws", "Exception", "{", "nstrafficdomain", "obj", "=", "new", "nstrafficdomain", "(", ")", ";", "obj", ".", "set_td", "(", "td", ")", ";", "nstrafficdomain", "response", "=", "(", "nstrafficdomain", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch nstrafficdomain resource of given name .
[ "Use", "this", "API", "to", "fetch", "nstrafficdomain", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstrafficdomain.java#L365-L370
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_auditsyslogpolicy_binding.java
vpnglobal_auditsyslogpolicy_binding.get
public static vpnglobal_auditsyslogpolicy_binding[] get(nitro_service service) throws Exception{ vpnglobal_auditsyslogpolicy_binding obj = new vpnglobal_auditsyslogpolicy_binding(); vpnglobal_auditsyslogpolicy_binding response[] = (vpnglobal_auditsyslogpolicy_binding[]) obj.get_resources(service); return response; }
java
public static vpnglobal_auditsyslogpolicy_binding[] get(nitro_service service) throws Exception{ vpnglobal_auditsyslogpolicy_binding obj = new vpnglobal_auditsyslogpolicy_binding(); vpnglobal_auditsyslogpolicy_binding response[] = (vpnglobal_auditsyslogpolicy_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "vpnglobal_auditsyslogpolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "vpnglobal_auditsyslogpolicy_binding", "obj", "=", "new", "vpnglobal_auditsyslogpolicy_binding", "(", ")", ";", "vpnglobal_auditsyslogpolicy_binding", "response", "[", "]", "=", "(", "vpnglobal_auditsyslogpolicy_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch a vpnglobal_auditsyslogpolicy_binding resources.
[ "Use", "this", "API", "to", "fetch", "a", "vpnglobal_auditsyslogpolicy_binding", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_auditsyslogpolicy_binding.java#L225-L229
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssavedconfig.java
nssavedconfig.get
public static nssavedconfig get(nitro_service service) throws Exception{ nssavedconfig obj = new nssavedconfig(); nssavedconfig[] response = (nssavedconfig[])obj.get_resources(service); return response[0]; }
java
public static nssavedconfig get(nitro_service service) throws Exception{ nssavedconfig obj = new nssavedconfig(); nssavedconfig[] response = (nssavedconfig[])obj.get_resources(service); return response[0]; }
[ "public", "static", "nssavedconfig", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nssavedconfig", "obj", "=", "new", "nssavedconfig", "(", ")", ";", "nssavedconfig", "[", "]", "response", "=", "(", "nssavedconfig", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", "[", "0", "]", ";", "}" ]
Use this API to fetch all the nssavedconfig resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "nssavedconfig", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssavedconfig.java#L88-L92
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/transform/transformpolicy_stats.java
transformpolicy_stats.get
public static transformpolicy_stats[] get(nitro_service service) throws Exception{ transformpolicy_stats obj = new transformpolicy_stats(); transformpolicy_stats[] response = (transformpolicy_stats[])obj.stat_resources(service); return response; }
java
public static transformpolicy_stats[] get(nitro_service service) throws Exception{ transformpolicy_stats obj = new transformpolicy_stats(); transformpolicy_stats[] response = (transformpolicy_stats[])obj.stat_resources(service); return response; }
[ "public", "static", "transformpolicy_stats", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "transformpolicy_stats", "obj", "=", "new", "transformpolicy_stats", "(", ")", ";", "transformpolicy_stats", "[", "]", "response", "=", "(", "transformpolicy_stats", "[", "]", ")", "obj", ".", "stat_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch the statistics of all transformpolicy_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "transformpolicy_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/transform/transformpolicy_stats.java#L151-L155
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/transform/transformpolicy_stats.java
transformpolicy_stats.get
public static transformpolicy_stats get(nitro_service service, String name) throws Exception{ transformpolicy_stats obj = new transformpolicy_stats(); obj.set_name(name); transformpolicy_stats response = (transformpolicy_stats) obj.stat_resource(service); return response; }
java
public static transformpolicy_stats get(nitro_service service, String name) throws Exception{ transformpolicy_stats obj = new transformpolicy_stats(); obj.set_name(name); transformpolicy_stats response = (transformpolicy_stats) obj.stat_resource(service); return response; }
[ "public", "static", "transformpolicy_stats", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "transformpolicy_stats", "obj", "=", "new", "transformpolicy_stats", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "transformpolicy_stats", "response", "=", "(", "transformpolicy_stats", ")", "obj", ".", "stat_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch statistics of transformpolicy_stats resource of given name .
[ "Use", "this", "API", "to", "fetch", "statistics", "of", "transformpolicy_stats", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/transform/transformpolicy_stats.java#L169-L174
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_appfwpolicy_binding.java
csvserver_appfwpolicy_binding.get
public static csvserver_appfwpolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_appfwpolicy_binding obj = new csvserver_appfwpolicy_binding(); obj.set_name(name); csvserver_appfwpolicy_binding response[] = (csvserver_appfwpolicy_binding[]) obj.get_resources(service); return response; }
java
public static csvserver_appfwpolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_appfwpolicy_binding obj = new csvserver_appfwpolicy_binding(); obj.set_name(name); csvserver_appfwpolicy_binding response[] = (csvserver_appfwpolicy_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "csvserver_appfwpolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "csvserver_appfwpolicy_binding", "obj", "=", "new", "csvserver_appfwpolicy_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "csvserver_appfwpolicy_binding", "response", "[", "]", "=", "(", "csvserver_appfwpolicy_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch csvserver_appfwpolicy_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "csvserver_appfwpolicy_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_appfwpolicy_binding.java#L337-L342
train
wellner/jcarafe
jcarafe-core/src/main/java/cern/colt/map/AbstractMap.java
AbstractMap.setUp
protected void setUp(int initialCapacity, double minLoadFactor, double maxLoadFactor) { if (initialCapacity < 0) throw new IllegalArgumentException("Initial Capacity must not be less than zero: "+ initialCapacity); if (minLoadFactor < 0.0 || minLoadFactor >= 1.0) throw new IllegalArgumentException("Illegal minLoadFactor: "+ minLoadFactor); if (maxLoadFactor <= 0.0 || maxLoadFactor >= 1.0) throw new IllegalArgumentException("Illegal maxLoadFactor: "+ maxLoadFactor); if (minLoadFactor >= maxLoadFactor) throw new IllegalArgumentException("Illegal minLoadFactor: "+ minLoadFactor+" and maxLoadFactor: "+ maxLoadFactor); }
java
protected void setUp(int initialCapacity, double minLoadFactor, double maxLoadFactor) { if (initialCapacity < 0) throw new IllegalArgumentException("Initial Capacity must not be less than zero: "+ initialCapacity); if (minLoadFactor < 0.0 || minLoadFactor >= 1.0) throw new IllegalArgumentException("Illegal minLoadFactor: "+ minLoadFactor); if (maxLoadFactor <= 0.0 || maxLoadFactor >= 1.0) throw new IllegalArgumentException("Illegal maxLoadFactor: "+ maxLoadFactor); if (minLoadFactor >= maxLoadFactor) throw new IllegalArgumentException("Illegal minLoadFactor: "+ minLoadFactor+" and maxLoadFactor: "+ maxLoadFactor); }
[ "protected", "void", "setUp", "(", "int", "initialCapacity", ",", "double", "minLoadFactor", ",", "double", "maxLoadFactor", ")", "{", "if", "(", "initialCapacity", "<", "0", ")", "throw", "new", "IllegalArgumentException", "(", "\"Initial Capacity must not be less than zero: \"", "+", "initialCapacity", ")", ";", "if", "(", "minLoadFactor", "<", "0.0", "||", "minLoadFactor", ">=", "1.0", ")", "throw", "new", "IllegalArgumentException", "(", "\"Illegal minLoadFactor: \"", "+", "minLoadFactor", ")", ";", "if", "(", "maxLoadFactor", "<=", "0.0", "||", "maxLoadFactor", ">=", "1.0", ")", "throw", "new", "IllegalArgumentException", "(", "\"Illegal maxLoadFactor: \"", "+", "maxLoadFactor", ")", ";", "if", "(", "minLoadFactor", ">=", "maxLoadFactor", ")", "throw", "new", "IllegalArgumentException", "(", "\"Illegal minLoadFactor: \"", "+", "minLoadFactor", "+", "\" and maxLoadFactor: \"", "+", "maxLoadFactor", ")", ";", "}" ]
Initializes the receiver. You will almost certainly need to override this method in subclasses to initialize the hash table. @param initialCapacity the initial capacity of the receiver. @param minLoadFactor the minLoadFactor of the receiver. @param maxLoadFactor the maxLoadFactor of the receiver. @throws IllegalArgumentException if <tt>initialCapacity < 0 || (minLoadFactor < 0.0 || minLoadFactor >= 1.0) || (maxLoadFactor <= 0.0 || maxLoadFactor >= 1.0) || (minLoadFactor >= maxLoadFactor)</tt>.
[ "Initializes", "the", "receiver", ".", "You", "will", "almost", "certainly", "need", "to", "override", "this", "method", "in", "subclasses", "to", "initialize", "the", "hash", "table", "." ]
ab8b0a83dbf600fe80c27711815c90bd3055b217
https://github.com/wellner/jcarafe/blob/ab8b0a83dbf600fe80c27711815c90bd3055b217/jcarafe-core/src/main/java/cern/colt/map/AbstractMap.java#L137-L146
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid6_nsip_binding.java
vrid6_nsip_binding.get
public static vrid6_nsip_binding[] get(nitro_service service, Long id) throws Exception{ vrid6_nsip_binding obj = new vrid6_nsip_binding(); obj.set_id(id); vrid6_nsip_binding response[] = (vrid6_nsip_binding[]) obj.get_resources(service); return response; }
java
public static vrid6_nsip_binding[] get(nitro_service service, Long id) throws Exception{ vrid6_nsip_binding obj = new vrid6_nsip_binding(); obj.set_id(id); vrid6_nsip_binding response[] = (vrid6_nsip_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "vrid6_nsip_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "Long", "id", ")", "throws", "Exception", "{", "vrid6_nsip_binding", "obj", "=", "new", "vrid6_nsip_binding", "(", ")", ";", "obj", ".", "set_id", "(", "id", ")", ";", "vrid6_nsip_binding", "response", "[", "]", "=", "(", "vrid6_nsip_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch vrid6_nsip_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "vrid6_nsip_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid6_nsip_binding.java#L153-L158
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmppolicy_binding.java
cmppolicy_binding.get
public static cmppolicy_binding get(nitro_service service, String name) throws Exception{ cmppolicy_binding obj = new cmppolicy_binding(); obj.set_name(name); cmppolicy_binding response = (cmppolicy_binding) obj.get_resource(service); return response; }
java
public static cmppolicy_binding get(nitro_service service, String name) throws Exception{ cmppolicy_binding obj = new cmppolicy_binding(); obj.set_name(name); cmppolicy_binding response = (cmppolicy_binding) obj.get_resource(service); return response; }
[ "public", "static", "cmppolicy_binding", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "cmppolicy_binding", "obj", "=", "new", "cmppolicy_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "cmppolicy_binding", "response", "=", "(", "cmppolicy_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch cmppolicy_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "cmppolicy_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmppolicy_binding.java#L136-L141
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tunnel/tunneltrafficpolicy_tunnelglobal_binding.java
tunneltrafficpolicy_tunnelglobal_binding.get
public static tunneltrafficpolicy_tunnelglobal_binding[] get(nitro_service service, String name) throws Exception{ tunneltrafficpolicy_tunnelglobal_binding obj = new tunneltrafficpolicy_tunnelglobal_binding(); obj.set_name(name); tunneltrafficpolicy_tunnelglobal_binding response[] = (tunneltrafficpolicy_tunnelglobal_binding[]) obj.get_resources(service); return response; }
java
public static tunneltrafficpolicy_tunnelglobal_binding[] get(nitro_service service, String name) throws Exception{ tunneltrafficpolicy_tunnelglobal_binding obj = new tunneltrafficpolicy_tunnelglobal_binding(); obj.set_name(name); tunneltrafficpolicy_tunnelglobal_binding response[] = (tunneltrafficpolicy_tunnelglobal_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "tunneltrafficpolicy_tunnelglobal_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "tunneltrafficpolicy_tunnelglobal_binding", "obj", "=", "new", "tunneltrafficpolicy_tunnelglobal_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "tunneltrafficpolicy_tunnelglobal_binding", "response", "[", "]", "=", "(", "tunneltrafficpolicy_tunnelglobal_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch tunneltrafficpolicy_tunnelglobal_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "tunneltrafficpolicy_tunnelglobal_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tunnel/tunneltrafficpolicy_tunnelglobal_binding.java#L132-L137
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/sc/scparameter.java
scparameter.update
public static base_response update(nitro_service client, scparameter resource) throws Exception { scparameter updateresource = new scparameter(); updateresource.sessionlife = resource.sessionlife; updateresource.vsr = resource.vsr; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, scparameter resource) throws Exception { scparameter updateresource = new scparameter(); updateresource.sessionlife = resource.sessionlife; updateresource.vsr = resource.vsr; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "scparameter", "resource", ")", "throws", "Exception", "{", "scparameter", "updateresource", "=", "new", "scparameter", "(", ")", ";", "updateresource", ".", "sessionlife", "=", "resource", ".", "sessionlife", ";", "updateresource", ".", "vsr", "=", "resource", ".", "vsr", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update scparameter.
[ "Use", "this", "API", "to", "update", "scparameter", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/sc/scparameter.java#L122-L127
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/sc/scparameter.java
scparameter.unset
public static base_response unset(nitro_service client, scparameter resource, String[] args) throws Exception{ scparameter unsetresource = new scparameter(); return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, scparameter resource, String[] args) throws Exception{ scparameter unsetresource = new scparameter(); return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "scparameter", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "scparameter", "unsetresource", "=", "new", "scparameter", "(", ")", ";", "return", "unsetresource", ".", "unset_resource", "(", "client", ",", "args", ")", ";", "}" ]
Use this API to unset the properties of scparameter resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "scparameter", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/sc/scparameter.java#L133-L136
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/sc/scparameter.java
scparameter.get
public static scparameter get(nitro_service service, options option) throws Exception{ scparameter obj = new scparameter(); scparameter[] response = (scparameter[])obj.get_resources(service,option); return response[0]; }
java
public static scparameter get(nitro_service service, options option) throws Exception{ scparameter obj = new scparameter(); scparameter[] response = (scparameter[])obj.get_resources(service,option); return response[0]; }
[ "public", "static", "scparameter", "get", "(", "nitro_service", "service", ",", "options", "option", ")", "throws", "Exception", "{", "scparameter", "obj", "=", "new", "scparameter", "(", ")", ";", "scparameter", "[", "]", "response", "=", "(", "scparameter", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ",", "option", ")", ";", "return", "response", "[", "0", "]", ";", "}" ]
Use this API to fetch all the scparameter resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "scparameter", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/sc/scparameter.java#L150-L154
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservice_sslciphersuite_binding.java
sslservice_sslciphersuite_binding.get
public static sslservice_sslciphersuite_binding[] get(nitro_service service, String servicename) throws Exception{ sslservice_sslciphersuite_binding obj = new sslservice_sslciphersuite_binding(); obj.set_servicename(servicename); sslservice_sslciphersuite_binding response[] = (sslservice_sslciphersuite_binding[]) obj.get_resources(service); return response; }
java
public static sslservice_sslciphersuite_binding[] get(nitro_service service, String servicename) throws Exception{ sslservice_sslciphersuite_binding obj = new sslservice_sslciphersuite_binding(); obj.set_servicename(servicename); sslservice_sslciphersuite_binding response[] = (sslservice_sslciphersuite_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "sslservice_sslciphersuite_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "servicename", ")", "throws", "Exception", "{", "sslservice_sslciphersuite_binding", "obj", "=", "new", "sslservice_sslciphersuite_binding", "(", ")", ";", "obj", ".", "set_servicename", "(", "servicename", ")", ";", "sslservice_sslciphersuite_binding", "response", "[", "]", "=", "(", "sslservice_sslciphersuite_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch sslservice_sslciphersuite_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "sslservice_sslciphersuite_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservice_sslciphersuite_binding.java#L173-L178
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservice_sslciphersuite_binding.java
sslservice_sslciphersuite_binding.count
public static long count(nitro_service service, String servicename) throws Exception{ sslservice_sslciphersuite_binding obj = new sslservice_sslciphersuite_binding(); obj.set_servicename(servicename); options option = new options(); option.set_count(true); sslservice_sslciphersuite_binding response[] = (sslservice_sslciphersuite_binding[]) obj.get_resources(service,option); if (response != null) { return response[0].__count; } return 0; }
java
public static long count(nitro_service service, String servicename) throws Exception{ sslservice_sslciphersuite_binding obj = new sslservice_sslciphersuite_binding(); obj.set_servicename(servicename); options option = new options(); option.set_count(true); sslservice_sslciphersuite_binding response[] = (sslservice_sslciphersuite_binding[]) obj.get_resources(service,option); if (response != null) { return response[0].__count; } return 0; }
[ "public", "static", "long", "count", "(", "nitro_service", "service", ",", "String", "servicename", ")", "throws", "Exception", "{", "sslservice_sslciphersuite_binding", "obj", "=", "new", "sslservice_sslciphersuite_binding", "(", ")", ";", "obj", ".", "set_servicename", "(", "servicename", ")", ";", "options", "option", "=", "new", "options", "(", ")", ";", "option", ".", "set_count", "(", "true", ")", ";", "sslservice_sslciphersuite_binding", "response", "[", "]", "=", "(", "sslservice_sslciphersuite_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ",", "option", ")", ";", "if", "(", "response", "!=", "null", ")", "{", "return", "response", "[", "0", "]", ".", "__count", ";", "}", "return", "0", ";", "}" ]
Use this API to count sslservice_sslciphersuite_binding resources configued on NetScaler.
[ "Use", "this", "API", "to", "count", "sslservice_sslciphersuite_binding", "resources", "configued", "on", "NetScaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservice_sslciphersuite_binding.java#L209-L219
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid_binding.java
vrid_binding.get
public static vrid_binding get(nitro_service service, Long id) throws Exception{ vrid_binding obj = new vrid_binding(); obj.set_id(id); vrid_binding response = (vrid_binding) obj.get_resource(service); return response; }
java
public static vrid_binding get(nitro_service service, Long id) throws Exception{ vrid_binding obj = new vrid_binding(); obj.set_id(id); vrid_binding response = (vrid_binding) obj.get_resource(service); return response; }
[ "public", "static", "vrid_binding", "get", "(", "nitro_service", "service", ",", "Long", "id", ")", "throws", "Exception", "{", "vrid_binding", "obj", "=", "new", "vrid_binding", "(", ")", ";", "obj", ".", "set_id", "(", "id", ")", ";", "vrid_binding", "response", "=", "(", "vrid_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch vrid_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "vrid_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid_binding.java#L137-L142
train
meertensinstituut/mtas
src/main/java/mtas/solr/handler/component/util/MtasSolrComponentFacet.java
MtasSolrComponentFacet.getFieldType
private String getFieldType(IndexSchema schema, String field) throws IOException { SchemaField sf = schema.getField(field); FieldType ft = sf.getType(); if (ft != null) { if (ft.isPointField() && !sf.hasDocValues()) { return ComponentFacet.TYPE_POINTFIELD_WITHOUT_DOCVALUES; } NumberType nt = ft.getNumberType(); if (nt != null) { return nt.name(); } else { return ComponentFacet.TYPE_STRING; } } else { // best guess return ComponentFacet.TYPE_STRING; } }
java
private String getFieldType(IndexSchema schema, String field) throws IOException { SchemaField sf = schema.getField(field); FieldType ft = sf.getType(); if (ft != null) { if (ft.isPointField() && !sf.hasDocValues()) { return ComponentFacet.TYPE_POINTFIELD_WITHOUT_DOCVALUES; } NumberType nt = ft.getNumberType(); if (nt != null) { return nt.name(); } else { return ComponentFacet.TYPE_STRING; } } else { // best guess return ComponentFacet.TYPE_STRING; } }
[ "private", "String", "getFieldType", "(", "IndexSchema", "schema", ",", "String", "field", ")", "throws", "IOException", "{", "SchemaField", "sf", "=", "schema", ".", "getField", "(", "field", ")", ";", "FieldType", "ft", "=", "sf", ".", "getType", "(", ")", ";", "if", "(", "ft", "!=", "null", ")", "{", "if", "(", "ft", ".", "isPointField", "(", ")", "&&", "!", "sf", ".", "hasDocValues", "(", ")", ")", "{", "return", "ComponentFacet", ".", "TYPE_POINTFIELD_WITHOUT_DOCVALUES", ";", "}", "NumberType", "nt", "=", "ft", ".", "getNumberType", "(", ")", ";", "if", "(", "nt", "!=", "null", ")", "{", "return", "nt", ".", "name", "(", ")", ";", "}", "else", "{", "return", "ComponentFacet", ".", "TYPE_STRING", ";", "}", "}", "else", "{", "// best guess", "return", "ComponentFacet", ".", "TYPE_STRING", ";", "}", "}" ]
Gets the field type. @param schema the schema @param field the field @return the field type @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "field", "type", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/component/util/MtasSolrComponentFacet.java#L658-L676
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/appfw/appfw_stats.java
appfw_stats.get
public static appfw_stats get(nitro_service service) throws Exception{ appfw_stats obj = new appfw_stats(); appfw_stats[] response = (appfw_stats[])obj.stat_resources(service); return response[0]; }
java
public static appfw_stats get(nitro_service service) throws Exception{ appfw_stats obj = new appfw_stats(); appfw_stats[] response = (appfw_stats[])obj.stat_resources(service); return response[0]; }
[ "public", "static", "appfw_stats", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "appfw_stats", "obj", "=", "new", "appfw_stats", "(", ")", ";", "appfw_stats", "[", "]", "response", "=", "(", "appfw_stats", "[", "]", ")", "obj", ".", "stat_resources", "(", "service", ")", ";", "return", "response", "[", "0", "]", ";", "}" ]
Use this API to fetch the statistics of all appfw_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "appfw_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/appfw/appfw_stats.java#L741-L745
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwtransactionrecords.java
appfwtransactionrecords.get
public static appfwtransactionrecords[] get(nitro_service service) throws Exception{ appfwtransactionrecords obj = new appfwtransactionrecords(); appfwtransactionrecords[] response = (appfwtransactionrecords[])obj.get_resources(service); return response; }
java
public static appfwtransactionrecords[] get(nitro_service service) throws Exception{ appfwtransactionrecords obj = new appfwtransactionrecords(); appfwtransactionrecords[] response = (appfwtransactionrecords[])obj.get_resources(service); return response; }
[ "public", "static", "appfwtransactionrecords", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "appfwtransactionrecords", "obj", "=", "new", "appfwtransactionrecords", "(", ")", ";", "appfwtransactionrecords", "[", "]", "response", "=", "(", "appfwtransactionrecords", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the appfwtransactionrecords resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "appfwtransactionrecords", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwtransactionrecords.java#L227-L231
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone_binding.java
dnszone_binding.get
public static dnszone_binding get(nitro_service service, String zonename) throws Exception{ dnszone_binding obj = new dnszone_binding(); obj.set_zonename(zonename); dnszone_binding response = (dnszone_binding) obj.get_resource(service); return response; }
java
public static dnszone_binding get(nitro_service service, String zonename) throws Exception{ dnszone_binding obj = new dnszone_binding(); obj.set_zonename(zonename); dnszone_binding response = (dnszone_binding) obj.get_resource(service); return response; }
[ "public", "static", "dnszone_binding", "get", "(", "nitro_service", "service", ",", "String", "zonename", ")", "throws", "Exception", "{", "dnszone_binding", "obj", "=", "new", "dnszone_binding", "(", ")", ";", "obj", ".", "set_zonename", "(", "zonename", ")", ";", "dnszone_binding", "response", "=", "(", "dnszone_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch dnszone_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "dnszone_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone_binding.java#L103-L108
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone_binding.java
dnszone_binding.get
public static dnszone_binding[] get(nitro_service service, String zonename[]) throws Exception{ if (zonename !=null && zonename.length>0) { dnszone_binding response[] = new dnszone_binding[zonename.length]; dnszone_binding obj[] = new dnszone_binding[zonename.length]; for (int i=0;i<zonename.length;i++) { obj[i] = new dnszone_binding(); obj[i].set_zonename(zonename[i]); response[i] = (dnszone_binding) obj[i].get_resource(service); } return response; } return null; }
java
public static dnszone_binding[] get(nitro_service service, String zonename[]) throws Exception{ if (zonename !=null && zonename.length>0) { dnszone_binding response[] = new dnszone_binding[zonename.length]; dnszone_binding obj[] = new dnszone_binding[zonename.length]; for (int i=0;i<zonename.length;i++) { obj[i] = new dnszone_binding(); obj[i].set_zonename(zonename[i]); response[i] = (dnszone_binding) obj[i].get_resource(service); } return response; } return null; }
[ "public", "static", "dnszone_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "zonename", "[", "]", ")", "throws", "Exception", "{", "if", "(", "zonename", "!=", "null", "&&", "zonename", ".", "length", ">", "0", ")", "{", "dnszone_binding", "response", "[", "]", "=", "new", "dnszone_binding", "[", "zonename", ".", "length", "]", ";", "dnszone_binding", "obj", "[", "]", "=", "new", "dnszone_binding", "[", "zonename", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "zonename", ".", "length", ";", "i", "++", ")", "{", "obj", "[", "i", "]", "=", "new", "dnszone_binding", "(", ")", ";", "obj", "[", "i", "]", ".", "set_zonename", "(", "zonename", "[", "i", "]", ")", ";", "response", "[", "i", "]", "=", "(", "dnszone_binding", ")", "obj", "[", "i", "]", ".", "get_resource", "(", "service", ")", ";", "}", "return", "response", ";", "}", "return", "null", ";", "}" ]
Use this API to fetch dnszone_binding resources of given names .
[ "Use", "this", "API", "to", "fetch", "dnszone_binding", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone_binding.java#L113-L125
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java
nssimpleacl6.add
public static base_response add(nitro_service client, nssimpleacl6 resource) throws Exception { nssimpleacl6 addresource = new nssimpleacl6(); addresource.aclname = resource.aclname; addresource.td = resource.td; addresource.aclaction = resource.aclaction; addresource.srcipv6 = resource.srcipv6; addresource.destport = resource.destport; addresource.protocol = resource.protocol; addresource.ttl = resource.ttl; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, nssimpleacl6 resource) throws Exception { nssimpleacl6 addresource = new nssimpleacl6(); addresource.aclname = resource.aclname; addresource.td = resource.td; addresource.aclaction = resource.aclaction; addresource.srcipv6 = resource.srcipv6; addresource.destport = resource.destport; addresource.protocol = resource.protocol; addresource.ttl = resource.ttl; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "nssimpleacl6", "resource", ")", "throws", "Exception", "{", "nssimpleacl6", "addresource", "=", "new", "nssimpleacl6", "(", ")", ";", "addresource", ".", "aclname", "=", "resource", ".", "aclname", ";", "addresource", ".", "td", "=", "resource", ".", "td", ";", "addresource", ".", "aclaction", "=", "resource", ".", "aclaction", ";", "addresource", ".", "srcipv6", "=", "resource", ".", "srcipv6", ";", "addresource", ".", "destport", "=", "resource", ".", "destport", ";", "addresource", ".", "protocol", "=", "resource", ".", "protocol", ";", "addresource", ".", "ttl", "=", "resource", ".", "ttl", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add nssimpleacl6.
[ "Use", "this", "API", "to", "add", "nssimpleacl6", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java#L281-L291
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java
nssimpleacl6.add
public static base_responses add(nitro_service client, nssimpleacl6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nssimpleacl6 addresources[] = new nssimpleacl6[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new nssimpleacl6(); addresources[i].aclname = resources[i].aclname; addresources[i].td = resources[i].td; addresources[i].aclaction = resources[i].aclaction; addresources[i].srcipv6 = resources[i].srcipv6; addresources[i].destport = resources[i].destport; addresources[i].protocol = resources[i].protocol; addresources[i].ttl = resources[i].ttl; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, nssimpleacl6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nssimpleacl6 addresources[] = new nssimpleacl6[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new nssimpleacl6(); addresources[i].aclname = resources[i].aclname; addresources[i].td = resources[i].td; addresources[i].aclaction = resources[i].aclaction; addresources[i].srcipv6 = resources[i].srcipv6; addresources[i].destport = resources[i].destport; addresources[i].protocol = resources[i].protocol; addresources[i].ttl = resources[i].ttl; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "nssimpleacl6", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "nssimpleacl6", "addresources", "[", "]", "=", "new", "nssimpleacl6", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "nssimpleacl6", "(", ")", ";", "addresources", "[", "i", "]", ".", "aclname", "=", "resources", "[", "i", "]", ".", "aclname", ";", "addresources", "[", "i", "]", ".", "td", "=", "resources", "[", "i", "]", ".", "td", ";", "addresources", "[", "i", "]", ".", "aclaction", "=", "resources", "[", "i", "]", ".", "aclaction", ";", "addresources", "[", "i", "]", ".", "srcipv6", "=", "resources", "[", "i", "]", ".", "srcipv6", ";", "addresources", "[", "i", "]", ".", "destport", "=", "resources", "[", "i", "]", ".", "destport", ";", "addresources", "[", "i", "]", ".", "protocol", "=", "resources", "[", "i", "]", ".", "protocol", ";", "addresources", "[", "i", "]", ".", "ttl", "=", "resources", "[", "i", "]", ".", "ttl", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add nssimpleacl6 resources.
[ "Use", "this", "API", "to", "add", "nssimpleacl6", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java#L296-L313
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java
nssimpleacl6.clear
public static base_response clear(nitro_service client) throws Exception { nssimpleacl6 clearresource = new nssimpleacl6(); return clearresource.perform_operation(client,"clear"); }
java
public static base_response clear(nitro_service client) throws Exception { nssimpleacl6 clearresource = new nssimpleacl6(); return clearresource.perform_operation(client,"clear"); }
[ "public", "static", "base_response", "clear", "(", "nitro_service", "client", ")", "throws", "Exception", "{", "nssimpleacl6", "clearresource", "=", "new", "nssimpleacl6", "(", ")", ";", "return", "clearresource", ".", "perform_operation", "(", "client", ",", "\"clear\"", ")", ";", "}" ]
Use this API to clear nssimpleacl6.
[ "Use", "this", "API", "to", "clear", "nssimpleacl6", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java#L318-L321
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java
nssimpleacl6.flush
public static base_responses flush(nitro_service client, nssimpleacl6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nssimpleacl6 flushresources[] = new nssimpleacl6[resources.length]; for (int i=0;i<resources.length;i++){ flushresources[i] = new nssimpleacl6(); flushresources[i].estsessions = resources[i].estsessions; } result = perform_operation_bulk_request(client, flushresources,"flush"); } return result; }
java
public static base_responses flush(nitro_service client, nssimpleacl6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nssimpleacl6 flushresources[] = new nssimpleacl6[resources.length]; for (int i=0;i<resources.length;i++){ flushresources[i] = new nssimpleacl6(); flushresources[i].estsessions = resources[i].estsessions; } result = perform_operation_bulk_request(client, flushresources,"flush"); } return result; }
[ "public", "static", "base_responses", "flush", "(", "nitro_service", "client", ",", "nssimpleacl6", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "nssimpleacl6", "flushresources", "[", "]", "=", "new", "nssimpleacl6", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "flushresources", "[", "i", "]", "=", "new", "nssimpleacl6", "(", ")", ";", "flushresources", "[", "i", "]", ".", "estsessions", "=", "resources", "[", "i", "]", ".", "estsessions", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "flushresources", ",", "\"flush\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to flush nssimpleacl6 resources.
[ "Use", "this", "API", "to", "flush", "nssimpleacl6", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java#L350-L361
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java
nssimpleacl6.delete
public static base_responses delete(nitro_service client, nssimpleacl6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nssimpleacl6 deleteresources[] = new nssimpleacl6[resources.length]; for (int i=0;i<resources.length;i++){ deleteresources[i] = new nssimpleacl6(); deleteresources[i].aclname = resources[i].aclname; } result = delete_bulk_request(client, deleteresources); } return result; }
java
public static base_responses delete(nitro_service client, nssimpleacl6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nssimpleacl6 deleteresources[] = new nssimpleacl6[resources.length]; for (int i=0;i<resources.length;i++){ deleteresources[i] = new nssimpleacl6(); deleteresources[i].aclname = resources[i].aclname; } result = delete_bulk_request(client, deleteresources); } return result; }
[ "public", "static", "base_responses", "delete", "(", "nitro_service", "client", ",", "nssimpleacl6", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "nssimpleacl6", "deleteresources", "[", "]", "=", "new", "nssimpleacl6", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "deleteresources", "[", "i", "]", "=", "new", "nssimpleacl6", "(", ")", ";", "deleteresources", "[", "i", "]", ".", "aclname", "=", "resources", "[", "i", "]", ".", "aclname", ";", "}", "result", "=", "delete_bulk_request", "(", "client", ",", "deleteresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to delete nssimpleacl6 resources.
[ "Use", "this", "API", "to", "delete", "nssimpleacl6", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java#L400-L411
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java
nssimpleacl6.get
public static nssimpleacl6[] get(nitro_service service) throws Exception{ nssimpleacl6 obj = new nssimpleacl6(); nssimpleacl6[] response = (nssimpleacl6[])obj.get_resources(service); return response; }
java
public static nssimpleacl6[] get(nitro_service service) throws Exception{ nssimpleacl6 obj = new nssimpleacl6(); nssimpleacl6[] response = (nssimpleacl6[])obj.get_resources(service); return response; }
[ "public", "static", "nssimpleacl6", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nssimpleacl6", "obj", "=", "new", "nssimpleacl6", "(", ")", ";", "nssimpleacl6", "[", "]", "response", "=", "(", "nssimpleacl6", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the nssimpleacl6 resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "nssimpleacl6", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java#L416-L420
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java
nssimpleacl6.get
public static nssimpleacl6 get(nitro_service service, String aclname) throws Exception{ nssimpleacl6 obj = new nssimpleacl6(); obj.set_aclname(aclname); nssimpleacl6 response = (nssimpleacl6) obj.get_resource(service); return response; }
java
public static nssimpleacl6 get(nitro_service service, String aclname) throws Exception{ nssimpleacl6 obj = new nssimpleacl6(); obj.set_aclname(aclname); nssimpleacl6 response = (nssimpleacl6) obj.get_resource(service); return response; }
[ "public", "static", "nssimpleacl6", "get", "(", "nitro_service", "service", ",", "String", "aclname", ")", "throws", "Exception", "{", "nssimpleacl6", "obj", "=", "new", "nssimpleacl6", "(", ")", ";", "obj", ".", "set_aclname", "(", "aclname", ")", ";", "nssimpleacl6", "response", "=", "(", "nssimpleacl6", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch nssimpleacl6 resource of given name .
[ "Use", "this", "API", "to", "fetch", "nssimpleacl6", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nssimpleacl6.java#L432-L437
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel_policybinding_binding.java
dnspolicylabel_policybinding_binding.get
public static dnspolicylabel_policybinding_binding[] get(nitro_service service, String labelname) throws Exception{ dnspolicylabel_policybinding_binding obj = new dnspolicylabel_policybinding_binding(); obj.set_labelname(labelname); dnspolicylabel_policybinding_binding response[] = (dnspolicylabel_policybinding_binding[]) obj.get_resources(service); return response; }
java
public static dnspolicylabel_policybinding_binding[] get(nitro_service service, String labelname) throws Exception{ dnspolicylabel_policybinding_binding obj = new dnspolicylabel_policybinding_binding(); obj.set_labelname(labelname); dnspolicylabel_policybinding_binding response[] = (dnspolicylabel_policybinding_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "dnspolicylabel_policybinding_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "labelname", ")", "throws", "Exception", "{", "dnspolicylabel_policybinding_binding", "obj", "=", "new", "dnspolicylabel_policybinding_binding", "(", ")", ";", "obj", ".", "set_labelname", "(", "labelname", ")", ";", "dnspolicylabel_policybinding_binding", "response", "[", "]", "=", "(", "dnspolicylabel_policybinding_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch dnspolicylabel_policybinding_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "dnspolicylabel_policybinding_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel_policybinding_binding.java#L225-L230
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_appqoepolicy_binding.java
lbvserver_appqoepolicy_binding.get
public static lbvserver_appqoepolicy_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_appqoepolicy_binding obj = new lbvserver_appqoepolicy_binding(); obj.set_name(name); lbvserver_appqoepolicy_binding response[] = (lbvserver_appqoepolicy_binding[]) obj.get_resources(service); return response; }
java
public static lbvserver_appqoepolicy_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_appqoepolicy_binding obj = new lbvserver_appqoepolicy_binding(); obj.set_name(name); lbvserver_appqoepolicy_binding response[] = (lbvserver_appqoepolicy_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "lbvserver_appqoepolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "lbvserver_appqoepolicy_binding", "obj", "=", "new", "lbvserver_appqoepolicy_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "lbvserver_appqoepolicy_binding", "response", "[", "]", "=", "(", "lbvserver_appqoepolicy_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch lbvserver_appqoepolicy_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "lbvserver_appqoepolicy_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_appqoepolicy_binding.java#L312-L317
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaaglobal_authenticationnegotiateaction_binding.java
aaaglobal_authenticationnegotiateaction_binding.get
public static aaaglobal_authenticationnegotiateaction_binding[] get(nitro_service service) throws Exception{ aaaglobal_authenticationnegotiateaction_binding obj = new aaaglobal_authenticationnegotiateaction_binding(); aaaglobal_authenticationnegotiateaction_binding response[] = (aaaglobal_authenticationnegotiateaction_binding[]) obj.get_resources(service); return response; }
java
public static aaaglobal_authenticationnegotiateaction_binding[] get(nitro_service service) throws Exception{ aaaglobal_authenticationnegotiateaction_binding obj = new aaaglobal_authenticationnegotiateaction_binding(); aaaglobal_authenticationnegotiateaction_binding response[] = (aaaglobal_authenticationnegotiateaction_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "aaaglobal_authenticationnegotiateaction_binding", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "aaaglobal_authenticationnegotiateaction_binding", "obj", "=", "new", "aaaglobal_authenticationnegotiateaction_binding", "(", ")", ";", "aaaglobal_authenticationnegotiateaction_binding", "response", "[", "]", "=", "(", "aaaglobal_authenticationnegotiateaction_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch a aaaglobal_authenticationnegotiateaction_binding resources.
[ "Use", "this", "API", "to", "fetch", "a", "aaaglobal_authenticationnegotiateaction_binding", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaaglobal_authenticationnegotiateaction_binding.java#L213-L217
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaaglobal_authenticationnegotiateaction_binding.java
aaaglobal_authenticationnegotiateaction_binding.get_filtered
public static aaaglobal_authenticationnegotiateaction_binding[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ aaaglobal_authenticationnegotiateaction_binding obj = new aaaglobal_authenticationnegotiateaction_binding(); options option = new options(); option.set_filter(filter); aaaglobal_authenticationnegotiateaction_binding[] response = (aaaglobal_authenticationnegotiateaction_binding[]) obj.getfiltered(service, option); return response; }
java
public static aaaglobal_authenticationnegotiateaction_binding[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ aaaglobal_authenticationnegotiateaction_binding obj = new aaaglobal_authenticationnegotiateaction_binding(); options option = new options(); option.set_filter(filter); aaaglobal_authenticationnegotiateaction_binding[] response = (aaaglobal_authenticationnegotiateaction_binding[]) obj.getfiltered(service, option); return response; }
[ "public", "static", "aaaglobal_authenticationnegotiateaction_binding", "[", "]", "get_filtered", "(", "nitro_service", "service", ",", "filtervalue", "[", "]", "filter", ")", "throws", "Exception", "{", "aaaglobal_authenticationnegotiateaction_binding", "obj", "=", "new", "aaaglobal_authenticationnegotiateaction_binding", "(", ")", ";", "options", "option", "=", "new", "options", "(", ")", ";", "option", ".", "set_filter", "(", "filter", ")", ";", "aaaglobal_authenticationnegotiateaction_binding", "[", "]", "response", "=", "(", "aaaglobal_authenticationnegotiateaction_binding", "[", "]", ")", "obj", ".", "getfiltered", "(", "service", ",", "option", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch filtered set of aaaglobal_authenticationnegotiateaction_binding resources. set the filter parameter values in filtervalue object.
[ "Use", "this", "API", "to", "fetch", "filtered", "set", "of", "aaaglobal_authenticationnegotiateaction_binding", "resources", ".", "set", "the", "filter", "parameter", "values", "in", "filtervalue", "object", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaaglobal_authenticationnegotiateaction_binding.java#L235-L241
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.add
public static base_response add(nitro_service client, dnszone resource) throws Exception { dnszone addresource = new dnszone(); addresource.zonename = resource.zonename; addresource.proxymode = resource.proxymode; addresource.dnssecoffload = resource.dnssecoffload; addresource.nsec = resource.nsec; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, dnszone resource) throws Exception { dnszone addresource = new dnszone(); addresource.zonename = resource.zonename; addresource.proxymode = resource.proxymode; addresource.dnssecoffload = resource.dnssecoffload; addresource.nsec = resource.nsec; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "dnszone", "resource", ")", "throws", "Exception", "{", "dnszone", "addresource", "=", "new", "dnszone", "(", ")", ";", "addresource", ".", "zonename", "=", "resource", ".", "zonename", ";", "addresource", ".", "proxymode", "=", "resource", ".", "proxymode", ";", "addresource", ".", "dnssecoffload", "=", "resource", ".", "dnssecoffload", ";", "addresource", ".", "nsec", "=", "resource", ".", "nsec", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add dnszone.
[ "Use", "this", "API", "to", "add", "dnszone", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L215-L222
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.add
public static base_responses add(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone addresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnszone(); addresources[i].zonename = resources[i].zonename; addresources[i].proxymode = resources[i].proxymode; addresources[i].dnssecoffload = resources[i].dnssecoffload; addresources[i].nsec = resources[i].nsec; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone addresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnszone(); addresources[i].zonename = resources[i].zonename; addresources[i].proxymode = resources[i].proxymode; addresources[i].dnssecoffload = resources[i].dnssecoffload; addresources[i].nsec = resources[i].nsec; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "dnszone", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "dnszone", "addresources", "[", "]", "=", "new", "dnszone", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "dnszone", "(", ")", ";", "addresources", "[", "i", "]", ".", "zonename", "=", "resources", "[", "i", "]", ".", "zonename", ";", "addresources", "[", "i", "]", ".", "proxymode", "=", "resources", "[", "i", "]", ".", "proxymode", ";", "addresources", "[", "i", "]", ".", "dnssecoffload", "=", "resources", "[", "i", "]", ".", "dnssecoffload", ";", "addresources", "[", "i", "]", ".", "nsec", "=", "resources", "[", "i", "]", ".", "nsec", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add dnszone resources.
[ "Use", "this", "API", "to", "add", "dnszone", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L227-L241
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.update
public static base_response update(nitro_service client, dnszone resource) throws Exception { dnszone updateresource = new dnszone(); updateresource.zonename = resource.zonename; updateresource.proxymode = resource.proxymode; updateresource.dnssecoffload = resource.dnssecoffload; updateresource.nsec = resource.nsec; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, dnszone resource) throws Exception { dnszone updateresource = new dnszone(); updateresource.zonename = resource.zonename; updateresource.proxymode = resource.proxymode; updateresource.dnssecoffload = resource.dnssecoffload; updateresource.nsec = resource.nsec; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "dnszone", "resource", ")", "throws", "Exception", "{", "dnszone", "updateresource", "=", "new", "dnszone", "(", ")", ";", "updateresource", ".", "zonename", "=", "resource", ".", "zonename", ";", "updateresource", ".", "proxymode", "=", "resource", ".", "proxymode", ";", "updateresource", ".", "dnssecoffload", "=", "resource", ".", "dnssecoffload", ";", "updateresource", ".", "nsec", "=", "resource", ".", "nsec", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update dnszone.
[ "Use", "this", "API", "to", "update", "dnszone", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L246-L253
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.update
public static base_responses update(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone updateresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new dnszone(); updateresources[i].zonename = resources[i].zonename; updateresources[i].proxymode = resources[i].proxymode; updateresources[i].dnssecoffload = resources[i].dnssecoffload; updateresources[i].nsec = resources[i].nsec; } result = update_bulk_request(client, updateresources); } return result; }
java
public static base_responses update(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone updateresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new dnszone(); updateresources[i].zonename = resources[i].zonename; updateresources[i].proxymode = resources[i].proxymode; updateresources[i].dnssecoffload = resources[i].dnssecoffload; updateresources[i].nsec = resources[i].nsec; } result = update_bulk_request(client, updateresources); } return result; }
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "dnszone", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "dnszone", "updateresources", "[", "]", "=", "new", "dnszone", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "updateresources", "[", "i", "]", "=", "new", "dnszone", "(", ")", ";", "updateresources", "[", "i", "]", ".", "zonename", "=", "resources", "[", "i", "]", ".", "zonename", ";", "updateresources", "[", "i", "]", ".", "proxymode", "=", "resources", "[", "i", "]", ".", "proxymode", ";", "updateresources", "[", "i", "]", ".", "dnssecoffload", "=", "resources", "[", "i", "]", ".", "dnssecoffload", ";", "updateresources", "[", "i", "]", ".", "nsec", "=", "resources", "[", "i", "]", ".", "nsec", ";", "}", "result", "=", "update_bulk_request", "(", "client", ",", "updateresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to update dnszone resources.
[ "Use", "this", "API", "to", "update", "dnszone", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L258-L272
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.unset
public static base_response unset(nitro_service client, dnszone resource, String[] args) throws Exception{ dnszone unsetresource = new dnszone(); unsetresource.zonename = resource.zonename; return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, dnszone resource, String[] args) throws Exception{ dnszone unsetresource = new dnszone(); unsetresource.zonename = resource.zonename; return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "dnszone", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "dnszone", "unsetresource", "=", "new", "dnszone", "(", ")", ";", "unsetresource", ".", "zonename", "=", "resource", ".", "zonename", ";", "return", "unsetresource", ".", "unset_resource", "(", "client", ",", "args", ")", ";", "}" ]
Use this API to unset the properties of dnszone resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "dnszone", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L278-L282
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.unset
public static base_responses unset(nitro_service client, String zonename[], String args[]) throws Exception { base_responses result = null; if (zonename != null && zonename.length > 0) { dnszone unsetresources[] = new dnszone[zonename.length]; for (int i=0;i<zonename.length;i++){ unsetresources[i] = new dnszone(); unsetresources[i].zonename = zonename[i]; } result = unset_bulk_request(client, unsetresources,args); } return result; }
java
public static base_responses unset(nitro_service client, String zonename[], String args[]) throws Exception { base_responses result = null; if (zonename != null && zonename.length > 0) { dnszone unsetresources[] = new dnszone[zonename.length]; for (int i=0;i<zonename.length;i++){ unsetresources[i] = new dnszone(); unsetresources[i].zonename = zonename[i]; } result = unset_bulk_request(client, unsetresources,args); } return result; }
[ "public", "static", "base_responses", "unset", "(", "nitro_service", "client", ",", "String", "zonename", "[", "]", ",", "String", "args", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "zonename", "!=", "null", "&&", "zonename", ".", "length", ">", "0", ")", "{", "dnszone", "unsetresources", "[", "]", "=", "new", "dnszone", "[", "zonename", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "zonename", ".", "length", ";", "i", "++", ")", "{", "unsetresources", "[", "i", "]", "=", "new", "dnszone", "(", ")", ";", "unsetresources", "[", "i", "]", ".", "zonename", "=", "zonename", "[", "i", "]", ";", "}", "result", "=", "unset_bulk_request", "(", "client", ",", "unsetresources", ",", "args", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to unset the properties of dnszone resources. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "dnszone", "resources", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L288-L299
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.delete
public static base_response delete(nitro_service client, String zonename) throws Exception { dnszone deleteresource = new dnszone(); deleteresource.zonename = zonename; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, String zonename) throws Exception { dnszone deleteresource = new dnszone(); deleteresource.zonename = zonename; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "String", "zonename", ")", "throws", "Exception", "{", "dnszone", "deleteresource", "=", "new", "dnszone", "(", ")", ";", "deleteresource", ".", "zonename", "=", "zonename", ";", "return", "deleteresource", ".", "delete_resource", "(", "client", ")", ";", "}" ]
Use this API to delete dnszone of given name.
[ "Use", "this", "API", "to", "delete", "dnszone", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L321-L325
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.delete
public static base_responses delete(nitro_service client, String zonename[]) throws Exception { base_responses result = null; if (zonename != null && zonename.length > 0) { dnszone deleteresources[] = new dnszone[zonename.length]; for (int i=0;i<zonename.length;i++){ deleteresources[i] = new dnszone(); deleteresources[i].zonename = zonename[i]; } result = delete_bulk_request(client, deleteresources); } return result; }
java
public static base_responses delete(nitro_service client, String zonename[]) throws Exception { base_responses result = null; if (zonename != null && zonename.length > 0) { dnszone deleteresources[] = new dnszone[zonename.length]; for (int i=0;i<zonename.length;i++){ deleteresources[i] = new dnszone(); deleteresources[i].zonename = zonename[i]; } result = delete_bulk_request(client, deleteresources); } return result; }
[ "public", "static", "base_responses", "delete", "(", "nitro_service", "client", ",", "String", "zonename", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "zonename", "!=", "null", "&&", "zonename", ".", "length", ">", "0", ")", "{", "dnszone", "deleteresources", "[", "]", "=", "new", "dnszone", "[", "zonename", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "zonename", ".", "length", ";", "i", "++", ")", "{", "deleteresources", "[", "i", "]", "=", "new", "dnszone", "(", ")", ";", "deleteresources", "[", "i", "]", ".", "zonename", "=", "zonename", "[", "i", "]", ";", "}", "result", "=", "delete_bulk_request", "(", "client", ",", "deleteresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to delete dnszone resources of given names.
[ "Use", "this", "API", "to", "delete", "dnszone", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L339-L350
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.sign
public static base_response sign(nitro_service client, dnszone resource) throws Exception { dnszone signresource = new dnszone(); signresource.zonename = resource.zonename; signresource.keyname = resource.keyname; return signresource.perform_operation(client,"sign"); }
java
public static base_response sign(nitro_service client, dnszone resource) throws Exception { dnszone signresource = new dnszone(); signresource.zonename = resource.zonename; signresource.keyname = resource.keyname; return signresource.perform_operation(client,"sign"); }
[ "public", "static", "base_response", "sign", "(", "nitro_service", "client", ",", "dnszone", "resource", ")", "throws", "Exception", "{", "dnszone", "signresource", "=", "new", "dnszone", "(", ")", ";", "signresource", ".", "zonename", "=", "resource", ".", "zonename", ";", "signresource", ".", "keyname", "=", "resource", ".", "keyname", ";", "return", "signresource", ".", "perform_operation", "(", "client", ",", "\"sign\"", ")", ";", "}" ]
Use this API to sign dnszone.
[ "Use", "this", "API", "to", "sign", "dnszone", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L371-L376
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.sign
public static base_responses sign(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone signresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ signresources[i] = new dnszone(); signresources[i].zonename = resources[i].zonename; signresources[i].keyname = resources[i].keyname; } result = perform_operation_bulk_request(client, signresources,"sign"); } return result; }
java
public static base_responses sign(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone signresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ signresources[i] = new dnszone(); signresources[i].zonename = resources[i].zonename; signresources[i].keyname = resources[i].keyname; } result = perform_operation_bulk_request(client, signresources,"sign"); } return result; }
[ "public", "static", "base_responses", "sign", "(", "nitro_service", "client", ",", "dnszone", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "dnszone", "signresources", "[", "]", "=", "new", "dnszone", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "signresources", "[", "i", "]", "=", "new", "dnszone", "(", ")", ";", "signresources", "[", "i", "]", ".", "zonename", "=", "resources", "[", "i", "]", ".", "zonename", ";", "signresources", "[", "i", "]", ".", "keyname", "=", "resources", "[", "i", "]", ".", "keyname", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "signresources", ",", "\"sign\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to sign dnszone resources.
[ "Use", "this", "API", "to", "sign", "dnszone", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L381-L393
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.unsign
public static base_response unsign(nitro_service client, dnszone resource) throws Exception { dnszone unsignresource = new dnszone(); unsignresource.zonename = resource.zonename; unsignresource.keyname = resource.keyname; return unsignresource.perform_operation(client,"unsign"); }
java
public static base_response unsign(nitro_service client, dnszone resource) throws Exception { dnszone unsignresource = new dnszone(); unsignresource.zonename = resource.zonename; unsignresource.keyname = resource.keyname; return unsignresource.perform_operation(client,"unsign"); }
[ "public", "static", "base_response", "unsign", "(", "nitro_service", "client", ",", "dnszone", "resource", ")", "throws", "Exception", "{", "dnszone", "unsignresource", "=", "new", "dnszone", "(", ")", ";", "unsignresource", ".", "zonename", "=", "resource", ".", "zonename", ";", "unsignresource", ".", "keyname", "=", "resource", ".", "keyname", ";", "return", "unsignresource", ".", "perform_operation", "(", "client", ",", "\"unsign\"", ")", ";", "}" ]
Use this API to unsign dnszone.
[ "Use", "this", "API", "to", "unsign", "dnszone", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L398-L403
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.unsign
public static base_responses unsign(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone unsignresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ unsignresources[i] = new dnszone(); unsignresources[i].zonename = resources[i].zonename; unsignresources[i].keyname = resources[i].keyname; } result = perform_operation_bulk_request(client, unsignresources,"unsign"); } return result; }
java
public static base_responses unsign(nitro_service client, dnszone resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnszone unsignresources[] = new dnszone[resources.length]; for (int i=0;i<resources.length;i++){ unsignresources[i] = new dnszone(); unsignresources[i].zonename = resources[i].zonename; unsignresources[i].keyname = resources[i].keyname; } result = perform_operation_bulk_request(client, unsignresources,"unsign"); } return result; }
[ "public", "static", "base_responses", "unsign", "(", "nitro_service", "client", ",", "dnszone", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "dnszone", "unsignresources", "[", "]", "=", "new", "dnszone", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "unsignresources", "[", "i", "]", "=", "new", "dnszone", "(", ")", ";", "unsignresources", "[", "i", "]", ".", "zonename", "=", "resources", "[", "i", "]", ".", "zonename", ";", "unsignresources", "[", "i", "]", ".", "keyname", "=", "resources", "[", "i", "]", ".", "keyname", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "unsignresources", ",", "\"unsign\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to unsign dnszone resources.
[ "Use", "this", "API", "to", "unsign", "dnszone", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L408-L420
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.get
public static dnszone[] get(nitro_service service) throws Exception{ dnszone obj = new dnszone(); dnszone[] response = (dnszone[])obj.get_resources(service); return response; }
java
public static dnszone[] get(nitro_service service) throws Exception{ dnszone obj = new dnszone(); dnszone[] response = (dnszone[])obj.get_resources(service); return response; }
[ "public", "static", "dnszone", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "dnszone", "obj", "=", "new", "dnszone", "(", ")", ";", "dnszone", "[", "]", "response", "=", "(", "dnszone", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the dnszone resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "dnszone", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L425-L429
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.get
public static dnszone[] get(nitro_service service, dnszone_args args) throws Exception{ dnszone obj = new dnszone(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); dnszone[] response = (dnszone[])obj.get_resources(service, option); return response; }
java
public static dnszone[] get(nitro_service service, dnszone_args args) throws Exception{ dnszone obj = new dnszone(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); dnszone[] response = (dnszone[])obj.get_resources(service, option); return response; }
[ "public", "static", "dnszone", "[", "]", "get", "(", "nitro_service", "service", ",", "dnszone_args", "args", ")", "throws", "Exception", "{", "dnszone", "obj", "=", "new", "dnszone", "(", ")", ";", "options", "option", "=", "new", "options", "(", ")", ";", "option", ".", "set_args", "(", "nitro_util", ".", "object_to_string_withoutquotes", "(", "args", ")", ")", ";", "dnszone", "[", "]", "response", "=", "(", "dnszone", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ",", "option", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the dnszone resources that are configured on netscaler. This uses dnszone_args which is a way to provide additional arguments while fetching the resources.
[ "Use", "this", "API", "to", "fetch", "all", "the", "dnszone", "resources", "that", "are", "configured", "on", "netscaler", ".", "This", "uses", "dnszone_args", "which", "is", "a", "way", "to", "provide", "additional", "arguments", "while", "fetching", "the", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L442-L448
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.get
public static dnszone get(nitro_service service, String zonename) throws Exception{ dnszone obj = new dnszone(); obj.set_zonename(zonename); dnszone response = (dnszone) obj.get_resource(service); return response; }
java
public static dnszone get(nitro_service service, String zonename) throws Exception{ dnszone obj = new dnszone(); obj.set_zonename(zonename); dnszone response = (dnszone) obj.get_resource(service); return response; }
[ "public", "static", "dnszone", "get", "(", "nitro_service", "service", ",", "String", "zonename", ")", "throws", "Exception", "{", "dnszone", "obj", "=", "new", "dnszone", "(", ")", ";", "obj", ".", "set_zonename", "(", "zonename", ")", ";", "dnszone", "response", "=", "(", "dnszone", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch dnszone resource of given name .
[ "Use", "this", "API", "to", "fetch", "dnszone", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L453-L458
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java
dnszone.get_filtered
public static dnszone[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ dnszone obj = new dnszone(); options option = new options(); option.set_filter(filter); dnszone[] response = (dnszone[]) obj.getfiltered(service, option); return response; }
java
public static dnszone[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ dnszone obj = new dnszone(); options option = new options(); option.set_filter(filter); dnszone[] response = (dnszone[]) obj.getfiltered(service, option); return response; }
[ "public", "static", "dnszone", "[", "]", "get_filtered", "(", "nitro_service", "service", ",", "filtervalue", "[", "]", "filter", ")", "throws", "Exception", "{", "dnszone", "obj", "=", "new", "dnszone", "(", ")", ";", "options", "option", "=", "new", "options", "(", ")", ";", "option", ".", "set_filter", "(", "filter", ")", ";", "dnszone", "[", "]", "response", "=", "(", "dnszone", "[", "]", ")", "obj", ".", "getfiltered", "(", "service", ",", "option", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch filtered set of dnszone resources. set the filter parameter values in filtervalue object.
[ "Use", "this", "API", "to", "fetch", "filtered", "set", "of", "dnszone", "resources", ".", "set", "the", "filter", "parameter", "values", "in", "filtervalue", "object", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnszone.java#L492-L498
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/protocol/protocolicmpv6_stats.java
protocolicmpv6_stats.get
public static protocolicmpv6_stats get(nitro_service service) throws Exception{ protocolicmpv6_stats obj = new protocolicmpv6_stats(); protocolicmpv6_stats[] response = (protocolicmpv6_stats[])obj.stat_resources(service); return response[0]; }
java
public static protocolicmpv6_stats get(nitro_service service) throws Exception{ protocolicmpv6_stats obj = new protocolicmpv6_stats(); protocolicmpv6_stats[] response = (protocolicmpv6_stats[])obj.stat_resources(service); return response[0]; }
[ "public", "static", "protocolicmpv6_stats", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "protocolicmpv6_stats", "obj", "=", "new", "protocolicmpv6_stats", "(", ")", ";", "protocolicmpv6_stats", "[", "]", "response", "=", "(", "protocolicmpv6_stats", "[", "]", ")", "obj", ".", "stat_resources", "(", "service", ")", ";", "return", "response", "[", "0", "]", ";", "}" ]
Use this API to fetch the statistics of all protocolicmpv6_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "protocolicmpv6_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/protocol/protocolicmpv6_stats.java#L476-L480
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmonbindings_service_binding.java
lbmonbindings_service_binding.get
public static lbmonbindings_service_binding[] get(nitro_service service, String monitorname) throws Exception{ lbmonbindings_service_binding obj = new lbmonbindings_service_binding(); obj.set_monitorname(monitorname); lbmonbindings_service_binding response[] = (lbmonbindings_service_binding[]) obj.get_resources(service); return response; }
java
public static lbmonbindings_service_binding[] get(nitro_service service, String monitorname) throws Exception{ lbmonbindings_service_binding obj = new lbmonbindings_service_binding(); obj.set_monitorname(monitorname); lbmonbindings_service_binding response[] = (lbmonbindings_service_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "lbmonbindings_service_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "monitorname", ")", "throws", "Exception", "{", "lbmonbindings_service_binding", "obj", "=", "new", "lbmonbindings_service_binding", "(", ")", ";", "obj", ".", "set_monitorname", "(", "monitorname", ")", ";", "lbmonbindings_service_binding", "response", "[", "]", "=", "(", "lbmonbindings_service_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch lbmonbindings_service_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "lbmonbindings_service_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmonbindings_service_binding.java#L162-L167
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/fis.java
fis.add
public static base_response add(nitro_service client, fis resource) throws Exception { fis addresource = new fis(); addresource.name = resource.name; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, fis resource) throws Exception { fis addresource = new fis(); addresource.name = resource.name; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "fis", "resource", ")", "throws", "Exception", "{", "fis", "addresource", "=", "new", "fis", "(", ")", ";", "addresource", ".", "name", "=", "resource", ".", "name", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add fis.
[ "Use", "this", "API", "to", "add", "fis", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/fis.java#L106-L110
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/fis.java
fis.get
public static fis[] get(nitro_service service) throws Exception{ fis obj = new fis(); fis[] response = (fis[])obj.get_resources(service); return response; }
java
public static fis[] get(nitro_service service) throws Exception{ fis obj = new fis(); fis[] response = (fis[])obj.get_resources(service); return response; }
[ "public", "static", "fis", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "fis", "obj", "=", "new", "fis", "(", ")", ";", "fis", "[", "]", "response", "=", "(", "fis", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the fis resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "fis", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/fis.java#L181-L185
train