File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Shellrent \VeeamVspcApiClient \Repositories ;
4
+
5
+ use Shellrent \VeeamVspcApiClient \Support \CreateGetRequest ;
6
+ use Shellrent \VeeamVspcApiClient \Support \RequestBuilder ;
7
+
8
+ class ManagementAgentsRepository implements Repository {
9
+ use CreateGetRequest;
10
+
11
+ public function getBaseRoute (): string {
12
+ return 'infrastructure/managementAgents ' ;
13
+ }
14
+
15
+
16
+ public function downloadManagementAgentSetupFileForWindows (): RequestBuilder {
17
+ return $ this ->createGetRequest ( '/packages/windows ' );
18
+ }
19
+
20
+
21
+ public function downloadManagementAgentSetupFileForLinux (): RequestBuilder {
22
+ return $ this ->createGetRequest ( '/packages/linux ' );
23
+ }
24
+
25
+
26
+ public function downloadManagementAgentSetupFileForMacOS (): RequestBuilder {
27
+ return $ this ->createGetRequest ( '/packages/mac ' );
28
+ }
29
+ }
You can’t perform that action at this time.
0 commit comments