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
Settings

PatcherSettings — the on-disk configuration model. UI branding (UIDefaults), the matching toggle, Integrations, ignored titles, and the recorded interpreter path; reads/writes the plist with format migration.

Settings 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