SwiftstructAppIntentSchemas
struct AppIntentSchemas.Dialog.Switch
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolAppIntentSchemas.DialogStatement
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 3
- field
let cases: [AppIntentSchemas.Dialog.SwitchCase<AppIntentSchemas.Value>]+0x8 - field
let parameters: [AppIntentSchemas.ParameterSchema]+0x0 - init
init<A where A: Decodable, A: Encodable, A: Hashable, A: Sendable>(_: AppIntentSchemas.ParameterSchema, cases: () -> [AppIntentSchemas.Dialog.SwitchCase<A>]) -> AppIntentSchemas.Dialog.Switch
Header
struct AppIntentSchemas.Dialog.Switch { enum CodingKeys { case parameters case cases } let parameters: [AppIntentSchemas.ParameterSchema] let cases: [AppIntentSchemas.Dialog.SwitchCase<AppIntentSchemas.Value>] init<A>(_: AppIntentSchemas.ParameterSchema, cases: () -> [AppIntentSchemas.Dialog.SwitchCase<A>]) where A: Swift.Decodable, A: Swift.Encodable, A: Swift.Hashable, A: Swift.Sendable }