Skip to content

Commit 0ea797c

Browse files
committed
chore: python sdk cleanup and update
1 parent 7e84ace commit 0ea797c

File tree

37 files changed

+115
-96
lines changed

37 files changed

+115
-96
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ Class | Method | HTTP request | Description
195195
- [BillingV1SubscriptionCancelRequest](docs/BillingV1SubscriptionCancelRequest.md)
196196
- [BillingV1SubscriptionSubscriptionResource](docs/BillingV1SubscriptionSubscriptionResource.md)
197197
- [CommonSchemaErrorResponseSchema](docs/CommonSchemaErrorResponseSchema.md)
198+
- [CommonSchemaPaginationMetaSchema](docs/CommonSchemaPaginationMetaSchema.md)
198199
- [CommonSchemaUnauthorizedResponseSchema](docs/CommonSchemaUnauthorizedResponseSchema.md)
199200
- [CommonSchemaUnprocessableContentResponseSchema](docs/CommonSchemaUnprocessableContentResponseSchema.md)
200201
- [CommonSchemaUnprocessableContentResponseSchemaErrors](docs/CommonSchemaUnprocessableContentResponseSchemaErrors.md)
@@ -203,7 +204,6 @@ Class | Method | HTTP request | Description
203204
- [VPSGetActionListV1200Response](docs/VPSGetActionListV1200Response.md)
204205
- [VPSGetBackupListV1200Response](docs/VPSGetBackupListV1200Response.md)
205206
- [VPSGetFirewallListV1200Response](docs/VPSGetFirewallListV1200Response.md)
206-
- [VPSGetFirewallListV1200ResponseMeta](docs/VPSGetFirewallListV1200ResponseMeta.md)
207207
- [VPSGetPostInstallScriptListV1200Response](docs/VPSGetPostInstallScriptListV1200Response.md)
208208
- [VPSGetPublicKeyListV1200Response](docs/VPSGetPublicKeyListV1200Response.md)
209209
- [VPSV1ActionActionResource](docs/VPSV1ActionActionResource.md)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# CommonSchemaPaginationMetaSchema
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**current_page** | **int** | | [optional]
9+
**per_page** | **int** | | [optional]
10+
**total** | **int** | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from hostinger_api.models.common_schema_pagination_meta_schema import CommonSchemaPaginationMetaSchema
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of CommonSchemaPaginationMetaSchema from a JSON string
20+
common_schema_pagination_meta_schema_instance = CommonSchemaPaginationMetaSchema.from_json(json)
21+
# print the JSON string representation of the object
22+
print(CommonSchemaPaginationMetaSchema.to_json())
23+
24+
# convert the object into a dict
25+
common_schema_pagination_meta_schema_dict = common_schema_pagination_meta_schema_instance.to_dict()
26+
# create an instance of CommonSchemaPaginationMetaSchema from a dict
27+
common_schema_pagination_meta_schema_from_dict = CommonSchemaPaginationMetaSchema.from_dict(common_schema_pagination_meta_schema_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+

docs/VPSGetActionListV1200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**data** | [**List[VPSV1ActionActionResource]**](VPSV1ActionActionResource.md) | Array of [`VPS.V1.Action.ActionResource`](#model/vpsv1actionactionresource) | [optional]
9-
**meta** | [**VPSGetFirewallListV1200ResponseMeta**](VPSGetFirewallListV1200ResponseMeta.md) | | [optional]
9+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional]
1010

1111
## Example
1212

docs/VPSGetBackupListV1200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**data** | [**List[VPSV1BackupBackupResource]**](VPSV1BackupBackupResource.md) | Array of [`VPS.V1.Backup.BackupResource`](#model/vpsv1backupbackupresource) | [optional]
9-
**meta** | [**VPSGetFirewallListV1200ResponseMeta**](VPSGetFirewallListV1200ResponseMeta.md) | | [optional]
9+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional]
1010

1111
## Example
1212

docs/VPSGetFirewallListV1200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**data** | [**List[VPSV1FirewallFirewallResource]**](VPSV1FirewallFirewallResource.md) | Array of [`VPS.V1.Firewall.FirewallResource`](#model/vpsv1firewallfirewallresource) | [optional]
9-
**meta** | [**VPSGetFirewallListV1200ResponseMeta**](VPSGetFirewallListV1200ResponseMeta.md) | | [optional]
9+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional]
1010

1111
## Example
1212

docs/VPSGetFirewallListV1200ResponseMeta.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/VPSGetPostInstallScriptListV1200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**data** | [**List[VPSV1PostInstallScriptPostInstallScriptResource]**](VPSV1PostInstallScriptPostInstallScriptResource.md) | Array of [`VPS.V1.PostInstallScript.PostInstallScriptResource`](#model/vpsv1postinstallscriptpostinstallscriptresource) | [optional]
9-
**meta** | [**VPSGetFirewallListV1200ResponseMeta**](VPSGetFirewallListV1200ResponseMeta.md) | | [optional]
9+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional]
1010

1111
## Example
1212

docs/VPSGetPublicKeyListV1200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**data** | [**List[VPSV1PublicKeyPublicKeyResource]**](VPSV1PublicKeyPublicKeyResource.md) | Array of [`VPS.V1.PublicKey.PublicKeyResource`](#model/vpsv1publickeypublickeyresource) | [optional]
9-
**meta** | [**VPSGetFirewallListV1200ResponseMeta**](VPSGetFirewallListV1200ResponseMeta.md) | | [optional]
9+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional]
1010

1111
## Example
1212

docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**password** | **str** | Panel password |
8+
**password** | **str** | Panel password for the virtual machine |
99

1010
## Example
1111

docs/VPSV1VirtualMachineRecreateRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**password** | **str** | |
9-
**post_install_script_id** | **int** | Post-install script ID | [optional]
108
**template_id** | **int** | Template ID |
9+
**password** | **str** | Password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. | [optional]
10+
**post_install_script_id** | **int** | Post-install script ID | [optional]
1111

1212
## Example
1313

0 commit comments

Comments
 (0)