FileInfoCard Class
File info card.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Constructor
FileInfoCard(*, uniqueId: str | None = None, fileType: str | None = None, etag: Any | None = None, **extra_data: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
uniqueId
|
Default value: None
|
|
fileType
|
Default value: None
|
|
etag
|
Default value: None
|
Attributes
etag
ETag for the file.
etag: Any | None
file_type
Type of file.
file_type: str | None
model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
model_config: ClassVar[ConfigDict] = {'alias_generator': AliasGenerator(alias=None, validation_alias=<staticmethod(<function CustomBaseModel.validation_alias_generator>)>, serialization_alias=<staticmethod(<function CustomBaseModel.serialization_alias_generator>)>), 'arbitrary_types_allowed': True, 'extra': 'allow', 'populate_by_name': True, 'serialize_by_alias': True, 'validate_by_alias': True, 'validate_by_name': True}
unique_id
Unique Id for the file.
unique_id: str | None