// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation

public struct VideoCoverSchema: Codable, Equatable {
    /// GeneratedClipSchema
    public var clip: GeneratedClipSchema
    public var videoCoverStatus: VideoCoverStatus

    public struct VideoCoverStatus: RawRepresentable, Codable, Equatable {
        public let rawValue: String

        public init(rawValue: String) {
            self.rawValue = rawValue
        }

        public static let uploading = Self(rawValue: "uploading")
        public static let processing = Self(rawValue: "processing")
        public static let error = Self(rawValue: "error")
        public static let saved = Self(rawValue: "saved")
        public static let removed = Self(rawValue: "removed")
    }

    public init(clip: GeneratedClipSchema, videoCoverStatus: VideoCoverStatus) {
        self.clip = clip
        self.videoCoverStatus = videoCoverStatus
    }
}
