SwiftenumIntelligencePlatformLibrary

enum IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1

Structure

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

Members 7

  1. funcstatic fromSerializedBytes(Foundation.Data) throws -> IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1
  2. caseindirect case codable(IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Codable)
  3. caseindirect case entity(IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Entity)
  4. caseindirect case enumeration(IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Enumeration)
  5. caseindirect case primitive(IntelligencePlatformLibrary.ToolKitToolTypeIdentifier.Primitive)
  6. caseindirect case query(IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Query)
  7. functoSerializedBytes() throws -> Foundation.Data
enum IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1 {
    struct Entity {
        enum RuntimeFlags {
            case unknown(Swift.Int)
            case transientAppEntity

            init?(_: Swift.String)

            var description: Swift.String {
                get
            }
        }
        struct Property {
            var id: Swift.String?
            var displayName: Swift.String?
            var type: IntelligencePlatformLibrary.ToolKitToolTypeInstance?

            init()
        }
        var identifier: IntelligencePlatformLibrary.ToolKitToolTypeIdentifier?
        var properties: [IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Entity.Property]
        var runtimeRequirements: [IntelligencePlatformLibrary.ToolKitToolRuntimeRequirement]
        var displayRepresentation: IntelligencePlatformLibrary.ToolKitToolTypeDisplayRepresentation?
        var sampleInvocations: [IntelligencePlatformLibrary.ToolKitToolSampleInvocationDefinition]
        var systemProtocols: [IntelligencePlatformLibrary.ToolKitToolSystemTypeProtocol]
        var runtimeFlags: [IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Entity.RuntimeFlags]
        var coercions: [IntelligencePlatformLibrary.ToolKitToolCoercionDefinition]

        init()
    }
    struct Enumeration {
        enum Kind {
            case unknown(Swift.Int)
            case appEnum
            case actionEnum
            case triggerEnum

            init?(_: Swift.String)

            var description: Swift.String {
                get
            }
        }
        struct Case {
            var id: Swift.String?
            var displayRepresentation: IntelligencePlatformLibrary.ToolKitToolDisplayRepresentation?

            init()
        }
        var identifier: IntelligencePlatformLibrary.ToolKitToolTypeIdentifier?
        var cases: [IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Enumeration.Case]
        var runtimeRequirements: [IntelligencePlatformLibrary.ToolKitToolRuntimeRequirement]
        var displayRepresentation: IntelligencePlatformLibrary.ToolKitToolTypeDisplayRepresentation?
        var kind: IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Enumeration.Kind?
        var systemProtocols: [IntelligencePlatformLibrary.ToolKitToolSystemTypeProtocol]

        init()
    }
    struct Query {
        struct PredicateTemplates {
            struct PredicateMetadata {
                var queryIdentifier: Swift.String?
                var bundleIdentifier: Swift.String?

                init()
            }
            var comparison: [IntelligencePlatformLibrary.ToolKitToolComparisonPredicate.Template]
            var stringSearch: IntelligencePlatformLibrary.ToolKitToolStringSearchPredicate.Template?
            var idSearch: IntelligencePlatformLibrary.ToolKitToolIdSearchPredicate.Template?
            var all: IntelligencePlatformLibrary.ToolKitToolAllPredicate?
            var suggested: IntelligencePlatformLibrary.ToolKitToolSuggestedPredicate?
            var sampleInvocations: [IntelligencePlatformLibrary.ToolKitToolSampleInvocationDefinition]
            var searchableItem: IntelligencePlatformLibrary.ToolKitToolSearchableItemPredicate.Template?
            var valid: IntelligencePlatformLibrary.ToolKitToolValidPredicate?
            var valueSearch: IntelligencePlatformLibrary.ToolKitToolValueSearchPredicate.Template?
            var metadata: IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Query.PredicateTemplates.PredicateMetadata?

            init()
        }
        var identifier: IntelligencePlatformLibrary.ToolKitToolTypeIdentifier?
        var templates: IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Query.PredicateTemplates?

        init()
    }
    struct Codable {
        var identifier: Swift.String?
        var displayRepresentation: IntelligencePlatformLibrary.ToolKitToolTypeDisplayRepresentation?

        init()
    }
    indirect case primitive(IntelligencePlatformLibrary.ToolKitToolTypeIdentifier.Primitive)
    indirect case entity(IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Entity)
    indirect case enumeration(IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Enumeration)
    indirect case query(IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Query)
    indirect case codable(IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1.Codable)

    func toSerializedBytes() throws -> Foundation.Data

    static func fromSerializedBytes(_: Foundation.Data) throws -> IntelligencePlatformLibrary.ToolKitToolTypeDefinition.Version1
}