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

import Foundation

public struct HooksSectionSchema: Codable, Equatable, Identifiable {
    public var description: String?
    public var id: String
    public var items: [VideoHookSchema]
    public var link: String?
    public var mobileLink: String?
    public var options: [String]?
    public var secondaryOptions: [String]?
    public var secondarySelectedOption: String?
    public var sectionName: String?
    public var sectionType: SectionType?
    public var selectedOption: String?
    public var styleType: String?
    public var title: String

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

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

        public static let hooks = Self(rawValue: "hooks")
    }

    public init(description: String? = nil, id: String, items: [VideoHookSchema], link: String? = nil, mobileLink: String? = nil, options: [String]? = nil, secondaryOptions: [String]? = nil, secondarySelectedOption: String? = nil, sectionName: String? = nil, sectionType: SectionType? = nil, selectedOption: String? = nil, styleType: String? = nil, title: String) {
        self.description = description
        self.id = id
        self.items = items
        self.link = link
        self.mobileLink = mobileLink
        self.options = options
        self.secondaryOptions = secondaryOptions
        self.secondarySelectedOption = secondarySelectedOption
        self.sectionName = sectionName
        self.sectionType = sectionType
        self.selectedOption = selectedOption
        self.styleType = styleType
        self.title = title
    }
}
