Skip to content

Latest commit

History

History
40 lines (31 loc) · 1.37 KB

File metadata and controls

40 lines (31 loc) · 1.37 KB

Example

Properties

NameTypeDescriptionNotes
analysis_idintAnalysis ID
analysis_scopestrScope of the analysis (always PUBLIC for examples)
binary_idintBinary ID
binary_namestrBinary filename
binary_sizeintBinary size in bytes
creationdatetimeWhen the analysis was created
is_ownerboolTrue when the caller owns the analysis
model_idintModel ID
sha_256_hashstrSHA-256 hash of the binary
statusstrAnalysis status
tagsList[str]Tags associated with this binary
usernamestrUsername of the analysis owner

Example

fromrevengai.models.exampleimportExample# TODO update the JSON string belowjson="{}"# create an instance of Example from a JSON stringexample_instance=Example.from_json(json)
# print the JSON string representation of the objectprint(Example.to_json())
# convert the object into a dictexample_dict=example_instance.to_dict()
# create an instance of Example from a dictexample_from_dict=Example.from_dict(example_dict)

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