コード例 #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);
 }
コード例 #3
0
ファイル: vpnurl.java プロジェクト: netscaler/nitro
 /**
  * Use this API to unset the properties of vpnurl resource. Properties that need to be unset are
  * specified in args array.
  */
 public static base_response unset(nitro_service client, vpnurl resource, String[] args)
     throws Exception {
   vpnurl unsetresource = new vpnurl();
   unsetresource.urlname = resource.urlname;
   return unsetresource.unset_resource(client, args);
 }
コード例 #4
0
ファイル: vpnurl.java プロジェクト: netscaler/nitro
 /** Use this API to delete vpnurl. */
 public static base_response delete(nitro_service client, vpnurl resource) throws Exception {
   vpnurl deleteresource = new vpnurl();
   deleteresource.urlname = resource.urlname;
   return deleteresource.delete_resource(client);
 }