Skip to content

Commit c5b4d65

Browse files
committed
readme updates
1 parent bcccf5c commit c5b4d65

File tree

63 files changed

+250
-1090
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+250
-1090
lines changed

docs/Api/BillingCatalogApi.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
2828
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
2929

3030

31-
$apiInstance = new Hostinger\Api\BillingCatalogApi(
32-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
33-
// This is optional, `GuzzleHttp\Client` will be used as default.
34-
new GuzzleHttp\Client(),
35-
$config
36-
);
31+
$apiInstance = new Hostinger\Api\BillingCatalogApi(config: $config);
3732

3833
try {
3934
$result = $apiInstance->getCatalogItemListV1();
@@ -51,15 +46,6 @@ This endpoint does not need any parameter.
5146

5247
[**\Hostinger\Model\BillingV1CatalogCatalogItemCollection**](../Model/BillingV1CatalogCatalogItemCollection.md)
5348

54-
### Authorization
55-
56-
[apiToken](../../README.md#apiToken)
57-
58-
### HTTP request headers
59-
60-
- **Content-Type**: Not defined
61-
- **Accept**: `application/json`
62-
6349
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
6450
[[Back to Model list]](../../README.md#models)
6551
[[Back to README]](../../README.md)

docs/Api/BillingOrdersApi.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
2828
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
2929

3030

31-
$apiInstance = new Hostinger\Api\BillingOrdersApi(
32-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
33-
// This is optional, `GuzzleHttp\Client` will be used as default.
34-
new GuzzleHttp\Client(),
35-
$config
36-
);
31+
$apiInstance = new Hostinger\Api\BillingOrdersApi(config: $config);
3732
$billingV1OrderStoreRequest = new \Hostinger\Model\BillingV1OrderStoreRequest(); // \Hostinger\Model\BillingV1OrderStoreRequest
3833

3934
try {
@@ -54,15 +49,6 @@ try {
5449

5550
[**\Hostinger\Model\BillingV1OrderOrderResource**](../Model/BillingV1OrderOrderResource.md)
5651

57-
### Authorization
58-
59-
[apiToken](../../README.md#apiToken)
60-
61-
### HTTP request headers
62-
63-
- **Content-Type**: `application/json`
64-
- **Accept**: `application/json`
65-
6652
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
6753
[[Back to Model list]](../../README.md#models)
6854
[[Back to README]](../../README.md)

docs/Api/BillingPaymentMethodsApi.md

Lines changed: 3 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -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\BillingPaymentMethodsApi(
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\BillingPaymentMethodsApi(config: $config);
3934
$paymentMethodId = 9693613; // int | Payment method ID
4035

4136
try {
@@ -56,15 +51,6 @@ try {
5651

5752
[**\Hostinger\Model\CommonSuccessEmptyResource**](../Model/CommonSuccessEmptyResource.md)
5853

59-
### Authorization
60-
61-
[apiToken](../../README.md#apiToken)
62-
63-
### HTTP request headers
64-
65-
- **Content-Type**: Not defined
66-
- **Accept**: `application/json`
67-
6854
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
6955
[[Back to Model list]](../../README.md#models)
7056
[[Back to README]](../../README.md)
@@ -90,12 +76,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
9076
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
9177

9278

93-
$apiInstance = new Hostinger\Api\BillingPaymentMethodsApi(
94-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
95-
// This is optional, `GuzzleHttp\Client` will be used as default.
96-
new GuzzleHttp\Client(),
97-
$config
98-
);
79+
$apiInstance = new Hostinger\Api\BillingPaymentMethodsApi(config: $config);
9980

10081
try {
10182
$result = $apiInstance->getPaymentMethodListV1();
@@ -113,15 +94,6 @@ This endpoint does not need any parameter.
11394

11495
[**\Hostinger\Model\BillingV1PaymentMethodPaymentMethodCollection**](../Model/BillingV1PaymentMethodPaymentMethodCollection.md)
11596

116-
### Authorization
117-
118-
[apiToken](../../README.md#apiToken)
119-
120-
### HTTP request headers
121-
122-
- **Content-Type**: Not defined
123-
- **Accept**: `application/json`
124-
12597
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
12698
[[Back to Model list]](../../README.md#models)
12799
[[Back to README]](../../README.md)
@@ -147,12 +119,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
147119
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
148120

149121

150-
$apiInstance = new Hostinger\Api\BillingPaymentMethodsApi(
151-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
152-
// This is optional, `GuzzleHttp\Client` will be used as default.
153-
new GuzzleHttp\Client(),
154-
$config
155-
);
122+
$apiInstance = new Hostinger\Api\BillingPaymentMethodsApi(config: $config);
156123
$paymentMethodId = 9693613; // int | Payment method ID
157124

158125
try {
@@ -173,15 +140,6 @@ try {
173140

174141
[**\Hostinger\Model\CommonSuccessEmptyResource**](../Model/CommonSuccessEmptyResource.md)
175142

176-
### Authorization
177-
178-
[apiToken](../../README.md#apiToken)
179-
180-
### HTTP request headers
181-
182-
- **Content-Type**: Not defined
183-
- **Accept**: `application/json`
184-
185143
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
186144
[[Back to Model list]](../../README.md#models)
187145
[[Back to README]](../../README.md)

docs/Api/BillingSubscriptionsApi.md

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
2929
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
3030

3131

32-
$apiInstance = new Hostinger\Api\BillingSubscriptionsApi(
33-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
34-
// This is optional, `GuzzleHttp\Client` will be used as default.
35-
new GuzzleHttp\Client(),
36-
$config
37-
);
32+
$apiInstance = new Hostinger\Api\BillingSubscriptionsApi(config: $config);
3833
$subscriptionId = Cxy353Uhl1xC54pG6; // string | Subscription ID
3934
$billingV1SubscriptionCancelRequest = new \Hostinger\Model\BillingV1SubscriptionCancelRequest(); // \Hostinger\Model\BillingV1SubscriptionCancelRequest
4035

@@ -57,15 +52,6 @@ try {
5752

5853
[**\Hostinger\Model\CommonSuccessEmptyResource**](../Model/CommonSuccessEmptyResource.md)
5954

60-
### Authorization
61-
62-
[apiToken](../../README.md#apiToken)
63-
64-
### HTTP request headers
65-
66-
- **Content-Type**: `application/json`
67-
- **Accept**: `application/json`
68-
6955
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
7056
[[Back to Model list]](../../README.md#models)
7157
[[Back to README]](../../README.md)
@@ -91,12 +77,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
9177
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
9278

9379

94-
$apiInstance = new Hostinger\Api\BillingSubscriptionsApi(
95-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
96-
// This is optional, `GuzzleHttp\Client` will be used as default.
97-
new GuzzleHttp\Client(),
98-
$config
99-
);
80+
$apiInstance = new Hostinger\Api\BillingSubscriptionsApi(config: $config);
10081

10182
try {
10283
$result = $apiInstance->getSubscriptionListV1();
@@ -114,15 +95,6 @@ This endpoint does not need any parameter.
11495

11596
[**\Hostinger\Model\BillingV1SubscriptionSubscriptionCollection**](../Model/BillingV1SubscriptionSubscriptionCollection.md)
11697

117-
### Authorization
118-
119-
[apiToken](../../README.md#apiToken)
120-
121-
### HTTP request headers
122-
123-
- **Content-Type**: Not defined
124-
- **Accept**: `application/json`
125-
12698
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
12799
[[Back to Model list]](../../README.md#models)
128100
[[Back to README]](../../README.md)

docs/Api/DomainsPortfolioApi.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
2828
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
2929

3030

31-
$apiInstance = new Hostinger\Api\DomainsPortfolioApi(
32-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
33-
// This is optional, `GuzzleHttp\Client` will be used as default.
34-
new GuzzleHttp\Client(),
35-
$config
36-
);
31+
$apiInstance = new Hostinger\Api\DomainsPortfolioApi(config: $config);
3732

3833
try {
3934
$result = $apiInstance->getDomainListV1();
@@ -51,15 +46,6 @@ This endpoint does not need any parameter.
5146

5247
[**\Hostinger\Model\DomainsV1DomainDomainCollection**](../Model/DomainsV1DomainDomainCollection.md)
5348

54-
### Authorization
55-
56-
[apiToken](../../README.md#apiToken)
57-
58-
### HTTP request headers
59-
60-
- **Content-Type**: Not defined
61-
- **Accept**: `application/json`
62-
6349
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
6450
[[Back to Model list]](../../README.md#models)
6551
[[Back to README]](../../README.md)

docs/Api/VPSActionsApi.md

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
2929
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
3030

3131

32-
$apiInstance = new Hostinger\Api\VPSActionsApi(
33-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
34-
// This is optional, `GuzzleHttp\Client` will be used as default.
35-
new GuzzleHttp\Client(),
36-
$config
37-
);
32+
$apiInstance = new Hostinger\Api\VPSActionsApi(config: $config);
3833
$virtualMachineId = 1268054; // int | Virtual Machine ID
3934
$page = 1; // int | Page number
4035

@@ -57,15 +52,6 @@ try {
5752

5853
[**\Hostinger\Model\VPSGetActionListV1200Response**](../Model/VPSGetActionListV1200Response.md)
5954

60-
### Authorization
61-
62-
[apiToken](../../README.md#apiToken)
63-
64-
### HTTP request headers
65-
66-
- **Content-Type**: Not defined
67-
- **Accept**: `application/json`
68-
6955
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
7056
[[Back to Model list]](../../README.md#models)
7157
[[Back to README]](../../README.md)
@@ -91,12 +77,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
9177
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
9278

9379

94-
$apiInstance = new Hostinger\Api\VPSActionsApi(
95-
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
96-
// This is optional, `GuzzleHttp\Client` will be used as default.
97-
new GuzzleHttp\Client(),
98-
$config
99-
);
80+
$apiInstance = new Hostinger\Api\VPSActionsApi(config: $config);
10081
$virtualMachineId = 1268054; // int | Virtual Machine ID
10182
$actionId = 8123712; // int | Action ID
10283

@@ -119,15 +100,6 @@ try {
119100

120101
[**\Hostinger\Model\VPSV1ActionActionResource**](../Model/VPSV1ActionActionResource.md)
121102

122-
### Authorization
123-
124-
[apiToken](../../README.md#apiToken)
125-
126-
### HTTP request headers
127-
128-
- **Content-Type**: Not defined
129-
- **Accept**: `application/json`
130-
131103
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
132104
[[Back to Model list]](../../README.md#models)
133105
[[Back to README]](../../README.md)

docs/Api/VPSBackupsApi.md

Lines changed: 3 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -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

@@ -58,15 +53,6 @@ try {
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

Comments
 (0)