| 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 CredentialId(UniversalBaseModel): |
| 10 | id: str = pydantic.Field() |
| 11 | """ |
| 12 | Credential ID |
| 13 | """ |
| 14 | |
| 15 | if IS_PYDANTIC_V2: |
| 16 | model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 |
| 17 | else: |
| 18 | |
| 19 | class Config: |
| 20 | frozen = True |
| 21 | smart_union = True |
| 22 | extra = pydantic.Extra.allow |