Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor model imports and reorganize directories Moved models into the 'objects' sub-directory and updated import paths across various files. Also reorganized the security-related files into the config/security directory for better module management. * Remove redundant validator from Address model The `validate_container_type` model validator was removed from the `AddressRequestModel`. This validator was duplicative as the necessary validation is already covered by another existing validator. Removing it helps simplify and streamline the code. * Remove redundant 'validate_container_type' method This method duplicate-checks a single condition that is already validated by another method. Removing it reduces the code complexity and minimizes the risk of conflicting validations. * Update import paths and add security module init file Corrected file paths in application, address group, address, application group, and service models. Also, added an `__init__.py` file to the security module for proper module initialization. * Add anti-spyware profile models Introduce comprehensive models for anti-spyware profiles, including actions, rules, threat exceptions, and API request/response structures. These models ensure accurate representation and validation of anti-spyware settings. * Add support for Anti Spyware Profiles Introduced the `AntiSpywareProfile` class to manage Anti-Spyware Profiles within the SCM. Updated the relevant models and documentation to reflect the new functionality. Bumped version to 0.1.7 in `pyproject.toml`. * Add tests for AntiSpywareProfile and AddressRequestModel Implemented comprehensive validation and functionality tests for AntiSpywareProfile, including CRUD operations and model-specific checks. Extended AddressRequestModel tests to cover various validation cases, ensuring robustness and correctness of the models. * Restructure documentation for better organization Reorganized the documentation to segregate configuration objects and security services for improved clarity. Deleted outdated models.md and created new directories for objects and security services each with dedicated overview files. Updated all relevant links and references accordingly. * Simplify Mermaid class diagram and update SDK documentation Trimmed down class definitions in the Mermaid diagram for clarity and enhanced SDK documentation to include information about data model structures in Python dictionaries. * Update version to 0.1.8 and add release notes Bump the version in pyproject.toml to 0.1.8. Add release notes for version 0.1.8, including the addition of pytests to support Anti Spyware Profiles.
- Loading branch information