jamf_pro_sdk.models.pro.computers.Computer¶
- class Computer(*, id: str | None = None, udid: str | None = None, general: ComputerGeneral | None = <factory>, diskEncryption: ComputerDiskEncryption | None = None, purchasing: ComputerPurchase | None = None, applications: List[ComputerApplication] | None = None, storage: ComputerStorage | None = None, userAndLocation: ComputerUserAndLocation | None = <factory>, configurationProfiles: List[ComputerConfigurationProfile] | None = None, printers: List[ComputerPrinter] | None = None, services: List[ComputerService] | None = None, hardware: ComputerHardware | None = None, localUserAccounts: List[ComputerLocalUserAccount] | None = None, certificates: List[ComputerCertificate] | None = None, attachments: List[ComputerAttachment] | None = None, plugins: List[ComputerPlugin] | None = None, packageReceipts: ComputerPackageReceipts | None = None, fonts: List[ComputerFont] | None = None, security: ComputerSecurity | None = None, operatingSystem: ComputerOperatingSystem | None = None, licensedSoftware: List[ComputerLicensedSoftware] | None = None, ibeacons: List[ComputeriBeacon] | None = None, softwareUpdates: List[ComputerSoftwareUpdate] | None = None, extensionAttributes: List[ComputerExtensionAttribute] | None = None, contentCaching: ComputerContentCaching | None = None, groupMemberships: List[ComputerGroupMembership] | None = None, **kwargs)¶
Represents a full computer inventory record.
Used for both v1 and v3 endpoints. The v3 API does not return
pluginsorfonts(they will beNone), and addscfBundleShortVersionString/cfBundleVersionto application entries.- Parameters:
id (str | None)
udid (str | None)
general (ComputerGeneral | None)
diskEncryption (ComputerDiskEncryption | None)
purchasing (ComputerPurchase | None)
applications (List[ComputerApplication] | None)
storage (ComputerStorage | None)
userAndLocation (ComputerUserAndLocation | None)
configurationProfiles (List[ComputerConfigurationProfile] | None)
printers (List[ComputerPrinter] | None)
services (List[ComputerService] | None)
hardware (ComputerHardware | None)
localUserAccounts (List[ComputerLocalUserAccount] | None)
certificates (List[ComputerCertificate] | None)
attachments (List[ComputerAttachment] | None)
plugins (List[ComputerPlugin] | None)
packageReceipts (ComputerPackageReceipts | None)
fonts (List[ComputerFont] | None)
security (ComputerSecurity | None)
operatingSystem (ComputerOperatingSystem | None)
licensedSoftware (List[ComputerLicensedSoftware] | None)
ibeacons (List[ComputeriBeacon] | None)
softwareUpdates (List[ComputerSoftwareUpdate] | None)
extensionAttributes (List[ComputerExtensionAttribute] | None)
contentCaching (ComputerContentCaching | None)
groupMemberships (List[ComputerGroupMembership] | None)
- __init__(**kwargs)¶
Methods
__init__(**kwargs)construct([_fields_set])copy(*[, include, exclude, update, deep])Returns a copy of the model.
dict(*[, include, exclude, by_alias, ...])from_orm(obj)json(*[, include, exclude, by_alias, ...])model_construct([_fields_set])Creates a new instance of the Model class with validated data.
model_copy(*[, update, deep])!!! abstract "Usage Documentation"
model_dump(*[, mode, include, exclude, ...])!!! abstract "Usage Documentation"
model_dump_json(*[, indent, ensure_ascii, ...])!!! abstract "Usage Documentation"
model_json_schema(by_alias, ref_template, ...)Generates a JSON schema for a model class.
model_parametrized_name(params)Compute the class name for parametrizations of generic classes.
model_post_init(context, /)Override this method to perform additional initialization after __init__ and model_construct.
model_rebuild(*[, force, raise_errors, ...])Try to rebuild the pydantic-core schema for the model.
model_validate(obj, *[, strict, extra, ...])Validate a pydantic model instance.
model_validate_json(json_data, *[, strict, ...])!!! abstract "Usage Documentation"
model_validate_strings(obj, *[, strict, ...])Validate the given object with string data against the Pydantic model.
parse_file(path, *[, content_type, ...])parse_obj(obj)parse_raw(b, *[, content_type, encoding, ...])schema([by_alias, ref_template])schema_json(*[, by_alias, ref_template])update_forward_refs(**localns)validate(value)Attributes
model_computed_fieldsmodel_configConfiguration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
model_extraGet extra fields set during validation.
model_fieldsmodel_fields_setReturns the set of fields that have been explicitly set on this model instance.
idudidgeneraldiskEncryptionpurchasingapplicationsstorageuserAndLocationconfigurationProfilesprintersserviceshardwarelocalUserAccountscertificatesattachmentspluginspackageReceiptsfontssecurityoperatingSystemlicensedSoftwareibeaconssoftwareUpdatesextensionAttributescontentCachinggroupMemberships