/** 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; }
/** * 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; }