lilt-python

API bindings for the Lilt REST API.

View the Project on GitHub lilt/lilt-python

DocumentWithoutSegments

A Document is a collection of zero or more Segments.

Properties

Name Type Description Notes
id int A unique number identifying the Document. [optional]
project_id int A unique number identifying the Project. [optional]
srclang str An ISO 639-1 language identifier. [optional]
trglang str An ISO 639-1 language identifier. [optional]
name str The document name. [optional]
import_in_progress bool True if the document is currently being imported [optional]
import_succeeded bool True if the import process succeeded. [optional]
import_error_message str Error message if `import_succeeded=false` [optional]
export_in_progress bool True if the document is currently being exported for download [optional]
export_succeeded bool True if the export process succeeded. [optional]
export_error_message str Error message if `export_succeeded=false` [optional]
is_pretranslating bool True if the document is currently being pretranslated. [optional]
status DocumentWithoutSegmentsStatus   [optional]
translator_email str The email of the assigned translator. [optional]
reviewer_email str The email of the assigned reviewer. [optional]
customer_reviewer_email str The email of the assigned customer reviewer. Only present if the project was request by id. [optional]
created_at int Time at which the object was created. Measured in seconds since the Unix epoch. [optional]
updated_at int Time at which the object was created. Measured in seconds since the Unix epoch. [optional]
is_review_complete bool Document review status. [optional]

Example

from lilt.models.document_without_segments import DocumentWithoutSegments

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

# convert the object into a dict
document_without_segments_dict = document_without_segments_instance.to_dict()
# create an instance of DocumentWithoutSegments from a dict
document_without_segments_from_dict = DocumentWithoutSegments.from_dict(document_without_segments_dict)

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