コード例 #1
0
 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);
 }
コード例 #2
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);
 }