DocumentLocationMethod

@Serializable
@SerialName(value = "documentLocation_method")
data class DocumentLocationMethod(val documentAccessMode: RqesDocumentDigestEntry.DocumentLocationMethod.DocumentAccessMode, val oneTimePassword: String? = null)(source)

D3.1: UC Specification WP3: OPTIONAL. An object with information how to access documentLocationUri.

This class serializes to {"document_access_mode":"OTP","oneTimePassword":"1234"} {"document_access_mode":"public", "oneTimePassword": null} which is not to be confused with Method which instead serializes to {"type":"OTP","oneTimePassword":"1234"} {"type":"public"}

but otherwise does the exact same thing. This was never unified.

Constructors

Link copied to clipboard
constructor(documentAccessMode: RqesDocumentDigestEntry.DocumentLocationMethod.DocumentAccessMode, oneTimePassword: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "oneTimePassword")
val oneTimePassword: String? = null