SwiftstructAppIntentSchemas

struct AppIntentSchemas.Dialog.Switch

Structure

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

Members 3

  1. fieldlet cases: [AppIntentSchemas.Dialog.SwitchCase<AppIntentSchemas.Value>]+0x8
  2. fieldlet parameters: [AppIntentSchemas.ParameterSchema]+0x0
  3. initinit<A where A: Decodable, A: Encodable, A: Hashable, A: Sendable>(_: AppIntentSchemas.ParameterSchema, cases: () -> [AppIntentSchemas.Dialog.SwitchCase<A>]) -> AppIntentSchemas.Dialog.Switch
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
}