Profile
public struct Profile : Identifiable, Hashable, Equatable, Codable
Represents a user profile selectable within the settings
-
init(name:
identifier: created: givenName: familyName: insurance: insuranceId: insuranceType: color: image: userImageData: lastAuthenticated: erxTasks: hidePkvConsentDrawerOnMainView: gIdEntry: ) Declaration
Swift
public init( name: String, identifier: UUID = UUID(), created: Date = Date(), givenName: String? = nil, familyName: String? = nil, insurance: String? = nil, insuranceId: String? = nil, insuranceType: InsuranceType = .unknown, color: Color = Color.grey, image: ProfilePictureType = .none, userImageData: Data? = nil, lastAuthenticated: Date? = nil, erxTasks: [ErxTask] = [], hidePkvConsentDrawerOnMainView: Bool = false, gIdEntry: KKAppDirectory.Entry? = nil )
-
Declaration
Swift
public var id: UUID { get }
-
Declaration
Swift
public var name: String
-
Declaration
Swift
public let identifier: UUID
-
Declaration
Swift
public let created: Date
-
Declaration
Swift
public var givenName: String?
-
Declaration
Swift
public var familyName: String?
-
Declaration
Swift
public var insurance: String?
-
Declaration
Swift
public var insuranceId: String?
-
Declaration
Swift
public var insuranceType: InsuranceType
-
Declaration
Swift
public var color: Color
-
Declaration
Swift
public var image: ProfilePictureType
-
Declaration
Swift
public var userImageData: Data?
-
Declaration
Swift
public var lastAuthenticated: Date?
-
Declaration
Swift
public var erxTasks: [ErxTask]
-
Declaration
Swift
public var hidePkvConsentDrawerOnMainView: Bool
-
Declaration
Swift
public var gIdEntry: KKAppDirectory.Entry?
-
Declaration
Swift
public var fullName: String? { get }
-
Declaration
Swift
public var isLinkedToInsuranceId: Bool { get }
-
Declaration
Swift
public enum InsuranceType : String, Equatable, Codable
-
Declaration
Swift
public enum Color : String, CaseIterable, Codable
-
Declaration
Swift
public enum ProfilePictureType : String, CaseIterable, Codable