Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.54 KB

RepoSyncEvent.md

File metadata and controls

31 lines (24 loc) · 1.54 KB

Phrase::RepoSyncEvent

Properties

Name Type Description Notes
id String [optional]
type String [optional]
created_at Time [optional]
status String [optional]
pull_request_url String URL of the pull request created on export [optional]
auto_import Boolean Whether the import was triggered by the repo push event [optional]
errors Array<String> List of error messages, in case of failure [optional]
uploads Array<RepoSyncEventUploadsInner> The uploads associated with this import event, or `null` if no upload batch has been created yet. Each entry identifies a single file upload by its public code (`id`) and its current public state (`state`). Present on show responses only; absent from list responses. Possible `state` values: `initialized`, `waiting_for_preview`, `processing`, `success`, `error`. [optional]

Code Sample

require 'phrase'

instance = Phrase::RepoSyncEvent.new(id: nil,
                                 type: nil,
                                 created_at: nil,
                                 status: nil,
                                 pull_request_url: nil,
                                 auto_import: nil,
                                 errors: nil,
                                 uploads: nil)