post("/dcim/power-feeds/", $params); } /** * @param int $id * @param array $params * @return bool * @throws GuzzleException */ public function remove(int $id, array $params = []): bool { return $this->delete("/dcim/power-feeds/" . $id . "/", $params); } /** * @param int $id * @param array $params * @return array * @throws GuzzleException */ public function edit(int $id, array $params = []): array { return $this->put("/dcim/power-feeds/" . $id . "/", $params); } /** * @param array $params * @return mixed * @throws GuzzleException */ public function list(array $params = []) { return $this->get("/dcim/power-feeds/", $params); } /** * @param int $id * @param array $params * @return mixed * @throws GuzzleException */ public function show(int $id, array $params = []) { return $this->get("/dcim/power-feeds/" . $id . "/", $params); } /** * @param int $id * @param array $params * @return mixed * @throws GuzzleException */ public function trace(int $id, array $params = []) { return $this->get("/dcim/power-feeds/" . $id . "/trace/", $params); } }