reqUid; } /** * @return string|null */ public function getReqIMAccount() { return $this->reqIMAccount; } public function requestRules() { return [ ['reqUid', 'req_uid', 'bail|nullable|integer', Constants::INTEGER | Constants::OPTIONAL, null], ['reqIMAccount', 'req_i_m_account', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null], ]; } public function responseRules() { return [ ['uid', 'uid', 'bail|nullable|integer', Constants::INTEGER | Constants::OPTIONAL, null], ['imAccount', 'im_account', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null], ]; } public function setResponse($uid, $imAccount) { $this->uid = $uid; $this->imAccount = $imAccount; } }