finished all models and split them into folders to avoid dupes

This commit is contained in:
Tony Roy 2021-03-12 23:37:51 -04:00
commit f80e0692cd
76 changed files with 1886 additions and 92 deletions

View file

@ -1,56 +0,0 @@
<?php
namespace wickedsoft\NetBox\Api;
class ConsoleServerPortTemplates extends AbstractApi
{
/**
* @param $params
* @return mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function add($params=[])
{
return $this->post("/dcim/console-server-port-templates/", $params);
}
/**
* @param $params
* @return mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function delete($id, $params=[])
{
return $this->delete("/dcim/console-server-port-templates/".$id."/", $params);
}
/**
* @param $params
* @return mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function edit($id, $params=[])
{
return $this->put("/dcim/console-server-port-templates/".$id."/", $params);
}
/**
* @param $params
* @return mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function list($params=[])
{
return $this->get("/dcim/console-server-port-templates/", $params);
}
/**
* @param $params
* @return mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function show($id, $params=[])
{
return $this->get("/dcim/console-server-port-templates/".$id."/", $params);
}
}