SwiftenumSiriVideoIntents

enum SiriVideoIntents.VideoDataModels

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 7

  1. varstatic var bundleName: String { get }
  2. casecase confirmationView(SiriVideoIntents.VideoDataModels.ConfirmationViewModel)
  3. casecase disambiguationList(SiriVideoIntents.VideoDataModels.DisambiguateItemsModel)
  4. casecase resultsListView(SiriVideoIntents.VideoDataModels.ResultsListModel)
  5. casecase standardButtonView(SiriVideoIntents.VideoDataModels.ButtonModel)
  6. casecase videoResultDisambiguationList(SiriVideoIntents.VideoDataModels.VideoResultDisambiguationModel)
  7. funcsnippetHidden(for: SiriUtilities.ResponseMode, idiom: SiriUtilities.DeviceIdiom) -> Bool
enum VideoDataModels {
    struct VideoResult {
        enum CodingKeys {
            case id
            case title
            case metadataPreamble
            case inTheatersDetail
            case contentRatingValue
            case contentRatingSystem
            case image
            case actionProperty
            case description
        }
        init(id: Swift.String, title: Swift.String, metadataPreamble: Swift.String?, inTheatersDetail: Swift.String?, contentRatingValue: Swift.String?, contentRatingSystem: Swift.String?, image: Foundation.URL?, actionProperty: SnippetKit.ActionProperty?, description: Swift.String?)
        init(dict: [Swift.String : Any])

        @SnippetKit.Loggable var actionProperty: SnippetKit.ActionProperty? {
            get
            set
        }
        @SnippetKit.Loggable var contentRatingSystem: Swift.String? {
            get
            set
        }
        @SnippetKit.Loggable var contentRatingValue: Swift.String? {
            get
            set
        }
        @SnippetKit.Loggable var description: Swift.String? {
            get
            set
        }
        @SnippetKit.Loggable var id: Swift.String? {
            get
            set
        }
        @SnippetKit.Loggable var image: Foundation.URL? {
            get
            set
        }
        @SnippetKit.Loggable var inTheatersDetail: Swift.String? {
            get
            set
        }
        @SnippetKit.Loggable var metadataPreamble: Swift.String? {
            get
            set
        }
        @SnippetKit.Loggable var title: Swift.String? {
            get
            set
        }

        func asDict() -> [Swift.String : Swift.String]
    }
    struct PersonModel {
        enum CodingKeys {
            case name
            case details
            case imageUrl
            case actionProperty
        }
        init(name: Swift.String, details: Swift.String, imageUrl: Foundation.URL?, actionProperty: SnippetKit.ActionProperty?)

        @SnippetKit.Loggable var actionProperty: SnippetKit.ActionProperty? {
            get
            set
        }
        @SnippetKit.Loggable var details: Swift.String {
            get
            set
        }
        @SnippetKit.Loggable var imageUrl: Foundation.URL? {
            get
            set
        }
        @SnippetKit.Loggable var name: Swift.String {
            get
            set
        }
    }
    struct ResultsListModel {
        enum CodingKeys {
            case results
            case person
            case header
        }
        init(results: [SiriVideoIntents.VideoDataModels.VideoResult], person: SiriVideoIntents.VideoDataModels.PersonModel?, header: Swift.String?)

        @SnippetKit.Loggable var header: Swift.String? {
            get
            set
        }
        @SnippetKit.Loggable var person: SiriVideoIntents.VideoDataModels.PersonModel? {
            get
            set
        }
        @SnippetKit.Loggable var results: [SiriVideoIntents.VideoDataModels.VideoResult] {
            get
            set
        }
    }
    struct BasicDisambiguationItem {
        enum Thumbnail {
            enum CodingKeys {
                case image
                case appIcon
                case appleTV
                case matchpointClassic
                case matchpointSetTopBox
                case matchpointStreamingStick
            }
            enum ImageCodingKeys {
                case _0
            }
            enum AppIconCodingKeys {
                case _0
            }
            enum AppleTVCodingKeys {}
            enum MatchpointClassicCodingKeys {}
            enum MatchpointSetTopBoxCodingKeys {}
            enum MatchpointStreamingStickCodingKeys {}
            case image(Foundation.URL)
            case appIcon(Swift.String)
            case appleTV
            case matchpointClassic
            case matchpointSetTopBox
            case matchpointStreamingStick

            static func __derived_enum_equals(_: SiriVideoIntents.VideoDataModels.BasicDisambiguationItem.Thumbnail, _: SiriVideoIntents.VideoDataModels.BasicDisambiguationItem.Thumbnail) -> Swift.Bool
        }
        enum CodingKeys {
            case id
            case displayText
            case text2
            case thumbnail
            case actionProperty
        }
        init(id: Swift.String, displayText: Swift.String?, text2: Swift.String?, thumbnail: SiriVideoIntents.VideoDataModels.BasicDisambiguationItem.Thumbnail?, actionProperty: SnippetKit.ActionProperty?)

        @SnippetKit.Loggable var actionProperty: SnippetKit.ActionProperty? {
            get
            set
        }
        @SnippetKit.Loggable var displayText: Swift.String? {
            get
            set
        }
        @SnippetKit.Loggable var id: Swift.String {
            get
            set
        }
        @SnippetKit.Loggable var text2: Swift.String? {
            get
            set
        }
        @SnippetKit.Loggable var thumbnail: SiriVideoIntents.VideoDataModels.BasicDisambiguationItem.Thumbnail? {
            get
            set
        }
    }
    struct DisambiguateItemsModel {
        enum CodingKeys {
            case systemText
            case items
            case viewId
        }
        init(systemText: Swift.String, items: [SiriVideoIntents.VideoDataModels.BasicDisambiguationItem], viewId: SiriVideoIntents.ResponseViewIDs)

        @SnippetKit.Loggable var items: [SiriVideoIntents.VideoDataModels.BasicDisambiguationItem] {
            get
            set
        }
        @SnippetKit.Loggable var systemText: Swift.String {
            get
            set
        }
        @SnippetKit.Loggable var viewId: SiriVideoIntents.ResponseViewIDs {
            get
            set
        }
    }
    struct VideoResultDisambiguationModel {
        enum CodingKeys {
            case systemText
            case resultsListModel
        }
        init(systemText: Swift.String, resultsListModel: SiriVideoIntents.VideoDataModels.ResultsListModel)

        @SnippetKit.Loggable var resultsListModel: SiriVideoIntents.VideoDataModels.ResultsListModel {
            get
            set
        }
        @SnippetKit.Loggable var systemText: Swift.String {
            get
            set
        }
    }
    struct ConfirmationViewModel {
        enum CodingKeys {
            case primaryAction
            case primaryLabel
            case secondaryAction
            case secondaryLabel
        }
        init(primaryAction: SnippetKit.ActionProperty, primaryLabel: Swift.String, secondaryAction: SnippetKit.ActionProperty, secondaryLabel: Swift.String)

        @SnippetKit.Loggable var primaryAction: SnippetKit.ActionProperty {
            get
            set
        }
        @SnippetKit.Loggable var primaryLabel: Swift.String {
            get
            set
        }
        @SnippetKit.Loggable var secondaryAction: SnippetKit.ActionProperty {
            get
            set
        }
        @SnippetKit.Loggable var secondaryLabel: Swift.String {
            get
            set
        }
    }
    struct ButtonModel {
        enum CodingKeys {
            case label
            case actionProperty
        }
        init(label: Swift.String, actionProperty: SnippetKit.ActionProperty)

        @SnippetKit.Loggable var actionProperty: SnippetKit.ActionProperty {
            get
            set
        }
        @SnippetKit.Loggable var label: Swift.String {
            get
            set
        }
    }
    enum CodingKeys {
        case resultsListView
        case disambiguationList
        case videoResultDisambiguationList
        case confirmationView
        case standardButtonView
    }
    enum ResultsListViewCodingKeys {
        case _0
    }
    enum DisambiguationListCodingKeys {
        case _0
    }
    enum VideoResultDisambiguationListCodingKeys {
        case _0
    }
    enum ConfirmationViewCodingKeys {
        case _0
    }
    enum StandardButtonViewCodingKeys {
        case _0
    }
    case resultsListView(SiriVideoIntents.VideoDataModels.ResultsListModel)
    case disambiguationList(SiriVideoIntents.VideoDataModels.DisambiguateItemsModel)
    case videoResultDisambiguationList(SiriVideoIntents.VideoDataModels.VideoResultDisambiguationModel)
    case confirmationView(SiriVideoIntents.VideoDataModels.ConfirmationViewModel)
    case standardButtonView(SiriVideoIntents.VideoDataModels.ButtonModel)

    func snippetHidden(for: SiriUtilities.ResponseMode, idiom: SiriUtilities.DeviceIdiom) -> Swift.Bool

    static let bundleName: Swift.String
}