mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-31 05:06:41 +00:00
14 lines
331 B
Python
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
|