SwiftstructToolKit

struct ToolKit.ModelRepresentation.Representation

Structure

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

Members 11

  1. fieldlet components: [ToolKit.ModelRepresentation.Representation.Component]+0x8
  2. fieldlet level: ToolKit.ModelRepresentationLevel+0x0
  3. fieldlet representationComponents: [ToolKit.ModelRepresentationComponent]+0x10
  4. funcprotobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoModelRepresentation.Representation
  5. initinit(level: ToolKit.ModelRepresentationLevel, components: [ToolKit.ModelRepresentation.Representation.Component]) -> ToolKit.ModelRepresentation.Representation
  6. initinit(level: ToolKit.ModelRepresentationLevel, representationComponents: [ToolKit.ModelRepresentationComponent]) -> ToolKit.ModelRepresentation.Representation
  7. initinit(level: ToolKit.ModelRepresentationLevel, from: LNDerivedModelRepresentation) -> ToolKit.ModelRepresentation.Representation
  8. initinit(protobuf: ToolKit.ToolKitProtoModelRepresentation.Representation) throws -> ToolKit.ModelRepresentation.Representation
  9. varvar debugDescription: String { get }
  10. varvar textComponents: [ToolKit.ModelRepresentationComponent.TextComponent] { get }
  11. varvar visualComponents: [ToolKit.ModelRepresentationComponent.VisualComponent] { get }
struct ToolKit.ModelRepresentation.Representation {
    enum CodingKeys {
        case level
        case components
        case representationComponents
    }
    struct Component {
        enum Label {
            enum CodingKeys {
                case default
                case none
                case custom
            }
            enum DefaultCodingKeys {}
            enum NoneCodingKeys {}
            enum CustomCodingKeys {
                case _0
            }
            case custom(Swift.String)
            case default
            case none

            var debugDescription: Swift.String {
                get
            }
        }
        struct TruncationRules {
            enum Strategy {
                case unknown
                case tail

                var debugDescription: Swift.String {
                    get
                }
            }
            enum CodingKeys {
                case limit
                case strategy
            }
            let limit: Swift.Int
            let strategy: ToolKit.ModelRepresentation.Representation.Component.TruncationRules.Strategy

            init(limit: Swift.Int, strategy: ToolKit.ModelRepresentation.Representation.Component.TruncationRules.Strategy)

            var debugDescription: Swift.String {
                get
            }
        }
        enum CodingKeys {
            case propertyIdentifiers
            case label
            case truncationRules
            case overrideValue
        }
        let propertyIdentifiers: [Swift.String]
        let label: ToolKit.ModelRepresentation.Representation.Component.Label
        let truncationRules: ToolKit.ModelRepresentation.Representation.Component.TruncationRules?
        let overrideValue: Swift.String?

        init(propertyIdentifiers: [Swift.String], label: ToolKit.ModelRepresentation.Representation.Component.Label, truncationRules: ToolKit.ModelRepresentation.Representation.Component.TruncationRules?, overrideValue: Swift.String?)

        var debugDescription: Swift.String {
            get
        }
    }
    let level: ToolKit.ModelRepresentationLevel
    let components: [ToolKit.ModelRepresentation.Representation.Component]
    let representationComponents: [ToolKit.ModelRepresentationComponent]

    init(level: ToolKit.ModelRepresentationLevel, components: [ToolKit.ModelRepresentation.Representation.Component])
    init(level: ToolKit.ModelRepresentationLevel, representationComponents: [ToolKit.ModelRepresentationComponent])
    init(level: ToolKit.ModelRepresentationLevel, from: __C.LNDerivedModelRepresentation)
    init(protobuf: ToolKit.ToolKitProtoModelRepresentation.Representation) throws

    var debugDescription: Swift.String {
        get
    }
    var textComponents: [ToolKit.ModelRepresentationComponent.TextComponent] {
        get
    }
    var visualComponents: [ToolKit.ModelRepresentationComponent.VisualComponent] {
        get
    }

    func protobuf(useCase: VoiceShortcutClient.ProtobufUseCase) throws -> ToolKit.ToolKitProtoModelRepresentation.Representation
}