Properties
Methods
json
json
Returns a JSON-serializable dictionary representation of the file.Returns:
dictComplete model data including all fieldsto_dict
to_dict
Converts the file metadata to a dictionary.Returns:
dict[str, str]Dictionary with file_name, key, bucket, region, endpoint, suggested_file_name, and file_typefrom_dict
from_dict
get_s3_key
get_s3_key
Returns the full S3 URL for the file.Returns:
strComplete S3 URL in format: https://bucket.s3.region.amazonaws.com/filenameget_file_path
get_file_path
Returns the file path/key within the S3 bucket.Returns:
strThe file_name attribute (S3 object key)