mediaId; } public function requestRules() { return [ ['mediaId', 'media_id', 'bail|nullable|string', Constants::STRING | Constants::OPTIONAL, null], ]; } public function responseRules() { return [ ['result', 'result', 'bail', null, null], ]; } public function setResponse($result) { $this->result = $result; } }