lilt-python

API bindings for the Lilt REST API.

View the Project on GitHub lilt/lilt-python

TranslationInfo

Information describing a batch translation process.

Properties

Name Type Description Notes
id int Unique identifier for this translation. [optional]
file_id int id of the File that is being translated. [optional]
status str Status of the translation - `InProgress`, `ReadyForDownload`, `Completed`, `Failed`. [optional]
created_at int Time when this translation was started, in seconds since the Unix epoch. [optional]
error_msg str Error message, present when status is `Failed`. [optional]

Example

from lilt.models.translation_info import TranslationInfo

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

# convert the object into a dict
translation_info_dict = translation_info_instance.to_dict()
# create an instance of TranslationInfo from a dict
translation_info_from_dict = TranslationInfo.from_dict(translation_info_dict)

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