From d676200ea3357c610a8abda47e5f496417bdeb8f Mon Sep 17 00:00:00 2001 From: szekelyzol Date: Fri, 16 Feb 2024 15:09:43 +0000 Subject: [PATCH] Update VideoStatusIngest enum descriptions --- .openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 | 2 +- Sources/Models/VideoStatusIngest.swift | 5 +++-- docs/VideoStatusIngest.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 index cf47e31..ee88061 100644 --- a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 +++ b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 @@ -1 +1 @@ -09cba6da28969c86b96778e25dab3f892246709c244e97aa0d53300dbebe1467 \ No newline at end of file +5678c55d78ebee898e89b47215b59cb855d1997cdda9202292548ec786d8e9f5 \ No newline at end of file diff --git a/Sources/Models/VideoStatusIngest.swift b/Sources/Models/VideoStatusIngest.swift index 768d66a..a965fa8 100644 --- a/Sources/Models/VideoStatusIngest.swift +++ b/Sources/Models/VideoStatusIngest.swift @@ -14,11 +14,12 @@ import AnyCodable public struct VideoStatusIngest: Codable, Hashable { public enum Status: String, Codable, CaseIterable { - case missing = "missing" case uploading = "uploading" case uploaded = "uploaded" + case ingesting = "ingesting" + case ingested = "ingested" } - /** There are three possible ingest statuses. missing - you are missing information required to ingest the video. uploading - the video is in the process of being uploaded. uploaded - the video is ready for use. */ + /** 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. */ public var status: Status? /** The size of your file in bytes. */ public var filesize: Int? diff --git a/docs/VideoStatusIngest.md b/docs/VideoStatusIngest.md index 51bb917..e7df09a 100644 --- a/docs/VideoStatusIngest.md +++ b/docs/VideoStatusIngest.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**status** | **String** | There are three possible ingest statuses. missing - you are missing information required to ingest the video. uploading - the video is in the process of being uploaded. uploaded - the video is ready for use. | [optional] +**status** | **String** | 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. | [optional] **filesize** | **Int** | The size of your file in bytes. | [optional] **receivedBytes** | [BytesRange] | The total number of bytes received, listed for each chunk of the upload. | [optional] **receivedParts** | [**VideoStatusIngestReceivedParts**](VideoStatusIngestReceivedParts.md) | | [optional]