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 includegeneral
,location
, andextension_attributes
. To bypass this behavior export the model usingxml()
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 ¶
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Args:
self: The BaseModel instance. context: The context.
- Parameters:
self (BaseModel)
context (Any)
- Return type:
None