code: public static base_response update(nitro_service client, server resource) throws Exception {
  		server updateresource = new server();
  		updateresource.name = resource.name;
  		updateresource.ipaddress = resource.ipaddress;
  		updateresource.domainresolveretry = resource.domainresolveretry;
  		updateresource.translationip = resource.translationip;
  		updateresource.translationmask = resource.translationmask;
  		updateresource.domainresolvenow = resource.domainresolvenow;
  		updateresource.comment = resource.comment;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update server.