-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COINS-555 | Add support for multiple contracts in CoinEntity
- Loading branch information
Bartosz Wesolowski
committed
Jun 21, 2020
1 parent
992cee9
commit 7e3b018
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
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
9 changes: 9 additions & 0 deletions
9
src/main/java/com/coinpaprika/apiclient/entity/ContractEntity.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.coinpaprika.apiclient.entity | ||
|
||
import com.google.gson.annotations.SerializedName | ||
|
||
data class ContractEntity( | ||
@SerializedName("contract") val contract: String, | ||
@SerializedName("platform") val platform: String, | ||
@SerializedName("type") val type: String | ||
) |