import { type Profile } from "https://deno.land/x/jamf_school@0.5.0/models/profile.ts";
Profile represents a single profile.
The API does not provide any ways to edit the data on a profile.
Properties
The platforms this profile can be installed on.
Jamf School allows for iOS, macOS, tvOS and "custom" (universal) profiles. OS-specific profiles will only set their OS property to true. Universal profiles set every property to true, but note that this doesn't mean that they will successfully install on each platform.
Methods
(Read) Update this profile's data.
Other profiles created from the same data will not be updated.
getLocation(): Promise<Location | null>
(Read) Get the location this profile belongs to.
getSchedule(): ProfileSchedule | null
Get the profile's time filter (null if isScheduled
is false).