hostinger-api 0.0.7__tar.gz → 0.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/PKG-INFO +2 -2
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/README.md +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/__init__.py +2 -2
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/billing_catalog_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/billing_orders_api.py +4 -4
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/billing_payment_methods_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/billing_subscriptions_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/dns_snapshot_api.py +2 -2
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/dns_zone_api.py +7 -7
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/domains_portfolio_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_actions_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_backups_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_data_centers_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_firewall_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_malware_scanner_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_post_install_scripts_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_public_keys_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_recovery_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_snapshots_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_virtual_machine_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vpsos_templates_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vpsptr_records_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api_client.py +2 -2
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/configuration.py +3 -3
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/exceptions.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/__init__.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_catalog_catalog_item_price_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_catalog_catalog_item_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_order_billing_address_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_order_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_store_request_items_inner.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_payment_method_payment_method_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_subscription_cancel_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_subscription_subscription_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_error_response_schema.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_pagination_meta_schema.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_unauthorized_response_schema.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_unprocessable_content_response_schema.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_unprocessable_content_response_schema_errors.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/common_success_empty_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_snapshot_snapshot_with_content_resource.py +11 -3
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_destroy_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_destroy_request_filters_inner.py +4 -7
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_name_record_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_record_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_reset_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_update_request_zone_inner.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_update_request_zone_inner_records_inner.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/domains_v1_domain_domain_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_action_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_backup_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_firewall_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_post_install_script_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_public_key_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_action_action_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_backup_backup_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_data_center_data_center_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_firewall_firewall_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_firewall_firewall_rule_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_firewall_rules_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_firewall_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_ip_address_ip_address_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_malware_metrics_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_cpu_usage.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_disk_space.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_incoming_traffic.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_outgoing_traffic.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_ram_usage.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_uptime.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_post_install_script_post_install_script_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_post_install_script_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_public_key_attach_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_public_key_public_key_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_public_key_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_template_template_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_hostname_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_nameservers_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_panel_password_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_recovery_start_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_recreate_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_root_password_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_setup_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_setup_request_public_key.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource.py +3 -3
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv4.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv6.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_template.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/rest.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api.egg-info/PKG-INFO +2 -2
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/pyproject.toml +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/setup.py +2 -2
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_catalog_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_orders_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_payment_methods_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_subscriptions_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_v1_catalog_catalog_item_price_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_v1_catalog_catalog_item_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_v1_order_order_billing_address_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_v1_order_order_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_v1_order_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_v1_order_store_request_items_inner.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_v1_payment_method_payment_method_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_v1_subscription_cancel_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_billing_v1_subscription_subscription_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_common_schema_error_response_schema.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_common_schema_pagination_meta_schema.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_common_schema_unauthorized_response_schema.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_common_schema_unprocessable_content_response_schema.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_common_schema_unprocessable_content_response_schema_errors.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_common_success_empty_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dns_snapshot_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dns_zone_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_snapshot_snapshot_with_content_resource.py +12 -2
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_zone_destroy_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_zone_destroy_request_filters_inner.py +3 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_zone_name_record_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_zone_record_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_zone_reset_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_zone_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_zone_update_request_zone_inner.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_dnsv1_zone_update_request_zone_inner_records_inner.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_domains_portfolio_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_domains_v1_domain_domain_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_actions_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_backups_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_data_centers_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_firewall_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_get_action_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_get_backup_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_get_firewall_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_get_post_install_script_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_get_public_key_list_v1200_response.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_malware_scanner_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_post_install_scripts_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_public_keys_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_recovery_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_snapshots_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vps_virtual_machine_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsos_templates_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsptr_records_api.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_action_action_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_backup_backup_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_data_center_data_center_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_firewall_firewall_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_firewall_firewall_rule_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_firewall_rules_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_firewall_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_ip_address_ip_address_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_malware_metrics_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_cpu_usage.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_disk_space.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_incoming_traffic.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_outgoing_traffic.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_ram_usage.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_uptime.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_post_install_script_post_install_script_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_post_install_script_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_public_key_attach_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_public_key_public_key_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_public_key_store_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_snapshot_snapshot_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_template_template_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_hostname_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_nameservers_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_panel_password_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_recovery_start_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_recreate_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_root_password_update_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_setup_request.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_setup_request_public_key.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_virtual_machine_resource.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_virtual_machine_resource_ipv4.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_virtual_machine_resource_ipv6.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_virtual_machine_resource_template.py +1 -1
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/__init__.py +0 -0
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api_response.py +0 -0
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/py.typed +0 -0
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api.egg-info/SOURCES.txt +0 -0
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api.egg-info/dependency_links.txt +0 -0
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api.egg-info/requires.txt +0 -0
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api.egg-info/top_level.txt +0 -0
- {hostinger_api-0.0.7 → hostinger_api-0.0.10}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hostinger_api
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.10
|
|
4
4
|
Summary: Hostinger API
|
|
5
5
|
Home-page: https://github.com/hostinger/api-python-sdk
|
|
6
6
|
Author: Hostinger
|
|
@@ -115,7 +115,7 @@ Class | Method | HTTP request | Description
|
|
|
115
115
|
*BillingSubscriptionsApi* | [**get_subscription_list_v1**](docs/BillingSubscriptionsApi.md#get_subscription_list_v1) | **GET** /api/billing/v1/subscriptions | Get subscription list
|
|
116
116
|
*DNSSnapshotApi* | [**get_snapshot_list_v1**](docs/DNSSnapshotApi.md#get_snapshot_list_v1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list
|
|
117
117
|
*DNSSnapshotApi* | [**get_snapshot_v1**](docs/DNSSnapshotApi.md#get_snapshot_v1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot
|
|
118
|
-
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId} | Restore snapshot
|
|
118
|
+
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore snapshot
|
|
119
119
|
*DNSZoneApi* | [**delete_zone_records_v1**](docs/DNSZoneApi.md#delete_zone_records_v1) | **DELETE** /api/dns/v1/zones/{domain} | Delete zone records
|
|
120
120
|
*DNSZoneApi* | [**get_records_v1**](docs/DNSZoneApi.md#get_records_v1) | **GET** /api/dns/v1/zones/{domain} | Get records
|
|
121
121
|
*DNSZoneApi* | [**reset_zone_records_v1**](docs/DNSZoneApi.md#reset_zone_records_v1) | **POST** /api/dns/v1/zones/{domain}/reset | Reset zone records
|
|
@@ -91,7 +91,7 @@ Class | Method | HTTP request | Description
|
|
|
91
91
|
*BillingSubscriptionsApi* | [**get_subscription_list_v1**](docs/BillingSubscriptionsApi.md#get_subscription_list_v1) | **GET** /api/billing/v1/subscriptions | Get subscription list
|
|
92
92
|
*DNSSnapshotApi* | [**get_snapshot_list_v1**](docs/DNSSnapshotApi.md#get_snapshot_list_v1) | **GET** /api/dns/v1/snapshots/{domain} | Get snapshot list
|
|
93
93
|
*DNSSnapshotApi* | [**get_snapshot_v1**](docs/DNSSnapshotApi.md#get_snapshot_v1) | **GET** /api/dns/v1/snapshots/{domain}/{snapshotId} | Get snapshot
|
|
94
|
-
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId} | Restore snapshot
|
|
94
|
+
*DNSSnapshotApi* | [**restore_snapshot_v1**](docs/DNSSnapshotApi.md#restore_snapshot_v1) | **POST** /api/dns/v1/snapshots/{domain}/{snapshotId}/restore | Restore snapshot
|
|
95
95
|
*DNSZoneApi* | [**delete_zone_records_v1**](docs/DNSZoneApi.md#delete_zone_records_v1) | **DELETE** /api/dns/v1/zones/{domain} | Delete zone records
|
|
96
96
|
*DNSZoneApi* | [**get_records_v1**](docs/DNSZoneApi.md#get_records_v1) | **GET** /api/dns/v1/zones/{domain} | Get records
|
|
97
97
|
*DNSZoneApi* | [**reset_zone_records_v1**](docs/DNSZoneApi.md#reset_zone_records_v1) | **POST** /api/dns/v1/zones/{domain}/reset | Reset zone records
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
"""
|
|
6
6
|
Hostinger API Python SDK
|
|
7
7
|
|
|
8
|
-
API Version: 0.0.
|
|
8
|
+
API Version: 0.0.20
|
|
9
9
|
|
|
10
10
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
11
11
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
__version__ = "0.0.
|
|
15
|
+
__version__ = "0.0.10"
|
|
16
16
|
|
|
17
17
|
# import apis into sdk package
|
|
18
18
|
from hostinger_api.api.billing_catalog_api import BillingCatalogApi
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -49,7 +49,7 @@ class BillingOrdersApi:
|
|
|
49
49
|
) -> BillingV1OrderOrderResource:
|
|
50
50
|
"""Create new service order
|
|
51
51
|
|
|
52
|
-
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
52
|
+
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
53
53
|
|
|
54
54
|
:param billing_v1_order_store_request: (required)
|
|
55
55
|
:type billing_v1_order_store_request: BillingV1OrderStoreRequest
|
|
@@ -119,7 +119,7 @@ class BillingOrdersApi:
|
|
|
119
119
|
) -> ApiResponse[BillingV1OrderOrderResource]:
|
|
120
120
|
"""Create new service order
|
|
121
121
|
|
|
122
|
-
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
122
|
+
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
123
123
|
|
|
124
124
|
:param billing_v1_order_store_request: (required)
|
|
125
125
|
:type billing_v1_order_store_request: BillingV1OrderStoreRequest
|
|
@@ -189,7 +189,7 @@ class BillingOrdersApi:
|
|
|
189
189
|
) -> RESTResponseType:
|
|
190
190
|
"""Create new service order
|
|
191
191
|
|
|
192
|
-
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for
|
|
192
|
+
This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
|
|
193
193
|
|
|
194
194
|
:param billing_v1_order_store_request: (required)
|
|
195
195
|
:type billing_v1_order_store_request: BillingV1OrderStoreRequest
|
{hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/billing_payment_methods_api.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -849,7 +849,7 @@ class DNSSnapshotApi:
|
|
|
849
849
|
|
|
850
850
|
return self.api_client.param_serialize(
|
|
851
851
|
method='POST',
|
|
852
|
-
resource_path='/api/dns/v1/snapshots/{domain}/{snapshotId}',
|
|
852
|
+
resource_path='/api/dns/v1/snapshots/{domain}/{snapshotId}/restore',
|
|
853
853
|
path_params=_path_params,
|
|
854
854
|
query_params=_query_params,
|
|
855
855
|
header_params=_header_params,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -56,7 +56,7 @@ class DNSZoneApi:
|
|
|
56
56
|
) -> CommonSuccessEmptyResource:
|
|
57
57
|
"""Delete zone records
|
|
58
58
|
|
|
59
|
-
This endpoint deletes
|
|
59
|
+
This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
60
60
|
|
|
61
61
|
:param domain: Domain name (required)
|
|
62
62
|
:type domain: str
|
|
@@ -130,7 +130,7 @@ class DNSZoneApi:
|
|
|
130
130
|
) -> ApiResponse[CommonSuccessEmptyResource]:
|
|
131
131
|
"""Delete zone records
|
|
132
132
|
|
|
133
|
-
This endpoint deletes
|
|
133
|
+
This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
134
134
|
|
|
135
135
|
:param domain: Domain name (required)
|
|
136
136
|
:type domain: str
|
|
@@ -204,7 +204,7 @@ class DNSZoneApi:
|
|
|
204
204
|
) -> RESTResponseType:
|
|
205
205
|
"""Delete zone records
|
|
206
206
|
|
|
207
|
-
This endpoint deletes
|
|
207
|
+
This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
|
|
208
208
|
|
|
209
209
|
:param domain: Domain name (required)
|
|
210
210
|
:type domain: str
|
|
@@ -919,7 +919,7 @@ class DNSZoneApi:
|
|
|
919
919
|
) -> CommonSuccessEmptyResource:
|
|
920
920
|
"""Update zone records
|
|
921
921
|
|
|
922
|
-
This endpoint updates DNS records for the selected domain.
|
|
922
|
+
This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
|
|
923
923
|
|
|
924
924
|
:param domain: Domain name (required)
|
|
925
925
|
:type domain: str
|
|
@@ -993,7 +993,7 @@ class DNSZoneApi:
|
|
|
993
993
|
) -> ApiResponse[CommonSuccessEmptyResource]:
|
|
994
994
|
"""Update zone records
|
|
995
995
|
|
|
996
|
-
This endpoint updates DNS records for the selected domain.
|
|
996
|
+
This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
|
|
997
997
|
|
|
998
998
|
:param domain: Domain name (required)
|
|
999
999
|
:type domain: str
|
|
@@ -1067,7 +1067,7 @@ class DNSZoneApi:
|
|
|
1067
1067
|
) -> RESTResponseType:
|
|
1068
1068
|
"""Update zone records
|
|
1069
1069
|
|
|
1070
|
-
This endpoint updates DNS records for the selected domain.
|
|
1070
|
+
This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
|
|
1071
1071
|
|
|
1072
1072
|
:param domain: Domain name (required)
|
|
1073
1073
|
:type domain: str
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
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-0.0.7 → hostinger_api-0.0.10}/hostinger_api/api/vps_post_install_scripts_api.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -88,7 +88,7 @@ class ApiClient:
|
|
|
88
88
|
self.default_headers[header_name] = header_value
|
|
89
89
|
self.cookie = cookie
|
|
90
90
|
# Set default User-Agent.
|
|
91
|
-
self.user_agent = 'hostinger_api-python/0.0.
|
|
91
|
+
self.user_agent = 'hostinger_api-python/0.0.10'
|
|
92
92
|
self.client_side_validation = configuration.client_side_validation
|
|
93
93
|
|
|
94
94
|
def __enter__(self):
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -507,8 +507,8 @@ class Configuration:
|
|
|
507
507
|
return "Python SDK Debug Report:\n"\
|
|
508
508
|
"OS: {env}\n"\
|
|
509
509
|
"Python Version: {pyversion}\n"\
|
|
510
|
-
"Version of the API: 0.0.
|
|
511
|
-
"SDK Package Version: 0.0.
|
|
510
|
+
"Version of the API: 0.0.20\n"\
|
|
511
|
+
"SDK Package Version: 0.0.10".\
|
|
512
512
|
format(env=sys.platform, pyversion=sys.version)
|
|
513
513
|
|
|
514
514
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"""
|
|
5
5
|
Hostinger API Python SDK
|
|
6
6
|
|
|
7
|
-
API Version: 0.0.
|
|
7
|
+
API Version: 0.0.20
|
|
8
8
|
|
|
9
9
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
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-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_order_resource.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
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-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_store_request.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
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-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/common_success_empty_resource.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -18,6 +18,7 @@ import json
|
|
|
18
18
|
from datetime import datetime
|
|
19
19
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
21
|
+
from hostinger_api.models.dnsv1_zone_record_resource import DNSV1ZoneRecordResource
|
|
21
22
|
from typing import Optional, Set
|
|
22
23
|
from typing_extensions import Self
|
|
23
24
|
|
|
@@ -27,7 +28,7 @@ class DNSV1SnapshotSnapshotWithContentResource(BaseModel):
|
|
|
27
28
|
""" # noqa: E501
|
|
28
29
|
id: Optional[StrictInt] = Field(default=None, description="Snapshot ID")
|
|
29
30
|
reason: Optional[StrictStr] = Field(default=None, description="Reason of the update")
|
|
30
|
-
snapshot: Optional[
|
|
31
|
+
snapshot: Optional[List[DNSV1ZoneRecordResource]] = Field(default=None, description="Array of [`DNS.V1.Zone.RecordResource`](#model/dnsv1zonerecordresource)")
|
|
31
32
|
created_at: Optional[datetime] = None
|
|
32
33
|
__properties: ClassVar[List[str]] = ["id", "reason", "snapshot", "created_at"]
|
|
33
34
|
|
|
@@ -70,6 +71,13 @@ class DNSV1SnapshotSnapshotWithContentResource(BaseModel):
|
|
|
70
71
|
exclude=excluded_fields,
|
|
71
72
|
exclude_none=True,
|
|
72
73
|
)
|
|
74
|
+
# override the default output from pydantic by calling `to_dict()` of each item in snapshot (list)
|
|
75
|
+
_items = []
|
|
76
|
+
if self.snapshot:
|
|
77
|
+
for _item_snapshot in self.snapshot:
|
|
78
|
+
if _item_snapshot:
|
|
79
|
+
_items.append(_item_snapshot.to_dict())
|
|
80
|
+
_dict['snapshot'] = _items
|
|
73
81
|
return _dict
|
|
74
82
|
|
|
75
83
|
@classmethod
|
|
@@ -84,7 +92,7 @@ class DNSV1SnapshotSnapshotWithContentResource(BaseModel):
|
|
|
84
92
|
_obj = cls.model_validate({
|
|
85
93
|
"id": obj.get("id"),
|
|
86
94
|
"reason": obj.get("reason"),
|
|
87
|
-
"snapshot": obj.get("snapshot"),
|
|
95
|
+
"snapshot": [DNSV1ZoneRecordResource.from_dict(_item) for _item in obj["snapshot"]] if obj.get("snapshot") is not None else None,
|
|
88
96
|
"created_at": obj.get("created_at")
|
|
89
97
|
})
|
|
90
98
|
return _obj
|
{hostinger_api-0.0.7 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_destroy_request.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Hostinger API Python SDK
|
|
5
5
|
|
|
6
|
-
API Version: 0.0.
|
|
6
|
+
API Version: 0.0.20
|
|
7
7
|
|
|
8
8
|
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|