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
sequence
docstring
stringlengths
3
16k
docstring_tokens
sequence
sha
stringlengths
40
40
url
stringlengths
105
339
partition
stringclasses
1 value
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/aaa/aaa_stats.java
aaa_stats.get
public static aaa_stats get(nitro_service service) throws Exception{ aaa_stats obj = new aaa_stats(); aaa_stats[] response = (aaa_stats[])obj.stat_resources(service); return response[0]; }
java
public static aaa_stats get(nitro_service service) throws Exception{ aaa_stats obj = new aaa_stats(); aaa_stats[] response = (aaa_stats[])obj.stat_resources(service); return response[0]; }
[ "public", "static", "aaa_stats", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "aaa_stats", "obj", "=", "new", "aaa_stats", "(", ")", ";", "aaa_stats", "[", "]", "response", "=", "(", "aaa_stats", "[", "]", ")", "obj", ".", "stat_resources", "(", "service", ")", ";", "return", "response", "[", "0", "]", ";", "}" ]
Use this API to fetch the statistics of all aaa_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "aaa_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/aaa/aaa_stats.java#L331-L335
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaagroup_aaauser_binding.java
aaagroup_aaauser_binding.get
public static aaagroup_aaauser_binding[] get(nitro_service service, String groupname) throws Exception{ aaagroup_aaauser_binding obj = new aaagroup_aaauser_binding(); obj.set_groupname(groupname); aaagroup_aaauser_binding response[] = (aaagroup_aaauser_binding[]) obj.get_resources(service); return response; }
java
public static aaagroup_aaauser_binding[] get(nitro_service service, String groupname) throws Exception{ aaagroup_aaauser_binding obj = new aaagroup_aaauser_binding(); obj.set_groupname(groupname); aaagroup_aaauser_binding response[] = (aaagroup_aaauser_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "aaagroup_aaauser_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "groupname", ")", "throws", "Exception", "{", "aaagroup_aaauser_binding", "obj", "=", "new", "aaagroup_aaauser_binding", "(", ")", ";", "obj", ".", "set_groupname", "(", "groupname", ")", ";", "aaagroup_aaauser_binding", "response", "[", "]", "=", "(", "aaagroup_aaauser_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch aaagroup_aaauser_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "aaagroup_aaauser_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaagroup_aaauser_binding.java#L154-L159
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver.java
lbvserver.get
public static lbvserver[] get(nitro_service service) throws Exception{ lbvserver obj = new lbvserver(); lbvserver[] response = (lbvserver[])obj.get_resources(service); return response; }
java
public static lbvserver[] get(nitro_service service) throws Exception{ lbvserver obj = new lbvserver(); lbvserver[] response = (lbvserver[])obj.get_resources(service); return response; }
[ "public", "static", "lbvserver", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "lbvserver", "obj", "=", "new", "lbvserver", "(", ")", ";", "lbvserver", "[", "]", "response", "=", "(", "lbvserver", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the lbvserver resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "lbvserver", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver.java#L3036-L3040
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver.java
lbvserver.get
public static lbvserver get(nitro_service service, String name) throws Exception{ lbvserver obj = new lbvserver(); obj.set_name(name); lbvserver response = (lbvserver) obj.get_resource(service); return response; }
java
public static lbvserver get(nitro_service service, String name) throws Exception{ lbvserver obj = new lbvserver(); obj.set_name(name); lbvserver response = (lbvserver) obj.get_resource(service); return response; }
[ "public", "static", "lbvserver", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "lbvserver", "obj", "=", "new", "lbvserver", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "lbvserver", "response", "=", "(", "lbvserver", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch lbvserver resource of given name .
[ "Use", "this", "API", "to", "fetch", "lbvserver", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver.java#L3052-L3057
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver.java
lbvserver.get_filtered
public static lbvserver[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ lbvserver obj = new lbvserver(); options option = new options(); option.set_filter(filter); lbvserver[] response = (lbvserver[]) obj.getfiltered(service, option); return response; }
java
public static lbvserver[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ lbvserver obj = new lbvserver(); options option = new options(); option.set_filter(filter); lbvserver[] response = (lbvserver[]) obj.getfiltered(service, option); return response; }
[ "public", "static", "lbvserver", "[", "]", "get_filtered", "(", "nitro_service", "service", ",", "filtervalue", "[", "]", "filter", ")", "throws", "Exception", "{", "lbvserver", "obj", "=", "new", "lbvserver", "(", ")", ";", "options", "option", "=", "new", "options", "(", ")", ";", "option", ".", "set_filter", "(", "filter", ")", ";", "lbvserver", "[", "]", "response", "=", "(", "lbvserver", "[", "]", ")", "obj", ".", "getfiltered", "(", "service", ",", "option", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch filtered set of lbvserver resources. set the filter parameter values in filtervalue object.
[ "Use", "this", "API", "to", "fetch", "filtered", "set", "of", "lbvserver", "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/lb/lbvserver.java#L3091-L3097
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_cspolicy_binding.java
csvserver_cspolicy_binding.get
public static csvserver_cspolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_cspolicy_binding obj = new csvserver_cspolicy_binding(); obj.set_name(name); csvserver_cspolicy_binding response[] = (csvserver_cspolicy_binding[]) obj.get_resources(service); return response; }
java
public static csvserver_cspolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_cspolicy_binding obj = new csvserver_cspolicy_binding(); obj.set_name(name); csvserver_cspolicy_binding response[] = (csvserver_cspolicy_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "csvserver_cspolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "csvserver_cspolicy_binding", "obj", "=", "new", "csvserver_cspolicy_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "csvserver_cspolicy_binding", "response", "[", "]", "=", "(", "csvserver_cspolicy_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch csvserver_cspolicy_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "csvserver_cspolicy_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_cspolicy_binding.java#L353-L358
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup_sslcertkey_binding.java
sslservicegroup_sslcertkey_binding.get
public static sslservicegroup_sslcertkey_binding[] get(nitro_service service, String servicegroupname) throws Exception{ sslservicegroup_sslcertkey_binding obj = new sslservicegroup_sslcertkey_binding(); obj.set_servicegroupname(servicegroupname); sslservicegroup_sslcertkey_binding response[] = (sslservicegroup_sslcertkey_binding[]) obj.get_resources(service); return response; }
java
public static sslservicegroup_sslcertkey_binding[] get(nitro_service service, String servicegroupname) throws Exception{ sslservicegroup_sslcertkey_binding obj = new sslservicegroup_sslcertkey_binding(); obj.set_servicegroupname(servicegroupname); sslservicegroup_sslcertkey_binding response[] = (sslservicegroup_sslcertkey_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "sslservicegroup_sslcertkey_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "servicegroupname", ")", "throws", "Exception", "{", "sslservicegroup_sslcertkey_binding", "obj", "=", "new", "sslservicegroup_sslcertkey_binding", "(", ")", ";", "obj", ".", "set_servicegroupname", "(", "servicegroupname", ")", ";", "sslservicegroup_sslcertkey_binding", "response", "[", "]", "=", "(", "sslservicegroup_sslcertkey_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch sslservicegroup_sslcertkey_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "sslservicegroup_sslcertkey_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup_sslcertkey_binding.java#L262-L267
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/app/application.java
application.Import
public static base_response Import(nitro_service client, application resource) throws Exception { application Importresource = new application(); Importresource.apptemplatefilename = resource.apptemplatefilename; Importresource.appname = resource.appname; Importresource.deploymentfilename = resource.deploymentfilename; return Importresource.perform_operation(client,"Import"); }
java
public static base_response Import(nitro_service client, application resource) throws Exception { application Importresource = new application(); Importresource.apptemplatefilename = resource.apptemplatefilename; Importresource.appname = resource.appname; Importresource.deploymentfilename = resource.deploymentfilename; return Importresource.perform_operation(client,"Import"); }
[ "public", "static", "base_response", "Import", "(", "nitro_service", "client", ",", "application", "resource", ")", "throws", "Exception", "{", "application", "Importresource", "=", "new", "application", "(", ")", ";", "Importresource", ".", "apptemplatefilename", "=", "resource", ".", "apptemplatefilename", ";", "Importresource", ".", "appname", "=", "resource", ".", "appname", ";", "Importresource", ".", "deploymentfilename", "=", "resource", ".", "deploymentfilename", ";", "return", "Importresource", ".", "perform_operation", "(", "client", ",", "\"Import\"", ")", ";", "}" ]
Use this API to Import application.
[ "Use", "this", "API", "to", "Import", "application", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/app/application.java#L132-L138
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/app/application.java
application.export
public static base_response export(nitro_service client, application resource) throws Exception { application exportresource = new application(); exportresource.appname = resource.appname; exportresource.apptemplatefilename = resource.apptemplatefilename; exportresource.deploymentfilename = resource.deploymentfilename; return exportresource.perform_operation(client,"export"); }
java
public static base_response export(nitro_service client, application resource) throws Exception { application exportresource = new application(); exportresource.appname = resource.appname; exportresource.apptemplatefilename = resource.apptemplatefilename; exportresource.deploymentfilename = resource.deploymentfilename; return exportresource.perform_operation(client,"export"); }
[ "public", "static", "base_response", "export", "(", "nitro_service", "client", ",", "application", "resource", ")", "throws", "Exception", "{", "application", "exportresource", "=", "new", "application", "(", ")", ";", "exportresource", ".", "appname", "=", "resource", ".", "appname", ";", "exportresource", ".", "apptemplatefilename", "=", "resource", ".", "apptemplatefilename", ";", "exportresource", ".", "deploymentfilename", "=", "resource", ".", "deploymentfilename", ";", "return", "exportresource", ".", "perform_operation", "(", "client", ",", "\"export\"", ")", ";", "}" ]
Use this API to export application.
[ "Use", "this", "API", "to", "export", "application", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/app/application.java#L143-L149
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/app/application.java
application.delete
public static base_response delete(nitro_service client, application resource) throws Exception { application deleteresource = new application(); deleteresource.appname = resource.appname; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, application resource) throws Exception { application deleteresource = new application(); deleteresource.appname = resource.appname; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "application", "resource", ")", "throws", "Exception", "{", "application", "deleteresource", "=", "new", "application", "(", ")", ";", "deleteresource", ".", "appname", "=", "resource", ".", "appname", ";", "return", "deleteresource", ".", "delete_resource", "(", "client", ")", ";", "}" ]
Use this API to delete application.
[ "Use", "this", "API", "to", "delete", "application", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/app/application.java#L154-L158
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_binding.java
vpnglobal_binding.get
public static vpnglobal_binding get(nitro_service service) throws Exception{ vpnglobal_binding obj = new vpnglobal_binding(); vpnglobal_binding response = (vpnglobal_binding) obj.get_resource(service); return response; }
java
public static vpnglobal_binding get(nitro_service service) throws Exception{ vpnglobal_binding obj = new vpnglobal_binding(); vpnglobal_binding response = (vpnglobal_binding) obj.get_resource(service); return response; }
[ "public", "static", "vpnglobal_binding", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "vpnglobal_binding", "obj", "=", "new", "vpnglobal_binding", "(", ")", ";", "vpnglobal_binding", "response", "=", "(", "vpnglobal_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch a vpnglobal_binding resource .
[ "Use", "this", "API", "to", "fetch", "a", "vpnglobal_binding", "resource", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_binding.java#L293-L297
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationtacacspolicy_systemglobal_binding.java
authenticationtacacspolicy_systemglobal_binding.get
public static authenticationtacacspolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{ authenticationtacacspolicy_systemglobal_binding obj = new authenticationtacacspolicy_systemglobal_binding(); obj.set_name(name); authenticationtacacspolicy_systemglobal_binding response[] = (authenticationtacacspolicy_systemglobal_binding[]) obj.get_resources(service); return response; }
java
public static authenticationtacacspolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{ authenticationtacacspolicy_systemglobal_binding obj = new authenticationtacacspolicy_systemglobal_binding(); obj.set_name(name); authenticationtacacspolicy_systemglobal_binding response[] = (authenticationtacacspolicy_systemglobal_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "authenticationtacacspolicy_systemglobal_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "authenticationtacacspolicy_systemglobal_binding", "obj", "=", "new", "authenticationtacacspolicy_systemglobal_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "authenticationtacacspolicy_systemglobal_binding", "response", "[", "]", "=", "(", "authenticationtacacspolicy_systemglobal_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch authenticationtacacspolicy_systemglobal_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "authenticationtacacspolicy_systemglobal_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationtacacspolicy_systemglobal_binding.java#L132-L137
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmpparameter.java
cmpparameter.update
public static base_response update(nitro_service client, cmpparameter resource) throws Exception { cmpparameter updateresource = new cmpparameter(); updateresource.cmplevel = resource.cmplevel; updateresource.quantumsize = resource.quantumsize; updateresource.servercmp = resource.servercmp; updateresource.heurexpiry = resource.heurexpiry; updateresource.heurexpirythres = resource.heurexpirythres; updateresource.heurexpiryhistwt = resource.heurexpiryhistwt; updateresource.minressize = resource.minressize; updateresource.cmpbypasspct = resource.cmpbypasspct; updateresource.cmponpush = resource.cmponpush; updateresource.policytype = resource.policytype; updateresource.addvaryheader = resource.addvaryheader; updateresource.externalcache = resource.externalcache; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, cmpparameter resource) throws Exception { cmpparameter updateresource = new cmpparameter(); updateresource.cmplevel = resource.cmplevel; updateresource.quantumsize = resource.quantumsize; updateresource.servercmp = resource.servercmp; updateresource.heurexpiry = resource.heurexpiry; updateresource.heurexpirythres = resource.heurexpirythres; updateresource.heurexpiryhistwt = resource.heurexpiryhistwt; updateresource.minressize = resource.minressize; updateresource.cmpbypasspct = resource.cmpbypasspct; updateresource.cmponpush = resource.cmponpush; updateresource.policytype = resource.policytype; updateresource.addvaryheader = resource.addvaryheader; updateresource.externalcache = resource.externalcache; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "cmpparameter", "resource", ")", "throws", "Exception", "{", "cmpparameter", "updateresource", "=", "new", "cmpparameter", "(", ")", ";", "updateresource", ".", "cmplevel", "=", "resource", ".", "cmplevel", ";", "updateresource", ".", "quantumsize", "=", "resource", ".", "quantumsize", ";", "updateresource", ".", "servercmp", "=", "resource", ".", "servercmp", ";", "updateresource", ".", "heurexpiry", "=", "resource", ".", "heurexpiry", ";", "updateresource", ".", "heurexpirythres", "=", "resource", ".", "heurexpirythres", ";", "updateresource", ".", "heurexpiryhistwt", "=", "resource", ".", "heurexpiryhistwt", ";", "updateresource", ".", "minressize", "=", "resource", ".", "minressize", ";", "updateresource", ".", "cmpbypasspct", "=", "resource", ".", "cmpbypasspct", ";", "updateresource", ".", "cmponpush", "=", "resource", ".", "cmponpush", ";", "updateresource", ".", "policytype", "=", "resource", ".", "policytype", ";", "updateresource", ".", "addvaryheader", "=", "resource", ".", "addvaryheader", ";", "updateresource", ".", "externalcache", "=", "resource", ".", "externalcache", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update cmpparameter.
[ "Use", "this", "API", "to", "update", "cmpparameter", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmpparameter.java#L358-L373
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmpparameter.java
cmpparameter.unset
public static base_response unset(nitro_service client, cmpparameter resource, String[] args) throws Exception{ cmpparameter unsetresource = new cmpparameter(); return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, cmpparameter resource, String[] args) throws Exception{ cmpparameter unsetresource = new cmpparameter(); return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "cmpparameter", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "cmpparameter", "unsetresource", "=", "new", "cmpparameter", "(", ")", ";", "return", "unsetresource", ".", "unset_resource", "(", "client", ",", "args", ")", ";", "}" ]
Use this API to unset the properties of cmpparameter resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "cmpparameter", "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/cmp/cmpparameter.java#L379-L382
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmpparameter.java
cmpparameter.get
public static cmpparameter get(nitro_service service) throws Exception{ cmpparameter obj = new cmpparameter(); cmpparameter[] response = (cmpparameter[])obj.get_resources(service); return response[0]; }
java
public static cmpparameter get(nitro_service service) throws Exception{ cmpparameter obj = new cmpparameter(); cmpparameter[] response = (cmpparameter[])obj.get_resources(service); return response[0]; }
[ "public", "static", "cmpparameter", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "cmpparameter", "obj", "=", "new", "cmpparameter", "(", ")", ";", "cmpparameter", "[", "]", "response", "=", "(", "cmpparameter", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", "[", "0", "]", ";", "}" ]
Use this API to fetch all the cmpparameter resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "cmpparameter", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmpparameter.java#L387-L391
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmpglobal_cmppolicy_binding.java
cmpglobal_cmppolicy_binding.get
public static cmpglobal_cmppolicy_binding[] get(nitro_service service) throws Exception{ cmpglobal_cmppolicy_binding obj = new cmpglobal_cmppolicy_binding(); cmpglobal_cmppolicy_binding response[] = (cmpglobal_cmppolicy_binding[]) obj.get_resources(service); return response; }
java
public static cmpglobal_cmppolicy_binding[] get(nitro_service service) throws Exception{ cmpglobal_cmppolicy_binding obj = new cmpglobal_cmppolicy_binding(); cmpglobal_cmppolicy_binding response[] = (cmpglobal_cmppolicy_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "cmpglobal_cmppolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "cmpglobal_cmppolicy_binding", "obj", "=", "new", "cmpglobal_cmppolicy_binding", "(", ")", ";", "cmpglobal_cmppolicy_binding", "response", "[", "]", "=", "(", "cmpglobal_cmppolicy_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch a cmpglobal_cmppolicy_binding resources.
[ "Use", "this", "API", "to", "fetch", "a", "cmpglobal_cmppolicy_binding", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmpglobal_cmppolicy_binding.java#L230-L234
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey_crldistribution_binding.java
sslcertkey_crldistribution_binding.get
public static sslcertkey_crldistribution_binding[] get(nitro_service service, String certkey) throws Exception{ sslcertkey_crldistribution_binding obj = new sslcertkey_crldistribution_binding(); obj.set_certkey(certkey); sslcertkey_crldistribution_binding response[] = (sslcertkey_crldistribution_binding[]) obj.get_resources(service); return response; }
java
public static sslcertkey_crldistribution_binding[] get(nitro_service service, String certkey) throws Exception{ sslcertkey_crldistribution_binding obj = new sslcertkey_crldistribution_binding(); obj.set_certkey(certkey); sslcertkey_crldistribution_binding response[] = (sslcertkey_crldistribution_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "sslcertkey_crldistribution_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "certkey", ")", "throws", "Exception", "{", "sslcertkey_crldistribution_binding", "obj", "=", "new", "sslcertkey_crldistribution_binding", "(", ")", ";", "obj", ".", "set_certkey", "(", "certkey", ")", ";", "sslcertkey_crldistribution_binding", "response", "[", "]", "=", "(", "sslcertkey_crldistribution_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch sslcertkey_crldistribution_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "sslcertkey_crldistribution_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey_crldistribution_binding.java#L165-L170
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey_crldistribution_binding.java
sslcertkey_crldistribution_binding.count
public static long count(nitro_service service, String certkey) throws Exception{ sslcertkey_crldistribution_binding obj = new sslcertkey_crldistribution_binding(); obj.set_certkey(certkey); options option = new options(); option.set_count(true); sslcertkey_crldistribution_binding response[] = (sslcertkey_crldistribution_binding[]) obj.get_resources(service,option); if (response != null) { return response[0].__count; } return 0; }
java
public static long count(nitro_service service, String certkey) throws Exception{ sslcertkey_crldistribution_binding obj = new sslcertkey_crldistribution_binding(); obj.set_certkey(certkey); options option = new options(); option.set_count(true); sslcertkey_crldistribution_binding response[] = (sslcertkey_crldistribution_binding[]) obj.get_resources(service,option); if (response != null) { return response[0].__count; } return 0; }
[ "public", "static", "long", "count", "(", "nitro_service", "service", ",", "String", "certkey", ")", "throws", "Exception", "{", "sslcertkey_crldistribution_binding", "obj", "=", "new", "sslcertkey_crldistribution_binding", "(", ")", ";", "obj", ".", "set_certkey", "(", "certkey", ")", ";", "options", "option", "=", "new", "options", "(", ")", ";", "option", ".", "set_count", "(", "true", ")", ";", "sslcertkey_crldistribution_binding", "response", "[", "]", "=", "(", "sslcertkey_crldistribution_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ",", "option", ")", ";", "if", "(", "response", "!=", "null", ")", "{", "return", "response", "[", "0", "]", ".", "__count", ";", "}", "return", "0", ";", "}" ]
Use this API to count sslcertkey_crldistribution_binding resources configued on NetScaler.
[ "Use", "this", "API", "to", "count", "sslcertkey_crldistribution_binding", "resources", "configued", "on", "NetScaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey_crldistribution_binding.java#L201-L211
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cluster/clustersync.java
clustersync.Force
public static base_response Force(nitro_service client, clustersync resource) throws Exception { clustersync Forceresource = new clustersync(); return Forceresource.perform_operation(client,"Force"); }
java
public static base_response Force(nitro_service client, clustersync resource) throws Exception { clustersync Forceresource = new clustersync(); return Forceresource.perform_operation(client,"Force"); }
[ "public", "static", "base_response", "Force", "(", "nitro_service", "client", ",", "clustersync", "resource", ")", "throws", "Exception", "{", "clustersync", "Forceresource", "=", "new", "clustersync", "(", ")", ";", "return", "Forceresource", ".", "perform_operation", "(", "client", ",", "\"Force\"", ")", ";", "}" ]
Use this API to Force clustersync.
[ "Use", "this", "API", "to", "Force", "clustersync", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cluster/clustersync.java#L75-L78
train
aerogear/aerogear-android-pipe
library/src/main/java/org/jboss/aerogear/android/pipe/rest/RestAdapter.java
RestAdapter.computePagedList
private List<T> computePagedList(List<T> result, HeaderAndBody httpResponse, JSONObject where, Pipe<T> requestingPipe) { ReadFilter previousRead = null; ReadFilter nextRead = null; if (PageConfig.MetadataLocations.WEB_LINKING.equals(pageConfig.getMetadataLocation())) { String webLinksRaw = ""; final String relHeader = "rel"; final String nextIdentifier = pageConfig.getNextIdentifier(); final String prevIdentifier = pageConfig.getPreviousIdentifier(); try { webLinksRaw = getWebLinkHeader(httpResponse); if (webLinksRaw == null) { // no paging, return result return result; } List<WebLink> webLinksParsed = WebLinkParser.parse(webLinksRaw); for (WebLink link : webLinksParsed) { if (nextIdentifier.equals(link.getParameters().get(relHeader))) { nextRead = new ReadFilter(); nextRead.setLinkUri(new URI(link.getUri())); } else if (prevIdentifier.equals(link.getParameters().get(relHeader))) { previousRead = new ReadFilter(); previousRead.setLinkUri(new URI(link.getUri())); } } } catch (URISyntaxException ex) { Log.e(TAG, webLinksRaw + " did not contain a valid context URI", ex); throw new RuntimeException(ex); } catch (ParseException ex) { Log.e(TAG, webLinksRaw + " could not be parsed as a web link header", ex); throw new RuntimeException(ex); } } else if (pageConfig.getMetadataLocation().equals(PageConfig.MetadataLocations.HEADERS)) { nextRead = pageConfig.getPageParameterExtractor().getNextFilter(httpResponse, RestAdapter.this.pageConfig); previousRead = pageConfig.getPageParameterExtractor().getPreviousFilter(httpResponse, RestAdapter.this.pageConfig); } else if (pageConfig.getMetadataLocation().equals(PageConfig.MetadataLocations.BODY)) { nextRead = pageConfig.getPageParameterExtractor().getNextFilter(httpResponse, RestAdapter.this.pageConfig); previousRead = pageConfig.getPageParameterExtractor().getPreviousFilter(httpResponse, RestAdapter.this.pageConfig); } else { throw new IllegalStateException("Not supported"); } if (nextRead != null) { nextRead.setWhere(where); } if (previousRead != null) { previousRead.setWhere(where); } return new WrappingPagedList<T>(requestingPipe, result, nextRead, previousRead); }
java
private List<T> computePagedList(List<T> result, HeaderAndBody httpResponse, JSONObject where, Pipe<T> requestingPipe) { ReadFilter previousRead = null; ReadFilter nextRead = null; if (PageConfig.MetadataLocations.WEB_LINKING.equals(pageConfig.getMetadataLocation())) { String webLinksRaw = ""; final String relHeader = "rel"; final String nextIdentifier = pageConfig.getNextIdentifier(); final String prevIdentifier = pageConfig.getPreviousIdentifier(); try { webLinksRaw = getWebLinkHeader(httpResponse); if (webLinksRaw == null) { // no paging, return result return result; } List<WebLink> webLinksParsed = WebLinkParser.parse(webLinksRaw); for (WebLink link : webLinksParsed) { if (nextIdentifier.equals(link.getParameters().get(relHeader))) { nextRead = new ReadFilter(); nextRead.setLinkUri(new URI(link.getUri())); } else if (prevIdentifier.equals(link.getParameters().get(relHeader))) { previousRead = new ReadFilter(); previousRead.setLinkUri(new URI(link.getUri())); } } } catch (URISyntaxException ex) { Log.e(TAG, webLinksRaw + " did not contain a valid context URI", ex); throw new RuntimeException(ex); } catch (ParseException ex) { Log.e(TAG, webLinksRaw + " could not be parsed as a web link header", ex); throw new RuntimeException(ex); } } else if (pageConfig.getMetadataLocation().equals(PageConfig.MetadataLocations.HEADERS)) { nextRead = pageConfig.getPageParameterExtractor().getNextFilter(httpResponse, RestAdapter.this.pageConfig); previousRead = pageConfig.getPageParameterExtractor().getPreviousFilter(httpResponse, RestAdapter.this.pageConfig); } else if (pageConfig.getMetadataLocation().equals(PageConfig.MetadataLocations.BODY)) { nextRead = pageConfig.getPageParameterExtractor().getNextFilter(httpResponse, RestAdapter.this.pageConfig); previousRead = pageConfig.getPageParameterExtractor().getPreviousFilter(httpResponse, RestAdapter.this.pageConfig); } else { throw new IllegalStateException("Not supported"); } if (nextRead != null) { nextRead.setWhere(where); } if (previousRead != null) { previousRead.setWhere(where); } return new WrappingPagedList<T>(requestingPipe, result, nextRead, previousRead); }
[ "private", "List", "<", "T", ">", "computePagedList", "(", "List", "<", "T", ">", "result", ",", "HeaderAndBody", "httpResponse", ",", "JSONObject", "where", ",", "Pipe", "<", "T", ">", "requestingPipe", ")", "{", "ReadFilter", "previousRead", "=", "null", ";", "ReadFilter", "nextRead", "=", "null", ";", "if", "(", "PageConfig", ".", "MetadataLocations", ".", "WEB_LINKING", ".", "equals", "(", "pageConfig", ".", "getMetadataLocation", "(", ")", ")", ")", "{", "String", "webLinksRaw", "=", "\"\"", ";", "final", "String", "relHeader", "=", "\"rel\"", ";", "final", "String", "nextIdentifier", "=", "pageConfig", ".", "getNextIdentifier", "(", ")", ";", "final", "String", "prevIdentifier", "=", "pageConfig", ".", "getPreviousIdentifier", "(", ")", ";", "try", "{", "webLinksRaw", "=", "getWebLinkHeader", "(", "httpResponse", ")", ";", "if", "(", "webLinksRaw", "==", "null", ")", "{", "// no paging, return result", "return", "result", ";", "}", "List", "<", "WebLink", ">", "webLinksParsed", "=", "WebLinkParser", ".", "parse", "(", "webLinksRaw", ")", ";", "for", "(", "WebLink", "link", ":", "webLinksParsed", ")", "{", "if", "(", "nextIdentifier", ".", "equals", "(", "link", ".", "getParameters", "(", ")", ".", "get", "(", "relHeader", ")", ")", ")", "{", "nextRead", "=", "new", "ReadFilter", "(", ")", ";", "nextRead", ".", "setLinkUri", "(", "new", "URI", "(", "link", ".", "getUri", "(", ")", ")", ")", ";", "}", "else", "if", "(", "prevIdentifier", ".", "equals", "(", "link", ".", "getParameters", "(", ")", ".", "get", "(", "relHeader", ")", ")", ")", "{", "previousRead", "=", "new", "ReadFilter", "(", ")", ";", "previousRead", ".", "setLinkUri", "(", "new", "URI", "(", "link", ".", "getUri", "(", ")", ")", ")", ";", "}", "}", "}", "catch", "(", "URISyntaxException", "ex", ")", "{", "Log", ".", "e", "(", "TAG", ",", "webLinksRaw", "+", "\" did not contain a valid context URI\"", ",", "ex", ")", ";", "throw", "new", "RuntimeException", "(", "ex", ")", ";", "}", "catch", "(", "ParseException", "ex", ")", "{", "Log", ".", "e", "(", "TAG", ",", "webLinksRaw", "+", "\" could not be parsed as a web link header\"", ",", "ex", ")", ";", "throw", "new", "RuntimeException", "(", "ex", ")", ";", "}", "}", "else", "if", "(", "pageConfig", ".", "getMetadataLocation", "(", ")", ".", "equals", "(", "PageConfig", ".", "MetadataLocations", ".", "HEADERS", ")", ")", "{", "nextRead", "=", "pageConfig", ".", "getPageParameterExtractor", "(", ")", ".", "getNextFilter", "(", "httpResponse", ",", "RestAdapter", ".", "this", ".", "pageConfig", ")", ";", "previousRead", "=", "pageConfig", ".", "getPageParameterExtractor", "(", ")", ".", "getPreviousFilter", "(", "httpResponse", ",", "RestAdapter", ".", "this", ".", "pageConfig", ")", ";", "}", "else", "if", "(", "pageConfig", ".", "getMetadataLocation", "(", ")", ".", "equals", "(", "PageConfig", ".", "MetadataLocations", ".", "BODY", ")", ")", "{", "nextRead", "=", "pageConfig", ".", "getPageParameterExtractor", "(", ")", ".", "getNextFilter", "(", "httpResponse", ",", "RestAdapter", ".", "this", ".", "pageConfig", ")", ";", "previousRead", "=", "pageConfig", ".", "getPageParameterExtractor", "(", ")", ".", "getPreviousFilter", "(", "httpResponse", ",", "RestAdapter", ".", "this", ".", "pageConfig", ")", ";", "}", "else", "{", "throw", "new", "IllegalStateException", "(", "\"Not supported\"", ")", ";", "}", "if", "(", "nextRead", "!=", "null", ")", "{", "nextRead", ".", "setWhere", "(", "where", ")", ";", "}", "if", "(", "previousRead", "!=", "null", ")", "{", "previousRead", ".", "setWhere", "(", "where", ")", ";", "}", "return", "new", "WrappingPagedList", "<", "T", ">", "(", "requestingPipe", ",", "result", ",", "nextRead", ",", "previousRead", ")", ";", "}" ]
This method checks for paging information and returns the appropriate data @param result @param httpResponse @param where @return a {@link WrappingPagedList} if there is paging, result if not.
[ "This", "method", "checks", "for", "paging", "information", "and", "returns", "the", "appropriate", "data" ]
ac747965c2d06d6ad46dd8abfbabf3d793f06fa5
https://github.com/aerogear/aerogear-android-pipe/blob/ac747965c2d06d6ad46dd8abfbabf3d793f06fa5/library/src/main/java/org/jboss/aerogear/android/pipe/rest/RestAdapter.java#L315-L365
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/ipset_nsip6_binding.java
ipset_nsip6_binding.get
public static ipset_nsip6_binding[] get(nitro_service service, String name) throws Exception{ ipset_nsip6_binding obj = new ipset_nsip6_binding(); obj.set_name(name); ipset_nsip6_binding response[] = (ipset_nsip6_binding[]) obj.get_resources(service); return response; }
java
public static ipset_nsip6_binding[] get(nitro_service service, String name) throws Exception{ ipset_nsip6_binding obj = new ipset_nsip6_binding(); obj.set_name(name); ipset_nsip6_binding response[] = (ipset_nsip6_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "ipset_nsip6_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "ipset_nsip6_binding", "obj", "=", "new", "ipset_nsip6_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "ipset_nsip6_binding", "response", "[", "]", "=", "(", "ipset_nsip6_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch ipset_nsip6_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "ipset_nsip6_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/ipset_nsip6_binding.java#L154-L159
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstimer_binding.java
nstimer_binding.get
public static nstimer_binding get(nitro_service service, String name) throws Exception{ nstimer_binding obj = new nstimer_binding(); obj.set_name(name); nstimer_binding response = (nstimer_binding) obj.get_resource(service); return response; }
java
public static nstimer_binding get(nitro_service service, String name) throws Exception{ nstimer_binding obj = new nstimer_binding(); obj.set_name(name); nstimer_binding response = (nstimer_binding) obj.get_resource(service); return response; }
[ "public", "static", "nstimer_binding", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "nstimer_binding", "obj", "=", "new", "nstimer_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "nstimer_binding", "response", "=", "(", "nstimer_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch nstimer_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "nstimer_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nstimer_binding.java#L103-L108
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicylabel_binding.java
responderpolicylabel_binding.get
public static responderpolicylabel_binding get(nitro_service service, String labelname) throws Exception{ responderpolicylabel_binding obj = new responderpolicylabel_binding(); obj.set_labelname(labelname); responderpolicylabel_binding response = (responderpolicylabel_binding) obj.get_resource(service); return response; }
java
public static responderpolicylabel_binding get(nitro_service service, String labelname) throws Exception{ responderpolicylabel_binding obj = new responderpolicylabel_binding(); obj.set_labelname(labelname); responderpolicylabel_binding response = (responderpolicylabel_binding) obj.get_resource(service); return response; }
[ "public", "static", "responderpolicylabel_binding", "get", "(", "nitro_service", "service", ",", "String", "labelname", ")", "throws", "Exception", "{", "responderpolicylabel_binding", "obj", "=", "new", "responderpolicylabel_binding", "(", ")", ";", "obj", ".", "set_labelname", "(", "labelname", ")", ";", "responderpolicylabel_binding", "response", "=", "(", "responderpolicylabel_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch responderpolicylabel_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "responderpolicylabel_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicylabel_binding.java#L114-L119
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filterglobal_filterpolicy_binding.java
filterglobal_filterpolicy_binding.get
public static filterglobal_filterpolicy_binding[] get(nitro_service service) throws Exception{ filterglobal_filterpolicy_binding obj = new filterglobal_filterpolicy_binding(); filterglobal_filterpolicy_binding response[] = (filterglobal_filterpolicy_binding[]) obj.get_resources(service); return response; }
java
public static filterglobal_filterpolicy_binding[] get(nitro_service service) throws Exception{ filterglobal_filterpolicy_binding obj = new filterglobal_filterpolicy_binding(); filterglobal_filterpolicy_binding response[] = (filterglobal_filterpolicy_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "filterglobal_filterpolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "filterglobal_filterpolicy_binding", "obj", "=", "new", "filterglobal_filterpolicy_binding", "(", ")", ";", "filterglobal_filterpolicy_binding", "response", "[", "]", "=", "(", "filterglobal_filterpolicy_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch a filterglobal_filterpolicy_binding resources.
[ "Use", "this", "API", "to", "fetch", "a", "filterglobal_filterpolicy_binding", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filterglobal_filterpolicy_binding.java#L182-L186
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/stream/streamidentifier_stats.java
streamidentifier_stats.get
public static streamidentifier_stats get(nitro_service service, String name) throws Exception{ streamidentifier_stats obj = new streamidentifier_stats(); obj.set_name(name); streamidentifier_stats response = (streamidentifier_stats) obj.stat_resource(service); return response; }
java
public static streamidentifier_stats get(nitro_service service, String name) throws Exception{ streamidentifier_stats obj = new streamidentifier_stats(); obj.set_name(name); streamidentifier_stats response = (streamidentifier_stats) obj.stat_resource(service); return response; }
[ "public", "static", "streamidentifier_stats", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "streamidentifier_stats", "obj", "=", "new", "streamidentifier_stats", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "streamidentifier_stats", "response", "=", "(", "streamidentifier_stats", ")", "obj", ".", "stat_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch statistics of streamidentifier_stats resource of given name .
[ "Use", "this", "API", "to", "fetch", "statistics", "of", "streamidentifier_stats", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/stream/streamidentifier_stats.java#L252-L257
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/basic/configstatus.java
configstatus.get
public static configstatus[] get(nitro_service service) throws Exception{ configstatus obj = new configstatus(); configstatus[] response = (configstatus[])obj.get_resources(service); return response; }
java
public static configstatus[] get(nitro_service service) throws Exception{ configstatus obj = new configstatus(); configstatus[] response = (configstatus[])obj.get_resources(service); return response; }
[ "public", "static", "configstatus", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "configstatus", "obj", "=", "new", "configstatus", "(", ")", ";", "configstatus", "[", "]", "response", "=", "(", "configstatus", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the configstatus resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "configstatus", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/configstatus.java#L127-L131
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java
dnspolicylabel.add
public static base_response add(nitro_service client, dnspolicylabel resource) throws Exception { dnspolicylabel addresource = new dnspolicylabel(); addresource.labelname = resource.labelname; addresource.transform = resource.transform; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, dnspolicylabel resource) throws Exception { dnspolicylabel addresource = new dnspolicylabel(); addresource.labelname = resource.labelname; addresource.transform = resource.transform; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "dnspolicylabel", "resource", ")", "throws", "Exception", "{", "dnspolicylabel", "addresource", "=", "new", "dnspolicylabel", "(", ")", ";", "addresource", ".", "labelname", "=", "resource", ".", "labelname", ";", "addresource", ".", "transform", "=", "resource", ".", "transform", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add dnspolicylabel.
[ "Use", "this", "API", "to", "add", "dnspolicylabel", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java#L224-L229
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java
dnspolicylabel.add
public static base_responses add(nitro_service client, dnspolicylabel resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnspolicylabel addresources[] = new dnspolicylabel[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnspolicylabel(); addresources[i].labelname = resources[i].labelname; addresources[i].transform = resources[i].transform; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, dnspolicylabel resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnspolicylabel addresources[] = new dnspolicylabel[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnspolicylabel(); addresources[i].labelname = resources[i].labelname; addresources[i].transform = resources[i].transform; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "dnspolicylabel", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "dnspolicylabel", "addresources", "[", "]", "=", "new", "dnspolicylabel", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "dnspolicylabel", "(", ")", ";", "addresources", "[", "i", "]", ".", "labelname", "=", "resources", "[", "i", "]", ".", "labelname", ";", "addresources", "[", "i", "]", ".", "transform", "=", "resources", "[", "i", "]", ".", "transform", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add dnspolicylabel resources.
[ "Use", "this", "API", "to", "add", "dnspolicylabel", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java#L234-L246
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java
dnspolicylabel.delete
public static base_response delete(nitro_service client, String labelname) throws Exception { dnspolicylabel deleteresource = new dnspolicylabel(); deleteresource.labelname = labelname; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, String labelname) throws Exception { dnspolicylabel deleteresource = new dnspolicylabel(); deleteresource.labelname = labelname; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "String", "labelname", ")", "throws", "Exception", "{", "dnspolicylabel", "deleteresource", "=", "new", "dnspolicylabel", "(", ")", ";", "deleteresource", ".", "labelname", "=", "labelname", ";", "return", "deleteresource", ".", "delete_resource", "(", "client", ")", ";", "}" ]
Use this API to delete dnspolicylabel of given name.
[ "Use", "this", "API", "to", "delete", "dnspolicylabel", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java#L251-L255
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java
dnspolicylabel.get
public static dnspolicylabel[] get(nitro_service service) throws Exception{ dnspolicylabel obj = new dnspolicylabel(); dnspolicylabel[] response = (dnspolicylabel[])obj.get_resources(service); return response; }
java
public static dnspolicylabel[] get(nitro_service service) throws Exception{ dnspolicylabel obj = new dnspolicylabel(); dnspolicylabel[] response = (dnspolicylabel[])obj.get_resources(service); return response; }
[ "public", "static", "dnspolicylabel", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "dnspolicylabel", "obj", "=", "new", "dnspolicylabel", "(", ")", ";", "dnspolicylabel", "[", "]", "response", "=", "(", "dnspolicylabel", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the dnspolicylabel resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "dnspolicylabel", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java#L319-L323
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java
dnspolicylabel.get
public static dnspolicylabel get(nitro_service service, String labelname) throws Exception{ dnspolicylabel obj = new dnspolicylabel(); obj.set_labelname(labelname); dnspolicylabel response = (dnspolicylabel) obj.get_resource(service); return response; }
java
public static dnspolicylabel get(nitro_service service, String labelname) throws Exception{ dnspolicylabel obj = new dnspolicylabel(); obj.set_labelname(labelname); dnspolicylabel response = (dnspolicylabel) obj.get_resource(service); return response; }
[ "public", "static", "dnspolicylabel", "get", "(", "nitro_service", "service", ",", "String", "labelname", ")", "throws", "Exception", "{", "dnspolicylabel", "obj", "=", "new", "dnspolicylabel", "(", ")", ";", "obj", ".", "set_labelname", "(", "labelname", ")", ";", "dnspolicylabel", "response", "=", "(", "dnspolicylabel", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch dnspolicylabel resource of given name .
[ "Use", "this", "API", "to", "fetch", "dnspolicylabel", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnspolicylabel.java#L335-L340
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditsyslogpolicy_systemglobal_binding.java
auditsyslogpolicy_systemglobal_binding.get
public static auditsyslogpolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{ auditsyslogpolicy_systemglobal_binding obj = new auditsyslogpolicy_systemglobal_binding(); obj.set_name(name); auditsyslogpolicy_systemglobal_binding response[] = (auditsyslogpolicy_systemglobal_binding[]) obj.get_resources(service); return response; }
java
public static auditsyslogpolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{ auditsyslogpolicy_systemglobal_binding obj = new auditsyslogpolicy_systemglobal_binding(); obj.set_name(name); auditsyslogpolicy_systemglobal_binding response[] = (auditsyslogpolicy_systemglobal_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "auditsyslogpolicy_systemglobal_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "auditsyslogpolicy_systemglobal_binding", "obj", "=", "new", "auditsyslogpolicy_systemglobal_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "auditsyslogpolicy_systemglobal_binding", "response", "[", "]", "=", "(", "auditsyslogpolicy_systemglobal_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch auditsyslogpolicy_systemglobal_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "auditsyslogpolicy_systemglobal_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditsyslogpolicy_systemglobal_binding.java#L132-L137
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.add
public static base_response add(nitro_service client, sslcertkey resource) throws Exception { sslcertkey addresource = new sslcertkey(); addresource.certkey = resource.certkey; addresource.cert = resource.cert; addresource.key = resource.key; addresource.password = resource.password; addresource.fipskey = resource.fipskey; addresource.inform = resource.inform; addresource.passplain = resource.passplain; addresource.expirymonitor = resource.expirymonitor; addresource.notificationperiod = resource.notificationperiod; addresource.bundle = resource.bundle; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, sslcertkey resource) throws Exception { sslcertkey addresource = new sslcertkey(); addresource.certkey = resource.certkey; addresource.cert = resource.cert; addresource.key = resource.key; addresource.password = resource.password; addresource.fipskey = resource.fipskey; addresource.inform = resource.inform; addresource.passplain = resource.passplain; addresource.expirymonitor = resource.expirymonitor; addresource.notificationperiod = resource.notificationperiod; addresource.bundle = resource.bundle; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "sslcertkey", "resource", ")", "throws", "Exception", "{", "sslcertkey", "addresource", "=", "new", "sslcertkey", "(", ")", ";", "addresource", ".", "certkey", "=", "resource", ".", "certkey", ";", "addresource", ".", "cert", "=", "resource", ".", "cert", ";", "addresource", ".", "key", "=", "resource", ".", "key", ";", "addresource", ".", "password", "=", "resource", ".", "password", ";", "addresource", ".", "fipskey", "=", "resource", ".", "fipskey", ";", "addresource", ".", "inform", "=", "resource", ".", "inform", ";", "addresource", ".", "passplain", "=", "resource", ".", "passplain", ";", "addresource", ".", "expirymonitor", "=", "resource", ".", "expirymonitor", ";", "addresource", ".", "notificationperiod", "=", "resource", ".", "notificationperiod", ";", "addresource", ".", "bundle", "=", "resource", ".", "bundle", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add sslcertkey.
[ "Use", "this", "API", "to", "add", "sslcertkey", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L492-L505
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.add
public static base_responses add(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey addresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new sslcertkey(); addresources[i].certkey = resources[i].certkey; addresources[i].cert = resources[i].cert; addresources[i].key = resources[i].key; addresources[i].password = resources[i].password; addresources[i].fipskey = resources[i].fipskey; addresources[i].inform = resources[i].inform; addresources[i].passplain = resources[i].passplain; addresources[i].expirymonitor = resources[i].expirymonitor; addresources[i].notificationperiod = resources[i].notificationperiod; addresources[i].bundle = resources[i].bundle; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey addresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new sslcertkey(); addresources[i].certkey = resources[i].certkey; addresources[i].cert = resources[i].cert; addresources[i].key = resources[i].key; addresources[i].password = resources[i].password; addresources[i].fipskey = resources[i].fipskey; addresources[i].inform = resources[i].inform; addresources[i].passplain = resources[i].passplain; addresources[i].expirymonitor = resources[i].expirymonitor; addresources[i].notificationperiod = resources[i].notificationperiod; addresources[i].bundle = resources[i].bundle; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "sslcertkey", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "sslcertkey", "addresources", "[", "]", "=", "new", "sslcertkey", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "sslcertkey", "(", ")", ";", "addresources", "[", "i", "]", ".", "certkey", "=", "resources", "[", "i", "]", ".", "certkey", ";", "addresources", "[", "i", "]", ".", "cert", "=", "resources", "[", "i", "]", ".", "cert", ";", "addresources", "[", "i", "]", ".", "key", "=", "resources", "[", "i", "]", ".", "key", ";", "addresources", "[", "i", "]", ".", "password", "=", "resources", "[", "i", "]", ".", "password", ";", "addresources", "[", "i", "]", ".", "fipskey", "=", "resources", "[", "i", "]", ".", "fipskey", ";", "addresources", "[", "i", "]", ".", "inform", "=", "resources", "[", "i", "]", ".", "inform", ";", "addresources", "[", "i", "]", ".", "passplain", "=", "resources", "[", "i", "]", ".", "passplain", ";", "addresources", "[", "i", "]", ".", "expirymonitor", "=", "resources", "[", "i", "]", ".", "expirymonitor", ";", "addresources", "[", "i", "]", ".", "notificationperiod", "=", "resources", "[", "i", "]", ".", "notificationperiod", ";", "addresources", "[", "i", "]", ".", "bundle", "=", "resources", "[", "i", "]", ".", "bundle", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add sslcertkey resources.
[ "Use", "this", "API", "to", "add", "sslcertkey", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L510-L530
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.delete
public static base_response delete(nitro_service client, sslcertkey resource) throws Exception { sslcertkey deleteresource = new sslcertkey(); deleteresource.certkey = resource.certkey; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, sslcertkey resource) throws Exception { sslcertkey deleteresource = new sslcertkey(); deleteresource.certkey = resource.certkey; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "sslcertkey", "resource", ")", "throws", "Exception", "{", "sslcertkey", "deleteresource", "=", "new", "sslcertkey", "(", ")", ";", "deleteresource", ".", "certkey", "=", "resource", ".", "certkey", ";", "return", "deleteresource", ".", "delete_resource", "(", "client", ")", ";", "}" ]
Use this API to delete sslcertkey.
[ "Use", "this", "API", "to", "delete", "sslcertkey", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L544-L548
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.delete
public static base_responses delete(nitro_service client, String certkey[]) throws Exception { base_responses result = null; if (certkey != null && certkey.length > 0) { sslcertkey deleteresources[] = new sslcertkey[certkey.length]; for (int i=0;i<certkey.length;i++){ deleteresources[i] = new sslcertkey(); deleteresources[i].certkey = certkey[i]; } result = delete_bulk_request(client, deleteresources); } return result; }
java
public static base_responses delete(nitro_service client, String certkey[]) throws Exception { base_responses result = null; if (certkey != null && certkey.length > 0) { sslcertkey deleteresources[] = new sslcertkey[certkey.length]; for (int i=0;i<certkey.length;i++){ deleteresources[i] = new sslcertkey(); deleteresources[i].certkey = certkey[i]; } result = delete_bulk_request(client, deleteresources); } return result; }
[ "public", "static", "base_responses", "delete", "(", "nitro_service", "client", ",", "String", "certkey", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "certkey", "!=", "null", "&&", "certkey", ".", "length", ">", "0", ")", "{", "sslcertkey", "deleteresources", "[", "]", "=", "new", "sslcertkey", "[", "certkey", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "certkey", ".", "length", ";", "i", "++", ")", "{", "deleteresources", "[", "i", "]", "=", "new", "sslcertkey", "(", ")", ";", "deleteresources", "[", "i", "]", ".", "certkey", "=", "certkey", "[", "i", "]", ";", "}", "result", "=", "delete_bulk_request", "(", "client", ",", "deleteresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to delete sslcertkey resources of given names.
[ "Use", "this", "API", "to", "delete", "sslcertkey", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L553-L564
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.update
public static base_response update(nitro_service client, sslcertkey resource) throws Exception { sslcertkey updateresource = new sslcertkey(); updateresource.certkey = resource.certkey; updateresource.expirymonitor = resource.expirymonitor; updateresource.notificationperiod = resource.notificationperiod; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, sslcertkey resource) throws Exception { sslcertkey updateresource = new sslcertkey(); updateresource.certkey = resource.certkey; updateresource.expirymonitor = resource.expirymonitor; updateresource.notificationperiod = resource.notificationperiod; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "sslcertkey", "resource", ")", "throws", "Exception", "{", "sslcertkey", "updateresource", "=", "new", "sslcertkey", "(", ")", ";", "updateresource", ".", "certkey", "=", "resource", ".", "certkey", ";", "updateresource", ".", "expirymonitor", "=", "resource", ".", "expirymonitor", ";", "updateresource", ".", "notificationperiod", "=", "resource", ".", "notificationperiod", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update sslcertkey.
[ "Use", "this", "API", "to", "update", "sslcertkey", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L585-L591
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.update
public static base_responses update(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey updateresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new sslcertkey(); updateresources[i].certkey = resources[i].certkey; updateresources[i].expirymonitor = resources[i].expirymonitor; updateresources[i].notificationperiod = resources[i].notificationperiod; } result = update_bulk_request(client, updateresources); } return result; }
java
public static base_responses update(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey updateresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new sslcertkey(); updateresources[i].certkey = resources[i].certkey; updateresources[i].expirymonitor = resources[i].expirymonitor; updateresources[i].notificationperiod = resources[i].notificationperiod; } result = update_bulk_request(client, updateresources); } return result; }
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "sslcertkey", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "sslcertkey", "updateresources", "[", "]", "=", "new", "sslcertkey", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "updateresources", "[", "i", "]", "=", "new", "sslcertkey", "(", ")", ";", "updateresources", "[", "i", "]", ".", "certkey", "=", "resources", "[", "i", "]", ".", "certkey", ";", "updateresources", "[", "i", "]", ".", "expirymonitor", "=", "resources", "[", "i", "]", ".", "expirymonitor", ";", "updateresources", "[", "i", "]", ".", "notificationperiod", "=", "resources", "[", "i", "]", ".", "notificationperiod", ";", "}", "result", "=", "update_bulk_request", "(", "client", ",", "updateresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to update sslcertkey resources.
[ "Use", "this", "API", "to", "update", "sslcertkey", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L596-L609
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.unset
public static base_response unset(nitro_service client, sslcertkey resource, String[] args) throws Exception{ sslcertkey unsetresource = new sslcertkey(); unsetresource.certkey = resource.certkey; return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, sslcertkey resource, String[] args) throws Exception{ sslcertkey unsetresource = new sslcertkey(); unsetresource.certkey = resource.certkey; return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "sslcertkey", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "sslcertkey", "unsetresource", "=", "new", "sslcertkey", "(", ")", ";", "unsetresource", ".", "certkey", "=", "resource", ".", "certkey", ";", "return", "unsetresource", ".", "unset_resource", "(", "client", ",", "args", ")", ";", "}" ]
Use this API to unset the properties of sslcertkey resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "sslcertkey", "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/ssl/sslcertkey.java#L615-L619
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.unset
public static base_responses unset(nitro_service client, String certkey[], String args[]) throws Exception { base_responses result = null; if (certkey != null && certkey.length > 0) { sslcertkey unsetresources[] = new sslcertkey[certkey.length]; for (int i=0;i<certkey.length;i++){ unsetresources[i] = new sslcertkey(); unsetresources[i].certkey = certkey[i]; } result = unset_bulk_request(client, unsetresources,args); } return result; }
java
public static base_responses unset(nitro_service client, String certkey[], String args[]) throws Exception { base_responses result = null; if (certkey != null && certkey.length > 0) { sslcertkey unsetresources[] = new sslcertkey[certkey.length]; for (int i=0;i<certkey.length;i++){ unsetresources[i] = new sslcertkey(); unsetresources[i].certkey = certkey[i]; } result = unset_bulk_request(client, unsetresources,args); } return result; }
[ "public", "static", "base_responses", "unset", "(", "nitro_service", "client", ",", "String", "certkey", "[", "]", ",", "String", "args", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "certkey", "!=", "null", "&&", "certkey", ".", "length", ">", "0", ")", "{", "sslcertkey", "unsetresources", "[", "]", "=", "new", "sslcertkey", "[", "certkey", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "certkey", ".", "length", ";", "i", "++", ")", "{", "unsetresources", "[", "i", "]", "=", "new", "sslcertkey", "(", ")", ";", "unsetresources", "[", "i", "]", ".", "certkey", "=", "certkey", "[", "i", "]", ";", "}", "result", "=", "unset_bulk_request", "(", "client", ",", "unsetresources", ",", "args", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to unset the properties of sslcertkey resources. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "sslcertkey", "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/ssl/sslcertkey.java#L625-L636
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.link
public static base_response link(nitro_service client, sslcertkey resource) throws Exception { sslcertkey linkresource = new sslcertkey(); linkresource.certkey = resource.certkey; linkresource.linkcertkeyname = resource.linkcertkeyname; return linkresource.perform_operation(client,"link"); }
java
public static base_response link(nitro_service client, sslcertkey resource) throws Exception { sslcertkey linkresource = new sslcertkey(); linkresource.certkey = resource.certkey; linkresource.linkcertkeyname = resource.linkcertkeyname; return linkresource.perform_operation(client,"link"); }
[ "public", "static", "base_response", "link", "(", "nitro_service", "client", ",", "sslcertkey", "resource", ")", "throws", "Exception", "{", "sslcertkey", "linkresource", "=", "new", "sslcertkey", "(", ")", ";", "linkresource", ".", "certkey", "=", "resource", ".", "certkey", ";", "linkresource", ".", "linkcertkeyname", "=", "resource", ".", "linkcertkeyname", ";", "return", "linkresource", ".", "perform_operation", "(", "client", ",", "\"link\"", ")", ";", "}" ]
Use this API to link sslcertkey.
[ "Use", "this", "API", "to", "link", "sslcertkey", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L658-L663
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.link
public static base_responses link(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey linkresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ linkresources[i] = new sslcertkey(); linkresources[i].certkey = resources[i].certkey; linkresources[i].linkcertkeyname = resources[i].linkcertkeyname; } result = perform_operation_bulk_request(client, linkresources,"link"); } return result; }
java
public static base_responses link(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey linkresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ linkresources[i] = new sslcertkey(); linkresources[i].certkey = resources[i].certkey; linkresources[i].linkcertkeyname = resources[i].linkcertkeyname; } result = perform_operation_bulk_request(client, linkresources,"link"); } return result; }
[ "public", "static", "base_responses", "link", "(", "nitro_service", "client", ",", "sslcertkey", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "sslcertkey", "linkresources", "[", "]", "=", "new", "sslcertkey", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "linkresources", "[", "i", "]", "=", "new", "sslcertkey", "(", ")", ";", "linkresources", "[", "i", "]", ".", "certkey", "=", "resources", "[", "i", "]", ".", "certkey", ";", "linkresources", "[", "i", "]", ".", "linkcertkeyname", "=", "resources", "[", "i", "]", ".", "linkcertkeyname", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "linkresources", ",", "\"link\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to link sslcertkey resources.
[ "Use", "this", "API", "to", "link", "sslcertkey", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L668-L680
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.unlink
public static base_response unlink(nitro_service client, sslcertkey resource) throws Exception { sslcertkey unlinkresource = new sslcertkey(); unlinkresource.certkey = resource.certkey; return unlinkresource.perform_operation(client,"unlink"); }
java
public static base_response unlink(nitro_service client, sslcertkey resource) throws Exception { sslcertkey unlinkresource = new sslcertkey(); unlinkresource.certkey = resource.certkey; return unlinkresource.perform_operation(client,"unlink"); }
[ "public", "static", "base_response", "unlink", "(", "nitro_service", "client", ",", "sslcertkey", "resource", ")", "throws", "Exception", "{", "sslcertkey", "unlinkresource", "=", "new", "sslcertkey", "(", ")", ";", "unlinkresource", ".", "certkey", "=", "resource", ".", "certkey", ";", "return", "unlinkresource", ".", "perform_operation", "(", "client", ",", "\"unlink\"", ")", ";", "}" ]
Use this API to unlink sslcertkey.
[ "Use", "this", "API", "to", "unlink", "sslcertkey", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L685-L689
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.unlink
public static base_responses unlink(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey unlinkresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ unlinkresources[i] = new sslcertkey(); unlinkresources[i].certkey = resources[i].certkey; } result = perform_operation_bulk_request(client, unlinkresources,"unlink"); } return result; }
java
public static base_responses unlink(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey unlinkresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ unlinkresources[i] = new sslcertkey(); unlinkresources[i].certkey = resources[i].certkey; } result = perform_operation_bulk_request(client, unlinkresources,"unlink"); } return result; }
[ "public", "static", "base_responses", "unlink", "(", "nitro_service", "client", ",", "sslcertkey", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "sslcertkey", "unlinkresources", "[", "]", "=", "new", "sslcertkey", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "unlinkresources", "[", "i", "]", "=", "new", "sslcertkey", "(", ")", ";", "unlinkresources", "[", "i", "]", ".", "certkey", "=", "resources", "[", "i", "]", ".", "certkey", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "unlinkresources", ",", "\"unlink\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to unlink sslcertkey resources.
[ "Use", "this", "API", "to", "unlink", "sslcertkey", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L694-L705
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.change
public static base_response change(nitro_service client, sslcertkey resource) throws Exception { sslcertkey updateresource = new sslcertkey(); updateresource.certkey = resource.certkey; updateresource.cert = resource.cert; updateresource.key = resource.key; updateresource.password = resource.password; updateresource.fipskey = resource.fipskey; updateresource.inform = resource.inform; updateresource.passplain = resource.passplain; updateresource.nodomaincheck = resource.nodomaincheck; return updateresource.perform_operation(client,"update"); }
java
public static base_response change(nitro_service client, sslcertkey resource) throws Exception { sslcertkey updateresource = new sslcertkey(); updateresource.certkey = resource.certkey; updateresource.cert = resource.cert; updateresource.key = resource.key; updateresource.password = resource.password; updateresource.fipskey = resource.fipskey; updateresource.inform = resource.inform; updateresource.passplain = resource.passplain; updateresource.nodomaincheck = resource.nodomaincheck; return updateresource.perform_operation(client,"update"); }
[ "public", "static", "base_response", "change", "(", "nitro_service", "client", ",", "sslcertkey", "resource", ")", "throws", "Exception", "{", "sslcertkey", "updateresource", "=", "new", "sslcertkey", "(", ")", ";", "updateresource", ".", "certkey", "=", "resource", ".", "certkey", ";", "updateresource", ".", "cert", "=", "resource", ".", "cert", ";", "updateresource", ".", "key", "=", "resource", ".", "key", ";", "updateresource", ".", "password", "=", "resource", ".", "password", ";", "updateresource", ".", "fipskey", "=", "resource", ".", "fipskey", ";", "updateresource", ".", "inform", "=", "resource", ".", "inform", ";", "updateresource", ".", "passplain", "=", "resource", ".", "passplain", ";", "updateresource", ".", "nodomaincheck", "=", "resource", ".", "nodomaincheck", ";", "return", "updateresource", ".", "perform_operation", "(", "client", ",", "\"update\"", ")", ";", "}" ]
Use this API to change sslcertkey.
[ "Use", "this", "API", "to", "change", "sslcertkey", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L710-L721
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.change
public static base_responses change(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey updateresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new sslcertkey(); updateresources[i].certkey = resources[i].certkey; updateresources[i].cert = resources[i].cert; updateresources[i].key = resources[i].key; updateresources[i].password = resources[i].password; updateresources[i].fipskey = resources[i].fipskey; updateresources[i].inform = resources[i].inform; updateresources[i].passplain = resources[i].passplain; updateresources[i].nodomaincheck = resources[i].nodomaincheck; } result = perform_operation_bulk_request(client, updateresources,"update"); } return result; }
java
public static base_responses change(nitro_service client, sslcertkey resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { sslcertkey updateresources[] = new sslcertkey[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new sslcertkey(); updateresources[i].certkey = resources[i].certkey; updateresources[i].cert = resources[i].cert; updateresources[i].key = resources[i].key; updateresources[i].password = resources[i].password; updateresources[i].fipskey = resources[i].fipskey; updateresources[i].inform = resources[i].inform; updateresources[i].passplain = resources[i].passplain; updateresources[i].nodomaincheck = resources[i].nodomaincheck; } result = perform_operation_bulk_request(client, updateresources,"update"); } return result; }
[ "public", "static", "base_responses", "change", "(", "nitro_service", "client", ",", "sslcertkey", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "sslcertkey", "updateresources", "[", "]", "=", "new", "sslcertkey", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "updateresources", "[", "i", "]", "=", "new", "sslcertkey", "(", ")", ";", "updateresources", "[", "i", "]", ".", "certkey", "=", "resources", "[", "i", "]", ".", "certkey", ";", "updateresources", "[", "i", "]", ".", "cert", "=", "resources", "[", "i", "]", ".", "cert", ";", "updateresources", "[", "i", "]", ".", "key", "=", "resources", "[", "i", "]", ".", "key", ";", "updateresources", "[", "i", "]", ".", "password", "=", "resources", "[", "i", "]", ".", "password", ";", "updateresources", "[", "i", "]", ".", "fipskey", "=", "resources", "[", "i", "]", ".", "fipskey", ";", "updateresources", "[", "i", "]", ".", "inform", "=", "resources", "[", "i", "]", ".", "inform", ";", "updateresources", "[", "i", "]", ".", "passplain", "=", "resources", "[", "i", "]", ".", "passplain", ";", "updateresources", "[", "i", "]", ".", "nodomaincheck", "=", "resources", "[", "i", "]", ".", "nodomaincheck", ";", "}", "result", "=", "perform_operation_bulk_request", "(", "client", ",", "updateresources", ",", "\"update\"", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to change sslcertkey resources.
[ "Use", "this", "API", "to", "change", "sslcertkey", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L726-L744
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.get
public static sslcertkey[] get(nitro_service service) throws Exception{ sslcertkey obj = new sslcertkey(); sslcertkey[] response = (sslcertkey[])obj.get_resources(service); return response; }
java
public static sslcertkey[] get(nitro_service service) throws Exception{ sslcertkey obj = new sslcertkey(); sslcertkey[] response = (sslcertkey[])obj.get_resources(service); return response; }
[ "public", "static", "sslcertkey", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "sslcertkey", "obj", "=", "new", "sslcertkey", "(", ")", ";", "sslcertkey", "[", "]", "response", "=", "(", "sslcertkey", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the sslcertkey resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "sslcertkey", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L749-L753
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.get
public static sslcertkey get(nitro_service service, String certkey) throws Exception{ sslcertkey obj = new sslcertkey(); obj.set_certkey(certkey); sslcertkey response = (sslcertkey) obj.get_resource(service); return response; }
java
public static sslcertkey get(nitro_service service, String certkey) throws Exception{ sslcertkey obj = new sslcertkey(); obj.set_certkey(certkey); sslcertkey response = (sslcertkey) obj.get_resource(service); return response; }
[ "public", "static", "sslcertkey", "get", "(", "nitro_service", "service", ",", "String", "certkey", ")", "throws", "Exception", "{", "sslcertkey", "obj", "=", "new", "sslcertkey", "(", ")", ";", "obj", ".", "set_certkey", "(", "certkey", ")", ";", "sslcertkey", "response", "=", "(", "sslcertkey", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch sslcertkey resource of given name .
[ "Use", "this", "API", "to", "fetch", "sslcertkey", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L765-L770
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java
sslcertkey.get
public static sslcertkey[] get(nitro_service service, String certkey[]) throws Exception{ if (certkey !=null && certkey.length>0) { sslcertkey response[] = new sslcertkey[certkey.length]; sslcertkey obj[] = new sslcertkey[certkey.length]; for (int i=0;i<certkey.length;i++) { obj[i] = new sslcertkey(); obj[i].set_certkey(certkey[i]); response[i] = (sslcertkey) obj[i].get_resource(service); } return response; } return null; }
java
public static sslcertkey[] get(nitro_service service, String certkey[]) throws Exception{ if (certkey !=null && certkey.length>0) { sslcertkey response[] = new sslcertkey[certkey.length]; sslcertkey obj[] = new sslcertkey[certkey.length]; for (int i=0;i<certkey.length;i++) { obj[i] = new sslcertkey(); obj[i].set_certkey(certkey[i]); response[i] = (sslcertkey) obj[i].get_resource(service); } return response; } return null; }
[ "public", "static", "sslcertkey", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "certkey", "[", "]", ")", "throws", "Exception", "{", "if", "(", "certkey", "!=", "null", "&&", "certkey", ".", "length", ">", "0", ")", "{", "sslcertkey", "response", "[", "]", "=", "new", "sslcertkey", "[", "certkey", ".", "length", "]", ";", "sslcertkey", "obj", "[", "]", "=", "new", "sslcertkey", "[", "certkey", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "certkey", ".", "length", ";", "i", "++", ")", "{", "obj", "[", "i", "]", "=", "new", "sslcertkey", "(", ")", ";", "obj", "[", "i", "]", ".", "set_certkey", "(", "certkey", "[", "i", "]", ")", ";", "response", "[", "i", "]", "=", "(", "sslcertkey", ")", "obj", "[", "i", "]", ".", "get_resource", "(", "service", ")", ";", "}", "return", "response", ";", "}", "return", "null", ";", "}" ]
Use this API to fetch sslcertkey resources of given names .
[ "Use", "this", "API", "to", "fetch", "sslcertkey", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcertkey.java#L775-L787
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java
nsconfig.clear
public static base_response clear(nitro_service client, nsconfig resource) throws Exception { nsconfig clearresource = new nsconfig(); clearresource.force = resource.force; clearresource.level = resource.level; return clearresource.perform_operation(client,"clear"); }
java
public static base_response clear(nitro_service client, nsconfig resource) throws Exception { nsconfig clearresource = new nsconfig(); clearresource.force = resource.force; clearresource.level = resource.level; return clearresource.perform_operation(client,"clear"); }
[ "public", "static", "base_response", "clear", "(", "nitro_service", "client", ",", "nsconfig", "resource", ")", "throws", "Exception", "{", "nsconfig", "clearresource", "=", "new", "nsconfig", "(", ")", ";", "clearresource", ".", "force", "=", "resource", ".", "force", ";", "clearresource", ".", "level", "=", "resource", ".", "level", ";", "return", "clearresource", ".", "perform_operation", "(", "client", ",", "\"clear\"", ")", ";", "}" ]
Use this API to clear nsconfig.
[ "Use", "this", "API", "to", "clear", "nsconfig", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java#L885-L890
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java
nsconfig.update
public static base_response update(nitro_service client, nsconfig resource) throws Exception { nsconfig updateresource = new nsconfig(); updateresource.ipaddress = resource.ipaddress; updateresource.netmask = resource.netmask; updateresource.nsvlan = resource.nsvlan; updateresource.ifnum = resource.ifnum; updateresource.tagged = resource.tagged; updateresource.httpport = resource.httpport; updateresource.maxconn = resource.maxconn; updateresource.maxreq = resource.maxreq; updateresource.cip = resource.cip; updateresource.cipheader = resource.cipheader; updateresource.cookieversion = resource.cookieversion; updateresource.securecookie = resource.securecookie; updateresource.pmtumin = resource.pmtumin; updateresource.pmtutimeout = resource.pmtutimeout; updateresource.ftpportrange = resource.ftpportrange; updateresource.crportrange = resource.crportrange; updateresource.timezone = resource.timezone; updateresource.grantquotamaxclient = resource.grantquotamaxclient; updateresource.exclusivequotamaxclient = resource.exclusivequotamaxclient; updateresource.grantquotaspillover = resource.grantquotaspillover; updateresource.exclusivequotaspillover = resource.exclusivequotaspillover; updateresource.nwfwmode = resource.nwfwmode; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, nsconfig resource) throws Exception { nsconfig updateresource = new nsconfig(); updateresource.ipaddress = resource.ipaddress; updateresource.netmask = resource.netmask; updateresource.nsvlan = resource.nsvlan; updateresource.ifnum = resource.ifnum; updateresource.tagged = resource.tagged; updateresource.httpport = resource.httpport; updateresource.maxconn = resource.maxconn; updateresource.maxreq = resource.maxreq; updateresource.cip = resource.cip; updateresource.cipheader = resource.cipheader; updateresource.cookieversion = resource.cookieversion; updateresource.securecookie = resource.securecookie; updateresource.pmtumin = resource.pmtumin; updateresource.pmtutimeout = resource.pmtutimeout; updateresource.ftpportrange = resource.ftpportrange; updateresource.crportrange = resource.crportrange; updateresource.timezone = resource.timezone; updateresource.grantquotamaxclient = resource.grantquotamaxclient; updateresource.exclusivequotamaxclient = resource.exclusivequotamaxclient; updateresource.grantquotaspillover = resource.grantquotaspillover; updateresource.exclusivequotaspillover = resource.exclusivequotaspillover; updateresource.nwfwmode = resource.nwfwmode; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "nsconfig", "resource", ")", "throws", "Exception", "{", "nsconfig", "updateresource", "=", "new", "nsconfig", "(", ")", ";", "updateresource", ".", "ipaddress", "=", "resource", ".", "ipaddress", ";", "updateresource", ".", "netmask", "=", "resource", ".", "netmask", ";", "updateresource", ".", "nsvlan", "=", "resource", ".", "nsvlan", ";", "updateresource", ".", "ifnum", "=", "resource", ".", "ifnum", ";", "updateresource", ".", "tagged", "=", "resource", ".", "tagged", ";", "updateresource", ".", "httpport", "=", "resource", ".", "httpport", ";", "updateresource", ".", "maxconn", "=", "resource", ".", "maxconn", ";", "updateresource", ".", "maxreq", "=", "resource", ".", "maxreq", ";", "updateresource", ".", "cip", "=", "resource", ".", "cip", ";", "updateresource", ".", "cipheader", "=", "resource", ".", "cipheader", ";", "updateresource", ".", "cookieversion", "=", "resource", ".", "cookieversion", ";", "updateresource", ".", "securecookie", "=", "resource", ".", "securecookie", ";", "updateresource", ".", "pmtumin", "=", "resource", ".", "pmtumin", ";", "updateresource", ".", "pmtutimeout", "=", "resource", ".", "pmtutimeout", ";", "updateresource", ".", "ftpportrange", "=", "resource", ".", "ftpportrange", ";", "updateresource", ".", "crportrange", "=", "resource", ".", "crportrange", ";", "updateresource", ".", "timezone", "=", "resource", ".", "timezone", ";", "updateresource", ".", "grantquotamaxclient", "=", "resource", ".", "grantquotamaxclient", ";", "updateresource", ".", "exclusivequotamaxclient", "=", "resource", ".", "exclusivequotamaxclient", ";", "updateresource", ".", "grantquotaspillover", "=", "resource", ".", "grantquotaspillover", ";", "updateresource", ".", "exclusivequotaspillover", "=", "resource", ".", "exclusivequotaspillover", ";", "updateresource", ".", "nwfwmode", "=", "resource", ".", "nwfwmode", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update nsconfig.
[ "Use", "this", "API", "to", "update", "nsconfig", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java#L895-L920
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java
nsconfig.unset
public static base_response unset(nitro_service client, nsconfig resource, String[] args) throws Exception{ nsconfig unsetresource = new nsconfig(); return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, nsconfig resource, String[] args) throws Exception{ nsconfig unsetresource = new nsconfig(); return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "nsconfig", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "nsconfig", "unsetresource", "=", "new", "nsconfig", "(", ")", ";", "return", "unsetresource", ".", "unset_resource", "(", "client", ",", "args", ")", ";", "}" ]
Use this API to unset the properties of nsconfig resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "nsconfig", "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/ns/nsconfig.java#L926-L929
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java
nsconfig.save
public static base_response save(nitro_service client) throws Exception { nsconfig saveresource = new nsconfig(); return saveresource.perform_operation(client,"save"); }
java
public static base_response save(nitro_service client) throws Exception { nsconfig saveresource = new nsconfig(); return saveresource.perform_operation(client,"save"); }
[ "public", "static", "base_response", "save", "(", "nitro_service", "client", ")", "throws", "Exception", "{", "nsconfig", "saveresource", "=", "new", "nsconfig", "(", ")", ";", "return", "saveresource", ".", "perform_operation", "(", "client", ",", "\"save\"", ")", ";", "}" ]
Use this API to save nsconfig.
[ "Use", "this", "API", "to", "save", "nsconfig", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java#L934-L937
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java
nsconfig.diff
public static nsconfig diff(nitro_service client, nsconfig resource) throws Exception { nsconfig diffresource = new nsconfig(); diffresource.config1 = resource.config1; diffresource.config2 = resource.config2; diffresource.outtype = resource.outtype; diffresource.template = resource.template; diffresource.ignoredevicespecific = resource.ignoredevicespecific; return (nsconfig)diffresource.perform_operationEx(client,"diff"); }
java
public static nsconfig diff(nitro_service client, nsconfig resource) throws Exception { nsconfig diffresource = new nsconfig(); diffresource.config1 = resource.config1; diffresource.config2 = resource.config2; diffresource.outtype = resource.outtype; diffresource.template = resource.template; diffresource.ignoredevicespecific = resource.ignoredevicespecific; return (nsconfig)diffresource.perform_operationEx(client,"diff"); }
[ "public", "static", "nsconfig", "diff", "(", "nitro_service", "client", ",", "nsconfig", "resource", ")", "throws", "Exception", "{", "nsconfig", "diffresource", "=", "new", "nsconfig", "(", ")", ";", "diffresource", ".", "config1", "=", "resource", ".", "config1", ";", "diffresource", ".", "config2", "=", "resource", ".", "config2", ";", "diffresource", ".", "outtype", "=", "resource", ".", "outtype", ";", "diffresource", ".", "template", "=", "resource", ".", "template", ";", "diffresource", ".", "ignoredevicespecific", "=", "resource", ".", "ignoredevicespecific", ";", "return", "(", "nsconfig", ")", "diffresource", ".", "perform_operationEx", "(", "client", ",", "\"diff\"", ")", ";", "}" ]
Use this API to diff nsconfig.
[ "Use", "this", "API", "to", "diff", "nsconfig", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java#L942-L950
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java
nsconfig.get
public static nsconfig get(nitro_service service) throws Exception{ nsconfig obj = new nsconfig(); nsconfig[] response = (nsconfig[])obj.get_resources(service); return response[0]; }
java
public static nsconfig get(nitro_service service) throws Exception{ nsconfig obj = new nsconfig(); nsconfig[] response = (nsconfig[])obj.get_resources(service); return response[0]; }
[ "public", "static", "nsconfig", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nsconfig", "obj", "=", "new", "nsconfig", "(", ")", ";", "nsconfig", "[", "]", "response", "=", "(", "nsconfig", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", "[", "0", "]", ";", "}" ]
Use this API to fetch all the nsconfig resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "nsconfig", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsconfig.java#L955-L959
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser_aaagroup_binding.java
aaauser_aaagroup_binding.get
public static aaauser_aaagroup_binding[] get(nitro_service service, String username) throws Exception{ aaauser_aaagroup_binding obj = new aaauser_aaagroup_binding(); obj.set_username(username); aaauser_aaagroup_binding response[] = (aaauser_aaagroup_binding[]) obj.get_resources(service); return response; }
java
public static aaauser_aaagroup_binding[] get(nitro_service service, String username) throws Exception{ aaauser_aaagroup_binding obj = new aaauser_aaagroup_binding(); obj.set_username(username); aaauser_aaagroup_binding response[] = (aaauser_aaagroup_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "aaauser_aaagroup_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "username", ")", "throws", "Exception", "{", "aaauser_aaagroup_binding", "obj", "=", "new", "aaauser_aaagroup_binding", "(", ")", ";", "obj", ".", "set_username", "(", "username", ")", ";", "aaauser_aaagroup_binding", "response", "[", "]", "=", "(", "aaauser_aaagroup_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch aaauser_aaagroup_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "aaauser_aaagroup_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser_aaagroup_binding.java#L112-L117
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationlocalpolicy_authenticationvserver_binding.java
authenticationlocalpolicy_authenticationvserver_binding.get
public static authenticationlocalpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{ authenticationlocalpolicy_authenticationvserver_binding obj = new authenticationlocalpolicy_authenticationvserver_binding(); obj.set_name(name); authenticationlocalpolicy_authenticationvserver_binding response[] = (authenticationlocalpolicy_authenticationvserver_binding[]) obj.get_resources(service); return response; }
java
public static authenticationlocalpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{ authenticationlocalpolicy_authenticationvserver_binding obj = new authenticationlocalpolicy_authenticationvserver_binding(); obj.set_name(name); authenticationlocalpolicy_authenticationvserver_binding response[] = (authenticationlocalpolicy_authenticationvserver_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "authenticationlocalpolicy_authenticationvserver_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "authenticationlocalpolicy_authenticationvserver_binding", "obj", "=", "new", "authenticationlocalpolicy_authenticationvserver_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "authenticationlocalpolicy_authenticationvserver_binding", "response", "[", "]", "=", "(", "authenticationlocalpolicy_authenticationvserver_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch authenticationlocalpolicy_authenticationvserver_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "authenticationlocalpolicy_authenticationvserver_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationlocalpolicy_authenticationvserver_binding.java#L132-L137
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderparam.java
responderparam.update
public static base_response update(nitro_service client, responderparam resource) throws Exception { responderparam updateresource = new responderparam(); updateresource.undefaction = resource.undefaction; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, responderparam resource) throws Exception { responderparam updateresource = new responderparam(); updateresource.undefaction = resource.undefaction; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "responderparam", "resource", ")", "throws", "Exception", "{", "responderparam", "updateresource", "=", "new", "responderparam", "(", ")", ";", "updateresource", ".", "undefaction", "=", "resource", ".", "undefaction", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update responderparam.
[ "Use", "this", "API", "to", "update", "responderparam", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderparam.java#L100-L104
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderparam.java
responderparam.unset
public static base_response unset(nitro_service client, responderparam resource, String[] args) throws Exception{ responderparam unsetresource = new responderparam(); return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, responderparam resource, String[] args) throws Exception{ responderparam unsetresource = new responderparam(); return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "responderparam", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "responderparam", "unsetresource", "=", "new", "responderparam", "(", ")", ";", "return", "unsetresource", ".", "unset_resource", "(", "client", ",", "args", ")", ";", "}" ]
Use this API to unset the properties of responderparam resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "responderparam", "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/responder/responderparam.java#L110-L113
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderparam.java
responderparam.get
public static responderparam get(nitro_service service) throws Exception{ responderparam obj = new responderparam(); responderparam[] response = (responderparam[])obj.get_resources(service); return response[0]; }
java
public static responderparam get(nitro_service service) throws Exception{ responderparam obj = new responderparam(); responderparam[] response = (responderparam[])obj.get_resources(service); return response[0]; }
[ "public", "static", "responderparam", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "responderparam", "obj", "=", "new", "responderparam", "(", ")", ";", "responderparam", "[", "]", "response", "=", "(", "responderparam", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", "[", "0", "]", ";", "}" ]
Use this API to fetch all the responderparam resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "responderparam", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderparam.java#L118-L122
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java
tmtrafficaction.add
public static base_response add(nitro_service client, tmtrafficaction resource) throws Exception { tmtrafficaction addresource = new tmtrafficaction(); addresource.name = resource.name; addresource.apptimeout = resource.apptimeout; addresource.sso = resource.sso; addresource.formssoaction = resource.formssoaction; addresource.persistentcookie = resource.persistentcookie; addresource.initiatelogout = resource.initiatelogout; addresource.kcdaccount = resource.kcdaccount; addresource.samlssoprofile = resource.samlssoprofile; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, tmtrafficaction resource) throws Exception { tmtrafficaction addresource = new tmtrafficaction(); addresource.name = resource.name; addresource.apptimeout = resource.apptimeout; addresource.sso = resource.sso; addresource.formssoaction = resource.formssoaction; addresource.persistentcookie = resource.persistentcookie; addresource.initiatelogout = resource.initiatelogout; addresource.kcdaccount = resource.kcdaccount; addresource.samlssoprofile = resource.samlssoprofile; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "tmtrafficaction", "resource", ")", "throws", "Exception", "{", "tmtrafficaction", "addresource", "=", "new", "tmtrafficaction", "(", ")", ";", "addresource", ".", "name", "=", "resource", ".", "name", ";", "addresource", ".", "apptimeout", "=", "resource", ".", "apptimeout", ";", "addresource", ".", "sso", "=", "resource", ".", "sso", ";", "addresource", ".", "formssoaction", "=", "resource", ".", "formssoaction", ";", "addresource", ".", "persistentcookie", "=", "resource", ".", "persistentcookie", ";", "addresource", ".", "initiatelogout", "=", "resource", ".", "initiatelogout", ";", "addresource", ".", "kcdaccount", "=", "resource", ".", "kcdaccount", ";", "addresource", ".", "samlssoprofile", "=", "resource", ".", "samlssoprofile", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add tmtrafficaction.
[ "Use", "this", "API", "to", "add", "tmtrafficaction", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java#L241-L252
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java
tmtrafficaction.add
public static base_responses add(nitro_service client, tmtrafficaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { tmtrafficaction addresources[] = new tmtrafficaction[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new tmtrafficaction(); addresources[i].name = resources[i].name; addresources[i].apptimeout = resources[i].apptimeout; addresources[i].sso = resources[i].sso; addresources[i].formssoaction = resources[i].formssoaction; addresources[i].persistentcookie = resources[i].persistentcookie; addresources[i].initiatelogout = resources[i].initiatelogout; addresources[i].kcdaccount = resources[i].kcdaccount; addresources[i].samlssoprofile = resources[i].samlssoprofile; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, tmtrafficaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { tmtrafficaction addresources[] = new tmtrafficaction[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new tmtrafficaction(); addresources[i].name = resources[i].name; addresources[i].apptimeout = resources[i].apptimeout; addresources[i].sso = resources[i].sso; addresources[i].formssoaction = resources[i].formssoaction; addresources[i].persistentcookie = resources[i].persistentcookie; addresources[i].initiatelogout = resources[i].initiatelogout; addresources[i].kcdaccount = resources[i].kcdaccount; addresources[i].samlssoprofile = resources[i].samlssoprofile; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "tmtrafficaction", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "tmtrafficaction", "addresources", "[", "]", "=", "new", "tmtrafficaction", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "tmtrafficaction", "(", ")", ";", "addresources", "[", "i", "]", ".", "name", "=", "resources", "[", "i", "]", ".", "name", ";", "addresources", "[", "i", "]", ".", "apptimeout", "=", "resources", "[", "i", "]", ".", "apptimeout", ";", "addresources", "[", "i", "]", ".", "sso", "=", "resources", "[", "i", "]", ".", "sso", ";", "addresources", "[", "i", "]", ".", "formssoaction", "=", "resources", "[", "i", "]", ".", "formssoaction", ";", "addresources", "[", "i", "]", ".", "persistentcookie", "=", "resources", "[", "i", "]", ".", "persistentcookie", ";", "addresources", "[", "i", "]", ".", "initiatelogout", "=", "resources", "[", "i", "]", ".", "initiatelogout", ";", "addresources", "[", "i", "]", ".", "kcdaccount", "=", "resources", "[", "i", "]", ".", "kcdaccount", ";", "addresources", "[", "i", "]", ".", "samlssoprofile", "=", "resources", "[", "i", "]", ".", "samlssoprofile", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add tmtrafficaction resources.
[ "Use", "this", "API", "to", "add", "tmtrafficaction", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java#L257-L275
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java
tmtrafficaction.update
public static base_response update(nitro_service client, tmtrafficaction resource) throws Exception { tmtrafficaction updateresource = new tmtrafficaction(); updateresource.name = resource.name; updateresource.apptimeout = resource.apptimeout; updateresource.sso = resource.sso; updateresource.formssoaction = resource.formssoaction; updateresource.persistentcookie = resource.persistentcookie; updateresource.initiatelogout = resource.initiatelogout; updateresource.kcdaccount = resource.kcdaccount; updateresource.samlssoprofile = resource.samlssoprofile; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, tmtrafficaction resource) throws Exception { tmtrafficaction updateresource = new tmtrafficaction(); updateresource.name = resource.name; updateresource.apptimeout = resource.apptimeout; updateresource.sso = resource.sso; updateresource.formssoaction = resource.formssoaction; updateresource.persistentcookie = resource.persistentcookie; updateresource.initiatelogout = resource.initiatelogout; updateresource.kcdaccount = resource.kcdaccount; updateresource.samlssoprofile = resource.samlssoprofile; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "tmtrafficaction", "resource", ")", "throws", "Exception", "{", "tmtrafficaction", "updateresource", "=", "new", "tmtrafficaction", "(", ")", ";", "updateresource", ".", "name", "=", "resource", ".", "name", ";", "updateresource", ".", "apptimeout", "=", "resource", ".", "apptimeout", ";", "updateresource", ".", "sso", "=", "resource", ".", "sso", ";", "updateresource", ".", "formssoaction", "=", "resource", ".", "formssoaction", ";", "updateresource", ".", "persistentcookie", "=", "resource", ".", "persistentcookie", ";", "updateresource", ".", "initiatelogout", "=", "resource", ".", "initiatelogout", ";", "updateresource", ".", "kcdaccount", "=", "resource", ".", "kcdaccount", ";", "updateresource", ".", "samlssoprofile", "=", "resource", ".", "samlssoprofile", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update tmtrafficaction.
[ "Use", "this", "API", "to", "update", "tmtrafficaction", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java#L330-L341
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java
tmtrafficaction.update
public static base_responses update(nitro_service client, tmtrafficaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { tmtrafficaction updateresources[] = new tmtrafficaction[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new tmtrafficaction(); updateresources[i].name = resources[i].name; updateresources[i].apptimeout = resources[i].apptimeout; updateresources[i].sso = resources[i].sso; updateresources[i].formssoaction = resources[i].formssoaction; updateresources[i].persistentcookie = resources[i].persistentcookie; updateresources[i].initiatelogout = resources[i].initiatelogout; updateresources[i].kcdaccount = resources[i].kcdaccount; updateresources[i].samlssoprofile = resources[i].samlssoprofile; } result = update_bulk_request(client, updateresources); } return result; }
java
public static base_responses update(nitro_service client, tmtrafficaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { tmtrafficaction updateresources[] = new tmtrafficaction[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new tmtrafficaction(); updateresources[i].name = resources[i].name; updateresources[i].apptimeout = resources[i].apptimeout; updateresources[i].sso = resources[i].sso; updateresources[i].formssoaction = resources[i].formssoaction; updateresources[i].persistentcookie = resources[i].persistentcookie; updateresources[i].initiatelogout = resources[i].initiatelogout; updateresources[i].kcdaccount = resources[i].kcdaccount; updateresources[i].samlssoprofile = resources[i].samlssoprofile; } result = update_bulk_request(client, updateresources); } return result; }
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "tmtrafficaction", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "tmtrafficaction", "updateresources", "[", "]", "=", "new", "tmtrafficaction", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "updateresources", "[", "i", "]", "=", "new", "tmtrafficaction", "(", ")", ";", "updateresources", "[", "i", "]", ".", "name", "=", "resources", "[", "i", "]", ".", "name", ";", "updateresources", "[", "i", "]", ".", "apptimeout", "=", "resources", "[", "i", "]", ".", "apptimeout", ";", "updateresources", "[", "i", "]", ".", "sso", "=", "resources", "[", "i", "]", ".", "sso", ";", "updateresources", "[", "i", "]", ".", "formssoaction", "=", "resources", "[", "i", "]", ".", "formssoaction", ";", "updateresources", "[", "i", "]", ".", "persistentcookie", "=", "resources", "[", "i", "]", ".", "persistentcookie", ";", "updateresources", "[", "i", "]", ".", "initiatelogout", "=", "resources", "[", "i", "]", ".", "initiatelogout", ";", "updateresources", "[", "i", "]", ".", "kcdaccount", "=", "resources", "[", "i", "]", ".", "kcdaccount", ";", "updateresources", "[", "i", "]", ".", "samlssoprofile", "=", "resources", "[", "i", "]", ".", "samlssoprofile", ";", "}", "result", "=", "update_bulk_request", "(", "client", ",", "updateresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to update tmtrafficaction resources.
[ "Use", "this", "API", "to", "update", "tmtrafficaction", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java#L346-L364
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java
tmtrafficaction.get
public static tmtrafficaction[] get(nitro_service service) throws Exception{ tmtrafficaction obj = new tmtrafficaction(); tmtrafficaction[] response = (tmtrafficaction[])obj.get_resources(service); return response; }
java
public static tmtrafficaction[] get(nitro_service service) throws Exception{ tmtrafficaction obj = new tmtrafficaction(); tmtrafficaction[] response = (tmtrafficaction[])obj.get_resources(service); return response; }
[ "public", "static", "tmtrafficaction", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "tmtrafficaction", "obj", "=", "new", "tmtrafficaction", "(", ")", ";", "tmtrafficaction", "[", "]", "response", "=", "(", "tmtrafficaction", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the tmtrafficaction resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "tmtrafficaction", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java#L413-L417
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java
tmtrafficaction.get
public static tmtrafficaction get(nitro_service service, String name) throws Exception{ tmtrafficaction obj = new tmtrafficaction(); obj.set_name(name); tmtrafficaction response = (tmtrafficaction) obj.get_resource(service); return response; }
java
public static tmtrafficaction get(nitro_service service, String name) throws Exception{ tmtrafficaction obj = new tmtrafficaction(); obj.set_name(name); tmtrafficaction response = (tmtrafficaction) obj.get_resource(service); return response; }
[ "public", "static", "tmtrafficaction", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "tmtrafficaction", "obj", "=", "new", "tmtrafficaction", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "tmtrafficaction", "response", "=", "(", "tmtrafficaction", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch tmtrafficaction resource of given name .
[ "Use", "this", "API", "to", "fetch", "tmtrafficaction", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficaction.java#L429-L434
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmglobal_binding.java
tmglobal_binding.get
public static tmglobal_binding get(nitro_service service) throws Exception{ tmglobal_binding obj = new tmglobal_binding(); tmglobal_binding response = (tmglobal_binding) obj.get_resource(service); return response; }
java
public static tmglobal_binding get(nitro_service service) throws Exception{ tmglobal_binding obj = new tmglobal_binding(); tmglobal_binding response = (tmglobal_binding) obj.get_resource(service); return response; }
[ "public", "static", "tmglobal_binding", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "tmglobal_binding", "obj", "=", "new", "tmglobal_binding", "(", ")", ";", "tmglobal_binding", "response", "=", "(", "tmglobal_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch a tmglobal_binding resource .
[ "Use", "this", "API", "to", "fetch", "a", "tmglobal_binding", "resource", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmglobal_binding.java#L117-L121
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_spilloverpolicy_binding.java
csvserver_spilloverpolicy_binding.get
public static csvserver_spilloverpolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_spilloverpolicy_binding obj = new csvserver_spilloverpolicy_binding(); obj.set_name(name); csvserver_spilloverpolicy_binding response[] = (csvserver_spilloverpolicy_binding[]) obj.get_resources(service); return response; }
java
public static csvserver_spilloverpolicy_binding[] get(nitro_service service, String name) throws Exception{ csvserver_spilloverpolicy_binding obj = new csvserver_spilloverpolicy_binding(); obj.set_name(name); csvserver_spilloverpolicy_binding response[] = (csvserver_spilloverpolicy_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "csvserver_spilloverpolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "csvserver_spilloverpolicy_binding", "obj", "=", "new", "csvserver_spilloverpolicy_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "csvserver_spilloverpolicy_binding", "response", "[", "]", "=", "(", "csvserver_spilloverpolicy_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch csvserver_spilloverpolicy_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "csvserver_spilloverpolicy_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cs/csvserver_spilloverpolicy_binding.java#L327-L332
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/ling/WordLemmaTag.java
WordLemmaTag.compareTo
public int compareTo(WordLemmaTag wordLemmaTag) { int first = word().compareTo(wordLemmaTag.word()); if (first != 0) return first; int second = lemma().compareTo(wordLemmaTag.lemma()); if (second != 0) return second; else return tag().compareTo(wordLemmaTag.tag()); }
java
public int compareTo(WordLemmaTag wordLemmaTag) { int first = word().compareTo(wordLemmaTag.word()); if (first != 0) return first; int second = lemma().compareTo(wordLemmaTag.lemma()); if (second != 0) return second; else return tag().compareTo(wordLemmaTag.tag()); }
[ "public", "int", "compareTo", "(", "WordLemmaTag", "wordLemmaTag", ")", "{", "int", "first", "=", "word", "(", ")", ".", "compareTo", "(", "wordLemmaTag", ".", "word", "(", ")", ")", ";", "if", "(", "first", "!=", "0", ")", "return", "first", ";", "int", "second", "=", "lemma", "(", ")", ".", "compareTo", "(", "wordLemmaTag", ".", "lemma", "(", ")", ")", ";", "if", "(", "second", "!=", "0", ")", "return", "second", ";", "else", "return", "tag", "(", ")", ".", "compareTo", "(", "wordLemmaTag", ".", "tag", "(", ")", ")", ";", "}" ]
Orders first by word, then by lemma, then by tag. @param wordLemmaTag object to compare to @return result (positive if <code>this</code> is greater than <code>obj</code>, 0 if equal, negative otherwise)
[ "Orders", "first", "by", "word", "then", "by", "lemma", "then", "by", "tag", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/ling/WordLemmaTag.java#L209-L218
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java
autoscaleprofile.add
public static base_response add(nitro_service client, autoscaleprofile resource) throws Exception { autoscaleprofile addresource = new autoscaleprofile(); addresource.name = resource.name; addresource.type = resource.type; addresource.url = resource.url; addresource.apikey = resource.apikey; addresource.sharedsecret = resource.sharedsecret; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, autoscaleprofile resource) throws Exception { autoscaleprofile addresource = new autoscaleprofile(); addresource.name = resource.name; addresource.type = resource.type; addresource.url = resource.url; addresource.apikey = resource.apikey; addresource.sharedsecret = resource.sharedsecret; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "autoscaleprofile", "resource", ")", "throws", "Exception", "{", "autoscaleprofile", "addresource", "=", "new", "autoscaleprofile", "(", ")", ";", "addresource", ".", "name", "=", "resource", ".", "name", ";", "addresource", ".", "type", "=", "resource", ".", "type", ";", "addresource", ".", "url", "=", "resource", ".", "url", ";", "addresource", ".", "apikey", "=", "resource", ".", "apikey", ";", "addresource", ".", "sharedsecret", "=", "resource", ".", "sharedsecret", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add autoscaleprofile.
[ "Use", "this", "API", "to", "add", "autoscaleprofile", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java#L169-L177
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java
autoscaleprofile.add
public static base_responses add(nitro_service client, autoscaleprofile resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { autoscaleprofile addresources[] = new autoscaleprofile[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new autoscaleprofile(); addresources[i].name = resources[i].name; addresources[i].type = resources[i].type; addresources[i].url = resources[i].url; addresources[i].apikey = resources[i].apikey; addresources[i].sharedsecret = resources[i].sharedsecret; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, autoscaleprofile resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { autoscaleprofile addresources[] = new autoscaleprofile[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new autoscaleprofile(); addresources[i].name = resources[i].name; addresources[i].type = resources[i].type; addresources[i].url = resources[i].url; addresources[i].apikey = resources[i].apikey; addresources[i].sharedsecret = resources[i].sharedsecret; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "autoscaleprofile", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "autoscaleprofile", "addresources", "[", "]", "=", "new", "autoscaleprofile", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "autoscaleprofile", "(", ")", ";", "addresources", "[", "i", "]", ".", "name", "=", "resources", "[", "i", "]", ".", "name", ";", "addresources", "[", "i", "]", ".", "type", "=", "resources", "[", "i", "]", ".", "type", ";", "addresources", "[", "i", "]", ".", "url", "=", "resources", "[", "i", "]", ".", "url", ";", "addresources", "[", "i", "]", ".", "apikey", "=", "resources", "[", "i", "]", ".", "apikey", ";", "addresources", "[", "i", "]", ".", "sharedsecret", "=", "resources", "[", "i", "]", ".", "sharedsecret", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add autoscaleprofile resources.
[ "Use", "this", "API", "to", "add", "autoscaleprofile", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java#L182-L197
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java
autoscaleprofile.update
public static base_response update(nitro_service client, autoscaleprofile resource) throws Exception { autoscaleprofile updateresource = new autoscaleprofile(); updateresource.name = resource.name; updateresource.url = resource.url; updateresource.apikey = resource.apikey; updateresource.sharedsecret = resource.sharedsecret; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, autoscaleprofile resource) throws Exception { autoscaleprofile updateresource = new autoscaleprofile(); updateresource.name = resource.name; updateresource.url = resource.url; updateresource.apikey = resource.apikey; updateresource.sharedsecret = resource.sharedsecret; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "autoscaleprofile", "resource", ")", "throws", "Exception", "{", "autoscaleprofile", "updateresource", "=", "new", "autoscaleprofile", "(", ")", ";", "updateresource", ".", "name", "=", "resource", ".", "name", ";", "updateresource", ".", "url", "=", "resource", ".", "url", ";", "updateresource", ".", "apikey", "=", "resource", ".", "apikey", ";", "updateresource", ".", "sharedsecret", "=", "resource", ".", "sharedsecret", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update autoscaleprofile.
[ "Use", "this", "API", "to", "update", "autoscaleprofile", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java#L252-L259
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java
autoscaleprofile.update
public static base_responses update(nitro_service client, autoscaleprofile resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { autoscaleprofile updateresources[] = new autoscaleprofile[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new autoscaleprofile(); updateresources[i].name = resources[i].name; updateresources[i].url = resources[i].url; updateresources[i].apikey = resources[i].apikey; updateresources[i].sharedsecret = resources[i].sharedsecret; } result = update_bulk_request(client, updateresources); } return result; }
java
public static base_responses update(nitro_service client, autoscaleprofile resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { autoscaleprofile updateresources[] = new autoscaleprofile[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new autoscaleprofile(); updateresources[i].name = resources[i].name; updateresources[i].url = resources[i].url; updateresources[i].apikey = resources[i].apikey; updateresources[i].sharedsecret = resources[i].sharedsecret; } result = update_bulk_request(client, updateresources); } return result; }
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "autoscaleprofile", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "autoscaleprofile", "updateresources", "[", "]", "=", "new", "autoscaleprofile", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "updateresources", "[", "i", "]", "=", "new", "autoscaleprofile", "(", ")", ";", "updateresources", "[", "i", "]", ".", "name", "=", "resources", "[", "i", "]", ".", "name", ";", "updateresources", "[", "i", "]", ".", "url", "=", "resources", "[", "i", "]", ".", "url", ";", "updateresources", "[", "i", "]", ".", "apikey", "=", "resources", "[", "i", "]", ".", "apikey", ";", "updateresources", "[", "i", "]", ".", "sharedsecret", "=", "resources", "[", "i", "]", ".", "sharedsecret", ";", "}", "result", "=", "update_bulk_request", "(", "client", ",", "updateresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to update autoscaleprofile resources.
[ "Use", "this", "API", "to", "update", "autoscaleprofile", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java#L264-L278
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java
autoscaleprofile.get
public static autoscaleprofile[] get(nitro_service service) throws Exception{ autoscaleprofile obj = new autoscaleprofile(); autoscaleprofile[] response = (autoscaleprofile[])obj.get_resources(service); return response; }
java
public static autoscaleprofile[] get(nitro_service service) throws Exception{ autoscaleprofile obj = new autoscaleprofile(); autoscaleprofile[] response = (autoscaleprofile[])obj.get_resources(service); return response; }
[ "public", "static", "autoscaleprofile", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "autoscaleprofile", "obj", "=", "new", "autoscaleprofile", "(", ")", ";", "autoscaleprofile", "[", "]", "response", "=", "(", "autoscaleprofile", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the autoscaleprofile resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "autoscaleprofile", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java#L283-L287
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java
autoscaleprofile.get
public static autoscaleprofile get(nitro_service service, String name) throws Exception{ autoscaleprofile obj = new autoscaleprofile(); obj.set_name(name); autoscaleprofile response = (autoscaleprofile) obj.get_resource(service); return response; }
java
public static autoscaleprofile get(nitro_service service, String name) throws Exception{ autoscaleprofile obj = new autoscaleprofile(); obj.set_name(name); autoscaleprofile response = (autoscaleprofile) obj.get_resource(service); return response; }
[ "public", "static", "autoscaleprofile", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "autoscaleprofile", "obj", "=", "new", "autoscaleprofile", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "autoscaleprofile", "response", "=", "(", "autoscaleprofile", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch autoscaleprofile resource of given name .
[ "Use", "this", "API", "to", "fetch", "autoscaleprofile", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/autoscale/autoscaleprofile.java#L299-L304
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroupbindings.java
servicegroupbindings.get
public static servicegroupbindings get(nitro_service service, String servicegroupname) throws Exception{ servicegroupbindings obj = new servicegroupbindings(); obj.set_servicegroupname(servicegroupname); servicegroupbindings response = (servicegroupbindings) obj.get_resource(service); return response; }
java
public static servicegroupbindings get(nitro_service service, String servicegroupname) throws Exception{ servicegroupbindings obj = new servicegroupbindings(); obj.set_servicegroupname(servicegroupname); servicegroupbindings response = (servicegroupbindings) obj.get_resource(service); return response; }
[ "public", "static", "servicegroupbindings", "get", "(", "nitro_service", "service", ",", "String", "servicegroupname", ")", "throws", "Exception", "{", "servicegroupbindings", "obj", "=", "new", "servicegroupbindings", "(", ")", ";", "obj", ".", "set_servicegroupname", "(", "servicegroupname", ")", ";", "servicegroupbindings", "response", "=", "(", "servicegroupbindings", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch servicegroupbindings resource of given name .
[ "Use", "this", "API", "to", "fetch", "servicegroupbindings", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroupbindings.java#L146-L151
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmonitor_binding.java
lbmonitor_binding.get
public static lbmonitor_binding get(nitro_service service, String monitorname) throws Exception{ lbmonitor_binding obj = new lbmonitor_binding(); obj.set_monitorname(monitorname); lbmonitor_binding response = (lbmonitor_binding) obj.get_resource(service); return response; }
java
public static lbmonitor_binding get(nitro_service service, String monitorname) throws Exception{ lbmonitor_binding obj = new lbmonitor_binding(); obj.set_monitorname(monitorname); lbmonitor_binding response = (lbmonitor_binding) obj.get_resource(service); return response; }
[ "public", "static", "lbmonitor_binding", "get", "(", "nitro_service", "service", ",", "String", "monitorname", ")", "throws", "Exception", "{", "lbmonitor_binding", "obj", "=", "new", "lbmonitor_binding", "(", ")", ";", "obj", ".", "set_monitorname", "(", "monitorname", ")", ";", "lbmonitor_binding", "response", "=", "(", "lbmonitor_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch lbmonitor_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "lbmonitor_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmonitor_binding.java#L103-L108
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmonitor_binding.java
lbmonitor_binding.get
public static lbmonitor_binding[] get(nitro_service service, String monitorname[]) throws Exception{ if (monitorname !=null && monitorname.length>0) { lbmonitor_binding response[] = new lbmonitor_binding[monitorname.length]; lbmonitor_binding obj[] = new lbmonitor_binding[monitorname.length]; for (int i=0;i<monitorname.length;i++) { obj[i] = new lbmonitor_binding(); obj[i].set_monitorname(monitorname[i]); response[i] = (lbmonitor_binding) obj[i].get_resource(service); } return response; } return null; }
java
public static lbmonitor_binding[] get(nitro_service service, String monitorname[]) throws Exception{ if (monitorname !=null && monitorname.length>0) { lbmonitor_binding response[] = new lbmonitor_binding[monitorname.length]; lbmonitor_binding obj[] = new lbmonitor_binding[monitorname.length]; for (int i=0;i<monitorname.length;i++) { obj[i] = new lbmonitor_binding(); obj[i].set_monitorname(monitorname[i]); response[i] = (lbmonitor_binding) obj[i].get_resource(service); } return response; } return null; }
[ "public", "static", "lbmonitor_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "monitorname", "[", "]", ")", "throws", "Exception", "{", "if", "(", "monitorname", "!=", "null", "&&", "monitorname", ".", "length", ">", "0", ")", "{", "lbmonitor_binding", "response", "[", "]", "=", "new", "lbmonitor_binding", "[", "monitorname", ".", "length", "]", ";", "lbmonitor_binding", "obj", "[", "]", "=", "new", "lbmonitor_binding", "[", "monitorname", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "monitorname", ".", "length", ";", "i", "++", ")", "{", "obj", "[", "i", "]", "=", "new", "lbmonitor_binding", "(", ")", ";", "obj", "[", "i", "]", ".", "set_monitorname", "(", "monitorname", "[", "i", "]", ")", ";", "response", "[", "i", "]", "=", "(", "lbmonitor_binding", ")", "obj", "[", "i", "]", ".", "get_resource", "(", "service", ")", ";", "}", "return", "response", ";", "}", "return", "null", ";", "}" ]
Use this API to fetch lbmonitor_binding resources of given names .
[ "Use", "this", "API", "to", "fetch", "lbmonitor_binding", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbmonitor_binding.java#L113-L125
train
wellner/jcarafe
jcarafe-core/src/main/java/cern/colt/GenericSorting.java
GenericSorting.med3
private static int med3(int a, int b, int c, IntComparator comp) { int ab = comp.compare(a,b); int ac = comp.compare(a,c); int bc = comp.compare(b,c); return (ab<0 ? (bc<0 ? b : ac<0 ? c : a) : (bc>0 ? b : ac>0 ? c : a)); }
java
private static int med3(int a, int b, int c, IntComparator comp) { int ab = comp.compare(a,b); int ac = comp.compare(a,c); int bc = comp.compare(b,c); return (ab<0 ? (bc<0 ? b : ac<0 ? c : a) : (bc>0 ? b : ac>0 ? c : a)); }
[ "private", "static", "int", "med3", "(", "int", "a", ",", "int", "b", ",", "int", "c", ",", "IntComparator", "comp", ")", "{", "int", "ab", "=", "comp", ".", "compare", "(", "a", ",", "b", ")", ";", "int", "ac", "=", "comp", ".", "compare", "(", "a", ",", "c", ")", ";", "int", "bc", "=", "comp", ".", "compare", "(", "b", ",", "c", ")", ";", "return", "(", "ab", "<", "0", "?", "(", "bc", "<", "0", "?", "b", ":", "ac", "<", "0", "?", "c", ":", "a", ")", ":", "(", "bc", ">", "0", "?", "b", ":", "ac", ">", "0", "?", "c", ":", "a", ")", ")", ";", "}" ]
Returns the index of the median of the three indexed chars.
[ "Returns", "the", "index", "of", "the", "median", "of", "the", "three", "indexed", "chars", "." ]
ab8b0a83dbf600fe80c27711815c90bd3055b217
https://github.com/wellner/jcarafe/blob/ab8b0a83dbf600fe80c27711815c90bd3055b217/jcarafe-core/src/main/java/cern/colt/GenericSorting.java#L237-L244
train
wellner/jcarafe
jcarafe-core/src/main/java/cern/colt/GenericSorting.java
GenericSorting.reverse
private static void reverse(int first, int last, Swapper swapper) { // no more needed since manually inlined while (first < --last) { swapper.swap(first++,last); } }
java
private static void reverse(int first, int last, Swapper swapper) { // no more needed since manually inlined while (first < --last) { swapper.swap(first++,last); } }
[ "private", "static", "void", "reverse", "(", "int", "first", ",", "int", "last", ",", "Swapper", "swapper", ")", "{", "// no more needed since manually inlined\r", "while", "(", "first", "<", "--", "last", ")", "{", "swapper", ".", "swap", "(", "first", "++", ",", "last", ")", ";", "}", "}" ]
Reverses a sequence of elements. @param array Array containing the sequence @param first Beginning of the range @param last One past the end of the range @exception ArrayIndexOutOfBoundsException If the range is invalid.
[ "Reverses", "a", "sequence", "of", "elements", "." ]
ab8b0a83dbf600fe80c27711815c90bd3055b217
https://github.com/wellner/jcarafe/blob/ab8b0a83dbf600fe80c27711815c90bd3055b217/jcarafe-core/src/main/java/cern/colt/GenericSorting.java#L400-L405
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationradiuspolicy_vpnvserver_binding.java
authenticationradiuspolicy_vpnvserver_binding.get
public static authenticationradiuspolicy_vpnvserver_binding[] get(nitro_service service, String name) throws Exception{ authenticationradiuspolicy_vpnvserver_binding obj = new authenticationradiuspolicy_vpnvserver_binding(); obj.set_name(name); authenticationradiuspolicy_vpnvserver_binding response[] = (authenticationradiuspolicy_vpnvserver_binding[]) obj.get_resources(service); return response; }
java
public static authenticationradiuspolicy_vpnvserver_binding[] get(nitro_service service, String name) throws Exception{ authenticationradiuspolicy_vpnvserver_binding obj = new authenticationradiuspolicy_vpnvserver_binding(); obj.set_name(name); authenticationradiuspolicy_vpnvserver_binding response[] = (authenticationradiuspolicy_vpnvserver_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "authenticationradiuspolicy_vpnvserver_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "authenticationradiuspolicy_vpnvserver_binding", "obj", "=", "new", "authenticationradiuspolicy_vpnvserver_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "authenticationradiuspolicy_vpnvserver_binding", "response", "[", "]", "=", "(", "authenticationradiuspolicy_vpnvserver_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch authenticationradiuspolicy_vpnvserver_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "authenticationradiuspolicy_vpnvserver_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationradiuspolicy_vpnvserver_binding.java#L132-L137
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/rnat6_nsip6_binding.java
rnat6_nsip6_binding.get
public static rnat6_nsip6_binding[] get(nitro_service service, String name) throws Exception{ rnat6_nsip6_binding obj = new rnat6_nsip6_binding(); obj.set_name(name); rnat6_nsip6_binding response[] = (rnat6_nsip6_binding[]) obj.get_resources(service); return response; }
java
public static rnat6_nsip6_binding[] get(nitro_service service, String name) throws Exception{ rnat6_nsip6_binding obj = new rnat6_nsip6_binding(); obj.set_name(name); rnat6_nsip6_binding response[] = (rnat6_nsip6_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "rnat6_nsip6_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "rnat6_nsip6_binding", "obj", "=", "new", "rnat6_nsip6_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "rnat6_nsip6_binding", "response", "[", "]", "=", "(", "rnat6_nsip6_binding", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch rnat6_nsip6_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "rnat6_nsip6_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/rnat6_nsip6_binding.java#L154-L159
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/authorization/authorizationpolicylabel_binding.java
authorizationpolicylabel_binding.get
public static authorizationpolicylabel_binding get(nitro_service service, String labelname) throws Exception{ authorizationpolicylabel_binding obj = new authorizationpolicylabel_binding(); obj.set_labelname(labelname); authorizationpolicylabel_binding response = (authorizationpolicylabel_binding) obj.get_resource(service); return response; }
java
public static authorizationpolicylabel_binding get(nitro_service service, String labelname) throws Exception{ authorizationpolicylabel_binding obj = new authorizationpolicylabel_binding(); obj.set_labelname(labelname); authorizationpolicylabel_binding response = (authorizationpolicylabel_binding) obj.get_resource(service); return response; }
[ "public", "static", "authorizationpolicylabel_binding", "get", "(", "nitro_service", "service", ",", "String", "labelname", ")", "throws", "Exception", "{", "authorizationpolicylabel_binding", "obj", "=", "new", "authorizationpolicylabel_binding", "(", ")", ";", "obj", ".", "set_labelname", "(", "labelname", ")", ";", "authorizationpolicylabel_binding", "response", "=", "(", "authorizationpolicylabel_binding", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch authorizationpolicylabel_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "authorizationpolicylabel_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authorization/authorizationpolicylabel_binding.java#L103-L108
train
meertensinstituut/mtas
src/main/java/mtas/analysis/parser/MtasPennTreebankParser.java
MtasPennTreebankParser.createCodeMappings
private void createCodeMappings(MtasTokenIdFactory mtasTokenIdFactory, Level level, String stringValue, int offsetStart, int offsetEnd, int realOffsetStart, int realOffsetEnd, List<Integer> codePositions) throws IOException { String[] stringValues = MtasPennTreebankReader.createStrings(stringValue, Pattern.quote(STRING_SPLITTER)); MtasToken token = new MtasTokenString(mtasTokenIdFactory.createTokenId(), level.node, filterString(stringValues[0].trim())); token.setOffset(offsetStart, offsetEnd); token.setRealOffset(realOffsetStart, realOffsetEnd); token.addPositions(codePositions.stream().mapToInt(i -> i).toArray()); tokenCollection.add(token); level.tokens.add(token); }
java
private void createCodeMappings(MtasTokenIdFactory mtasTokenIdFactory, Level level, String stringValue, int offsetStart, int offsetEnd, int realOffsetStart, int realOffsetEnd, List<Integer> codePositions) throws IOException { String[] stringValues = MtasPennTreebankReader.createStrings(stringValue, Pattern.quote(STRING_SPLITTER)); MtasToken token = new MtasTokenString(mtasTokenIdFactory.createTokenId(), level.node, filterString(stringValues[0].trim())); token.setOffset(offsetStart, offsetEnd); token.setRealOffset(realOffsetStart, realOffsetEnd); token.addPositions(codePositions.stream().mapToInt(i -> i).toArray()); tokenCollection.add(token); level.tokens.add(token); }
[ "private", "void", "createCodeMappings", "(", "MtasTokenIdFactory", "mtasTokenIdFactory", ",", "Level", "level", ",", "String", "stringValue", ",", "int", "offsetStart", ",", "int", "offsetEnd", ",", "int", "realOffsetStart", ",", "int", "realOffsetEnd", ",", "List", "<", "Integer", ">", "codePositions", ")", "throws", "IOException", "{", "String", "[", "]", "stringValues", "=", "MtasPennTreebankReader", ".", "createStrings", "(", "stringValue", ",", "Pattern", ".", "quote", "(", "STRING_SPLITTER", ")", ")", ";", "MtasToken", "token", "=", "new", "MtasTokenString", "(", "mtasTokenIdFactory", ".", "createTokenId", "(", ")", ",", "level", ".", "node", ",", "filterString", "(", "stringValues", "[", "0", "]", ".", "trim", "(", ")", ")", ")", ";", "token", ".", "setOffset", "(", "offsetStart", ",", "offsetEnd", ")", ";", "token", ".", "setRealOffset", "(", "realOffsetStart", ",", "realOffsetEnd", ")", ";", "token", ".", "addPositions", "(", "codePositions", ".", "stream", "(", ")", ".", "mapToInt", "(", "i", "->", "i", ")", ".", "toArray", "(", ")", ")", ";", "tokenCollection", ".", "add", "(", "token", ")", ";", "level", ".", "tokens", ".", "add", "(", "token", ")", ";", "}" ]
Creates the code mappings. @param mtasTokenIdFactory the mtas token id factory @param level the level @param stringValue the string value @param offsetStart the offset start @param offsetEnd the offset end @param realOffsetStart the real offset start @param realOffsetEnd the real offset end @param codePositions the code positions @throws IOException Signals that an I/O exception has occurred.
[ "Creates", "the", "code", "mappings", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/parser/MtasPennTreebankParser.java#L269-L282
train
meertensinstituut/mtas
src/main/java/mtas/analysis/parser/MtasPennTreebankParser.java
MtasPennTreebankParser.createNodeMappings
private void createNodeMappings(MtasTokenIdFactory mtasTokenIdFactory, Level level, Level parentLevel) { MtasToken nodeToken; if (level.node != null && level.positionStart != null && level.positionEnd != null) { nodeToken = new MtasTokenString(mtasTokenIdFactory.createTokenId(), level.node, ""); nodeToken.setOffset(level.offsetStart, level.offsetEnd); nodeToken.setRealOffset(level.realOffsetStart, level.realOffsetEnd); nodeToken.addPositionRange(level.positionStart, level.positionEnd); tokenCollection.add(nodeToken); if (parentLevel != null) { parentLevel.tokens.add(nodeToken); } // only for first mapping(?) for (MtasToken token : level.tokens) { token.setParentId(nodeToken.getId()); } } }
java
private void createNodeMappings(MtasTokenIdFactory mtasTokenIdFactory, Level level, Level parentLevel) { MtasToken nodeToken; if (level.node != null && level.positionStart != null && level.positionEnd != null) { nodeToken = new MtasTokenString(mtasTokenIdFactory.createTokenId(), level.node, ""); nodeToken.setOffset(level.offsetStart, level.offsetEnd); nodeToken.setRealOffset(level.realOffsetStart, level.realOffsetEnd); nodeToken.addPositionRange(level.positionStart, level.positionEnd); tokenCollection.add(nodeToken); if (parentLevel != null) { parentLevel.tokens.add(nodeToken); } // only for first mapping(?) for (MtasToken token : level.tokens) { token.setParentId(nodeToken.getId()); } } }
[ "private", "void", "createNodeMappings", "(", "MtasTokenIdFactory", "mtasTokenIdFactory", ",", "Level", "level", ",", "Level", "parentLevel", ")", "{", "MtasToken", "nodeToken", ";", "if", "(", "level", ".", "node", "!=", "null", "&&", "level", ".", "positionStart", "!=", "null", "&&", "level", ".", "positionEnd", "!=", "null", ")", "{", "nodeToken", "=", "new", "MtasTokenString", "(", "mtasTokenIdFactory", ".", "createTokenId", "(", ")", ",", "level", ".", "node", ",", "\"\"", ")", ";", "nodeToken", ".", "setOffset", "(", "level", ".", "offsetStart", ",", "level", ".", "offsetEnd", ")", ";", "nodeToken", ".", "setRealOffset", "(", "level", ".", "realOffsetStart", ",", "level", ".", "realOffsetEnd", ")", ";", "nodeToken", ".", "addPositionRange", "(", "level", ".", "positionStart", ",", "level", ".", "positionEnd", ")", ";", "tokenCollection", ".", "add", "(", "nodeToken", ")", ";", "if", "(", "parentLevel", "!=", "null", ")", "{", "parentLevel", ".", "tokens", ".", "add", "(", "nodeToken", ")", ";", "}", "// only for first mapping(?)", "for", "(", "MtasToken", "token", ":", "level", ".", "tokens", ")", "{", "token", ".", "setParentId", "(", "nodeToken", ".", "getId", "(", ")", ")", ";", "}", "}", "}" ]
Creates the node mappings. @param mtasTokenIdFactory the mtas token id factory @param level the level @param parentLevel the parent level
[ "Creates", "the", "node", "mappings", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/parser/MtasPennTreebankParser.java#L294-L313
train
meertensinstituut/mtas
src/main/java/mtas/analysis/parser/MtasPennTreebankParser.java
MtasPennTreebankParser.createStringMappings
private void createStringMappings(MtasTokenIdFactory mtasTokenIdFactory, Level level, String stringValue, int offsetStart, int offsetEnd, int position) throws IOException { // System.out.println("createStringMappings string "); String[] stringValues = MtasPennTreebankReader.createStrings(stringValue, Pattern.quote(STRING_SPLITTER)); if (stringValues.length > 0 && !stringValues[0].trim().isEmpty()) { MtasToken token = new MtasTokenString(mtasTokenIdFactory.createTokenId(), "t", filterString(stringValues[0].trim()), position); token.setOffset(offsetStart, offsetEnd); tokenCollection.add(token); level.tokens.add(token); } if (stringValues.length > 1 && !stringValues[1].trim().isEmpty()) { MtasToken token = new MtasTokenString(mtasTokenIdFactory.createTokenId(), "lemma", filterString(stringValues[1].trim()), position); token.setOffset(offsetStart, offsetEnd); tokenCollection.add(token); level.tokens.add(token); } }
java
private void createStringMappings(MtasTokenIdFactory mtasTokenIdFactory, Level level, String stringValue, int offsetStart, int offsetEnd, int position) throws IOException { // System.out.println("createStringMappings string "); String[] stringValues = MtasPennTreebankReader.createStrings(stringValue, Pattern.quote(STRING_SPLITTER)); if (stringValues.length > 0 && !stringValues[0].trim().isEmpty()) { MtasToken token = new MtasTokenString(mtasTokenIdFactory.createTokenId(), "t", filterString(stringValues[0].trim()), position); token.setOffset(offsetStart, offsetEnd); tokenCollection.add(token); level.tokens.add(token); } if (stringValues.length > 1 && !stringValues[1].trim().isEmpty()) { MtasToken token = new MtasTokenString(mtasTokenIdFactory.createTokenId(), "lemma", filterString(stringValues[1].trim()), position); token.setOffset(offsetStart, offsetEnd); tokenCollection.add(token); level.tokens.add(token); } }
[ "private", "void", "createStringMappings", "(", "MtasTokenIdFactory", "mtasTokenIdFactory", ",", "Level", "level", ",", "String", "stringValue", ",", "int", "offsetStart", ",", "int", "offsetEnd", ",", "int", "position", ")", "throws", "IOException", "{", "// System.out.println(\"createStringMappings string \");", "String", "[", "]", "stringValues", "=", "MtasPennTreebankReader", ".", "createStrings", "(", "stringValue", ",", "Pattern", ".", "quote", "(", "STRING_SPLITTER", ")", ")", ";", "if", "(", "stringValues", ".", "length", ">", "0", "&&", "!", "stringValues", "[", "0", "]", ".", "trim", "(", ")", ".", "isEmpty", "(", ")", ")", "{", "MtasToken", "token", "=", "new", "MtasTokenString", "(", "mtasTokenIdFactory", ".", "createTokenId", "(", ")", ",", "\"t\"", ",", "filterString", "(", "stringValues", "[", "0", "]", ".", "trim", "(", ")", ")", ",", "position", ")", ";", "token", ".", "setOffset", "(", "offsetStart", ",", "offsetEnd", ")", ";", "tokenCollection", ".", "add", "(", "token", ")", ";", "level", ".", "tokens", ".", "add", "(", "token", ")", ";", "}", "if", "(", "stringValues", ".", "length", ">", "1", "&&", "!", "stringValues", "[", "1", "]", ".", "trim", "(", ")", ".", "isEmpty", "(", ")", ")", "{", "MtasToken", "token", "=", "new", "MtasTokenString", "(", "mtasTokenIdFactory", ".", "createTokenId", "(", ")", ",", "\"lemma\"", ",", "filterString", "(", "stringValues", "[", "1", "]", ".", "trim", "(", ")", ")", ",", "position", ")", ";", "token", ".", "setOffset", "(", "offsetStart", ",", "offsetEnd", ")", ";", "tokenCollection", ".", "add", "(", "token", ")", ";", "level", ".", "tokens", ".", "add", "(", "token", ")", ";", "}", "}" ]
Creates the string mappings. @param mtasTokenIdFactory the mtas token id factory @param level the level @param stringValue the string value @param offsetStart the offset start @param offsetEnd the offset end @param position the position @throws IOException Signals that an I/O exception has occurred.
[ "Creates", "the", "string", "mappings", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/analysis/parser/MtasPennTreebankParser.java#L333-L353
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java
dospolicy.add
public static base_response add(nitro_service client, dospolicy resource) throws Exception { dospolicy addresource = new dospolicy(); addresource.name = resource.name; addresource.qdepth = resource.qdepth; addresource.cltdetectrate = resource.cltdetectrate; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, dospolicy resource) throws Exception { dospolicy addresource = new dospolicy(); addresource.name = resource.name; addresource.qdepth = resource.qdepth; addresource.cltdetectrate = resource.cltdetectrate; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "dospolicy", "resource", ")", "throws", "Exception", "{", "dospolicy", "addresource", "=", "new", "dospolicy", "(", ")", ";", "addresource", ".", "name", "=", "resource", ".", "name", ";", "addresource", ".", "qdepth", "=", "resource", ".", "qdepth", ";", "addresource", ".", "cltdetectrate", "=", "resource", ".", "cltdetectrate", ";", "return", "addresource", ".", "add_resource", "(", "client", ")", ";", "}" ]
Use this API to add dospolicy.
[ "Use", "this", "API", "to", "add", "dospolicy", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java#L149-L155
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java
dospolicy.add
public static base_responses add(nitro_service client, dospolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dospolicy addresources[] = new dospolicy[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dospolicy(); addresources[i].name = resources[i].name; addresources[i].qdepth = resources[i].qdepth; addresources[i].cltdetectrate = resources[i].cltdetectrate; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, dospolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dospolicy addresources[] = new dospolicy[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dospolicy(); addresources[i].name = resources[i].name; addresources[i].qdepth = resources[i].qdepth; addresources[i].cltdetectrate = resources[i].cltdetectrate; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "dospolicy", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "dospolicy", "addresources", "[", "]", "=", "new", "dospolicy", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "dospolicy", "(", ")", ";", "addresources", "[", "i", "]", ".", "name", "=", "resources", "[", "i", "]", ".", "name", ";", "addresources", "[", "i", "]", ".", "qdepth", "=", "resources", "[", "i", "]", ".", "qdepth", ";", "addresources", "[", "i", "]", ".", "cltdetectrate", "=", "resources", "[", "i", "]", ".", "cltdetectrate", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add dospolicy resources.
[ "Use", "this", "API", "to", "add", "dospolicy", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java#L160-L173
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java
dospolicy.update
public static base_response update(nitro_service client, dospolicy resource) throws Exception { dospolicy updateresource = new dospolicy(); updateresource.name = resource.name; updateresource.qdepth = resource.qdepth; updateresource.cltdetectrate = resource.cltdetectrate; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, dospolicy resource) throws Exception { dospolicy updateresource = new dospolicy(); updateresource.name = resource.name; updateresource.qdepth = resource.qdepth; updateresource.cltdetectrate = resource.cltdetectrate; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "dospolicy", "resource", ")", "throws", "Exception", "{", "dospolicy", "updateresource", "=", "new", "dospolicy", "(", ")", ";", "updateresource", ".", "name", "=", "resource", ".", "name", ";", "updateresource", ".", "qdepth", "=", "resource", ".", "qdepth", ";", "updateresource", ".", "cltdetectrate", "=", "resource", ".", "cltdetectrate", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update dospolicy.
[ "Use", "this", "API", "to", "update", "dospolicy", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java#L228-L234
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java
dospolicy.update
public static base_responses update(nitro_service client, dospolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dospolicy updateresources[] = new dospolicy[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new dospolicy(); updateresources[i].name = resources[i].name; updateresources[i].qdepth = resources[i].qdepth; updateresources[i].cltdetectrate = resources[i].cltdetectrate; } result = update_bulk_request(client, updateresources); } return result; }
java
public static base_responses update(nitro_service client, dospolicy resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dospolicy updateresources[] = new dospolicy[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new dospolicy(); updateresources[i].name = resources[i].name; updateresources[i].qdepth = resources[i].qdepth; updateresources[i].cltdetectrate = resources[i].cltdetectrate; } result = update_bulk_request(client, updateresources); } return result; }
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "dospolicy", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "dospolicy", "updateresources", "[", "]", "=", "new", "dospolicy", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "updateresources", "[", "i", "]", "=", "new", "dospolicy", "(", ")", ";", "updateresources", "[", "i", "]", ".", "name", "=", "resources", "[", "i", "]", ".", "name", ";", "updateresources", "[", "i", "]", ".", "qdepth", "=", "resources", "[", "i", "]", ".", "qdepth", ";", "updateresources", "[", "i", "]", ".", "cltdetectrate", "=", "resources", "[", "i", "]", ".", "cltdetectrate", ";", "}", "result", "=", "update_bulk_request", "(", "client", ",", "updateresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to update dospolicy resources.
[ "Use", "this", "API", "to", "update", "dospolicy", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java#L239-L252
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java
dospolicy.get
public static dospolicy[] get(nitro_service service) throws Exception{ dospolicy obj = new dospolicy(); dospolicy[] response = (dospolicy[])obj.get_resources(service); return response; }
java
public static dospolicy[] get(nitro_service service) throws Exception{ dospolicy obj = new dospolicy(); dospolicy[] response = (dospolicy[])obj.get_resources(service); return response; }
[ "public", "static", "dospolicy", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "dospolicy", "obj", "=", "new", "dospolicy", "(", ")", ";", "dospolicy", "[", "]", "response", "=", "(", "dospolicy", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the dospolicy resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "dospolicy", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java#L301-L305
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java
dospolicy.get
public static dospolicy get(nitro_service service, String name) throws Exception{ dospolicy obj = new dospolicy(); obj.set_name(name); dospolicy response = (dospolicy) obj.get_resource(service); return response; }
java
public static dospolicy get(nitro_service service, String name) throws Exception{ dospolicy obj = new dospolicy(); obj.set_name(name); dospolicy response = (dospolicy) obj.get_resource(service); return response; }
[ "public", "static", "dospolicy", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "dospolicy", "obj", "=", "new", "dospolicy", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "dospolicy", "response", "=", "(", "dospolicy", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch dospolicy resource of given name .
[ "Use", "this", "API", "to", "fetch", "dospolicy", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java#L317-L322
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/dos/dospolicy.java
dospolicy.get_filtered
public static dospolicy[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ dospolicy obj = new dospolicy(); options option = new options(); option.set_filter(filter); dospolicy[] response = (dospolicy[]) obj.getfiltered(service, option); return response; }
java
public static dospolicy[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ dospolicy obj = new dospolicy(); options option = new options(); option.set_filter(filter); dospolicy[] response = (dospolicy[]) obj.getfiltered(service, option); return response; }
[ "public", "static", "dospolicy", "[", "]", "get_filtered", "(", "nitro_service", "service", ",", "filtervalue", "[", "]", "filter", ")", "throws", "Exception", "{", "dospolicy", "obj", "=", "new", "dospolicy", "(", ")", ";", "options", "option", "=", "new", "options", "(", ")", ";", "option", ".", "set_filter", "(", "filter", ")", ";", "dospolicy", "[", "]", "response", "=", "(", "dospolicy", "[", "]", ")", "obj", ".", "getfiltered", "(", "service", ",", "option", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch filtered set of dospolicy resources. set the filter parameter values in filtervalue object.
[ "Use", "this", "API", "to", "fetch", "filtered", "set", "of", "dospolicy", "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/dos/dospolicy.java#L356-L362
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java
cacheselector.add
public static base_responses add(nitro_service client, cacheselector resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { cacheselector addresources[] = new cacheselector[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new cacheselector(); addresources[i].selectorname = resources[i].selectorname; addresources[i].rule = resources[i].rule; } result = add_bulk_request(client, addresources); } return result; }
java
public static base_responses add(nitro_service client, cacheselector resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { cacheselector addresources[] = new cacheselector[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new cacheselector(); addresources[i].selectorname = resources[i].selectorname; addresources[i].rule = resources[i].rule; } result = add_bulk_request(client, addresources); } return result; }
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "cacheselector", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "length", ">", "0", ")", "{", "cacheselector", "addresources", "[", "]", "=", "new", "cacheselector", "[", "resources", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resources", ".", "length", ";", "i", "++", ")", "{", "addresources", "[", "i", "]", "=", "new", "cacheselector", "(", ")", ";", "addresources", "[", "i", "]", ".", "selectorname", "=", "resources", "[", "i", "]", ".", "selectorname", ";", "addresources", "[", "i", "]", ".", "rule", "=", "resources", "[", "i", "]", ".", "rule", ";", "}", "result", "=", "add_bulk_request", "(", "client", ",", "addresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to add cacheselector resources.
[ "Use", "this", "API", "to", "add", "cacheselector", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java#L135-L147
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java
cacheselector.delete
public static base_response delete(nitro_service client, String selectorname) throws Exception { cacheselector deleteresource = new cacheselector(); deleteresource.selectorname = selectorname; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, String selectorname) throws Exception { cacheselector deleteresource = new cacheselector(); deleteresource.selectorname = selectorname; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "String", "selectorname", ")", "throws", "Exception", "{", "cacheselector", "deleteresource", "=", "new", "cacheselector", "(", ")", ";", "deleteresource", ".", "selectorname", "=", "selectorname", ";", "return", "deleteresource", ".", "delete_resource", "(", "client", ")", ";", "}" ]
Use this API to delete cacheselector of given name.
[ "Use", "this", "API", "to", "delete", "cacheselector", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java#L152-L156
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java
cacheselector.delete
public static base_responses delete(nitro_service client, String selectorname[]) throws Exception { base_responses result = null; if (selectorname != null && selectorname.length > 0) { cacheselector deleteresources[] = new cacheselector[selectorname.length]; for (int i=0;i<selectorname.length;i++){ deleteresources[i] = new cacheselector(); deleteresources[i].selectorname = selectorname[i]; } result = delete_bulk_request(client, deleteresources); } return result; }
java
public static base_responses delete(nitro_service client, String selectorname[]) throws Exception { base_responses result = null; if (selectorname != null && selectorname.length > 0) { cacheselector deleteresources[] = new cacheselector[selectorname.length]; for (int i=0;i<selectorname.length;i++){ deleteresources[i] = new cacheselector(); deleteresources[i].selectorname = selectorname[i]; } result = delete_bulk_request(client, deleteresources); } return result; }
[ "public", "static", "base_responses", "delete", "(", "nitro_service", "client", ",", "String", "selectorname", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "selectorname", "!=", "null", "&&", "selectorname", ".", "length", ">", "0", ")", "{", "cacheselector", "deleteresources", "[", "]", "=", "new", "cacheselector", "[", "selectorname", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "selectorname", ".", "length", ";", "i", "++", ")", "{", "deleteresources", "[", "i", "]", "=", "new", "cacheselector", "(", ")", ";", "deleteresources", "[", "i", "]", ".", "selectorname", "=", "selectorname", "[", "i", "]", ";", "}", "result", "=", "delete_bulk_request", "(", "client", ",", "deleteresources", ")", ";", "}", "return", "result", ";", "}" ]
Use this API to delete cacheselector resources of given names.
[ "Use", "this", "API", "to", "delete", "cacheselector", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java#L170-L181
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java
cacheselector.update
public static base_response update(nitro_service client, cacheselector resource) throws Exception { cacheselector updateresource = new cacheselector(); updateresource.selectorname = resource.selectorname; updateresource.rule = resource.rule; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, cacheselector resource) throws Exception { cacheselector updateresource = new cacheselector(); updateresource.selectorname = resource.selectorname; updateresource.rule = resource.rule; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "cacheselector", "resource", ")", "throws", "Exception", "{", "cacheselector", "updateresource", "=", "new", "cacheselector", "(", ")", ";", "updateresource", ".", "selectorname", "=", "resource", ".", "selectorname", ";", "updateresource", ".", "rule", "=", "resource", ".", "rule", ";", "return", "updateresource", ".", "update_resource", "(", "client", ")", ";", "}" ]
Use this API to update cacheselector.
[ "Use", "this", "API", "to", "update", "cacheselector", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java#L202-L207
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java
cacheselector.get
public static cacheselector[] get(nitro_service service, options option) throws Exception{ cacheselector obj = new cacheselector(); cacheselector[] response = (cacheselector[])obj.get_resources(service,option); return response; }
java
public static cacheselector[] get(nitro_service service, options option) throws Exception{ cacheselector obj = new cacheselector(); cacheselector[] response = (cacheselector[])obj.get_resources(service,option); return response; }
[ "public", "static", "cacheselector", "[", "]", "get", "(", "nitro_service", "service", ",", "options", "option", ")", "throws", "Exception", "{", "cacheselector", "obj", "=", "new", "cacheselector", "(", ")", ";", "cacheselector", "[", "]", "response", "=", "(", "cacheselector", "[", "]", ")", "obj", ".", "get_resources", "(", "service", ",", "option", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch all the cacheselector resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "cacheselector", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java#L237-L241
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java
cacheselector.get
public static cacheselector get(nitro_service service, String selectorname) throws Exception{ cacheselector obj = new cacheselector(); obj.set_selectorname(selectorname); cacheselector response = (cacheselector) obj.get_resource(service); return response; }
java
public static cacheselector get(nitro_service service, String selectorname) throws Exception{ cacheselector obj = new cacheselector(); obj.set_selectorname(selectorname); cacheselector response = (cacheselector) obj.get_resource(service); return response; }
[ "public", "static", "cacheselector", "get", "(", "nitro_service", "service", ",", "String", "selectorname", ")", "throws", "Exception", "{", "cacheselector", "obj", "=", "new", "cacheselector", "(", ")", ";", "obj", ".", "set_selectorname", "(", "selectorname", ")", ";", "cacheselector", "response", "=", "(", "cacheselector", ")", "obj", ".", "get_resource", "(", "service", ")", ";", "return", "response", ";", "}" ]
Use this API to fetch cacheselector resource of given name .
[ "Use", "this", "API", "to", "fetch", "cacheselector", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java#L245-L250
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java
cacheselector.get
public static cacheselector[] get(nitro_service service, String selectorname[]) throws Exception{ if (selectorname !=null && selectorname.length>0) { cacheselector response[] = new cacheselector[selectorname.length]; cacheselector obj[] = new cacheselector[selectorname.length]; for (int i=0;i<selectorname.length;i++) { obj[i] = new cacheselector(); obj[i].set_selectorname(selectorname[i]); response[i] = (cacheselector) obj[i].get_resource(service); } return response; } return null; }
java
public static cacheselector[] get(nitro_service service, String selectorname[]) throws Exception{ if (selectorname !=null && selectorname.length>0) { cacheselector response[] = new cacheselector[selectorname.length]; cacheselector obj[] = new cacheselector[selectorname.length]; for (int i=0;i<selectorname.length;i++) { obj[i] = new cacheselector(); obj[i].set_selectorname(selectorname[i]); response[i] = (cacheselector) obj[i].get_resource(service); } return response; } return null; }
[ "public", "static", "cacheselector", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "selectorname", "[", "]", ")", "throws", "Exception", "{", "if", "(", "selectorname", "!=", "null", "&&", "selectorname", ".", "length", ">", "0", ")", "{", "cacheselector", "response", "[", "]", "=", "new", "cacheselector", "[", "selectorname", ".", "length", "]", ";", "cacheselector", "obj", "[", "]", "=", "new", "cacheselector", "[", "selectorname", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "selectorname", ".", "length", ";", "i", "++", ")", "{", "obj", "[", "i", "]", "=", "new", "cacheselector", "(", ")", ";", "obj", "[", "i", "]", ".", "set_selectorname", "(", "selectorname", "[", "i", "]", ")", ";", "response", "[", "i", "]", "=", "(", "cacheselector", ")", "obj", "[", "i", "]", ".", "get_resource", "(", "service", ")", ";", "}", "return", "response", ";", "}", "return", "null", ";", "}" ]
Use this API to fetch cacheselector resources of given names .
[ "Use", "this", "API", "to", "fetch", "cacheselector", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheselector.java#L255-L267
train