post("/dcim/cables/", $params); } /** * @param $params * @return mixed * @throws \GuzzleHttp\Exception\GuzzleException */ public function delete($id, $params=[]) { return $this->delete("/dcim/cables/".$id."/", $params); } /** * @param $params * @return mixed * @throws \GuzzleHttp\Exception\GuzzleException */ public function edit($id, $params=[]) { return $this->put("/dcim/cables/".$id."/", $params); } /** * @param $params * @return mixed * @throws \GuzzleHttp\Exception\GuzzleException */ public function list($params=[]) { return $this->get("/dcim/cables/", $params); } /** * @param $params * @return mixed * @throws \GuzzleHttp\Exception\GuzzleException */ public function show($id, $params=[]) { return $this->get("/dcim/cables/".$id."/", $params); } }