From 2436f3f4999f126e84314ca969fd474f393ce0e5 Mon Sep 17 00:00:00 2001 From: Ahmed Moussa Date: Fri, 31 May 2024 17:43:22 +0300 Subject: [PATCH] docs: add missing docs Signed-off-by: Ahmed Moussa --- .../identus/walletsdk/pollux/models/CredentialRequestMeta.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/pollux/models/CredentialRequestMeta.kt b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/pollux/models/CredentialRequestMeta.kt index ec21f8c2c..b6af4a02b 100644 --- a/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/pollux/models/CredentialRequestMeta.kt +++ b/edge-agent-sdk/src/commonMain/kotlin/org/hyperledger/identus/walletsdk/pollux/models/CredentialRequestMeta.kt @@ -13,6 +13,11 @@ data class CredentialRequestMeta( var json: String ) { + /** + * Converts the given JSON string to a RustCredentialRequestMetadata object. + * + * @return The RustCredentialsRequestMetadata object created from the JSON string. + */ fun toRustCredentialRequestMetadata(): CredentialRequestMetadata { return CredentialRequestMetadata(json) }