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

import Foundation

public struct IdWithType: Codable, Equatable, Identifiable {
    public var id: String
    public var type: `Type`

    /// Type
    public struct `Type`: RawRepresentable, Codable, Equatable {
        public let rawValue: String

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

        public static let video = Self(rawValue: "video")
        public static let image = Self(rawValue: "image")
    }

    public init(id: String, type: `Type`) {
        self.id = id
        self.type = type
    }
}
