Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

54 lines
1.7 KiB
Swift

//
// SubjectSummary.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct SubjectSummary: Sendable, Codable, ParameterConvertible, Hashable {
/** CreatedAt is the unix second the subject was recorded. */
public var createdAt: Int64?
/** HasEmail reports whether a contact email is on file, without exposing it. */
public var hasEmail: Bool?
/** ID is the subject's opaque id. */
public var id: String?
/** Kind is the party type: \"individual\" (KYC) or \"business\" (KYB). */
public var kind: String?
/** Ref is the org's own opaque external id for this subject. */
public var ref: String?
public init(createdAt: Int64? = nil, hasEmail: Bool? = nil, id: String? = nil, kind: String? = nil, ref: String? = nil) {
self.createdAt = createdAt
self.hasEmail = hasEmail
self.id = id
self.kind = kind
self.ref = ref
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case createdAt
case hasEmail
case id
case kind
case ref
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(createdAt, forKey: .createdAt)
try container.encodeIfPresent(hasEmail, forKey: .hasEmail)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(kind, forKey: .kind)
try container.encodeIfPresent(ref, forKey: .ref)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension SubjectSummary: Identifiable {}