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

Name Type Description Notes
size int
friendly_size str
entropy float
hashes FileHashes

Example

from revengai.models.file_metadata import FileMetadata

# TODO update the JSON string below
json = "{}"
# create an instance of FileMetadata from a JSON string
file_metadata_instance = FileMetadata.from_json(json)
# print the JSON string representation of the object
print(FileMetadata.to_json())

# convert the object into a dict
file_metadata_dict = file_metadata_instance.to_dict()
# create an instance of FileMetadata from a dict
file_metadata_from_dict = FileMetadata.from_dict(file_metadata_dict)

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