You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Models/Video.swift
+20-5Lines changed: 20 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,25 @@ public struct Video: Codable, Hashable {
14
14
15
15
/** The unique identifier of the video object. */
16
16
publicvarvideoId:String
17
-
/** When a video was created, presented in ISO-8601 format. */
17
+
/** When a video was created, presented in ATOM UTC format. */
18
18
publicvarcreatedAt:Date?
19
19
/** The title of the video content. */
20
20
publicvartitle:String?
21
21
/** A description for the video content. */
22
22
publicvardescription:String?
23
-
/** The date and time the API created the video. Date and time are provided using ISO-8601 UTC format. */
23
+
/** The date and time the API created the video. Date and time are provided using ATOM UTC format. */
24
24
publicvarpublishedAt:Date?
25
-
/** The date and time the video was updated. Date and time are provided using ISO-8601 UTC format. */
25
+
/** The date and time the video was updated. Date and time are provided using ATOM UTC format. */
26
26
publicvarupdatedAt:Date?
27
+
/** The date and time the video was discarded. The API populates this field only if you have the Video Restore feature enabled and discard a video. Date and time are provided using ATOM UTC format. */
28
+
publicvardiscardedAt:Date?
29
+
/** The date and time the video will be permanently deleted. The API populates this field only if you have the Video Restore feature enabled and discard a video. Discarded videos are pemanently deleted after 90 days. Date and time are provided using ATOM UTC format. */
30
+
publicvardeletesAt:Date?
31
+
/** Returns `true` for videos you discarded when you have the Video Restore feature enabled. Returns `false` for every other video. */
32
+
publicvardiscarded:Bool?
27
33
/** One array of tags (each tag is a string) in order to categorize a video. Tags may include spaces. */
28
34
publicvartags:[String]?
29
-
/** Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair. */
35
+
/** Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. */
30
36
publicvarmetadata:[Metadata]?
31
37
publicvarsource:VideoSource?
32
38
publicvarassets:VideoAssets?
@@ -39,13 +45,16 @@ public struct Video: Codable, Hashable {
39
45
/** This lets you know whether mp4 is supported. If enabled, an mp4 URL will be provided in the response for the video. */
**videoId** | **String** | The unique identifier of the video object. |
7
-
**createdAt** | **Date** | When a video was created, presented in ISO-8601 format. | [optional]
7
+
**createdAt** | **Date** | When a video was created, presented in ATOM UTC format. | [optional]
8
8
**title** | **String** | The title of the video content. | [optional]
9
9
**description** | **String** | A description for the video content. | [optional]
10
-
**publishedAt** | **Date** | The date and time the API created the video. Date and time are provided using ISO-8601 UTC format. | [optional]
11
-
**updatedAt** | **Date** | The date and time the video was updated. Date and time are provided using ISO-8601 UTC format. | [optional]
10
+
**publishedAt** | **Date** | The date and time the API created the video. Date and time are provided using ATOM UTC format. | [optional]
11
+
**updatedAt** | **Date** | The date and time the video was updated. Date and time are provided using ATOM UTC format. | [optional]
12
+
**discardedAt** | **Date** | The date and time the video was discarded. The API populates this field only if you have the Video Restore feature enabled and discard a video. Date and time are provided using ATOM UTC format. | [optional]
13
+
**deletesAt** | **Date** | The date and time the video will be permanently deleted. The API populates this field only if you have the Video Restore feature enabled and discard a video. Discarded videos are pemanently deleted after 90 days. Date and time are provided using ATOM UTC format. | [optional]
14
+
**discarded** | **Bool** | Returns `true` for videos you discarded when you have the Video Restore feature enabled. Returns `false` for every other video. | [optional]
12
15
**tags** | **[String]** | One array of tags (each tag is a string) in order to categorize a video. Tags may include spaces. | [optional]
13
-
**metadata** | [Metadata] | Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair. | [optional]
16
+
**metadata** | [Metadata] | Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. | [optional]
0 commit comments