-
Notifications
You must be signed in to change notification settings - Fork 0
/
VlansController.php
48 lines (41 loc) · 1.06 KB
/
VlansController.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php namespace MyENA\PHPIPAMAPI\Chain;
use MyENA\PHPIPAMAPI\AbstractPart;
use MyENA\PHPIPAMAPI\Chain\Vlans;
use MyENA\PHPIPAMAPI\Part\UriPart;
/**
* Class VlansController
* @package MyENA\PHPIPAMAPI\Chain
*/
class VlansController extends AbstractPart implements UriPart {
const PATH = 'vlans/';
/**
* @return \MyENA\PHPIPAMAPI\Chain\Vlans\GET
*/
public function GET(): Vlans\GET {
return $this->newPart(Vlans\GET::class);
}
/**
* @return \MyENA\PHPIPAMAPI\Chain\Vlans\POST
*/
public function POST(): Vlans\POST {
return $this->newPart(Vlans\POST::class);
}
/**
* @return \MyENA\PHPIPAMAPI\Chain\Vlans\PATCH
*/
public function PATCH(): Vlans\PATCH {
return $this->newPart(Vlans\PATCH::class);
}
/**
* @return \MyENA\PHPIPAMAPI\Chain\Vlans\DELETE
*/
public function DELETE(): Vlans\DELETE {
return $this->newPart(Vlans\DELETE::class);
}
/**
* @return string
*/
public function getUriPart(): string {
return self::PATH;
}
}