1using System.Runtime.Serialization;
13 [EnumMember(Value =
"Unknown")]
16 [EnumMember(Value =
"Ready")]
19 [EnumMember(Value =
"Uploading")]
22 [EnumMember(Value =
"Processing")]
25 [EnumMember(Value =
"Processing Successful")]
28 [EnumMember(Value =
"Processing Failed")]
33 [DataMember(Order = 2, Name =
"status")]
38 status = value == LegacyStatus.Unknown ? TaskStatus.Unknown :
39 value == LegacyStatus.Awaiting_Upload ? TaskStatus.Awaiting_Upload :
40 value == LegacyStatus.Uploading ? TaskStatus.Uploading :
41 value == LegacyStatus.Processing ? TaskStatus.Processing :
42 value == LegacyStatus.Success ? TaskStatus.Success :
43 value == LegacyStatus.Failed ? TaskStatus.Failed :
53 [DataMember(Order = 3)]
57 [DataMember(Order = 4)]
62 [DataMember(Order = 5)]
67 [DataMember(Order = 6)]
Base class used by all types and resources.
Indicates the status of a data endpoint.
double? commit_progress
If the file is being processed, this is the percentage completion of the processing task.
LegacyStatus
The status of a data upload which may be in progress.
@ Awaiting_Upload
No data upload has been initiated. Ready for upload.
@ Uploading
Data upload has been initiated, but not yet committed.
@ Success
Data has already been uploaded and successfully processed.
@ Processing
Data has already been uploaded and is being processed.
@ Unknown
Cannot determine the status of this data endpoint.
@ Failed
Data has already been uploaded but failed processing.
TaskStatus status
The state of the data upload, as an enumeration.
string commit_error
If the processing of the file failed, the error message reported by the server.
long? bytes_uploaded
The number of bytes that have been uploaded by the client so far.
long? total_bytes
Total number of bytes in the file to be uploaded.
TaskStatus
The status of a data upload which may be in progress.