mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-06 14:03:45 +01:00
Use defined model (tested ok)
This commit is contained in:
parent
5434c39453
commit
bddd7f4005
@ -32,17 +32,15 @@ internal data class SignatureUploadResponse(
|
||||
* If a signature is not valid, the homeserver should set the corresponding entry in failures to a JSON object
|
||||
* with the errcode property set to M_INVALID_SIGNATURE.
|
||||
*/
|
||||
val failures: Map<String, Map<String, @JvmSuppressWildcards Any>>? = null
|
||||
|
||||
val failures: Map<String, Map<String, UploadResponseFailure>>? = null
|
||||
)
|
||||
|
||||
// TODO Not used. Remove?
|
||||
@JsonClass(generateAdapter = true)
|
||||
data class UploadResponseFailure(
|
||||
internal data class UploadResponseFailure(
|
||||
@Json(name = "status")
|
||||
val status: Int,
|
||||
|
||||
@Json(name = "errCode")
|
||||
@Json(name = "errcode")
|
||||
val errCode: String,
|
||||
|
||||
@Json(name = "message")
|
||||
|
Loading…
x
Reference in New Issue
Block a user