jamf_pro_sdk.models.classic.packages.ClassicPackage¶
- pydantic model ClassicPackage¶
Represents a package returned by the
get_package_by_id()
operation.When exporting to XML for a
POST
/PUT
operation, the SDK by default will only includename
,category
,filename
,info
,notes
,priority
,reboot_required
,os_requirements
, andinstall_if_reported_available
. To bypass this behavior export the model usingxml()
before pasting to the API operation.- field id: int | None = None¶
- field name: str | None = None¶
- field category: str | None = None¶
- field filename: str | None = None¶
- field info: str | None = None¶
- field notes: str | None = None¶
- field priority: int | None = None¶
- field reboot_required: bool | None = None¶
- field fill_user_template: bool | None = None¶
- field fill_existing_users: bool | None = None¶
- field allow_uninstalled: bool | None = None¶
- field os_requirements: str | None = None¶
- field required_processor: str | None = None¶
- field hash_type: str | None = None¶
- field hash_value: str | None = None¶
- field switch_with_package: str | None = None¶
- field install_if_reported_available: bool | None = None¶
- field reinstall_option: str | None = None¶
- field triggering_files: dict | str | None = None¶
- field send_notification: bool | 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