hostinger-api 0.0.8__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.
Files changed (191) hide show
  1. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/PKG-INFO +2 -2
  2. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/README.md +1 -1
  3. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/__init__.py +2 -2
  4. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/billing_catalog_api.py +1 -1
  5. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/billing_orders_api.py +4 -4
  6. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/billing_payment_methods_api.py +1 -1
  7. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/billing_subscriptions_api.py +1 -1
  8. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/dns_snapshot_api.py +2 -2
  9. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/dns_zone_api.py +7 -7
  10. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/domains_portfolio_api.py +1 -1
  11. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_actions_api.py +1 -1
  12. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_backups_api.py +1 -1
  13. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_data_centers_api.py +1 -1
  14. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_firewall_api.py +1 -1
  15. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_malware_scanner_api.py +1 -1
  16. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_post_install_scripts_api.py +1 -1
  17. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_public_keys_api.py +1 -1
  18. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_recovery_api.py +1 -1
  19. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_snapshots_api.py +1 -1
  20. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vps_virtual_machine_api.py +1 -1
  21. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vpsos_templates_api.py +1 -1
  22. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/vpsptr_records_api.py +1 -1
  23. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api_client.py +2 -2
  24. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/configuration.py +3 -3
  25. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/exceptions.py +1 -1
  26. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/__init__.py +1 -1
  27. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_catalog_catalog_item_price_resource.py +1 -1
  28. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_catalog_catalog_item_resource.py +1 -1
  29. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_order_billing_address_resource.py +1 -1
  30. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_order_resource.py +1 -1
  31. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_store_request.py +1 -1
  32. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_order_store_request_items_inner.py +1 -1
  33. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_payment_method_payment_method_resource.py +1 -1
  34. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_subscription_cancel_request.py +1 -1
  35. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/billing_v1_subscription_subscription_resource.py +1 -1
  36. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_error_response_schema.py +1 -1
  37. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_pagination_meta_schema.py +1 -1
  38. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_unauthorized_response_schema.py +1 -1
  39. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_unprocessable_content_response_schema.py +1 -1
  40. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/common_schema_unprocessable_content_response_schema_errors.py +1 -1
  41. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/common_success_empty_resource.py +1 -1
  42. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_snapshot_snapshot_resource.py +1 -1
  43. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_snapshot_snapshot_with_content_resource.py +11 -3
  44. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_destroy_request.py +1 -1
  45. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_destroy_request_filters_inner.py +4 -7
  46. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_name_record_resource.py +1 -1
  47. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_record_resource.py +1 -1
  48. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_reset_request.py +1 -1
  49. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_update_request.py +1 -1
  50. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_update_request_zone_inner.py +1 -1
  51. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/dnsv1_zone_update_request_zone_inner_records_inner.py +1 -1
  52. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/domains_v1_domain_domain_resource.py +1 -1
  53. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_action_list_v1200_response.py +1 -1
  54. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_backup_list_v1200_response.py +1 -1
  55. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_firewall_list_v1200_response.py +1 -1
  56. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_post_install_script_list_v1200_response.py +1 -1
  57. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vps_get_public_key_list_v1200_response.py +1 -1
  58. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_action_action_resource.py +1 -1
  59. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_backup_backup_resource.py +1 -1
  60. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_data_center_data_center_resource.py +1 -1
  61. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_firewall_firewall_resource.py +1 -1
  62. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_firewall_firewall_rule_resource.py +1 -1
  63. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_firewall_rules_store_request.py +1 -1
  64. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_firewall_store_request.py +1 -1
  65. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_ip_address_ip_address_resource.py +1 -1
  66. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_malware_metrics_resource.py +1 -1
  67. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection.py +1 -1
  68. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_cpu_usage.py +1 -1
  69. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_disk_space.py +1 -1
  70. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_incoming_traffic.py +1 -1
  71. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_outgoing_traffic.py +1 -1
  72. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_ram_usage.py +1 -1
  73. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_collection_uptime.py +1 -1
  74. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_metrics_metrics_resource.py +1 -1
  75. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_post_install_script_post_install_script_resource.py +1 -1
  76. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_post_install_script_store_request.py +1 -1
  77. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_public_key_attach_request.py +1 -1
  78. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_public_key_public_key_resource.py +1 -1
  79. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_public_key_store_request.py +1 -1
  80. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_snapshot_snapshot_resource.py +1 -1
  81. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_template_template_resource.py +1 -1
  82. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_hostname_update_request.py +1 -1
  83. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_nameservers_update_request.py +1 -1
  84. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_panel_password_update_request.py +1 -1
  85. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_recovery_start_request.py +1 -1
  86. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_recreate_request.py +1 -1
  87. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_root_password_update_request.py +1 -1
  88. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_setup_request.py +1 -1
  89. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_setup_request_public_key.py +1 -1
  90. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource.py +1 -1
  91. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv4.py +1 -1
  92. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_ipv6.py +1 -1
  93. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/models/vpsv1_virtual_machine_virtual_machine_resource_template.py +1 -1
  94. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/rest.py +1 -1
  95. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api.egg-info/PKG-INFO +2 -2
  96. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/pyproject.toml +1 -1
  97. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/setup.py +2 -2
  98. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_catalog_api.py +1 -1
  99. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_orders_api.py +1 -1
  100. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_payment_methods_api.py +1 -1
  101. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_subscriptions_api.py +1 -1
  102. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_v1_catalog_catalog_item_price_resource.py +1 -1
  103. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_v1_catalog_catalog_item_resource.py +1 -1
  104. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_v1_order_order_billing_address_resource.py +1 -1
  105. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_v1_order_order_resource.py +1 -1
  106. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_v1_order_store_request.py +1 -1
  107. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_v1_order_store_request_items_inner.py +1 -1
  108. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_v1_payment_method_payment_method_resource.py +1 -1
  109. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_v1_subscription_cancel_request.py +1 -1
  110. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_billing_v1_subscription_subscription_resource.py +1 -1
  111. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_common_schema_error_response_schema.py +1 -1
  112. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_common_schema_pagination_meta_schema.py +1 -1
  113. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_common_schema_unauthorized_response_schema.py +1 -1
  114. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_common_schema_unprocessable_content_response_schema.py +1 -1
  115. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_common_schema_unprocessable_content_response_schema_errors.py +1 -1
  116. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_common_success_empty_resource.py +1 -1
  117. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dns_snapshot_api.py +1 -1
  118. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dns_zone_api.py +1 -1
  119. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_snapshot_snapshot_resource.py +1 -1
  120. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_snapshot_snapshot_with_content_resource.py +12 -2
  121. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_zone_destroy_request.py +1 -1
  122. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_zone_destroy_request_filters_inner.py +3 -1
  123. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_zone_name_record_resource.py +1 -1
  124. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_zone_record_resource.py +1 -1
  125. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_zone_reset_request.py +1 -1
  126. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_zone_update_request.py +1 -1
  127. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_zone_update_request_zone_inner.py +1 -1
  128. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_dnsv1_zone_update_request_zone_inner_records_inner.py +1 -1
  129. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_domains_portfolio_api.py +1 -1
  130. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_domains_v1_domain_domain_resource.py +1 -1
  131. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_actions_api.py +1 -1
  132. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_backups_api.py +1 -1
  133. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_data_centers_api.py +1 -1
  134. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_firewall_api.py +1 -1
  135. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_get_action_list_v1200_response.py +1 -1
  136. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_get_backup_list_v1200_response.py +1 -1
  137. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_get_firewall_list_v1200_response.py +1 -1
  138. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_get_post_install_script_list_v1200_response.py +1 -1
  139. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_get_public_key_list_v1200_response.py +1 -1
  140. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_malware_scanner_api.py +1 -1
  141. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_post_install_scripts_api.py +1 -1
  142. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_public_keys_api.py +1 -1
  143. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_recovery_api.py +1 -1
  144. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_snapshots_api.py +1 -1
  145. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vps_virtual_machine_api.py +1 -1
  146. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsos_templates_api.py +1 -1
  147. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsptr_records_api.py +1 -1
  148. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_action_action_resource.py +1 -1
  149. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_backup_backup_resource.py +1 -1
  150. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_data_center_data_center_resource.py +1 -1
  151. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_firewall_firewall_resource.py +1 -1
  152. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_firewall_firewall_rule_resource.py +1 -1
  153. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_firewall_rules_store_request.py +1 -1
  154. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_firewall_store_request.py +1 -1
  155. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_ip_address_ip_address_resource.py +1 -1
  156. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_malware_metrics_resource.py +1 -1
  157. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection.py +1 -1
  158. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_cpu_usage.py +1 -1
  159. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_disk_space.py +1 -1
  160. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_incoming_traffic.py +1 -1
  161. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_outgoing_traffic.py +1 -1
  162. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_ram_usage.py +1 -1
  163. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_collection_uptime.py +1 -1
  164. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_metrics_metrics_resource.py +1 -1
  165. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_post_install_script_post_install_script_resource.py +1 -1
  166. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_post_install_script_store_request.py +1 -1
  167. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_public_key_attach_request.py +1 -1
  168. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_public_key_public_key_resource.py +1 -1
  169. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_public_key_store_request.py +1 -1
  170. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_snapshot_snapshot_resource.py +1 -1
  171. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_template_template_resource.py +1 -1
  172. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_hostname_update_request.py +1 -1
  173. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_nameservers_update_request.py +1 -1
  174. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_panel_password_update_request.py +1 -1
  175. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_recovery_start_request.py +1 -1
  176. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_recreate_request.py +1 -1
  177. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_root_password_update_request.py +1 -1
  178. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_setup_request.py +1 -1
  179. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_setup_request_public_key.py +1 -1
  180. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_virtual_machine_resource.py +1 -1
  181. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_virtual_machine_resource_ipv4.py +1 -1
  182. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_virtual_machine_resource_ipv6.py +1 -1
  183. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/test/test_vpsv1_virtual_machine_virtual_machine_resource_template.py +1 -1
  184. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api/__init__.py +0 -0
  185. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/api_response.py +0 -0
  186. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api/py.typed +0 -0
  187. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api.egg-info/SOURCES.txt +0 -0
  188. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api.egg-info/dependency_links.txt +0 -0
  189. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api.egg-info/requires.txt +0 -0
  190. {hostinger_api-0.0.8 → hostinger_api-0.0.10}/hostinger_api.egg-info/top_level.txt +0 -0
  191. {hostinger_api-0.0.8 → 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.8
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.17
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.8"
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.17
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.17
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 automatically renewal.
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 automatically renewal.
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 automatically renewal.
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
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger API Python SDK
5
5
 
6
- API Version: 0.0.17
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.17
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.17
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.17
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 selected DNS records for the selected domain.
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 selected DNS records for the selected domain.
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 selected DNS records for the selected domain.
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. This endpoint could also be used to delete single record when multiple records exist under same name. In that case use `overwrite` flag and provide records which should remain. All other records under same name will be deleted.
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. This endpoint could also be used to delete single record when multiple records exist under same name. In that case use `overwrite` flag and provide records which should remain. All other records under same name will be deleted.
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. This endpoint could also be used to delete single record when multiple records exist under same name. In that case use `overwrite` flag and provide records which should remain. All other records under same name will be deleted.
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.8'
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.17
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.17\n"\
511
- "SDK Package Version: 0.0.8".\
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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.17
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[StrictStr] = Field(default=None, description="Contents of the DNS zone")
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
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger API Python SDK
5
5
 
6
- API Version: 0.0.17
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