code: public static snmp_trap update(nitro_service client, snmp_trap resource) throws Exception
  	{
  		resource.validate("modify");
  		return ((snmp_trap[]) resource.update_resource(client))[0];
  	}
docs: <pre>
  Use this operation to modify snmp trap destination.
  </pre>