You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Modules/Domain/MEGADomain/Sources/MEGADomain/RepositoryProtocol/User/UserAttributeRepositoryProtocol.swift
+6
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,12 @@ public protocol UserAttributeRepositoryProtocol: Sendable {
13
13
/// - object: Encodable object to be stored as a JSON string.
/// Fetches dictionary structure under the given attribute. If the attribute does not exist or was never set before, it will throw an error. If a optional value has been set previously it will return the value stored under the attribute.
18
+
/// - Parameter attribute: UserAttributeEntity location of where the value will be fetched from .
19
+
/// - Returns: Optional [String: String] dictionary stored at the attribute, if attribute was never set previously it will throw.
20
+
///
21
+
/// - Throws: UserAttributeErrorEntity.attributeNotFound if the attribute has never set before.
/// Retrieve the decodable object from the associated user attribute for the given key. If the object for the attribute and key does not exist it will throw an error.
0 commit comments