Skip to content

Commit cc502cd

Browse files
chore: sdk update
1 parent eee0f78 commit cc502cd

1,166 files changed

Lines changed: 1185 additions & 1200 deletions

File tree

Some content is hidden

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

‎docs/VPSFirewallApi.md‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -621,15 +621,15 @@ Name | Type | Description | Notes
621621
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
622622

623623
# **replace_all_firewall_rules_in_group_v1**
624-
> VPSV1FirewallFirewallResource replace_all_firewall_rules_in_group_v1(firewall_id, vpsv1_firewall_rules_replace_request, sync=sync)
624+
> VPSV1FirewallFirewallResource replace_all_firewall_rules_in_group_v1(firewall_id, vpsv1_firewall_rules_replace_request)
625625
626626
Replace all firewall rules in group
627627

628628
Replaces all firewall rules within a specified firewall group with the provided set of rules
629629
in a single atomic operation, instead of creating or deleting rules one by one.
630630

631631
Any virtual machine using this firewall group will need to be synchronized after replacing rules;
632-
pass the "sync" query parameter to trigger synchronization immediately.
632+
pass the "sync" parameter to trigger synchronization immediately.
633633

634634
### Example
635635

@@ -654,11 +654,10 @@ with hostinger_api.ApiClient(configuration) as api_client:
654654
api_instance = hostinger_api.VPSFirewallApi(api_client)
655655
firewall_id = 9449049 # int | Firewall ID
656656
vpsv1_firewall_rules_replace_request = hostinger_api.VPSV1FirewallRulesReplaceRequest() # VPSV1FirewallRulesReplaceRequest |
657-
sync = True # bool | Synchronize the firewall group to all its virtual machines after replacing the rules (optional)
658657

659658
try:
660659
# Replace all firewall rules in group
661-
api_response = api_instance.replace_all_firewall_rules_in_group_v1(firewall_id, vpsv1_firewall_rules_replace_request, sync=sync)
660+
api_response = api_instance.replace_all_firewall_rules_in_group_v1(firewall_id, vpsv1_firewall_rules_replace_request)
662661
print("The response of VPSFirewallApi->replace_all_firewall_rules_in_group_v1:\n")
663662
pprint(api_response)
664663
except Exception as e:
@@ -674,7 +673,6 @@ Name | Type | Description | Notes
674673
------------- | ------------- | ------------- | -------------
675674
**firewall_id** | **int**| Firewall ID |
676675
**vpsv1_firewall_rules_replace_request** | [**VPSV1FirewallRulesReplaceRequest**](VPSV1FirewallRulesReplaceRequest.md)| |
677-
**sync** | **bool**| Synchronize the firewall group to all its virtual machines after replacing the rules | [optional]
678676

679677
### Return type
680678

‎docs/VPSV1FirewallRulesReplaceRequest.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**rules** | [**List[VPSV1FirewallRulesStoreRequest]**](VPSV1FirewallRulesStoreRequest.md) | The complete set of firewall rules that atomically replaces all existing rules in the group |
9+
**sync** | **bool** | Synchronize the firewall group to all its virtual machines after replacing the rules | [optional]
910

1011
## Example
1112

‎hostinger_api/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"""
66
Hostinger API Python SDK
77
8-
API Version: 1.46.0
8+
API Version: 1.46.1
99
1010
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
1111
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
1212
""" # noqa: E501
1313

1414

15-
__version__ = "3.44.0"
15+
__version__ = "3.44.1"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.agency_hosting_cache_api import AgencyHostingCacheApi

‎hostinger_api/api/agency_hosting_cache_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.46.0
6+
API Version: 1.46.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_cron_jobs_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.46.0
6+
API Version: 1.46.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_databases_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.46.0
6+
API Version: 1.46.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_datacenters_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.46.0
6+
API Version: 1.46.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_domains_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.46.0
6+
API Version: 1.46.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_files_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.46.0
6+
API Version: 1.46.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_metrics_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.46.0
6+
API Version: 1.46.1
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

0 commit comments

Comments
 (0)