Intent

public struct Intent : Codable, Equatable

Intent.

  • The name of the intent. This string must conform to the following restrictions:

    • It can contain only Unicode alphanumeric, underscore, hyphen, and dot characters.
    • It cannot begin with the reserved prefix sys-.

    Declaration

    Swift

    public var intent: String
  • The description of the intent. This string cannot contain carriage return, newline, or tab characters.

    Declaration

    Swift

    public var description: String?
  • The timestamp for creation of the object.

    Declaration

    Swift

    public var created: Date?
  • The timestamp for the most recent update to the object.

    Declaration

    Swift

    public var updated: Date?
  • An array of user input examples for the intent.

    Declaration

    Swift

    public var examples: [Example]?