jamf_pro_sdk.models.classic.computers.ClassicComputer

pydantic model ClassicComputer

Represents a full computer inventory record.

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

field general: ClassicComputerGeneral | None [Optional]
field location: ClassicDeviceLocation | None [Optional]
field purchasing: ClassicDevicePurchasing | None = None
field peripherals: Any | None = None
field hardware: ClassicComputerHardware | None = None
field certificates: List[ClassicComputerCertificate] | None = None
field security: ClassicComputerSecurity | None = None
field software: ClassicComputerSoftware | None = None
field extension_attributes: List[ClassicComputerExtensionAttribute] | None [Optional]
field groups_accounts: ClassicComputerGroupsAccounts | None = None
field iphones: Any | None = None
field configuration_profiles: List[ClassicComputerConfigurationProfile] | 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