Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 2.01 KB

File metadata and controls

39 lines (32 loc) · 2.01 KB

Phrase::Upload

Properties

Name Type Description Notes
id String [optional]
filename String [optional]
format String [optional]
state String Processing state of the upload: `initialized`, `processing`, `success`, or `error`. `error` means processing failed — for example the file could not be parsed, or a provided `file_format` didn't match the file's actual content. Poll this field until it leaves `initialized`/`processing` to get the final outcome. [optional]
error_message String A user-facing message explaining why the upload failed, or `null` if the upload did not fail. This message is intended for display only. Its wording may change at any time and it should not be parsed or relied upon programmatically. [optional]
tag String Unique tag of the upload [optional]
tags Array<String> List of tags that were assigned to the uploaded keys [optional]
url String The URL to the upload in Phrase Strings app. [optional]
user UserPreview [optional]
summary UploadSummary [optional]
created_at Time [optional]
updated_at Time [optional]

Code Sample

require 'Phrase'

instance = Phrase::Upload.new(id: null,
                                 filename: null,
                                 format: null,
                                 state: null,
                                 error_message: null,
                                 tag: null,
                                 tags: null,
                                 url: null,
                                 user: null,
                                 summary: null,
                                 created_at: null,
                                 updated_at: null)