コード例 #1
0
 public static base_response delete(
     nitro_service client, aaauser_vpntrafficpolicy_binding resource) throws Exception {
   aaauser_vpntrafficpolicy_binding deleteresource = new aaauser_vpntrafficpolicy_binding();
   deleteresource.username = resource.username;
   deleteresource.policy = resource.policy;
   deleteresource.intranetapplication = resource.intranetapplication;
   deleteresource.urlname = resource.urlname;
   return deleteresource.delete_resource(client);
 }
コード例 #2
0
 public static base_response add(nitro_service client, aaauser_vpntrafficpolicy_binding resource)
     throws Exception {
   aaauser_vpntrafficpolicy_binding updateresource = new aaauser_vpntrafficpolicy_binding();
   updateresource.username = resource.username;
   updateresource.policy = resource.policy;
   updateresource.priority = resource.priority;
   updateresource.intranetapplication = resource.intranetapplication;
   updateresource.urlname = resource.urlname;
   return updateresource.update_resource(client);
 }