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);
	}
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 ) ; }
Use this API to update server.