selfprivacy-rest-api/selfprivacy_api/models/group.py

14 lines
331 B
Python
Raw Normal View History

2024-12-12 19:53:41 +00:00
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