selfprivacy-rest-api/selfprivacy_api/models/group.py
2024-12-12 23:53:41 +04:00

14 lines
331 B
Python

from typing import Optional
from pydantic import BaseModel
class Group(BaseModel):
name: str
group_class: Optional[list[str]] = []
member: Optional[list[str]] = []
memberof: Optional[list[str]] = []
directmemberof: Optional[list[str]] = []
spn: Optional[str] = None
description: Optional[str] = None