Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.6 KB

JobUpdateParameters.md

File metadata and controls

29 lines (22 loc) · 1.6 KB

Phrase::JobUpdateParameters

Properties

Name Type Description Notes
name String Job name [optional]
briefing String Briefing for the translators. Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there. [optional]
due_date Time Date the job should be finished [optional]
review_due_date Time Date the review of the job should be finished. Must not be before `due_date`. [optional]
ticket_url String URL to a ticket for this job (e.g. Jira, Trello) Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there. [optional]
target_locale_ids Array<String> List of target locales for the job. [optional]
autotranslate Boolean Automatically translate the job using machine translation [optional]

Code Sample

require 'phrase'

instance = Phrase::JobUpdateParameters.new(name: 'de',
                                 briefing: 'de-DE',
                                 due_date: nil,
                                 review_due_date: nil,
                                 ticket_url: 'https://example.atlassian.net/browse/FOO',
                                 target_locale_ids: ["abcd1234cdef1234abcd1234cdef1234"],
                                 autotranslate: true)