ttl; } public function setTtl($ttl) { $this->ttl = $ttl; $this->apiParam["ttl"] = $ttl; } public function getStrategy() { return $this->strategy; } public function setStrategy($strategy) { $this->strategy = $strategy; } public function getSpeed() { return $this->speed; } public function setSpeed($speed) { $this->speed = $speed; $this->apiParam["speed"] = $speed; } public function getScheduleTime() { return $this->scheduleTime; } public function setScheduleTime($scheduleTime) { $this->scheduleTime = $scheduleTime; $this->apiParam["schedule_time"] = $scheduleTime; } public function getApiParam() { if ($this->strategy != null){ $this->apiParam["strategy"] = $this->strategy->getApiParam(); } return $this->apiParam; } }