-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AND-9338 Fix some classes serialization
- Loading branch information
1 parent
348f7ca
commit 3ce1984
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
6 changes: 5 additions & 1 deletion
6
tangem-sdk-core/src/main/java/com/tangem/common/SuccessResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
package com.tangem.common | ||
|
||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
import com.tangem.operations.CommandResponse | ||
|
||
@JsonClass(generateAdapter = true) | ||
data class SuccessResponse(val cardId: String) : CommandResponse | ||
data class SuccessResponse( | ||
@Json(name = "cardId") | ||
val cardId: String, | ||
) : CommandResponse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters