Skip to content

Commit

Permalink
Merge pull request #68 from apivideo/Add-clip-object-timecode-descrip…
Browse files Browse the repository at this point in the history
…tions

Update video-clip schema with descriptions
  • Loading branch information
bot-api-video authored Oct 16, 2023
2 parents f250a81 + 0bc0eb2 commit 31589f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/oas_apivideo.yaml-defaut-cli.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
82b644869a006f53bab9fce638d82babbcf438d5667b85e39dfd007344f2afd9
d5f71186fe3b8eda08bc651966e39edc2245b72f430868c1af68505883c25b30
3 changes: 3 additions & 0 deletions Sources/Models/VideoClip.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ import Foundation
import AnyCodable
#endif

/** Use this object to create a smaller clip from a video you upload. - You can only create video clips in the same request where you create the video container. - You cannot update the starting or ending timestamps of a video clip after you created the video container. - When you upload a video file into a container where you defined a starting and ending timestamp, the API trims the video according to those timestamps to create a clip. */
public struct VideoClip: Codable, Hashable {

/** The timestamp that defines the beginning of the video clip you want to create. The value must follow the `HH:MM:SS` format. */
public var startTimecode: String?
/** The timestamp that defines the end of the video clip you want to create. The value must follow the `HH:MM:SS` format. */
public var endTimecode: String?

public init(startTimecode: String? = nil, endTimecode: String? = nil) {
Expand Down
4 changes: 2 additions & 2 deletions docs/VideoClip.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**startTimecode** | **String** | | [optional]
**endTimecode** | **String** | | [optional]
**startTimecode** | **String** | The timestamp that defines the beginning of the video clip you want to create. The value must follow the `HH:MM:SS` format. | [optional]
**endTimecode** | **String** | The timestamp that defines the end of the video clip you want to create. The value must follow the `HH:MM:SS` format. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down

0 comments on commit 31589f4

Please sign in to comment.