Debian Codegraph @

src/auth0/management/types/role_member.py

raw symbols SCIP
1 # This file was auto-generated by Fern from our API Definition.
2
3 import typing
4
5 import pydantic
6 from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
8
9 class RoleMember(UniversalBaseModel):
10 user_id: typing.Optional[str] = pydantic.Field(default=None)
11 """
12 ID of this user.
13 """
14
15 picture: typing.Optional[str] = pydantic.Field(default=None)
16 """
17 URL to a picture for this user.
18 """
19
20 name: typing.Optional[str] = pydantic.Field(default=None)
21 """
22 Name of this user.
23 """
24
25 email: typing.Optional[str] = pydantic.Field(default=None)
26 """
27 Email address of this user.
28 """
29
30 if IS_PYDANTIC_V2:
31 model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
32 else:
33
34 class Config:
35 frozen = True
36 smart_union = True
37 extra = pydantic.Extra.allow