예제 #1
0
파일: vpnurl.java 프로젝트: netscaler/nitro
 /** Use this API to update vpnurl. */
 public static base_response update(nitro_service client, vpnurl resource) throws Exception {
   vpnurl updateresource = new vpnurl();
   updateresource.urlname = resource.urlname;
   updateresource.linkname = resource.linkname;
   updateresource.actualurl = resource.actualurl;
   updateresource.clientlessaccess = resource.clientlessaccess;
   updateresource.comment = resource.comment;
   return updateresource.update_resource(client);
 }
예제 #2
0
파일: vpnurl.java 프로젝트: netscaler/nitro
 /** Use this API to add vpnurl. */
 public static base_response add(nitro_service client, vpnurl resource) throws Exception {
   vpnurl addresource = new vpnurl();
   addresource.urlname = resource.urlname;
   addresource.linkname = resource.linkname;
   addresource.actualurl = resource.actualurl;
   addresource.clientlessaccess = resource.clientlessaccess;
   addresource.comment = resource.comment;
   return addresource.add_resource(client);
 }