VideoStartUploadInput constructor

const VideoStartUploadInput({
  1. required int sizeBytes,
  2. required String mimeType,
  3. String? name,
  4. int? durationMs,
  5. int? width,
  6. int? height,
  7. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory VideoStartUploadInput({
  /// Exact byte size of the complete upload-ready video file before it is split into parts.
  required int sizeBytes,

  /// Declared MIME type of the video.
  required String mimeType,

  /// Optional client-provided file name.
  String? name,

  /// Advisory, non-authoritative duration used only for early failure; the authoritative probe runs asynchronously after upload.
  int? durationMs,

  /// Advisory, non-authoritative width used only for early failure; the authoritative probe runs asynchronously after upload.
  int? width,

  /// Advisory, non-authoritative height used only for early failure; the authoritative probe runs asynchronously after upload.
  int? height,

  Map<String, dynamic>? $unknown,
}) = _VideoStartUploadInput;