idx int64 0 165k | question stringlengths 73 5.81k | target stringlengths 5 918 |
|---|---|---|
2,900 | 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 respo... | Use this API to fetch authenticationradiuspolicy_systemglobal_binding resources of given name . |
2,901 | 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 [ ] ... | Use this API to fetch authenticationcertpolicy_systemglobal_binding resources of given name . |
2,902 | 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 = re... | Use this API to add snmptrap . |
2,903 | 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... | Use this API to add snmptrap resources . |
2,904 | public static base_response delete ( nitro_service client , String trapclass ) throws Exception { snmptrap deleteresource = new snmptrap ( ) ; deleteresource . trapclass = trapclass ; return deleteresource . delete_resource ( client ) ; } | Use this API to delete snmptrap of given name . |
2,905 | 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 ) ; } | Use this API to delete snmptrap . |
2,906 | 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 ++ ) { deleteresour... | Use this API to delete snmptrap resources of given names . |
2,907 | 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 ++ ) { deletereso... | Use this API to delete snmptrap resources . |
2,908 | 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 ; updatereso... | Use this API to update snmptrap . |
2,909 | 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 ++ ) { updatereso... | Use this API to update snmptrap resources . |
2,910 | 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... | Use this API to unset the properties of snmptrap resource . Properties that need to be unset are specified in args array . |
2,911 | 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 +... | Use this API to unset the properties of snmptrap resources . Properties that need to be unset are specified in args array . |
2,912 | public static snmptrap [ ] get ( nitro_service service ) throws Exception { snmptrap obj = new snmptrap ( ) ; snmptrap [ ] response = ( snmptrap [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch all the snmptrap resources that are configured on netscaler . |
2,913 | public static base_response enable ( nitro_service client ) throws Exception { reporting enableresource = new reporting ( ) ; return enableresource . perform_operation ( client , "enable" ) ; } | Use this API to enable reporting . |
2,914 | public static base_response disable ( nitro_service client ) throws Exception { reporting disableresource = new reporting ( ) ; return disableresource . perform_operation ( client , "disable" ) ; } | Use this API to disable reporting . |
2,915 | public static reporting get ( nitro_service service ) throws Exception { reporting obj = new reporting ( ) ; reporting [ ] response = ( reporting [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; } | Use this API to fetch all the reporting resources that are configured on netscaler . |
2,916 | 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_systemcmd... | Use this API to fetch systemgroup_systemcmdpolicy_binding resources of given name . |
2,917 | 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 respon... | Use this API to count systemgroup_systemcmdpolicy_binding resources configued on NetScaler . |
2,918 | 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 ] ; } | Use this API to fetch the statistics of all nssimpleacl_stats resources that are configured on netscaler . |
2,919 | 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 = null... | Converts the value parameter to an Integer . If the value is null or invalid it returns zero . |
2,920 | 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 ; } return... | Converts the value parameter to a Long . If the value is null or invalid it returns zero . |
2,921 | 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 = null ... | Converts the value parameter to a Double . If the value is null or invalid it returns zero . |
2,922 | 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 ; } | Use this API to fetch lbvserver_binding resource of given name . |
2,923 | 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 (... | Use this API to fetch cspolicy_crvserver_binding resources of given name . |
2,924 | 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 ) ; } } | Show all the channels currently being printed in addition to a new one |
2,925 | 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_b... | Use this API to fetch systemuser_systemcmdpolicy_binding resources of given name . |
2,926 | 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 ) ; } | Use this API to add snmpcommunity . |
2,927 | 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 ++ ) { a... | Use this API to add snmpcommunity resources . |
2,928 | public static base_response delete ( nitro_service client , String communityname ) throws Exception { snmpcommunity deleteresource = new snmpcommunity ( ) ; deleteresource . communityname = communityname ; return deleteresource . delete_resource ( client ) ; } | Use this API to delete snmpcommunity of given name . |
2,929 | 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 . ... | Use this API to delete snmpcommunity resources of given names . |
2,930 | public static snmpcommunity [ ] get ( nitro_service service ) throws Exception { snmpcommunity obj = new snmpcommunity ( ) ; snmpcommunity [ ] response = ( snmpcommunity [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch all the snmpcommunity resources that are configured on netscaler . |
2,931 | 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 ; } | Use this API to fetch snmpcommunity resource of given name . |
2,932 | 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 ... | Use this API to fetch snmpcommunity resources of given names . |
2,933 | 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 . ge... | Use this API to fetch sslservice_sslpolicy_binding resources of given name . |
2,934 | 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 ; } | Use this API to fetch vrid6_nsip6_binding resources of given name . |
2,935 | 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 = r... | Use this API to add policyexpression . |
2,936 | 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... | Use this API to add policyexpression resources . |
2,937 | 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 ; updatereso... | Use this API to update policyexpression . |
2,938 | 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 . leng... | Use this API to update policyexpression resources . |
2,939 | public static policyexpression [ ] get ( nitro_service service ) throws Exception { policyexpression obj = new policyexpression ( ) ; policyexpression [ ] response = ( policyexpression [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch all the policyexpression resources that are configured on netscaler . |
2,940 | 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 = ( policyexpre... | 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 . |
2,941 | 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 ; } | Use this API to fetch policyexpression resource of given name . |
2,942 | public static systemdatasource get ( nitro_service service ) throws Exception { systemdatasource obj = new systemdatasource ( ) ; systemdatasource [ ] response = ( systemdatasource [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; } | Use this API to fetch all the systemdatasource resources that are configured on netscaler . |
2,943 | 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 = ( systemdatas... | 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 . |
2,944 | 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 ) ; serviceg... | Use this API to fetch servicegroup_servicegroupentitymonbindings_binding resources of given name . |
2,945 | 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 [ ]... | Use this API to fetch aaauser_auditnslogpolicy_binding resources of given name . |
2,946 | 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 ; } | Use this API to fetch a vpnglobal_staserver_binding resources . |
2,947 | 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... | Use this API to fetch cmppolicy_cmppolicylabel_binding resources of given name . |
2,948 | 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 ; add... | Use this API to add dnssrvrec . |
2,949 | 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 ... | Use this API to add dnssrvrec resources . |
2,950 | 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 ) ; } | Use this API to delete dnssrvrec . |
2,951 | 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 = resou... | Use this API to update dnssrvrec . |
2,952 | 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 ++ ) { updater... | Use this API to update dnssrvrec resources . |
2,953 | 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 ) ; } | Use this API to unset the properties of dnssrvrec resource . Properties that need to be unset are specified in args array . |
2,954 | public static dnssrvrec [ ] get ( nitro_service service ) throws Exception { dnssrvrec obj = new dnssrvrec ( ) ; dnssrvrec [ ] response = ( dnssrvrec [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch all the dnssrvrec resources that are configured on netscaler . |
2,955 | 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 ; } | Use this API to fetch a dnssrvrec resource . |
2,956 | 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_... | Use this API to fetch a dnssrvrec resources . |
2,957 | 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 ... | 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 . |
2,958 | 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 ... | Use this API to fetch vpnvserver_vpntrafficpolicy_binding resources of given name . |
2,959 | 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 ; } | Use this API to fetch the statistics of all autoscalepolicy_stats resources that are configured on netscaler . |
2,960 | 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 ; } | Use this API to fetch statistics of autoscalepolicy_stats resource of given name . |
2,961 | 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 ; } | Use this API to fetch sslpolicylabel_binding resource of given name . |
2,962 | 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" ) ; } | Use this API to enable nsmode . |
2,963 | 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" ) ; } | Use this API to disable nsmode . |
2,964 | public static nsmode get ( nitro_service service ) throws Exception { nsmode obj = new nsmode ( ) ; nsmode [ ] response = ( nsmode [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; } | Use this API to fetch all the nsmode resources that are configured on netscaler . |
2,965 | 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" ; } if ( count ) { if ( str ... | constructs a string for options object . |
2,966 | 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 ... | Use this API to fetch auditnslogpolicy_aaagroup_binding resources of given name . |
2,967 | 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 : listOfFil... | Gets the files . |
2,968 | @ 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 > ) ... | Gets the params from JSON . |
2,969 | public ShardInformation getShardInformation ( String shard ) { ShardInformation shardInformation = shardIndex . get ( Objects . requireNonNull ( shard , "shard required" ) ) ; if ( shardInformation == null ) { shardInformation = createShardInformation ( shard ) ; } return shardInformation ; } | Gets the shard information . |
2,970 | 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 ( Com... | Creates the shard information . |
2,971 | 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 ; } | Use this API to fetch nd6ravariables_binding resource of given name . |
2,972 | 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 ; ... | Use this API to fetch bridgegroup_nsip6_binding resources of given name . |
2,973 | 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 > ( ) ; AtomicB... | Advance mtas tree . |
2,974 | 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 ) { isRoot = true ; } ... | Gets the mtas tree item . |
2,975 | 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 . ... | Use this API to update sslfips . |
2,976 | public static base_response unset ( nitro_service client , sslfips resource , String [ ] args ) throws Exception { sslfips unsetresource = new sslfips ( ) ; return unsetresource . unset_resource ( client , args ) ; } | Use this API to unset the properties of sslfips resource . Properties that need to be unset are specified in args array . |
2,977 | public static base_response reset ( nitro_service client , sslfips resource ) throws Exception { sslfips resetresource = new sslfips ( ) ; return resetresource . perform_operation ( client , "reset" ) ; } | Use this API to reset sslfips . |
2,978 | 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" ) ; } | Use this API to change sslfips . |
2,979 | public static sslfips get ( nitro_service service ) throws Exception { sslfips obj = new sslfips ( ) ; sslfips [ ] response = ( sslfips [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; } | Use this API to fetch all the sslfips resources that are configured on netscaler . |
2,980 | 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 ... | Use this API to fetch vpntrafficpolicy_vpnvserver_binding resources of given name . |
2,981 | 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 ; } | Use this API to fetch systemuser_binding resource of given name . |
2,982 | 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 ... | Use this API to add filteraction . |
2,983 | 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 ++ ) { addr... | Use this API to add filteraction resources . |
2,984 | 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 . respc... | Use this API to update filteraction . |
2,985 | 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 ++ ) ... | Use this API to update filteraction resources . |
2,986 | public static filteraction [ ] get ( nitro_service service ) throws Exception { filteraction obj = new filteraction ( ) ; filteraction [ ] response = ( filteraction [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch all the filteraction resources that are configured on netscaler . |
2,987 | 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 ; } | Use this API to fetch filteraction resource of given name . |
2,988 | 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 ; } | Use this API to fetch a cacheglobal_binding resource . |
2,989 | public static base_response update ( nitro_service client , aaapreauthenticationparameter resource ) throws Exception { aaapreauthenticationparameter updateresource = new aaapreauthenticationparameter ( ) ; updateresource . preauthenticationaction = resource . preauthenticationaction ; updateresource . rule = resource ... | Use this API to update aaapreauthenticationparameter . |
2,990 | public static base_response unset ( nitro_service client , aaapreauthenticationparameter resource , String [ ] args ) throws Exception { aaapreauthenticationparameter unsetresource = new aaapreauthenticationparameter ( ) ; return unsetresource . unset_resource ( client , args ) ; } | Use this API to unset the properties of aaapreauthenticationparameter resource . Properties that need to be unset are specified in args array . |
2,991 | public static aaapreauthenticationparameter get ( nitro_service service , options option ) throws Exception { aaapreauthenticationparameter obj = new aaapreauthenticationparameter ( ) ; aaapreauthenticationparameter [ ] response = ( aaapreauthenticationparameter [ ] ) obj . get_resources ( service , option ) ; return r... | Use this API to fetch all the aaapreauthenticationparameter resources that are configured on netscaler . |
2,992 | public double get ( int index ) { if ( index >= size || index < 0 ) throw new IndexOutOfBoundsException ( "Index: " + index + ", Size: " + size ) ; return elements [ index ] ; } | Returns the element at the specified position in the receiver . |
2,993 | public void reverse ( ) { double tmp ; int limit = size / 2 ; int j = size - 1 ; double [ ] theElements = elements ; for ( int i = 0 ; i < limit ; ) { tmp = theElements [ i ] ; theElements [ i ++ ] = theElements [ j ] ; theElements [ j -- ] = tmp ; } } | Reverses the elements of the receiver . Last becomes first second last becomes second first and so on . |
2,994 | public void set ( int index , double element ) { if ( index >= size || index < 0 ) throw new IndexOutOfBoundsException ( "Index: " + index + ", Size: " + size ) ; elements [ index ] = element ; } | Replaces the element at the specified position in the receiver with the specified element . |
2,995 | 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_res... | Use this API to fetch gslbservice_dnsview_binding resources of given name . |
2,996 | 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_filte... | Use this API to count the filtered set of gslbservice_dnsview_binding resources . set the filter parameter values in filtervalue object . |
2,997 | 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 ; } | Use this API to fetch the statistics of all responderpolicylabel_stats resources that are configured on netscaler . |
2,998 | 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 ) ; re... | Use this API to fetch statistics of responderpolicylabel_stats resource of given name . |
2,999 | 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 ) ; ret... | Use this API to fetch appflowpolicylabel_binding resource of given name . |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.