idx int64 0 165k | question stringlengths 73 4.15k | target stringlengths 5 918 | len_question int64 21 890 | len_target int64 3 255 |
|---|---|---|---|---|
2,500 | public static responderhtmlpage get ( nitro_service service ) throws Exception { responderhtmlpage obj = new responderhtmlpage ( ) ; responderhtmlpage [ ] response = ( responderhtmlpage [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; } | Use this API to fetch all the responderhtmlpage resources that are configured on netscaler . | 63 | 20 |
2,501 | public static responderhtmlpage get ( nitro_service service , String name ) throws Exception { responderhtmlpage obj = new responderhtmlpage ( ) ; obj . set_name ( name ) ; responderhtmlpage response = ( responderhtmlpage ) obj . get_resource ( service ) ; return response ; } | Use this API to fetch responderhtmlpage resource of given name . | 68 | 14 |
2,502 | private double goldenMean ( double a , double b ) { if ( geometric ) { return a * Math . pow ( b / a , GOLDEN_SECTION ) ; } else { return a + ( b - a ) * GOLDEN_SECTION ; } } | The point that is the GOLDEN_SECTION along the way from a to b . a may be less or greater than b you find the point 60 - odd percent of the way from a to b . | 56 | 42 |
2,503 | public int getNumWeights ( ) { if ( weights == null ) return 0 ; int numWeights = 0 ; for ( double [ ] wts : weights ) { numWeights += wts . length ; } return numWeights ; } | Returns the total number of weights associated with this classifier . | 52 | 12 |
2,504 | public void scaleWeights ( double scale ) { for ( int i = 0 ; i < weights . length ; i ++ ) { for ( int j = 0 ; j < weights [ i ] . length ; j ++ ) { weights [ i ] [ j ] *= scale ; } } } | Scales the weights of this crfclassifier by the specified weight | 61 | 14 |
2,505 | public void combine ( CRFClassifier < IN > crf , double weight ) { Timing timer = new Timing ( ) ; // Check the CRFClassifiers are compatible if ( ! this . pad . equals ( crf . pad ) ) { throw new RuntimeException ( "Incompatible CRFClassifier: pad does not match" ) ; } if ( this . windowSize != crf . windowSize ) { th... | Combines weighted crf with this crf | 564 | 9 |
2,506 | public Pair < int [ ] [ ] [ ] , int [ ] > documentToDataAndLabels ( List < IN > document ) { int docSize = document . size ( ) ; // first index is position in the document also the index of the // clique/factor table // second index is the number of elements in the clique/window these // features are for (starting with... | Convert a document List into arrays storing the data features and labels . | 628 | 14 |
2,507 | public Pair < int [ ] [ ] [ ] [ ] , int [ ] [ ] > documentsToDataAndLabels ( Collection < List < IN > > documents ) { // first index is the number of the document // second index is position in the document also the index of the // clique/factor table // third index is the number of elements in the clique/window these ... | Convert an ObjectBank to arrays of data features and labels . | 519 | 13 |
2,508 | public List < Pair < int [ ] [ ] [ ] , int [ ] > > documentsToDataAndLabelsList ( Collection < List < IN > > documents ) { int numDatums = 0 ; List < Pair < int [ ] [ ] [ ] , int [ ] > > docList = new ArrayList < Pair < int [ ] [ ] [ ] , int [ ] > > ( ) ; for ( List < IN > doc : documents ) { Pair < int [ ] [ ] [ ] , i... | Convert an ObjectBank to corresponding collection of data features and labels . | 235 | 14 |
2,509 | public CRFDatum < List < String > , CRFLabel > makeDatum ( List < IN > info , int loc , edu . stanford . nlp . sequences . FeatureFactory < IN > featureFactory ) { pad . set ( AnswerAnnotation . class , flags . backgroundSymbol ) ; PaddedList < IN > pInfo = new PaddedList < IN > ( info , pad ) ; ArrayList < List < Stri... | Makes a CRFDatum by producing features and a label from input data at a specific position using the provided factory . | 478 | 24 |
2,510 | public List < CRFCliqueTree > getCliqueTrees ( String filename , DocumentReaderAndWriter < IN > readerAndWriter ) { // only for the OCR data does this matter flags . ocrTrain = false ; List < CRFCliqueTree > cts = new ArrayList < CRFCliqueTree > ( ) ; ObjectBank < List < IN > > docs = makeObjectBankFromFile ( filename ... | Want to make arbitrary probability queries? Then this is the method for you . Given the filename it reads it in and breaks it into documents and then makes a CRFCliqueTree for each document . you can then ask the clique tree for marginals and conditional probabilities of almost anything you want . | 126 | 60 |
2,511 | protected List < CRFDatum > extractDatumSequence ( int [ ] [ ] [ ] allData , int beginPosition , int endPosition , List < IN > labeledWordInfos ) { List < CRFDatum > result = new ArrayList < CRFDatum > ( ) ; int beginContext = beginPosition - windowSize + 1 ; if ( beginContext < 0 ) { beginContext = 0 ; } // for the be... | Creates a new CRFDatum from the preprocessed allData format given the document number position number and a List of Object labels . | 456 | 28 |
2,512 | protected void addProcessedData ( List < List < CRFDatum < Collection < String > , String > > > processedData , int [ ] [ ] [ ] [ ] data , int [ ] [ ] labels , int offset ) { for ( int i = 0 , pdSize = processedData . size ( ) ; i < pdSize ; i ++ ) { int dataIndex = i + offset ; List < CRFDatum < Collection < String > ... | Adds the List of Lists of CRFDatums to the data and labels arrays treating each datum as if it were its own document . Adds context labels in addition to the target label for each datum meaning that for a particular document the number of labels will be windowSize - 1 greater than the number of datums . | 655 | 65 |
2,513 | public static < IN extends CoreMap > CRFClassifier < IN > getJarClassifier ( String resourceName , Properties props ) { CRFClassifier < IN > crf = new CRFClassifier < IN > ( ) ; crf . loadJarClassifier ( resourceName , props ) ; return crf ; } | Used to load a classifier stored as a resource inside a jar file . THIS FUNCTION WILL ONLY WORK IF THE CODE WAS LOADED FROM A JAR FILE WHICH HAS A SERIALIZED CLASSIFIER STORED INSIDE IT . | 68 | 51 |
2,514 | public static < IN extends CoreMap > CRFClassifier < IN > getClassifier ( File file ) throws IOException , ClassCastException , ClassNotFoundException { CRFClassifier < IN > crf = new CRFClassifier < IN > ( ) ; crf . loadClassifier ( file ) ; return crf ; } | Loads a CRF classifier from a filepath and returns it . | 71 | 15 |
2,515 | public static CRFClassifier getClassifier ( InputStream in ) throws IOException , ClassCastException , ClassNotFoundException { CRFClassifier crf = new CRFClassifier ( ) ; crf . loadClassifier ( in ) ; return crf ; } | Loads a CRF classifier from an InputStream and returns it . This method does not buffer the InputStream so you should have buffered it before calling this method . | 57 | 35 |
2,516 | public static void main ( String [ ] args ) throws Exception { StringUtils . printErrInvocationString ( "CRFClassifier" , args ) ; Properties props = StringUtils . argsToProperties ( args ) ; CRFClassifier < CoreLabel > crf = new CRFClassifier < CoreLabel > ( props ) ; String testFile = crf . flags . testFile ; String ... | The main method . See the class documentation . | 761 | 9 |
2,517 | public static appfwglobal_auditsyslogpolicy_binding [ ] get ( nitro_service service ) throws Exception { appfwglobal_auditsyslogpolicy_binding obj = new appfwglobal_auditsyslogpolicy_binding ( ) ; appfwglobal_auditsyslogpolicy_binding response [ ] = ( appfwglobal_auditsyslogpolicy_binding [ ] ) obj . get_resources ( se... | Use this API to fetch a appfwglobal_auditsyslogpolicy_binding resources . | 97 | 19 |
2,518 | public static csvserver_cmppolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { csvserver_cmppolicy_binding obj = new csvserver_cmppolicy_binding ( ) ; obj . set_name ( name ) ; csvserver_cmppolicy_binding response [ ] = ( csvserver_cmppolicy_binding [ ] ) obj . get_resources ( service ) ; ... | Use this API to fetch csvserver_cmppolicy_binding resources of given name . | 99 | 19 |
2,519 | public static ipset_nsip_binding [ ] get ( nitro_service service , String name ) throws Exception { ipset_nsip_binding obj = new ipset_nsip_binding ( ) ; obj . set_name ( name ) ; ipset_nsip_binding response [ ] = ( ipset_nsip_binding [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch ipset_nsip_binding resources of given name . | 94 | 18 |
2,520 | public static base_response delete ( nitro_service client , appfwlearningdata resource ) throws Exception { appfwlearningdata deleteresource = new appfwlearningdata ( ) ; deleteresource . profilename = resource . profilename ; deleteresource . starturl = resource . starturl ; deleteresource . cookieconsistency = resour... | Use this API to delete appfwlearningdata . | 310 | 10 |
2,521 | public static base_responses delete ( nitro_service client , appfwlearningdata resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { appfwlearningdata deleteresources [ ] = new appfwlearningdata [ resources . length ] ; for ( int i = 0 ; i < resources . l... | Use this API to delete appfwlearningdata resources . | 481 | 11 |
2,522 | public static base_response reset ( nitro_service client ) throws Exception { appfwlearningdata resetresource = new appfwlearningdata ( ) ; return resetresource . perform_operation ( client , "reset" ) ; } | Use this API to reset appfwlearningdata . | 47 | 10 |
2,523 | public static base_responses reset ( nitro_service client , appfwlearningdata resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { appfwlearningdata resetresources [ ] = new appfwlearningdata [ resources . length ] ; for ( int i = 0 ; i < resources . len... | Use this API to reset appfwlearningdata resources . | 124 | 11 |
2,524 | public static base_response export ( nitro_service client , appfwlearningdata resource ) throws Exception { appfwlearningdata exportresource = new appfwlearningdata ( ) ; exportresource . profilename = resource . profilename ; exportresource . securitycheck = resource . securitycheck ; exportresource . target = resourc... | Use this API to export appfwlearningdata . | 86 | 10 |
2,525 | public static base_responses export ( nitro_service client , appfwlearningdata resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { appfwlearningdata exportresources [ ] = new appfwlearningdata [ resources . length ] ; for ( int i = 0 ; i < resources . l... | Use this API to export appfwlearningdata resources . | 175 | 11 |
2,526 | public static appfwlearningdata [ ] get ( nitro_service service , appfwlearningdata_args args ) throws Exception { appfwlearningdata obj = new appfwlearningdata ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; appfwlearningdata [ ] response = ( appfwl... | Use this API to fetch all the appfwlearningdata resources that are configured on netscaler . This uses appfwlearningdata_args which is a way to provide additional arguments while fetching the resources . | 105 | 42 |
2,527 | public static appfwprofile_safeobject_binding [ ] get ( nitro_service service , String name ) throws Exception { appfwprofile_safeobject_binding obj = new appfwprofile_safeobject_binding ( ) ; obj . set_name ( name ) ; appfwprofile_safeobject_binding response [ ] = ( appfwprofile_safeobject_binding [ ] ) obj . get_reso... | Use this API to fetch appfwprofile_safeobject_binding resources of given name . | 94 | 18 |
2,528 | public static tmsessionpolicy_binding get ( nitro_service service , String name ) throws Exception { tmsessionpolicy_binding obj = new tmsessionpolicy_binding ( ) ; obj . set_name ( name ) ; tmsessionpolicy_binding response = ( tmsessionpolicy_binding ) obj . get_resource ( service ) ; return response ; } | Use this API to fetch tmsessionpolicy_binding resource of given name . | 78 | 16 |
2,529 | public static vpnvserver_auditnslogpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { vpnvserver_auditnslogpolicy_binding obj = new vpnvserver_auditnslogpolicy_binding ( ) ; obj . set_name ( name ) ; vpnvserver_auditnslogpolicy_binding response [ ] = ( vpnvserver_auditnslogpolicy_binding ... | Use this API to fetch vpnvserver_auditnslogpolicy_binding resources of given name . | 114 | 22 |
2,530 | private void calculateSCL ( double [ ] x ) { //System.out.println("Checking at: "+x[0]+" "+x[1]+" "+x[2]); value = 0.0 ; Arrays . fill ( derivative , 0.0 ) ; double [ ] sums = new double [ numClasses ] ; double [ ] probs = new double [ numClasses ] ; double [ ] counts = new double [ numClasses ] ; Arrays . fill ( count... | Calculate the summed conditional likelihood of this data by summing conditional estimates . | 523 | 16 |
2,531 | public static vrid6 [ ] get ( nitro_service service ) throws Exception { vrid6 obj = new vrid6 ( ) ; vrid6 [ ] response = ( vrid6 [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch all the vrid6 resources that are configured on netscaler . | 57 | 19 |
2,532 | public static vrid6 get ( nitro_service service , Long id ) throws Exception { vrid6 obj = new vrid6 ( ) ; obj . set_id ( id ) ; vrid6 response = ( vrid6 ) obj . get_resource ( service ) ; return response ; } | Use this API to fetch vrid6 resource of given name . | 63 | 13 |
2,533 | private static Iterator < String > splitIntoDocs ( Reader r ) { if ( TREAT_FILE_AS_ONE_DOCUMENT ) { return Collections . singleton ( IOUtils . slurpReader ( r ) ) . iterator ( ) ; } else { Collection < String > docs = new ArrayList < String > ( ) ; ObjectBank < String > ob = ObjectBank . getLineIterator ( r ) ; StringB... | end class CoNLLIterator | 220 | 6 |
2,534 | private CoreLabel makeCoreLabel ( String line ) { CoreLabel wi = new CoreLabel ( ) ; // wi.line = line; String [ ] bits = line . split ( "\\s+" ) ; switch ( bits . length ) { case 0 : case 1 : wi . setWord ( BOUNDARY ) ; wi . set ( AnswerAnnotation . class , OTHER ) ; break ; case 2 : wi . setWord ( bits [ 0 ] ) ; wi .... | This deals with the CoNLL files for different languages which have between 2 and 5 columns on non - blank lines . | 370 | 24 |
2,535 | private void deEndify ( List < CoreLabel > tokens ) { if ( flags . retainEntitySubclassification ) { return ; } tokens = new PaddedList < CoreLabel > ( tokens , new CoreLabel ( ) ) ; int k = tokens . size ( ) ; String [ ] newAnswers = new String [ k ] ; for ( int i = 0 ; i < k ; i ++ ) { CoreLabel c = tokens . get ( i ... | Return the coding scheme to IOB1 coding regardless of what was used internally . This is useful for scoring against CoNLL test output . | 394 | 28 |
2,536 | public void printAnswers ( List < CoreLabel > doc , PrintWriter out ) { // boolean tagsMerged = flags.mergeTags; // boolean useHead = flags.splitOnHead; if ( ! "iob1" . equalsIgnoreCase ( flags . entitySubclassification ) ) { deEndify ( doc ) ; } for ( CoreLabel fl : doc ) { String word = fl . word ( ) ; if ( word == B... | Write a standard CoNLL format output file . | 276 | 10 |
2,537 | public static void main ( String [ ] args ) throws IOException , ClassNotFoundException { CoNLLDocumentReaderAndWriter f = new CoNLLDocumentReaderAndWriter ( ) ; f . init ( new SeqClassifierFlags ( ) ) ; int numDocs = 0 ; int numTokens = 0 ; int numEntities = 0 ; String lastAnsBase = "" ; for ( Iterator < List < CoreLa... | Count some stats on what occurs in a file . | 382 | 10 |
2,538 | protected void getBatch ( int batchSize ) { // if (numCalls == 0) { // for (int i = 0; i < 1538*\15; i++) { // randGenerator.nextInt(this.dataDimension()); // } // } // numCalls++; if ( thisBatch == null || thisBatch . length != batchSize ) { thisBatch = new int [ batchSize ] ; } //----------------------------- //RANDO... | private int numCalls = 0 ; | 575 | 8 |
2,539 | public static server_service_binding [ ] get ( nitro_service service , String name ) throws Exception { server_service_binding obj = new server_service_binding ( ) ; obj . set_name ( name ) ; server_service_binding response [ ] = ( server_service_binding [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch server_service_binding resources of given name . | 79 | 15 |
2,540 | @ SuppressWarnings ( "rawtypes" ) public void setReplicationClassLoader ( Fqn regionFqn , ClassLoader classLoader ) { if ( ! isLocalMode ( ) ) { final Region region = jBossCache . getRegion ( regionFqn , true ) ; region . registerContextClassLoader ( classLoader ) ; if ( ! region . isActive ( ) && jBossCache . getCache... | Sets the class loader to be used on serialization operations for data stored in the specified fqn and child nodes . Note that if another class loader is set for a specific child node tree the cache will use instead that class loader . | 110 | 48 |
2,541 | @ SuppressWarnings ( "rawtypes" ) public void unsetReplicationClassLoader ( Fqn regionFqn , ClassLoader classLoader ) { if ( ! isLocalMode ( ) ) { final Region region = jBossCache . getRegion ( regionFqn , true ) ; if ( region != null ) { if ( region . isActive ( ) ) { region . deactivate ( ) ; } region . unregisterCon... | Unsets the class loader to be used on serialization operations for data stored in the specified fqn and child nodes . | 115 | 25 |
2,542 | public static systemglobal_authenticationradiuspolicy_binding [ ] get ( nitro_service service ) throws Exception { systemglobal_authenticationradiuspolicy_binding obj = new systemglobal_authenticationradiuspolicy_binding ( ) ; systemglobal_authenticationradiuspolicy_binding response [ ] = ( systemglobal_authenticationr... | Use this API to fetch a systemglobal_authenticationradiuspolicy_binding resources . | 87 | 17 |
2,543 | public static auditsyslogpolicy_authenticationvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { auditsyslogpolicy_authenticationvserver_binding obj = new auditsyslogpolicy_authenticationvserver_binding ( ) ; obj . set_name ( name ) ; auditsyslogpolicy_authenticationvserver_binding respo... | Use this API to fetch auditsyslogpolicy_authenticationvserver_binding resources of given name . | 109 | 21 |
2,544 | public static lbgroup_lbvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { lbgroup_lbvserver_binding obj = new lbgroup_lbvserver_binding ( ) ; obj . set_name ( name ) ; lbgroup_lbvserver_binding response [ ] = ( lbgroup_lbvserver_binding [ ] ) obj . get_resources ( service ) ; return res... | Use this API to fetch lbgroup_lbvserver_binding resources of given name . | 94 | 18 |
2,545 | public static base_response add ( nitro_service client , nspbr resource ) throws Exception { nspbr addresource = new nspbr ( ) ; addresource . name = resource . name ; addresource . action = resource . action ; addresource . td = resource . td ; addresource . srcip = resource . srcip ; addresource . srcipop = resource ... | Use this API to add nspbr . | 370 | 9 |
2,546 | public static base_responses add ( nitro_service client , nspbr resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nspbr addresources [ ] = new nspbr [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new ... | Use this API to add nspbr resources . | 606 | 10 |
2,547 | public static base_response update ( nitro_service client , nspbr resource ) throws Exception { nspbr updateresource = new nspbr ( ) ; updateresource . name = resource . name ; updateresource . action = resource . action ; updateresource . srcip = resource . srcip ; updateresource . srcipop = resource . srcipop ; updat... | Use this API to update nspbr . | 352 | 9 |
2,548 | public static base_responses update ( nitro_service client , nspbr resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nspbr updateresources [ ] = new nspbr [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i... | Use this API to update nspbr resources . | 576 | 10 |
2,549 | public static base_response enable ( nitro_service client , nspbr resource ) throws Exception { nspbr enableresource = new nspbr ( ) ; enableresource . name = resource . name ; return enableresource . perform_operation ( client , "enable" ) ; } | Use this API to enable nspbr . | 59 | 9 |
2,550 | public static base_responses enable ( nitro_service client , nspbr resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nspbr enableresources [ ] = new nspbr [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { enableresources [ i... | Use this API to enable nspbr resources . | 135 | 10 |
2,551 | public static nspbr [ ] get ( nitro_service service ) throws Exception { nspbr obj = new nspbr ( ) ; nspbr [ ] response = ( nspbr [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch all the nspbr resources that are configured on netscaler . | 57 | 19 |
2,552 | public static nspbr [ ] get ( nitro_service service , nspbr_args args ) throws Exception { nspbr obj = new nspbr ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; nspbr [ ] response = ( nspbr [ ] ) obj . get_resources ( service , option ) ; return resp... | Use this API to fetch all the nspbr resources that are configured on netscaler . This uses nspbr_args which is a way to provide additional arguments while fetching the resources . | 99 | 40 |
2,553 | public static nspbr get ( nitro_service service , String name ) throws Exception { nspbr obj = new nspbr ( ) ; obj . set_name ( name ) ; nspbr response = ( nspbr ) obj . get_resource ( service ) ; return response ; } | Use this API to fetch nspbr resource of given name . | 63 | 13 |
2,554 | public static vpnglobal_vpnintranetapplication_binding [ ] get ( nitro_service service ) throws Exception { vpnglobal_vpnintranetapplication_binding obj = new vpnglobal_vpnintranetapplication_binding ( ) ; vpnglobal_vpnintranetapplication_binding response [ ] = ( vpnglobal_vpnintranetapplication_binding [ ] ) obj . get... | Use this API to fetch a vpnglobal_vpnintranetapplication_binding resources . | 107 | 21 |
2,555 | public static aaauser_authorizationpolicy_binding [ ] get ( nitro_service service , String username ) throws Exception { aaauser_authorizationpolicy_binding obj = new aaauser_authorizationpolicy_binding ( ) ; obj . set_username ( username ) ; aaauser_authorizationpolicy_binding response [ ] = ( aaauser_authorizationpol... | Use this API to fetch aaauser_authorizationpolicy_binding resources of given name . | 99 | 19 |
2,556 | public static base_response clear ( nitro_service client , rnat resource ) throws Exception { rnat clearresource = new rnat ( ) ; clearresource . network = resource . network ; clearresource . netmask = resource . netmask ; clearresource . aclname = resource . aclname ; clearresource . redirectport = resource . redirec... | Use this API to clear rnat . | 111 | 8 |
2,557 | public static base_responses clear ( nitro_service client , rnat resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { rnat clearresources [ ] = new rnat [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { clearresources [ i ] = n... | Use this API to clear rnat resources . | 216 | 9 |
2,558 | public static base_response update ( nitro_service client , rnat resource ) throws Exception { rnat updateresource = new rnat ( ) ; updateresource . network = resource . network ; updateresource . netmask = resource . netmask ; updateresource . natip = resource . natip ; updateresource . td = resource . td ; updatereso... | Use this API to update rnat . | 120 | 8 |
2,559 | public static base_responses update ( nitro_service client , rnat resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { rnat updateresources [ ] = new rnat [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] ... | Use this API to update rnat resources . | 229 | 9 |
2,560 | public static base_response unset ( nitro_service client , rnat resource , String [ ] args ) throws Exception { rnat unsetresource = new rnat ( ) ; unsetresource . network = resource . network ; unsetresource . netmask = resource . netmask ; unsetresource . td = resource . td ; unsetresource . aclname = resource . acln... | Use this API to unset the properties of rnat resource . Properties that need to be unset are specified in args array . | 124 | 26 |
2,561 | public static base_responses unset ( nitro_service client , rnat resources [ ] , String [ ] args ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { rnat unsetresources [ ] = new rnat [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { unsetr... | Use this API to unset the properties of rnat resources . Properties that need to be unset are specified in args array . | 228 | 26 |
2,562 | public static rnat [ ] get ( nitro_service service , options option ) throws Exception { rnat obj = new rnat ( ) ; rnat [ ] response = ( rnat [ ] ) obj . get_resources ( service , option ) ; return response ; } | Use this API to fetch all the rnat resources that are configured on netscaler . | 57 | 18 |
2,563 | public static authorizationpolicy_binding get ( nitro_service service , String name ) throws Exception { authorizationpolicy_binding obj = new authorizationpolicy_binding ( ) ; obj . set_name ( name ) ; authorizationpolicy_binding response = ( authorizationpolicy_binding ) obj . get_resource ( service ) ; return respon... | Use this API to fetch authorizationpolicy_binding resource of given name . | 68 | 14 |
2,564 | public static cachepolicy_cachepolicylabel_binding [ ] get ( nitro_service service , String policyname ) throws Exception { cachepolicy_cachepolicylabel_binding obj = new cachepolicy_cachepolicylabel_binding ( ) ; obj . set_policyname ( policyname ) ; cachepolicy_cachepolicylabel_binding response [ ] = ( cachepolicy_ca... | Use this API to fetch cachepolicy_cachepolicylabel_binding resources of given name . | 111 | 20 |
2,565 | public static authenticationtacacspolicy_vpnvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { authenticationtacacspolicy_vpnvserver_binding obj = new authenticationtacacspolicy_vpnvserver_binding ( ) ; obj . set_name ( name ) ; authenticationtacacspolicy_vpnvserver_binding response [ ] ... | Use this API to fetch authenticationtacacspolicy_vpnvserver_binding resources of given name . | 119 | 23 |
2,566 | public static gslbsite_binding get ( nitro_service service , String sitename ) throws Exception { gslbsite_binding obj = new gslbsite_binding ( ) ; obj . set_sitename ( sitename ) ; gslbsite_binding response = ( gslbsite_binding ) obj . get_resource ( service ) ; return response ; } | Use this API to fetch gslbsite_binding resource of given name . | 76 | 15 |
2,567 | public static base_response Install ( nitro_service client , wipackage resource ) throws Exception { wipackage Installresource = new wipackage ( ) ; Installresource . jre = resource . jre ; Installresource . wi = resource . wi ; Installresource . maxsites = resource . maxsites ; return Installresource . perform_operati... | Use this API to Install wipackage . | 77 | 9 |
2,568 | public static vrid6_interface_binding [ ] get ( nitro_service service , Long id ) throws Exception { vrid6_interface_binding obj = new vrid6_interface_binding ( ) ; obj . set_id ( id ) ; vrid6_interface_binding response [ ] = ( vrid6_interface_binding [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch vrid6_interface_binding resources of given name . | 89 | 17 |
2,569 | public static dnspolicy64 [ ] get ( nitro_service service ) throws Exception { dnspolicy64 obj = new dnspolicy64 ( ) ; dnspolicy64 [ ] response = ( dnspolicy64 [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch all the dnspolicy64 resources that are configured on netscaler . | 67 | 21 |
2,570 | public static dnspolicy64 get ( nitro_service service , String name ) throws Exception { dnspolicy64 obj = new dnspolicy64 ( ) ; obj . set_name ( name ) ; dnspolicy64 response = ( dnspolicy64 ) obj . get_resource ( service ) ; return response ; } | Use this API to fetch dnspolicy64 resource of given name . | 73 | 15 |
2,571 | public static dnspolicy64 [ ] get_filtered ( nitro_service service , filtervalue [ ] filter ) throws Exception { dnspolicy64 obj = new dnspolicy64 ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; dnspolicy64 [ ] response = ( dnspolicy64 [ ] ) obj . getfiltered ( service , option ) ; return resp... | Use this API to fetch filtered set of dnspolicy64 resources . set the filter parameter values in filtervalue object . | 95 | 25 |
2,572 | public static vpnvserver_intranetip_binding [ ] get ( nitro_service service , String name ) throws Exception { vpnvserver_intranetip_binding obj = new vpnvserver_intranetip_binding ( ) ; obj . set_name ( name ) ; vpnvserver_intranetip_binding response [ ] = ( vpnvserver_intranetip_binding [ ] ) obj . get_resources ( se... | Use this API to fetch vpnvserver_intranetip_binding resources of given name . | 109 | 21 |
2,573 | public static vpnglobal_authenticationcertpolicy_binding [ ] get ( nitro_service service ) throws Exception { vpnglobal_authenticationcertpolicy_binding obj = new vpnglobal_authenticationcertpolicy_binding ( ) ; vpnglobal_authenticationcertpolicy_binding response [ ] = ( vpnglobal_authenticationcertpolicy_binding [ ] )... | Use this API to fetch a vpnglobal_authenticationcertpolicy_binding resources . | 97 | 19 |
2,574 | public static netbridge_binding get ( nitro_service service , String name ) throws Exception { netbridge_binding obj = new netbridge_binding ( ) ; obj . set_name ( name ) ; netbridge_binding response = ( netbridge_binding ) obj . get_resource ( service ) ; return response ; } | Use this API to fetch netbridge_binding resource of given name . | 68 | 14 |
2,575 | public static appqoepolicy_stats [ ] get ( nitro_service service ) throws Exception { appqoepolicy_stats obj = new appqoepolicy_stats ( ) ; appqoepolicy_stats [ ] response = ( appqoepolicy_stats [ ] ) obj . stat_resources ( service ) ; return response ; } | Use this API to fetch the statistics of all appqoepolicy_stats resources that are configured on netscaler . | 77 | 25 |
2,576 | public static appqoepolicy_stats get ( nitro_service service , String name ) throws Exception { appqoepolicy_stats obj = new appqoepolicy_stats ( ) ; obj . set_name ( name ) ; appqoepolicy_stats response = ( appqoepolicy_stats ) obj . stat_resource ( service ) ; return response ; } | Use this API to fetch statistics of appqoepolicy_stats resource of given name . | 83 | 19 |
2,577 | public static nstrace get ( nitro_service service ) throws Exception { nstrace obj = new nstrace ( ) ; nstrace [ ] response = ( nstrace [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; } | Use this API to fetch all the nstrace resources that are configured on netscaler . | 58 | 19 |
2,578 | public static base_response release ( nitro_service client ) throws Exception { nsdhcpip releaseresource = new nsdhcpip ( ) ; return releaseresource . perform_operation ( client , "release" ) ; } | Use this API to release nsdhcpip . | 49 | 11 |
2,579 | public static cachepolicy_stats [ ] get ( nitro_service service ) throws Exception { cachepolicy_stats obj = new cachepolicy_stats ( ) ; cachepolicy_stats [ ] response = ( cachepolicy_stats [ ] ) obj . stat_resources ( service ) ; return response ; } | Use this API to fetch the statistics of all cachepolicy_stats resources that are configured on netscaler . | 62 | 22 |
2,580 | public static cachepolicy_stats get ( nitro_service service , String policyname ) throws Exception { cachepolicy_stats obj = new cachepolicy_stats ( ) ; obj . set_policyname ( policyname ) ; cachepolicy_stats response = ( cachepolicy_stats ) obj . stat_resource ( service ) ; return response ; } | Use this API to fetch statistics of cachepolicy_stats resource of given name . | 75 | 16 |
2,581 | public static gslbsite_gslbservice_binding [ ] get ( nitro_service service , String sitename ) throws Exception { gslbsite_gslbservice_binding obj = new gslbsite_gslbservice_binding ( ) ; obj . set_sitename ( sitename ) ; gslbsite_gslbservice_binding response [ ] = ( gslbsite_gslbservice_binding [ ] ) obj . get_resourc... | Use this API to fetch gslbsite_gslbservice_binding resources of given name . | 112 | 21 |
2,582 | public static gslbsite_gslbservice_binding [ ] get_filtered ( nitro_service service , String sitename , filtervalue [ ] filter ) throws Exception { gslbsite_gslbservice_binding obj = new gslbsite_gslbservice_binding ( ) ; obj . set_sitename ( sitename ) ; options option = new options ( ) ; option . set_filter ( filter ... | Use this API to fetch filtered set of gslbsite_gslbservice_binding resources . set the filter parameter values in filtervalue object . | 140 | 31 |
2,583 | public static long count ( nitro_service service , String sitename ) throws Exception { gslbsite_gslbservice_binding obj = new gslbsite_gslbservice_binding ( ) ; obj . set_sitename ( sitename ) ; options option = new options ( ) ; option . set_count ( true ) ; gslbsite_gslbservice_binding response [ ] = ( gslbsite_gslb... | Use this API to count gslbsite_gslbservice_binding resources configued on NetScaler . | 136 | 24 |
2,584 | public static gslbsite_stats [ ] get ( nitro_service service , options option ) throws Exception { gslbsite_stats obj = new gslbsite_stats ( ) ; gslbsite_stats [ ] response = ( gslbsite_stats [ ] ) obj . stat_resources ( service , option ) ; return response ; } | Use this API to fetch the statistics of all gslbsite_stats resources that are configured on netscaler . | 72 | 23 |
2,585 | public static gslbsite_stats get ( nitro_service service , String sitename ) throws Exception { gslbsite_stats obj = new gslbsite_stats ( ) ; obj . set_sitename ( sitename ) ; gslbsite_stats response = ( gslbsite_stats ) obj . stat_resource ( service ) ; return response ; } | Use this API to fetch statistics of gslbsite_stats resource of given name . | 76 | 17 |
2,586 | public static base_response add ( nitro_service client , dnsaddrec resource ) throws Exception { dnsaddrec addresource = new dnsaddrec ( ) ; addresource . hostname = resource . hostname ; addresource . ipaddress = resource . ipaddress ; addresource . ttl = resource . ttl ; return addresource . add_resource ( client ) ;... | Use this API to add dnsaddrec . | 82 | 10 |
2,587 | public static base_responses add ( nitro_service client , dnsaddrec resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnsaddrec addresources [ ] = new dnsaddrec [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources ... | Use this API to add dnsaddrec resources . | 169 | 11 |
2,588 | public static base_response delete ( nitro_service client , String hostname ) throws Exception { dnsaddrec deleteresource = new dnsaddrec ( ) ; deleteresource . hostname = hostname ; return deleteresource . delete_resource ( client ) ; } | Use this API to delete dnsaddrec of given name . | 56 | 13 |
2,589 | public static base_response delete ( nitro_service client , dnsaddrec resource ) throws Exception { dnsaddrec deleteresource = new dnsaddrec ( ) ; deleteresource . hostname = resource . hostname ; deleteresource . ipaddress = resource . ipaddress ; return deleteresource . delete_resource ( client ) ; } | Use this API to delete dnsaddrec . | 71 | 10 |
2,590 | public static base_responses delete ( nitro_service client , dnsaddrec resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnsaddrec deleteresources [ ] = new dnsaddrec [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { deleter... | Use this API to delete dnsaddrec resources . | 152 | 11 |
2,591 | public static dnsaddrec [ ] get ( nitro_service service ) throws Exception { dnsaddrec obj = new dnsaddrec ( ) ; dnsaddrec [ ] response = ( dnsaddrec [ ] ) obj . get_resources ( service ) ; return response ; } | Use this API to fetch all the dnsaddrec resources that are configured on netscaler . | 62 | 20 |
2,592 | public static dnsaddrec [ ] get ( nitro_service service , dnsaddrec_args args ) throws Exception { dnsaddrec obj = new dnsaddrec ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; dnsaddrec [ ] response = ( dnsaddrec [ ] ) obj . get_resources ( service ... | Use this API to fetch all the dnsaddrec resources that are configured on netscaler . This uses dnsaddrec_args which is a way to provide additional arguments while fetching the resources . | 105 | 42 |
2,593 | public static dnsaddrec get ( nitro_service service , String hostname ) throws Exception { dnsaddrec obj = new dnsaddrec ( ) ; obj . set_hostname ( hostname ) ; dnsaddrec response = ( dnsaddrec ) obj . get_resource ( service ) ; return response ; } | Use this API to fetch dnsaddrec resource of given name . | 71 | 14 |
2,594 | public static authorizationpolicy_aaauser_binding [ ] get ( nitro_service service , String name ) throws Exception { authorizationpolicy_aaauser_binding obj = new authorizationpolicy_aaauser_binding ( ) ; obj . set_name ( name ) ; authorizationpolicy_aaauser_binding response [ ] = ( authorizationpolicy_aaauser_binding ... | Use this API to fetch authorizationpolicy_aaauser_binding resources of given name . | 89 | 17 |
2,595 | public static base_response add ( nitro_service client , nsxmlnamespace resource ) throws Exception { nsxmlnamespace addresource = new nsxmlnamespace ( ) ; addresource . prefix = resource . prefix ; addresource . Namespace = resource . Namespace ; return addresource . add_resource ( client ) ; } | Use this API to add nsxmlnamespace . | 69 | 10 |
2,596 | public static base_responses add ( nitro_service client , nsxmlnamespace resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nsxmlnamespace addresources [ ] = new nsxmlnamespace [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) ... | Use this API to add nsxmlnamespace resources . | 150 | 11 |
2,597 | public static base_response delete ( nitro_service client , String prefix ) throws Exception { nsxmlnamespace deleteresource = new nsxmlnamespace ( ) ; deleteresource . prefix = prefix ; return deleteresource . delete_resource ( client ) ; } | Use this API to delete nsxmlnamespace of given name . | 53 | 13 |
2,598 | public static base_responses delete ( nitro_service client , String prefix [ ] ) throws Exception { base_responses result = null ; if ( prefix != null && prefix . length > 0 ) { nsxmlnamespace deleteresources [ ] = new nsxmlnamespace [ prefix . length ] ; for ( int i = 0 ; i < prefix . length ; i ++ ) { deleteresources... | Use this API to delete nsxmlnamespace resources of given names . | 128 | 14 |
2,599 | public static base_response update ( nitro_service client , nsxmlnamespace resource ) throws Exception { nsxmlnamespace updateresource = new nsxmlnamespace ( ) ; updateresource . prefix = resource . prefix ; updateresource . Namespace = resource . Namespace ; updateresource . description = resource . description ; retu... | Use this API to update nsxmlnamespace . | 78 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.