示例#1
0
 /** Use this API to update dnskey. */
 public static base_response update(nitro_service client, dnskey resource) throws Exception {
   dnskey updateresource = new dnskey();
   updateresource.keyname = resource.keyname;
   updateresource.expires = resource.expires;
   updateresource.units1 = resource.units1;
   updateresource.notificationperiod = resource.notificationperiod;
   updateresource.units2 = resource.units2;
   updateresource.ttl = resource.ttl;
   return updateresource.update_resource(client);
 }