Add `internal`

This commit is contained in:
Benoit Marty 2020-08-17 19:46:44 +02:00
parent f012e23fa9
commit bde77784b9
1 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true) @JsonClass(generateAdapter = true)
data class RiotConfig( internal data class RiotConfig(
/** /**
* This is now deprecated, but still used first, rather than value from "default_server_config" * This is now deprecated, but still used first, rather than value from "default_server_config"
*/ */
@ -39,13 +39,13 @@ data class RiotConfig(
} }
@JsonClass(generateAdapter = true) @JsonClass(generateAdapter = true)
data class RiotConfigDefaultServerConfig( internal data class RiotConfigDefaultServerConfig(
@Json(name = "m.homeserver") @Json(name = "m.homeserver")
val homeServer: RiotConfigBaseConfig? = null val homeServer: RiotConfigBaseConfig? = null
) )
@JsonClass(generateAdapter = true) @JsonClass(generateAdapter = true)
data class RiotConfigBaseConfig( internal data class RiotConfigBaseConfig(
@Json(name = "base_url") @Json(name = "base_url")
val baseURL: String? = null val baseURL: String? = null
) )