Package web5.sdk.dids
Class DidResolutionMetadata
-
- All Implemented Interfaces:
public final class DidResolutionMetadataHolds metadata about the results of the DID resolution process.
-
-
Field Summary
Fields Modifier and Type Field Description private StringcontentTypeprivate Stringerrorprivate Map<String, Object>additionalProperties
-
Method Summary
Modifier and Type Method Description final StringgetContentType()The MIME type of the DID document. final UnitsetContentType(String contentType)The MIME type of the DID document. final StringgetError()An error message explaining why the DID resolution failed, if applicable. final UnitsetError(String error)An error message explaining why the DID resolution failed, if applicable. final Map<String, Object>getAdditionalProperties()Additional properties that may include other DID resolution metadata parameters. final UnitsetAdditionalProperties(Map<String, Object> additionalProperties)Additional properties that may include other DID resolution metadata parameters. -
-
Method Detail
-
getContentType
final String getContentType()
The MIME type of the DID document. This is mandatory unless an error is present.
-
setContentType
final Unit setContentType(String contentType)
The MIME type of the DID document. This is mandatory unless an error is present.
-
getError
final String getError()
An error message explaining why the DID resolution failed, if applicable.
-
setError
final Unit setError(String error)
An error message explaining why the DID resolution failed, if applicable.
-
getAdditionalProperties
final Map<String, Object> getAdditionalProperties()
Additional properties that may include other DID resolution metadata parameters.
-
setAdditionalProperties
final Unit setAdditionalProperties(Map<String, Object> additionalProperties)
Additional properties that may include other DID resolution metadata parameters.
-
-
-
-