Data Models¶

Pydantic shapes returned by the library entry points. The objects you destructure in your own code.


Patch

PatchTitle and PatchDevice — the report-shaped models PatcherClient.fetch_patches returns. Iterate these when you’re building custom dashboards, alerting, or downstream exports.

Patch Models
JamfModels

Pydantic shapes covering Jamf API integration. JamfCredentials for connection details; ApiRoleModel and ApiClientModel describe the role + client objects Patcher creates during Standard setup.

Jamf Models
Label

Parsed Installomator label. Captures the fields Installomator’s bash labels expose (download URL, expected team ID, type, etc.) as typed attributes.

Label Model
CaskMatch

Homebrew Cask coverage stub attached to PatchTitle.homebrew_cask when --homebrew matching is enabled. The Cask analogue of Label; records the matched cask token, version, and download URL.

Cask Match Model
UI

UIConfig — the branding payload for PDF and HTML reports. Header text, footer text, font paths, logo path, header color.

UI Config Model
Token

AccessToken — the OAuth bearer-token wrapper used by JamfClient. Wraps the secret value in pydantic.SecretStr so accidental repr or logging won’t leak it.

Access Token