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/authentication/authenticationradiuspolicy_systemglobal_binding.java | authenticationradiuspolicy_systemglobal_binding.get | public static authenticationradiuspolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{
authenticationradiuspolicy_systemglobal_binding obj = new authenticationradiuspolicy_systemglobal_binding();
obj.set_name(name);
authenticationradiuspolicy_systemglobal_binding response[] = (a... | java | public static authenticationradiuspolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{
authenticationradiuspolicy_systemglobal_binding obj = new authenticationradiuspolicy_systemglobal_binding();
obj.set_name(name);
authenticationradiuspolicy_systemglobal_binding response[] = (a... | [
"public",
"static",
"authenticationradiuspolicy_systemglobal_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"authenticationradiuspolicy_systemglobal_binding",
"obj",
"=",
"new",
"authenticationradiuspolicy_s... | Use this API to fetch authenticationradiuspolicy_systemglobal_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"authenticationradiuspolicy_systemglobal_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationradiuspolicy_systemglobal_binding.java#L132-L137 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationcertpolicy_systemglobal_binding.java | authenticationcertpolicy_systemglobal_binding.get | public static authenticationcertpolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{
authenticationcertpolicy_systemglobal_binding obj = new authenticationcertpolicy_systemglobal_binding();
obj.set_name(name);
authenticationcertpolicy_systemglobal_binding response[] = (authentic... | java | public static authenticationcertpolicy_systemglobal_binding[] get(nitro_service service, String name) throws Exception{
authenticationcertpolicy_systemglobal_binding obj = new authenticationcertpolicy_systemglobal_binding();
obj.set_name(name);
authenticationcertpolicy_systemglobal_binding response[] = (authentic... | [
"public",
"static",
"authenticationcertpolicy_systemglobal_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"authenticationcertpolicy_systemglobal_binding",
"obj",
"=",
"new",
"authenticationcertpolicy_systemg... | Use this API to fetch authenticationcertpolicy_systemglobal_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"authenticationcertpolicy_systemglobal_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationcertpolicy_systemglobal_binding.java#L132-L137 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.add | public static base_response add(nitro_service client, snmptrap resource) throws Exception {
snmptrap addresource = new snmptrap();
addresource.trapclass = resource.trapclass;
addresource.trapdestination = resource.trapdestination;
addresource.version = resource.version;
addresource.destport = resource.destpor... | java | public static base_response add(nitro_service client, snmptrap resource) throws Exception {
snmptrap addresource = new snmptrap();
addresource.trapclass = resource.trapclass;
addresource.trapdestination = resource.trapdestination;
addresource.version = resource.version;
addresource.destport = resource.destpor... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"snmptrap",
"resource",
")",
"throws",
"Exception",
"{",
"snmptrap",
"addresource",
"=",
"new",
"snmptrap",
"(",
")",
";",
"addresource",
".",
"trapclass",
"=",
"resource",
".",
"... | Use this API to add snmptrap. | [
"Use",
"this",
"API",
"to",
"add",
"snmptrap",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java#L228-L238 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.add | public static base_responses add(nitro_service client, snmptrap resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmptrap addresources[] = new snmptrap[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new snmptrap();
... | java | public static base_responses add(nitro_service client, snmptrap resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmptrap addresources[] = new snmptrap[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new snmptrap();
... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"snmptrap",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".",
... | Use this API to add snmptrap resources. | [
"Use",
"this",
"API",
"to",
"add",
"snmptrap",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java#L243-L260 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.delete | public static base_response delete(nitro_service client, String trapclass) throws Exception {
snmptrap deleteresource = new snmptrap();
deleteresource.trapclass = trapclass;
return deleteresource.delete_resource(client);
} | java | public static base_response delete(nitro_service client, String trapclass) throws Exception {
snmptrap deleteresource = new snmptrap();
deleteresource.trapclass = trapclass;
return deleteresource.delete_resource(client);
} | [
"public",
"static",
"base_response",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"trapclass",
")",
"throws",
"Exception",
"{",
"snmptrap",
"deleteresource",
"=",
"new",
"snmptrap",
"(",
")",
";",
"deleteresource",
".",
"trapclass",
"=",
"trapclass",
... | Use this API to delete snmptrap of given name. | [
"Use",
"this",
"API",
"to",
"delete",
"snmptrap",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java#L265-L269 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.delete | public static base_response delete(nitro_service client, snmptrap resource) throws Exception {
snmptrap deleteresource = new snmptrap();
deleteresource.trapclass = resource.trapclass;
deleteresource.trapdestination = resource.trapdestination;
return deleteresource.delete_resource(client);
} | java | public static base_response delete(nitro_service client, snmptrap resource) throws Exception {
snmptrap deleteresource = new snmptrap();
deleteresource.trapclass = resource.trapclass;
deleteresource.trapdestination = resource.trapdestination;
return deleteresource.delete_resource(client);
} | [
"public",
"static",
"base_response",
"delete",
"(",
"nitro_service",
"client",
",",
"snmptrap",
"resource",
")",
"throws",
"Exception",
"{",
"snmptrap",
"deleteresource",
"=",
"new",
"snmptrap",
"(",
")",
";",
"deleteresource",
".",
"trapclass",
"=",
"resource",
... | Use this API to delete snmptrap. | [
"Use",
"this",
"API",
"to",
"delete",
"snmptrap",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java#L274-L279 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.delete | public static base_responses delete(nitro_service client, String trapclass[]) throws Exception {
base_responses result = null;
if (trapclass != null && trapclass.length > 0) {
snmptrap deleteresources[] = new snmptrap[trapclass.length];
for (int i=0;i<trapclass.length;i++){
deleteresources[i] = new snmptr... | java | public static base_responses delete(nitro_service client, String trapclass[]) throws Exception {
base_responses result = null;
if (trapclass != null && trapclass.length > 0) {
snmptrap deleteresources[] = new snmptrap[trapclass.length];
for (int i=0;i<trapclass.length;i++){
deleteresources[i] = new snmptr... | [
"public",
"static",
"base_responses",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"trapclass",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"trapclass",
"!=",
"null",
"&&",
"trapclass",
".",
... | Use this API to delete snmptrap resources of given names. | [
"Use",
"this",
"API",
"to",
"delete",
"snmptrap",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java#L284-L295 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.delete | public static base_responses delete(nitro_service client, snmptrap resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmptrap deleteresources[] = new snmptrap[resources.length];
for (int i=0;i<resources.length;i++){
deleteresources[i] = new snmp... | java | public static base_responses delete(nitro_service client, snmptrap resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmptrap deleteresources[] = new snmptrap[resources.length];
for (int i=0;i<resources.length;i++){
deleteresources[i] = new snmp... | [
"public",
"static",
"base_responses",
"delete",
"(",
"nitro_service",
"client",
",",
"snmptrap",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".",... | Use this API to delete snmptrap resources. | [
"Use",
"this",
"API",
"to",
"delete",
"snmptrap",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java#L300-L312 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.update | public static base_response update(nitro_service client, snmptrap resource) throws Exception {
snmptrap updateresource = new snmptrap();
updateresource.trapclass = resource.trapclass;
updateresource.trapdestination = resource.trapdestination;
updateresource.destport = resource.destport;
updateresource.version... | java | public static base_response update(nitro_service client, snmptrap resource) throws Exception {
snmptrap updateresource = new snmptrap();
updateresource.trapclass = resource.trapclass;
updateresource.trapdestination = resource.trapdestination;
updateresource.destport = resource.destport;
updateresource.version... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"snmptrap",
"resource",
")",
"throws",
"Exception",
"{",
"snmptrap",
"updateresource",
"=",
"new",
"snmptrap",
"(",
")",
";",
"updateresource",
".",
"trapclass",
"=",
"resource",
... | Use this API to update snmptrap. | [
"Use",
"this",
"API",
"to",
"update",
"snmptrap",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java#L317-L327 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.update | public static base_responses update(nitro_service client, snmptrap resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmptrap updateresources[] = new snmptrap[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new snmp... | java | public static base_responses update(nitro_service client, snmptrap resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmptrap updateresources[] = new snmptrap[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new snmp... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"snmptrap",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".",... | Use this API to update snmptrap resources. | [
"Use",
"this",
"API",
"to",
"update",
"snmptrap",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java#L332-L349 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.unset | public static base_response unset(nitro_service client, snmptrap resource, String[] args) throws Exception{
snmptrap unsetresource = new snmptrap();
unsetresource.trapclass = resource.trapclass;
unsetresource.trapdestination = resource.trapdestination;
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, snmptrap resource, String[] args) throws Exception{
snmptrap unsetresource = new snmptrap();
unsetresource.trapclass = resource.trapclass;
unsetresource.trapdestination = resource.trapdestination;
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"snmptrap",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"snmptrap",
"unsetresource",
"=",
"new",
"snmptrap",
"(",
")",
";",
"unsetresource",
".... | Use this API to unset the properties of snmptrap resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"snmptrap",
"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/snmp/snmptrap.java#L355-L360 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.unset | public static base_responses unset(nitro_service client, snmptrap resources[], String[] args) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmptrap unsetresources[] = new snmptrap[resources.length];
for (int i=0;i<resources.length;i++){
unsetresources[... | java | public static base_responses unset(nitro_service client, snmptrap resources[], String[] args) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmptrap unsetresources[] = new snmptrap[resources.length];
for (int i=0;i<resources.length;i++){
unsetresources[... | [
"public",
"static",
"base_responses",
"unset",
"(",
"nitro_service",
"client",
",",
"snmptrap",
"resources",
"[",
"]",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=... | Use this API to unset the properties of snmptrap resources.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"snmptrap",
"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/snmp/snmptrap.java#L366-L378 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java | snmptrap.get | public static snmptrap[] get(nitro_service service) throws Exception{
snmptrap obj = new snmptrap();
snmptrap[] response = (snmptrap[])obj.get_resources(service);
return response;
} | java | public static snmptrap[] get(nitro_service service) throws Exception{
snmptrap obj = new snmptrap();
snmptrap[] response = (snmptrap[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"snmptrap",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"snmptrap",
"obj",
"=",
"new",
"snmptrap",
"(",
")",
";",
"snmptrap",
"[",
"]",
"response",
"=",
"(",
"snmptrap",
"[",
"]",
")",
"obj",
"... | Use this API to fetch all the snmptrap resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"snmptrap",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmptrap.java#L383-L387 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/reporting.java | reporting.enable | public static base_response enable(nitro_service client) throws Exception {
reporting enableresource = new reporting();
return enableresource.perform_operation(client,"enable");
} | java | public static base_response enable(nitro_service client) throws Exception {
reporting enableresource = new reporting();
return enableresource.perform_operation(client,"enable");
} | [
"public",
"static",
"base_response",
"enable",
"(",
"nitro_service",
"client",
")",
"throws",
"Exception",
"{",
"reporting",
"enableresource",
"=",
"new",
"reporting",
"(",
")",
";",
"return",
"enableresource",
".",
"perform_operation",
"(",
"client",
",",
"\"enab... | Use this API to enable reporting. | [
"Use",
"this",
"API",
"to",
"enable",
"reporting",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/reporting.java#L88-L91 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/reporting.java | reporting.disable | public static base_response disable(nitro_service client) throws Exception {
reporting disableresource = new reporting();
return disableresource.perform_operation(client,"disable");
} | java | public static base_response disable(nitro_service client) throws Exception {
reporting disableresource = new reporting();
return disableresource.perform_operation(client,"disable");
} | [
"public",
"static",
"base_response",
"disable",
"(",
"nitro_service",
"client",
")",
"throws",
"Exception",
"{",
"reporting",
"disableresource",
"=",
"new",
"reporting",
"(",
")",
";",
"return",
"disableresource",
".",
"perform_operation",
"(",
"client",
",",
"\"d... | Use this API to disable reporting. | [
"Use",
"this",
"API",
"to",
"disable",
"reporting",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/reporting.java#L96-L99 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/reporting.java | reporting.get | public static reporting get(nitro_service service) throws Exception{
reporting obj = new reporting();
reporting[] response = (reporting[])obj.get_resources(service);
return response[0];
} | java | public static reporting get(nitro_service service) throws Exception{
reporting obj = new reporting();
reporting[] response = (reporting[])obj.get_resources(service);
return response[0];
} | [
"public",
"static",
"reporting",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"reporting",
"obj",
"=",
"new",
"reporting",
"(",
")",
";",
"reporting",
"[",
"]",
"response",
"=",
"(",
"reporting",
"[",
"]",
")",
"obj",
".",
"ge... | Use this API to fetch all the reporting resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"reporting",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/reporting.java#L104-L108 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemgroup_systemcmdpolicy_binding.java | systemgroup_systemcmdpolicy_binding.get | public static systemgroup_systemcmdpolicy_binding[] get(nitro_service service, String groupname) throws Exception{
systemgroup_systemcmdpolicy_binding obj = new systemgroup_systemcmdpolicy_binding();
obj.set_groupname(groupname);
systemgroup_systemcmdpolicy_binding response[] = (systemgroup_systemcmdpolicy_bindin... | java | public static systemgroup_systemcmdpolicy_binding[] get(nitro_service service, String groupname) throws Exception{
systemgroup_systemcmdpolicy_binding obj = new systemgroup_systemcmdpolicy_binding();
obj.set_groupname(groupname);
systemgroup_systemcmdpolicy_binding response[] = (systemgroup_systemcmdpolicy_bindin... | [
"public",
"static",
"systemgroup_systemcmdpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"groupname",
")",
"throws",
"Exception",
"{",
"systemgroup_systemcmdpolicy_binding",
"obj",
"=",
"new",
"systemgroup_systemcmdpolicy_binding",
"(",
... | Use this API to fetch systemgroup_systemcmdpolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"systemgroup_systemcmdpolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemgroup_systemcmdpolicy_binding.java#L184-L189 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemgroup_systemcmdpolicy_binding.java | systemgroup_systemcmdpolicy_binding.count | public static long count(nitro_service service, String groupname) throws Exception{
systemgroup_systemcmdpolicy_binding obj = new systemgroup_systemcmdpolicy_binding();
obj.set_groupname(groupname);
options option = new options();
option.set_count(true);
systemgroup_systemcmdpolicy_binding response[] = (syste... | java | public static long count(nitro_service service, String groupname) throws Exception{
systemgroup_systemcmdpolicy_binding obj = new systemgroup_systemcmdpolicy_binding();
obj.set_groupname(groupname);
options option = new options();
option.set_count(true);
systemgroup_systemcmdpolicy_binding response[] = (syste... | [
"public",
"static",
"long",
"count",
"(",
"nitro_service",
"service",
",",
"String",
"groupname",
")",
"throws",
"Exception",
"{",
"systemgroup_systemcmdpolicy_binding",
"obj",
"=",
"new",
"systemgroup_systemcmdpolicy_binding",
"(",
")",
";",
"obj",
".",
"set_groupnam... | Use this API to count systemgroup_systemcmdpolicy_binding resources configued on NetScaler. | [
"Use",
"this",
"API",
"to",
"count",
"systemgroup_systemcmdpolicy_binding",
"resources",
"configued",
"on",
"NetScaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemgroup_systemcmdpolicy_binding.java#L220-L230 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/ns/nssimpleacl_stats.java | nssimpleacl_stats.get | public static nssimpleacl_stats get(nitro_service service) throws Exception{
nssimpleacl_stats obj = new nssimpleacl_stats();
nssimpleacl_stats[] response = (nssimpleacl_stats[])obj.stat_resources(service);
return response[0];
} | java | public static nssimpleacl_stats get(nitro_service service) throws Exception{
nssimpleacl_stats obj = new nssimpleacl_stats();
nssimpleacl_stats[] response = (nssimpleacl_stats[])obj.stat_resources(service);
return response[0];
} | [
"public",
"static",
"nssimpleacl_stats",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"nssimpleacl_stats",
"obj",
"=",
"new",
"nssimpleacl_stats",
"(",
")",
";",
"nssimpleacl_stats",
"[",
"]",
"response",
"=",
"(",
"nssimpleacl_stats",
... | Use this API to fetch the statistics of all nssimpleacl_stats resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"the",
"statistics",
"of",
"all",
"nssimpleacl_stats",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/ns/nssimpleacl_stats.java#L204-L208 | train |
mariosotil/river-framework | river-utils/src/main/java/org/riverframework/utils/Converter.java | Converter.getAsInteger | public static Integer getAsInteger(Object value) {
Integer result = null;
try {
if (value instanceof String) {
result = Integer.valueOf((String) value);
} else if (value instanceof Number) {
result = ((Number) value).intValue();
} else {
result = null;
}
} catch (Exception e) {
result ... | java | public static Integer getAsInteger(Object value) {
Integer result = null;
try {
if (value instanceof String) {
result = Integer.valueOf((String) value);
} else if (value instanceof Number) {
result = ((Number) value).intValue();
} else {
result = null;
}
} catch (Exception e) {
result ... | [
"public",
"static",
"Integer",
"getAsInteger",
"(",
"Object",
"value",
")",
"{",
"Integer",
"result",
"=",
"null",
";",
"try",
"{",
"if",
"(",
"value",
"instanceof",
"String",
")",
"{",
"result",
"=",
"Integer",
".",
"valueOf",
"(",
"(",
"String",
")",
... | Converts the value parameter to an Integer. If the value is null or invalid, it returns zero.
@param value Accepts String or any Number
@return an Integer | [
"Converts",
"the",
"value",
"parameter",
"to",
"an",
"Integer",
".",
"If",
"the",
"value",
"is",
"null",
"or",
"invalid",
"it",
"returns",
"zero",
"."
] | e8c3ae3b0a956ec9cb4e14a81376ba8e8370b44e | https://github.com/mariosotil/river-framework/blob/e8c3ae3b0a956ec9cb4e14a81376ba8e8370b44e/river-utils/src/main/java/org/riverframework/utils/Converter.java#L53-L69 | train |
mariosotil/river-framework | river-utils/src/main/java/org/riverframework/utils/Converter.java | Converter.getAsLong | public static Long getAsLong(Object value) {
Long result = null;
try {
if (value instanceof String) {
result = Long.valueOf((String) value);
} else if (value instanceof Number) {
result = ((Number) value).longValue();
} else {
result = null;
}
} catch (Exception e) {
result = null;
}... | java | public static Long getAsLong(Object value) {
Long result = null;
try {
if (value instanceof String) {
result = Long.valueOf((String) value);
} else if (value instanceof Number) {
result = ((Number) value).longValue();
} else {
result = null;
}
} catch (Exception e) {
result = null;
}... | [
"public",
"static",
"Long",
"getAsLong",
"(",
"Object",
"value",
")",
"{",
"Long",
"result",
"=",
"null",
";",
"try",
"{",
"if",
"(",
"value",
"instanceof",
"String",
")",
"{",
"result",
"=",
"Long",
".",
"valueOf",
"(",
"(",
"String",
")",
"value",
... | Converts the value parameter to a Long. If the value is null or invalid, it returns zero.
@param value Accepts String or any Number
@return a Long | [
"Converts",
"the",
"value",
"parameter",
"to",
"a",
"Long",
".",
"If",
"the",
"value",
"is",
"null",
"or",
"invalid",
"it",
"returns",
"zero",
"."
] | e8c3ae3b0a956ec9cb4e14a81376ba8e8370b44e | https://github.com/mariosotil/river-framework/blob/e8c3ae3b0a956ec9cb4e14a81376ba8e8370b44e/river-utils/src/main/java/org/riverframework/utils/Converter.java#L76-L92 | train |
mariosotil/river-framework | river-utils/src/main/java/org/riverframework/utils/Converter.java | Converter.getAsDouble | public static Double getAsDouble(Object value) {
Double result = null;
try {
if (value instanceof String) {
result = Double.valueOf((String) value);
} else if (value instanceof Number) {
result = ((Number) value).doubleValue();
} else {
result = null;
}
} catch (Exception e) {
result =... | java | public static Double getAsDouble(Object value) {
Double result = null;
try {
if (value instanceof String) {
result = Double.valueOf((String) value);
} else if (value instanceof Number) {
result = ((Number) value).doubleValue();
} else {
result = null;
}
} catch (Exception e) {
result =... | [
"public",
"static",
"Double",
"getAsDouble",
"(",
"Object",
"value",
")",
"{",
"Double",
"result",
"=",
"null",
";",
"try",
"{",
"if",
"(",
"value",
"instanceof",
"String",
")",
"{",
"result",
"=",
"Double",
".",
"valueOf",
"(",
"(",
"String",
")",
"va... | Converts the value parameter to a Double. If the value is null or invalid, it returns zero.
@param value Accepts String or any Number
@return a Double | [
"Converts",
"the",
"value",
"parameter",
"to",
"a",
"Double",
".",
"If",
"the",
"value",
"is",
"null",
"or",
"invalid",
"it",
"returns",
"zero",
"."
] | e8c3ae3b0a956ec9cb4e14a81376ba8e8370b44e | https://github.com/mariosotil/river-framework/blob/e8c3ae3b0a956ec9cb4e14a81376ba8e8370b44e/river-utils/src/main/java/org/riverframework/utils/Converter.java#L99-L115 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_binding.java | lbvserver_binding.get | public static lbvserver_binding get(nitro_service service, String name) throws Exception{
lbvserver_binding obj = new lbvserver_binding();
obj.set_name(name);
lbvserver_binding response = (lbvserver_binding) obj.get_resource(service);
return response;
} | java | public static lbvserver_binding get(nitro_service service, String name) throws Exception{
lbvserver_binding obj = new lbvserver_binding();
obj.set_name(name);
lbvserver_binding response = (lbvserver_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"lbvserver_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"lbvserver_binding",
"obj",
"=",
"new",
"lbvserver_binding",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
... | Use this API to fetch lbvserver_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"lbvserver_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/lb/lbvserver_binding.java#L345-L350 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cs/cspolicy_crvserver_binding.java | cspolicy_crvserver_binding.get | public static cspolicy_crvserver_binding[] get(nitro_service service, String policyname) throws Exception{
cspolicy_crvserver_binding obj = new cspolicy_crvserver_binding();
obj.set_policyname(policyname);
cspolicy_crvserver_binding response[] = (cspolicy_crvserver_binding[]) obj.get_resources(service);
return ... | java | public static cspolicy_crvserver_binding[] get(nitro_service service, String policyname) throws Exception{
cspolicy_crvserver_binding obj = new cspolicy_crvserver_binding();
obj.set_policyname(policyname);
cspolicy_crvserver_binding response[] = (cspolicy_crvserver_binding[]) obj.get_resources(service);
return ... | [
"public",
"static",
"cspolicy_crvserver_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"policyname",
")",
"throws",
"Exception",
"{",
"cspolicy_crvserver_binding",
"obj",
"=",
"new",
"cspolicy_crvserver_binding",
"(",
")",
";",
"obj",
"."... | Use this API to fetch cspolicy_crvserver_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"cspolicy_crvserver_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cs/cspolicy_crvserver_binding.java#L162-L167 | train |
PeterisP/LVTagger | src/main/java/edu/stanford/nlp/util/logging/VisibilityHandler.java | VisibilityHandler.alsoShow | public boolean alsoShow(Object filter){
switch(this.defaultState){
case HIDE_ALL:
return this.deltaPool.add(filter);
case SHOW_ALL:
return this.deltaPool.remove(filter);
default:
throw new IllegalStateException("Unknown default state setting: " + this.defaultState);
}
} | java | public boolean alsoShow(Object filter){
switch(this.defaultState){
case HIDE_ALL:
return this.deltaPool.add(filter);
case SHOW_ALL:
return this.deltaPool.remove(filter);
default:
throw new IllegalStateException("Unknown default state setting: " + this.defaultState);
}
} | [
"public",
"boolean",
"alsoShow",
"(",
"Object",
"filter",
")",
"{",
"switch",
"(",
"this",
".",
"defaultState",
")",
"{",
"case",
"HIDE_ALL",
":",
"return",
"this",
".",
"deltaPool",
".",
"add",
"(",
"filter",
")",
";",
"case",
"SHOW_ALL",
":",
"return",... | Show all the channels currently being printed, in addition
to a new one
@param filter The channel to also show
@return true if this channel was already being shown. | [
"Show",
"all",
"the",
"channels",
"currently",
"being",
"printed",
"in",
"addition",
"to",
"a",
"new",
"one"
] | b3d44bab9ec07ace0d13612c448a6b7298c1f681 | https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/util/logging/VisibilityHandler.java#L44-L53 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemuser_systemcmdpolicy_binding.java | systemuser_systemcmdpolicy_binding.get | public static systemuser_systemcmdpolicy_binding[] get(nitro_service service, String username) throws Exception{
systemuser_systemcmdpolicy_binding obj = new systemuser_systemcmdpolicy_binding();
obj.set_username(username);
systemuser_systemcmdpolicy_binding response[] = (systemuser_systemcmdpolicy_binding[]) obj... | java | public static systemuser_systemcmdpolicy_binding[] get(nitro_service service, String username) throws Exception{
systemuser_systemcmdpolicy_binding obj = new systemuser_systemcmdpolicy_binding();
obj.set_username(username);
systemuser_systemcmdpolicy_binding response[] = (systemuser_systemcmdpolicy_binding[]) obj... | [
"public",
"static",
"systemuser_systemcmdpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"username",
")",
"throws",
"Exception",
"{",
"systemuser_systemcmdpolicy_binding",
"obj",
"=",
"new",
"systemuser_systemcmdpolicy_binding",
"(",
")",... | Use this API to fetch systemuser_systemcmdpolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"systemuser_systemcmdpolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemuser_systemcmdpolicy_binding.java#L184-L189 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java | snmpcommunity.add | public static base_response add(nitro_service client, snmpcommunity resource) throws Exception {
snmpcommunity addresource = new snmpcommunity();
addresource.communityname = resource.communityname;
addresource.permissions = resource.permissions;
return addresource.add_resource(client);
} | java | public static base_response add(nitro_service client, snmpcommunity resource) throws Exception {
snmpcommunity addresource = new snmpcommunity();
addresource.communityname = resource.communityname;
addresource.permissions = resource.permissions;
return addresource.add_resource(client);
} | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"snmpcommunity",
"resource",
")",
"throws",
"Exception",
"{",
"snmpcommunity",
"addresource",
"=",
"new",
"snmpcommunity",
"(",
")",
";",
"addresource",
".",
"communityname",
"=",
"re... | Use this API to add snmpcommunity. | [
"Use",
"this",
"API",
"to",
"add",
"snmpcommunity",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java#L118-L123 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java | snmpcommunity.add | public static base_responses add(nitro_service client, snmpcommunity resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmpcommunity addresources[] = new snmpcommunity[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = ne... | java | public static base_responses add(nitro_service client, snmpcommunity resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
snmpcommunity addresources[] = new snmpcommunity[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = ne... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"snmpcommunity",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".... | Use this API to add snmpcommunity resources. | [
"Use",
"this",
"API",
"to",
"add",
"snmpcommunity",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java#L128-L140 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java | snmpcommunity.delete | public static base_response delete(nitro_service client, String communityname) throws Exception {
snmpcommunity deleteresource = new snmpcommunity();
deleteresource.communityname = communityname;
return deleteresource.delete_resource(client);
} | java | public static base_response delete(nitro_service client, String communityname) throws Exception {
snmpcommunity deleteresource = new snmpcommunity();
deleteresource.communityname = communityname;
return deleteresource.delete_resource(client);
} | [
"public",
"static",
"base_response",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"communityname",
")",
"throws",
"Exception",
"{",
"snmpcommunity",
"deleteresource",
"=",
"new",
"snmpcommunity",
"(",
")",
";",
"deleteresource",
".",
"communityname",
"="... | Use this API to delete snmpcommunity of given name. | [
"Use",
"this",
"API",
"to",
"delete",
"snmpcommunity",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java#L145-L149 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java | snmpcommunity.delete | public static base_responses delete(nitro_service client, String communityname[]) throws Exception {
base_responses result = null;
if (communityname != null && communityname.length > 0) {
snmpcommunity deleteresources[] = new snmpcommunity[communityname.length];
for (int i=0;i<communityname.length;i++){
d... | java | public static base_responses delete(nitro_service client, String communityname[]) throws Exception {
base_responses result = null;
if (communityname != null && communityname.length > 0) {
snmpcommunity deleteresources[] = new snmpcommunity[communityname.length];
for (int i=0;i<communityname.length;i++){
d... | [
"public",
"static",
"base_responses",
"delete",
"(",
"nitro_service",
"client",
",",
"String",
"communityname",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"communityname",
"!=",
"null",
"&&",
"communitynam... | Use this API to delete snmpcommunity resources of given names. | [
"Use",
"this",
"API",
"to",
"delete",
"snmpcommunity",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java#L163-L174 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java | snmpcommunity.get | public static snmpcommunity[] get(nitro_service service) throws Exception{
snmpcommunity obj = new snmpcommunity();
snmpcommunity[] response = (snmpcommunity[])obj.get_resources(service);
return response;
} | java | public static snmpcommunity[] get(nitro_service service) throws Exception{
snmpcommunity obj = new snmpcommunity();
snmpcommunity[] response = (snmpcommunity[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"snmpcommunity",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"snmpcommunity",
"obj",
"=",
"new",
"snmpcommunity",
"(",
")",
";",
"snmpcommunity",
"[",
"]",
"response",
"=",
"(",
"snmpcommunity",
"[",
... | Use this API to fetch all the snmpcommunity resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"snmpcommunity",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java#L195-L199 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java | snmpcommunity.get | public static snmpcommunity get(nitro_service service, String communityname) throws Exception{
snmpcommunity obj = new snmpcommunity();
obj.set_communityname(communityname);
snmpcommunity response = (snmpcommunity) obj.get_resource(service);
return response;
} | java | public static snmpcommunity get(nitro_service service, String communityname) throws Exception{
snmpcommunity obj = new snmpcommunity();
obj.set_communityname(communityname);
snmpcommunity response = (snmpcommunity) obj.get_resource(service);
return response;
} | [
"public",
"static",
"snmpcommunity",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"communityname",
")",
"throws",
"Exception",
"{",
"snmpcommunity",
"obj",
"=",
"new",
"snmpcommunity",
"(",
")",
";",
"obj",
".",
"set_communityname",
"(",
"communityname",... | Use this API to fetch snmpcommunity resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"snmpcommunity",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java#L211-L216 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java | snmpcommunity.get | public static snmpcommunity[] get(nitro_service service, String communityname[]) throws Exception{
if (communityname !=null && communityname.length>0) {
snmpcommunity response[] = new snmpcommunity[communityname.length];
snmpcommunity obj[] = new snmpcommunity[communityname.length];
for (int i=0;i<communityn... | java | public static snmpcommunity[] get(nitro_service service, String communityname[]) throws Exception{
if (communityname !=null && communityname.length>0) {
snmpcommunity response[] = new snmpcommunity[communityname.length];
snmpcommunity obj[] = new snmpcommunity[communityname.length];
for (int i=0;i<communityn... | [
"public",
"static",
"snmpcommunity",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"communityname",
"[",
"]",
")",
"throws",
"Exception",
"{",
"if",
"(",
"communityname",
"!=",
"null",
"&&",
"communityname",
".",
"length",
">",
"0",
")",
... | Use this API to fetch snmpcommunity resources of given names . | [
"Use",
"this",
"API",
"to",
"fetch",
"snmpcommunity",
"resources",
"of",
"given",
"names",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/snmp/snmpcommunity.java#L221-L233 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservice_sslpolicy_binding.java | sslservice_sslpolicy_binding.get | public static sslservice_sslpolicy_binding[] get(nitro_service service, String servicename) throws Exception{
sslservice_sslpolicy_binding obj = new sslservice_sslpolicy_binding();
obj.set_servicename(servicename);
sslservice_sslpolicy_binding response[] = (sslservice_sslpolicy_binding[]) obj.get_resources(servic... | java | public static sslservice_sslpolicy_binding[] get(nitro_service service, String servicename) throws Exception{
sslservice_sslpolicy_binding obj = new sslservice_sslpolicy_binding();
obj.set_servicename(servicename);
sslservice_sslpolicy_binding response[] = (sslservice_sslpolicy_binding[]) obj.get_resources(servic... | [
"public",
"static",
"sslservice_sslpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"servicename",
")",
"throws",
"Exception",
"{",
"sslservice_sslpolicy_binding",
"obj",
"=",
"new",
"sslservice_sslpolicy_binding",
"(",
")",
";",
"obj"... | Use this API to fetch sslservice_sslpolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"sslservice_sslpolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslservice_sslpolicy_binding.java#L289-L294 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid6_nsip6_binding.java | vrid6_nsip6_binding.get | public static vrid6_nsip6_binding[] get(nitro_service service, Long id) throws Exception{
vrid6_nsip6_binding obj = new vrid6_nsip6_binding();
obj.set_id(id);
vrid6_nsip6_binding response[] = (vrid6_nsip6_binding[]) obj.get_resources(service);
return response;
} | java | public static vrid6_nsip6_binding[] get(nitro_service service, Long id) throws Exception{
vrid6_nsip6_binding obj = new vrid6_nsip6_binding();
obj.set_id(id);
vrid6_nsip6_binding response[] = (vrid6_nsip6_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"vrid6_nsip6_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"Long",
"id",
")",
"throws",
"Exception",
"{",
"vrid6_nsip6_binding",
"obj",
"=",
"new",
"vrid6_nsip6_binding",
"(",
")",
";",
"obj",
".",
"set_id",
"(",
"id",
... | Use this API to fetch vrid6_nsip6_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"vrid6_nsip6_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vrid6_nsip6_binding.java#L153-L158 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java | policyexpression.add | public static base_response add(nitro_service client, policyexpression resource) throws Exception {
policyexpression addresource = new policyexpression();
addresource.name = resource.name;
addresource.value = resource.value;
addresource.description = resource.description;
addresource.comment = resource.commen... | java | public static base_response add(nitro_service client, policyexpression resource) throws Exception {
policyexpression addresource = new policyexpression();
addresource.name = resource.name;
addresource.value = resource.value;
addresource.description = resource.description;
addresource.comment = resource.commen... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"policyexpression",
"resource",
")",
"throws",
"Exception",
"{",
"policyexpression",
"addresource",
"=",
"new",
"policyexpression",
"(",
")",
";",
"addresource",
".",
"name",
"=",
"re... | Use this API to add policyexpression. | [
"Use",
"this",
"API",
"to",
"add",
"policyexpression",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java#L241-L249 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java | policyexpression.add | public static base_responses add(nitro_service client, policyexpression resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
policyexpression addresources[] = new policyexpression[resources.length];
for (int i=0;i<resources.length;i++){
addresource... | java | public static base_responses add(nitro_service client, policyexpression resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
policyexpression addresources[] = new policyexpression[resources.length];
for (int i=0;i<resources.length;i++){
addresource... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"policyexpression",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
... | Use this API to add policyexpression resources. | [
"Use",
"this",
"API",
"to",
"add",
"policyexpression",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java#L254-L269 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java | policyexpression.update | public static base_response update(nitro_service client, policyexpression resource) throws Exception {
policyexpression updateresource = new policyexpression();
updateresource.name = resource.name;
updateresource.value = resource.value;
updateresource.description = resource.description;
updateresource.comment... | java | public static base_response update(nitro_service client, policyexpression resource) throws Exception {
policyexpression updateresource = new policyexpression();
updateresource.name = resource.name;
updateresource.value = resource.value;
updateresource.description = resource.description;
updateresource.comment... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"policyexpression",
"resource",
")",
"throws",
"Exception",
"{",
"policyexpression",
"updateresource",
"=",
"new",
"policyexpression",
"(",
")",
";",
"updateresource",
".",
"name",
"... | Use this API to update policyexpression. | [
"Use",
"this",
"API",
"to",
"update",
"policyexpression",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java#L324-L332 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java | policyexpression.update | public static base_responses update(nitro_service client, policyexpression resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
policyexpression updateresources[] = new policyexpression[resources.length];
for (int i=0;i<resources.length;i++){
updat... | java | public static base_responses update(nitro_service client, policyexpression resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
policyexpression updateresources[] = new policyexpression[resources.length];
for (int i=0;i<resources.length;i++){
updat... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"policyexpression",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources"... | Use this API to update policyexpression resources. | [
"Use",
"this",
"API",
"to",
"update",
"policyexpression",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java#L337-L352 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java | policyexpression.get | public static policyexpression[] get(nitro_service service) throws Exception{
policyexpression obj = new policyexpression();
policyexpression[] response = (policyexpression[])obj.get_resources(service);
return response;
} | java | public static policyexpression[] get(nitro_service service) throws Exception{
policyexpression obj = new policyexpression();
policyexpression[] response = (policyexpression[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"policyexpression",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"policyexpression",
"obj",
"=",
"new",
"policyexpression",
"(",
")",
";",
"policyexpression",
"[",
"]",
"response",
"=",
"(",
"policyexpres... | Use this API to fetch all the policyexpression resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"policyexpression",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java#L401-L405 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java | policyexpression.get | public static policyexpression[] get(nitro_service service, policyexpression_args args) throws Exception{
policyexpression obj = new policyexpression();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
policyexpression[] response = (policyexpression[])obj.get_res... | java | public static policyexpression[] get(nitro_service service, policyexpression_args args) throws Exception{
policyexpression obj = new policyexpression();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
policyexpression[] response = (policyexpression[])obj.get_res... | [
"public",
"static",
"policyexpression",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"policyexpression_args",
"args",
")",
"throws",
"Exception",
"{",
"policyexpression",
"obj",
"=",
"new",
"policyexpression",
"(",
")",
";",
"options",
"option",
"=",
"... | Use this API to fetch all the policyexpression resources that are configured on netscaler.
This uses policyexpression_args which is a way to provide additional arguments while fetching the resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"policyexpression",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
".",
"This",
"uses",
"policyexpression_args",
"which",
"is",
"a",
"way",
"to",
"provide",
"additional",
"arguments",
"while",
"fet... | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java#L418-L424 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java | policyexpression.get | public static policyexpression get(nitro_service service, String name) throws Exception{
policyexpression obj = new policyexpression();
obj.set_name(name);
policyexpression response = (policyexpression) obj.get_resource(service);
return response;
} | java | public static policyexpression get(nitro_service service, String name) throws Exception{
policyexpression obj = new policyexpression();
obj.set_name(name);
policyexpression response = (policyexpression) obj.get_resource(service);
return response;
} | [
"public",
"static",
"policyexpression",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"policyexpression",
"obj",
"=",
"new",
"policyexpression",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
"... | Use this API to fetch policyexpression resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"policyexpression",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/policy/policyexpression.java#L429-L434 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemdatasource.java | systemdatasource.get | public static systemdatasource get(nitro_service service) throws Exception{
systemdatasource obj = new systemdatasource();
systemdatasource[] response = (systemdatasource[])obj.get_resources(service);
return response[0];
} | java | public static systemdatasource get(nitro_service service) throws Exception{
systemdatasource obj = new systemdatasource();
systemdatasource[] response = (systemdatasource[])obj.get_resources(service);
return response[0];
} | [
"public",
"static",
"systemdatasource",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"systemdatasource",
"obj",
"=",
"new",
"systemdatasource",
"(",
")",
";",
"systemdatasource",
"[",
"]",
"response",
"=",
"(",
"systemdatasource",
"[",
... | Use this API to fetch all the systemdatasource resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"systemdatasource",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemdatasource.java#L107-L111 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemdatasource.java | systemdatasource.get | public static systemdatasource[] get(nitro_service service, systemdatasource_args args) throws Exception{
systemdatasource obj = new systemdatasource();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
systemdatasource[] response = (systemdatasource[])obj.get_res... | java | public static systemdatasource[] get(nitro_service service, systemdatasource_args args) throws Exception{
systemdatasource obj = new systemdatasource();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
systemdatasource[] response = (systemdatasource[])obj.get_res... | [
"public",
"static",
"systemdatasource",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"systemdatasource_args",
"args",
")",
"throws",
"Exception",
"{",
"systemdatasource",
"obj",
"=",
"new",
"systemdatasource",
"(",
")",
";",
"options",
"option",
"=",
"... | Use this API to fetch all the systemdatasource resources that are configured on netscaler.
This uses systemdatasource_args which is a way to provide additional arguments while fetching the resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"systemdatasource",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
".",
"This",
"uses",
"systemdatasource_args",
"which",
"is",
"a",
"way",
"to",
"provide",
"additional",
"arguments",
"while",
"fet... | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemdatasource.java#L126-L132 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup_servicegroupentitymonbindings_binding.java | servicegroup_servicegroupentitymonbindings_binding.get | public static servicegroup_servicegroupentitymonbindings_binding[] get(nitro_service service, String servicegroupname) throws Exception{
servicegroup_servicegroupentitymonbindings_binding obj = new servicegroup_servicegroupentitymonbindings_binding();
obj.set_servicegroupname(servicegroupname);
servicegroup_servi... | java | public static servicegroup_servicegroupentitymonbindings_binding[] get(nitro_service service, String servicegroupname) throws Exception{
servicegroup_servicegroupentitymonbindings_binding obj = new servicegroup_servicegroupentitymonbindings_binding();
obj.set_servicegroupname(servicegroupname);
servicegroup_servi... | [
"public",
"static",
"servicegroup_servicegroupentitymonbindings_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"servicegroupname",
")",
"throws",
"Exception",
"{",
"servicegroup_servicegroupentitymonbindings_binding",
"obj",
"=",
"new",
"servicegro... | Use this API to fetch servicegroup_servicegroupentitymonbindings_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"servicegroup_servicegroupentitymonbindings_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/basic/servicegroup_servicegroupentitymonbindings_binding.java#L281-L286 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser_auditnslogpolicy_binding.java | aaauser_auditnslogpolicy_binding.get | public static aaauser_auditnslogpolicy_binding[] get(nitro_service service, String username) throws Exception{
aaauser_auditnslogpolicy_binding obj = new aaauser_auditnslogpolicy_binding();
obj.set_username(username);
aaauser_auditnslogpolicy_binding response[] = (aaauser_auditnslogpolicy_binding[]) obj.get_resou... | java | public static aaauser_auditnslogpolicy_binding[] get(nitro_service service, String username) throws Exception{
aaauser_auditnslogpolicy_binding obj = new aaauser_auditnslogpolicy_binding();
obj.set_username(username);
aaauser_auditnslogpolicy_binding response[] = (aaauser_auditnslogpolicy_binding[]) obj.get_resou... | [
"public",
"static",
"aaauser_auditnslogpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"username",
")",
"throws",
"Exception",
"{",
"aaauser_auditnslogpolicy_binding",
"obj",
"=",
"new",
"aaauser_auditnslogpolicy_binding",
"(",
")",
";"... | Use this API to fetch aaauser_auditnslogpolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"aaauser_auditnslogpolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser_auditnslogpolicy_binding.java#L240-L245 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_staserver_binding.java | vpnglobal_staserver_binding.get | public static vpnglobal_staserver_binding[] get(nitro_service service) throws Exception{
vpnglobal_staserver_binding obj = new vpnglobal_staserver_binding();
vpnglobal_staserver_binding response[] = (vpnglobal_staserver_binding[]) obj.get_resources(service);
return response;
} | java | public static vpnglobal_staserver_binding[] get(nitro_service service) throws Exception{
vpnglobal_staserver_binding obj = new vpnglobal_staserver_binding();
vpnglobal_staserver_binding response[] = (vpnglobal_staserver_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"vpnglobal_staserver_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"vpnglobal_staserver_binding",
"obj",
"=",
"new",
"vpnglobal_staserver_binding",
"(",
")",
";",
"vpnglobal_staserver_binding",
"response",... | Use this API to fetch a vpnglobal_staserver_binding resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"vpnglobal_staserver_binding",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnglobal_staserver_binding.java#L141-L145 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmppolicy_cmppolicylabel_binding.java | cmppolicy_cmppolicylabel_binding.get | public static cmppolicy_cmppolicylabel_binding[] get(nitro_service service, String name) throws Exception{
cmppolicy_cmppolicylabel_binding obj = new cmppolicy_cmppolicylabel_binding();
obj.set_name(name);
cmppolicy_cmppolicylabel_binding response[] = (cmppolicy_cmppolicylabel_binding[]) obj.get_resources(service... | java | public static cmppolicy_cmppolicylabel_binding[] get(nitro_service service, String name) throws Exception{
cmppolicy_cmppolicylabel_binding obj = new cmppolicy_cmppolicylabel_binding();
obj.set_name(name);
cmppolicy_cmppolicylabel_binding response[] = (cmppolicy_cmppolicylabel_binding[]) obj.get_resources(service... | [
"public",
"static",
"cmppolicy_cmppolicylabel_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"cmppolicy_cmppolicylabel_binding",
"obj",
"=",
"new",
"cmppolicy_cmppolicylabel_binding",
"(",
")",
";",
... | Use this API to fetch cmppolicy_cmppolicylabel_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"cmppolicy_cmppolicylabel_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cmp/cmppolicy_cmppolicylabel_binding.java#L162-L167 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.add | public static base_response add(nitro_service client, dnssrvrec resource) throws Exception {
dnssrvrec addresource = new dnssrvrec();
addresource.domain = resource.domain;
addresource.target = resource.target;
addresource.priority = resource.priority;
addresource.weight = resource.weight;
addresource.port =... | java | public static base_response add(nitro_service client, dnssrvrec resource) throws Exception {
dnssrvrec addresource = new dnssrvrec();
addresource.domain = resource.domain;
addresource.target = resource.target;
addresource.priority = resource.priority;
addresource.weight = resource.weight;
addresource.port =... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"dnssrvrec",
"resource",
")",
"throws",
"Exception",
"{",
"dnssrvrec",
"addresource",
"=",
"new",
"dnssrvrec",
"(",
")",
";",
"addresource",
".",
"domain",
"=",
"resource",
".",
"... | Use this API to add dnssrvrec. | [
"Use",
"this",
"API",
"to",
"add",
"dnssrvrec",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java#L262-L271 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.add | public static base_responses add(nitro_service client, dnssrvrec resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dnssrvrec addresources[] = new dnssrvrec[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new dnssrvrec(... | java | public static base_responses add(nitro_service client, dnssrvrec resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dnssrvrec addresources[] = new dnssrvrec[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new dnssrvrec(... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"dnssrvrec",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
".",
... | Use this API to add dnssrvrec resources. | [
"Use",
"this",
"API",
"to",
"add",
"dnssrvrec",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java#L276-L292 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.delete | public static base_response delete(nitro_service client, dnssrvrec resource) throws Exception {
dnssrvrec deleteresource = new dnssrvrec();
deleteresource.domain = resource.domain;
deleteresource.target = resource.target;
return deleteresource.delete_resource(client);
} | java | public static base_response delete(nitro_service client, dnssrvrec resource) throws Exception {
dnssrvrec deleteresource = new dnssrvrec();
deleteresource.domain = resource.domain;
deleteresource.target = resource.target;
return deleteresource.delete_resource(client);
} | [
"public",
"static",
"base_response",
"delete",
"(",
"nitro_service",
"client",
",",
"dnssrvrec",
"resource",
")",
"throws",
"Exception",
"{",
"dnssrvrec",
"deleteresource",
"=",
"new",
"dnssrvrec",
"(",
")",
";",
"deleteresource",
".",
"domain",
"=",
"resource",
... | Use this API to delete dnssrvrec. | [
"Use",
"this",
"API",
"to",
"delete",
"dnssrvrec",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java#L306-L311 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.update | public static base_response update(nitro_service client, dnssrvrec resource) throws Exception {
dnssrvrec updateresource = new dnssrvrec();
updateresource.domain = resource.domain;
updateresource.target = resource.target;
updateresource.priority = resource.priority;
updateresource.weight = resource.weight;
... | java | public static base_response update(nitro_service client, dnssrvrec resource) throws Exception {
dnssrvrec updateresource = new dnssrvrec();
updateresource.domain = resource.domain;
updateresource.target = resource.target;
updateresource.priority = resource.priority;
updateresource.weight = resource.weight;
... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"dnssrvrec",
"resource",
")",
"throws",
"Exception",
"{",
"dnssrvrec",
"updateresource",
"=",
"new",
"dnssrvrec",
"(",
")",
";",
"updateresource",
".",
"domain",
"=",
"resource",
... | Use this API to update dnssrvrec. | [
"Use",
"this",
"API",
"to",
"update",
"dnssrvrec",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java#L349-L358 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.update | public static base_responses update(nitro_service client, dnssrvrec resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dnssrvrec updateresources[] = new dnssrvrec[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new d... | java | public static base_responses update(nitro_service client, dnssrvrec resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
dnssrvrec updateresources[] = new dnssrvrec[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i] = new d... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"dnssrvrec",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
"."... | Use this API to update dnssrvrec resources. | [
"Use",
"this",
"API",
"to",
"update",
"dnssrvrec",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java#L363-L379 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.unset | public static base_response unset(nitro_service client, dnssrvrec resource, String[] args) throws Exception{
dnssrvrec unsetresource = new dnssrvrec();
unsetresource.domain = resource.domain;
unsetresource.target = resource.target;
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, dnssrvrec resource, String[] args) throws Exception{
dnssrvrec unsetresource = new dnssrvrec();
unsetresource.domain = resource.domain;
unsetresource.target = resource.target;
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"dnssrvrec",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"dnssrvrec",
"unsetresource",
"=",
"new",
"dnssrvrec",
"(",
")",
";",
"unsetresource",
... | Use this API to unset the properties of dnssrvrec resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"dnssrvrec",
"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/dnssrvrec.java#L385-L390 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.get | public static dnssrvrec[] get(nitro_service service) throws Exception{
dnssrvrec obj = new dnssrvrec();
dnssrvrec[] response = (dnssrvrec[])obj.get_resources(service);
return response;
} | java | public static dnssrvrec[] get(nitro_service service) throws Exception{
dnssrvrec obj = new dnssrvrec();
dnssrvrec[] response = (dnssrvrec[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"dnssrvrec",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"dnssrvrec",
"obj",
"=",
"new",
"dnssrvrec",
"(",
")",
";",
"dnssrvrec",
"[",
"]",
"response",
"=",
"(",
"dnssrvrec",
"[",
"]",
")",
"obj"... | Use this API to fetch all the dnssrvrec resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"dnssrvrec",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java#L413-L417 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.get | public static dnssrvrec get(nitro_service service, dnssrvrec obj) throws Exception{
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(obj));
dnssrvrec response = (dnssrvrec) obj.get_resource(service,option);
return response;
} | java | public static dnssrvrec get(nitro_service service, dnssrvrec obj) throws Exception{
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(obj));
dnssrvrec response = (dnssrvrec) obj.get_resource(service,option);
return response;
} | [
"public",
"static",
"dnssrvrec",
"get",
"(",
"nitro_service",
"service",
",",
"dnssrvrec",
"obj",
")",
"throws",
"Exception",
"{",
"options",
"option",
"=",
"new",
"options",
"(",
")",
";",
"option",
".",
"set_args",
"(",
"nitro_util",
".",
"object_to_string_w... | Use this API to fetch a dnssrvrec resource. | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"dnssrvrec",
"resource",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java#L429-L434 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.get | public static dnssrvrec[] get(nitro_service service, dnssrvrec obj[]) throws Exception{
if (obj != null && obj.length > 0) {
dnssrvrec response[] = new dnssrvrec[obj.length];
for (int i=0;i<obj.length;i++) {
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(obj[i]... | java | public static dnssrvrec[] get(nitro_service service, dnssrvrec obj[]) throws Exception{
if (obj != null && obj.length > 0) {
dnssrvrec response[] = new dnssrvrec[obj.length];
for (int i=0;i<obj.length;i++) {
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(obj[i]... | [
"public",
"static",
"dnssrvrec",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"dnssrvrec",
"obj",
"[",
"]",
")",
"throws",
"Exception",
"{",
"if",
"(",
"obj",
"!=",
"null",
"&&",
"obj",
".",
"length",
">",
"0",
")",
"{",
"dnssrvrec",
"respons... | Use this API to fetch a dnssrvrec resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"dnssrvrec",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java#L439-L450 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/dns/dnssrvrec.java | dnssrvrec.get | public static dnssrvrec[] get(nitro_service service, dnssrvrec_args args) throws Exception{
dnssrvrec obj = new dnssrvrec();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
dnssrvrec[] response = (dnssrvrec[])obj.get_resources(service, option);
return response... | java | public static dnssrvrec[] get(nitro_service service, dnssrvrec_args args) throws Exception{
dnssrvrec obj = new dnssrvrec();
options option = new options();
option.set_args(nitro_util.object_to_string_withoutquotes(args));
dnssrvrec[] response = (dnssrvrec[])obj.get_resources(service, option);
return response... | [
"public",
"static",
"dnssrvrec",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"dnssrvrec_args",
"args",
")",
"throws",
"Exception",
"{",
"dnssrvrec",
"obj",
"=",
"new",
"dnssrvrec",
"(",
")",
";",
"options",
"option",
"=",
"new",
"options",
"(",
... | Use this API to fetch all the dnssrvrec resources that are configured on netscaler.
This uses dnssrvrec_args which is a way to provide additional arguments while fetching the resources. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"dnssrvrec",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
".",
"This",
"uses",
"dnssrvrec_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/dnssrvrec.java#L455-L461 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_vpntrafficpolicy_binding.java | vpnvserver_vpntrafficpolicy_binding.get | public static vpnvserver_vpntrafficpolicy_binding[] get(nitro_service service, String name) throws Exception{
vpnvserver_vpntrafficpolicy_binding obj = new vpnvserver_vpntrafficpolicy_binding();
obj.set_name(name);
vpnvserver_vpntrafficpolicy_binding response[] = (vpnvserver_vpntrafficpolicy_binding[]) obj.get_re... | java | public static vpnvserver_vpntrafficpolicy_binding[] get(nitro_service service, String name) throws Exception{
vpnvserver_vpntrafficpolicy_binding obj = new vpnvserver_vpntrafficpolicy_binding();
obj.set_name(name);
vpnvserver_vpntrafficpolicy_binding response[] = (vpnvserver_vpntrafficpolicy_binding[]) obj.get_re... | [
"public",
"static",
"vpnvserver_vpntrafficpolicy_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"vpnvserver_vpntrafficpolicy_binding",
"obj",
"=",
"new",
"vpnvserver_vpntrafficpolicy_binding",
"(",
")",
... | Use this API to fetch vpnvserver_vpntrafficpolicy_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"vpnvserver_vpntrafficpolicy_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_vpntrafficpolicy_binding.java#L326-L331 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/autoscale/autoscalepolicy_stats.java | autoscalepolicy_stats.get | public static autoscalepolicy_stats[] get(nitro_service service) throws Exception{
autoscalepolicy_stats obj = new autoscalepolicy_stats();
autoscalepolicy_stats[] response = (autoscalepolicy_stats[])obj.stat_resources(service);
return response;
} | java | public static autoscalepolicy_stats[] get(nitro_service service) throws Exception{
autoscalepolicy_stats obj = new autoscalepolicy_stats();
autoscalepolicy_stats[] response = (autoscalepolicy_stats[])obj.stat_resources(service);
return response;
} | [
"public",
"static",
"autoscalepolicy_stats",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"autoscalepolicy_stats",
"obj",
"=",
"new",
"autoscalepolicy_stats",
"(",
")",
";",
"autoscalepolicy_stats",
"[",
"]",
"response",
"=",
... | Use this API to fetch the statistics of all autoscalepolicy_stats resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"the",
"statistics",
"of",
"all",
"autoscalepolicy_stats",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/autoscale/autoscalepolicy_stats.java#L151-L155 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/autoscale/autoscalepolicy_stats.java | autoscalepolicy_stats.get | public static autoscalepolicy_stats get(nitro_service service, String name) throws Exception{
autoscalepolicy_stats obj = new autoscalepolicy_stats();
obj.set_name(name);
autoscalepolicy_stats response = (autoscalepolicy_stats) obj.stat_resource(service);
return response;
} | java | public static autoscalepolicy_stats get(nitro_service service, String name) throws Exception{
autoscalepolicy_stats obj = new autoscalepolicy_stats();
obj.set_name(name);
autoscalepolicy_stats response = (autoscalepolicy_stats) obj.stat_resource(service);
return response;
} | [
"public",
"static",
"autoscalepolicy_stats",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"autoscalepolicy_stats",
"obj",
"=",
"new",
"autoscalepolicy_stats",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
... | Use this API to fetch statistics of autoscalepolicy_stats resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"statistics",
"of",
"autoscalepolicy_stats",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/autoscale/autoscalepolicy_stats.java#L169-L174 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslpolicylabel_binding.java | sslpolicylabel_binding.get | public static sslpolicylabel_binding get(nitro_service service, String labelname) throws Exception{
sslpolicylabel_binding obj = new sslpolicylabel_binding();
obj.set_labelname(labelname);
sslpolicylabel_binding response = (sslpolicylabel_binding) obj.get_resource(service);
return response;
} | java | public static sslpolicylabel_binding get(nitro_service service, String labelname) throws Exception{
sslpolicylabel_binding obj = new sslpolicylabel_binding();
obj.set_labelname(labelname);
sslpolicylabel_binding response = (sslpolicylabel_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"sslpolicylabel_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"labelname",
")",
"throws",
"Exception",
"{",
"sslpolicylabel_binding",
"obj",
"=",
"new",
"sslpolicylabel_binding",
"(",
")",
";",
"obj",
".",
"set_labelname",
"(",... | Use this API to fetch sslpolicylabel_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"sslpolicylabel_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslpolicylabel_binding.java#L103-L108 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsmode.java | nsmode.enable | public static base_response enable(nitro_service client, nsmode resource) throws Exception {
nsmode enableresource = new nsmode();
enableresource.mode = resource.mode;
return enableresource.perform_operation(client,"enable");
} | java | public static base_response enable(nitro_service client, nsmode resource) throws Exception {
nsmode enableresource = new nsmode();
enableresource.mode = resource.mode;
return enableresource.perform_operation(client,"enable");
} | [
"public",
"static",
"base_response",
"enable",
"(",
"nitro_service",
"client",
",",
"nsmode",
"resource",
")",
"throws",
"Exception",
"{",
"nsmode",
"enableresource",
"=",
"new",
"nsmode",
"(",
")",
";",
"enableresource",
".",
"mode",
"=",
"resource",
".",
"mo... | Use this API to enable nsmode. | [
"Use",
"this",
"API",
"to",
"enable",
"nsmode",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsmode.java#L257-L261 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsmode.java | nsmode.disable | public static base_response disable(nitro_service client, nsmode resource) throws Exception {
nsmode disableresource = new nsmode();
disableresource.mode = resource.mode;
return disableresource.perform_operation(client,"disable");
} | java | public static base_response disable(nitro_service client, nsmode resource) throws Exception {
nsmode disableresource = new nsmode();
disableresource.mode = resource.mode;
return disableresource.perform_operation(client,"disable");
} | [
"public",
"static",
"base_response",
"disable",
"(",
"nitro_service",
"client",
",",
"nsmode",
"resource",
")",
"throws",
"Exception",
"{",
"nsmode",
"disableresource",
"=",
"new",
"nsmode",
"(",
")",
";",
"disableresource",
".",
"mode",
"=",
"resource",
".",
... | Use this API to disable nsmode. | [
"Use",
"this",
"API",
"to",
"disable",
"nsmode",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsmode.java#L266-L270 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsmode.java | nsmode.get | public static nsmode get(nitro_service service) throws Exception{
nsmode obj = new nsmode();
nsmode[] response = (nsmode[])obj.get_resources(service);
return response[0];
} | java | public static nsmode get(nitro_service service) throws Exception{
nsmode obj = new nsmode();
nsmode[] response = (nsmode[])obj.get_resources(service);
return response[0];
} | [
"public",
"static",
"nsmode",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"nsmode",
"obj",
"=",
"new",
"nsmode",
"(",
")",
";",
"nsmode",
"[",
"]",
"response",
"=",
"(",
"nsmode",
"[",
"]",
")",
"obj",
".",
"get_resources",
... | Use this API to fetch all the nsmode resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"nsmode",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsmode.java#L275-L279 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/service/options.java | options.to_string | public String to_string()
{
String str = "";
if (pageno > 0)
str = "pageno="+pageno;
if (pagesize > 0)
{
if (str.length() > 0)
str = str + "&";
str = str +"pagesize="+pagesize;
}
if (detailview)
{
if (str.length() > 0)
str = str + "&";
str = str +"view=detail";
... | java | public String to_string()
{
String str = "";
if (pageno > 0)
str = "pageno="+pageno;
if (pagesize > 0)
{
if (str.length() > 0)
str = str + "&";
str = str +"pagesize="+pagesize;
}
if (detailview)
{
if (str.length() > 0)
str = str + "&";
str = str +"view=detail";
... | [
"public",
"String",
"to_string",
"(",
")",
"{",
"String",
"str",
"=",
"\"\"",
";",
"if",
"(",
"pageno",
">",
"0",
")",
"str",
"=",
"\"pageno=\"",
"+",
"pageno",
";",
"if",
"(",
"pagesize",
">",
"0",
")",
"{",
"if",
"(",
"str",
".",
"length",
"(",... | constructs a string for options object.
@return String to be concatenated to the URL. | [
"constructs",
"a",
"string",
"for",
"options",
"object",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/service/options.java#L194-L235 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditnslogpolicy_aaagroup_binding.java | auditnslogpolicy_aaagroup_binding.get | public static auditnslogpolicy_aaagroup_binding[] get(nitro_service service, String name) throws Exception{
auditnslogpolicy_aaagroup_binding obj = new auditnslogpolicy_aaagroup_binding();
obj.set_name(name);
auditnslogpolicy_aaagroup_binding response[] = (auditnslogpolicy_aaagroup_binding[]) obj.get_resources(se... | java | public static auditnslogpolicy_aaagroup_binding[] get(nitro_service service, String name) throws Exception{
auditnslogpolicy_aaagroup_binding obj = new auditnslogpolicy_aaagroup_binding();
obj.set_name(name);
auditnslogpolicy_aaagroup_binding response[] = (auditnslogpolicy_aaagroup_binding[]) obj.get_resources(se... | [
"public",
"static",
"auditnslogpolicy_aaagroup_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"auditnslogpolicy_aaagroup_binding",
"obj",
"=",
"new",
"auditnslogpolicy_aaagroup_binding",
"(",
")",
";",... | Use this API to fetch auditnslogpolicy_aaagroup_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"auditnslogpolicy_aaagroup_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditnslogpolicy_aaagroup_binding.java#L132-L137 | train |
meertensinstituut/mtas | src/main/java/mtas/solr/handler/MtasRequestHandler.java | MtasRequestHandler.getFiles | private ArrayList<String> getFiles(String dir, String subDir) {
ArrayList<String> files = new ArrayList<>();
String fullDir = subDir == null ? dir : dir + File.separator + subDir;
File[] listOfFiles = (new File(fullDir)).listFiles();
if (listOfFiles != null) {
for (File file : listOfFiles) {
... | java | private ArrayList<String> getFiles(String dir, String subDir) {
ArrayList<String> files = new ArrayList<>();
String fullDir = subDir == null ? dir : dir + File.separator + subDir;
File[] listOfFiles = (new File(fullDir)).listFiles();
if (listOfFiles != null) {
for (File file : listOfFiles) {
... | [
"private",
"ArrayList",
"<",
"String",
">",
"getFiles",
"(",
"String",
"dir",
",",
"String",
"subDir",
")",
"{",
"ArrayList",
"<",
"String",
">",
"files",
"=",
"new",
"ArrayList",
"<>",
"(",
")",
";",
"String",
"fullDir",
"=",
"subDir",
"==",
"null",
"... | Gets the files.
@param dir
the dir
@param subDir
the sub dir
@return the files | [
"Gets",
"the",
"files",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/MtasRequestHandler.java#L261-L276 | train |
meertensinstituut/mtas | src/main/java/mtas/solr/handler/MtasRequestHandler.java | MtasRequestHandler.getParamsFromJSON | @SuppressWarnings("unchecked")
private static void getParamsFromJSON(Map<String, String> params, String json) {
JSONParser parser = new JSONParser(json);
try {
Object o = ObjectBuilder.getVal(parser);
if (!(o instanceof Map))
return;
Map<String, Object> map = (Map<String, Object>) o;... | java | @SuppressWarnings("unchecked")
private static void getParamsFromJSON(Map<String, String> params, String json) {
JSONParser parser = new JSONParser(json);
try {
Object o = ObjectBuilder.getVal(parser);
if (!(o instanceof Map))
return;
Map<String, Object> map = (Map<String, Object>) o;... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"private",
"static",
"void",
"getParamsFromJSON",
"(",
"Map",
"<",
"String",
",",
"String",
">",
"params",
",",
"String",
"json",
")",
"{",
"JSONParser",
"parser",
"=",
"new",
"JSONParser",
"(",
"json",
")"... | Gets the params from JSON.
@param params
the params
@param json
the json
@return the params from JSON | [
"Gets",
"the",
"params",
"from",
"JSON",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/MtasRequestHandler.java#L302-L331 | train |
meertensinstituut/mtas | src/main/java/mtas/solr/handler/MtasRequestHandler.java | MtasRequestHandler.getShardInformation | public ShardInformation getShardInformation(String shard) {
ShardInformation shardInformation = shardIndex.get(Objects.requireNonNull(shard, "shard required"));
if (shardInformation == null) {
shardInformation = createShardInformation(shard);
}
return shardInformation;
} | java | public ShardInformation getShardInformation(String shard) {
ShardInformation shardInformation = shardIndex.get(Objects.requireNonNull(shard, "shard required"));
if (shardInformation == null) {
shardInformation = createShardInformation(shard);
}
return shardInformation;
} | [
"public",
"ShardInformation",
"getShardInformation",
"(",
"String",
"shard",
")",
"{",
"ShardInformation",
"shardInformation",
"=",
"shardIndex",
".",
"get",
"(",
"Objects",
".",
"requireNonNull",
"(",
"shard",
",",
"\"shard required\"",
")",
")",
";",
"if",
"(",
... | Gets the shard information.
@param shard
the shard
@return the shard information | [
"Gets",
"the",
"shard",
"information",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/MtasRequestHandler.java#L380-L386 | train |
meertensinstituut/mtas | src/main/java/mtas/solr/handler/MtasRequestHandler.java | MtasRequestHandler.createShardInformation | private ShardInformation createShardInformation(String shard) {
ShardInformation shardInformation = new ShardInformation(shard);
ModifiableSolrParams solrParams = new ModifiableSolrParams();
solrParams.add(CommonParams.Q, "*:*");
solrParams.add(CommonParams.ROWS, "0");
solrParams.add(CommonParams.HE... | java | private ShardInformation createShardInformation(String shard) {
ShardInformation shardInformation = new ShardInformation(shard);
ModifiableSolrParams solrParams = new ModifiableSolrParams();
solrParams.add(CommonParams.Q, "*:*");
solrParams.add(CommonParams.ROWS, "0");
solrParams.add(CommonParams.HE... | [
"private",
"ShardInformation",
"createShardInformation",
"(",
"String",
"shard",
")",
"{",
"ShardInformation",
"shardInformation",
"=",
"new",
"ShardInformation",
"(",
"shard",
")",
";",
"ModifiableSolrParams",
"solrParams",
"=",
"new",
"ModifiableSolrParams",
"(",
")",... | Creates the shard information.
@param shard
the shard
@return the shard information | [
"Creates",
"the",
"shard",
"information",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/solr/handler/MtasRequestHandler.java#L395-L456 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/nd6ravariables_binding.java | nd6ravariables_binding.get | public static nd6ravariables_binding get(nitro_service service, Long vlan) throws Exception{
nd6ravariables_binding obj = new nd6ravariables_binding();
obj.set_vlan(vlan);
nd6ravariables_binding response = (nd6ravariables_binding) obj.get_resource(service);
return response;
} | java | public static nd6ravariables_binding get(nitro_service service, Long vlan) throws Exception{
nd6ravariables_binding obj = new nd6ravariables_binding();
obj.set_vlan(vlan);
nd6ravariables_binding response = (nd6ravariables_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"nd6ravariables_binding",
"get",
"(",
"nitro_service",
"service",
",",
"Long",
"vlan",
")",
"throws",
"Exception",
"{",
"nd6ravariables_binding",
"obj",
"=",
"new",
"nd6ravariables_binding",
"(",
")",
";",
"obj",
".",
"set_vlan",
"(",
"vlan",
... | Use this API to fetch nd6ravariables_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"nd6ravariables_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/nd6ravariables_binding.java#L115-L120 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup_nsip6_binding.java | bridgegroup_nsip6_binding.get | public static bridgegroup_nsip6_binding[] get(nitro_service service, Long id) throws Exception{
bridgegroup_nsip6_binding obj = new bridgegroup_nsip6_binding();
obj.set_id(id);
bridgegroup_nsip6_binding response[] = (bridgegroup_nsip6_binding[]) obj.get_resources(service);
return response;
} | java | public static bridgegroup_nsip6_binding[] get(nitro_service service, Long id) throws Exception{
bridgegroup_nsip6_binding obj = new bridgegroup_nsip6_binding();
obj.set_id(id);
bridgegroup_nsip6_binding response[] = (bridgegroup_nsip6_binding[]) obj.get_resources(service);
return response;
} | [
"public",
"static",
"bridgegroup_nsip6_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"Long",
"id",
")",
"throws",
"Exception",
"{",
"bridgegroup_nsip6_binding",
"obj",
"=",
"new",
"bridgegroup_nsip6_binding",
"(",
")",
";",
"obj",
".",
"set_id",... | Use this API to fetch bridgegroup_nsip6_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"bridgegroup_nsip6_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/bridgegroup_nsip6_binding.java#L231-L236 | train |
meertensinstituut/mtas | src/main/java/mtas/codec/util/CodecSearchTree.java | CodecSearchTree.advanceMtasTree | public static ArrayList<MtasTreeHit<?>> advanceMtasTree(int position,
IndexInput in, long ref, long objectRefApproxOffset) throws IOException {
ArrayList<MtasTreeHit<?>> list = new ArrayList<MtasTreeHit<?>>();
ArrayList<MtasTreeItem> checkList = new ArrayList<MtasTreeItem>();
AtomicBoolean isSinglePoi... | java | public static ArrayList<MtasTreeHit<?>> advanceMtasTree(int position,
IndexInput in, long ref, long objectRefApproxOffset) throws IOException {
ArrayList<MtasTreeHit<?>> list = new ArrayList<MtasTreeHit<?>>();
ArrayList<MtasTreeItem> checkList = new ArrayList<MtasTreeItem>();
AtomicBoolean isSinglePoi... | [
"public",
"static",
"ArrayList",
"<",
"MtasTreeHit",
"<",
"?",
">",
">",
"advanceMtasTree",
"(",
"int",
"position",
",",
"IndexInput",
"in",
",",
"long",
"ref",
",",
"long",
"objectRefApproxOffset",
")",
"throws",
"IOException",
"{",
"ArrayList",
"<",
"MtasTre... | Advance mtas tree.
@param position the position
@param in the in
@param ref the ref
@param objectRefApproxOffset the object ref approx offset
@return the array list
@throws IOException Signals that an I/O exception has occurred. | [
"Advance",
"mtas",
"tree",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecSearchTree.java#L28-L50 | train |
meertensinstituut/mtas | src/main/java/mtas/codec/util/CodecSearchTree.java | CodecSearchTree.getMtasTreeItem | private static MtasTreeItem getMtasTreeItem(Long ref,
AtomicBoolean isSinglePoint, AtomicBoolean isStoreAdditionalIdAndRef,
AtomicLong nodeRefApproxOffset, IndexInput in, long objectRefApproxOffset)
throws IOException {
try {
Boolean isRoot = false;
if (nodeRefApproxOffset.get() < 0) {... | java | private static MtasTreeItem getMtasTreeItem(Long ref,
AtomicBoolean isSinglePoint, AtomicBoolean isStoreAdditionalIdAndRef,
AtomicLong nodeRefApproxOffset, IndexInput in, long objectRefApproxOffset)
throws IOException {
try {
Boolean isRoot = false;
if (nodeRefApproxOffset.get() < 0) {... | [
"private",
"static",
"MtasTreeItem",
"getMtasTreeItem",
"(",
"Long",
"ref",
",",
"AtomicBoolean",
"isSinglePoint",
",",
"AtomicBoolean",
"isStoreAdditionalIdAndRef",
",",
"AtomicLong",
"nodeRefApproxOffset",
",",
"IndexInput",
"in",
",",
"long",
"objectRefApproxOffset",
"... | Gets the mtas tree item.
@param ref the ref
@param isSinglePoint the is single point
@param isStoreAdditionalIdAndRef the is store additional id and ref
@param nodeRefApproxOffset the node ref approx offset
@param in the in
@param objectRefApproxOffset the object ref approx offset
@return the mtas tree item
@throws IO... | [
"Gets",
"the",
"mtas",
"tree",
"item",
"."
] | f02ae730848616bd88b553efa7f9eddc32818e64 | https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecSearchTree.java#L229-L289 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslfips.java | sslfips.update | public static base_response update(nitro_service client, sslfips resource) throws Exception {
sslfips updateresource = new sslfips();
updateresource.inithsm = resource.inithsm;
updateresource.sopassword = resource.sopassword;
updateresource.oldsopassword = resource.oldsopassword;
updateresource.userpassword =... | java | public static base_response update(nitro_service client, sslfips resource) throws Exception {
sslfips updateresource = new sslfips();
updateresource.inithsm = resource.inithsm;
updateresource.sopassword = resource.sopassword;
updateresource.oldsopassword = resource.oldsopassword;
updateresource.userpassword =... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"sslfips",
"resource",
")",
"throws",
"Exception",
"{",
"sslfips",
"updateresource",
"=",
"new",
"sslfips",
"(",
")",
";",
"updateresource",
".",
"inithsm",
"=",
"resource",
".",... | Use this API to update sslfips. | [
"Use",
"this",
"API",
"to",
"update",
"sslfips",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslfips.java#L342-L350 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslfips.java | sslfips.unset | public static base_response unset(nitro_service client, sslfips resource, String[] args) throws Exception{
sslfips unsetresource = new sslfips();
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, sslfips resource, String[] args) throws Exception{
sslfips unsetresource = new sslfips();
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"sslfips",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"sslfips",
"unsetresource",
"=",
"new",
"sslfips",
"(",
")",
";",
"return",
"unsetresour... | Use this API to unset the properties of sslfips resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"sslfips",
"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/sslfips.java#L356-L359 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslfips.java | sslfips.reset | public static base_response reset(nitro_service client, sslfips resource) throws Exception {
sslfips resetresource = new sslfips();
return resetresource.perform_operation(client,"reset");
} | java | public static base_response reset(nitro_service client, sslfips resource) throws Exception {
sslfips resetresource = new sslfips();
return resetresource.perform_operation(client,"reset");
} | [
"public",
"static",
"base_response",
"reset",
"(",
"nitro_service",
"client",
",",
"sslfips",
"resource",
")",
"throws",
"Exception",
"{",
"sslfips",
"resetresource",
"=",
"new",
"sslfips",
"(",
")",
";",
"return",
"resetresource",
".",
"perform_operation",
"(",
... | Use this API to reset sslfips. | [
"Use",
"this",
"API",
"to",
"reset",
"sslfips",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslfips.java#L364-L367 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslfips.java | sslfips.change | public static base_response change(nitro_service client, sslfips resource) throws Exception {
sslfips updateresource = new sslfips();
updateresource.fipsfw = resource.fipsfw;
return updateresource.perform_operation(client,"update");
} | java | public static base_response change(nitro_service client, sslfips resource) throws Exception {
sslfips updateresource = new sslfips();
updateresource.fipsfw = resource.fipsfw;
return updateresource.perform_operation(client,"update");
} | [
"public",
"static",
"base_response",
"change",
"(",
"nitro_service",
"client",
",",
"sslfips",
"resource",
")",
"throws",
"Exception",
"{",
"sslfips",
"updateresource",
"=",
"new",
"sslfips",
"(",
")",
";",
"updateresource",
".",
"fipsfw",
"=",
"resource",
".",
... | Use this API to change sslfips. | [
"Use",
"this",
"API",
"to",
"change",
"sslfips",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslfips.java#L372-L376 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslfips.java | sslfips.get | public static sslfips get(nitro_service service) throws Exception{
sslfips obj = new sslfips();
sslfips[] response = (sslfips[])obj.get_resources(service);
return response[0];
} | java | public static sslfips get(nitro_service service) throws Exception{
sslfips obj = new sslfips();
sslfips[] response = (sslfips[])obj.get_resources(service);
return response[0];
} | [
"public",
"static",
"sslfips",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"sslfips",
"obj",
"=",
"new",
"sslfips",
"(",
")",
";",
"sslfips",
"[",
"]",
"response",
"=",
"(",
"sslfips",
"[",
"]",
")",
"obj",
".",
"get_resource... | Use this API to fetch all the sslfips resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"sslfips",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslfips.java#L381-L385 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy_vpnvserver_binding.java | vpntrafficpolicy_vpnvserver_binding.get | public static vpntrafficpolicy_vpnvserver_binding[] get(nitro_service service, String name) throws Exception{
vpntrafficpolicy_vpnvserver_binding obj = new vpntrafficpolicy_vpnvserver_binding();
obj.set_name(name);
vpntrafficpolicy_vpnvserver_binding response[] = (vpntrafficpolicy_vpnvserver_binding[]) obj.get_re... | java | public static vpntrafficpolicy_vpnvserver_binding[] get(nitro_service service, String name) throws Exception{
vpntrafficpolicy_vpnvserver_binding obj = new vpntrafficpolicy_vpnvserver_binding();
obj.set_name(name);
vpntrafficpolicy_vpnvserver_binding response[] = (vpntrafficpolicy_vpnvserver_binding[]) obj.get_re... | [
"public",
"static",
"vpntrafficpolicy_vpnvserver_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"vpntrafficpolicy_vpnvserver_binding",
"obj",
"=",
"new",
"vpntrafficpolicy_vpnvserver_binding",
"(",
")",
... | Use this API to fetch vpntrafficpolicy_vpnvserver_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"vpntrafficpolicy_vpnvserver_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy_vpnvserver_binding.java#L132-L137 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemuser_binding.java | systemuser_binding.get | public static systemuser_binding get(nitro_service service, String username) throws Exception{
systemuser_binding obj = new systemuser_binding();
obj.set_username(username);
systemuser_binding response = (systemuser_binding) obj.get_resource(service);
return response;
} | java | public static systemuser_binding get(nitro_service service, String username) throws Exception{
systemuser_binding obj = new systemuser_binding();
obj.set_username(username);
systemuser_binding response = (systemuser_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"systemuser_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"username",
")",
"throws",
"Exception",
"{",
"systemuser_binding",
"obj",
"=",
"new",
"systemuser_binding",
"(",
")",
";",
"obj",
".",
"set_username",
"(",
"username",... | Use this API to fetch systemuser_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"systemuser_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/system/systemuser_binding.java#L114-L119 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java | filteraction.add | public static base_response add(nitro_service client, filteraction resource) throws Exception {
filteraction addresource = new filteraction();
addresource.name = resource.name;
addresource.qual = resource.qual;
addresource.servicename = resource.servicename;
addresource.value = resource.value;
addresource.r... | java | public static base_response add(nitro_service client, filteraction resource) throws Exception {
filteraction addresource = new filteraction();
addresource.name = resource.name;
addresource.qual = resource.qual;
addresource.servicename = resource.servicename;
addresource.value = resource.value;
addresource.r... | [
"public",
"static",
"base_response",
"add",
"(",
"nitro_service",
"client",
",",
"filteraction",
"resource",
")",
"throws",
"Exception",
"{",
"filteraction",
"addresource",
"=",
"new",
"filteraction",
"(",
")",
";",
"addresource",
".",
"name",
"=",
"resource",
"... | Use this API to add filteraction. | [
"Use",
"this",
"API",
"to",
"add",
"filteraction",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java#L236-L245 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java | filteraction.add | public static base_responses add(nitro_service client, filteraction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
filteraction addresources[] = new filteraction[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new f... | java | public static base_responses add(nitro_service client, filteraction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
filteraction addresources[] = new filteraction[resources.length];
for (int i=0;i<resources.length;i++){
addresources[i] = new f... | [
"public",
"static",
"base_responses",
"add",
"(",
"nitro_service",
"client",
",",
"filteraction",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
"."... | Use this API to add filteraction resources. | [
"Use",
"this",
"API",
"to",
"add",
"filteraction",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java#L250-L266 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java | filteraction.update | public static base_response update(nitro_service client, filteraction resource) throws Exception {
filteraction updateresource = new filteraction();
updateresource.name = resource.name;
updateresource.servicename = resource.servicename;
updateresource.value = resource.value;
updateresource.respcode = resource... | java | public static base_response update(nitro_service client, filteraction resource) throws Exception {
filteraction updateresource = new filteraction();
updateresource.name = resource.name;
updateresource.servicename = resource.servicename;
updateresource.value = resource.value;
updateresource.respcode = resource... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"filteraction",
"resource",
")",
"throws",
"Exception",
"{",
"filteraction",
"updateresource",
"=",
"new",
"filteraction",
"(",
")",
";",
"updateresource",
".",
"name",
"=",
"resou... | Use this API to update filteraction. | [
"Use",
"this",
"API",
"to",
"update",
"filteraction",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java#L321-L329 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java | filteraction.update | public static base_responses update(nitro_service client, filteraction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
filteraction updateresources[] = new filteraction[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i... | java | public static base_responses update(nitro_service client, filteraction resources[]) throws Exception {
base_responses result = null;
if (resources != null && resources.length > 0) {
filteraction updateresources[] = new filteraction[resources.length];
for (int i=0;i<resources.length;i++){
updateresources[i... | [
"public",
"static",
"base_responses",
"update",
"(",
"nitro_service",
"client",
",",
"filteraction",
"resources",
"[",
"]",
")",
"throws",
"Exception",
"{",
"base_responses",
"result",
"=",
"null",
";",
"if",
"(",
"resources",
"!=",
"null",
"&&",
"resources",
... | Use this API to update filteraction resources. | [
"Use",
"this",
"API",
"to",
"update",
"filteraction",
"resources",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java#L334-L349 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java | filteraction.get | public static filteraction[] get(nitro_service service) throws Exception{
filteraction obj = new filteraction();
filteraction[] response = (filteraction[])obj.get_resources(service);
return response;
} | java | public static filteraction[] get(nitro_service service) throws Exception{
filteraction obj = new filteraction();
filteraction[] response = (filteraction[])obj.get_resources(service);
return response;
} | [
"public",
"static",
"filteraction",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"filteraction",
"obj",
"=",
"new",
"filteraction",
"(",
")",
";",
"filteraction",
"[",
"]",
"response",
"=",
"(",
"filteraction",
"[",
"]",... | Use this API to fetch all the filteraction resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"filteraction",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java#L398-L402 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java | filteraction.get | public static filteraction get(nitro_service service, String name) throws Exception{
filteraction obj = new filteraction();
obj.set_name(name);
filteraction response = (filteraction) obj.get_resource(service);
return response;
} | java | public static filteraction get(nitro_service service, String name) throws Exception{
filteraction obj = new filteraction();
obj.set_name(name);
filteraction response = (filteraction) obj.get_resource(service);
return response;
} | [
"public",
"static",
"filteraction",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"name",
")",
"throws",
"Exception",
"{",
"filteraction",
"obj",
"=",
"new",
"filteraction",
"(",
")",
";",
"obj",
".",
"set_name",
"(",
"name",
")",
";",
"filteraction... | Use this API to fetch filteraction resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"filteraction",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filteraction.java#L414-L419 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheglobal_binding.java | cacheglobal_binding.get | public static cacheglobal_binding get(nitro_service service) throws Exception{
cacheglobal_binding obj = new cacheglobal_binding();
cacheglobal_binding response = (cacheglobal_binding) obj.get_resource(service);
return response;
} | java | public static cacheglobal_binding get(nitro_service service) throws Exception{
cacheglobal_binding obj = new cacheglobal_binding();
cacheglobal_binding response = (cacheglobal_binding) obj.get_resource(service);
return response;
} | [
"public",
"static",
"cacheglobal_binding",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"cacheglobal_binding",
"obj",
"=",
"new",
"cacheglobal_binding",
"(",
")",
";",
"cacheglobal_binding",
"response",
"=",
"(",
"cacheglobal_binding",
")",... | Use this API to fetch a cacheglobal_binding resource . | [
"Use",
"this",
"API",
"to",
"fetch",
"a",
"cacheglobal_binding",
"resource",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/cache/cacheglobal_binding.java#L84-L88 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaapreauthenticationparameter.java | aaapreauthenticationparameter.update | public static base_response update(nitro_service client, aaapreauthenticationparameter resource) throws Exception {
aaapreauthenticationparameter updateresource = new aaapreauthenticationparameter();
updateresource.preauthenticationaction = resource.preauthenticationaction;
updateresource.rule = resource.rule;
... | java | public static base_response update(nitro_service client, aaapreauthenticationparameter resource) throws Exception {
aaapreauthenticationparameter updateresource = new aaapreauthenticationparameter();
updateresource.preauthenticationaction = resource.preauthenticationaction;
updateresource.rule = resource.rule;
... | [
"public",
"static",
"base_response",
"update",
"(",
"nitro_service",
"client",
",",
"aaapreauthenticationparameter",
"resource",
")",
"throws",
"Exception",
"{",
"aaapreauthenticationparameter",
"updateresource",
"=",
"new",
"aaapreauthenticationparameter",
"(",
")",
";",
... | Use this API to update aaapreauthenticationparameter. | [
"Use",
"this",
"API",
"to",
"update",
"aaapreauthenticationparameter",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaapreauthenticationparameter.java#L164-L171 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaapreauthenticationparameter.java | aaapreauthenticationparameter.unset | public static base_response unset(nitro_service client, aaapreauthenticationparameter resource, String[] args) throws Exception{
aaapreauthenticationparameter unsetresource = new aaapreauthenticationparameter();
return unsetresource.unset_resource(client,args);
} | java | public static base_response unset(nitro_service client, aaapreauthenticationparameter resource, String[] args) throws Exception{
aaapreauthenticationparameter unsetresource = new aaapreauthenticationparameter();
return unsetresource.unset_resource(client,args);
} | [
"public",
"static",
"base_response",
"unset",
"(",
"nitro_service",
"client",
",",
"aaapreauthenticationparameter",
"resource",
",",
"String",
"[",
"]",
"args",
")",
"throws",
"Exception",
"{",
"aaapreauthenticationparameter",
"unsetresource",
"=",
"new",
"aaapreauthent... | Use this API to unset the properties of aaapreauthenticationparameter resource.
Properties that need to be unset are specified in args array. | [
"Use",
"this",
"API",
"to",
"unset",
"the",
"properties",
"of",
"aaapreauthenticationparameter",
"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/aaa/aaapreauthenticationparameter.java#L177-L180 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaapreauthenticationparameter.java | aaapreauthenticationparameter.get | public static aaapreauthenticationparameter get(nitro_service service, options option) throws Exception{
aaapreauthenticationparameter obj = new aaapreauthenticationparameter();
aaapreauthenticationparameter[] response = (aaapreauthenticationparameter[])obj.get_resources(service,option);
return response[0];
} | java | public static aaapreauthenticationparameter get(nitro_service service, options option) throws Exception{
aaapreauthenticationparameter obj = new aaapreauthenticationparameter();
aaapreauthenticationparameter[] response = (aaapreauthenticationparameter[])obj.get_resources(service,option);
return response[0];
} | [
"public",
"static",
"aaapreauthenticationparameter",
"get",
"(",
"nitro_service",
"service",
",",
"options",
"option",
")",
"throws",
"Exception",
"{",
"aaapreauthenticationparameter",
"obj",
"=",
"new",
"aaapreauthenticationparameter",
"(",
")",
";",
"aaapreauthenticatio... | Use this API to fetch all the aaapreauthenticationparameter resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"all",
"the",
"aaapreauthenticationparameter",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaapreauthenticationparameter.java#L194-L198 | train |
wellner/jcarafe | jcarafe-core/src/main/java/cern/colt/list/DoubleArrayList.java | DoubleArrayList.get | public double get(int index) {
// overridden for performance only.
if (index >= size || index < 0)
throw new IndexOutOfBoundsException("Index: "+index+", Size: "+size);
return elements[index];
} | java | public double get(int index) {
// overridden for performance only.
if (index >= size || index < 0)
throw new IndexOutOfBoundsException("Index: "+index+", Size: "+size);
return elements[index];
} | [
"public",
"double",
"get",
"(",
"int",
"index",
")",
"{",
"// overridden for performance only.\r",
"if",
"(",
"index",
">=",
"size",
"||",
"index",
"<",
"0",
")",
"throw",
"new",
"IndexOutOfBoundsException",
"(",
"\"Index: \"",
"+",
"index",
"+",
"\", Size: \"",... | Returns the element at the specified position in the receiver.
@param index index of element to return.
@exception IndexOutOfBoundsException index is out of range (index
< 0 || index >= size()). | [
"Returns",
"the",
"element",
"at",
"the",
"specified",
"position",
"in",
"the",
"receiver",
"."
] | ab8b0a83dbf600fe80c27711815c90bd3055b217 | https://github.com/wellner/jcarafe/blob/ab8b0a83dbf600fe80c27711815c90bd3055b217/jcarafe-core/src/main/java/cern/colt/list/DoubleArrayList.java#L209-L214 | train |
wellner/jcarafe | jcarafe-core/src/main/java/cern/colt/list/DoubleArrayList.java | DoubleArrayList.reverse | public void reverse() {
// overridden for performance only.
double tmp;
int limit=size/2;
int j=size-1;
double[] theElements = elements;
for (int i=0; i<limit;) { //swap
tmp=theElements[i];
theElements[i++]=theElements[j];
theElements[j--]=tmp;
}
} | java | public void reverse() {
// overridden for performance only.
double tmp;
int limit=size/2;
int j=size-1;
double[] theElements = elements;
for (int i=0; i<limit;) { //swap
tmp=theElements[i];
theElements[i++]=theElements[j];
theElements[j--]=tmp;
}
} | [
"public",
"void",
"reverse",
"(",
")",
"{",
"// overridden for performance only.\r",
"double",
"tmp",
";",
"int",
"limit",
"=",
"size",
"/",
"2",
";",
"int",
"j",
"=",
"size",
"-",
"1",
";",
"double",
"[",
"]",
"theElements",
"=",
"elements",
";",
"for",... | Reverses the elements of the receiver.
Last becomes first, second last becomes second first, and so on. | [
"Reverses",
"the",
"elements",
"of",
"the",
"receiver",
".",
"Last",
"becomes",
"first",
"second",
"last",
"becomes",
"second",
"first",
"and",
"so",
"on",
"."
] | ab8b0a83dbf600fe80c27711815c90bd3055b217 | https://github.com/wellner/jcarafe/blob/ab8b0a83dbf600fe80c27711815c90bd3055b217/jcarafe-core/src/main/java/cern/colt/list/DoubleArrayList.java#L413-L425 | train |
wellner/jcarafe | jcarafe-core/src/main/java/cern/colt/list/DoubleArrayList.java | DoubleArrayList.set | public void set(int index, double element) {
// overridden for performance only.
if (index >= size || index < 0)
throw new IndexOutOfBoundsException("Index: "+index+", Size: "+size);
elements[index] = element;
} | java | public void set(int index, double element) {
// overridden for performance only.
if (index >= size || index < 0)
throw new IndexOutOfBoundsException("Index: "+index+", Size: "+size);
elements[index] = element;
} | [
"public",
"void",
"set",
"(",
"int",
"index",
",",
"double",
"element",
")",
"{",
"// overridden for performance only.\r",
"if",
"(",
"index",
">=",
"size",
"||",
"index",
"<",
"0",
")",
"throw",
"new",
"IndexOutOfBoundsException",
"(",
"\"Index: \"",
"+",
"in... | Replaces the element at the specified position in the receiver with the specified element.
@param index index of element to replace.
@param element element to be stored at the specified position.
@exception IndexOutOfBoundsException index is out of range (index
< 0 || index >= size()). | [
"Replaces",
"the",
"element",
"at",
"the",
"specified",
"position",
"in",
"the",
"receiver",
"with",
"the",
"specified",
"element",
"."
] | ab8b0a83dbf600fe80c27711815c90bd3055b217 | https://github.com/wellner/jcarafe/blob/ab8b0a83dbf600fe80c27711815c90bd3055b217/jcarafe-core/src/main/java/cern/colt/list/DoubleArrayList.java#L434-L439 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/gslb/gslbservice_dnsview_binding.java | gslbservice_dnsview_binding.get | public static gslbservice_dnsview_binding[] get(nitro_service service, String servicename) throws Exception{
gslbservice_dnsview_binding obj = new gslbservice_dnsview_binding();
obj.set_servicename(servicename);
gslbservice_dnsview_binding response[] = (gslbservice_dnsview_binding[]) obj.get_resources(service);
... | java | public static gslbservice_dnsview_binding[] get(nitro_service service, String servicename) throws Exception{
gslbservice_dnsview_binding obj = new gslbservice_dnsview_binding();
obj.set_servicename(servicename);
gslbservice_dnsview_binding response[] = (gslbservice_dnsview_binding[]) obj.get_resources(service);
... | [
"public",
"static",
"gslbservice_dnsview_binding",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"servicename",
")",
"throws",
"Exception",
"{",
"gslbservice_dnsview_binding",
"obj",
"=",
"new",
"gslbservice_dnsview_binding",
"(",
")",
";",
"obj",
... | Use this API to fetch gslbservice_dnsview_binding resources of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"gslbservice_dnsview_binding",
"resources",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/gslb/gslbservice_dnsview_binding.java#L175-L180 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/gslb/gslbservice_dnsview_binding.java | gslbservice_dnsview_binding.count_filtered | public static long count_filtered(nitro_service service, String servicename, filtervalue[] filter) throws Exception{
gslbservice_dnsview_binding obj = new gslbservice_dnsview_binding();
obj.set_servicename(servicename);
options option = new options();
option.set_count(true);
option.set_filter(filter);
gslbs... | java | public static long count_filtered(nitro_service service, String servicename, filtervalue[] filter) throws Exception{
gslbservice_dnsview_binding obj = new gslbservice_dnsview_binding();
obj.set_servicename(servicename);
options option = new options();
option.set_count(true);
option.set_filter(filter);
gslbs... | [
"public",
"static",
"long",
"count_filtered",
"(",
"nitro_service",
"service",
",",
"String",
"servicename",
",",
"filtervalue",
"[",
"]",
"filter",
")",
"throws",
"Exception",
"{",
"gslbservice_dnsview_binding",
"obj",
"=",
"new",
"gslbservice_dnsview_binding",
"(",
... | Use this API to count the filtered set of gslbservice_dnsview_binding resources.
set the filter parameter values in filtervalue object. | [
"Use",
"this",
"API",
"to",
"count",
"the",
"filtered",
"set",
"of",
"gslbservice_dnsview_binding",
"resources",
".",
"set",
"the",
"filter",
"parameter",
"values",
"in",
"filtervalue",
"object",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/gslb/gslbservice_dnsview_binding.java#L244-L255 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/responder/responderpolicylabel_stats.java | responderpolicylabel_stats.get | public static responderpolicylabel_stats[] get(nitro_service service) throws Exception{
responderpolicylabel_stats obj = new responderpolicylabel_stats();
responderpolicylabel_stats[] response = (responderpolicylabel_stats[])obj.stat_resources(service);
return response;
} | java | public static responderpolicylabel_stats[] get(nitro_service service) throws Exception{
responderpolicylabel_stats obj = new responderpolicylabel_stats();
responderpolicylabel_stats[] response = (responderpolicylabel_stats[])obj.stat_resources(service);
return response;
} | [
"public",
"static",
"responderpolicylabel_stats",
"[",
"]",
"get",
"(",
"nitro_service",
"service",
")",
"throws",
"Exception",
"{",
"responderpolicylabel_stats",
"obj",
"=",
"new",
"responderpolicylabel_stats",
"(",
")",
";",
"responderpolicylabel_stats",
"[",
"]",
"... | Use this API to fetch the statistics of all responderpolicylabel_stats resources that are configured on netscaler. | [
"Use",
"this",
"API",
"to",
"fetch",
"the",
"statistics",
"of",
"all",
"responderpolicylabel_stats",
"resources",
"that",
"are",
"configured",
"on",
"netscaler",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/responder/responderpolicylabel_stats.java#L131-L135 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/stat/responder/responderpolicylabel_stats.java | responderpolicylabel_stats.get | public static responderpolicylabel_stats get(nitro_service service, String labelname) throws Exception{
responderpolicylabel_stats obj = new responderpolicylabel_stats();
obj.set_labelname(labelname);
responderpolicylabel_stats response = (responderpolicylabel_stats) obj.stat_resource(service);
return response;... | java | public static responderpolicylabel_stats get(nitro_service service, String labelname) throws Exception{
responderpolicylabel_stats obj = new responderpolicylabel_stats();
obj.set_labelname(labelname);
responderpolicylabel_stats response = (responderpolicylabel_stats) obj.stat_resource(service);
return response;... | [
"public",
"static",
"responderpolicylabel_stats",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"labelname",
")",
"throws",
"Exception",
"{",
"responderpolicylabel_stats",
"obj",
"=",
"new",
"responderpolicylabel_stats",
"(",
")",
";",
"obj",
".",
"set_labeln... | Use this API to fetch statistics of responderpolicylabel_stats resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"statistics",
"of",
"responderpolicylabel_stats",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/responder/responderpolicylabel_stats.java#L149-L154 | train |
netscaler/nitro | src/main/java/com/citrix/netscaler/nitro/resource/config/appflow/appflowpolicylabel_binding.java | appflowpolicylabel_binding.get | public static appflowpolicylabel_binding get(nitro_service service, String labelname) throws Exception{
appflowpolicylabel_binding obj = new appflowpolicylabel_binding();
obj.set_labelname(labelname);
appflowpolicylabel_binding response = (appflowpolicylabel_binding) obj.get_resource(service);
return response;
... | java | public static appflowpolicylabel_binding get(nitro_service service, String labelname) throws Exception{
appflowpolicylabel_binding obj = new appflowpolicylabel_binding();
obj.set_labelname(labelname);
appflowpolicylabel_binding response = (appflowpolicylabel_binding) obj.get_resource(service);
return response;
... | [
"public",
"static",
"appflowpolicylabel_binding",
"get",
"(",
"nitro_service",
"service",
",",
"String",
"labelname",
")",
"throws",
"Exception",
"{",
"appflowpolicylabel_binding",
"obj",
"=",
"new",
"appflowpolicylabel_binding",
"(",
")",
";",
"obj",
".",
"set_labeln... | Use this API to fetch appflowpolicylabel_binding resource of given name . | [
"Use",
"this",
"API",
"to",
"fetch",
"appflowpolicylabel_binding",
"resource",
"of",
"given",
"name",
"."
] | 2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4 | https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appflow/appflowpolicylabel_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.