setUserParam($params, "custom_parameters", $this->customParameters); $this->setUserParam($params, "generate_mobile", $this->generateMobile); $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); $this->setUserParam($params, "generate_we_app", $this->generateWeApp); $this->setUserParam($params, "live_type", $this->liveType); $this->setUserParam($params, "p_id", $this->pId); $this->setUserParam($params, "room_id", $this->roomId); } public function getVersion() { return "V1"; } public function getDataType() { return "JSON"; } public function getType() { return "pdd.ddk.live.url.gen"; } public function setCustomParameters($customParameters) { $this->customParameters = $customParameters; } public function setGenerateMobile($generateMobile) { $this->generateMobile = $generateMobile; } public function setGenerateSchemaUrl($generateSchemaUrl) { $this->generateSchemaUrl = $generateSchemaUrl; } public function setGenerateShortUrl($generateShortUrl) { $this->generateShortUrl = $generateShortUrl; } public function setGenerateWeApp($generateWeApp) { $this->generateWeApp = $generateWeApp; } public function setLiveType($liveType) { $this->liveType = $liveType; } public function setPId($pId) { $this->pId = $pId; } public function setRoomId($roomId) { $this->roomId = $roomId; } }