Skip to content

Latest commit

History

History
30 lines (21 loc) · 935 Bytes

File metadata and controls

30 lines (21 loc) · 935 Bytes

SectionModel

Properties

NameTypeDescriptionNotes
number_of_sectionsint
sectionsList[SingleSectionModel]

Example

fromrevengai.models.section_modelimportSectionModel# TODO update the JSON string belowjson="{}"# create an instance of SectionModel from a JSON stringsection_model_instance=SectionModel.from_json(json)
# print the JSON string representation of the objectprint(SectionModel.to_json())
# convert the object into a dictsection_model_dict=section_model_instance.to_dict()
# create an instance of SectionModel from a dictsection_model_from_dict=SectionModel.from_dict(section_model_dict)

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