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 ¶
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