JobStatus constructor
- @JsonSerializable(includeIfNull: false)
const
JobStatus(
{ - @Default(appBskyVideoDefsJobStatus) @JsonKey(name: r'$type') String $type,
- required String jobId,
- required String did,
- @UJobStatusStateConverter() required UJobStatusState state,
- @Default(0) int progress,
- @BlobConverter() Blob? blob,
- String? error,
- String? message,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory JobStatus({
/// The unique namespace for this lex object.
///
/// `app.bsky.video.defs#jobStatus`
@Default(appBskyVideoDefsJobStatus) @JsonKey(name: r'$type') String $type,
required String jobId,
required String did,
/// The state of the video processing job. All values not listed as a
/// known value indicate that the job is in process.
@UJobStatusStateConverter() required UJobStatusState state,
/// Progress within the current processing state.
@Default(0) int progress,
@BlobConverter() Blob? blob,
String? error,
String? message,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _JobStatus;