コード例 #1
0
 /** Use this API to fetch appfwprofile_trustedlearningclients_binding resources of given name . */
 public static appfwprofile_trustedlearningclients_binding[] get(
     nitro_service service, String name) throws Exception {
   appfwprofile_trustedlearningclients_binding obj =
       new appfwprofile_trustedlearningclients_binding();
   obj.set_name(name);
   appfwprofile_trustedlearningclients_binding response[] =
       (appfwprofile_trustedlearningclients_binding[]) obj.get_resources(service);
   return response;
 }
コード例 #2
0
 /**
  * Use this API to fetch filtered set of appfwprofile_trustedlearningclients_binding resources.
  * set the filter parameter values in filtervalue object.
  */
 public static appfwprofile_trustedlearningclients_binding[] get_filtered(
     nitro_service service, String name, filtervalue[] filter) throws Exception {
   appfwprofile_trustedlearningclients_binding obj =
       new appfwprofile_trustedlearningclients_binding();
   obj.set_name(name);
   options option = new options();
   option.set_filter(filter);
   appfwprofile_trustedlearningclients_binding[] response =
       (appfwprofile_trustedlearningclients_binding[]) obj.getfiltered(service, option);
   return response;
 }
コード例 #3
0
 /**
  * Use this API to count appfwprofile_trustedlearningclients_binding resources configued on
  * NetScaler.
  */
 public static long count(nitro_service service, String name) throws Exception {
   appfwprofile_trustedlearningclients_binding obj =
       new appfwprofile_trustedlearningclients_binding();
   obj.set_name(name);
   options option = new options();
   option.set_count(true);
   appfwprofile_trustedlearningclients_binding response[] =
       (appfwprofile_trustedlearningclients_binding[]) obj.get_resources(service, option);
   if (response != null) {
     return response[0].__count;
   }
   return 0;
 }