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

import Foundation

public struct FadeClipSpec: Codable, Equatable {
    public var editSessionId: String?
    public var fadeOutShape: FadeOutShape?
    public var fadeOutTime: Double?
    public var projectId: String?

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

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

        public static let q = Self(rawValue: "q")
        public static let t = Self(rawValue: "t")
        public static let l = Self(rawValue: "l")
    }

    public init(editSessionId: String? = nil, fadeOutShape: FadeOutShape? = nil, fadeOutTime: Double? = nil, projectId: String? = nil) {
        self.editSessionId = editSessionId
        self.fadeOutShape = fadeOutShape
        self.fadeOutTime = fadeOutTime
        self.projectId = projectId
    }
}
