Skip to content

Commit ebc5684

Browse files
author
Ebenezer Ackon
committed
add models that will hold value for rx call
1 parent 1d28e74 commit ebc5684

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package jfyg.etherscan.helloetherescan.model
2+
3+
open class BaseModel {
4+
var status: String? = ""
5+
var message: String? = ""
6+
7+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package jfyg.etherscan.helloetherescan.model
2+
3+
class EtherPriceModel : BaseModel() {
4+
var ethBtc: String? = ""
5+
var ethBtcTimestamp: String? = ""
6+
var ethUsd: String? = ""
7+
var ethUsdTimestamp: String? = ""
8+
9+
}

0 commit comments

Comments
 (0)