Skip to content

Latest commit

 

History

History
57 lines (50 loc) · 2.87 KB

File metadata and controls

57 lines (50 loc) · 2.87 KB

Phrase::JobDetails

Properties

Name Type Description Notes
id String [optional]
name String [optional]
briefing String [optional]
due_date Time [optional]
state String [optional]
ticket_url String [optional]
project ProjectShort [optional]
branch BranchName [optional]
created_at Time [optional]
updated_at Time [optional]
automation_id String The ID of the automation that created this job, or null if the job was created manually. [optional]
job_template_id String The ID of the job template this job was created from, or null if no template was used. [optional]
review_due_date Time The review due date for this job. Returns `null` when the project does not have review workflow enabled. [optional]
owner UserPreview [optional]
job_tag_name String [optional]
source_translations_updated_at Time [optional]
source_locale LocalePreview [optional]
locales Array<LocalePreview> [optional]
keys Array<KeyPreview> [optional]
annotations Array<JobAnnotationShort> Returned only when `include_annotations=true` is supplied on the request. [optional]
locked Boolean `true` if the job has been locked by the project's job-locking workflow (translations attached to the job are read-only until the job advances). [optional]

Code Sample

require 'Phrase'

instance = Phrase::JobDetails.new(id: null,
                                 name: null,
                                 briefing: null,
                                 due_date: null,
                                 state: null,
                                 ticket_url: null,
                                 project: null,
                                 branch: null,
                                 created_at: null,
                                 updated_at: null,
                                 automation_id: null,
                                 job_template_id: null,
                                 review_due_date: 2015-03-25T11:43:52Z,
                                 owner: null,
                                 job_tag_name: null,
                                 source_translations_updated_at: null,
                                 source_locale: null,
                                 locales: null,
                                 keys: null,
                                 annotations: null,
                                 locked: null)