public static base_response delete(
     nitro_service client, appfwprofile_trustedlearningclients_binding resource) throws Exception {
   appfwprofile_trustedlearningclients_binding deleteresource =
       new appfwprofile_trustedlearningclients_binding();
   deleteresource.name = resource.name;
   deleteresource.trustedlearningclients = resource.trustedlearningclients;
   return deleteresource.delete_resource(client);
 }
 /** 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 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;
 }
 /**
  * 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;
 }
 public static base_response add(
     nitro_service client, appfwprofile_trustedlearningclients_binding resource) throws Exception {
   appfwprofile_trustedlearningclients_binding updateresource =
       new appfwprofile_trustedlearningclients_binding();
   updateresource.name = resource.name;
   updateresource.trustedlearningclients = resource.trustedlearningclients;
   updateresource.comment = resource.comment;
   updateresource.state = resource.state;
   return updateresource.update_resource(client);
 }