repo stringlengths 7 58 | path stringlengths 12 218 | func_name stringlengths 3 140 | original_string stringlengths 73 34.1k | language stringclasses 1
value | code stringlengths 73 34.1k | code_tokens list | docstring stringlengths 3 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 105 339 | partition stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java | dnssoarec.unset | public static base_response unset(nitro_service client, dnssoarec resource, String[] args) throws Exception{
dnssoarec unsetresource = new dnssoarec();
unsetresource.domain = resource.domain;
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, dnssoarec resource, String[] args) throws Exception{
dnssoarec unsetresource = new dnssoarec();
unsetresource.domain = resource.domain;
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"dnssoarec",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"dnssoarec",
"unsetresource",
"=",
"new",
"dnssoarec",
"(",
")",
";",
"unsetresource",
... | Use this API to unset the properties of dnssoarec resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"dnssoarec",
"resource",
".",
"Properties",
"that",
"need",
"to",
"be",
"unset",
"are",
"specified",
"in",
"args",
"array",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java#L470-L474 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java | dnssoarec.unset | public static base_responses unset(nitro_service client, String domain[], String args[]) throws Exception {
base_responses result = null;
if (domain != null && domain.length > 0) {
dnssoarec unsetresources[] = new dnssoarec[domain.length];
for (int i=0;i<domain.length;i++){
unsetresources[i] = new dnssoar... | java | public static base_responses unset(nitro_service client, String domain[], String args[]) throws Exception {
base_responses result = null;
if (domain != null && domain.length > 0) {
dnssoarec unsetresources[] = new dnssoarec[domain.length];
for (int i=0;i<domain.length;i++){
unsetresources[i] = new dnssoar... | [
"public",
"static",
"base_responses",
"unset",
"(",
"nitro_service",
"client",
",",
"String",
"domain",
"[",
"]",
",",
"String",
"args",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"domain",
"!=",
"nu... | Use this API to unset the properties of dnssoarec resources.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"dnssoarec",
"resources",
".",
"Properties",
"that",
"need",
"to",
"be",
"unset",
"are",
"specified",
"in",
"args",
"array",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java#L480-L491 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java | dnssoarec.get | public static dnssoarec[] get(nitro_service service) throws Exception{
dnssoarec obj = new dnssoarec();
dnssoarec[] response = (dnssoarec[])obj.get_resources(service);
return response;
} | java | public static dnssoarec[] get(nitro_service service) throws Exception{
dnssoarec obj = new dnssoarec();
dnssoarec[] response = (dnssoarec[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"dnssoarec",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"dnssoarec",
"obj",
"=",
"new",
"dnssoarec",
"(",
")",
";",
"dnssoarec",
"[",
"]",
"response",
"=",
"(",
"dnssoarec",
"[",
"]",
")",
"obj"... | Use this API to fetch all the dnssoarec resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"dnssoarec",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java#L513-L517 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java | dnssoarec.get | public static dnssoarec[] get(nitro_service service, dnssoarec_args args) throws Exception{
dnssoarec obj = new dnssoarec();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
dnssoarec[] response = (dnssoarec[])obj.get_resources(service, option);
return response... | java | public static dnssoarec[] get(nitro_service service, dnssoarec_args args) throws Exception{
dnssoarec obj = new dnssoarec();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
dnssoarec[] response = (dnssoarec[])obj.get_resources(service, option);
return response... | [
"public",
"static",
"dnssoarec",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"dnssoarec_args",
"args",
")",
"throws",
"Exception",
"{",
"dnssoarec",
"obj",
"=",
"new",
"dnssoarec",
"(",
")",
";",
"options",
"option",
"=",
"new",
"options",
"(",
... | Use this API to fetch all the dnssoarec resources that are configured on netscaler.
This uses dnssoarec_args which is a way to provide additional arguments while fetching the resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"dnssoarec",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
".",
"This",
"uses",
"dnssoarec_args",
"which",
"is",
"a",
"way",
"to",
"provide",
"additional",
"arguments",
"while",
"fetching",
"the... | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java#L530-L536 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java | dnssoarec.get | public static dnssoarec get(nitro_service service, String domain) throws Exception{
dnssoarec obj = new dnssoarec();
obj.set_domain(domain);
dnssoarec response = (dnssoarec) obj.get_resource(service);
return response;
} | java | public static dnssoarec get(nitro_service service, String domain) throws Exception{
dnssoarec obj = new dnssoarec();
obj.set_domain(domain);
dnssoarec response = (dnssoarec) obj.get_resource(service);
return response;
} | [
"public",
"static",
"dnssoarec",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"domain",
")",
"throws",
"Exception",
"{",
"dnssoarec",
"obj",
"=",
"new",
"dnssoarec",
"(",
")",
";",
"obj",
".",
"set_domain",
"(",
"domain",
")",
";",
"dnssoarec",
"... | Use this API to fetch dnssoarec resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"dnssoarec",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssoarec.java#L541-L546 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_domain_binding.java | vpnglobal_domain_binding.get | public static vpnglobal_domain_binding[] get(nitro_service service) throws Exception{
vpnglobal_domain_binding obj = new vpnglobal_domain_binding();
vpnglobal_domain_binding response[] = (vpnglobal_domain_binding[]) obj.get_resources(service);
return response;
} | java | public static vpnglobal_domain_binding[] get(nitro_service service) throws Exception{
vpnglobal_domain_binding obj = new vpnglobal_domain_binding();
vpnglobal_domain_binding response[] = (vpnglobal_domain_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"vpnglobal_domain_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"vpnglobal_domain_binding",
"obj",
"=",
"new",
"vpnglobal_domain_binding",
"(",
")",
";",
"vpnglobal_domain_binding",
"response",
"[",
"]... | Use this API to fetch a vpnglobal_domain_binding resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"vpnglobal_domain_binding",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_domain_binding.java#L131-L135 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java | cachepolicy.add | public static base_response add(nitro_service client, cachepolicy resource) throws Exception {
cachepolicy addresource = new cachepolicy();
addresource.policyname = resource.policyname;
addresource.rule = resource.rule;
addresource.action = resource.action;
addresource.storeingroup = resource.storeingroup;
... | java | public static base_response add(nitro_service client, cachepolicy resource) throws Exception {
cachepolicy addresource = new cachepolicy();
addresource.policyname = resource.policyname;
addresource.rule = resource.rule;
addresource.action = resource.action;
addresource.storeingroup = resource.storeingroup;
... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"cachepolicy",
"resource",
")",
"throws",
"Exception",
"{",
"cachepolicy",
"addresource",
"=",
"new",
"cachepolicy",
"(",
")",
";",
"addresource",
".",
"policyname",
"=",
"resource",
... | Use this API to add cachepolicy. | [
"Use",
"this",
"API",
"to",
"add",
"cachepolicy",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java#L287-L297 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java | cachepolicy.add | public static base_responses add(nitro_service client, cachepolicy resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
cachepolicy addresources[] = new cachepolicy[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new cach... | java | public static base_responses add(nitro_service client, cachepolicy resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
cachepolicy addresources[] = new cachepolicy[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new cach... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"cachepolicy",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".",... | Use this API to add cachepolicy resources. | [
"Use",
"this",
"API",
"to",
"add",
"cachepolicy",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java#L302-L319 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java | cachepolicy.update | public static base_response update(nitro_service client, cachepolicy resource) throws Exception {
cachepolicy updateresource = new cachepolicy();
updateresource.policyname = resource.policyname;
updateresource.rule = resource.rule;
updateresource.action = resource.action;
updateresource.storeingroup = resourc... | java | public static base_response update(nitro_service client, cachepolicy resource) throws Exception {
cachepolicy updateresource = new cachepolicy();
updateresource.policyname = resource.policyname;
updateresource.rule = resource.rule;
updateresource.action = resource.action;
updateresource.storeingroup = resourc... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"cachepolicy",
"resource",
")",
"throws",
"Exception",
"{",
"cachepolicy",
"updateresource",
"=",
"new",
"cachepolicy",
"(",
")",
";",
"updateresource",
".",
"policyname",
"=",
"re... | Use this API to update cachepolicy. | [
"Use",
"this",
"API",
"to",
"update",
"cachepolicy",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java#L374-L384 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java | cachepolicy.update | public static base_responses update(nitro_service client, cachepolicy resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
cachepolicy updateresources[] = new cachepolicy[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] =... | java | public static base_responses update(nitro_service client, cachepolicy resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
cachepolicy updateresources[] = new cachepolicy[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] =... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"cachepolicy",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
"... | Use this API to update cachepolicy resources. | [
"Use",
"this",
"API",
"to",
"update",
"cachepolicy",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java#L389-L406 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java | cachepolicy.unset | public static base_responses unset(nitro_service client, String policyname[], String args[]) throws Exception {
base_responses result = null;
if (policyname != null && policyname.length > 0) {
cachepolicy unsetresources[] = new cachepolicy[policyname.length];
for (int i=0;i<policyname.length;i++){
unsetre... | java | public static base_responses unset(nitro_service client, String policyname[], String args[]) throws Exception {
base_responses result = null;
if (policyname != null && policyname.length > 0) {
cachepolicy unsetresources[] = new cachepolicy[policyname.length];
for (int i=0;i<policyname.length;i++){
unsetre... | [
"public",
"static",
"base_responses",
"unset",
"(",
"nitro_service",
"client",
",",
"String",
"policyname",
"[",
"]",
",",
"String",
"args",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"policyname",
"!=... | Use this API to unset the properties of cachepolicy resources.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"cachepolicy",
"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/cache/cachepolicy.java#L422-L433 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java | cachepolicy.rename | public static base_response rename(nitro_service client, cachepolicy resource, String new_policyname) throws Exception {
cachepolicy renameresource = new cachepolicy();
renameresource.policyname = resource.policyname;
return renameresource.rename_resource(client,new_policyname);
} | java | public static base_response rename(nitro_service client, cachepolicy resource, String new_policyname) throws Exception {
cachepolicy renameresource = new cachepolicy();
renameresource.policyname = resource.policyname;
return renameresource.rename_resource(client,new_policyname);
} | [
"public",
"static",
"base_response",
"rename",
"(",
"nitro_service",
"client",
",",
"cachepolicy",
"resource",
",",
"String",
"new_policyname",
")",
"throws",
"Exception",
"{",
"cachepolicy",
"renameresource",
"=",
"new",
"cachepolicy",
"(",
")",
";",
"renameresourc... | Use this API to rename a cachepolicy resource. | [
"Use",
"this",
"API",
"to",
"rename",
"a",
"cachepolicy",
"resource",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java#L455-L459 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java | cachepolicy.get | public static cachepolicy[] get(nitro_service service) throws Exception{
cachepolicy obj = new cachepolicy();
cachepolicy[] response = (cachepolicy[])obj.get_resources(service);
return response;
} | java | public static cachepolicy[] get(nitro_service service) throws Exception{
cachepolicy obj = new cachepolicy();
cachepolicy[] response = (cachepolicy[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"cachepolicy",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"cachepolicy",
"obj",
"=",
"new",
"cachepolicy",
"(",
")",
";",
"cachepolicy",
"[",
"]",
"response",
"=",
"(",
"cachepolicy",
"[",
"]",
")... | Use this API to fetch all the cachepolicy resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"cachepolicy",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java#L473-L477 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java | cachepolicy.get | public static cachepolicy get(nitro_service service, String policyname) throws Exception{
cachepolicy obj = new cachepolicy();
obj.set_policyname(policyname);
cachepolicy response = (cachepolicy) obj.get_resource(service);
return response;
} | java | public static cachepolicy get(nitro_service service, String policyname) throws Exception{
cachepolicy obj = new cachepolicy();
obj.set_policyname(policyname);
cachepolicy response = (cachepolicy) obj.get_resource(service);
return response;
} | [
"public",
"static",
"cachepolicy",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"policyname",
")",
"throws",
"Exception",
"{",
"cachepolicy",
"obj",
"=",
"new",
"cachepolicy",
"(",
")",
";",
"obj",
".",
"set_policyname",
"(",
"policyname",
")",
";",
... | Use this API to fetch cachepolicy resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"cachepolicy",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicy.java#L489-L494 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authorization/authorizationpolicy_lbvserver_binding.java | authorizationpolicy_lbvserver_binding.get | public static authorizationpolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
authorizationpolicy_lbvserver_binding obj = new authorizationpolicy_lbvserver_binding();
obj.set_name(name);
authorizationpolicy_lbvserver_binding response[] = (authorizationpolicy_lbvserver_binding[]) ... | java | public static authorizationpolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
authorizationpolicy_lbvserver_binding obj = new authorizationpolicy_lbvserver_binding();
obj.set_name(name);
authorizationpolicy_lbvserver_binding response[] = (authorizationpolicy_lbvserver_binding[]) ... | [
"public",
"static",
"authorizationpolicy_lbvserver_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"authorizationpolicy_lbvserver_binding",
"obj",
"=",
"new",
"authorizationpolicy_lbvserver_binding",
"(",
... | Use this API to fetch authorizationpolicy_lbvserver_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"authorizationpolicy_lbvserver_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authorization/authorizationpolicy_lbvserver_binding.java#L122-L127 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/objectbank/XMLBeginEndIterator.java | XMLBeginEndIterator.getNext | private String getNext() {
StringBuilder result = new StringBuilder();
try {
XMLUtils.XMLTag tag;
do {
// String text =
XMLUtils.readUntilTag(inputReader);
// there may or may not be text before the next tag, but we discard it
// System.out.println("out... | java | private String getNext() {
StringBuilder result = new StringBuilder();
try {
XMLUtils.XMLTag tag;
do {
// String text =
XMLUtils.readUntilTag(inputReader);
// there may or may not be text before the next tag, but we discard it
// System.out.println("out... | [
"private",
"String",
"getNext",
"(",
")",
"{",
"StringBuilder",
"result",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"try",
"{",
"XMLUtils",
".",
"XMLTag",
"tag",
";",
"do",
"{",
"// String text =\r",
"XMLUtils",
".",
"readUntilTag",
"(",
"inputReader",
")"... | returns null if there is no next object | [
"returns",
"null",
"if",
"there",
"is",
"no",
"next",
"object"
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/objectbank/XMLBeginEndIterator.java#L92-L154 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/objectbank/XMLBeginEndIterator.java | XMLBeginEndIterator.tokenize | public List<E> tokenize() {
// System.out.println("tokenize called");
List<E> result = new ArrayList<E>();
while (hasNext()) {
result.add(next());
}
return result;
} | java | public List<E> tokenize() {
// System.out.println("tokenize called");
List<E> result = new ArrayList<E>();
while (hasNext()) {
result.add(next());
}
return result;
} | [
"public",
"List",
"<",
"E",
">",
"tokenize",
"(",
")",
"{",
"// System.out.println(\"tokenize called\");\r",
"List",
"<",
"E",
">",
"result",
"=",
"new",
"ArrayList",
"<",
"E",
">",
"(",
")",
";",
"while",
"(",
"hasNext",
"(",
")",
")",
"{",
"result",
... | Returns pieces of text in element as a List of tokens.
@return A list of all tokens remaining in the underlying Reader | [
"Returns",
"pieces",
"of",
"text",
"in",
"element",
"as",
"a",
"List",
"of",
"tokens",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/objectbank/XMLBeginEndIterator.java#L184-L191 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/objectbank/XMLBeginEndIterator.java | XMLBeginEndIterator.getFactory | public static IteratorFromReaderFactory<String> getFactory(String tag) {
return new XMLBeginEndIterator.XMLBeginEndIteratorFactory<String>(tag, new IdentityFunction<String>(), false, false);
} | java | public static IteratorFromReaderFactory<String> getFactory(String tag) {
return new XMLBeginEndIterator.XMLBeginEndIteratorFactory<String>(tag, new IdentityFunction<String>(), false, false);
} | [
"public",
"static",
"IteratorFromReaderFactory",
"<",
"String",
">",
"getFactory",
"(",
"String",
"tag",
")",
"{",
"return",
"new",
"XMLBeginEndIterator",
".",
"XMLBeginEndIteratorFactory",
"<",
"String",
">",
"(",
"tag",
",",
"new",
"IdentityFunction",
"<",
"Stri... | Returns a factory that vends BeginEndIterators that reads the contents of
the given Reader, extracts text between the specified Strings, then
returns the result.
@param tag The tag the XMLBeginEndIterator will match on
@return The IteratorFromReaderFactory | [
"Returns",
"a",
"factory",
"that",
"vends",
"BeginEndIterators",
"that",
"reads",
"the",
"contents",
"of",
"the",
"given",
"Reader",
"extracts",
"text",
"between",
"the",
"specified",
"Strings",
"then",
"returns",
"the",
"result",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/objectbank/XMLBeginEndIterator.java#L202-L204 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_service_binding.java | lbvserver_service_binding.get | public static lbvserver_service_binding[] get(nitro_service service, String name) throws Exception{
lbvserver_service_binding obj = new lbvserver_service_binding();
obj.set_name(name);
lbvserver_service_binding response[] = (lbvserver_service_binding[]) obj.get_resources(service);
return response;
} | java | public static lbvserver_service_binding[] get(nitro_service service, String name) throws Exception{
lbvserver_service_binding obj = new lbvserver_service_binding();
obj.set_name(name);
lbvserver_service_binding response[] = (lbvserver_service_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"lbvserver_service_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"lbvserver_service_binding",
"obj",
"=",
"new",
"lbvserver_service_binding",
"(",
")",
";",
"obj",
".",
"set_... | Use this API to fetch lbvserver_service_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"lbvserver_service_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_service_binding.java#L301-L306 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java | sslservicegroup.update | public static base_response update(nitro_service client, sslservicegroup resource) throws Exception {
sslservicegroup updateresource = new sslservicegroup();
updateresource.servicegroupname = resource.servicegroupname;
updateresource.sessreuse = resource.sessreuse;
updateresource.sesstimeout = resource.sesstime... | java | public static base_response update(nitro_service client, sslservicegroup resource) throws Exception {
sslservicegroup updateresource = new sslservicegroup();
updateresource.servicegroupname = resource.servicegroupname;
updateresource.sessreuse = resource.sessreuse;
updateresource.sesstimeout = resource.sesstime... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"sslservicegroup",
"resource",
")",
"throws",
"Exception",
"{",
"sslservicegroup",
"updateresource",
"=",
"new",
"sslservicegroup",
"(",
")",
";",
"updateresource",
".",
"servicegroupn... | Use this API to update sslservicegroup. | [
"Use",
"this",
"API",
"to",
"update",
"sslservicegroup",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java#L494-L506 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java | sslservicegroup.update | public static base_responses update(nitro_service client, sslservicegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslservicegroup updateresources[] = new sslservicegroup[resources.length];
for (int i=0;i<resources.length;i++){
updatere... | java | public static base_responses update(nitro_service client, sslservicegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslservicegroup updateresources[] = new sslservicegroup[resources.length];
for (int i=0;i<resources.length;i++){
updatere... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"sslservicegroup",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",... | Use this API to update sslservicegroup resources. | [
"Use",
"this",
"API",
"to",
"update",
"sslservicegroup",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java#L511-L530 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java | sslservicegroup.unset | public static base_response unset(nitro_service client, sslservicegroup resource, String[] args) throws Exception{
sslservicegroup unsetresource = new sslservicegroup();
unsetresource.servicegroupname = resource.servicegroupname;
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, sslservicegroup resource, String[] args) throws Exception{
sslservicegroup unsetresource = new sslservicegroup();
unsetresource.servicegroupname = resource.servicegroupname;
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"sslservicegroup",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"sslservicegroup",
"unsetresource",
"=",
"new",
"sslservicegroup",
"(",
")",
";",
... | Use this API to unset the properties of sslservicegroup resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"sslservicegroup",
"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/sslservicegroup.java#L536-L540 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java | sslservicegroup.unset | public static base_responses unset(nitro_service client, String servicegroupname[], String args[]) throws Exception {
base_responses result = null;
if (servicegroupname != null && servicegroupname.length > 0) {
sslservicegroup unsetresources[] = new sslservicegroup[servicegroupname.length];
for (int i=0;i<ser... | java | public static base_responses unset(nitro_service client, String servicegroupname[], String args[]) throws Exception {
base_responses result = null;
if (servicegroupname != null && servicegroupname.length > 0) {
sslservicegroup unsetresources[] = new sslservicegroup[servicegroupname.length];
for (int i=0;i<ser... | [
"public",
"static",
"base_responses",
"unset",
"(",
"nitro_service",
"client",
",",
"String",
"servicegroupname",
"[",
"]",
",",
"String",
"args",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"servicegroup... | Use this API to unset the properties of sslservicegroup resources.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"sslservicegroup",
"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/sslservicegroup.java#L546-L557 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java | sslservicegroup.get | public static sslservicegroup[] get(nitro_service service) throws Exception{
sslservicegroup obj = new sslservicegroup();
sslservicegroup[] response = (sslservicegroup[])obj.get_resources(service);
return response;
} | java | public static sslservicegroup[] get(nitro_service service) throws Exception{
sslservicegroup obj = new sslservicegroup();
sslservicegroup[] response = (sslservicegroup[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"sslservicegroup",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"sslservicegroup",
"obj",
"=",
"new",
"sslservicegroup",
"(",
")",
";",
"sslservicegroup",
"[",
"]",
"response",
"=",
"(",
"sslservicegroup"... | Use this API to fetch all the sslservicegroup resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"sslservicegroup",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java#L579-L583 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java | sslservicegroup.get | public static sslservicegroup[] get(nitro_service service, sslservicegroup_args args) throws Exception{
sslservicegroup obj = new sslservicegroup();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
sslservicegroup[] response = (sslservicegroup[])obj.get_resources... | java | public static sslservicegroup[] get(nitro_service service, sslservicegroup_args args) throws Exception{
sslservicegroup obj = new sslservicegroup();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
sslservicegroup[] response = (sslservicegroup[])obj.get_resources... | [
"public",
"static",
"sslservicegroup",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"sslservicegroup_args",
"args",
")",
"throws",
"Exception",
"{",
"sslservicegroup",
"obj",
"=",
"new",
"sslservicegroup",
"(",
")",
";",
"options",
"option",
"=",
"new"... | Use this API to fetch all the sslservicegroup resources that are configured on netscaler.
This uses sslservicegroup_args which is a way to provide additional arguments while fetching the resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"sslservicegroup",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
".",
"This",
"uses",
"sslservicegroup_args",
"which",
"is",
"a",
"way",
"to",
"provide",
"additional",
"arguments",
"while",
"fetch... | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java#L596-L602 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java | sslservicegroup.get | public static sslservicegroup get(nitro_service service, String servicegroupname) throws Exception{
sslservicegroup obj = new sslservicegroup();
obj.set_servicegroupname(servicegroupname);
sslservicegroup response = (sslservicegroup) obj.get_resource(service);
return response;
} | java | public static sslservicegroup get(nitro_service service, String servicegroupname) throws Exception{
sslservicegroup obj = new sslservicegroup();
obj.set_servicegroupname(servicegroupname);
sslservicegroup response = (sslservicegroup) obj.get_resource(service);
return response;
} | [
"public",
"static",
"sslservicegroup",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"servicegroupname",
")",
"throws",
"Exception",
"{",
"sslservicegroup",
"obj",
"=",
"new",
"sslservicegroup",
"(",
")",
";",
"obj",
".",
"set_servicegroupname",
"(",
"ser... | Use this API to fetch sslservicegroup resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"sslservicegroup",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservicegroup.java#L607-L612 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationsamlpolicy_authenticationvserver_binding.java | authenticationsamlpolicy_authenticationvserver_binding.get | public static authenticationsamlpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{
authenticationsamlpolicy_authenticationvserver_binding obj = new authenticationsamlpolicy_authenticationvserver_binding();
obj.set_name(name);
authenticationsamlpolicy_authenticationvse... | java | public static authenticationsamlpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{
authenticationsamlpolicy_authenticationvserver_binding obj = new authenticationsamlpolicy_authenticationvserver_binding();
obj.set_name(name);
authenticationsamlpolicy_authenticationvse... | [
"public",
"static",
"authenticationsamlpolicy_authenticationvserver_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"authenticationsamlpolicy_authenticationvserver_binding",
"obj",
"=",
"new",
"authentication... | Use this API to fetch authenticationsamlpolicy_authenticationvserver_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"authenticationsamlpolicy_authenticationvserver_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationsamlpolicy_authenticationvserver_binding.java#L132-L137 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.add | public static base_response add(nitro_service client, servicegroup resource) throws Exception {
servicegroup addresource = new servicegroup();
addresource.servicegroupname = resource.servicegroupname;
addresource.servicetype = resource.servicetype;
addresource.cachetype = resource.cachetype;
addresource.td = ... | java | public static base_response add(nitro_service client, servicegroup resource) throws Exception {
servicegroup addresource = new servicegroup();
addresource.servicegroupname = resource.servicegroupname;
addresource.servicetype = resource.servicetype;
addresource.cachetype = resource.cachetype;
addresource.td = ... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resource",
")",
"throws",
"Exception",
"{",
"servicegroup",
"addresource",
"=",
"new",
"servicegroup",
"(",
")",
";",
"addresource",
".",
"servicegroupname",
"=",
"re... | Use this API to add servicegroup. | [
"Use",
"this",
"API",
"to",
"add",
"servicegroup",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1288-L1324 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.delete | public static base_response delete(nitro_service client, String servicegroupname) throws Exception {
servicegroup deleteresource = new servicegroup();
deleteresource.servicegroupname = servicegroupname;
return deleteresource.delete_resource(client);
} | java | public static base_response delete(nitro_service client, String servicegroupname) throws Exception {
servicegroup deleteresource = new servicegroup();
deleteresource.servicegroupname = servicegroupname;
return deleteresource.delete_resource(client);
} | [
"public",
"static",
"base_response",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"servicegroupname",
")",
"throws",
"Exception",
"{",
"servicegroup",
"deleteresource",
"=",
"new",
"servicegroup",
"(",
")",
";",
"deleteresource",
".",
"servicegroupname",
... | Use this API to delete servicegroup of given name. | [
"Use",
"this",
"API",
"to",
"delete",
"servicegroup",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1377-L1381 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.delete | public static base_responses delete(nitro_service client, servicegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
servicegroup deleteresources[] = new servicegroup[resources.length];
for (int i=0;i<resources.length;i++){
deleteresources[i... | java | public static base_responses delete(nitro_service client, servicegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
servicegroup deleteresources[] = new servicegroup[resources.length];
for (int i=0;i<resources.length;i++){
deleteresources[i... | [
"public",
"static",
"base_responses",
"delete",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
... | Use this API to delete servicegroup resources. | [
"Use",
"this",
"API",
"to",
"delete",
"servicegroup",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1411-L1422 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.update | public static base_response update(nitro_service client, servicegroup resource) throws Exception {
servicegroup updateresource = new servicegroup();
updateresource.servicegroupname = resource.servicegroupname;
updateresource.servername = resource.servername;
updateresource.port = resource.port;
updateresource... | java | public static base_response update(nitro_service client, servicegroup resource) throws Exception {
servicegroup updateresource = new servicegroup();
updateresource.servicegroupname = resource.servicegroupname;
updateresource.servername = resource.servername;
updateresource.port = resource.port;
updateresource... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resource",
")",
"throws",
"Exception",
"{",
"servicegroup",
"updateresource",
"=",
"new",
"servicegroup",
"(",
")",
";",
"updateresource",
".",
"servicegroupname",
"... | Use this API to update servicegroup. | [
"Use",
"this",
"API",
"to",
"update",
"servicegroup",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1427-L1465 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.unset | public static base_response unset(nitro_service client, servicegroup resource, String[] args) throws Exception{
servicegroup unsetresource = new servicegroup();
unsetresource.servicegroupname = resource.servicegroupname;
unsetresource.servername = resource.servername;
unsetresource.port = resource.port;
unset... | java | public static base_response unset(nitro_service client, servicegroup resource, String[] args) throws Exception{
servicegroup unsetresource = new servicegroup();
unsetresource.servicegroupname = resource.servicegroupname;
unsetresource.servername = resource.servername;
unsetresource.port = resource.port;
unset... | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"servicegroup",
"unsetresource",
"=",
"new",
"servicegroup",
"(",
")",
";",
"unsetres... | Use this API to unset the properties of servicegroup resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"servicegroup",
"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/basic/servicegroup.java#L1521-L1531 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.unset | public static base_responses unset(nitro_service client, servicegroup resources[], String[] args) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
servicegroup unsetresources[] = new servicegroup[resources.length];
for (int i=0;i<resources.length;i++){
uns... | java | public static base_responses unset(nitro_service client, servicegroup resources[], String[] args) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
servicegroup unsetresources[] = new servicegroup[resources.length];
for (int i=0;i<resources.length;i++){
uns... | [
"public",
"static",
"base_responses",
"unset",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resources",
"[",
"]",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
... | Use this API to unset the properties of servicegroup resources.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"servicegroup",
"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/basic/servicegroup.java#L1554-L1571 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.enable | public static base_response enable(nitro_service client, String servicegroupname) throws Exception {
servicegroup enableresource = new servicegroup();
enableresource.servicegroupname = servicegroupname;
return enableresource.perform_operation(client,"enable");
} | java | public static base_response enable(nitro_service client, String servicegroupname) throws Exception {
servicegroup enableresource = new servicegroup();
enableresource.servicegroupname = servicegroupname;
return enableresource.perform_operation(client,"enable");
} | [
"public",
"static",
"base_response",
"enable",
"(",
"nitro_service",
"client",
",",
"String",
"servicegroupname",
")",
"throws",
"Exception",
"{",
"servicegroup",
"enableresource",
"=",
"new",
"servicegroup",
"(",
")",
";",
"enableresource",
".",
"servicegroupname",
... | Use this API to enable servicegroup of given name. | [
"Use",
"this",
"API",
"to",
"enable",
"servicegroup",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1576-L1580 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.enable | public static base_response enable(nitro_service client, servicegroup resource) throws Exception {
servicegroup enableresource = new servicegroup();
enableresource.servicegroupname = resource.servicegroupname;
enableresource.servername = resource.servername;
enableresource.port = resource.port;
return enabler... | java | public static base_response enable(nitro_service client, servicegroup resource) throws Exception {
servicegroup enableresource = new servicegroup();
enableresource.servicegroupname = resource.servicegroupname;
enableresource.servername = resource.servername;
enableresource.port = resource.port;
return enabler... | [
"public",
"static",
"base_response",
"enable",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resource",
")",
"throws",
"Exception",
"{",
"servicegroup",
"enableresource",
"=",
"new",
"servicegroup",
"(",
")",
";",
"enableresource",
".",
"servicegroupname",
"... | Use this API to enable servicegroup. | [
"Use",
"this",
"API",
"to",
"enable",
"servicegroup",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1585-L1591 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.enable | public static base_responses enable(nitro_service client, String servicegroupname[]) throws Exception {
base_responses result = null;
if (servicegroupname != null && servicegroupname.length > 0) {
servicegroup enableresources[] = new servicegroup[servicegroupname.length];
for (int i=0;i<servicegroupname.lengt... | java | public static base_responses enable(nitro_service client, String servicegroupname[]) throws Exception {
base_responses result = null;
if (servicegroupname != null && servicegroupname.length > 0) {
servicegroup enableresources[] = new servicegroup[servicegroupname.length];
for (int i=0;i<servicegroupname.lengt... | [
"public",
"static",
"base_responses",
"enable",
"(",
"nitro_service",
"client",
",",
"String",
"servicegroupname",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"servicegroupname",
"!=",
"null",
"&&",
"servic... | Use this API to enable servicegroup resources of given names. | [
"Use",
"this",
"API",
"to",
"enable",
"servicegroup",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1596-L1607 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.enable | public static base_responses enable(nitro_service client, servicegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
servicegroup enableresources[] = new servicegroup[resources.length];
for (int i=0;i<resources.length;i++){
enableresources[i... | java | public static base_responses enable(nitro_service client, servicegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
servicegroup enableresources[] = new servicegroup[resources.length];
for (int i=0;i<resources.length;i++){
enableresources[i... | [
"public",
"static",
"base_responses",
"enable",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
... | Use this API to enable servicegroup resources. | [
"Use",
"this",
"API",
"to",
"enable",
"servicegroup",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1612-L1625 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.disable | public static base_response disable(nitro_service client, String servicegroupname) throws Exception {
servicegroup disableresource = new servicegroup();
disableresource.servicegroupname = servicegroupname;
return disableresource.perform_operation(client,"disable");
} | java | public static base_response disable(nitro_service client, String servicegroupname) throws Exception {
servicegroup disableresource = new servicegroup();
disableresource.servicegroupname = servicegroupname;
return disableresource.perform_operation(client,"disable");
} | [
"public",
"static",
"base_response",
"disable",
"(",
"nitro_service",
"client",
",",
"String",
"servicegroupname",
")",
"throws",
"Exception",
"{",
"servicegroup",
"disableresource",
"=",
"new",
"servicegroup",
"(",
")",
";",
"disableresource",
".",
"servicegroupname"... | Use this API to disable servicegroup of given name. | [
"Use",
"this",
"API",
"to",
"disable",
"servicegroup",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1630-L1634 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.disable | public static base_response disable(nitro_service client, servicegroup resource) throws Exception {
servicegroup disableresource = new servicegroup();
disableresource.servicegroupname = resource.servicegroupname;
disableresource.servername = resource.servername;
disableresource.port = resource.port;
disablere... | java | public static base_response disable(nitro_service client, servicegroup resource) throws Exception {
servicegroup disableresource = new servicegroup();
disableresource.servicegroupname = resource.servicegroupname;
disableresource.servername = resource.servername;
disableresource.port = resource.port;
disablere... | [
"public",
"static",
"base_response",
"disable",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resource",
")",
"throws",
"Exception",
"{",
"servicegroup",
"disableresource",
"=",
"new",
"servicegroup",
"(",
")",
";",
"disableresource",
".",
"servicegroupname",
... | Use this API to disable servicegroup. | [
"Use",
"this",
"API",
"to",
"disable",
"servicegroup",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1639-L1647 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.disable | public static base_responses disable(nitro_service client, String servicegroupname[]) throws Exception {
base_responses result = null;
if (servicegroupname != null && servicegroupname.length > 0) {
servicegroup disableresources[] = new servicegroup[servicegroupname.length];
for (int i=0;i<servicegroupname.len... | java | public static base_responses disable(nitro_service client, String servicegroupname[]) throws Exception {
base_responses result = null;
if (servicegroupname != null && servicegroupname.length > 0) {
servicegroup disableresources[] = new servicegroup[servicegroupname.length];
for (int i=0;i<servicegroupname.len... | [
"public",
"static",
"base_responses",
"disable",
"(",
"nitro_service",
"client",
",",
"String",
"servicegroupname",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"servicegroupname",
"!=",
"null",
"&&",
"servi... | Use this API to disable servicegroup resources of given names. | [
"Use",
"this",
"API",
"to",
"disable",
"servicegroup",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1652-L1663 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.disable | public static base_responses disable(nitro_service client, servicegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
servicegroup disableresources[] = new servicegroup[resources.length];
for (int i=0;i<resources.length;i++){
disableresource... | java | public static base_responses disable(nitro_service client, servicegroup resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
servicegroup disableresources[] = new servicegroup[resources.length];
for (int i=0;i<resources.length;i++){
disableresource... | [
"public",
"static",
"base_responses",
"disable",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
... | Use this API to disable servicegroup resources. | [
"Use",
"this",
"API",
"to",
"disable",
"servicegroup",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1668-L1683 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.rename | public static base_response rename(nitro_service client, servicegroup resource, String new_servicegroupname) throws Exception {
servicegroup renameresource = new servicegroup();
renameresource.servicegroupname = resource.servicegroupname;
return renameresource.rename_resource(client,new_servicegroupname);
} | java | public static base_response rename(nitro_service client, servicegroup resource, String new_servicegroupname) throws Exception {
servicegroup renameresource = new servicegroup();
renameresource.servicegroupname = resource.servicegroupname;
return renameresource.rename_resource(client,new_servicegroupname);
} | [
"public",
"static",
"base_response",
"rename",
"(",
"nitro_service",
"client",
",",
"servicegroup",
"resource",
",",
"String",
"new_servicegroupname",
")",
"throws",
"Exception",
"{",
"servicegroup",
"renameresource",
"=",
"new",
"servicegroup",
"(",
")",
";",
"rena... | Use this API to rename a servicegroup resource. | [
"Use",
"this",
"API",
"to",
"rename",
"a",
"servicegroup",
"resource",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1688-L1692 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.get | public static servicegroup[] get(nitro_service service) throws Exception{
servicegroup obj = new servicegroup();
servicegroup[] response = (servicegroup[])obj.get_resources(service);
return response;
} | java | public static servicegroup[] get(nitro_service service) throws Exception{
servicegroup obj = new servicegroup();
servicegroup[] response = (servicegroup[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"servicegroup",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"servicegroup",
"obj",
"=",
"new",
"servicegroup",
"(",
")",
";",
"servicegroup",
"[",
"]",
"response",
"=",
"(",
"servicegroup",
"[",
"]",... | Use this API to fetch all the servicegroup resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"servicegroup",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1706-L1710 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.get | public static servicegroup[] get(nitro_service service, servicegroup_args args) throws Exception{
servicegroup obj = new servicegroup();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
servicegroup[] response = (servicegroup[])obj.get_resources(service, option);... | java | public static servicegroup[] get(nitro_service service, servicegroup_args args) throws Exception{
servicegroup obj = new servicegroup();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
servicegroup[] response = (servicegroup[])obj.get_resources(service, option);... | [
"public",
"static",
"servicegroup",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"servicegroup_args",
"args",
")",
"throws",
"Exception",
"{",
"servicegroup",
"obj",
"=",
"new",
"servicegroup",
"(",
")",
";",
"options",
"option",
"=",
"new",
"options... | Use this API to fetch all the servicegroup resources that are configured on netscaler.
This uses servicegroup_args which is a way to provide additional arguments while fetching the resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"servicegroup",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
".",
"This",
"uses",
"servicegroup_args",
"which",
"is",
"a",
"way",
"to",
"provide",
"additional",
"arguments",
"while",
"fetching",
... | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1723-L1729 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java | servicegroup.get | public static servicegroup get(nitro_service service, String servicegroupname) throws Exception{
servicegroup obj = new servicegroup();
obj.set_servicegroupname(servicegroupname);
servicegroup response = (servicegroup) obj.get_resource(service);
return response;
} | java | public static servicegroup get(nitro_service service, String servicegroupname) throws Exception{
servicegroup obj = new servicegroup();
obj.set_servicegroupname(servicegroupname);
servicegroup response = (servicegroup) obj.get_resource(service);
return response;
} | [
"public",
"static",
"servicegroup",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"servicegroupname",
")",
"throws",
"Exception",
"{",
"servicegroup",
"obj",
"=",
"new",
"servicegroup",
"(",
")",
";",
"obj",
".",
"set_servicegroupname",
"(",
"servicegroup... | Use this API to fetch servicegroup resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"servicegroup",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup.java#L1734-L1739 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsproxyrecords.java | dnsproxyrecords.flush | public static base_response flush(nitro_service client) throws Exception {
dnsproxyrecords flushresource = new dnsproxyrecords();
return flushresource.perform_operation(client,"flush");
} | java | public static base_response flush(nitro_service client) throws Exception {
dnsproxyrecords flushresource = new dnsproxyrecords();
return flushresource.perform_operation(client,"flush");
} | [
"public",
"static",
"base_response",
"flush",
"(",
"nitro_service",
"client",
")",
"throws",
"Exception",
"{",
"dnsproxyrecords",
"flushresource",
"=",
"new",
"dnsproxyrecords",
"(",
")",
";",
"return",
"flushresource",
".",
"perform_operation",
"(",
"client",
",",
... | Use this API to flush dnsproxyrecords. | [
"Use",
"this",
"API",
"to",
"flush",
"dnsproxyrecords",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnsproxyrecords.java#L75-L78 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformpolicy_transformpolicylabel_binding.java | transformpolicy_transformpolicylabel_binding.get | public static transformpolicy_transformpolicylabel_binding[] get(nitro_service service, String name) throws Exception{
transformpolicy_transformpolicylabel_binding obj = new transformpolicy_transformpolicylabel_binding();
obj.set_name(name);
transformpolicy_transformpolicylabel_binding response[] = (transformpoli... | java | public static transformpolicy_transformpolicylabel_binding[] get(nitro_service service, String name) throws Exception{
transformpolicy_transformpolicylabel_binding obj = new transformpolicy_transformpolicylabel_binding();
obj.set_name(name);
transformpolicy_transformpolicylabel_binding response[] = (transformpoli... | [
"public",
"static",
"transformpolicy_transformpolicylabel_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"transformpolicy_transformpolicylabel_binding",
"obj",
"=",
"new",
"transformpolicy_transformpolicylab... | Use this API to fetch transformpolicy_transformpolicylabel_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"transformpolicy_transformpolicylabel_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/transform/transformpolicy_transformpolicylabel_binding.java#L162-L167 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/arpparam.java | arpparam.update | public static base_response update(nitro_service client, arpparam resource) throws Exception {
arpparam updateresource = new arpparam();
updateresource.timeout = resource.timeout;
updateresource.spoofvalidation = resource.spoofvalidation;
return updateresource.update_resource(client);
} | java | public static base_response update(nitro_service client, arpparam resource) throws Exception {
arpparam updateresource = new arpparam();
updateresource.timeout = resource.timeout;
updateresource.spoofvalidation = resource.spoofvalidation;
return updateresource.update_resource(client);
} | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"arpparam",
"resource",
")",
"throws",
"Exception",
"{",
"arpparam",
"updateresource",
"=",
"new",
"arpparam",
"(",
")",
";",
"updateresource",
".",
"timeout",
"=",
"resource",
"... | Use this API to update arpparam. | [
"Use",
"this",
"API",
"to",
"update",
"arpparam",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/arpparam.java#L122-L127 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/arpparam.java | arpparam.unset | public static base_response unset(nitro_service client, arpparam resource, String[] args) throws Exception{
arpparam unsetresource = new arpparam();
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, arpparam resource, String[] args) throws Exception{
arpparam unsetresource = new arpparam();
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"arpparam",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"arpparam",
"unsetresource",
"=",
"new",
"arpparam",
"(",
")",
";",
"return",
"unsetres... | Use this API to unset the properties of arpparam resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"arpparam",
"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/network/arpparam.java#L133-L136 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/arpparam.java | arpparam.get | public static arpparam get(nitro_service service) throws Exception{
arpparam obj = new arpparam();
arpparam[] response = (arpparam[])obj.get_resources(service);
return response[0];
} | java | public static arpparam get(nitro_service service) throws Exception{
arpparam obj = new arpparam();
arpparam[] response = (arpparam[])obj.get_resources(service);
return response[0];
} | [
"public",
"static",
"arpparam",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"arpparam",
"obj",
"=",
"new",
"arpparam",
"(",
")",
";",
"arpparam",
"[",
"]",
"response",
"=",
"(",
"arpparam",
"[",
"]",
")",
"obj",
".",
"get_res... | Use this API to fetch all the arpparam resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"arpparam",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/arpparam.java#L141-L145 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/util/PropertiesUtils.java | PropertiesUtils.getInt | public static int getInt(Properties props, String key, int defaultValue) {
String value = props.getProperty(key);
if (value != null) {
return Integer.parseInt(value);
} else {
return defaultValue;
}
} | java | public static int getInt(Properties props, String key, int defaultValue) {
String value = props.getProperty(key);
if (value != null) {
return Integer.parseInt(value);
} else {
return defaultValue;
}
} | [
"public",
"static",
"int",
"getInt",
"(",
"Properties",
"props",
",",
"String",
"key",
",",
"int",
"defaultValue",
")",
"{",
"String",
"value",
"=",
"props",
".",
"getProperty",
"(",
"key",
")",
";",
"if",
"(",
"value",
"!=",
"null",
")",
"{",
"return"... | Load an integer property. If the key is not present, returns defaultValue. | [
"Load",
"an",
"integer",
"property",
".",
"If",
"the",
"key",
"is",
"not",
"present",
"returns",
"defaultValue",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/util/PropertiesUtils.java#L129-L136 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/util/PropertiesUtils.java | PropertiesUtils.getDouble | public static double getDouble(Properties props, String key, double defaultValue) {
String value = props.getProperty(key);
if (value != null) {
return Double.parseDouble(value);
} else {
return defaultValue;
}
} | java | public static double getDouble(Properties props, String key, double defaultValue) {
String value = props.getProperty(key);
if (value != null) {
return Double.parseDouble(value);
} else {
return defaultValue;
}
} | [
"public",
"static",
"double",
"getDouble",
"(",
"Properties",
"props",
",",
"String",
"key",
",",
"double",
"defaultValue",
")",
"{",
"String",
"value",
"=",
"props",
".",
"getProperty",
"(",
"key",
")",
";",
"if",
"(",
"value",
"!=",
"null",
")",
"{",
... | Load a double property. If the key is not present, returns defaultValue. | [
"Load",
"a",
"double",
"property",
".",
"If",
"the",
"key",
"is",
"not",
"present",
"returns",
"defaultValue",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/util/PropertiesUtils.java#L148-L155 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/util/PropertiesUtils.java | PropertiesUtils.getBool | public static boolean getBool(Properties props, String key,
boolean defaultValue) {
String value = props.getProperty(key);
if (value != null) {
return Boolean.parseBoolean(value);
} else {
return defaultValue;
}
} | java | public static boolean getBool(Properties props, String key,
boolean defaultValue) {
String value = props.getProperty(key);
if (value != null) {
return Boolean.parseBoolean(value);
} else {
return defaultValue;
}
} | [
"public",
"static",
"boolean",
"getBool",
"(",
"Properties",
"props",
",",
"String",
"key",
",",
"boolean",
"defaultValue",
")",
"{",
"String",
"value",
"=",
"props",
".",
"getProperty",
"(",
"key",
")",
";",
"if",
"(",
"value",
"!=",
"null",
")",
"{",
... | Load a boolean property. If the key is not present, returns defaultValue. | [
"Load",
"a",
"boolean",
"property",
".",
"If",
"the",
"key",
"is",
"not",
"present",
"returns",
"defaultValue",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/util/PropertiesUtils.java#L167-L175 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/util/PropertiesUtils.java | PropertiesUtils.getIntArray | public static int[] getIntArray(Properties props, String key) {
Integer[] result = MetaClass.cast(props.getProperty(key), Integer [].class);
return ArrayUtils.toPrimitive(result);
} | java | public static int[] getIntArray(Properties props, String key) {
Integer[] result = MetaClass.cast(props.getProperty(key), Integer [].class);
return ArrayUtils.toPrimitive(result);
} | [
"public",
"static",
"int",
"[",
"]",
"getIntArray",
"(",
"Properties",
"props",
",",
"String",
"key",
")",
"{",
"Integer",
"[",
"]",
"result",
"=",
"MetaClass",
".",
"cast",
"(",
"props",
".",
"getProperty",
"(",
"key",
")",
",",
"Integer",
"[",
"]",
... | Loads a comma-separated list of integers from Properties. The list cannot include any whitespace. | [
"Loads",
"a",
"comma",
"-",
"separated",
"list",
"of",
"integers",
"from",
"Properties",
".",
"The",
"list",
"cannot",
"include",
"any",
"whitespace",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/util/PropertiesUtils.java#L180-L183 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/util/PropertiesUtils.java | PropertiesUtils.getDoubleArray | public static double[] getDoubleArray(Properties props, String key) {
Double[] result = MetaClass.cast(props.getProperty(key), Double [].class);
return ArrayUtils.toPrimitive(result);
} | java | public static double[] getDoubleArray(Properties props, String key) {
Double[] result = MetaClass.cast(props.getProperty(key), Double [].class);
return ArrayUtils.toPrimitive(result);
} | [
"public",
"static",
"double",
"[",
"]",
"getDoubleArray",
"(",
"Properties",
"props",
",",
"String",
"key",
")",
"{",
"Double",
"[",
"]",
"result",
"=",
"MetaClass",
".",
"cast",
"(",
"props",
".",
"getProperty",
"(",
"key",
")",
",",
"Double",
"[",
"]... | Loads a comma-separated list of doubles from Properties. The list cannot include any whitespace. | [
"Loads",
"a",
"comma",
"-",
"separated",
"list",
"of",
"doubles",
"from",
"Properties",
".",
"The",
"list",
"cannot",
"include",
"any",
"whitespace",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/util/PropertiesUtils.java#L188-L191 | train |
chen0040/java-moea | src/main/java/com/github/chen0040/moea/components/NondominatedPopulation.java | NondominatedPopulation.invertedCompare | public static int invertedCompare(Solution s1, Solution s2) {
int flag = InvertedCompareUtils.ConstraintCompare(s1, s2);
if (flag == 0)
{
flag = InvertedCompareUtils.ParetoObjectiveCompare(s1, s2);
}
return flag;
} | java | public static int invertedCompare(Solution s1, Solution s2) {
int flag = InvertedCompareUtils.ConstraintCompare(s1, s2);
if (flag == 0)
{
flag = InvertedCompareUtils.ParetoObjectiveCompare(s1, s2);
}
return flag;
} | [
"public",
"static",
"int",
"invertedCompare",
"(",
"Solution",
"s1",
",",
"Solution",
"s2",
")",
"{",
"int",
"flag",
"=",
"InvertedCompareUtils",
".",
"ConstraintCompare",
"(",
"s1",
",",
"s2",
")",
";",
"if",
"(",
"flag",
"==",
"0",
")",
"{",
"flag",
... | return 1 if s2 is better | [
"return",
"1",
"if",
"s2",
"is",
"better"
] | 2d865b5ba5a333f44883333efe590460aad7d545 | https://github.com/chen0040/java-moea/blob/2d865b5ba5a333f44883333efe590460aad7d545/src/main/java/com/github/chen0040/moea/components/NondominatedPopulation.java#L39-L47 | train |
chen0040/java-moea | src/main/java/com/github/chen0040/moea/components/NondominatedPopulation.java | NondominatedPopulation.add | @Override
public boolean add(Solution solution_to_add)
{
List<Solution> solutions_to_remove = new ArrayList<>();
boolean should_add = true;
for (Solution solution : solutions)
{
int flag = invertedCompare(solution_to_add, solution);
if (flag < 0) // solution_to_add is b... | java | @Override
public boolean add(Solution solution_to_add)
{
List<Solution> solutions_to_remove = new ArrayList<>();
boolean should_add = true;
for (Solution solution : solutions)
{
int flag = invertedCompare(solution_to_add, solution);
if (flag < 0) // solution_to_add is b... | [
"@",
"Override",
"public",
"boolean",
"add",
"(",
"Solution",
"solution_to_add",
")",
"{",
"List",
"<",
"Solution",
">",
"solutions_to_remove",
"=",
"new",
"ArrayList",
"<>",
"(",
")",
";",
"boolean",
"should_add",
"=",
"true",
";",
"for",
"(",
"Solution",
... | only add solution if solution is not worse than any solution in the non-dominated population | [
"only",
"add",
"solution",
"if",
"solution",
"is",
"not",
"worse",
"than",
"any",
"solution",
"in",
"the",
"non",
"-",
"dominated",
"population"
] | 2d865b5ba5a333f44883333efe590460aad7d545 | https://github.com/chen0040/java-moea/blob/2d865b5ba5a333f44883333efe590460aad7d545/src/main/java/com/github/chen0040/moea/components/NondominatedPopulation.java#L50-L86 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy.java | vpntrafficpolicy.get | public static vpntrafficpolicy[] get(nitro_service service) throws Exception{
vpntrafficpolicy obj = new vpntrafficpolicy();
vpntrafficpolicy[] response = (vpntrafficpolicy[])obj.get_resources(service);
return response;
} | java | public static vpntrafficpolicy[] get(nitro_service service) throws Exception{
vpntrafficpolicy obj = new vpntrafficpolicy();
vpntrafficpolicy[] response = (vpntrafficpolicy[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"vpntrafficpolicy",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"vpntrafficpolicy",
"obj",
"=",
"new",
"vpntrafficpolicy",
"(",
")",
";",
"vpntrafficpolicy",
"[",
"]",
"response",
"=",
"(",
"vpntrafficpo... | Use this API to fetch all the vpntrafficpolicy resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"vpntrafficpolicy",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy.java#L301-L305 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy.java | vpntrafficpolicy.get | public static vpntrafficpolicy get(nitro_service service, String name) throws Exception{
vpntrafficpolicy obj = new vpntrafficpolicy();
obj.set_name(name);
vpntrafficpolicy response = (vpntrafficpolicy) obj.get_resource(service);
return response;
} | java | public static vpntrafficpolicy get(nitro_service service, String name) throws Exception{
vpntrafficpolicy obj = new vpntrafficpolicy();
obj.set_name(name);
vpntrafficpolicy response = (vpntrafficpolicy) obj.get_resource(service);
return response;
} | [
"public",
"static",
"vpntrafficpolicy",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"vpntrafficpolicy",
"obj",
"=",
"new",
"vpntrafficpolicy",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
"... | Use this API to fetch vpntrafficpolicy resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"vpntrafficpolicy",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy.java#L317-L322 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/classify/GeneralDataset.java | GeneralDataset.numFeatureTokens | public int numFeatureTokens() {
int x = 0;
for (int i = 0, m = size; i < m; i++) {
x += data[i].length;
}
return x;
} | java | public int numFeatureTokens() {
int x = 0;
for (int i = 0, m = size; i < m; i++) {
x += data[i].length;
}
return x;
} | [
"public",
"int",
"numFeatureTokens",
"(",
")",
"{",
"int",
"x",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"m",
"=",
"size",
";",
"i",
"<",
"m",
";",
"i",
"++",
")",
"{",
"x",
"+=",
"data",
"[",
"i",
"]",
".",
"length",
";",
"}... | returns the number of feature tokens in the Dataset. | [
"returns",
"the",
"number",
"of",
"feature",
"tokens",
"in",
"the",
"Dataset",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/GeneralDataset.java#L193-L199 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/classify/GeneralDataset.java | GeneralDataset.addAll | public void addAll(Iterable<? extends Datum<L,F>> data) {
for (Datum<L, F> d : data) {
add(d);
}
} | java | public void addAll(Iterable<? extends Datum<L,F>> data) {
for (Datum<L, F> d : data) {
add(d);
}
} | [
"public",
"void",
"addAll",
"(",
"Iterable",
"<",
"?",
"extends",
"Datum",
"<",
"L",
",",
"F",
">",
">",
"data",
")",
"{",
"for",
"(",
"Datum",
"<",
"L",
",",
"F",
">",
"d",
":",
"data",
")",
"{",
"add",
"(",
"d",
")",
";",
"}",
"}"
] | Adds all Datums in the given collection of data to this dataset
@param data collection of datums you would like to add to the dataset | [
"Adds",
"all",
"Datums",
"in",
"the",
"given",
"collection",
"of",
"data",
"to",
"this",
"dataset"
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/GeneralDataset.java#L214-L218 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/classify/GeneralDataset.java | GeneralDataset.makeSvmLabelMap | public String[] makeSvmLabelMap() {
String[] labelMap = new String[numClasses()];
if (numClasses() > 2) {
for (int i = 0; i < labelMap.length; i++) {
labelMap[i] = String.valueOf((i + 1));
}
} else {
labelMap = new String[]{"+1", "-1"};
}
return labelMap;
} | java | public String[] makeSvmLabelMap() {
String[] labelMap = new String[numClasses()];
if (numClasses() > 2) {
for (int i = 0; i < labelMap.length; i++) {
labelMap[i] = String.valueOf((i + 1));
}
} else {
labelMap = new String[]{"+1", "-1"};
}
return labelMap;
} | [
"public",
"String",
"[",
"]",
"makeSvmLabelMap",
"(",
")",
"{",
"String",
"[",
"]",
"labelMap",
"=",
"new",
"String",
"[",
"numClasses",
"(",
")",
"]",
";",
"if",
"(",
"numClasses",
"(",
")",
">",
"2",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
... | Maps our labels to labels that are compatible with svm_light
@return array of strings | [
"Maps",
"our",
"labels",
"to",
"labels",
"that",
"are",
"compatible",
"with",
"svm_light"
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/GeneralDataset.java#L404-L414 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/classify/GeneralDataset.java | GeneralDataset.printSVMLightFormat | public void printSVMLightFormat(PrintWriter pw) {
//assumes each data item has a few features on, and sorts the feature keys while collecting the values in a counter
// old comment:
// the following code commented out by Ramesh (nmramesh@cs.stanford.edu) 12/17/2009.
// why not simply print the exa... | java | public void printSVMLightFormat(PrintWriter pw) {
//assumes each data item has a few features on, and sorts the feature keys while collecting the values in a counter
// old comment:
// the following code commented out by Ramesh (nmramesh@cs.stanford.edu) 12/17/2009.
// why not simply print the exa... | [
"public",
"void",
"printSVMLightFormat",
"(",
"PrintWriter",
"pw",
")",
"{",
"//assumes each data item has a few features on, and sorts the feature keys while collecting the values in a counter\r",
"// old comment:\r",
"// the following code commented out by Ramesh (nmramesh@cs.stanford.edu) 12/... | Print SVM Light Format file.
The following comments are no longer applicable because I am
now printing out the exact labelID for each example. -Ramesh (nmramesh@cs.stanford.edu) 12/17/2009.
If the Dataset has more than 2 classes, then it
prints using the label index (+1) (for svm_struct). If it is 2 classes, then th... | [
"Print",
"SVM",
"Light",
"Format",
"file",
"."
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/GeneralDataset.java#L428-L465 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmglobal_auditnslogpolicy_binding.java | tmglobal_auditnslogpolicy_binding.get | public static tmglobal_auditnslogpolicy_binding[] get(nitro_service service) throws Exception{
tmglobal_auditnslogpolicy_binding obj = new tmglobal_auditnslogpolicy_binding();
tmglobal_auditnslogpolicy_binding response[] = (tmglobal_auditnslogpolicy_binding[]) obj.get_resources(service);
return response;
} | java | public static tmglobal_auditnslogpolicy_binding[] get(nitro_service service) throws Exception{
tmglobal_auditnslogpolicy_binding obj = new tmglobal_auditnslogpolicy_binding();
tmglobal_auditnslogpolicy_binding response[] = (tmglobal_auditnslogpolicy_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"tmglobal_auditnslogpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"tmglobal_auditnslogpolicy_binding",
"obj",
"=",
"new",
"tmglobal_auditnslogpolicy_binding",
"(",
")",
";",
"tmglobal_auditnslogpolicy... | Use this API to fetch a tmglobal_auditnslogpolicy_binding resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"tmglobal_auditnslogpolicy_binding",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmglobal_auditnslogpolicy_binding.java#L171-L175 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicylabel_cachepolicy_binding.java | cachepolicylabel_cachepolicy_binding.get | public static cachepolicylabel_cachepolicy_binding[] get(nitro_service service, String labelname) throws Exception{
cachepolicylabel_cachepolicy_binding obj = new cachepolicylabel_cachepolicy_binding();
obj.set_labelname(labelname);
cachepolicylabel_cachepolicy_binding response[] = (cachepolicylabel_cachepolicy_b... | java | public static cachepolicylabel_cachepolicy_binding[] get(nitro_service service, String labelname) throws Exception{
cachepolicylabel_cachepolicy_binding obj = new cachepolicylabel_cachepolicy_binding();
obj.set_labelname(labelname);
cachepolicylabel_cachepolicy_binding response[] = (cachepolicylabel_cachepolicy_b... | [
"public",
"static",
"cachepolicylabel_cachepolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"labelname",
")",
"throws",
"Exception",
"{",
"cachepolicylabel_cachepolicy_binding",
"obj",
"=",
"new",
"cachepolicylabel_cachepolicy_binding",
"(",... | Use this API to fetch cachepolicylabel_cachepolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"cachepolicylabel_cachepolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cachepolicylabel_cachepolicy_binding.java#L279-L284 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.add | public static base_response add(nitro_service client, sslcrl resource) throws Exception {
sslcrl addresource = new sslcrl();
addresource.crlname = resource.crlname;
addresource.crlpath = resource.crlpath;
addresource.inform = resource.inform;
addresource.refresh = resource.refresh;
addresource.cacert = reso... | java | public static base_response add(nitro_service client, sslcrl resource) throws Exception {
sslcrl addresource = new sslcrl();
addresource.crlname = resource.crlname;
addresource.crlpath = resource.crlpath;
addresource.inform = resource.inform;
addresource.refresh = resource.refresh;
addresource.cacert = reso... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"sslcrl",
"resource",
")",
"throws",
"Exception",
"{",
"sslcrl",
"addresource",
"=",
"new",
"sslcrl",
"(",
")",
";",
"addresource",
".",
"crlname",
"=",
"resource",
".",
"crlname"... | Use this API to add sslcrl. | [
"Use",
"this",
"API",
"to",
"add",
"sslcrl",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L609-L629 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.add | public static base_responses add(nitro_service client, sslcrl resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcrl addresources[] = new sslcrl[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new sslcrl();
addre... | java | public static base_responses add(nitro_service client, sslcrl resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcrl addresources[] = new sslcrl[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new sslcrl();
addre... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"sslcrl",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".",
"l... | Use this API to add sslcrl resources. | [
"Use",
"this",
"API",
"to",
"add",
"sslcrl",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L634-L661 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.create | public static base_response create(nitro_service client, sslcrl resource) throws Exception {
sslcrl createresource = new sslcrl();
createresource.cacertfile = resource.cacertfile;
createresource.cakeyfile = resource.cakeyfile;
createresource.indexfile = resource.indexfile;
createresource.revoke = resource.rev... | java | public static base_response create(nitro_service client, sslcrl resource) throws Exception {
sslcrl createresource = new sslcrl();
createresource.cacertfile = resource.cacertfile;
createresource.cakeyfile = resource.cakeyfile;
createresource.indexfile = resource.indexfile;
createresource.revoke = resource.rev... | [
"public",
"static",
"base_response",
"create",
"(",
"nitro_service",
"client",
",",
"sslcrl",
"resource",
")",
"throws",
"Exception",
"{",
"sslcrl",
"createresource",
"=",
"new",
"sslcrl",
"(",
")",
";",
"createresource",
".",
"cacertfile",
"=",
"resource",
".",... | Use this API to create sslcrl. | [
"Use",
"this",
"API",
"to",
"create",
"sslcrl",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L666-L675 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.create | public static base_responses create(nitro_service client, sslcrl resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcrl createresources[] = new sslcrl[resources.length];
for (int i=0;i<resources.length;i++){
createresources[i] = new sslcrl();
... | java | public static base_responses create(nitro_service client, sslcrl resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcrl createresources[] = new sslcrl[resources.length];
for (int i=0;i<resources.length;i++){
createresources[i] = new sslcrl();
... | [
"public",
"static",
"base_responses",
"create",
"(",
"nitro_service",
"client",
",",
"sslcrl",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".",
... | Use this API to create sslcrl resources. | [
"Use",
"this",
"API",
"to",
"create",
"sslcrl",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L680-L696 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.delete | public static base_response delete(nitro_service client, String crlname) throws Exception {
sslcrl deleteresource = new sslcrl();
deleteresource.crlname = crlname;
return deleteresource.delete_resource(client);
} | java | public static base_response delete(nitro_service client, String crlname) throws Exception {
sslcrl deleteresource = new sslcrl();
deleteresource.crlname = crlname;
return deleteresource.delete_resource(client);
} | [
"public",
"static",
"base_response",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"crlname",
")",
"throws",
"Exception",
"{",
"sslcrl",
"deleteresource",
"=",
"new",
"sslcrl",
"(",
")",
";",
"deleteresource",
".",
"crlname",
"=",
"crlname",
";",
"r... | Use this API to delete sslcrl of given name. | [
"Use",
"this",
"API",
"to",
"delete",
"sslcrl",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L701-L705 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.delete | public static base_responses delete(nitro_service client, String crlname[]) throws Exception {
base_responses result = null;
if (crlname != null && crlname.length > 0) {
sslcrl deleteresources[] = new sslcrl[crlname.length];
for (int i=0;i<crlname.length;i++){
deleteresources[i] = new sslcrl();
delete... | java | public static base_responses delete(nitro_service client, String crlname[]) throws Exception {
base_responses result = null;
if (crlname != null && crlname.length > 0) {
sslcrl deleteresources[] = new sslcrl[crlname.length];
for (int i=0;i<crlname.length;i++){
deleteresources[i] = new sslcrl();
delete... | [
"public",
"static",
"base_responses",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"crlname",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"crlname",
"!=",
"null",
"&&",
"crlname",
".",
"leng... | Use this API to delete sslcrl resources of given names. | [
"Use",
"this",
"API",
"to",
"delete",
"sslcrl",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L719-L730 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.update | public static base_response update(nitro_service client, sslcrl resource) throws Exception {
sslcrl updateresource = new sslcrl();
updateresource.crlname = resource.crlname;
updateresource.refresh = resource.refresh;
updateresource.cacert = resource.cacert;
updateresource.server = resource.server;
updateres... | java | public static base_response update(nitro_service client, sslcrl resource) throws Exception {
sslcrl updateresource = new sslcrl();
updateresource.crlname = resource.crlname;
updateresource.refresh = resource.refresh;
updateresource.cacert = resource.cacert;
updateresource.server = resource.server;
updateres... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"sslcrl",
"resource",
")",
"throws",
"Exception",
"{",
"sslcrl",
"updateresource",
"=",
"new",
"sslcrl",
"(",
")",
";",
"updateresource",
".",
"crlname",
"=",
"resource",
".",
... | Use this API to update sslcrl. | [
"Use",
"this",
"API",
"to",
"update",
"sslcrl",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L751-L769 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.update | public static base_responses update(nitro_service client, sslcrl resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcrl updateresources[] = new sslcrl[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new sslcrl();
... | java | public static base_responses update(nitro_service client, sslcrl resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
sslcrl updateresources[] = new sslcrl[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new sslcrl();
... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"sslcrl",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".",
... | Use this API to update sslcrl resources. | [
"Use",
"this",
"API",
"to",
"update",
"sslcrl",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L774-L799 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.unset | public static base_response unset(nitro_service client, sslcrl resource, String[] args) throws Exception{
sslcrl unsetresource = new sslcrl();
unsetresource.crlname = resource.crlname;
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, sslcrl resource, String[] args) throws Exception{
sslcrl unsetresource = new sslcrl();
unsetresource.crlname = resource.crlname;
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"sslcrl",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"sslcrl",
"unsetresource",
"=",
"new",
"sslcrl",
"(",
")",
";",
"unsetresource",
".",
"... | Use this API to unset the properties of sslcrl resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"sslcrl",
"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/sslcrl.java#L805-L809 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.unset | public static base_responses unset(nitro_service client, String crlname[], String args[]) throws Exception {
base_responses result = null;
if (crlname != null && crlname.length > 0) {
sslcrl unsetresources[] = new sslcrl[crlname.length];
for (int i=0;i<crlname.length;i++){
unsetresources[i] = new sslcrl()... | java | public static base_responses unset(nitro_service client, String crlname[], String args[]) throws Exception {
base_responses result = null;
if (crlname != null && crlname.length > 0) {
sslcrl unsetresources[] = new sslcrl[crlname.length];
for (int i=0;i<crlname.length;i++){
unsetresources[i] = new sslcrl()... | [
"public",
"static",
"base_responses",
"unset",
"(",
"nitro_service",
"client",
",",
"String",
"crlname",
"[",
"]",
",",
"String",
"args",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"crlname",
"!=",
"... | Use this API to unset the properties of sslcrl resources.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"sslcrl",
"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/sslcrl.java#L815-L826 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.get | public static sslcrl[] get(nitro_service service) throws Exception{
sslcrl obj = new sslcrl();
sslcrl[] response = (sslcrl[])obj.get_resources(service);
return response;
} | java | public static sslcrl[] get(nitro_service service) throws Exception{
sslcrl obj = new sslcrl();
sslcrl[] response = (sslcrl[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"sslcrl",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"sslcrl",
"obj",
"=",
"new",
"sslcrl",
"(",
")",
";",
"sslcrl",
"[",
"]",
"response",
"=",
"(",
"sslcrl",
"[",
"]",
")",
"obj",
".",
"get... | Use this API to fetch all the sslcrl resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"sslcrl",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L848-L852 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.get | public static sslcrl get(nitro_service service, String crlname) throws Exception{
sslcrl obj = new sslcrl();
obj.set_crlname(crlname);
sslcrl response = (sslcrl) obj.get_resource(service);
return response;
} | java | public static sslcrl get(nitro_service service, String crlname) throws Exception{
sslcrl obj = new sslcrl();
obj.set_crlname(crlname);
sslcrl response = (sslcrl) obj.get_resource(service);
return response;
} | [
"public",
"static",
"sslcrl",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"crlname",
")",
"throws",
"Exception",
"{",
"sslcrl",
"obj",
"=",
"new",
"sslcrl",
"(",
")",
";",
"obj",
".",
"set_crlname",
"(",
"crlname",
")",
";",
"sslcrl",
"response"... | Use this API to fetch sslcrl resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"sslcrl",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L864-L869 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java | sslcrl.get | public static sslcrl[] get(nitro_service service, String crlname[]) throws Exception{
if (crlname !=null && crlname.length>0) {
sslcrl response[] = new sslcrl[crlname.length];
sslcrl obj[] = new sslcrl[crlname.length];
for (int i=0;i<crlname.length;i++) {
obj[i] = new sslcrl();
obj[i].set_crlname(crl... | java | public static sslcrl[] get(nitro_service service, String crlname[]) throws Exception{
if (crlname !=null && crlname.length>0) {
sslcrl response[] = new sslcrl[crlname.length];
sslcrl obj[] = new sslcrl[crlname.length];
for (int i=0;i<crlname.length;i++) {
obj[i] = new sslcrl();
obj[i].set_crlname(crl... | [
"public",
"static",
"sslcrl",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"crlname",
"[",
"]",
")",
"throws",
"Exception",
"{",
"if",
"(",
"crlname",
"!=",
"null",
"&&",
"crlname",
".",
"length",
">",
"0",
")",
"{",
"sslcrl",
"resp... | Use this API to fetch sslcrl resources of given names . | [
"Use",
"this",
"API",
"to",
"fetch",
"sslcrl",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl.java#L874-L886 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/l3param.java | l3param.update | public static base_response update(nitro_service client, l3param resource) throws Exception {
l3param updateresource = new l3param();
updateresource.srcnat = resource.srcnat;
updateresource.icmpgenratethreshold = resource.icmpgenratethreshold;
updateresource.overridernat = resource.overridernat;
updateresourc... | java | public static base_response update(nitro_service client, l3param resource) throws Exception {
l3param updateresource = new l3param();
updateresource.srcnat = resource.srcnat;
updateresource.icmpgenratethreshold = resource.icmpgenratethreshold;
updateresource.overridernat = resource.overridernat;
updateresourc... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"l3param",
"resource",
")",
"throws",
"Exception",
"{",
"l3param",
"updateresource",
"=",
"new",
"l3param",
"(",
")",
";",
"updateresource",
".",
"srcnat",
"=",
"resource",
".",
... | Use this API to update l3param. | [
"Use",
"this",
"API",
"to",
"update",
"l3param",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/l3param.java#L304-L318 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/l3param.java | l3param.unset | public static base_response unset(nitro_service client, l3param resource, String[] args) throws Exception{
l3param unsetresource = new l3param();
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, l3param resource, String[] args) throws Exception{
l3param unsetresource = new l3param();
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"l3param",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"l3param",
"unsetresource",
"=",
"new",
"l3param",
"(",
")",
";",
"return",
"unsetresour... | Use this API to unset the properties of l3param resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"l3param",
"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/network/l3param.java#L324-L327 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/l3param.java | l3param.get | public static l3param get(nitro_service service) throws Exception{
l3param obj = new l3param();
l3param[] response = (l3param[])obj.get_resources(service);
return response[0];
} | java | public static l3param get(nitro_service service) throws Exception{
l3param obj = new l3param();
l3param[] response = (l3param[])obj.get_resources(service);
return response[0];
} | [
"public",
"static",
"l3param",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"l3param",
"obj",
"=",
"new",
"l3param",
"(",
")",
";",
"l3param",
"[",
"]",
"response",
"=",
"(",
"l3param",
"[",
"]",
")",
"obj",
".",
"get_resource... | Use this API to fetch all the l3param resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"l3param",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/l3param.java#L332-L336 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicy_responderpolicylabel_binding.java | responderpolicy_responderpolicylabel_binding.get | public static responderpolicy_responderpolicylabel_binding[] get(nitro_service service, String name) throws Exception{
responderpolicy_responderpolicylabel_binding obj = new responderpolicy_responderpolicylabel_binding();
obj.set_name(name);
responderpolicy_responderpolicylabel_binding response[] = (responderpoli... | java | public static responderpolicy_responderpolicylabel_binding[] get(nitro_service service, String name) throws Exception{
responderpolicy_responderpolicylabel_binding obj = new responderpolicy_responderpolicylabel_binding();
obj.set_name(name);
responderpolicy_responderpolicylabel_binding response[] = (responderpoli... | [
"public",
"static",
"responderpolicy_responderpolicylabel_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"responderpolicy_responderpolicylabel_binding",
"obj",
"=",
"new",
"responderpolicy_responderpolicylab... | Use this API to fetch responderpolicy_responderpolicylabel_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"responderpolicy_responderpolicylabel_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicy_responderpolicylabel_binding.java#L162-L167 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/appflow/appflowpolicy_lbvserver_binding.java | appflowpolicy_lbvserver_binding.get | public static appflowpolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
appflowpolicy_lbvserver_binding obj = new appflowpolicy_lbvserver_binding();
obj.set_name(name);
appflowpolicy_lbvserver_binding response[] = (appflowpolicy_lbvserver_binding[]) obj.get_resources(service);
... | java | public static appflowpolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
appflowpolicy_lbvserver_binding obj = new appflowpolicy_lbvserver_binding();
obj.set_name(name);
appflowpolicy_lbvserver_binding response[] = (appflowpolicy_lbvserver_binding[]) obj.get_resources(service);
... | [
"public",
"static",
"appflowpolicy_lbvserver_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"appflowpolicy_lbvserver_binding",
"obj",
"=",
"new",
"appflowpolicy_lbvserver_binding",
"(",
")",
";",
"ob... | Use this API to fetch appflowpolicy_lbvserver_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"appflowpolicy_lbvserver_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appflow/appflowpolicy_lbvserver_binding.java#L162-L167 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ntp/ntpsync.java | ntpsync.enable | public static base_response enable(nitro_service client) throws Exception {
ntpsync enableresource = new ntpsync();
return enableresource.perform_operation(client,"enable");
} | java | public static base_response enable(nitro_service client) throws Exception {
ntpsync enableresource = new ntpsync();
return enableresource.perform_operation(client,"enable");
} | [
"public",
"static",
"base_response",
"enable",
"(",
"nitro_service",
"client",
")",
"throws",
"Exception",
"{",
"ntpsync",
"enableresource",
"=",
"new",
"ntpsync",
"(",
")",
";",
"return",
"enableresource",
".",
"perform_operation",
"(",
"client",
",",
"\"enable\"... | Use this API to enable ntpsync. | [
"Use",
"this",
"API",
"to",
"enable",
"ntpsync",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ntp/ntpsync.java#L88-L91 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ntp/ntpsync.java | ntpsync.disable | public static base_response disable(nitro_service client) throws Exception {
ntpsync disableresource = new ntpsync();
return disableresource.perform_operation(client,"disable");
} | java | public static base_response disable(nitro_service client) throws Exception {
ntpsync disableresource = new ntpsync();
return disableresource.perform_operation(client,"disable");
} | [
"public",
"static",
"base_response",
"disable",
"(",
"nitro_service",
"client",
")",
"throws",
"Exception",
"{",
"ntpsync",
"disableresource",
"=",
"new",
"ntpsync",
"(",
")",
";",
"return",
"disableresource",
".",
"perform_operation",
"(",
"client",
",",
"\"disab... | Use this API to disable ntpsync. | [
"Use",
"this",
"API",
"to",
"disable",
"ntpsync",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ntp/ntpsync.java#L96-L99 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ntp/ntpsync.java | ntpsync.get | public static ntpsync get(nitro_service service) throws Exception{
ntpsync obj = new ntpsync();
ntpsync[] response = (ntpsync[])obj.get_resources(service);
return response[0];
} | java | public static ntpsync get(nitro_service service) throws Exception{
ntpsync obj = new ntpsync();
ntpsync[] response = (ntpsync[])obj.get_resources(service);
return response[0];
} | [
"public",
"static",
"ntpsync",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"ntpsync",
"obj",
"=",
"new",
"ntpsync",
"(",
")",
";",
"ntpsync",
"[",
"]",
"response",
"=",
"(",
"ntpsync",
"[",
"]",
")",
"obj",
".",
"get_resource... | Use this API to fetch all the ntpsync resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"ntpsync",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ntp/ntpsync.java#L104-L108 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/network/vlan_stats.java | vlan_stats.get | public static vlan_stats[] get(nitro_service service) throws Exception{
vlan_stats obj = new vlan_stats();
vlan_stats[] response = (vlan_stats[])obj.stat_resources(service);
return response;
} | java | public static vlan_stats[] get(nitro_service service) throws Exception{
vlan_stats obj = new vlan_stats();
vlan_stats[] response = (vlan_stats[])obj.stat_resources(service);
return response;
} | [
"public",
"static",
"vlan_stats",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"vlan_stats",
"obj",
"=",
"new",
"vlan_stats",
"(",
")",
";",
"vlan_stats",
"[",
"]",
"response",
"=",
"(",
"vlan_stats",
"[",
"]",
")",
... | Use this API to fetch the statistics of all vlan_stats resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"the",
"statistics",
"of",
"all",
"vlan_stats",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/network/vlan_stats.java#L223-L227 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/network/vlan_stats.java | vlan_stats.get | public static vlan_stats get(nitro_service service, Long id) throws Exception{
vlan_stats obj = new vlan_stats();
obj.set_id(id);
vlan_stats response = (vlan_stats) obj.stat_resource(service);
return response;
} | java | public static vlan_stats get(nitro_service service, Long id) throws Exception{
vlan_stats obj = new vlan_stats();
obj.set_id(id);
vlan_stats response = (vlan_stats) obj.stat_resource(service);
return response;
} | [
"public",
"static",
"vlan_stats",
"get",
"(",
"nitro_service",
"service",
",",
"Long",
"id",
")",
"throws",
"Exception",
"{",
"vlan_stats",
"obj",
"=",
"new",
"vlan_stats",
"(",
")",
";",
"obj",
".",
"set_id",
"(",
"id",
")",
";",
"vlan_stats",
"response",... | Use this API to fetch statistics of vlan_stats resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"statistics",
"of",
"vlan_stats",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/network/vlan_stats.java#L241-L246 | train |
wellner/jcarafe | jcarafe-core/src/main/java/cern/colt/list/AbstractList.java | AbstractList.checkRangeFromTo | protected static void checkRangeFromTo(int from, int to, int theSize) {
if (to==from-1) return;
if (from<0 || from>to || to>=theSize)
throw new IndexOutOfBoundsException("from: "+from+", to: "+to+", size="+theSize);
} | java | protected static void checkRangeFromTo(int from, int to, int theSize) {
if (to==from-1) return;
if (from<0 || from>to || to>=theSize)
throw new IndexOutOfBoundsException("from: "+from+", to: "+to+", size="+theSize);
} | [
"protected",
"static",
"void",
"checkRangeFromTo",
"(",
"int",
"from",
",",
"int",
"to",
",",
"int",
"theSize",
")",
"{",
"if",
"(",
"to",
"==",
"from",
"-",
"1",
")",
"return",
";",
"if",
"(",
"from",
"<",
"0",
"||",
"from",
">",
"to",
"||",
"to... | Checks if the given range is within the contained array's bounds.
@throws IndexOutOfBoundsException if <tt>to!=from-1 || from<0 || from>to || to>=size()</tt>. | [
"Checks",
"if",
"the",
"given",
"range",
"is",
"within",
"the",
"contained",
"array",
"s",
"bounds",
"."
] | ab8b0a83dbf600fe80c27711815c90bd3055b217 | https://github.com/wellner/jcarafe/blob/ab8b0a83dbf600fe80c27711815c90bd3055b217/jcarafe-core/src/main/java/cern/colt/list/AbstractList.java#L75-L79 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_authorizationpolicy_binding.java | lbvserver_authorizationpolicy_binding.get | public static lbvserver_authorizationpolicy_binding[] get(nitro_service service, String name) throws Exception{
lbvserver_authorizationpolicy_binding obj = new lbvserver_authorizationpolicy_binding();
obj.set_name(name);
lbvserver_authorizationpolicy_binding response[] = (lbvserver_authorizationpolicy_binding[]) ... | java | public static lbvserver_authorizationpolicy_binding[] get(nitro_service service, String name) throws Exception{
lbvserver_authorizationpolicy_binding obj = new lbvserver_authorizationpolicy_binding();
obj.set_name(name);
lbvserver_authorizationpolicy_binding response[] = (lbvserver_authorizationpolicy_binding[]) ... | [
"public",
"static",
"lbvserver_authorizationpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"lbvserver_authorizationpolicy_binding",
"obj",
"=",
"new",
"lbvserver_authorizationpolicy_binding",
"(",
... | Use this API to fetch lbvserver_authorizationpolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"lbvserver_authorizationpolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_authorizationpolicy_binding.java#L316-L321 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java | vpntrafficaction.add | public static base_response add(nitro_service client, vpntrafficaction resource) throws Exception {
vpntrafficaction addresource = new vpntrafficaction();
addresource.name = resource.name;
addresource.qual = resource.qual;
addresource.apptimeout = resource.apptimeout;
addresource.sso = resource.sso;
addreso... | java | public static base_response add(nitro_service client, vpntrafficaction resource) throws Exception {
vpntrafficaction addresource = new vpntrafficaction();
addresource.name = resource.name;
addresource.qual = resource.qual;
addresource.apptimeout = resource.apptimeout;
addresource.sso = resource.sso;
addreso... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"vpntrafficaction",
"resource",
")",
"throws",
"Exception",
"{",
"vpntrafficaction",
"addresource",
"=",
"new",
"vpntrafficaction",
"(",
")",
";",
"addresource",
".",
"name",
"=",
"re... | Use this API to add vpntrafficaction. | [
"Use",
"this",
"API",
"to",
"add",
"vpntrafficaction",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java#L260-L272 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java | vpntrafficaction.add | public static base_responses add(nitro_service client, vpntrafficaction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
vpntrafficaction addresources[] = new vpntrafficaction[resources.length];
for (int i=0;i<resources.length;i++){
addresource... | java | public static base_responses add(nitro_service client, vpntrafficaction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
vpntrafficaction addresources[] = new vpntrafficaction[resources.length];
for (int i=0;i<resources.length;i++){
addresource... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"vpntrafficaction",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
... | Use this API to add vpntrafficaction resources. | [
"Use",
"this",
"API",
"to",
"add",
"vpntrafficaction",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java#L277-L296 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java | vpntrafficaction.update | public static base_response update(nitro_service client, vpntrafficaction resource) throws Exception {
vpntrafficaction updateresource = new vpntrafficaction();
updateresource.name = resource.name;
updateresource.apptimeout = resource.apptimeout;
updateresource.sso = resource.sso;
updateresource.formssoaction... | java | public static base_response update(nitro_service client, vpntrafficaction resource) throws Exception {
vpntrafficaction updateresource = new vpntrafficaction();
updateresource.name = resource.name;
updateresource.apptimeout = resource.apptimeout;
updateresource.sso = resource.sso;
updateresource.formssoaction... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"vpntrafficaction",
"resource",
")",
"throws",
"Exception",
"{",
"vpntrafficaction",
"updateresource",
"=",
"new",
"vpntrafficaction",
"(",
")",
";",
"updateresource",
".",
"name",
"... | Use this API to update vpntrafficaction. | [
"Use",
"this",
"API",
"to",
"update",
"vpntrafficaction",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java#L351-L362 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java | vpntrafficaction.update | public static base_responses update(nitro_service client, vpntrafficaction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
vpntrafficaction updateresources[] = new vpntrafficaction[resources.length];
for (int i=0;i<resources.length;i++){
updat... | java | public static base_responses update(nitro_service client, vpntrafficaction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
vpntrafficaction updateresources[] = new vpntrafficaction[resources.length];
for (int i=0;i<resources.length;i++){
updat... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"vpntrafficaction",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources"... | Use this API to update vpntrafficaction resources. | [
"Use",
"this",
"API",
"to",
"update",
"vpntrafficaction",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java#L367-L385 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java | vpntrafficaction.get | public static vpntrafficaction[] get(nitro_service service) throws Exception{
vpntrafficaction obj = new vpntrafficaction();
vpntrafficaction[] response = (vpntrafficaction[])obj.get_resources(service);
return response;
} | java | public static vpntrafficaction[] get(nitro_service service) throws Exception{
vpntrafficaction obj = new vpntrafficaction();
vpntrafficaction[] response = (vpntrafficaction[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"vpntrafficaction",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"vpntrafficaction",
"obj",
"=",
"new",
"vpntrafficaction",
"(",
")",
";",
"vpntrafficaction",
"[",
"]",
"response",
"=",
"(",
"vpntrafficac... | Use this API to fetch all the vpntrafficaction resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"vpntrafficaction",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java#L434-L438 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java | vpntrafficaction.get | public static vpntrafficaction get(nitro_service service, String name) throws Exception{
vpntrafficaction obj = new vpntrafficaction();
obj.set_name(name);
vpntrafficaction response = (vpntrafficaction) obj.get_resource(service);
return response;
} | java | public static vpntrafficaction get(nitro_service service, String name) throws Exception{
vpntrafficaction obj = new vpntrafficaction();
obj.set_name(name);
vpntrafficaction response = (vpntrafficaction) obj.get_resource(service);
return response;
} | [
"public",
"static",
"vpntrafficaction",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"vpntrafficaction",
"obj",
"=",
"new",
"vpntrafficaction",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
"... | Use this API to fetch vpntrafficaction resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"vpntrafficaction",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficaction.java#L450-L455 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficpolicy.java | tmtrafficpolicy.get | public static tmtrafficpolicy[] get(nitro_service service, options option) throws Exception{
tmtrafficpolicy obj = new tmtrafficpolicy();
tmtrafficpolicy[] response = (tmtrafficpolicy[])obj.get_resources(service,option);
return response;
} | java | public static tmtrafficpolicy[] get(nitro_service service, options option) throws Exception{
tmtrafficpolicy obj = new tmtrafficpolicy();
tmtrafficpolicy[] response = (tmtrafficpolicy[])obj.get_resources(service,option);
return response;
} | [
"public",
"static",
"tmtrafficpolicy",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"options",
"option",
")",
"throws",
"Exception",
"{",
"tmtrafficpolicy",
"obj",
"=",
"new",
"tmtrafficpolicy",
"(",
")",
";",
"tmtrafficpolicy",
"[",
"]",
"response",
... | Use this API to fetch all the tmtrafficpolicy resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"tmtrafficpolicy",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficpolicy.java#L322-L326 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficpolicy.java | tmtrafficpolicy.get | public static tmtrafficpolicy get(nitro_service service, String name) throws Exception{
tmtrafficpolicy obj = new tmtrafficpolicy();
obj.set_name(name);
tmtrafficpolicy response = (tmtrafficpolicy) obj.get_resource(service);
return response;
} | java | public static tmtrafficpolicy get(nitro_service service, String name) throws Exception{
tmtrafficpolicy obj = new tmtrafficpolicy();
obj.set_name(name);
tmtrafficpolicy response = (tmtrafficpolicy) obj.get_resource(service);
return response;
} | [
"public",
"static",
"tmtrafficpolicy",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"tmtrafficpolicy",
"obj",
"=",
"new",
"tmtrafficpolicy",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
"tmt... | Use this API to fetch tmtrafficpolicy resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"tmtrafficpolicy",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmtrafficpolicy.java#L330-L335 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaagroup_tmsessionpolicy_binding.java | aaagroup_tmsessionpolicy_binding.get | public static aaagroup_tmsessionpolicy_binding[] get(nitro_service service, String groupname) throws Exception{
aaagroup_tmsessionpolicy_binding obj = new aaagroup_tmsessionpolicy_binding();
obj.set_groupname(groupname);
aaagroup_tmsessionpolicy_binding response[] = (aaagroup_tmsessionpolicy_binding[]) obj.get_re... | java | public static aaagroup_tmsessionpolicy_binding[] get(nitro_service service, String groupname) throws Exception{
aaagroup_tmsessionpolicy_binding obj = new aaagroup_tmsessionpolicy_binding();
obj.set_groupname(groupname);
aaagroup_tmsessionpolicy_binding response[] = (aaagroup_tmsessionpolicy_binding[]) obj.get_re... | [
"public",
"static",
"aaagroup_tmsessionpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"groupname",
")",
"throws",
"Exception",
"{",
"aaagroup_tmsessionpolicy_binding",
"obj",
"=",
"new",
"aaagroup_tmsessionpolicy_binding",
"(",
")",
";... | Use this API to fetch aaagroup_tmsessionpolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"aaagroup_tmsessionpolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaagroup_tmsessionpolicy_binding.java#L246-L251 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl_binding.java | sslcrl_binding.get | public static sslcrl_binding get(nitro_service service, String crlname) throws Exception{
sslcrl_binding obj = new sslcrl_binding();
obj.set_crlname(crlname);
sslcrl_binding response = (sslcrl_binding) obj.get_resource(service);
return response;
} | java | public static sslcrl_binding get(nitro_service service, String crlname) throws Exception{
sslcrl_binding obj = new sslcrl_binding();
obj.set_crlname(crlname);
sslcrl_binding response = (sslcrl_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"sslcrl_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"crlname",
")",
"throws",
"Exception",
"{",
"sslcrl_binding",
"obj",
"=",
"new",
"sslcrl_binding",
"(",
")",
";",
"obj",
".",
"set_crlname",
"(",
"crlname",
")",
";",
... | Use this API to fetch sslcrl_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"sslcrl_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl_binding.java#L103-L108 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.