Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.27 KB

File metadata and controls

29 lines (22 loc) · 1.27 KB

Phrase::PreTranslation

Properties

Name Type Description Notes
id String [optional]
status String Current execution state of the pre-translation job. Jobs start as `pending` while queued, transition to `running` while executing, and settle to `success` or `error`. [optional]
translatable_type String Resource type that was pre-translated. [optional]
translatable_id String ID of the targeted resource (locale ID, job ID, key ID, or upload ID). [optional]
error String Error message. `null` unless the job's status is `error`. [optional]
created_at Time [optional]
updated_at Time [optional]

Code Sample

require 'Phrase'

instance = Phrase::PreTranslation.new(id: abcd1234cdef1234abcd1234cdef1234,
                                 status: null,
                                 translatable_type: null,
                                 translatable_id: abcd1234cdef1234abcd1234cdef1234,
                                 error: null,
                                 created_at: null,
                                 updated_at: null)