In any suit or action brought by a homeowners association to foreclose its lien or to collect delinquent assessments or in any suit or action brought by the declarant, the association or any owner or class of owners to enforce compliance with the terms and provisions of ORS 94.550 to 94.783 or the declaration or bylaws, including all amendments and supplements thereto or any rules or regulations adopted by the association, the prevailing party shall be entitled to recover reasonable attorney fees therein and in any appeal therefrom.
ORS 94.719