2018-01-04 19:52:25 +01:00
|
|
|
package jp.juggler.subwaytooter.api.entity
|
|
|
|
|
|
|
|
import org.json.JSONObject
|
|
|
|
|
|
|
|
import jp.juggler.subwaytooter.util.Utils
|
|
|
|
|
2018-01-10 16:47:35 +01:00
|
|
|
class TootApplication (
|
|
|
|
val name : String?,
|
|
|
|
private val website : String?
|
|
|
|
){
|
|
|
|
constructor(src:JSONObject):this(
|
|
|
|
name = Utils.optStringX(src, "name"),
|
|
|
|
website = Utils.optStringX(src, "website")
|
|
|
|
)
|
2018-01-04 19:52:25 +01:00
|
|
|
}
|