Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.17 KB

File metadata and controls

29 lines (22 loc) · 1.17 KB

Phrase::JobUpdateParameters

Properties

Name Type Description Notes
branch String specify the branch to use [optional]
name String Job name [optional]
briefing String Briefing for the translators [optional]
due_date Time Date the job should be finished [optional]
ticket_url String URL to a ticket for this job (e.g. Jira, Trello) [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(branch: 'my-feature-branch',
                                 name: 'de',
                                 briefing: 'de-DE',
                                 due_date: nil,
                                 ticket_url: 'https://example.atlassian.net/browse/FOO',
                                 target_locale_ids: ["abcd1234cdef1234abcd1234cdef1234"],
                                 autotranslate: true)