/** * @api.video/nodejs-client * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated. * Do not edit the class manually. */ import AttributeType from './AttributeType.js'; import BytesRange from './BytesRange.js'; import VideoStatusIngestReceivedParts from './VideoStatusIngestReceivedParts.js'; /** * Details about the capturing, transferring, and storing of your video for use immediately or in the future. */ export default class VideoStatusIngest { /** * There are four possible statuses depending on how you provide a video file: - `uploading` - the API is gathering the video source file from an upload. - `uploaded` - the video file is fully uploaded. - `ingesting` - the API is gathering the video source file from either a URL, or from cloning. - `ingested` - the video file is fully stored. */ 'status'?: VideoStatusIngestStatusEnum; /** * The size of your file in bytes. */ 'filesize'?: number; /** * The total number of bytes received, listed for each chunk of the upload. */ 'receivedBytes'?: Array; 'receivedParts'?: VideoStatusIngestReceivedParts; static readonly discriminator?: string = undefined; static readonly attributeTypeMap: Array = [ { name: 'status', baseName: 'status', type: 'VideoStatusIngestStatusEnum', format: '', }, { name: 'filesize', baseName: 'filesize', type: 'number', format: '', }, { name: 'receivedBytes', baseName: 'receivedBytes', type: 'Array', format: '', }, { name: 'receivedParts', baseName: 'receivedParts', type: 'VideoStatusIngestReceivedParts', format: '', }, ]; static getAttributeTypeMap(): Array { return VideoStatusIngest.attributeTypeMap; } } export type VideoStatusIngestStatusEnum = | 'uploading' | 'uploaded' | 'ingesting' | 'ingested';