1 | <?php |
||
13 | class APIEndpoint |
||
14 | { |
||
15 | /** |
||
16 | * @var int |
||
17 | * |
||
18 | * @ORM\Column(name="id", type="integer") |
||
19 | * @ORM\Id |
||
20 | * @ORM\GeneratedValue(strategy="AUTO") |
||
21 | */ |
||
22 | protected $id; |
||
23 | /** |
||
24 | * @var string |
||
25 | * |
||
26 | * @ORM\Column(name="name", type="string", length=255) |
||
27 | */ |
||
28 | protected $name; |
||
29 | /** |
||
30 | * @var string |
||
31 | * |
||
32 | * @ORM\Column(name="host", type="text") |
||
33 | */ |
||
34 | protected $host; |
||
35 | /** |
||
36 | * @var string |
||
37 | * |
||
38 | * @ORM\Column(name="token", type="text", nullable=true) |
||
39 | */ |
||
40 | protected $token; |
||
41 | /** |
||
42 | * @var string |
||
43 | * |
||
44 | * @ORM\Column(name="tokenType", type="string", nullable=true) |
||
45 | */ |
||
46 | protected $tokenType; |
||
47 | |||
48 | /** |
||
49 | * Get the id. |
||
50 | * |
||
51 | * @return string The id |
||
52 | */ |
||
53 | public function getId() |
||
57 | |||
58 | /** |
||
59 | * @return string |
||
60 | */ |
||
61 | public function getName() |
||
65 | |||
66 | /** |
||
67 | * @param string $name |
||
68 | */ |
||
69 | public function setName($name) |
||
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getHost() |
||
81 | |||
82 | /** |
||
83 | * @param string $host |
||
84 | */ |
||
85 | public function setHost($host) |
||
89 | |||
90 | /** |
||
91 | * @return string |
||
92 | */ |
||
93 | public function getToken() |
||
97 | |||
98 | /** |
||
99 | * @param string $token |
||
100 | */ |
||
101 | public function setToken($token) |
||
105 | |||
106 | /** |
||
107 | * @return string |
||
108 | */ |
||
109 | public function getTokenType() |
||
113 | |||
114 | /** |
||
115 | * @param string $tokenType |
||
116 | */ |
||
117 | public function setTokenType($tokenType) |
||
121 | } |
||
122 |