public static base_response update(nitro_service client, nsratecontrol resource) throws Exception {
		nsratecontrol updateresource = new nsratecontrol();
		updateresource.tcpthreshold = resource.tcpthreshold;
		updateresource.udpthreshold = resource.udpthreshold;
		updateresource.icmpthreshold = resource.icmpthreshold;
		updateresource.tcprstthreshold = resource.tcprstthreshold;
		return updateresource.update_resource(client);
	}
public static base_response update ( nitro_service client , nsratecontrol resource ) throws Exception { nsratecontrol updateresource = new nsratecontrol ( ) ; updateresource . tcpthreshold = resource . tcpthreshold ; updateresource . udpthreshold = resource . udpthreshold ; updateresource . icmpthreshold = resource . icmpthreshold ; updateresource . tcprstthreshold = resource . tcprstthreshold ; return updateresource . update_resource ( client ) ; }
Use this API to update nsratecontrol.