Skip to content

Commit 785769a

Browse files
committed
chore: sdk update
1 parent cce01f6 commit 785769a

File tree

189 files changed

+2330
-255
lines changed

Some content is hidden

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

189 files changed

+2330
-255
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,11 @@ Class | Method | HTTP request | Description
9292
*DNSSnapshotApi* | [**get_snapshot_list_v1**](docs/DNSSnapshotApi.md#get_snapshot_list_v1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list
9393
*DNSSnapshotApi* | [**get_snapshot_v1**](docs/DNSSnapshotApi.md#get_snapshot_v1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot
9494
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId} | Restore snapshot
95+
*DNSZoneApi* | [**delete_zone_records_v1**](docs/DNSZoneApi.md#delete_zone_records_v1) | **DELETE** /api/dns/v1/zones/{domain} | Delete zone records
9596
*DNSZoneApi* | [**get_records_v1**](docs/DNSZoneApi.md#get_records_v1) | **GET** /api/dns/v1/zones/{domain} | Get records
9697
*DNSZoneApi* | [**reset_zone_records_v1**](docs/DNSZoneApi.md#reset_zone_records_v1) | **POST** /api/dns/v1/zones/{domain}/reset | Reset zone records
98+
*DNSZoneApi* | [**update_zone_records_v1**](docs/DNSZoneApi.md#update_zone_records_v1) | **PUT** /api/dns/v1/zones/{domain} | Update zone records
99+
*DNSZoneApi* | [**validate_zone_records_v1**](docs/DNSZoneApi.md#validate_zone_records_v1) | **POST** /api/dns/v1/zones/{domain}/validate | Validate zone records
97100
*DomainsPortfolioApi* | [**get_domain_list_v1**](docs/DomainsPortfolioApi.md#get_domain_list_v1) | **GET** /api/domains/v1/portfolio | Get domain list
98101
*VPSActionsApi* | [**get_action_list_v1**](docs/VPSActionsApi.md#get_action_list_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/actions | Get action list
99102
*VPSActionsApi* | [**get_action_v1**](docs/VPSActionsApi.md#get_action_v1) | **GET** /api/vps/v1/virtual-machines/{virtualMachineId}/actions/{actionId} | Get action
@@ -168,9 +171,14 @@ Class | Method | HTTP request | Description
168171
- [CommonSuccessEmptyResource](docs/CommonSuccessEmptyResource.md)
169172
- [DNSV1SnapshotSnapshotResource](docs/DNSV1SnapshotSnapshotResource.md)
170173
- [DNSV1SnapshotSnapshotWithContentResource](docs/DNSV1SnapshotSnapshotWithContentResource.md)
174+
- [DNSV1ZoneDestroyRequest](docs/DNSV1ZoneDestroyRequest.md)
175+
- [DNSV1ZoneDestroyRequestFiltersInner](docs/DNSV1ZoneDestroyRequestFiltersInner.md)
171176
- [DNSV1ZoneNameRecordResource](docs/DNSV1ZoneNameRecordResource.md)
172-
- [DNSV1ZoneNameResource](docs/DNSV1ZoneNameResource.md)
177+
- [DNSV1ZoneRecordResource](docs/DNSV1ZoneRecordResource.md)
173178
- [DNSV1ZoneResetRequest](docs/DNSV1ZoneResetRequest.md)
179+
- [DNSV1ZoneUpdateRequest](docs/DNSV1ZoneUpdateRequest.md)
180+
- [DNSV1ZoneUpdateRequestZoneInner](docs/DNSV1ZoneUpdateRequestZoneInner.md)
181+
- [DNSV1ZoneUpdateRequestZoneInnerRecordsInner](docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md)
174182
- [DomainsV1DomainDomainResource](docs/DomainsV1DomainDomainResource.md)
175183
- [VPSGetActionListV1200Response](docs/VPSGetActionListV1200Response.md)
176184
- [VPSGetBackupListV1200Response](docs/VPSGetBackupListV1200Response.md)

docs/DNSV1ZoneDestroyRequest.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# DNSV1ZoneDestroyRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**filters** | [**List[DNSV1ZoneDestroyRequestFiltersInner]**](DNSV1ZoneDestroyRequestFiltersInner.md) | Filter records for deletion |
9+
10+
## Example
11+
12+
```python
13+
from hostinger_api.models.dnsv1_zone_destroy_request import DNSV1ZoneDestroyRequest
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of DNSV1ZoneDestroyRequest from a JSON string
18+
dnsv1_zone_destroy_request_instance = DNSV1ZoneDestroyRequest.from_json(json)
19+
# print the JSON string representation of the object
20+
print(DNSV1ZoneDestroyRequest.to_json())
21+
22+
# convert the object into a dict
23+
dnsv1_zone_destroy_request_dict = dnsv1_zone_destroy_request_instance.to_dict()
24+
# create an instance of DNSV1ZoneDestroyRequest from a dict
25+
dnsv1_zone_destroy_request_from_dict = DNSV1ZoneDestroyRequest.from_dict(dnsv1_zone_destroy_request_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# DNSV1ZoneDestroyRequestFiltersInner
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | Name of the record | [optional]
9+
**type** | **str** | Type of the record | [optional]
10+
11+
## Example
12+
13+
```python
14+
from hostinger_api.models.dnsv1_zone_destroy_request_filters_inner import DNSV1ZoneDestroyRequestFiltersInner
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of DNSV1ZoneDestroyRequestFiltersInner from a JSON string
19+
dnsv1_zone_destroy_request_filters_inner_instance = DNSV1ZoneDestroyRequestFiltersInner.from_json(json)
20+
# print the JSON string representation of the object
21+
print(DNSV1ZoneDestroyRequestFiltersInner.to_json())
22+
23+
# convert the object into a dict
24+
dnsv1_zone_destroy_request_filters_inner_dict = dnsv1_zone_destroy_request_filters_inner_instance.to_dict()
25+
# create an instance of DNSV1ZoneDestroyRequestFiltersInner from a dict
26+
dnsv1_zone_destroy_request_filters_inner_from_dict = DNSV1ZoneDestroyRequestFiltersInner.from_dict(dnsv1_zone_destroy_request_filters_inner_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/DNSV1ZoneNameRecordResource.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
**content** | **str** | Content of the name record | [optional]
9-
**disabled** | **bool** | Flag to mark name record as disabled | [optional] [default to False]
9+
**disabled** | **bool** | Flag to mark name record as disabled | [optional]
1010

1111
## Example
1212

docs/DNSV1ZoneNameResource.md renamed to docs/DNSV1ZoneRecordResource.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DNSV1ZoneNameResource
1+
# DNSV1ZoneRecordResource
22

33

44
## Properties
@@ -13,19 +13,19 @@ Name | Type | Description | Notes
1313
## Example
1414

1515
```python
16-
from hostinger_api.models.dnsv1_zone_name_resource import DNSV1ZoneNameResource
16+
from hostinger_api.models.dnsv1_zone_record_resource import DNSV1ZoneRecordResource
1717

1818
# TODO update the JSON string below
1919
json = "{}"
20-
# create an instance of DNSV1ZoneNameResource from a JSON string
21-
dnsv1_zone_name_resource_instance = DNSV1ZoneNameResource.from_json(json)
20+
# create an instance of DNSV1ZoneRecordResource from a JSON string
21+
dnsv1_zone_record_resource_instance = DNSV1ZoneRecordResource.from_json(json)
2222
# print the JSON string representation of the object
23-
print(DNSV1ZoneNameResource.to_json())
23+
print(DNSV1ZoneRecordResource.to_json())
2424

2525
# convert the object into a dict
26-
dnsv1_zone_name_resource_dict = dnsv1_zone_name_resource_instance.to_dict()
27-
# create an instance of DNSV1ZoneNameResource from a dict
28-
dnsv1_zone_name_resource_from_dict = DNSV1ZoneNameResource.from_dict(dnsv1_zone_name_resource_dict)
26+
dnsv1_zone_record_resource_dict = dnsv1_zone_record_resource_instance.to_dict()
27+
# create an instance of DNSV1ZoneRecordResource from a dict
28+
dnsv1_zone_record_resource_from_dict = DNSV1ZoneRecordResource.from_dict(dnsv1_zone_record_resource_dict)
2929
```
3030
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3131

docs/DNSV1ZoneUpdateRequest.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# DNSV1ZoneUpdateRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**overwrite** | **bool** | If `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created. | [optional] [default to True]
9+
**zone** | [**List[DNSV1ZoneUpdateRequestZoneInner]**](DNSV1ZoneUpdateRequestZoneInner.md) | |
10+
11+
## Example
12+
13+
```python
14+
from hostinger_api.models.dnsv1_zone_update_request import DNSV1ZoneUpdateRequest
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of DNSV1ZoneUpdateRequest from a JSON string
19+
dnsv1_zone_update_request_instance = DNSV1ZoneUpdateRequest.from_json(json)
20+
# print the JSON string representation of the object
21+
print(DNSV1ZoneUpdateRequest.to_json())
22+
23+
# convert the object into a dict
24+
dnsv1_zone_update_request_dict = dnsv1_zone_update_request_instance.to_dict()
25+
# create an instance of DNSV1ZoneUpdateRequest from a dict
26+
dnsv1_zone_update_request_from_dict = DNSV1ZoneUpdateRequest.from_dict(dnsv1_zone_update_request_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# DNSV1ZoneUpdateRequestZoneInner
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | Name of the record (use `@` for wildcard name) |
9+
**records** | [**List[DNSV1ZoneUpdateRequestZoneInnerRecordsInner]**](DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md) | Records assigned to the name | [optional]
10+
**ttl** | **int** | TTL (Time-To-Live) of the record | [optional]
11+
**type** | **str** | Type of the record |
12+
13+
## Example
14+
15+
```python
16+
from hostinger_api.models.dnsv1_zone_update_request_zone_inner import DNSV1ZoneUpdateRequestZoneInner
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of DNSV1ZoneUpdateRequestZoneInner from a JSON string
21+
dnsv1_zone_update_request_zone_inner_instance = DNSV1ZoneUpdateRequestZoneInner.from_json(json)
22+
# print the JSON string representation of the object
23+
print(DNSV1ZoneUpdateRequestZoneInner.to_json())
24+
25+
# convert the object into a dict
26+
dnsv1_zone_update_request_zone_inner_dict = dnsv1_zone_update_request_zone_inner_instance.to_dict()
27+
# create an instance of DNSV1ZoneUpdateRequestZoneInner from a dict
28+
dnsv1_zone_update_request_zone_inner_from_dict = DNSV1ZoneUpdateRequestZoneInner.from_dict(dnsv1_zone_update_request_zone_inner_dict)
29+
```
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31+
32+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# DNSV1ZoneUpdateRequestZoneInnerRecordsInner
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**content** | **str** | Content of the name record |
9+
10+
## Example
11+
12+
```python
13+
from hostinger_api.models.dnsv1_zone_update_request_zone_inner_records_inner import DNSV1ZoneUpdateRequestZoneInnerRecordsInner
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of DNSV1ZoneUpdateRequestZoneInnerRecordsInner from a JSON string
18+
dnsv1_zone_update_request_zone_inner_records_inner_instance = DNSV1ZoneUpdateRequestZoneInnerRecordsInner.from_json(json)
19+
# print the JSON string representation of the object
20+
print(DNSV1ZoneUpdateRequestZoneInnerRecordsInner.to_json())
21+
22+
# convert the object into a dict
23+
dnsv1_zone_update_request_zone_inner_records_inner_dict = dnsv1_zone_update_request_zone_inner_records_inner_instance.to_dict()
24+
# create an instance of DNSV1ZoneUpdateRequestZoneInnerRecordsInner from a dict
25+
dnsv1_zone_update_request_zone_inner_records_inner_from_dict = DNSV1ZoneUpdateRequestZoneInnerRecordsInner.from_dict(dnsv1_zone_update_request_zone_inner_records_inner_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

0 commit comments

Comments
 (0)