Skip to content

Latest commit

History

History
32 lines (23 loc) · 961 Bytes

File metadata and controls

32 lines (23 loc) · 961 Bytes

FileMetadata

Properties

NameTypeDescriptionNotes
sizeint
friendly_sizestr
entropyfloat
hashesFileHashes

Example

fromrevengai.models.file_metadataimportFileMetadata# TODO update the JSON string belowjson="{}"# create an instance of FileMetadata from a JSON stringfile_metadata_instance=FileMetadata.from_json(json)
# print the JSON string representation of the objectprint(FileMetadata.to_json())
# convert the object into a dictfile_metadata_dict=file_metadata_instance.to_dict()
# create an instance of FileMetadata from a dictfile_metadata_from_dict=FileMetadata.from_dict(file_metadata_dict)

[Back to Model list][Back to API list][Back to README]