SwiftstructAppIntentSchemas

struct AppIntentSchemas.IntentSchema

Structure

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

Members 32

  1. fieldlet _authenticationPolicy: AppIntentSchemas.AuthenticationPolicy?+0xf8
  2. fieldlet _constraints: [AppIntentSchemas.SchemaConstraint]
  3. fieldlet _description: String+0xc8
  4. fieldlet _openApp: Bool+0xd8
  5. fieldlet _parameters: [AppIntentSchemas.ParameterSchema]+0x128
  6. fieldlet _requiredEntitlements: Set<String>?
  7. fieldlet _result: AppIntentSchemas.ValueType?
  8. fieldlet _summary: AppIntentSchemas.ParameterSummary?+0x100
  9. fieldlet _supportedModes: AppIntentSchemas.IntentModes+0xf0
  10. fieldlet _supportsLoopExecutionOn: String?+0xe0
  11. fieldlet _systemProtocols: [AppIntentSchemas.IntentSystemProtocol]+0x130
  12. fieldlet _title: String+0xb8
  13. fieldlet _utterances: [AppIntentSchemas.UtteranceSchema]
  14. fieldlet availability: AppIntentSchemas.Availability?+0x38
  15. fieldlet deprecated: AppIntentSchemas.Deprecated?+0x98
  16. fieldlet domainID: String+0x10
  17. fieldlet id: String+0x0
  18. fieldlet version: AppIntentSchemas.Version+0x20
  19. fieldlet visibility: AppIntentSchemas.DomainVisibility?
  20. funcavailable(AppIntentSchemas.Availability) -> AppIntentSchemas.IntentSchema
  21. funcdeprecated(in: Double?, message: String) -> AppIntentSchemas.IntentSchema
  22. funcparameters(parameters: () -> (AppIntentSchemas.ParameterSummary?, [AppIntentSchemas.ParameterSchema])) -> AppIntentSchemas.IntentSchema
  23. funcresult(AppIntentSchemas.ValueType?) -> AppIntentSchemas.IntentSchema
  24. funcsupportsLoopExecution(on: AppIntentSchemas.ParameterSchema?) -> AppIntentSchemas.IntentSchema
  25. funcsystemProtocols([AppIntentSchemas.IntentSystemProtocol]) -> AppIntentSchemas.IntentSchema
  26. funcversion(AppIntentSchemas.Version) -> AppIntentSchemas.IntentSchema
  27. funcvisibility(AppIntentSchemas.DomainVisibility) -> AppIntentSchemas.IntentSchema
  28. initinit(changeType: AppIntentSchemas.Version.ChangeType, baseSchema: AppIntentSchemas.IntentSchema, title: String?, description: String?, parameters: () -> [AppIntentSchemas.Parameter]?, openApp: Bool?, supportedModes: AppIntentSchemas.IntentModes?, authenticationPolicy: AppIntentSchemas.AuthenticationPolicy?, constraints: () -> [AppIntentSchemas.SchemaConstraint]?, systemProtocols: [AppIntentSchemas.IntentSystemProtocol]?, result: AppIntentSchemas.ValueType?, requiredEntitlements: Set<String>?, utterances: () -> [AppIntentSchemas.UtteranceSchema]?) -> AppIntentSchemas.IntentSchema
  29. initinit(changeType: AppIntentSchemas.Version.ChangeType, baseSchema: AppIntentSchemas.IntentSchema, title: String?, description: String?, parameters: () -> [AppIntentSchemas.Parameter]?, openApp: Bool?, supportsLoopExecutionOn: AppIntentSchemas.ParameterSchema?, supportedModes: AppIntentSchemas.IntentModes?, authenticationPolicy: AppIntentSchemas.AuthenticationPolicy?, constraints: () -> [AppIntentSchemas.SchemaConstraint]?, systemProtocols: [AppIntentSchemas.IntentSystemProtocol]?, result: AppIntentSchemas.ValueType?, requiredEntitlements: Set<String>?, utterances: () -> [AppIntentSchemas.UtteranceSchema]?) -> AppIntentSchemas.IntentSchema
  30. initinit<A where A: AppIntentSchemas.DomainTable>(_: A, title: String, description: String, parameters: () -> (AppIntentSchemas.ParameterSummary?, [AppIntentSchemas.ParameterSchema]), openApp: Bool, supportsLoopExecutionOn: AppIntentSchemas.ParameterSchema?, supportedModes: AppIntentSchemas.IntentModes, authenticationPolicy: AppIntentSchemas.AuthenticationPolicy, constraints: () -> [AppIntentSchemas.SchemaConstraint], systemProtocols: [AppIntentSchemas.IntentSystemProtocol], result: AppIntentSchemas.ValueType?, requiredEntitlements: Set<String>?, visibility: AppIntentSchemas.DomainVisibility?, version: AppIntentSchemas.Version, utterances: () -> [AppIntentSchemas.UtteranceSchema]) -> AppIntentSchemas.IntentSchema
  31. typealiastypealias Modifier = Modifier
  32. varvar _visibility: AppIntentSchemas.DomainVisibility { get }
struct IntentSchema {
    enum CodingKeys {
        case id
        case domainID
        case versionMajor
        case versionMinor
        case versionPatch
        case availability
        case deprecated
        case _title
        case _description
        case _openApp
        case _supportsLoopExecutionOn
        case _supportedModes
        case _authenticationPolicy
        case _summary
        case _parameters
        case _systemProtocols
        case _result
        case _visibility
        case _constraints
        case _requiredEntitlements
    }
    struct Modifier {
        var id: Swift.String
        var domainID: Swift.String
        var version: AppIntentSchemas.Version
        var availability: AppIntentSchemas.Availability?
        var deprecated: AppIntentSchemas.Deprecated?
        var title: Swift.String
        var description: Swift.String
        var summary: (any AppIntentSchemas.ParameterSummary)?
        var parameters: [AppIntentSchemas.ParameterSchema]
        var openApp: Swift.Bool
        var supportsLoopExecutionOn: Swift.String?
        var supportedModes: AppIntentSchemas.IntentModes
        var authenticationPolicy: AppIntentSchemas.AuthenticationPolicy?
        var constraints: [AppIntentSchemas.SchemaConstraint]
        var systemProtocols: [AppIntentSchemas.IntentSystemProtocol]
        var result: AppIntentSchemas.ValueType?
        var utterances: [AppIntentSchemas.UtteranceSchema]
        var visibility: AppIntentSchemas.DomainVisibility?
        var requiredEntitlements: Swift.Set<Swift.String>?
    }
    let id: Swift.String
    let domainID: Swift.String
    let version: AppIntentSchemas.Version
    let availability: AppIntentSchemas.Availability?
    let deprecated: AppIntentSchemas.Deprecated?
    let _title: Swift.String
    let _description: Swift.String
    let _openApp: Swift.Bool
    let _supportsLoopExecutionOn: Swift.String?
    let _supportedModes: AppIntentSchemas.IntentModes
    let _authenticationPolicy: AppIntentSchemas.AuthenticationPolicy?
    let _summary: (any AppIntentSchemas.ParameterSummary)?
    let _parameters: [AppIntentSchemas.ParameterSchema]
    let _systemProtocols: [AppIntentSchemas.IntentSystemProtocol]
    let _result: AppIntentSchemas.ValueType?
    let _utterances: [AppIntentSchemas.UtteranceSchema]
    let _constraints: [AppIntentSchemas.SchemaConstraint]
    let _requiredEntitlements: Swift.Set<Swift.String>?
    let visibility: AppIntentSchemas.DomainVisibility?

    init(changeType: AppIntentSchemas.Version.ChangeType, baseSchema: AppIntentSchemas.IntentSchema, title: Swift.String?, description: Swift.String?, parameters: () -> [any AppIntentSchemas.Parameter]?, openApp: Swift.Bool?, supportedModes: AppIntentSchemas.IntentModes?, authenticationPolicy: AppIntentSchemas.AuthenticationPolicy?, constraints: () -> [AppIntentSchemas.SchemaConstraint]?, systemProtocols: [AppIntentSchemas.IntentSystemProtocol]?, result: AppIntentSchemas.ValueType?, requiredEntitlements: Swift.Set<Swift.String>?, utterances: () -> [AppIntentSchemas.UtteranceSchema]?)
    init(changeType: AppIntentSchemas.Version.ChangeType, baseSchema: AppIntentSchemas.IntentSchema, title: Swift.String?, description: Swift.String?, parameters: () -> [any AppIntentSchemas.Parameter]?, openApp: Swift.Bool?, supportsLoopExecutionOn: AppIntentSchemas.ParameterSchema?, supportedModes: AppIntentSchemas.IntentModes?, authenticationPolicy: AppIntentSchemas.AuthenticationPolicy?, constraints: () -> [AppIntentSchemas.SchemaConstraint]?, systemProtocols: [AppIntentSchemas.IntentSystemProtocol]?, result: AppIntentSchemas.ValueType?, requiredEntitlements: Swift.Set<Swift.String>?, utterances: () -> [AppIntentSchemas.UtteranceSchema]?)
    init<A>(_: A, title: Swift.String, description: Swift.String, parameters: () -> ((any AppIntentSchemas.ParameterSummary)?, [AppIntentSchemas.ParameterSchema]), openApp: Swift.Bool, supportsLoopExecutionOn: AppIntentSchemas.ParameterSchema?, supportedModes: AppIntentSchemas.IntentModes, authenticationPolicy: AppIntentSchemas.AuthenticationPolicy, constraints: () -> [AppIntentSchemas.SchemaConstraint], systemProtocols: [AppIntentSchemas.IntentSystemProtocol], result: AppIntentSchemas.ValueType?, requiredEntitlements: Swift.Set<Swift.String>?, visibility: AppIntentSchemas.DomainVisibility?, version: AppIntentSchemas.Version, utterances: () -> [AppIntentSchemas.UtteranceSchema]) where A: AppIntentSchemas.DomainTable

    var _visibility: AppIntentSchemas.DomainVisibility {
        get
    }

    func deprecated(in: Swift.Double?, message: Swift.String) -> AppIntentSchemas.IntentSchema
    func parameters(parameters: () -> ((any AppIntentSchemas.ParameterSummary)?, [AppIntentSchemas.ParameterSchema])) -> AppIntentSchemas.IntentSchema
    func visibility(_: AppIntentSchemas.DomainVisibility) -> AppIntentSchemas.IntentSchema
    func systemProtocols(_: [AppIntentSchemas.IntentSystemProtocol]) -> AppIntentSchemas.IntentSchema
    func supportsLoopExecution(on: AppIntentSchemas.ParameterSchema?) -> AppIntentSchemas.IntentSchema
    func result(_: AppIntentSchemas.ValueType?) -> AppIntentSchemas.IntentSchema
    func version(_: AppIntentSchemas.Version) -> AppIntentSchemas.IntentSchema
    func available(_: AppIntentSchemas.Availability) -> AppIntentSchemas.IntentSchema
}