requestParameters['ComponentIds'] = $componentId; foreach ($componentId as $i => $iValue) { $this->queryParameters['ComponentId.' . ($i + 1)] = $iValue; } return $this; } /** * @param string $casterId * * @return $this */ public function setCasterId($casterId) { $this->requestParameters['CasterId'] = $casterId; $this->queryParameters['CasterId'] = $casterId; return $this; } /** * @param string $sceneId * * @return $this */ public function setSceneId($sceneId) { $this->requestParameters['SceneId'] = $sceneId; $this->queryParameters['SceneId'] = $sceneId; return $this; } /** * @param string $ownerId * * @return $this */ public function setOwnerId($ownerId) { $this->requestParameters['OwnerId'] = $ownerId; $this->queryParameters['OwnerId'] = $ownerId; return $this; } /** * @param string $layoutId * * @return $this */ public function setLayoutId($layoutId) { $this->requestParameters['LayoutId'] = $layoutId; $this->queryParameters['LayoutId'] = $layoutId; return $this; } }