Estimation for a class of generalized state-space time series models