Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.22 KB

File metadata and controls

36 lines (27 loc) · 1.22 KB

JSONFile

JSON File

Properties

Name Type Description Notes
legislation_text_id int unique identifier of LegislationText [optional]
text_format_id int unique identifier of TextFormat [optional]
text_format str Text Format (e.g. PDF) [optional]
file_url str Azure Blob Storage URL [optional]
reference_number str Reference Number [optional]
session_id int internal SessionID [optional]
description str Description [optional]

Example

from valis.models.json_file import JSONFile

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

# convert the object into a dict
json_file_dict = json_file_instance.to_dict()
# create an instance of JSONFile from a dict
json_file_from_dict = JSONFile.from_dict(json_file_dict)

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