@@ -30,12 +30,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
3030$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
3131
3232
33- $apiInstance = new Hostinger\Api\VPSBackupsApi(
34- // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
35- // This is optional, `GuzzleHttp\Client` will be used as default.
36- new GuzzleHttp\Client(),
37- $config
38- );
33+ $apiInstance = new Hostinger\Api\VPSBackupsApi(config: $config);
3934$virtualMachineId = 1268054; // int | Virtual Machine ID
4035$backupId = 8676502; // int | Backup ID
4136
5853
5954[ ** \Hostinger\Model\CommonSuccessEmptyResource** ] ( ../Model/CommonSuccessEmptyResource.md )
6055
61- ### Authorization
62-
63- [ apiToken] ( ../../README.md#apiToken )
64-
65- ### HTTP request headers
66-
67- - ** Content-Type** : Not defined
68- - ** Accept** : ` application/json `
69-
7056[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#endpoints )
7157[[ Back to Model list]] ( ../../README.md#models )
7258[[ Back to README]] ( ../../README.md )
@@ -92,12 +78,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
9278$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
9379
9480
95- $apiInstance = new Hostinger\Api\VPSBackupsApi(
96- // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
97- // This is optional, `GuzzleHttp\Client` will be used as default.
98- new GuzzleHttp\Client(),
99- $config
100- );
81+ $apiInstance = new Hostinger\Api\VPSBackupsApi(config: $config);
10182$virtualMachineId = 1268054; // int | Virtual Machine ID
10283$page = 1; // int | Page number
10384
@@ -120,15 +101,6 @@ try {
120101
121102[ ** \Hostinger\Model\VPSGetBackupListV1200Response** ] ( ../Model/VPSGetBackupListV1200Response.md )
122103
123- ### Authorization
124-
125- [ apiToken] ( ../../README.md#apiToken )
126-
127- ### HTTP request headers
128-
129- - ** Content-Type** : Not defined
130- - ** Accept** : ` application/json `
131-
132104[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#endpoints )
133105[[ Back to Model list]] ( ../../README.md#models )
134106[[ Back to README]] ( ../../README.md )
@@ -154,12 +126,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
154126$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
155127
156128
157- $apiInstance = new Hostinger\Api\VPSBackupsApi(
158- // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
159- // This is optional, `GuzzleHttp\Client` will be used as default.
160- new GuzzleHttp\Client(),
161- $config
162- );
129+ $apiInstance = new Hostinger\Api\VPSBackupsApi(config: $config);
163130$virtualMachineId = 1268054; // int | Virtual Machine ID
164131$backupId = 8676502; // int | Backup ID
165132
@@ -182,15 +149,6 @@ try {
182149
183150[ ** \Hostinger\Model\VPSV1ActionActionResource** ] ( ../Model/VPSV1ActionActionResource.md )
184151
185- ### Authorization
186-
187- [ apiToken] ( ../../README.md#apiToken )
188-
189- ### HTTP request headers
190-
191- - ** Content-Type** : Not defined
192- - ** Accept** : ` application/json `
193-
194152[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#endpoints )
195153[[ Back to Model list]] ( ../../README.md#models )
196154[[ Back to README]] ( ../../README.md )
0 commit comments