Text this: Cosmological scenario based on the first and second laws of thermodynamics: thermodynamic constraints on a generalized cosmological model