jamf_pro_sdk.models.classic.criteria.ClassicCriterion¶
- pydantic model ClassicCriterion¶
Classic API criterion. Used by Smart Groups and Advanced Searches.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- field name: str [Required]¶
- field priority: int [Required]¶
- field and_or: ClassicCriterionAndOr [Required]¶
- field search_type: ClassicCriterionSearchType [Required]¶
- field value: str [Required]¶
- field opening_paren: bool [Required]¶
- field closing_paren: bool [Required]¶