Skip to content

Latest commit

History

History
38 lines (29 loc) · 1.73 KB

File metadata and controls

38 lines (29 loc) · 1.73 KB

FunctionDataType

Properties

NameTypeDescriptionNotes
created_atdatetimeWhen this type was extracted.
data_type_idintIdentifies the type within its analysis. 0 is a valid id.
definitionFunctionTypeDefinitionAbsent only for a type referenced but never defined.[optional]
has_definitionboolWhether this type carries a definition. False for the kinds that never have one and for a type referenced but never defined.
kindstr
namestrType name.
namespacestrThe scope qualifying the type name. Empty for a program-defined type.
sizeintSize in bytes, absent when it could not be determined.[optional]
source_function_idintThe function this type was copied from, when transferred rather than extracted.[optional]
source_typestrWhere this type came from.

Example

fromrevengai.models.function_data_typeimportFunctionDataType# TODO update the JSON string belowjson="{}"# create an instance of FunctionDataType from a JSON stringfunction_data_type_instance=FunctionDataType.from_json(json)
# print the JSON string representation of the objectprint(FunctionDataType.to_json())
# convert the object into a dictfunction_data_type_dict=function_data_type_instance.to_dict()
# create an instance of FunctionDataType from a dictfunction_data_type_from_dict=FunctionDataType.from_dict(function_data_type_dict)

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