SwiftstructSensitiveContentAnalysisUI

struct SensitiveContentAnalysisUI.Report.Message

Structure

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

Members 11

  1. fieldlet body: String
  2. fieldlet date: Foundation.Date
  3. fieldvar media: [SensitiveContentAnalysisUI.Report.Media]
  4. fieldlet senderAccountID: String
  5. fieldlet senderDisplayName: String
  6. fieldlet wasImpetusOfReport: Bool
  7. funcencode(to: Encoder, configuration: SensitiveContentAnalysisUI.Report.Authority) throws -> ()
  8. initinit(date: Foundation.Date, senderAccountID: String, senderDisplayName: String, body: String, media: [SensitiveContentAnalysisUI.Report.Media]) -> SensitiveContentAnalysisUI.Report.Message
  9. typealiastypealias EncodingConfiguration = SensitiveContentAnalysisUI.Report.Authority
  10. typealiastypealias ID = Foundation.Date
  11. varvar id: Foundation.Date { get }
struct SensitiveContentAnalysisUI.Report.Message {
    enum CodingKeys {
        case date
        case senderAccountID
        case senderDisplayName
        case body
        case media
        case wasImpetusOfReport
    }
    // Local type in a function or closure the binary does not name
    enum ReportToAppleCodingKeys {
        case messageContent
        case dateReceived
        case senderAccountID
        case attachments
    }
    let date: Foundation.Date
    let senderAccountID: Swift.String
    let senderDisplayName: Swift.String
    let body: Swift.String
    var media: [SensitiveContentAnalysisUI.Report.Media]
    let wasImpetusOfReport: Swift.Bool

    init(date: Foundation.Date, senderAccountID: Swift.String, senderDisplayName: Swift.String, body: Swift.String, media: [SensitiveContentAnalysisUI.Report.Media])

    var id: Foundation.Date {
        get
    }

    func encode(to: any Swift.Encoder, configuration: SensitiveContentAnalysisUI.Report.Authority) throws
}