jamf_pro_sdk.models.classic.advanced_computer_searches.ClassicAdvancedComputerSearch

pydantic model ClassicAdvancedComputerSearch

Represents an advanced computer search record returned by the list_all_advanced_computer_searches() operation.

When exporting to XML for a POST/PUT operation, the SDK by default will only include name, site, criteria, and display_fields. To bypass this behavior export the model using xml() before pasting to the API operation.

field id: int | None = None
field name: str | None = None
field site: ClassicSite | None = None
field criteria: List[ClassicCriterion] | None = None
field display_fields: List[ClassicAdvancedComputerSearchDisplayField] | None = None
field computers: List[ClassicAdvancedComputerSearchResult] | None = None
model_post_init(context: Any, /) None

We need to both initialize private attributes and call the user-defined model_post_init method.

Parameters:
  • self (BaseModel)

  • context (Any)

Return type:

None