jamf_pro_sdk.models.classic.categories.ClassicCategory¶
- pydantic model ClassicCategory¶
Represents a category record returned by the
get_category_by_id()
operation.When exporting to XML for a
POST
/PUT
operation, the SDK by default will only includename
, andpriority
. To bypass this behavior export the model usingxml()
before passing to the API operation.- field id: int | None = None¶
- field name: str | None = None¶
- field priority: int | 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